/* AppKit's default Theme — the chrome and the built-in controls.
   Ported from docs/design/mockups/theme.css; the tokens in :root are the restyling seam. */
:root{
  --color-ground:#f6f6f4;
  --color-surface:#ffffff;
  --color-text:#1b1b18;
  --color-text-muted:#66655f;
  --color-accent:#2563eb;
  --color-accent-soft:#eaf0fe;
  --color-accent-shadow:rgba(37,99,235,.28);
  --color-accent-text:#ffffff;
  --color-border:#dcdad3;
  --color-error:#a6291d;
  --color-error-soft:#fbe9e7;
  --color-error-text:#ffffff;
  --color-on-accent:#eaf0fe;
  --color-on-accent-border:rgba(255,255,255,.55);
  --color-card-border:rgba(0,0,0,.045);
  --color-review:#d60100;
  --color-review-text:#ffffff;
  --color-review-step:#bd1100;
  --color-review-action-text:#d60100;
  --color-review-outline:rgba(255,255,255,.7);
  --shadow-card:0 1px 2px rgba(0,0,0,.04), 0 10px 28px rgba(20,20,15,.07);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius:14px;
  --radius-sm:10px;
  --space:8px;
  --page-width:clamp(960px, 80vw, 1280px);
  --measure:41rem;
}
*,*::before,*::after{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{ font-family:var(--font-sans); color:var(--color-text); background:var(--color-ground); line-height:1.5; font-size:16px; }
a{ color:var(--color-accent); }
code{ background:var(--color-surface); border:1px solid var(--color-border); border-radius:3px; padding:0 4px; font-size:.875em; }
*:focus-visible{ outline:2px solid var(--color-accent); outline-offset:2px; }

.visually-hidden{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link{ position:absolute; left:-9999px; top:0; background:var(--color-accent); color:var(--color-accent-text); padding:calc(var(--space)) calc(var(--space)*1.5); z-index:100; text-decoration:none; }
.skip-link:focus{ left:0; }

/* ---- Buttons ---- */
.btn{ font:inherit; font-size:.9375rem; font-weight:600; padding:calc(var(--space)*0.875) calc(var(--space)*1.75); border-radius:999px; border:1.5px solid transparent; cursor:pointer; transition:background-color .15s ease, border-color .15s ease, box-shadow .15s ease; text-decoration:none; display:inline-block; }
.btn-primary{ background:var(--color-accent); color:var(--color-accent-text); box-shadow:0 4px 12px var(--color-accent-shadow); }
.btn-secondary{ background:transparent; color:var(--color-text); border-color:var(--color-border); }
.btn-sm{ padding:calc(var(--space)*0.5) calc(var(--space)*1.125); font-size:.875rem; }
.btn-link{ background:none; border:none; padding:0; color:var(--color-accent); font:inherit; font-weight:600; cursor:pointer; text-decoration:underline; }
.btn-danger{ background:var(--color-error); color:var(--color-error-text); border-color:var(--color-error); }

/* ==========================================================================
   Chrome — the shell (two-tier header)
   ========================================================================== */

.chrome-header{ background:var(--color-ground); }
.chrome-utility{ background:var(--color-accent); border-bottom:1px solid var(--color-accent); }
.chrome-utility-row{ max-width:var(--page-width); margin:0 auto; display:flex; justify-content:flex-end; padding:calc(var(--space)*0.75) calc(var(--space)*2); font-size:.8125rem; }
.identity{ display:flex; align-items:center; gap:calc(var(--space)*1.25); color:var(--color-on-accent); }
.identity a{ color:var(--color-on-accent); }
.identity .btn-secondary{ color:var(--color-on-accent); border-color:var(--color-on-accent-border); }
.identity .btn-sm{ font-size:.8125rem; padding:2px calc(var(--space)); }

/* ---- The review bar: this page is the past ----
   Deliberately loud. A reviewed Step renders through its ordinary Renderer, so without this
   band it is indistinguishable from the live page — which is the one failure the presentation
   snapshot exists to prevent. */
/* **One row geometry for both bands**, which is what keeps the trail navigation from moving
   when a user steps into the past: same max-width, same padding, same arrow buttons. The bands
   differ in colour and in what else is in the row, and in nothing that affects where the
   first item sits. */
.trail-bar{ background:var(--color-surface); border-bottom:1px solid var(--color-border); }
.review-bar{ background:var(--color-review); color:var(--color-review-text); }
.trail-bar-row, .review-bar-row{ max-width:var(--page-width); margin:0 auto; padding:calc(var(--space)*2); display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:calc(var(--space)*1.25) calc(var(--space)*2.5); font-size:.875rem; }

/* The arrows are 44px circles — the size a finger can hit — on both bands, so stepping into
   the past changes their colour and never their place. Pinned to the top of the row rather
   than centred in it: a note taller than the arrows — a second line, a stale or decline
   notice — would otherwise push them down on a past page and nowhere else. */
.trail{ display:flex; align-items:center; align-self:flex-start; gap:calc(var(--space)*0.75); }
.trail-step{ width:44px; height:44px; border-radius:999px; display:flex; align-items:center; justify-content:center; flex:none; background:var(--color-accent-soft); color:var(--color-accent); }
.trail-end{ opacity:.45; }
.trail-where{ min-width:52px; text-align:center; font-weight:600; color:var(--color-text-muted); }
.review-bar .trail-step{ background:var(--color-review-step); color:var(--color-review-text); }
.review-bar .trail-where{ color:var(--color-review-text); }
.trail-bar .icon, .review-bar .icon{ flex:none; }

/* The note takes the middle and is centred in it; a second line grows the band downwards and
   leaves the navigation where it was. */
.review-note{ margin:0; flex:1 1 320px; display:flex; align-items:center; justify-content:center; gap:calc(var(--space)); text-align:center; font-weight:600; }
.review-text{ display:block; }
.review-stale, .review-declined{ display:block; font-weight:400; }

/* The way back, then the redo: the safe action is reached first. Both are 44px pills. */
.review-actions{ display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:calc(var(--space)*1.25); }
.trail-live{ display:flex; align-items:center; min-height:44px; padding:0 calc(var(--space)*2); border-radius:999px; border:1px solid var(--color-review-outline); color:var(--color-review-text); text-decoration:none; font-weight:600; }
.redo-summary, .redo-confirm{ display:flex; align-items:center; gap:calc(var(--space)); min-height:44px; padding:0 calc(var(--space)*2.25); border-radius:999px; border:0; background:var(--color-review-text); color:var(--color-review-action-text); font:inherit; font-weight:600; cursor:pointer; }
.review-bar a:focus-visible, .review-bar button:focus-visible, .review-bar summary:focus-visible{ outline:2px solid var(--color-review-text); outline-offset:2px; }

/* Opening the disclosure *replaces* the button rather than growing beneath it — the summary is
   hidden and the form takes its place on the same line — and the warning takes the note's
   place, so the band reads as one question and nothing below it moves. */
.redo-summary{ list-style:none; }
.redo-summary::-webkit-details-marker{ display:none; }
.redo[open] > .redo-summary{ display:none; }
.review-bar-row:has(.redo[open]) .review-note, .review-bar-row:has(.redo[open]) .trail-live{ display:none; }
.redo-form{ display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:calc(var(--space)*1.25); }
.redo-warning{ font-weight:600; }
.redo-cancel{ color:var(--color-review-text); font-weight:600; }

.chrome-main{ border-bottom:1px solid var(--color-border); background:var(--color-surface); }
.chrome-main-row{ max-width:var(--page-width); margin:0 auto; display:flex; align-items:center; flex-wrap:wrap; gap:calc(var(--space)*2); padding:calc(var(--space)*1.5) calc(var(--space)*2); }
.brand{ display:flex; align-items:center; gap:calc(var(--space)); text-decoration:none; color:var(--color-text); font-weight:700; font-size:1.125rem; margin-right:calc(var(--space)*3); }
.brand-mark{ color:var(--color-accent); font-size:1.25rem; line-height:1; }
.brand-logo img{ display:block; height:48px; width:auto; }
.nav-list .is-current a{ border-bottom-color:var(--color-accent); }

@media (min-width:641px){
  .nav-details summary{ display:none !important; }
  .nav-details > nav{ display:block !important; }
  .nav-details::details-content{ content-visibility:visible !important; display:block !important; height:auto !important; overflow:visible !important; }
}
.nav-list{ list-style:none; margin:0; padding:0; display:flex; gap:calc(var(--space)*2.5); flex-wrap:wrap; }
.nav-list a{ display:inline-block; text-decoration:none; color:var(--color-text); font-size:.9375rem; padding:calc(var(--space)*0.625) 0; border-bottom:2px solid transparent; }
.nav-list a:hover, .nav-list a:focus-visible{ border-bottom-color:var(--color-accent); color:var(--color-accent); }
.nav-list .is-locked a{ color:var(--color-text-muted); }
.nav-list .lock{ margin-right:4px; }
.nav-desc{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

@media (max-width:640px){
  .chrome-main-row{ padding:calc(var(--space)*1.25) calc(var(--space)*1.5); gap:calc(var(--space)); align-items:flex-start; }
  /* The header narrows its inset here, and the bars have to narrow with it or the trail
     navigation stops lining up with the brand above it. */
  .trail-bar-row, .review-bar-row{ padding:calc(var(--space)*0.75) calc(var(--space)*1.5); }
  .brand{ margin-right:auto; }
  .brand-logo img{ height:36px; }
  .nav-details{ order:2; }
  .nav-details summary{
    display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px;
    cursor:pointer; list-style:none; border:1px solid var(--color-border); border-radius:999px; font-size:1.0625rem;
  }
  .nav-details summary::-webkit-details-marker{ display:none; }
  .nav-list{
    display:block; border:1px solid var(--color-border); border-radius:var(--radius);
    margin-top:calc(var(--space)); overflow:hidden; flex-basis:100%;
  }
  .nav-list li + li{ border-top:1px solid var(--color-border); }
  .nav-list a{ display:block; padding:calc(var(--space)*1.25) calc(var(--space)*1.5); border-bottom:none; }
  .nav-desc{ position:static; width:auto; height:auto; margin:2px 0 0; overflow:visible; clip:auto; white-space:normal; display:block; font-size:.8125rem; color:var(--color-text-muted); }
}

/* ---- Content region ----
   The region is the swap target and stays mounted; the card inside it says what it holds.
   Default (480px, form-shaped card): login, check-your-email, ask-for-an-address.
   .is-wide (--page-width, as the chrome rows): the Step pages, so a table or a grid has room.
   Prose stays at --measure, the line length the earlier 720px card gave, wherever it sits.
   Card shape modifiers: .is-step (Step pages, min-height 420/60vh, top-aligned, one centred
   column), .is-message (framework single-message pages, min-height 280/50vh, centered). */
.chrome-content{ max-width:var(--page-width); margin:calc(var(--space)*4) auto; padding:0 calc(var(--space)*2); }
.chrome-content:focus{ outline:none; }

.step-card{ max-width:480px; margin:0 auto; background:var(--color-surface); border:1px solid var(--color-card-border); border-radius:var(--radius); padding:calc(var(--space)*4); box-shadow:var(--shadow-card); }
.step-card.is-wide{ max-width:none; }
/* A Step's content is one column, centred in the card and as wide as its widest content (a
   table may take the whole card; prose stops at its own --measure), so what is centred is what
   is seen. 24rem is the floor, as for option lists. The prior-answer note shares the column with
   the form, so their left edges line up; text stays left-aligned inside it. */
.step-card.is-step{ min-height:420px; display:grid; grid-template-columns:minmax(min(100%, 24rem), max-content); justify-content:center; align-content:start; }
/* A grid item will not shrink below its content by default, so a wide table would push past the
   card on a phone; allowed to shrink, the table's own scroll container takes the overflow. */
.step-card.is-step > *{ min-width:0; }
.step-card.is-message{ min-height:280px; display:flex; flex-direction:column; justify-content:center; }
.prior-note{ margin:0 0 calc(var(--space)*2.5); padding:calc(var(--space)*1.25) calc(var(--space)*1.75); border-radius:var(--radius-sm); background:var(--color-accent-soft); color:var(--color-text); font-size:.875rem; }

@media (max-width:640px){
  .chrome-content{ margin:calc(var(--space)*2) 0; padding:0; }
  .step-card{ border-radius:0; border-left:none; border-right:none; box-shadow:none; }
  .step-card.is-step{ min-height:60vh; }
  .step-card.is-message{ min-height:50vh; }
}

.chrome-footer{ margin-top:calc(var(--space)*4); }
.chrome-footer p{ max-width:var(--page-width); margin:0 auto; padding:calc(var(--space)*2); font-size:.8125rem; color:var(--color-text-muted); }

/* ==========================================================================
   Content shared across the five Steps and the framework pages
   ========================================================================== */

.step-wrapper{ display:block; }
fieldset.step-control{ border:0; padding:0; margin:0 0 calc(var(--space)*3); }
.step-prompt{ display:block; max-width:var(--measure); font-size:1.25rem; font-weight:600; line-height:1.35; margin:0 0 calc(var(--space)*1.5); padding:0; color:var(--color-text); }
/* A <small> in a question's own text is its hint: on a line of its own, at .field-hint's size
   (a step above the options' .8125rem, as it sits under a 20px prompt, not a 16px label),
   muted, and without the prompt's weight, so it does not compete with the question. */
.step-prompt small{ display:block; margin-top:calc(var(--space)*0.5); font-size:.875rem; font-weight:400; color:var(--color-text-muted); }
.field-hint{ max-width:var(--measure); margin:0 0 calc(var(--space)*1.5); color:var(--color-text-muted); font-size:.875rem; }
.field-error{ display:flex; align-items:flex-start; gap:6px; margin:0 0 calc(var(--space)*1.5); color:var(--color-error); font-size:.875rem; }
.field-error::before{ content:"⚠"; line-height:1.4; }
.step-buttons{ display:flex; align-items:center; gap:calc(var(--space)*1.5); }
.step-control{ margin-bottom:calc(var(--space)*3); }
.step-body{ margin-bottom:calc(var(--space)*3); }
.step-body p{ max-width:var(--measure); margin:0 0 calc(var(--space)*1.5); color:var(--color-text); }

/* Framework pages: prompt/lede/body, and the icon badge some of them use */
.page-prompt{ display:block; font-size:1.375rem; font-weight:600; line-height:1.35; margin:0 0 calc(var(--space)*1.25); color:var(--color-text); }
.page-lede{ margin:0 0 calc(var(--space)*3); color:var(--color-text-muted); font-size:.9375rem; }
.page-lede strong{ color:var(--color-text); font-weight:600; }
.page-body p{ margin:0 0 calc(var(--space)*3.5); color:var(--color-text-muted); }
.page-icon{
  display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:999px;
  font-size:1.375rem; margin-bottom:calc(var(--space)*2);
}
.page-icon.is-positive{ background:var(--color-accent-soft); color:var(--color-accent); }
.page-icon.is-warning{ background:var(--color-error-soft); color:var(--color-error); }
.page-footnote{ margin:calc(var(--space)*3) 0 0; text-align:center; font-size:.875rem; color:var(--color-text-muted); }

/* ==========================================================================
   Per-Step controls (each Step's Renderer owns its control's CSS)
   ========================================================================== */

/* A list of options is as wide as its longest option, not as the card: a row stretched to 1280px
   for a three-word label reads as a bar, not a choice. Every row in a list shares that width so
   they stay a column; 24rem is the floor, so "Yes" and "No" are not two small boxes. */

/* QuestionTypedIn */
.text-input{
  width:100%; font:inherit; font-size:1rem; padding:calc(var(--space)*1.125) calc(var(--space)*1.25);
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface); color:var(--color-text);
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.text-input:focus-visible{ background:var(--color-surface); border-color:var(--color-accent); box-shadow:0 0 0 4px var(--color-accent-soft); }
.text-input.has-error{ border-color:var(--color-error); }

/* QuestionChoice — the box in one column; the label and its hint stacked in the other, so a
   hint sits under its label instead of squeezing it into a column beside it. */
.choice-list{ display:flex; flex-direction:column; gap:calc(var(--space)*0.75); width:fit-content; min-width:min(100%, 24rem); max-width:100%; }
.choice-option{
  display:grid; grid-template-columns:auto 1fr; align-items:start; column-gap:calc(var(--space)*1.25); padding:calc(var(--space)*1.25) calc(var(--space)*1.5);
  background:var(--color-surface); border:1.5px solid var(--color-border); border-radius:var(--radius-sm); cursor:pointer;
  transition:background-color .15s ease, border-color .15s ease;
}
.choice-option:hover{ background:var(--color-accent-soft); }
.choice-option:has(input:checked){ background:var(--color-accent-soft); border-color:var(--color-accent); }
.choice-option:has(input:focus-visible){ outline:2px solid var(--color-accent); outline-offset:2px; }
.choice-option input{ margin:3px 0 0; width:18px; height:18px; accent-color:var(--color-accent); }
.choice-option label{ cursor:pointer; }
.choice-option small{ grid-column:2; color:var(--color-text-muted); font-size:.8125rem; }

/* QuestionRate */
.rate-scale{ max-width:var(--measure); display:flex; justify-content:space-between; gap:calc(var(--space)); }
.rate-option{ position:relative; flex:1; display:flex; flex-direction:column; align-items:center; gap:calc(var(--space)*0.75); text-align:center; padding:calc(var(--space)*0.5); cursor:pointer; }
.rate-option input{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.rate-value{
  display:flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:999px;
  background:var(--color-surface); border:1.5px solid var(--color-border); color:var(--color-text-muted);
  font-weight:700; font-size:1.0625rem;
  transition:background-color .15s ease, color .15s ease, border-color .15s ease;
}
.rate-option:hover .rate-value{ background:var(--color-accent-soft); border-color:var(--color-accent); color:var(--color-text); }
.rate-option:has(input:checked) .rate-value{ background:var(--color-accent); border-color:var(--color-accent); color:var(--color-accent-text); }
.rate-option:has(input:focus-visible) .rate-value{ outline:2px solid var(--color-accent); outline-offset:2px; }
.rate-hint{ font-size:.75rem; color:var(--color-text-muted); min-height:2.4em; }
@media (max-width:480px){
  .rate-scale{ flex-wrap:wrap; }
  .rate-option{ flex-basis:calc(20% - var(--space)); }
}

/* QuestionGroup — a row per choice, a radio per group in it */
.group-list{ display:flex; flex-direction:column; gap:calc(var(--space)); width:fit-content; min-width:min(100%, 24rem); max-width:100%; }
.group-item{
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface);
  padding:calc(var(--space)*1.25) calc(var(--space)*1.5); margin:0;
  transition:background-color .15s ease, border-color .15s ease;
}
.group-item legend{ font-size:.9375rem; font-weight:600; padding:0 4px; }
.group-item small{ display:block; color:var(--color-text-muted); font-size:.8125rem; margin:2px 0 calc(var(--space)*0.5); }
.group-options{ display:flex; flex-wrap:wrap; gap:calc(var(--space)) calc(var(--space)*2); margin-top:calc(var(--space)*0.5); }
.group-option{ display:inline-flex; align-items:center; gap:6px; font-size:.9375rem; }
.group-option input{ accent-color:var(--color-accent); width:18px; height:18px; margin:0; }
.group-item:has(input:checked){ background:var(--color-accent-soft); border-color:var(--color-accent); }
.group-item:has(input:focus-visible){ outline:2px solid var(--color-accent); outline-offset:2px; }

/* QuestionRateEach — a row per choice, the shared scale across each one. The cells reuse
   `.rate-scale`/`.rate-option` wholesale, so a Theme restyling the scale restyles both kinds;
   only the row frame is this kind's own, and it is `.group-item`'s so a grid of rows looks the
   same whichever kind drew it. */
.rate-each-list{ display:flex; flex-direction:column; gap:calc(var(--space)); width:fit-content; min-width:min(100%, 24rem); max-width:100%; }
.rate-each-item{
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface);
  padding:calc(var(--space)*1.25) calc(var(--space)*1.5); margin:0;
  transition:background-color .15s ease, border-color .15s ease;
}
.rate-each-item legend{ font-size:.9375rem; font-weight:600; padding:0 4px; }
.rate-each-item small{ display:block; color:var(--color-text-muted); font-size:.8125rem; margin:2px 0 calc(var(--space)*0.5); }
/* An answered row stays tinted once focus moves on — the correction the design log records for
   `QuestionGroup`, which matters more here: with six rows to fill, "which have I done?" is the
   question the form has to answer at a glance. */
.rate-each-item:has(input:checked){ background:var(--color-accent-soft); border-color:var(--color-accent); }
.rate-each-item:has(input:focus-visible){ outline:2px solid var(--color-accent); outline-offset:2px; }
/* The scale's labelled ends, said once above the rows rather than under every point of every
   row. */
.rate-each-scale{ margin:0 0 calc(var(--space)*0.75); font-size:.8125rem; color:var(--color-text-muted); }
/* A point's label shows under its badge once that point is chosen, or while it has keyboard
   focus — and, on a device that can hover, under the badge pointed at, the chosen one's giving
   way while the pointer is in its row. A touch screen gets the chosen label alone: a tap is the
   one gesture it has, and choosing is what it does; hover is asked of the device, so a tap
   leaves no label stuck. The badges keep their width, and the label shown sits in the flow,
   centred on its badge and free to run wider than it: wrapped past a few words, with the row
   growing to fit, so a long label is never clipped. Each badge reserves one line for it — each,
   not the row, so a scale wrapped onto two lines on a narrow screen does not push its second
   line down when a point on the first is chosen. The other labels are hidden by opacity, not
   `visibility`/`display`, so each still names its radio for a screen reader; taken out of the
   flow, so they occupy no space; and `pointer-events:none`, so they catch no tap. */
.rate-each-item .rate-scale{ justify-content:flex-start; gap:var(--space); }
.rate-each-item .rate-option{ flex:0 0 44px; padding:0; }
.rate-each-item .rate-scale:has(.rate-hint) .rate-option{ min-height:calc(44px + var(--space)*0.5 + 1.5em); }
.rate-each-item .rate-option label{ display:flex; flex-direction:column; align-items:center; width:44px; }
.rate-each-item .rate-hint{
  position:absolute; top:0; left:0; min-height:0; opacity:0; pointer-events:none;
}
.rate-each-item .rate-option:has(input:checked) .rate-hint,
.rate-each-item .rate-option:has(input:focus-visible) .rate-hint{
  position:static; opacity:1; width:max-content; max-width:8rem; text-align:center;
  margin-top:calc(var(--space)*0.5);
}
@media (hover:hover){
  .rate-each-item .rate-option:hover .rate-hint{
    position:static; opacity:1; width:max-content; max-width:8rem; text-align:center;
    margin-top:calc(var(--space)*0.5);
  }
  .rate-each-item .rate-scale:has(.rate-option:hover) .rate-option:not(:hover):has(input:checked) .rate-hint{
    position:absolute; opacity:0; width:auto; margin-top:0;
  }
}

/* ==========================================================================
   Framework-page controls
   ========================================================================== */

/* login: login_options component (provider forms + divider + email form) */
.login-options{ display:flex; flex-direction:column; gap:calc(var(--space)*1.25); }
.provider-form .btn-provider{
  width:100%; display:flex; align-items:center; justify-content:center; gap:calc(var(--space)*1.25);
  background:var(--color-surface); color:var(--color-text); border:1.5px solid var(--color-border);
  border-radius:var(--radius-sm); padding:calc(var(--space)*1.125) calc(var(--space)*1.5); font-size:.9375rem; font-weight:600;
}
.provider-form .btn-provider:hover{ background:var(--color-ground); }
.divider{ display:flex; align-items:center; gap:calc(var(--space)*1.25); color:var(--color-text-muted); font-size:.8125rem; margin:calc(var(--space)*0.5) 0; }
.divider::before, .divider::after{ content:""; flex:1; height:1px; background:var(--color-border); }
.email-form{ display:flex; flex-direction:column; gap:calc(var(--space)*1.25); }
.email-form label{ display:block; font-size:.875rem; font-weight:600; margin-bottom:calc(var(--space)*0.5); color:var(--color-text); }
.email-form input{
  width:100%; font:inherit; font-size:1rem; padding:calc(var(--space)*1.125) calc(var(--space)*1.25);
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface); color:var(--color-text);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.email-form input:focus-visible{ border-color:var(--color-accent); box-shadow:0 0 0 4px var(--color-accent-soft); outline:none; }
.email-form .btn-primary{ width:100%; }

/* check-your-email: one-time code field */
.code-form{ display:flex; flex-direction:column; gap:calc(var(--space)*2.5); }
.code-form label{ display:block; font-size:.875rem; font-weight:600; margin-bottom:calc(var(--space)*0.5); color:var(--color-text); }
.code-input{
  width:100%; font:inherit; font-family:ui-monospace, "SF Mono", Consolas, monospace;
  font-size:1.5rem; letter-spacing:.35em; text-align:center; padding:calc(var(--space)*1.125) calc(var(--space)*1.25);
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface); color:var(--color-text);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.code-input:focus-visible{ border-color:var(--color-accent); box-shadow:0 0 0 4px var(--color-accent-soft); outline:none; }
.code-form .btn-primary{ width:100%; }

/* ask-for-an-address: single email field */
.address-form{ display:flex; flex-direction:column; gap:calc(var(--space)*2.5); }
.address-form label{ display:block; font-size:.875rem; font-weight:600; margin-bottom:calc(var(--space)*0.5); color:var(--color-text); }
.address-form input{
  width:100%; font:inherit; font-size:1rem; padding:calc(var(--space)*1.125) calc(var(--space)*1.25);
  border:1.5px solid var(--color-border); border-radius:var(--radius-sm); background:var(--color-surface); color:var(--color-text);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.address-form input:focus-visible{ border-color:var(--color-accent); box-shadow:0 0 0 4px var(--color-accent-soft); outline:none; }
.address-form .btn-primary{ width:100%; }
