/* VSSGEO door · round 2 · ACCOUNT lane
   Sign in / create account (#auth), Settings (#set: profile, usage, plan, activity, password), credits shop and plan
   cards, low-credit and cost prompts (.tcost, .unlock, the "out of credits" / "sign in to see" gates), sign-out, #toast.
   Load AFTER vssgeo-theme.css, door.css and door-panels.css (it wins ties by coming last).
   Scope: body.door only. Colours: --vg-* tokens only; the few new ones are in the marked block below, with light values.
   Spacing: 4 · 8 · 16 · 24 · 32 · 48. Radii: controls --vg-r-sm, cards --vg-r, sheets --vg-r-lg, buttons/chips --vg-pill.
   Motion: Arrive (block-by-block assemble, ≤400 ms), Working (busy buttons), Rest (nothing loops once settled).
   Companion: account.js adds the busy / validation / caps-lock / toast-tone / low-credit hooks these rules style.
   Every hook is optional: without account.js the page still reads correctly (the rules simply never match). */


/* ═══ NEW TOKENS (account lane) ═══════════════════════════════════════════════════════════════════════════════
   --vg-acc-scrim     the modal backdrop. Dark: the #auth black. Light: an ink veil (black at .62 was heavy on cream).
   --vg-acc-ok        success fill (check circle). Gold in both themes: accent is red in light mode, and a red ✓ reads as error.
   --vg-acc-ok-ink    the check drawn on it.
   --vg-acc-bad       error fill ("!" circle, invalid field line).
   --vg-acc-bad-ink   error text: pale red on dark, deep red on light (both pass 4.5:1 on their panel).
   --vg-acc-bad-soft  error card fill.   --vg-acc-bad-line  error card border.
   Proposal for the lead: promote these to vssgeo-theme.css as --vg-scrim / --vg-ok / --vg-bad* if other lanes want them. */
:root{
  --vg-acc-scrim:rgba(0,0,0,.62);
  --vg-acc-ok:#ebaa1f; --vg-acc-ok-ink:#14191c;
  --vg-acc-bad:#b22c2e; --vg-acc-bad-ink:#ffb4ad;
  --vg-acc-bad-soft:rgba(178,44,46,.14); --vg-acc-bad-line:rgba(178,44,46,.55);
}
:root[data-theme="light"]{
  --vg-acc-scrim:rgba(20,25,28,.38);
  --vg-acc-bad-ink:#8f1f21;
  --vg-acc-bad-soft:rgba(178,44,46,.07); --vg-acc-bad-line:rgba(178,44,46,.42);
}

/* Arrive: a block drops into its slot (the logo's Tetris language). Fill mode is `backwards` on purpose, so hover
   transforms (the .dx turn, card lifts) take over again as soon as the entrance ends. */
@keyframes acc-block{from{opacity:0;transform:translateY(-8px) scale(.985)}to{opacity:1;transform:none}}
@keyframes acc-swap{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes acc-check{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.15);opacity:1}100%{transform:none}}


/* ═══ 1. SIGN IN / CREATE ACCOUNT (#auth) ═══════════════════════════════════════════════════════════════════════ */

/* backdrop: token scrim, 16px gutter on phones; the card scrolls on short screens instead of clipping */
body.door #auth{background:var(--vg-acc-scrim);padding:24px}
body.door #auth .in{padding:32px 24px 24px;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:hidden auto;
  scrollbar-width:thin;scrollbar-color:var(--vg-rule) transparent}
@media (max-width:520px){body.door #auth{padding:16px}body.door #auth .in{max-height:calc(100dvh - 32px);padding:32px 16px 24px}}

/* 8-pt rhythm (door.css had 18 / 6 / 7 / 11 / 14) */
body.door #auth .vbrand{margin:0 0 16px}
body.door #auth h3{margin:0 0 8px;padding-right:40px}                 /* never runs under the X */
body.door #auth p{margin:0 0 8px}
body.door #auth label{display:block;margin:16px 0 8px}
body.door #auth input{box-sizing:border-box;min-height:48px;padding:12px 16px;caret-color:var(--vg-accent)}
body.door #auth input::placeholder{color:var(--vg-faint)}
body.door #auth .dhint{margin-top:8px}
body.door #gsiwrap{margin:16px 0 8px}
body.door #gsiwrap .or{margin:16px 0 0;color:var(--vg-muted);font:500 12px var(--vg-font-body)}
body.door #auth .go{min-height:48px;margin-top:24px}
body.door #auth .alt{display:inline-block;margin-top:16px;padding:4px 0 1px;font:500 13px var(--vg-font-body);background:none;cursor:pointer}

/* Arrive: the card assembles block by block (logo → title → fields → button), ≤400 ms end to end.
   The error card is left out so its one-time shake still plays. */
body.door #auth.on .in>*:not(.err){animation:acc-block .22s var(--vg-spring) backwards}
body.door #auth.on .in>:nth-child(2){animation-delay:30ms}
body.door #auth.on .in>:nth-child(3){animation-delay:60ms}
body.door #auth.on .in>:nth-child(4){animation-delay:90ms}
body.door #auth.on .in>:nth-child(5){animation-delay:110ms}
body.door #auth.on .in>:nth-child(6){animation-delay:130ms}
body.door #auth.on .in>:nth-child(7){animation-delay:150ms}
body.door #auth.on .in>:nth-child(8){animation-delay:160ms}
body.door #auth.on .in>:nth-child(n+9){animation-delay:170ms}
/* switching Sign in ⇄ Create account (account.js toggles .acc-swap): only the words that changed settle in */
body.door #auth .in.acc-swap :is(h3,#authp,.go,#aalt,.dhint){animation:acc-swap .2s ease both}

/* keyboard focus: the same accent outline the rest of the door uses (door.css gives #auth none) */
body.door #auth :is(.go,.alt,.dx):focus-visible{outline:2px solid var(--vg-accent);outline-offset:2px}

/* Autofill: Chrome paints its own yellow/blue fill over the field (it hid the ring). An inset shadow covers the padding box
   only, so the border-box ring still shows around it. */
body.door #auth input:-webkit-autofill,body.door #set .sform input:-webkit-autofill{
  -webkit-text-fill-color:var(--vg-ink);caret-color:var(--vg-accent);-webkit-box-shadow:0 0 0 1000px var(--vg-raise) inset;
  transition:background-color 9999s ease 0s}
body.door #auth .dfield input:-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--vg-raise) inset,0 0 34px var(--vg-accent-soft)}

/* Error card (door.css): token colours so light mode needs no second rule, and 8-pt padding */
body.door #auth .err:not(:empty){margin:16px 0 0;padding:8px 16px 8px 40px;min-height:40px;box-sizing:border-box;display:flex;align-items:center;
  background:var(--vg-acc-bad-soft);border-color:var(--vg-acc-bad-line);color:var(--vg-acc-bad-ink)}
body.door #auth .err:not(:empty)::before{left:12px;background:var(--vg-acc-bad);color:#fff}
body.door #auth .err:empty{min-height:0;margin:0}           /* Evan reserves 18px for it; the gap it left is gone */

/* Inline validation (account.js, sign-up mode only, after you leave a field or press the button).
   .dfield[data-v]: "bad" = a still red line + the hint says what to change; "ok" = a small gold check inside the field. */
body.door #auth .dfield[data-v="bad"] input{border-color:var(--vg-acc-bad-line)}
body.door #auth .dfield[data-v="bad"]:not(:focus-within) input{box-shadow:0 0 0 4px var(--vg-acc-bad-soft)}
body.door #auth .dfield[data-v="ok"] input{padding-right:40px}
body.door #auth .dfield[data-v="ok"]::before{content:"✓";position:absolute;right:12px;top:50%;margin-top:-10px;width:20px;height:20px;border-radius:50%;
  z-index:3;background:var(--vg-acc-ok);color:var(--vg-acc-ok-ink);font:700 12px/20px var(--vg-font-display);text-align:center;pointer-events:none;
  animation:acc-check .28s var(--vg-spring) both}
body.door #auth .dhint{transition:color .2s}
body.door #auth .dhint[data-v="bad"]{color:var(--vg-acc-bad-ink)}
body.door #auth .dhint[data-v="ok"]{color:var(--vg-muted)}
body.door #auth .dhint[data-v="ok"]::before{content:"✓ ";color:var(--vg-accent);font-weight:700}
body.door #auth .acc-uhint[hidden],body.door #auth .acc-caps[hidden]{display:none}
/* Caps Lock warning under the password (account.js): a quiet gold pill, never an error */
body.door #auth .acc-caps{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:4px 8px;border-radius:var(--vg-pill);
  background:var(--vg-accent-soft);color:var(--vg-ink);font:600 12px var(--vg-font-display)}
body.door #auth .acc-caps::before{content:"⇪";color:var(--vg-accent)}


/* ═══ 2. WORKING: busy buttons (account.js sets aria-busy="true" + data-busy="Signing in…" while the request runs) ═══
   The label swaps for "Signing in…", a small brand ring spins at the left, clicks are ignored (no double sign-ups,
   no double saves). The ring only turns while the request is in flight, then everything rests. */
body.door :is(#auth,#set,#panel,#chatlog) :is(.go,.chip)[aria-busy="true"]{position:relative;color:transparent!important;pointer-events:none;cursor:progress;
  transform:none;box-shadow:none}
body.door :is(#auth,#set,#panel,#chatlog) :is(.go,.chip)[aria-busy="true"]::before{content:attr(data-busy);position:absolute;inset:0;display:flex;align-items:center;
  justify-content:center;padding:0 16px 0 40px;opacity:1;background:none;-webkit-mask:none;mask:none;animation:none;
  color:#fff;font:inherit;white-space:nowrap;z-index:3}
body.door :is(#auth,#set,#panel,#chatlog) .chip[aria-busy="true"]::before{color:var(--vg-ink);padding-left:32px}
body.door :is(#auth,#set,#panel,#chatlog) :is(.go,.chip)[aria-busy="true"]::after{content:"";position:absolute;top:50%;left:16px;width:16px;height:16px;margin-top:-8px;
  border-radius:50%;transform:none;z-index:3;
  background:conic-gradient(from var(--vg-ang),var(--vg-gold),var(--vg-red),var(--vg-blue),var(--vg-gold));
  -webkit-mask:radial-gradient(circle,transparent 4.5px,#000 5px);mask:radial-gradient(circle,transparent 4.5px,#000 5px);
  animation:vg-spin 1.1s linear infinite}
body.door :is(#auth,#set,#panel,#chatlog) .chip[aria-busy="true"]::after{left:12px;width:14px;height:14px;margin-top:-7px}
/* no JS: the label still changes nothing, but the button never looks clickable-twice */


/* ═══ 3. SETTINGS / ACCOUNT SHEET (#set) — builds on round 1 (door-panels.css §3) ════════════════════════════════ */

body.door #set{background:var(--vg-acc-scrim)}                        /* light mode: ink veil, not black */
body.door #set .snav{padding:24px 16px}
body.door #set .snav h2,body.door #seth{margin:0 8px 16px}
body.door #set .snav button{padding:8px 16px;min-height:40px}
body.door #set .snav button:hover{padding-left:24px}
body.door #set .sbody{padding:32px 32px 48px}
body.door #set h3{margin:0 0 8px;padding-right:48px}
@media (max-width:820px){
  body.door #set .snav{padding:8px 56px 8px 8px}
  body.door #set .snav button{min-height:32px;padding:4px 16px}
  body.door #set .snav button:hover{padding-left:16px}
  body.door #set .sbody{padding:24px 16px 32px}}

/* Arrive, block by block: each tab's content settles in top to bottom (headline, note, tiles, chart …) */
body.door #set .sbody>*{animation:acc-block .22s var(--vg-spring) backwards}
body.door #set .sbody>:nth-child(2){animation-delay:30ms}
body.door #set .sbody>:nth-child(3){animation-delay:60ms}
body.door #set .sbody>:nth-child(4){animation-delay:90ms}
body.door #set .sbody>:nth-child(5){animation-delay:120ms}
body.door #set .sbody>:nth-child(6){animation-delay:140ms}
body.door #set .sbody>:nth-child(n+7){animation-delay:160ms}
/* cards inside a row stack in one after another */
body.door #set :is(.plcs,.shop,.stiles)>*{animation:acc-block .24s var(--vg-spring) backwards}
body.door #set :is(.plcs,.shop,.stiles)>:nth-child(2){animation-delay:40ms}
body.door #set :is(.plcs,.shop,.stiles)>:nth-child(3){animation-delay:80ms}
body.door #set :is(.plcs,.shop,.stiles)>:nth-child(4){animation-delay:120ms}
body.door #set :is(.plcs,.shop,.stiles)>:nth-child(n+5){animation-delay:160ms}
body.door #set .smeter i{transform-origin:left;animation:vgl-grow .4s cubic-bezier(.2,.8,.2,1) .12s backwards}

/* loading: "Loading your account…" gets Geo's three dots after the octopus (same as the report panel) */
body.door #set .note:has(>.spin)::after{content:"";display:inline-block;width:24px;height:8px;margin-left:8px;vertical-align:middle;
  background:radial-gradient(circle,var(--vg-muted) 2.2px,transparent 2.6px) 0 50%/8px 8px repeat-x;animation:vg-dots 1.2s ease-in-out infinite}

/* forms: same field as sign-in (48px, 16px inset), 8px label gap */
body.door #set .sform{gap:16px;margin-top:24px}
body.door #set .sform label{gap:8px}
body.door #set .sform input,body.door #set .sform textarea{box-sizing:border-box;padding:12px 16px;caret-color:var(--vg-accent)}
body.door #set .sform input{min-height:48px}
body.door #set .srow{gap:8px 16px}
body.door #set .sform .go{min-height:40px;padding:8px 24px}
/* a field you can't change looks it: no fill, dashed line, lock, no focus glow */
body.door #set .sform input:disabled{opacity:1;border-style:dashed;color:var(--vg-muted);cursor:not-allowed;padding-right:40px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa3a6' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") right 16px center no-repeat}
/* inline validation. Email: the browser's own check, shown only after you've typed (:user-invalid). Passwords: account.js */
body.door #set .sform input[data-v="bad"]:not(:focus){border-color:var(--vg-acc-bad-line);box-shadow:0 0 0 4px var(--vg-acc-bad-soft)}
body.door #set .sform input:user-invalid:not(:focus){border-color:var(--vg-acc-bad-line);box-shadow:0 0 0 4px var(--vg-acc-bad-soft)}  /* own rule: older engines drop it alone */
body.door #set .sform label:has(>input:user-invalid:not(:focus))>small{color:var(--vg-acc-bad-ink)}
body.door #set .sform label:has(>input[data-v="bad"])>small{color:var(--vg-acc-bad-ink)}
body.door #set .sform label:has(>input[data-v="ok"])>small::before{content:"✓ ";color:var(--vg-accent);font-weight:700}
body.door #set .sform .acc-live{font:400 12px var(--vg-font-body);letter-spacing:0;text-transform:none}
body.door #set .sform .acc-live[hidden]{display:none}

/* messages: token error card (light-safe), gold success check (a red ✓ in light mode read as an error) */
body.door #set .smsg.bad:not(:empty){padding:8px 16px 8px 40px;background:var(--vg-acc-bad-soft);border-color:var(--vg-acc-bad-line);color:var(--vg-acc-bad-ink)}
body.door #set .smsg.bad:not(:empty)::before{left:12px;background:var(--vg-acc-bad);color:#fff}
body.door #set .smsg.ok:not(:empty){gap:8px;padding:4px 16px 4px 4px;background:var(--vg-raise);border:1px solid var(--vg-rule)}
body.door #set .smsg.ok:not(:empty)::before{content:"✓";display:grid;place-items:center;width:24px;height:24px;border-radius:50%;
  background:var(--vg-acc-ok);color:var(--vg-acc-ok-ink);font:700 12px var(--vg-font-display);animation:acc-check .3s var(--vg-spring) both}

/* Usage: tiles and rows on the 8-pt grid */
body.door #set .stiles{gap:16px;margin:24px 0 16px}
body.door #set .stiles>div{padding:16px}
body.door #set .stiles b{font-variant-numeric:tabular-nums}
body.door #set .smeter{margin:0 0 8px}
body.door #set .urow{padding:8px 0}
body.door #set .adv,body.door #set .unlock{padding:16px;margin-top:24px}

/* Plan: prices are data, so they read in mono ink (they were muted body text next to mono credit counts) */
body.door #set .plcs{gap:16px;margin:24px 0 16px}
body.door #set .plc{padding:24px 16px 16px}
body.door #set .plc .pr{font:500 15px var(--vg-font-mono);color:var(--vg-ink);letter-spacing:-.01em}
body.door #set .plc.cur{border-style:dashed}
body.door #set .plc :is(.go,.chip,button){margin-top:auto;min-height:40px;justify-content:center}
body.door #set .plc button:disabled{min-height:40px}
body.door #set .shop{gap:16px}
body.door #set .packs{gap:8px}
body.door #set .cpack{padding:16px 8px}
/* the bonus line was #8fd19e green: invisible on white and off-palette. Now a gold pill, mono */
body.door #set .cpack .cbonus:not(.none){display:inline-block;margin-top:4px;padding:0 8px;border-radius:var(--vg-pill);background:var(--vg-accent-soft);
  color:var(--vg-ink);font:500 11.5px/20px var(--vg-font-mono)}
/* cost clarity: the price pill reads as the button it is on hover/focus (the whole card starts checkout) */
body.door #set .cpack .cpr{transition:transform .25s var(--vg-spring),box-shadow .2s}
body.door #set .cpack:is(:hover,:focus-visible) .cpr{transform:translateY(-1px);box-shadow:0 8px 20px var(--vg-accent-soft)}
body.door #set .cpack small{font-family:var(--vg-font-mono)}
body.door #set .cpack:focus-visible{outline:2px solid var(--vg-accent);outline-offset:2px}
body.door #set .mcpline{padding:16px}
body.door #set .ctable td{padding:8px 4px}

/* Sign out: the everywhere one is a warning chip (red text, red-soft hover) so it isn't a twin of plain Sign out */
body.door #set .chip[onclick^="signOutAll"]{color:var(--vg-acc-bad-ink);border-color:var(--vg-acc-bad-line)}
body.door #set .chip[onclick^="signOutAll"]:hover{background:var(--vg-acc-bad-soft);color:var(--vg-acc-bad-ink)}


/* ═══ 4. COST AND LOW-CREDIT PROMPTS ═══════════════════════════════════════════════════════════════════════════ */

/* the "Uses 1 custom area · 3 left" line under a tool: a mono cost chip, so you see the price before you click the map */
body.door #toolbox .tcost{display:inline-flex;align-items:center;gap:8px;margin:8px 0 0;padding:4px 8px;border-radius:var(--vg-pill);
  background:var(--vg-raise);border:1px solid var(--vg-rule);color:var(--vg-muted);font:500 12px var(--vg-font-mono)}
body.door #toolbox .tcost::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--vg-gold);flex:none}
/* out of areas (the line then carries a link): a warning card with the way forward */
body.door #toolbox .tcost:has(a){display:flex;border-radius:var(--vg-r-sm);padding:8px 16px 8px 8px;background:var(--vg-acc-bad-soft);border-color:var(--vg-acc-bad-line);
  color:var(--vg-ink);font:500 12.5px/1.4 var(--vg-font-body)}
body.door #toolbox .tcost:has(a)::before{background:var(--vg-acc-bad)}
body.door #toolbox .tcost a{color:var(--vg-ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--vg-accent);text-underline-offset:2px;cursor:pointer}

/* "Keep the conversation going" in the area chat: the spend is in the button label, and the card says it plainly */
body.door :is(#panel,#chatlog) .unlock{display:flex;gap:16px;margin:16px 0;padding:16px;border:1px solid var(--vg-rule);border-radius:var(--vg-r);
  background:var(--vg-raise);background:linear-gradient(100deg,var(--vg-accent-soft),transparent 75%),var(--vg-raise);animation:vg-pop .3s var(--vg-spring) both}
body.door :is(#panel,#chatlog) .unlock b{font:600 14px var(--vg-font-display);color:var(--vg-ink)}
body.door :is(#panel,#chatlog) .unlock p{margin:4px 0 16px;color:var(--vg-muted);font-size:13.5px;line-height:1.5}
body.door :is(#panel,#chatlog) .unlock .ai{width:32px;height:32px;background:var(--vg-accent);color:var(--vg-accent-ink)}
body.door :is(#panel,#chatlog) .unlock .go{border-radius:var(--vg-pill);min-height:40px;padding:8px 24px;font:600 13.5px var(--vg-font-display)}

/* the gates Evan opens in the report window: "Sign in to see …" and "You're out of credits" */
body.door #panel .body:has(>p>.go:is([onclick="openAccount()"],[onclick="openAuth('signup')"])){text-align:center;padding-top:48px;padding-bottom:48px}
body.door #panel .body:has(>p>.go:is([onclick="openAccount()"],[onclick="openAuth('signup')"]))>h1{font:600 24px/1.2 var(--vg-font-display)!important;margin:0 0 8px}  /* inline font-size (!) */
body.door #panel .body:has(>p>.go:is([onclick="openAccount()"],[onclick="openAuth('signup')"])) .tagline{max-width:36ch;margin:0 auto 24px;color:var(--vg-muted)}
body.door #panel .body:has(>p>.go[onclick="openAccount()"])>h1::before{content:"";display:block;width:48px;height:48px;margin:0 auto 16px;border-radius:50%;
  background:conic-gradient(from var(--vg-ang),var(--vg-gold),var(--vg-red),var(--vg-blue),var(--vg-gold));
  -webkit-mask:radial-gradient(circle,transparent 19px,#000 20px);mask:radial-gradient(circle,transparent 19px,#000 20px)}

/* the account button (#sme) says when you're running low (account.js sets data-acc) — one quiet cue, no motion */
body.door #sme[data-acc] .mt small{color:var(--vg-ink)}
body.door #sme[data-acc] .mt small::before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;vertical-align:0;background:var(--vg-gold)}
body.door #sme[data-acc="out"] .mt small::before{background:var(--vg-acc-bad)}
body.door #sme:focus-visible{outline:2px solid var(--vg-accent);outline-offset:2px}


/* ═══ 5. TOASTS in this flow (account.js sets data-tone from the message) ════════════════════════════════════════
   ok    "Signed in as …", "Welcome …", "Saved", "Payment received", "10 more questions unlocked" → gold check, pops
   bad   "Couldn't …", "Checkout is unavailable", "Out of credits" → red "!" and a red-tinted card
   cost  "Used 1 custom area · 3 left" → mono; "low" when 1 or 0 are left → gold edge
   No tone: round 1's card with the spinning ring (unchanged). Toned toasts rest: their icon doesn't spin. */
body.door #toast[data-tone]::before{animation:none;-webkit-mask:none;mask:none;display:inline-grid;place-items:center;width:20px;height:20px;margin:0 8px 0 0;
  vertical-align:-5px;font:700 12px/1 var(--vg-font-display)}
body.door #toast[data-tone="ok"]::before{content:"✓";background:var(--vg-acc-ok);color:var(--vg-acc-ok-ink);animation:acc-check .3s var(--vg-spring) .1s both}
body.door #toast[data-tone="bad"]{border-color:var(--vg-acc-bad-line);background:linear-gradient(var(--vg-acc-bad-soft),var(--vg-acc-bad-soft)),var(--vg-panel)}
body.door #toast[data-tone="bad"]::before{content:"!";background:var(--vg-acc-bad);color:#fff}
body.door #toast[data-tone="bad"] b{color:var(--vg-acc-bad-ink)}
body.door #toast:is([data-tone="cost"],[data-tone="low"])::before{content:"";width:8px;height:8px;margin:0 8px 0 4px;vertical-align:1px;background:var(--vg-gold)}
body.door #toast:is([data-tone="cost"],[data-tone="low"]) b{color:var(--vg-ink)}   /* red numbers in light mode read as errors */
body.door #toast[data-tone="low"]{border-color:var(--vg-gold);box-shadow:var(--vg-shadow),0 0 0 4px var(--vg-accent-soft)}
body.door #toast{padding:8px 16px}


/* ═══ 6. REDUCED MOTION ═══════════════════════════════════════════════════════════════════════════════════════════
   door.css already stops every animation/transition under body.door. These make sure nothing is left mid-pose and the
   busy ring still reads as "working" without turning. */
@media (prefers-reduced-motion:reduce){
  body.door #auth.on .in>*,body.door #set .sbody>*,body.door #set :is(.plcs,.shop,.stiles)>*,body.door #set .smeter i,
  body.door #auth .in.acc-swap :is(h3,#authp,.go,#aalt,.dhint){animation:none;opacity:1;transform:none}
  body.door :is(#auth,#set,#panel,#chatlog) :is(.go,.chip)[aria-busy="true"]::after{animation:none}
  body.door #set .cpack:is(:hover,:focus-visible) .cpr{transform:none}
}
