/* Sunup onboarding (js/onboard.js): three questions after the first-open intro. Light sheet, dark text, like the walk and
 * morning sheets. Loaded after app.css; uses its colour variables. */
.ob-ui { position: fixed; inset: 0; z-index: 75; display: flex; align-items: flex-end; justify-content: center; background: rgba(30, 26, 66, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fadein .3s ease; }
.ob-sheet { position: relative; width: min(480px, 100%); box-sizing: border-box; max-height: 100%; overflow-y: auto; background: var(--paper); color: var(--ink); border-radius: 28px 28px 0 0; padding: 14px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: ob-up .35s cubic-bezier(.2, .9, .3, 1.15); }
.ob-body.fresh { animation: ob-fade .25s ease; }
.ob-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 36px; }
.ob-top > :last-child { justify-self: end; }
.ob-top .link { font-weight: 800; color: var(--muted); }
.ob-dots { display: flex; gap: 6px; }
.ob-dots i { width: 22px; height: 6px; border-radius: 99px; background: #EADFCF; }
.ob-dots i.on { background: #F2A33A; }
.ob-hero { display: grid; justify-items: center; margin: 2px 0 0; }
.ob-sheet h2 { margin: 6px 0 14px; font-size: var(--fs-xl); line-height: 1.25; text-align: center; }
.ob-note { margin: 10px 0 0; font-size: var(--fs-sm); color: var(--muted); text-align: center; }
.ob-sub { margin: 14px 0 6px; font-size: var(--fs-xs); font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; text-align: center; }
.ob-sheet .btn.big { margin-top: 16px; }
.ob-sheet .btn.big[disabled] { opacity: .5; cursor: default; }

/* 01: one answer */
.ob-choices { display: grid; gap: 8px; }
.ob-choices button { font: inherit; font-weight: 800; text-align: left; padding: 14px 16px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 2px 0 var(--line), var(--shadow); cursor: pointer; }
.ob-choices button[aria-checked="true"] { background: var(--tab-on); outline: 2.5px solid var(--btn-edge); }

/* 02: time stepper and days */
.ob-time { display: flex; align-items: center; justify-content: center; gap: 18px; }
.ob-time b { min-width: 4.2ch; text-align: center; font-size: var(--fs-4xl); font-weight: var(--fw-display); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ob-step { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); font-size: 22px; box-shadow: 0 3px 0 var(--line), var(--shadow); cursor: pointer; }
.ob-step:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.ob-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 14px 0 4px; }
.ob-days button { font: inherit; font-weight: 800; aspect-ratio: 1; border: 0; border-radius: 50%; background: #fff; color: var(--muted); box-shadow: 0 2px 0 var(--line); cursor: pointer; }
.ob-days button[aria-pressed="true"] { background: var(--tab-on); color: var(--ink); outline: 2.5px solid var(--btn-edge); }
.ob-switch { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; font-weight: 800; cursor: pointer; }
.ob-switch input { width: 20px; height: 20px; accent-color: var(--btn-edge); }
.ob-remind { display: flex; width: 100%; justify-content: center; margin: 14px 0 0; }
.ob-remind.on { background: #F2F8EA; color: #3E6B2E; }

/* 03: many answers */
.ob-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ob-chips button { display: flex; align-items: center; gap: 8px; font: inherit; font-weight: 800; font-size: var(--fs-sm); text-align: left; padding: 11px 12px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 2px 0 var(--line); cursor: pointer; }
.ob-chips button .ico { font-size: 20px; color: #B2741E; flex: none; }
.ob-chips button[aria-pressed="true"] { background: #F2F8EA; outline: 2.5px solid #8DB36B; }

/* Me: wake time row */
.ob-me { display: grid; gap: 8px; }
.ob-me-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.ob-me-row b { display: block; }
.ob-me-row small { display: block; color: var(--muted); font-weight: 700; font-size: var(--fs-sm); }
.ob-me .link { justify-self: start; }

/* Today: the nudge for people who haven't answered yet */
.ob-tile { display: flex; align-items: center; gap: 12px; width: 100%; margin: 12px 0; padding: 12px 14px; border: 0; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 3px 0 var(--line), var(--shadow); font: inherit; text-align: left; cursor: pointer; }
.ob-tile b { display: block; }
.ob-tile small { display: block; color: var(--muted); font-weight: 700; font-size: var(--fs-sm); }
.ob-tile .sunling-solo { flex: none; }

@keyframes ob-up { from { transform: translateY(24px); opacity: 0; } }
@keyframes ob-fade { from { opacity: 0; transform: translateX(10px); } }
@media (prefers-reduced-motion: reduce) { .ob-sheet, .ob-body.fresh { animation: none; } }
