/* (181) GoSEQ setup: one question a screen, big cards, a live Home card, real "Personalising", your card at the end.
   Everything moves on transform/opacity; Reduce motion turns slides into fades. Colours come from the rider's look. */
.su-sheet { background: var(--bg); }
.su-sheet .su-top { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) 16px 8px; background: var(--bg); }
.su-top .su-skip { flex: none; min-height: 44px; padding: 0 4px; font-weight: 650; color: var(--muted); white-space: nowrap; }
.su-bar { flex: 1; height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.su-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform .55s cubic-bezier(.2, .85, .25, 1); }
.setup-v2 { padding: 4px 20px calc(env(safe-area-inset-bottom, 0px) + 28px); max-width: 520px; margin: 0 auto; overflow-x: hidden; }
#su-stage { position: relative; }
.su-h { font-size: clamp(28px, 8vw, 36px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; margin: 14px 0 10px; outline: none; text-wrap: balance; }
.su-p { color: var(--muted); font-size: 16px; line-height: 1.45; margin: 0 0 20px; text-wrap: pretty; }
.su-fine { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 14px 0 0; }
.su-fine .su-tick { width: 16px; height: 16px; vertical-align: -3px; margin-right: 6px; }
.su-go { margin-top: 18px; min-height: 52px; font-size: 17px; }
.setup-v2 .btn.block + .btn.block { margin-top: 10px; }
.setup-v2 .btn .spinner { width: 18px; height: 18px; margin-right: 8px; }

/* steps: direction-aware slides (the old pane leaves as the new one comes) */
.su-pane { will-change: transform, opacity; }
.su-first { animation: su-rise .5s cubic-bezier(.2, .85, .25, 1) both; }
.su-in-fwd { animation: su-in-r .42s cubic-bezier(.2, .85, .25, 1) both; }
.su-in-back { animation: su-in-l .42s cubic-bezier(.2, .85, .25, 1) both; }
.su-out { position: absolute; inset: 0 0 auto; pointer-events: none; }
.su-out.su-fwd { animation: su-out-l .32s cubic-bezier(.4, 0, .6, 1) both; }
.su-out.su-back { animation: su-out-r .32s cubic-bezier(.4, 0, .6, 1) both; }
.su-pane > * { animation: su-stagger .5s cubic-bezier(.2, .85, .25, 1) both; }
.su-pane > :nth-child(2) { animation-delay: .04s; } .su-pane > :nth-child(3) { animation-delay: .08s; } .su-pane > :nth-child(4) { animation-delay: .12s; } .su-pane > :nth-child(n+5) { animation-delay: .16s; }
.su-same > *, .su-out > * { animation: none; }
@keyframes su-in-r { from { opacity: 0; transform: translateX(42px); } to { opacity: 1; transform: none; } }
@keyframes su-in-l { from { opacity: 0; transform: translateX(-42px); } to { opacity: 1; transform: none; } }
@keyframes su-out-l { to { opacity: 0; transform: translateX(-42px); } }
@keyframes su-out-r { to { opacity: 0; transform: translateX(42px); } }
@keyframes su-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes su-stagger { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* big choice cards */
.su-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.su-list { display: grid; gap: 10px; margin-bottom: 12px; }
.su-list:empty { display: none; }
.su-opt { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-height: 132px; padding: 16px; text-align: left; border: 2px solid transparent; border-radius: 22px; background: var(--surface); color: var(--text); font: inherit; box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 6px 18px rgba(0, 0, 0, .05); transition: transform .18s cubic-bezier(.2, .85, .25, 1), border-color .2s, background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.su-list .su-opt { flex-direction: row; align-items: center; min-height: 64px; padding: 12px 14px; border-radius: 18px; }
.su-opt:active { transform: scale(.965); }
.su-opt.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); box-shadow: 0 8px 24px color-mix(in srgb, var(--accent) 22%, transparent); }
.su-opt-art { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--surface-2); color: var(--accent); flex: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
.su-list .su-opt-art { width: 38px; height: 38px; border-radius: 12px; }
.su-opt.on .su-opt-art { background: var(--accent); color: var(--on-accent, #fff); }
.su-art { width: 26px; height: 26px; }
.su-list .su-art { width: 22px; height: 22px; }
.su-opt-t { display: grid; gap: 3px; min-width: 0; }
.su-opt-t b { font-size: 17px; font-weight: 750; letter-spacing: -.01em; }
.su-opt-t small { font-size: 13px; color: var(--muted); line-height: 1.3; }
.su-tick { width: 24px; height: 24px; flex: none; }
.su-tick circle { fill: var(--accent); }
.su-tick path { fill: none; stroke: var(--on-accent, #fff); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }
.su-opt > .su-tick { position: absolute; top: 12px; right: 12px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.su-list .su-opt > .su-tick { position: static; margin-left: auto; }
.su-opt.on > .su-tick { opacity: 1; transform: none; }
.su-pop .su-opt-art, .su-pop.su-look .su-look-pv { animation: su-bounce .42s cubic-bezier(.3, 1.6, .5, 1); }
.su-pop > .su-tick path, .su-pop .su-tick path { animation: su-draw .38s .08s ease-out both; }
@keyframes su-bounce { 0% { transform: scale(.86); } 60% { transform: scale(1.08); } 100% { transform: none; } }
@keyframes su-draw { from { stroke-dashoffset: 16; } to { stroke-dashoffset: 0; } }

/* fields, rows, switches */
.su-field { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 6px; margin: 14px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.su-field input { width: 100%; min-height: 52px; padding: 0 16px; border-radius: 16px; border: 1.5px solid var(--surface-2); background: var(--surface); color: var(--text); font-size: 17px; font-weight: 500; line-height: 1.2; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
.su-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.su-time input { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
/* (ios10) iOS draws a time input as an inline-flex box that ignores width:100% and ran off a 440 pt phone's right edge */
.su-field input[type="time"] { -webkit-appearance: none; appearance: none; display: flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; text-align: center; }
.su-field input[type="time"]::-webkit-date-and-time-value { text-align: center; margin: 0; padding: 0; }
.su-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 4px 0 6px; }
.su-day { aspect-ratio: 1; max-height: 48px; border-radius: 50%; border: 1.5px solid var(--surface-2); background: var(--surface); color: var(--text); font: 750 15px/1 inherit; transition: transform .16s, background .2s, color .2s, border-color .2s; }
.su-day[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent, #fff); }
.su-day:active { transform: scale(.9); }
.su-more { margin: 14px 0 0; padding: 8px 0; background: none; border: 0; color: var(--accent); font: 650 15px/1.2 inherit; }
.su-perday { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 10px; animation: su-rise .3s both; }
.su-pd input { font-size: 17px; min-height: 46px; }
.su-big-btn { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; padding: 12px 14px; margin: 4px 0 2px; border-radius: 18px; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); color: var(--text); font: inherit; text-align: left; transition: transform .16s; }
.su-big-btn:active { transform: scale(.98); }
.su-big-btn .su-art { color: var(--accent); flex: none; }
.su-big-btn span { display: grid; gap: 2px; } .su-big-btn b { font-size: 16px; } .su-big-btn small { color: var(--muted); font-size: 13px; }
.su-review { display: grid; gap: 8px; margin: 6px 0 4px; }
.su-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; border: 0; border-radius: 16px; background: var(--surface); color: var(--text); font: inherit; text-align: left; transition: transform .16s, background .2s; }
.su-row:active { transform: scale(.98); background: var(--surface-2); }
.su-row .grow { display: grid; gap: 1px; min-width: 0; } .su-row small { color: var(--muted); font-size: 12.5px; font-weight: 600; } .su-row b { font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-row-art { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--surface-2); color: var(--accent); flex: none; }
.su-row-art .su-art { width: 22px; height: 22px; }
.su-switch { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 68px; padding: 12px 14px; margin: 0 0 10px; border: 0; border-radius: 18px; background: var(--surface); color: var(--text); font: inherit; text-align: left; transition: transform .16s; }
.su-switch:active:not([aria-disabled]) { transform: scale(.98); }
.su-switch .grow { display: grid; gap: 3px; } .su-switch b { font-size: 16px; } .su-switch small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.su-knob { position: relative; flex: none; width: 50px; height: 30px; border-radius: 30px; background: var(--surface-2); transition: background .22s; }
.su-knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .26s cubic-bezier(.3, 1.4, .5, 1); }
.su-switch[aria-checked="true"] .su-knob { background: var(--accent); }
.su-switch[aria-checked="true"] .su-knob::after { transform: translateX(20px); }
.su-on { font-weight: 750; color: var(--accent); }
.su-pill { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-size: 14px; margin: 0 0 12px; }
.su-pill .su-art { width: 20px; height: 20px; color: var(--accent); }
.su-msg { margin: 10px 0 0; font-size: 14px; color: var(--muted); } .su-msg.bad { color: var(--warn, #9A5300); font-weight: 600; }
.su-hint { margin: 8px 0 0; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); font-size: 13px; line-height: 1.45; animation: su-rise .25s both; }
.su-lead { font-size: 15px; line-height: 1.45; margin: 0; }
.su-busy { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; color: var(--muted); font-size: 15px; }
.su-busy .spinner { width: 24px; height: 24px; }
.su-trust { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--surface); color: var(--muted); font-size: 14px; line-height: 1.4; }
.su-trust .su-art { color: var(--accent); flex: none; width: 30px; height: 30px; }

/* welcome: a bus pulling up to its stop */
.su-hero { position: relative; height: 170px; margin: 6px 0 10px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, var(--surface)) 0%, var(--surface) 100%); }
.su-hero-sun { position: absolute; left: 34px; top: 26px; width: 46px; height: 46px; border-radius: 50%; background: var(--sun, #FFB21E); opacity: .85; animation: su-sun 6s ease-in-out infinite alternate; }
.su-hero-road { position: absolute; left: 0; right: 0; bottom: 34px; height: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--surface-2) 0 26px, transparent 26px 40px); }
.su-hero-stop { position: absolute; right: 64px; bottom: 40px; width: 4px; height: 52px; border-radius: 3px; background: var(--text); opacity: .7; }
.su-hero-stop::before { content: ""; position: absolute; top: -10px; left: -9px; width: 22px; height: 16px; border-radius: 5px; background: var(--accent); }
.su-hero-bus { position: absolute; bottom: 40px; left: -70px; display: grid; place-items: center; width: 66px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--on-accent, #fff); animation: su-bus 2.2s .25s cubic-bezier(.25, .9, .3, 1) forwards; }
.su-hero-bus { transition: none; }
.su-hero-bus .i { width: 26px; height: 26px; }
@keyframes su-bus { to { left: calc(100% - 150px); } }
@keyframes su-sun { to { transform: translateY(8px); } }

/* the live Home card */
#su-live { display: none; margin: 4px 0 2px; }
#su-live.on { display: block; animation: su-rise .35s both; }
.su-live-k { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px 4px; }
.su-card { display: grid; gap: 6px; padding: 14px 16px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 26px rgba(0, 0, 0, .07); }
.su-card-big { padding: 20px; gap: 10px; margin: 18px 0 6px; animation: su-card-in .7s .25s cubic-bezier(.2, .9, .25, 1) both; }
.su-card-upd { animation: su-pulse .45s ease-out; }
@keyframes su-pulse { 0% { transform: scale(.985); } 50% { transform: scale(1.012); } 100% { transform: none; } }
@keyframes su-card-in { from { opacity: 0; transform: translateY(26px) scale(.96); } to { opacity: 1; transform: none; } }
.su-c-kick { font-size: 11px; font-weight: 800; letter-spacing: .09em; color: var(--muted); }
.su-c-big { font-size: 26px; line-height: 1.05; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; }
.su-card-big .su-c-big { font-size: 34px; }
.su-c-wait { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--muted); font-weight: 650; letter-spacing: 0; }
.su-c-wait .spinner { width: 22px; height: 22px; }
.su-c-bus { display: flex; align-items: center; gap: 10px; font-size: 15px; min-width: 0; }
.su-c-bus > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-c-badge { display: inline-grid; place-items: center; min-width: 46px; height: 28px; border-radius: 8px; background: var(--surface-2); color: var(--muted); font-weight: 800; }
.su-c-foot { font-size: 13px; color: var(--muted); }
.su-c-ghost { opacity: .55; }
.su-card > * { animation: su-stagger .4s both; }

/* the demo */
.su-demo { position: relative; border-radius: 24px; background: var(--surface); padding: 14px 14px 16px; overflow: hidden; }
.su-demo-tag { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 3px 8px; border-radius: 8px; background: var(--text); color: var(--bg); font: 800 11px/1.2 inherit; letter-spacing: .1em; }
.su-demo-map { display: block; width: 100%; height: auto; }
.su-demo-road { fill: none; stroke: var(--surface-2); stroke-width: 10; stroke-linecap: round; }
.su-demo-line { fill: none; stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.su-demo-stop { fill: var(--surface); stroke: var(--muted); stroke-width: 2.5; }
.su-demo-stop.you { stroke: var(--accent); stroke-width: 3.5; }
#su-demo-bus circle { fill: var(--accent); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
#su-demo-bus text { fill: var(--on-accent, #fff); font: 800 8px/1 system-ui, sans-serif; }
.su-demo-ui { display: grid; gap: 2px; margin-top: 4px; }
.su-demo-k { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--muted); }
.su-demo-n { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.su-demo-s { font-size: 14px; color: var(--muted); }
.su-demo-alert { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--accent); color: var(--on-accent, #fff); animation: su-alert .45s cubic-bezier(.3, 1.5, .5, 1) both; }
.su-demo-alert[hidden] { display: none; }
.su-demo-alert .su-art { width: 26px; height: 26px; flex: none; animation: su-ring .5s .2s ease-in-out 3; transform-origin: 50% 10%; }
.su-demo-alert span { display: grid; } .su-demo-alert small { opacity: .85; }
@keyframes su-alert { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes su-ring { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }

/* looks */
.su-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.su-look { position: relative; display: grid; gap: 8px; padding: 10px 10px 12px; border-radius: 20px; border: 2px solid transparent; background: var(--surface); color: var(--text); font: inherit; text-align: left; transition: transform .18s, border-color .2s; }
.su-look:first-child { grid-column: 1 / -1; }
.su-look:active { transform: scale(.97); }
.su-look.on { border-color: var(--accent); }
.su-look b { font-size: 15px; padding-left: 4px; }
.su-look > .su-tick { position: absolute; top: 14px; right: 14px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.su-look.on > .su-tick { opacity: 1; transform: none; }
.su-look-pv { display: block; border-radius: 14px; overflow: hidden; pointer-events: none; }
.su-look-pv .lk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

/* permission primers */
.su-prime-sheet { position: absolute; inset: 0; z-index: 5; display: grid; align-items: end; background: rgba(0, 0, 0, 0); transition: background .25s; }
.su-prime-sheet.in { background: rgba(0, 0, 0, .35); }
.su-prime-card { margin: 0; padding: 26px 22px calc(env(safe-area-inset-bottom, 0px) + 22px); border-radius: 28px 28px 0 0; background: var(--bg); text-align: center; transform: translateY(100%); transition: transform .34s cubic-bezier(.2, .85, .25, 1); }
.su-prime-sheet.in .su-prime-card { transform: none; }
.su-prime-card > .su-art { width: 52px; height: 52px; color: var(--accent); }
.su-prime-card h2 { font-size: 24px; letter-spacing: -.02em; margin: 10px 0 6px; }
.su-prime-card p { color: var(--muted); line-height: 1.45; margin: 0 0 18px; }
.su-prime-inline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
.su-prime-inline > .su-art { color: var(--accent); width: 24px; height: 24px; flex: none; }
.su-prime-inline .grow { display: grid; gap: 2px; min-width: 150px; } .su-prime-inline small { color: var(--muted); }
.su-prime-inline .btn { white-space: nowrap; }

/* personalising */
.su-personal { display: grid; justify-items: center; text-align: center; padding-top: 8vh; }
.su-pz-spin .spinner { width: 56px; height: 56px; }
.su-checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; width: 100%; max-width: 340px; text-align: left; }
.su-ck { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s, color .3s; color: var(--muted); }
.su-ck.in { opacity: 1; transform: none; }
.su-ck.ok { color: var(--text); }
.su-ck-i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; }
.su-ck-i .spinner { width: 22px; height: 22px; }
.su-ck.ok .su-tick { animation: su-bounce .4s cubic-bezier(.3, 1.6, .5, 1); }
.su-ck.ok .su-tick path { animation: su-draw .35s .05s ease-out both; }
.su-ck-later { font: 700 11px/1 inherit; font-style: normal; color: var(--muted); }

/* done */
.su-done { padding-top: 10px; }
.su-burst { position: relative; width: 74px; height: 74px; margin: 6px 0 0; animation: su-bounce .6s .1s cubic-bezier(.3, 1.6, .5, 1) both; }
.su-burst .su-tick { width: 74px; height: 74px; }
.su-burst .su-tick path { stroke-width: 2.2; animation: su-draw .5s .35s ease-out both; }
.su-burst::before, .su-burst::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--accent); opacity: 0; animation: su-ring-out .9s .3s ease-out both; }
.su-burst::after { animation-delay: .5s; }
@keyframes su-ring-out { from { opacity: .6; transform: scale(.7); } to { opacity: 0; transform: scale(1.5); } }
.su-pro-line { display: flex; align-items: center; gap: 8px; font-weight: 650; margin: 8px 0 0; }
.su-pro-line .su-tick { width: 20px; height: 20px; }
.su-proon { display: grid; justify-items: start; gap: 4px; } .su-proon .su-tick { width: 48px; height: 48px; animation: su-bounce .5s both; } .su-proon h1 { margin: 6px 0 0; font-size: 28px; } .su-proon p { color: var(--muted); margin: 0 0 12px; }
.su-tip { display: flex; align-items: flex-start; gap: 12px; margin: 14px 0 0; padding: 12px 10px 12px 14px; border-radius: 18px; background: var(--surface); transition: opacity .25s, transform .25s; }
.su-tip .grow { display: grid; gap: 3px; } .su-tip small { color: var(--muted); font-size: 13px; line-height: 1.4; } .su-tip .link { justify-self: start; padding: 4px 0 0; }
.su-tip.su-gone { opacity: 0; transform: translateY(-6px) scale(.98); }
.su-signin { margin-top: 12px; }
.su-sheet.su-reveal { animation: su-lift .42s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes su-lift { to { opacity: 0; transform: translateY(-24px) scale(.98); } }

/* the school code card (Home) */
.su-school-card { display: flex; align-items: center; gap: 12px; padding: 14px; margin: 12px 0 0; animation: su-rise .4s both; }
.su-school-card .su-art { color: var(--accent); flex: none; }
.su-school-card .grow { display: grid; gap: 2px; min-width: 0; } .su-school-card small { color: var(--muted); }
.su-school-card .btn { white-space: nowrap; }

@media (max-width: 370px) { .su-opt { min-height: 118px; padding: 14px; } .su-opt-t b { font-size: 16px; } .su-h { font-size: 27px; } }
@media (prefers-reduced-motion: reduce) {
  .su-pane, .su-pane > *, .su-first, .su-in-fwd, .su-in-back, .su-card-big, .su-burst, #su-live.on, .su-demo-alert, .su-hero-bus, .su-hero-sun, .su-pop .su-opt-art, .su-ck.ok .su-tick, .su-school-card { animation: su-fade .25s both !important; }
  .su-hero-bus { left: auto; right: 90px; }
  .su-out, .su-burst::before, .su-burst::after { display: none; }
  .su-bar i, .su-knob::after, .su-opt, .su-opt > .su-tick, .su-prime-card { transition-duration: .01s; }
  .su-sheet.su-reveal { animation: su-fade-out .2s forwards; }
}
@keyframes su-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes su-fade-out { to { opacity: 0; } }
.su-row .grow, .su-switch .grow, .su-tip .grow, .su-prime-inline .grow, .su-school-card .grow { flex: 1; }
.su-ck-dot { width: 18px; height: 18px; border-radius: 50%; border: 2px dashed var(--muted); opacity: .6; }
.su-ck small { color: var(--muted); font-weight: 500; }

/* (181 pass 2) more life: a big icon on every question, a soft glow behind the sheet, richer cards */
.su-sheet .overlay-body.setup-v2 { background: radial-gradient(120% 60% at 50% -10%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 60%); }
.su-badge { display: grid; place-items: center; width: 64px; height: 64px; margin: 12px 0 0; border-radius: 20px; color: var(--on-accent, #fff); background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #fff 22%), var(--accent)); box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); animation: su-badge-in .55s cubic-bezier(.3, 1.5, .5, 1) both; }
.su-badge .su-art { width: 32px; height: 32px; stroke-width: 2; }
.su-badge + .su-h { margin-top: 16px; }
@keyframes su-badge-in { from { opacity: 0; transform: scale(.6) rotate(-8deg); } to { opacity: 1; transform: none; } }
.su-opt { background: linear-gradient(180deg, var(--surface) 0%, color-mix(in srgb, var(--surface) 92%, var(--accent) 8%) 100%); }
.su-grid .su-opt-art { width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.su-grid .su-art { width: 28px; height: 28px; }
.su-opt.on .su-opt-art { background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 78%, #fff 22%), var(--accent)); box-shadow: 0 6px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.su-c-soft { opacity: .62; font-style: normal; }
.su-c-big.su-c-soft { opacity: .8; }
.su-c-badge .i { width: 16px; height: 16px; }
.su-c-badge { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
#su-live .su-card { border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
@media (prefers-reduced-motion: reduce) { .su-badge { animation: su-fade .25s both; } }
.su-sheet .overlay-body.setup-v2 { background: none; }
.su-sheet { background: radial-gradient(120% 50% at 50% -8%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 62%) var(--bg); }
.su-sheet .su-top { background: color-mix(in srgb, var(--bg) 70%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* 3.9.157: Both = a morning card and an arvo card; the "Your buses" step */
.su-pair { display: grid; gap: 10px; }
.su-mini { gap: 4px; padding: 12px 14px; border-radius: 18px; }
.su-mini-big { padding: 14px 16px; }
.su-mini-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; min-width: 0; }
.su-mini-lead { font-size: 21px; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; font-variant-numeric: tabular-nums; }
.su-mini-bus { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.su-mini .su-c-kick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-mini .su-c-foot { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-pair .su-card-big { margin: 0; }
.su-buses { display: grid; gap: 12px; margin-bottom: 14px; }
.su-bus-card { display: grid; gap: 8px; padding: 14px 16px; border-radius: 20px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 10px 26px rgba(0, 0, 0, .07); animation: su-rise .35s both; }
.su-bus-card .su-c-kick { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-bus-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.su-bus-at { display: grid; gap: 1px; min-width: 0; flex: 1; }
.su-bus-at b { font-size: 24px; line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.su-bus-at small { color: var(--muted); font-size: 13px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.su-change { flex: none; white-space: nowrap; min-height: 40px; padding: 0 16px; }
.su-bus-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.su-bus-tag .su-tick { width: 18px; height: 18px; opacity: 1; transform: none; }
.su-bus-none { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.4; }
.su-bus-card .su-busy { justify-content: flex-start; padding: 6px 0; }
@media (prefers-reduced-motion: reduce) { .su-bus-card { animation: su-fade .25s both; } }

/* ===== (firstrun-1101) glow-up: GoAus brand, Classic by default, Home's card language, screen-filling layout ===== */
.su-sheet { --su-ink: var(--text); --su-off: var(--accent); }
:root[data-theme="dark"] .su-sheet { --su-ink: color-mix(in srgb, var(--text) 38%, transparent); --su-off: color-mix(in srgb, var(--accent) 62%, var(--bg)); }
.su-sheet .su-top { padding-bottom: 4px; }
/* progress: segments, filled in the app-icon gradient */
.su-bar { height: 8px; background: color-mix(in srgb, var(--text) 10%, transparent); -webkit-mask: repeating-linear-gradient(90deg, #000 0 20px, transparent 20px 25px); mask: repeating-linear-gradient(90deg, #000 0 20px, transparent 20px 25px); }
.su-bar i { background: linear-gradient(90deg, #FF9152, #F0513E 55%, #B8264A); }
/* the page fills the screen: question at the top, the button at the foot, nothing floating in a blank half */
.setup-v2 { display: flex; flex-direction: column; min-height: 0; box-sizing: border-box; padding-top: 6px; }
#su-stage { flex: 1 0 auto; display: flex; flex-direction: column; }
.su-pane { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.su-pane > .su-go { margin-top: auto; flex: none; }
.su-pane:has(> .su-go) > .su-go { position: sticky; bottom: 0; }
.su-pane > .su-list:last-child, .su-pane > .su-grid:last-child { margin-bottom: auto; }
.su-pane:has(.su-hero) { justify-content: center; padding-bottom: 5vh; }
.su-pane:has(.su-hero) > .su-go { margin-top: 26px; position: static; }
.su-h { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.03; letter-spacing: -.04em; margin: 12px 0 10px; }
.su-p { font-size: 16.5px; }
/* big choices: Home's bold card (2 px ink, a hard offset block), toned down in dark */
.su-opt, .su-row, .su-switch, .su-bus-card, .su-trust, .su-big-btn { border: 2px solid var(--su-ink); box-shadow: 3px 3px 0 color-mix(in srgb, var(--su-ink) 22%, transparent); }
.su-big-btn { border-style: dashed; box-shadow: none; }
.su-opt:active, .su-row:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--su-ink); }
.su-opt.on { border-color: var(--su-ink); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); box-shadow: 4px 4px 0 var(--su-off); }
.su-opt-art, .su-row-art { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.su-opt.on .su-opt-art { background: var(--accent); }
.su-field input { border: 2px solid var(--su-ink); box-shadow: 3px 3px 0 color-mix(in srgb, var(--su-ink) 18%, transparent); }
.su-field input:focus { box-shadow: 3px 3px 0 var(--su-off); border-color: var(--su-ink); }
.su-day { border: 2px solid var(--su-ink); background: var(--surface); }
.su-day[aria-pressed="true"] { background: var(--accent); border-color: var(--su-ink); box-shadow: 2px 2px 0 var(--su-ink); }
/* the button: brand red/orange, ink border and block like Home's */
.su-go.btn.primary { background: linear-gradient(135deg, #F0513E, #C0352A); color: #fff; border: 2px solid var(--su-ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--su-ink); font-weight: 800; letter-spacing: -.01em; transition: transform .12s, box-shadow .12s; }
.su-go.btn.primary:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--su-ink); }
.su-go.btn.primary[disabled] { opacity: .45; box-shadow: none; }
:root[data-theme="dark"] .su-go.btn.primary { border-color: transparent; box-shadow: 0 8px 26px color-mix(in srgb, #F0513E 38%, transparent); }
.su-signin, .su-skip { color: var(--text); }
.su-signin { margin-top: 14px; font-weight: 700; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--text) 30%, transparent); text-underline-offset: 4px; min-height: 44px; }
/* welcome: the real leave card, built in HTML */
.su-hero { height: auto; margin: 0 0 22px; border-radius: 0; background: none; overflow: visible; display: grid; gap: 14px; }
.su-hc { display: grid; gap: 6px; padding: 18px 18px 16px; border-radius: 22px; background: var(--surface); border: 2px solid var(--su-ink); box-shadow: 5px 5px 0 var(--su-off); animation: su-rise .6s cubic-bezier(.2, .85, .25, 1) both; }
.su-hc-k { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.su-hc-n { font-size: 58px; line-height: .95; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.su-hc-bus { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-top: 4px; }
.su-hc-badge { display: inline-grid; place-items: center; min-width: 46px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 800; font-size: 14px; }
.su-hc-track { height: 6px; border-radius: 6px; background: color-mix(in srgb, var(--text) 10%, transparent); overflow: hidden; margin-top: 6px; }
.su-hc-track i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF9152, #F0513E 60%, #B8264A); transform-origin: left; animation: su-hc-go 6s .5s cubic-bezier(.4, 0, .2, 1) infinite alternate; }
@keyframes su-hc-go { from { transform: scaleX(.12); } to { transform: scaleX(.86); } }
.su-hc-foot { font-size: 13px; color: var(--muted); }
.su-hc-alert { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 18px; background: var(--accent); color: #fff; margin: 0 14px 0 34px; animation: su-alert .6s 1.1s cubic-bezier(.2, .9, .25, 1.2) both, su-bob 3.2s 2s ease-in-out infinite; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.su-hc-alert .su-art { width: 24px; height: 24px; flex: none; animation: su-ring .5s 1.4s ease-in-out 3; transform-origin: 50% 10%; }
.su-hc-alert span { display: grid; font-size: 15px; } .su-hc-alert small { opacity: .88; font-size: 13px; }
@keyframes su-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .su-hc-track i, .su-hc-alert { animation: none; } .su-hc-track i { transform: scaleX(.6); } }
.su-mode { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 0; margin: 0 0 14px; padding: 3px; border-radius: 14px; border: 2px solid var(--su-ink); background: var(--surface); }
.su-mode button { min-height: 40px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 700 14px/1.1 inherit; transition: background .2s, color .2s; }
.su-mode button.on { background: var(--accent); color: #fff; }
.su-pane:has(> .su-go) > .su-go { box-shadow: 4px 4px 0 var(--su-ink), 0 0 0 10px var(--bg), 0 -18px 16px 6px var(--bg); }
:root[data-theme="dark"] .su-pane:has(> .su-go) > .su-go { box-shadow: 0 8px 26px color-mix(in srgb, #F0513E 38%, transparent), 0 0 0 10px var(--bg), 0 -18px 16px 6px var(--bg); }

/* ===== (setup2-1101) places first: home, where you go, suggested stops on a map; two homes; ways to the bus per day ===== */
.ds-mapbox.su-mapbox { height: clamp(170px, 26vh, 230px); margin: 4px 0 12px; border: 2px solid var(--su-ink); box-shadow: 3px 3px 0 color-mix(in srgb, var(--su-ink) 22%, transparent); flex: none; }
.ds-mapbox.su-mapbox.tall { height: clamp(230px, 36vh, 330px); }
.su-mapbox .ds-map { position: absolute; inset: 0; }
.su-mapbox .mv-marker.home { --c: var(--text); --t: var(--bg); z-index: 4; }
.su-mapbox .mv-marker.home span { font-size: var(--fs-cap, 12px); font-weight: 800; }
.su-mapbox .mv-stop.sel { z-index: 5; }
.su-sheet .suggest .ps-attr { display: none; }
.su-attr { margin: -4px 0 10px; }
.su-slots { display: grid; gap: 10px; margin: 0 0 12px; }
.su-slot { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 14px; text-align: left; border: 2px solid var(--su-ink); border-radius: 16px; background: var(--surface); color: var(--text); font: inherit; box-shadow: 3px 3px 0 color-mix(in srgb, var(--su-ink) 22%, transparent); }
.su-slot .grow { display: grid; gap: 1px; min-width: 0; flex: 1; }
.su-slot small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.su-slot b { font-size: 16px; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.su-slot-r { display: inline-flex; gap: 4px; flex: none; }
.su-find { margin: 0 0 10px; }
.su-find summary { min-height: 44px; display: flex; align-items: center; color: var(--accent); font-weight: 700; cursor: pointer; }
.su-sentence { margin: 8px 2px 4px; font-size: 16px; line-height: 1.35; }
.su-rotdays { margin-top: 12px; }
/* ways to the bus, a weekday at a time */
.su-pdm-box { display: grid; gap: 8px; }
.su-pdm-box[hidden] { display: none; }
.su-pdm { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; }
.su-pdm-d { font-weight: 800; font-size: 14px; }
.su-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 3px; border-radius: 12px; border: 2px solid var(--su-ink); background: var(--surface); }
.su-seg button { display: grid; justify-items: center; gap: 2px; min-height: 48px; padding: 4px 2px; border: 0; border-radius: 9px; background: none; color: var(--text); font: 700 11.5px/1.1 inherit; }
.su-seg button .su-art { width: 20px; height: 20px; }
.su-seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.su-field:has(.suggest) { position: relative; z-index: 6; }
.ds-mapbox.su-mapbox.short { height: clamp(130px, 18vh, 160px); }
.su-perday.su-pdm-box { grid-template-columns: 1fr; margin-top: 8px; }
.su-seg button span { white-space: nowrap; }
/* "I'm at Home until Saturday · Switch": two homes, on Home */
#h-homeswitch { margin: 0 var(--sp-4, 16px) 10px; }
.hs-chip { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 8px 14px; border: 1.5px solid color-mix(in srgb, var(--text) 18%, transparent); border-radius: 14px; background: var(--surface); color: var(--text); font: 600 14.5px/1.2 inherit; text-align: left; }
.hs-chip span { flex: 1; min-width: 0; } .hs-chip b { font-weight: 800; }
.hs-chip em { font-style: normal; color: var(--accent); font-weight: 750; }
.hs-chip .i, .hs-chip svg { color: var(--accent); }
.hs-body { padding-bottom: 24px; }
.hs-opt[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); }
