/* The mock UI runtime's own styles (TDD SPEED-3841 §12.2, §12.7): the status
   region, the form-level error alert, the document dialog and the expiry warning. The
   prototype's styles are in signup.css, verbatim. */
.suLive{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* The one alert for field errors with no field on the screen (bind.js). */
.suFormError{flex-direction:column}
/* The document reader (agree.js) is the prototype's sheet: full-bleed over
   the page, its cream body one surface with its head (signup.css .suSheet),
   its footer bar full width; its head and footer clear of a notch,
   landscape too (SPEED-4368). */
.suDialog{position:fixed;inset:0;z-index:10}
.suDialog .suSheet__head{padding:calc(14px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) 12px calc(16px + env(safe-area-inset-left,0px))}
.suDialog .suSheet__foot{padding-left:calc(16px + env(safe-area-inset-left,0px));padding-right:calc(16px + env(safe-area-inset-right,0px))}
.suExpiry{position:fixed;left:16px;right:16px;bottom:16px;z-index:20;display:flex;flex-direction:column;gap:8px;max-width:420px;margin:0 auto;padding:14px;border:1px solid #ececec;border-radius:12px;background:#fff;box-shadow:0 16px 40px -16px rgba(10,10,10,.24)}
.suExpiry[hidden]{display:none}
.suExpiry p{margin:0;font-size:13px}
.suFrame [hidden]{display:none !important}
.suHead__title:focus{outline:none}
.suTurnstile{position:relative;z-index:31;display:flex;justify-content:center;margin:12px 16px}
.suTurnstile:empty{display:none}
/* SPEED-4519 (challenge.js): while Cloudflare asks for the check, its box is
   pinned at the top of the window, over the busy overlay (z-index 30) and
   whatever the frame holds, with a visible line above the widget; out of the
   way otherwise. On a 320px screen the box is 304px inside its border, room
   for Cloudflare's 300px widget (no side padding: the widget is centred). */
.suHumanCheck--asking{position:fixed;top:calc(16px + env(safe-area-inset-top,0px));left:7px;right:7px;z-index:31;display:flex;flex-direction:column;align-items:center;gap:12px;max-width:420px;margin:0 auto;padding:16px 0;border:1px solid #ececec;border-radius:16px;background:#fff;box-shadow:0 16px 40px -16px rgba(10,10,10,.24)}
.suHumanCheck--asking .suTurnstile{margin:0}
.suHumanCheck__copy{margin:0;padding:0 12px;font-family:var(--bits-font);font-size:16px;font-weight:600;line-height:1.4;color:#0a0a0a;text-align:center}
.suHumanCheck__copy:focus{outline:none}
/* W4's axe scan (SPEED-4010, §12.7, WCAG 2.2 AA): the prototype's greys and
   its selected gold tab lifted to 4.5:1 (1.4.3), and text said only to
   assistive technology. */
.suTerms{color:#666}
.suCheck__item:not(.suCheck__item--doing):not(.suCheck__item--done){color:#666}
.suCheck__item .suCheck__sub{color:#666}
.suProgress__label,.suGet__or{color:#666}
/* On a phone the prototype's gold label (SPEED-4368), 5% darker: its #8e6627
   is 4.24:1 on the glow behind the label at 320px wide, this 4.59:1. */
@container suframe (max-width:575px){.suProgress__label{color:#876125}}
/* payday's calendar (SPEED-4360): the prototype's weekday letters (#9a9a9a)
   lifted to 4.5:1 (1.4.3). The days it does not offer keep its #d0d0d0
   (SPEED-4368): inactive, and hidden from assistive technology. */
.suCal__grid--dow span{color:#666}
/* The chosen day stays white on black under the pointer: the prototype's
   hover background (#fafafa) outranks it and hid the white number. */
.suCal__d--on:hover{background:#0a0a0a}
/* The frame takes focus so a screen with no control can be scrolled by
   keyboard (2.1.1); its focus shows inside its edge (2.4.7). */
#frame:focus-visible{outline:2px solid #8e6627;outline-offset:-2px}
/* The chosen tier's pill under its white label (1.4.3): each tier's own text
   colour, 4.5:1 or more. The prototype's lighter #a97a2e (3.81:1) is its
   base pill, so also every tier it names no colour for (dev's Starter, Basic,
   Bronze, Reserve, ...), not only Gold (SPEED-4257). */
.suPlanPicker{--pl-pill:var(--pl)}
.suVisuallyHidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
/* A prefixed field in error keeps the prototype's red ring and has no focus
   ring of its own: the gold one shows on focus, as for any field (2.4.7). */
.suField--prefixed.suField--error .suField__control:focus-within{border-color:#d4a24a;box-shadow:0 0 0 3px rgba(212,162,74,.16)}
@container suframe (max-width:575px){.suField--prefixed.suField--error .suField__control:focus-within{border-color:#d4a24a;box-shadow:0 0 0 4px rgba(212,162,74,.18)}}
/* The busy overlay (SPEED-4243, busy.js): over the page, the expiry warning
   and the document dialog while a request is in flight, under the Turnstile
   widget (z-index 31) so a challenge stays answerable. Transparent at first;
   the scrim and the spinner show once busy.js sets `suBusy--shown`, after 300 ms. */
.suBusy{position:fixed;inset:0;z-index:30;display:flex;align-items:center;justify-content:center;cursor:progress}
.suBusy[hidden]{display:none}
.suBusy__card{display:none;flex-direction:column;align-items:center;gap:10px;padding:18px 22px;border-radius:16px;background:#fff;box-shadow:0 16px 40px -16px rgba(10,10,10,.24)}
.suBusy--shown{background:rgba(255,255,255,.6)}
.suBusy--shown .suBusy__card{display:flex}
.suBusy__spinner{width:32px;height:32px;box-sizing:border-box;border:4px solid #d9d9d9;border-top-color:#8e6627;border-radius:50%;animation:suBusySpin .8s linear infinite}
.suBusy__label{font-size:14px;color:#0a0a0a}
@keyframes suBusySpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.suBusy__spinner{animation:none}}
/* SPEED-4430: the pressed control while its request is in flight (submit-guard.js): dimmed,
   not pressable, its label BUSY_COPY. */
[data-busy]{cursor:progress}
.suBtn[data-busy],.suBtn[data-busy]:hover{opacity:.6;transform:none}
/* SPEED-4438: details' Continue until an address is given (details.js),
   dimmed as the prototype's disabled button, its hint centred under it. */
.suBtn[aria-disabled="true"]:not([data-busy]){cursor:not-allowed;opacity:.35}
.suBtn--primary[aria-disabled="true"]:hover{background:#0a0a0a;transform:none}
.suSubmitHint{margin:0;text-align:center}
/* Windows High Contrast drops the backgrounds and greys: the ring keeps a
   moving segment in the system's highlight. */
@media (forced-colors:active){.suBusy__card{border:1px solid CanvasText}.suBusy__spinner{forced-color-adjust:none;border-color:CanvasText;border-top-color:Highlight}}
/* W5 (SPEED-4168): the screens the prototype does not draw, in its tokens.
   The hero over a closed outcome, the hand-off and verify_email; the support
   contact; the agreement documents' tables and lists; the version line. */
.suOutcome__hero{display:flex;justify-content:center;margin:4px 0 14px}.suOutcome__hero svg{width:120px;height:96px}
.suBody>.suOutcome__hero{margin:0}
.suSupport{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #ececec;border-radius:12px;background:#fff;font-size:14px;color:#3f3f3f}
.suSupport p,.suVerify__lead{margin:0}
.suSupport a,.suVerify__lead a{display:inline-block;min-height:24px;color:#0a0a0a;font-weight:600}
.suVerify__lead{font-size:14px;color:#3f3f3f}
.suStripe__by{color:#666}.suStripe__by b{color:#525252}
.suSheet .suDoc h4{margin:14px 0 6px;font-size:14px}.suSheet .suDoc h5{margin:12px 0 4px;font-size:13.5px;color:#0a0a0a}
.suSheet .suDoc ol{margin:6px 0;padding-left:28px}.suSheet .suDoc li+li{margin-top:6px}
.suDocTable{width:100%;margin:6px 0 10px;border-collapse:collapse}
.suDocTable td,.suDocTable th{padding:8px;border:1px solid #e5e5e5;vertical-align:top;text-align:left;font-weight:inherit}.suDocTable p{margin:0}.suDocTable p+p{margin-top:6px}
.suDocTable--plain td,.suDocTable--plain th{border:0;padding:4px 8px 4px 0}
.suDocParty span{display:block}
.suDocVersion{margin-top:16px;font-size:12.5px;color:#666}
/* The address typed by hand (SPEED-4361, details.js): its fields spaced as
   the form's own. */
.suAddrTyped{display:flex;flex-direction:column;gap:16px}
@container suframe (max-width:575px){.suAddrTyped{gap:22px}}
/* The card-security screens' groups (SPEED-4365, kba.js, pin.js): a fieldset
   named by its legend, its fields spaced as the form's own. */
.suGroup{display:flex;flex-direction:column;gap:16px;min-width:0;margin:0;padding:0;border:0}
.suGroup>legend{margin-bottom:4px;padding:0;font-size:13px;font-weight:600;color:#3f3f3f}
.suGroup>.suField__hint{margin:0}
.suPin{-webkit-text-security:disc;text-security:disc}
@container suframe (max-width:575px){.suGroup{gap:22px}.suGroup>legend{font-size:16px;color:#0a0a0a}}
/* After a resend (signin.js): the prototype's one centred line, and "Send it
   again" under it once the next resend is allowed, on one line (SPEED-4368). */
.suResendRow{flex-direction:column;align-items:center;gap:8px;text-align:center}
.suResend{white-space:nowrap}
/* SPEED-4369: back's Change under the card's address, and already's "That's
   not me" (a link; a full button when the password is asked for); each at
   least 24px tall (2.5.8). */
.suFacts__change{display:block;min-height:24px;margin:2px 0 0 auto;text-decoration:underline;text-underline-offset:2px}
.suNotMe{text-align:center}
.suNotMe .suLink{min-height:24px}
/* The footer right under the content, in view on a window taller than it:
   signup.css's shell takes the frame's full height (min-height:100%), which
   pushed the footer to the window's edge. Taller content still scrolls. */
.suFrame{display:flex;flex-direction:column}
.suFrame .suShell{min-height:0;flex:1 0 auto}
.suFoot{flex:none}
