/* Hallmark · checked: 2026-11-23 · genre: editorial (inferred) · built: the project · redesign: full · v2.0.0 */
/* Onboarding: quiet, low glare, no header or gamification until there is an account */
.app-shell.no-server-user { background: var(--ground); border-radius: 0; box-shadow: none; max-height: none; }
.app-shell.no-server-user .app-header { display: none; }
.app-shell.no-server-user .app-main { padding: 28px max(20px, env(safe-area-inset-right, 0px)) 40px; }
#screen-onboarding { color: var(--ink); line-height: 1.8; }
.ob-name { margin: 0 0 16px; color: var(--dim); font-size: 0.9rem; }
.ob-title { margin: 0 0 8px; font-size: 1.6rem; line-height: 1.5; text-wrap: balance; }
.ob-lead { margin: 0; max-width: 40ch; }
.ob-figure { margin: 24px 0 28px; }
.ob-figure svg { display: block; width: 100%; height: auto; }
.ob-day { fill: var(--line); } .ob-attack { fill: var(--accent); } .ob-med { fill: var(--med); }
.ob-figure figcaption { margin-top: 8px; font-size: 0.8rem; color: var(--dim); }
.ob-key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--med); }
.ob-form { display: grid; gap: 16px; }
.ob-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.ob-field { display: grid; gap: 4px; min-width: 0; font-size: 0.9rem; }
.ob-field input { width: 100%; padding: 12px 12px; border: 1px solid var(--edge); border-radius: 6px; background: var(--sheet); color: inherit; font: inherit; font-size: 1rem; }
.ob-choices { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--edge); border-radius: 6px; overflow: hidden; background: var(--sheet); }
.ob-choices .chip { border: 0; border-radius: 0; padding: 12px 8px; background: none; color: inherit; font: inherit; box-shadow: none; transform: none; }
.ob-choices .chip + .chip { border-inline-start: 1px solid var(--line); }
.ob-choices .chip.chip-filled { background: var(--accent); color: var(--sheet); }
.ob-error { margin: 0; color: var(--bad); font-size: 0.9rem; } .ob-error:empty { display: none; }
.ob-submit { padding: 12px 20px; border: 1px solid var(--accent); border-radius: 6px; background: var(--accent); color: var(--sheet); font: inherit; font-size: 1rem; cursor: pointer; }
.ob-submit:hover { background: var(--accent-down); } .ob-submit--quiet { background: none; color: var(--accent); width: 100%; } .ob-submit--quiet:hover { background: var(--accent-wash); }
.ob-fine { margin: 0; font-size: 0.8rem; color: var(--dim); } .ob-fine a { color: var(--accent); }
.ob-restore { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 16px; }
.ob-restore summary { cursor: pointer; color: var(--accent); } .ob-restore > .ob-field { margin: 12px 0; }
#screen-onboarding :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#screen-onboarding .ob-choices :focus-visible { outline-offset: -3px; }
#screen-onboarding { animation: none; }
.ob-field input { min-height: 48px; } .ob-choices .chip, .ob-submit { min-height: 48px; }
.ob-field input[aria-invalid="true"] { border-color: var(--bad); }
.ob-restore summary { min-height: 44px; display: flex; align-items: center; }
.ob-submit:disabled { opacity: 0.55; cursor: not-allowed; }
.ob-submit:active { background: var(--accent-down); }
.ob-choices .chip, .ob-submit { transition: none; }
.app-shell.no-server-user .bottom-nav { display: none; }
