/* Full-page first-use flow. No dashboard behind the questions. */
body.booting{background:var(--primary)}body.booting>#sidebar,body.booting>.workspace,body.booting>#mobile-nav{visibility:hidden}
body.is-onboarding{background:var(--primary);color:#fff}body.is-onboarding>#sidebar,body.is-onboarding>#mobile-nav,body.is-onboarding .topbar,body.is-onboarding .page-footer{display:none!important}body.is-onboarding .workspace{margin:0;width:100%;padding:0}body.is-onboarding main{max-width:none;margin:0;padding:0;min-height:100svh}body.is-onboarding .skip:focus{background:#fff;color:var(--primary);z-index:100}
.onboarding{--ob-white:var(--background);--ob-muted:var(--on-dark-muted);min-height:100svh;background:var(--primary);color:var(--ob-white);padding:0 32px;font-size:16px;line-height:1.55}.onboarding *{box-sizing:border-box}.ob-header{max-width:1160px;margin:0 auto;padding:28px 0;display:flex;align-items:center;justify-content:space-between;gap:20px}.ob-brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:700;letter-spacing:-.6px;color:#fff;text-decoration:none}.ob-mark{display:grid;place-content:center;position:relative;width:40px;height:40px;border-radius:12px;background:var(--action-tint);color:var(--primary);font:bold 32px Georgia,serif}.ob-mark span{position:absolute;right:7px;top:4px;color:var(--primary)}.ob-help{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;color:var(--on-dark-muted);text-decoration:underline;text-underline-offset:5px}.ob-help svg{width:17px;height:17px}.ob-layout{max-width:560px;margin:26px auto 0;padding-bottom:24px}.ob-progress{display:flex;align-items:center;justify-content:space-between;color:var(--ob-muted);font-size:13px;margin-bottom:24px}.ob-progress ol{display:flex;gap:6px;padding:0;margin:0;list-style:none;width:48%}.ob-progress li{height:4px;flex:1;border-radius:4px;background:var(--primary)}.ob-progress li.filled{background:var(--action-tint)}.ob-heading h1{font-size:clamp(32px,4.5vw,48px);line-height:1.1;letter-spacing:-1.6px;font-weight:650;margin:0 0 16px;color:#fff}.ob-heading h1:focus{outline:none}.ob-heading>p{margin:0 0 28px;color:var(--ob-muted);max-width:460px;font-size:16px}.ob-panel{background:var(--background);border:1px solid var(--border);border-radius:20px;color:var(--primary);padding:8px 24px}.onboarding-count{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--border)}.onboarding-count label{font-weight:650;font-size:16px}.onboarding-count small{display:block;font-size:var(--fs-xs);color:var(--text-muted);margin-top:2px}.count-control{display:flex;align-items:center;gap:4px;flex-shrink:0}.count-control button{display:grid;place-content:center;width:44px;height:44px;padding:0;border:1px solid var(--border);background:white;color:var(--primary);border-radius:12px;font-size:24px;cursor:pointer}.count-control button:disabled{opacity:.4;cursor:default}.count-control input{appearance:textfield;-moz-appearance:textfield;width:44px;height:44px;padding:0;text-align:center;background:transparent;border:0;border-radius:8px;color:var(--primary);font-size:20px;font-weight:600;box-shadow:none}.count-control input::-webkit-inner-spin-button,.count-control input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ob-check{display:flex;align-items:flex-start;gap:12px;cursor:pointer;font-size:14px;line-height:1.5}.ob-check input{width:22px;height:22px;flex:0 0 22px;accent-color:var(--primary);margin:0}.ob-check small{display:block;color:var(--text-muted);font-size:var(--fs-xs);margin-top:5px}.ob-medical{padding:20px 0}.ob-hint{font-size:13px;color:var(--ob-muted);margin:12px 0}.ob-actions{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 0 8px}.ob-primary{display:flex;align-items:center;justify-content:center;gap:20px;min-height:56px;padding:15px 26px;border:1px solid var(--border);border-radius:14px;background:var(--action-tint);color:var(--primary);font-weight:700;font-size:16px;cursor:pointer}.ob-primary svg{width:19px;height:19px}.ob-primary:hover{background:var(--action-tint)}.ob-primary:disabled{opacity:.55;cursor:wait}.ob-back,.ob-text{min-height:48px;padding:12px 0;border:0;background:none;color:var(--on-dark-muted);font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:5px}.ob-footnote,.ob-privacy{font-size:var(--fs-xs);color:var(--ob-muted);text-align:center}.ob-privacy{display:flex;gap:8px;align-items:center;justify-content:center}.ob-privacy svg{width:15px;height:15px;flex-shrink:0}.onboarding-error{font-size:14px;color:var(--warning-tint);font-weight:600;margin:8px 0}.onboarding-error:empty{display:none}.ob-choices{display:grid;gap:10px}.ob-choice{display:flex;align-items:center;gap:14px;position:relative;cursor:pointer;padding:17px 18px;min-height:68px;border:1px solid var(--control-border);border-radius:14px;background:var(--primary);color:#fff;font-weight:600}.ob-choice input{position:absolute;opacity:0;width:1px;height:1px}.ob-choice:has(input:checked){background:var(--action-tint);color:var(--primary);border-color:var(--border)}.ob-choice:has(input:focus-visible){outline:3px solid var(--action);outline-offset:4px}.ob-choice-icon svg{width:23px;height:23px;display:block}.ob-choice-check{margin-left:auto;border:1px solid var(--control-border);border-radius:6px;display:grid;place-content:center;width:24px;height:24px;color:transparent;flex-shrink:0}.ob-choice:has(input:checked) .ob-choice-check{background:var(--primary);color:white;border-color:var(--control-border)}.ob-other{margin-top:14px}.ob-other summary{cursor:pointer;min-height:48px;padding:12px 0;color:var(--ob-muted);font-size:14px}.ob-text{font-size:14px;width:100%;margin-top:8px}.ob-summary-row{display:grid;grid-template-columns:1fr auto;gap:10px;padding:22px 0;border-bottom:1px solid var(--border)}.ob-summary-row>span{font-size:var(--fs-sm);display:flex;gap:8px;align-items:center;color:var(--text-muted)}.ob-summary-row svg{width:18px;height:18px}.ob-summary-row button{border:0;background:transparent;color:var(--primary);min-height:44px;margin:-12px 0;padding:10px 0;text-decoration:underline;font-size:var(--fs-sm);cursor:pointer}.ob-summary-row strong,.ob-summary-row small{grid-column:1/-1}.ob-summary-row strong{font-size:17px;line-height:1.5}.ob-summary-row small{color:var(--text-muted)}.ob-first-task{padding:24px 0}.ob-first-task .eyebrow{color:var(--text-muted);font-size:var(--fs-xs)}.ob-first-task h2{font-size:23px;color:var(--primary);margin:10px 0}.ob-first-task p{font-size:14px;color:var(--text-muted);margin:0}.ob-kicker{font-size:var(--fs-xs);letter-spacing:1.8px;color:var(--on-dark-muted);margin:0 0 18px}.ob-welcome .ob-layout{max-width:940px;display:grid;grid-template-columns:1fr 1fr;column-gap:64px;margin-top:70px;position:relative}.ob-welcome .ob-kicker,.ob-welcome .ob-heading{grid-column:1}.ob-welcome .ob-heading h1{font-size:clamp(40px,5vw,62px);letter-spacing:-2.4px;line-height:1.05}.ob-welcome .ob-heading>p{max-width:380px;font-size:18px}.ob-welcome form{grid-column:1;grid-row:3}.welcome-bottom>p:first-child{font-size:15px;color:var(--ob-muted);margin:0 0 24px}.welcome-bottom .ob-primary{width:100%}.onboarding :is(button,a,input,summary):focus-visible{outline:3px solid var(--action);outline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home-situations{margin-top:32px}.home-situations .scenario-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.home-situations .card{margin:0}.home-progress{margin-top:32px;background:white;border:1px solid var(--border);border-radius:18px;padding:22px}.home-progress summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-weight:650;min-height:44px;align-items:center}.home-progress summary small{font-weight:400;color:var(--text-muted)}.home-progress ul{list-style:none;padding:0;margin:12px 0 0}.home-progress li a{display:flex;gap:12px;align-items:center;border-top:1px solid var(--border);padding:14px 0;color:inherit;text-decoration:none}.home-progress li a>span:last-child{margin-left:auto;font-size:var(--fs-sm);color:var(--text-muted)}.home-progress svg{width:19px;height:19px}.home-profile{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px;color:var(--text-muted)}.home-profile .btn{font-size:var(--fs-sm);min-height:44px}.home-resources{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.home-resources a{padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:#fff;color:var(--primary);text-decoration:none}.next-actions>.next-more{margin-top:14px}.home-progress .six-track{display:none}
@media(max-width:700px){.onboarding{padding:0 22px}.ob-header{padding:20px 0;gap:12px}.ob-brand{font-size:18px;gap:9px}.ob-mark{width:34px;height:34px;font-size:28px;border-radius:10px}.ob-help{font-size:var(--fs-sm);max-width:122px;text-align:right;line-height:1.4;gap:6px}.ob-help svg{display:none}.ob-layout{margin-top:18px}.ob-heading h1{font-size:35px;letter-spacing:-1.2px}.ob-heading>p{font-size:15px;margin-bottom:22px}.ob-panel{padding:4px 16px;border-radius:16px}.onboarding-count{padding:14px 0}.onboarding-count label{font-size:15px}.count-control{gap:0}.count-control input{width:36px}.count-control button{width:44px;height:44px}.ob-actions{padding-top:18px;gap:14px}.ob-primary{padding:14px 20px;gap:10px}.ob-footnote{padding-bottom:env(safe-area-inset-bottom)}.ob-welcome .ob-layout{display:flex;flex-direction:column;margin-top:18px;max-width:440px}.ob-welcome .ob-heading h1{font-size:43px;letter-spacing:-1.8px}.ob-welcome .ob-heading>p{font-size:16px;margin-bottom:8px}.welcome-bottom>p:first-child{font-size:14px;margin-bottom:18px}.ob-privacy{font-size:var(--fs-xs);line-height:1.5}.ob-kicker{font-size:var(--fs-xs);letter-spacing:1.3px}.home-situations .scenario-shortcuts{grid-template-columns:1fr}.home-situations .scenario-shortcuts .card{display:grid;grid-template-columns:40px 1fr;align-items:center;padding:16px;gap:4px 12px}.home-situations .card .icon-box{grid-row:1/3;margin:0}.home-situations .card small{grid-column:2}.home-progress{padding:16px}.home-progress summary{flex-wrap:wrap;gap:4px}.home-progress li a>span:last-child{max-width:75px;text-align:right}.home-profile{font-size:13px;align-items:flex-start}.home-profile .btn{white-space:nowrap}.home-resources{gap:8px}.home-resources a{font-size:var(--fs-sm);padding:12px}.ob-summary-row strong{font-size:15px}}
@media(prefers-reduced-motion:reduce){.onboarding *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.home-profile.start-profile{padding:0;background:none;border:0;border-radius:0}.home-progress.progress-overview{display:block}.home-resources svg{width:17px;height:17px;vertical-align:middle;margin-right:6px}.home-other-situations{margin:16px 0}.home-other-situations summary{padding:12px 0;cursor:pointer}.home-progress summary small{font-size:var(--fs-sm)}.home-situations>.text-link{display:inline-block;padding:16px 0}.home-profile.start-profile>span{display:block}.ob-actions{padding-bottom:max(8px,env(safe-area-inset-bottom))}

.home-progress.progress-overview summary span{display:inline;color:var(--primary);font-size:16px;margin:0}.home-progress.progress-overview li span{display:inline;font-size:14px;margin:0}.home-progress.progress-overview li span:last-child{font-size:var(--fs-xs)}.ob-progress .sr-only{background:none}

.onboarding label{margin-bottom:0}.onboarding-count label{line-height:1.4}.ob-actions{position:sticky;bottom:0;z-index:3;background:var(--primary)}.ob-welcome .ob-heading h1{font-size:clamp(40px,4.5vw,56px)}
.ob-form-panel{padding:10px 24px}.ob-field{display:block;padding:14px 0;border-bottom:1px solid var(--border);font-weight:650}.ob-field>span{display:block;margin-bottom:7px}.ob-field input,.ob-field select{width:100%;min-height:48px;border:1px solid var(--border);border-radius:11px;background:#fff;color:var(--text);padding:10px 12px;font:inherit}.ob-field small{display:block;margin-top:6px;color:var(--text-muted);font-size:var(--fs-xs);font-weight:400}.ob-stock-title{padding:18px 0 8px;color:var(--text-muted);font-size:var(--fs-xs);font-weight:700;letter-spacing:.06em;text-transform:uppercase}.ob-stock{padding:13px 0;border-bottom:1px solid var(--border)}.ob-stock:last-child{border-bottom:0}.ob-ready{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:17px 18px;border:1px solid var(--control-border);border-radius:14px;color:#fff}.ob-ready span{color:var(--on-dark-muted);font-size:13px}
@media(max-width:700px){.ob-form-panel{padding:6px 16px}.ob-field{padding:12px 0}.ob-field input,.ob-field select{font-size:16px}.ob-progress ol{width:58%}.ob-actions{padding-bottom:max(8px,env(safe-area-inset-bottom))}}

/* The mark is generated only from the native checked state. */
.ob-choice-check::after{content:''}
.ob-choice:has(input:checked) .ob-choice-check::after{content:'✓';line-height:1}

.ob-returning{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin-top:12px}.ob-returning a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;text-underline-offset:3px}
