/* Pearl Glass for the control plane's pages (app.imorchy.dev), Midnight only: these pages have no theme switch.
   The tokens below are a copy of dashboard/styles/pearl/tokens.css with the Midnight half of each light-dark(); the
   control plane imports nothing from orchestrator/ or dashboard/, so test-cp-tokens.mjs fails when a value drifts.
   One declaration per line, name: value; (that test parses them). The rules under the tokens use only these. */

@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/JetBrainsMono-ext.woff2") format("woff2"); font-weight: 100 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Google Sans"; src: url("/static/fonts/GoogleSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/static/fonts/AtkinsonHyperlegibleNext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --ground: #0D0E14;
  --surface: #16181F;
  --surface-2: #1D2029;
  --text-1: #F2F3F7;
  --text-2: #B4B9C6;
  --text-3: #9096A6;
  --hairline: rgb(255 255 255 / .08);
  --hairline-strong: rgb(255 255 255 / .14);
  --fill: rgb(255 255 255 / .06);
  --fill-strong: rgb(255 255 255 / .11);
  --blue-ink: #6E97FF;
  --red-ink: #FF6F66;
  --green-ink: #9BE356;
  --yellow-body: #FCC61B;
  --yellow-ink: #FFD84F;
  --green-wash: color-mix(in srgb, #88D53A 18%, #16181F);
  --yellow-wash: color-mix(in srgb, #FCC61B 18%, #16181F);
  --on-primary: #14161C;
  --on-decide: #14161C;
  --glass-fill: rgb(22 24 32 / .66);
  --glass-edge: rgb(255 255 255 / .10);
  --blur: 24px;
  --glass-filter: blur(var(--blur)) saturate(1.8);
  --aura-1: color-mix(in srgb, #14D9EA 20%, transparent);
  --aura-2: color-mix(in srgb, #953EF1 20%, transparent);
  --aura-3: color-mix(in srgb, #FA4E9C 18%, transparent);
  --rim: rgb(255 255 255 / .06);
  --e2: 0 2px 4px transparent, 0 12px 28px rgb(0 0 0 / .40), inset 0 1px 0 var(--rim);
  --e4: 0 24px 64px rgb(0 0 0 / .60);
  --halo: 0 0 0 4px rgb(252 198 27 / .45);
  --f-ui: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --f-read: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-title-1: 26px;
  --lh-title-1: 32px;
  --fs-title-3: 16px;
  --lh-title-3: 24px;
  --fs-body: 15px;
  --lh-body: 24px;
  --fs-body-sm: 13px;
  --lh-body-sm: 20px;
  --fs-label: 13px;
  --lh-label: 16px;
  --fs-caption: 12px;
  --lh-caption: 16px;
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;
  --h-btn-lg: 44px;
  --px-btn-lg: 20px;
  --dur-2: 200ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --press: scale(.97);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); }
body {
  margin: 0; min-height: 100vh; color: var(--text-1); font: var(--fs-body)/var(--lh-body) var(--f-read);
  background: var(--ground) radial-gradient(40% 35% at 12% 8%, var(--aura-1), transparent 70%), radial-gradient(45% 40% at 88% 20%, var(--aura-2), transparent 70%), radial-gradient(40% 40% at 50% 100%, var(--aura-3), transparent 70%) fixed;
  -webkit-text-size-adjust: 100%;
}

/* the room: a brand bar of glass (the one blurred layer), then one porcelain card */
.room { width: 100%; max-width: 480px; margin: 0 auto; padding: var(--sp-16) var(--sp-16) var(--sp-40); display: flex; flex-direction: column; gap: var(--sp-16); }
.bar {
  display: flex; align-items: center; gap: var(--sp-12); min-height: 56px; padding: var(--sp-8) var(--sp-16);
  background: var(--glass-fill); -webkit-backdrop-filter: var(--glass-filter); backdrop-filter: var(--glass-filter);
  border: 1px solid var(--glass-edge); border-radius: var(--r-lg);
}
.bar img { width: 36px; height: 36px; object-fit: contain; flex: none; }
.bar span { font: 600 var(--fs-title-3)/var(--lh-title-3) var(--f-ui); letter-spacing: -.01em; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: var(--e2); padding: var(--sp-24) var(--sp-20); display: flex; flex-direction: column; gap: var(--sp-16); }
.foot { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-16); font: var(--fs-caption)/var(--lh-caption) var(--f-ui); color: var(--text-3); padding: 0 var(--sp-4); }

h1, h2, p, ul, ol, form { margin: 0; }
h1 { font: 600 var(--fs-title-1)/var(--lh-title-1) var(--f-ui); letter-spacing: -.01em; overflow-wrap: anywhere; }
h2 { font: 600 var(--fs-title-3)/var(--lh-title-3) var(--f-ui); }
.lead { color: var(--text-2); }
.small { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--text-2); }
.fine { font: var(--fs-caption)/var(--lh-caption) var(--f-ui); color: var(--text-3); }
.who { color: var(--text-1); overflow-wrap: anywhere; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.stack { display: flex; flex-direction: column; gap: var(--sp-12); }
ul.plain { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-8); }

/* buttons: the primary one is neutral jelly, colour keeps its jobs; every tap is 44 px tall */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-8); min-height: var(--h-btn-lg); padding: 0 var(--px-btn-lg);
  font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); color: var(--text-1); background: var(--fill); border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill); text-decoration: none; cursor: pointer; transition: background var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.btn:hover, button:hover { background: var(--fill-strong); }
.btn:active, button:active { transform: var(--press); }
.btn.primary, button.primary { background: var(--text-1); color: var(--on-primary); border-color: transparent; }
.btn.primary:hover, button.primary:hover { background: var(--text-2); }
.btn.google { background: var(--text-1); color: var(--on-primary); border-color: transparent; }
.btn.google b { font: 800 14px/1 system-ui, sans-serif; color: #1A5DFA; }
.btn.wide, button.wide { width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid var(--yellow-body); outline-offset: 2px; }

/* fields */
label { display: block; font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); color: var(--text-2); margin-bottom: var(--sp-4); }
label i { font-style: normal; font-weight: 400; color: var(--text-3); }
input[type=text], input[type=email], select {
  width: 100%; min-height: var(--h-btn-lg); padding: var(--sp-8) var(--sp-12); font: var(--fs-body)/var(--lh-body) var(--f-read);
  color: var(--text-1); background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: var(--r-sm);
}
input::placeholder { color: var(--text-3); }
input:focus, select:focus { border-color: var(--yellow-body); box-shadow: var(--halo); }
.field { display: flex; flex-direction: column; }

/* the Terms box: the whole row is the tap target */
.agree { display: flex; align-items: flex-start; gap: var(--sp-12); min-height: var(--h-btn-lg); padding: var(--sp-12); background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); }
.agree input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--yellow-body); }
.agree label { margin: 0; font: var(--fs-body)/var(--lh-body) var(--f-read); color: var(--text-1); }
/* the plan choice (pages.mjs#billingBox): one row per plan and interval, the whole row is the tap target */
.plans { display: grid; gap: var(--sp-8); margin: 0; padding: 0; border: 0; min-width: 0; }
.plans legend { padding: 0; margin-bottom: var(--sp-8); }
.plan { display: flex; align-items: center; gap: var(--sp-12); min-height: var(--h-btn-lg); margin: 0; padding: var(--sp-12); background: var(--surface-2); border: 1px solid var(--hairline-strong); border-radius: var(--r-md); font: var(--fs-body)/var(--lh-body) var(--f-read); color: var(--text-1); cursor: pointer; }
.plan input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--yellow-body); }
.plan:has(input:checked) { border-color: var(--yellow-body); }

/* notices: a yellow wash is Jan's attention; a problem is red ink on porcelain */
.note { padding: var(--sp-12) var(--sp-16); background: var(--yellow-wash); border-radius: var(--r-md); color: var(--yellow-ink); }
.err { color: var(--red-ink); min-height: var(--lh-body); }

/* the steps on the Setting up page: done, now, later (real state, never a spinner) */
.steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-12); }
.steps li { display: flex; align-items: center; gap: var(--sp-12); color: var(--text-3); }
.steps .n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--fill-strong); font: 700 var(--fs-caption)/1 var(--f-ui); }
.steps .done { color: var(--text-2); }
.steps .done .n { background: var(--green-wash); color: var(--green-ink); }
.steps .now { color: var(--text-1); font-weight: 600; }
.steps .now .n { background: var(--text-1); color: var(--on-primary); }
.steps .stuck { color: var(--yellow-ink); font-weight: 600; }
.steps .stuck .n { background: var(--yellow-wash); color: var(--yellow-ink); }

@media (min-width: 640px) { .room { padding-top: var(--sp-40); } .card { padding: var(--sp-32); } }
@media (prefers-reduced-motion: reduce) { .btn, button { transition: none; } .btn:active, button:active { transform: none; } }
@media (prefers-contrast: more) { .card, .bar, input, select, .btn, button { border-color: var(--text-3); } }
.foot a { display: inline-flex; align-items: center; min-height: var(--h-btn-lg); min-width: var(--h-btn-lg); }
.fine a { padding: 14px 4px; margin: -14px -4px; } /* in-sentence links: 44px tap area without changing the line */

/* Jan's /admin: a wider room, tabs as links, one card per person (stacked on phones, three columns from 900 px) */
.room.wide { max-width: 1100px; }
.adminbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12); }
.pill { display: inline-flex; align-items: center; min-height: 28px; padding: 0 var(--sp-12); border-radius: var(--r-pill); background: var(--fill-strong); font: 600 var(--fs-caption)/1 var(--f-ui); color: var(--text-1); }
.pill.ok { background: var(--green-wash); color: var(--green-ink); }
.pill.warn { background: var(--yellow-wash); color: var(--yellow-ink); }
.pill.count { font-size: var(--fs-label); min-height: 36px; }
.tabs { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.tab { display: inline-flex; align-items: center; min-height: var(--h-btn-lg); padding: 0 var(--px-btn-lg); border-radius: var(--r-pill); border: 1px solid var(--hairline-strong); color: var(--text-1); text-decoration: none; font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); }
.tab.on { background: var(--text-1); color: var(--on-primary); border-color: transparent; }
.items { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-12); }
.item { display: flex; flex-direction: column; gap: var(--sp-12); padding: var(--sp-16); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-md); }
.item.flag { border-color: var(--yellow-body); }
.item .who { font-weight: 600; overflow-wrap: anywhere; }
.item .main { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; }
.slug { font-family: var(--f-ui); overflow-wrap: anywhere; }
.answers { display: grid; gap: var(--sp-4); margin: var(--sp-4) 0 0; }
.answers dt { font: 600 var(--fs-caption)/var(--lh-caption) var(--f-ui); color: var(--text-3); }
.answers dd { margin: 0; overflow-wrap: anywhere; }
.acts { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.acts form.inline { display: contents; }
.mismatch { color: var(--yellow-ink); font-weight: 600; }
button.danger { color: var(--red-ink); }
@media (min-width: 900px) {
  .item { flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .acts { flex: none; justify-content: flex-end; }
  .answers { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-8) var(--sp-16); }
}

/* the command center (admindash.mjs): Overview and Apps. Phone first: tiles two across, filters stacked, rows stacked; from
   640 px filters wrap in one row and rows become a grid. Charts: blue for what worked, yellow for the rest (never a red/green
   pair), no text inside the SVG (its labels are HTML under it, so they stay readable at any width) */
.dash { display: flex; flex-direction: column; gap: var(--sp-16); min-width: 0; }
.dash h2 { margin-top: var(--sp-8); }
.part { display: flex; flex-direction: column; gap: var(--sp-12); min-width: 0; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: var(--sp-12); }
.tile { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; padding: var(--sp-16); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-md); overflow-wrap: anywhere; }
.tile .num { font: 600 var(--fs-title-1)/var(--lh-title-1) var(--f-ui); font-variant-numeric: tabular-nums; color: var(--text-1); }
.tile .label { font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); color: var(--text-2); }
.tile .sub { font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--text-3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.filters { display: flex; flex-direction: column; gap: var(--sp-12); padding: var(--sp-16); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-md); }
.filters .field { min-width: 0; }
.chart { margin: 0; display: flex; flex-direction: column; gap: var(--sp-8); min-width: 0; }
.chart figcaption { font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); color: var(--text-2); }
.chart svg { display: block; width: 100%; height: 128px; }
.chart .hit { fill: transparent; }
.chart g:hover .hit { fill: var(--fill); }
.chart .grid { stroke: var(--hairline); stroke-width: 1; }
.chart .axis { stroke: var(--hairline-strong); stroke-width: 1; }
.bar-a { fill: var(--blue-ink); }
.bar-b { fill: var(--yellow-body); }
.ends { display: flex; justify-content: space-between; gap: var(--sp-8); font: var(--fs-caption)/var(--lh-caption) var(--f-ui); color: var(--text-3); }
.legend { display: flex; flex-wrap: wrap; gap: var(--sp-4) var(--sp-16); font: var(--fs-caption)/var(--lh-caption) var(--f-ui); color: var(--text-2); }
.legend > span { display: inline-flex; align-items: center; gap: var(--sp-8); }
.key { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.key.a { background: var(--blue-ink); }
.key.b { background: var(--yellow-body); }
.funnel { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-8); }
.funnel li { display: flex; align-items: center; gap: var(--sp-12); color: var(--text-2); }
.funnel .n { min-width: 44px; font: 600 var(--fs-title-3)/var(--lh-title-3) var(--f-ui); font-variant-numeric: tabular-nums; color: var(--text-1); }
.stat-rows { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-8); }
.stat-rows li { display: flex; flex-direction: column; gap: var(--sp-4); min-width: 0; padding: var(--sp-12) var(--sp-16); background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-md); font-size: var(--fs-body-sm); line-height: var(--lh-body-sm); color: var(--text-2); overflow-wrap: anywhere; }
.stat-rows .k { color: var(--text-1); font-weight: 600; min-width: 0; }
.stat-rows.compact li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--sp-4) var(--sp-16); }
.stat-rows.compact .k { flex: 1 1 auto; }
.stat-rows .pill { align-self: flex-start; }
.stat-rows .n { font-family: var(--f-ui); font-variant-numeric: tabular-nums; }
.pills { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
@media (min-width: 640px) {
  .filters { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .filters .field { flex: 1 1 160px; }
  .chart svg { height: 160px; }
  .stat-rows li { display: grid; grid-template-columns: minmax(0, 2fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: center; gap: var(--sp-12); }
}

/* sign-in and waiting-list states (Spec 1 and 3): field error, saved line, next steps, folded questions, spinner */
.err-field { color: var(--red-ink); font: var(--fs-body-sm)/var(--lh-body-sm) var(--f-read); margin-top: var(--sp-4); }
input[aria-invalid=true] { border-color: var(--red-ink); }
input[aria-invalid=true]:focus-visible { outline: 2px solid var(--yellow-body); outline-offset: 2px; }
p.ok { color: var(--green-ink); }
.next { padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--sp-12); }
.next li { display: flex; align-items: flex-start; gap: var(--sp-12); }
.next .n { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--fill-strong); font: 700 var(--fs-caption)/1 var(--f-ui); }
.next .done .n { background: var(--green-wash); color: var(--green-ink); }
.next div { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.next b { font: 600 var(--fs-body-sm)/var(--lh-body-sm) var(--f-ui); }
.next span:not(.n) { color: var(--text-2); }
details { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: var(--r-md); }
summary { display: flex; align-items: center; min-height: var(--h-btn-lg); padding: 0 var(--sp-16); font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); cursor: pointer; border-radius: var(--r-md); }
summary:focus-visible { outline: 2px solid var(--yellow-body); outline-offset: 2px; }
details[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
details > form { padding: var(--sp-16); }
details.removed { margin-top: var(--sp-24); }
details > .items { margin: 0; padding: var(--sp-16); }
.spin { width: 14px; height: 14px; flex: none; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: turn .8s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { display: none; } }

/* Split sign-in shell (sign-in, inbox, confirm, expired): the form on the left, Orchy's showcase on the right; under 900 px the
   showcase is a slim strip below the form, so nothing ever sits in front of the Google button or the email field. Tokens only. */
body.sp { background: var(--ground); }
.split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.formside { display: flex; flex-direction: column; gap: var(--sp-24); padding: var(--sp-24) var(--sp-16) var(--sp-16); }
.logo { display: flex; align-items: center; gap: var(--sp-12); font: 600 var(--fs-title-3)/var(--lh-title-3) var(--f-ui); }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.panel { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-16); }
.formside .foot { justify-content: center; }
.foot .tm a { display: inline; min-height: 0; min-width: 0; white-space: nowrap; padding: 14px 4px; margin: -14px -4px; } /* in-sentence link: 44px tap area without breaking the line */
.tm { flex: 0 0 100%; margin: 0; text-align: center; color: var(--text-3); font: var(--fs-caption)/var(--lh-caption) var(--f-read); }
.or { display: flex; align-items: center; gap: var(--sp-12); color: var(--text-3); font: var(--fs-caption)/var(--lh-caption) var(--f-ui); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--hairline-strong); }
/* screen 26 (round 2): the form sits on one porcelain card; mono eyebrow and labels, a large light title, the email link as the
   one yellow action (dark ink on yellow, 11:1), the fine print under a hairline. Every sign-in-family page gets the card. */
body.sp { background: var(--ground) radial-gradient(50% 45% at 0% 0%, var(--aura-1), transparent 70%) no-repeat; }
.panel { background: var(--surface); border: 1px solid var(--hairline-strong); border-radius: var(--r-lg); box-shadow: var(--e2); padding: var(--sp-24) var(--sp-20); }
.eyebrow { color: var(--text-3); font: 600 var(--fs-caption)/var(--lh-caption) var(--f-ui); letter-spacing: .12em; text-transform: uppercase; }
.panel h1 { font: 400 32px/38px var(--f-read); letter-spacing: -.02em; }
.panel h1 em { font-style: normal; color: var(--yellow-ink); }
.panel label { font-size: var(--fs-caption); letter-spacing: .1em; text-transform: uppercase; }
.or { text-transform: uppercase; letter-spacing: .12em; }
button.go { background: var(--yellow-body); color: var(--on-primary); border-color: transparent; box-shadow: 0 8px 24px rgb(252 198 27 / .18); }
button.go:hover { background: var(--yellow-ink); }
button.go::after { content: "\2192"; content: "\2192" / ""; /* decorative: not read as part of the button's name */ font-family: system-ui, sans-serif; }
button.go:disabled::after { content: none; }
.panel > .fine:last-child { border-top: 1px solid var(--hairline); padding-top: var(--sp-16); text-align: center; }

/* the showcase: two rows of app badges sliding past, Orchy floating on his aura with three faint orbits, one caption. Decoration only. */
.show { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--sp-16); padding: var(--sp-20) 0; margin: 0 var(--sp-16) var(--sp-16);
  border-radius: var(--r-lg); border: 1px solid var(--hairline);
  background: radial-gradient(55% 60% at 30% 25%, var(--aura-1), transparent 70%), radial-gradient(55% 60% at 80% 40%, var(--aura-2), transparent 70%), radial-gradient(60% 55% at 45% 100%, var(--aura-3), transparent 70%), var(--surface); }
.stage { position: relative; height: 150px; display: grid; place-items: center; --hero: 96px; }
.hero { position: relative; z-index: 2; width: var(--hero); height: var(--hero); object-fit: contain; animation: hover 6s ease-in-out infinite; }
.floor { position: absolute; z-index: 1; left: 50%; top: calc(50% + var(--hero) * .46); width: calc(var(--hero) * .6); height: calc(var(--hero) * .1); margin-left: calc(var(--hero) * -.3);
  border-radius: 50%; background: rgb(0 0 0 / .45); filter: blur(6px); animation: shade 6s ease-in-out infinite; }
.ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid var(--hairline-strong); animation: orbit 60s linear infinite; }
.ring i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--text-2); box-shadow: 0 0 10px var(--text-2); opacity: .7; }
.ring i:nth-child(1) { left: 50%; top: 0; }
.ring i:nth-child(2) { left: 100%; top: 50%; opacity: .45; }
.ring i:nth-child(3) { left: 15%; top: 85%; opacity: .55; }
.r1 { width: calc(var(--hero) * 1.7); height: calc(var(--hero) * 1.7); margin: calc(var(--hero) * -.85); }
.r2 { width: calc(var(--hero) * 2.5); height: calc(var(--hero) * 2.5); margin: calc(var(--hero) * -1.25); border-color: var(--hairline); animation-duration: 90s; animation-direction: reverse; }
.r3 { width: calc(var(--hero) * 3.4); height: calc(var(--hero) * 3.4); margin: calc(var(--hero) * -1.7); border-color: var(--hairline); animation-duration: 120s; }
.cap { position: relative; z-index: 3; margin: 0; padding: 0 var(--sp-16); text-align: center; color: var(--text-1); font: 600 var(--fs-label)/var(--lh-label) var(--f-ui); }
/* app badges: icon marks only; each brand's own file sits whole on a white disc (never faded or recoloured) */
.apps { position: relative; z-index: 3; overflow: hidden; padding: 4px 0; }
.apps ul { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: slide 60s linear infinite; }
.apps.b ul { animation-duration: 70s; animation-direction: reverse; }
.app { width: 52px; height: 52px; flex: none; margin-right: var(--sp-16); border-radius: 50%; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 0 0 1px var(--hairline-strong), 0 6px 18px rgb(0 0 0 / .35); }
.app img { width: 52px; height: 52px; display: block; }
.app.inset { display: grid; place-items: center; }
.app.inset img { width: 32px; height: 32px; object-fit: contain; }
@keyframes hover { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-10px) scale(1.015); } }
@keyframes shade { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.82); opacity: .7; } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hero, .floor, .ring, .apps ul { animation: none; } }

@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-content: stretch; }
  .formside { min-height: 100vh; box-sizing: border-box; padding: 40px 48px 24px; justify-content: space-between; }
  .panel { max-width: 448px; padding: var(--sp-40) var(--sp-40) var(--sp-32); }
  .panel h1 { font-size: 44px; line-height: 50px; }
  .show { position: sticky; top: 0; height: calc(100vh - 32px); margin: 16px 16px 16px 0; padding: 48px 0; gap: 24px; justify-content: center; }
  .stage { flex: 1 1 auto; height: auto; min-height: 240px; max-height: 460px; --hero: 180px; }
  .cap { font: 600 var(--fs-title-3)/var(--lh-title-3) var(--f-ui); }
}
@media (min-width: 1280px) { .stage { --hero: 210px; } }
/* Google "Continue with Google": Light theme, pill, Google's colours, padding and type; 44px tall (scaled from 40, aspect kept) */
.gsi { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; min-height: 44px; padding: 0 12px; gap: 10px;
  background: #FFFFFF; border: 1px solid #747775; border-radius: 9999px; color: #1F1F1F; text-decoration: none; cursor: pointer;
  font: 500 14px/20px "Google Sans", Roboto, system-ui, "Segoe UI", sans-serif; }
.gsi img { width: 20px; height: 20px; flex: none; display: block; }
.gsi:hover { background: #F6F6F6; }
.gsi:active { background: #EDEDED; }
.gsi:focus-visible { outline: 2px solid var(--yellow-body); outline-offset: 2px; }
.gsi[aria-busy=true] { pointer-events: none; cursor: progress; }
.gsi[aria-busy=true] span { opacity: .7; }
