html.pilot-mode .pilot-entry-page{max-width:480px;margin:auto;color:var(--ink)}
html.pilot-mode .pilot-entry-eyebrow{font-size:12px;color:var(--muted);letter-spacing:.06em;text-transform:uppercase}
html.pilot-mode .pilot-entry-page h2{font-size:clamp(23px,4vw,30px);line-height:1.17;letter-spacing:-.025em;margin:8px 0 10px}
html.pilot-mode .pilot-entry-page p{color:var(--muted);line-height:1.55}
html.pilot-mode .pilot-entry-page form{display:grid;gap:18px;margin-top:24px}
html.pilot-mode .pilot-entry-page label:not(.pilot-entry-choice){display:grid;gap:7px;font-size:13px;font-weight:600}
html.pilot-mode .pilot-entry-page label span,.pilot-entry-hint{font-size:12px;color:var(--muted);font-weight:400}
html.pilot-mode .pilot-entry-page input:not([type=radio]):not([type=checkbox]),html.pilot-mode .pilot-entry-page select,html.pilot-mode .pilot-entry-page textarea{box-sizing:border-box;width:100%;min-height:46px;border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--surface);color:var(--ink);font:inherit}
html.pilot-mode .pilot-entry-page fieldset{border:0;margin:0;padding:0;display:grid;gap:8px}
html.pilot-mode .pilot-entry-page legend{font-size:13px;font-weight:600;margin-bottom:8px}
html.pilot-mode .pilot-entry-choice{display:flex;align-items:center;gap:10px;min-height:44px;padding:5px 12px;border:1px solid var(--line);border-radius:12px;cursor:pointer}
html.pilot-mode .pilot-entry-choice span{font-size:14px;color:var(--ink)}
html.pilot-mode .pilot-entry-choice:has(input:checked){border-color:var(--accent,#76263e);background:color-mix(in srgb,var(--accent,#76263e) 7%,var(--surface))}
html.pilot-mode .pilot-entry-page button{min-height:44px;border-radius:22px;padding:9px 18px;border:1px solid var(--line);background:transparent;color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
html.pilot-mode .pilot-entry-page .pilot-entry-primary{background:var(--accent,#76263e);color:white;border-color:transparent}
html.pilot-mode .pilot-entry-page :focus-visible{outline:2px solid var(--accent,#76263e);outline-offset:3px}
html.pilot-mode .pilot-entry-page .pilot-entry-error{color:#a6343d}
html.pilot-mode .pilot-entry-google{width:100%;min-height:46px;padding:9px 18px;border:1px solid var(--line);border-radius:23px;background:var(--surface);color:var(--ink);font:inherit;font-weight:600;cursor:pointer}
html.pilot-mode .pilot-entry-google:hover:not(:disabled){background:var(--hover,#8882)}
html.pilot-mode .pilot-entry-google:disabled{cursor:not-allowed;opacity:.6}
html.pilot-mode .pilot-entry-google-note{font-size:12px;line-height:1.45;color:var(--muted);margin:8px 0 16px}
html.pilot-mode .pilot-entry-review dt{font-size:12px;color:var(--muted);margin:14px 0 4px}
html.pilot-mode .pilot-entry-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
html.pilot-mode .pilot-entry-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:24px}
html.pilot-mode .pilot-onboarding-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:color-mix(in srgb,var(--accent,#76263e) 7%,var(--surface));font-size:13px;color:var(--ink)}
html.pilot-mode .pilot-onboarding-banner button,html.pilot-mode .pilot-onboarding button{min-height:42px;padding:8px 14px;border:1px solid var(--line);border-radius:21px;background:var(--surface);color:var(--ink);font:inherit;cursor:pointer}
html.pilot-mode .pilot-onboarding-choices{display:grid;gap:8px;margin:20px 0}
html.pilot-mode .pilot-onboarding-choices button{display:flex;justify-content:space-between;text-align:left;min-height:48px;border-radius:12px}
html.pilot-mode .pilot-onboarding-hint{font-size:12px;color:var(--muted)}
html.pilot-mode[data-theme=dark] .pilot-entry-page .pilot-entry-primary{background:#e9dcd2;color:#2c1d23}
html.pilot-mode[data-theme=dark] .pilot-entry-page .pilot-entry-error{color:#ffb6ba}
/* Entry and onboarding use the same semantic action roles as the product shell. */
html.pilot-mode .pilot-entry-page{max-width:560px}
html.pilot-mode .pilot-entry-page .pilot-entry-primary{background:var(--action);color:var(--on-action);border-color:transparent}
html.pilot-mode .pilot-entry-page :focus-visible{outline-color:var(--focus)}
html.pilot-mode .pilot-entry-page .pilot-entry-error{color:var(--danger)}
@media(max-width:600px){html.pilot-mode .pilot-entry-page input:not([type=radio]):not([type=checkbox]),html.pilot-mode .pilot-entry-page select,html.pilot-mode .pilot-entry-page textarea{font-size:16px}}

/* A trilha descreve a posição do processo; não antecipa criação ou recibo. */
html.pilot-mode .pilot-entry-steps{margin:0 0 25px}
html.pilot-mode .pilot-entry-steps ol{display:flex;gap:8px;list-style:none;margin:0;padding:0;overflow-x:auto;overscroll-behavior-inline:contain}
html.pilot-mode .pilot-entry-steps li{flex:none;padding:7px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;line-height:1.2}
html.pilot-mode .pilot-entry-steps li[aria-current=step]{background:var(--action);border-color:var(--action);color:var(--on-action);font-weight:650}
@media(max-width:600px){html.pilot-mode .pilot-entry-steps{margin-bottom:18px}html.pilot-mode .pilot-entry-steps ol{padding-bottom:4px}}
html.pilot-mode .pilot-onboarding .pilot-entry-steps ol{display:flex;gap:8px;overflow-x:auto;list-style:none;padding:0 0 4px;margin:0}
html.pilot-mode .pilot-onboarding .pilot-entry-steps li{flex:none;padding:7px 11px;border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px}
html.pilot-mode .pilot-onboarding .pilot-entry-steps li[aria-current=step]{background:var(--action);border-color:var(--action);color:var(--on-action);font-weight:650}
@media(max-width:420px){html.pilot-mode .pilot-entry-steps ol,html.pilot-mode .pilot-onboarding .pilot-entry-steps ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}html.pilot-mode .pilot-entry-steps li,html.pilot-mode .pilot-onboarding .pilot-entry-steps li{text-align:center;white-space:normal}}
html.pilot-mode .pilot-entry-page input[type=checkbox],html.pilot-mode .pilot-entry-page input[type=radio],html.pilot-mode .pilot-onboarding input[type=checkbox]{accent-color:var(--action)}
