/* Self-hosted faces, the same files the market and Eclipse pages use (no third-party font origin, no blocking stylesheet). */
@font-face{font-family:'Archivo';src:url(/fonts/archivo.woff2) format('woff2');font-weight:400 700;font-display:swap}
@font-face{font-family:'Sora';src:url(/fonts/sora.woff2) format('woff2');font-weight:500 700;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url(/fonts/plex-mono-400.woff2) format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'IBM Plex Mono';src:url(/fonts/plex-mono-600.woff2) format('woff2');font-weight:500 600;font-display:swap}
/* Account, watchlist and dashboard — Eclipse (v3) design language.
   Tokens are a subset of design_handoff_holohawk/design/tokens-eclipse.css:
   Sora display, Archivo body, Plex Mono for data, violet primary, and the
   foil gradient the design system already owns as --e-foil-1/2/3.

   The foil is the signature. It appears ONCE per view, as a hairline rule
   under the single number that view exists to deliver — never as decoration
   and never as gradient text. Same rule the market pages use. */
:root{
  --void:#05060c; --void-deep:#020307;
  --ink-800:#0b0e1a; --ink-700:#111527; --ink-600:#171c31;
  --fg-1:#f4f6fb; --fg-2:#c6cbdb; --fg-3:#9ca3af; --fg-4:#8b94a3;
  --violet:#a78bfa; --violet-deep:#7c5cf5; --cyan:#67e8f9; --indigo:#818cf8;
  --up:#4ade80; --down:#f87171; --warn:#facc15;
  --line:rgba(255,255,255,.06); --line-2:rgba(255,255,255,.10);
  --e-line:rgba(255,255,255,.12); --e-line-soft:rgba(255,255,255,.07);
  --e-nav-bg:rgba(7,9,14,.9); --e-surface:rgba(8,10,17,.82); --e-surface-2:#080a11;
  --e-rail-bg:#07090e; --e-selection:rgba(125,211,252,.25);
  --e-foil-1:#67e8f9; --e-foil-2:#a78bfa; --e-foil-3:#f0abfc;
  --surface-input:rgba(255,255,255,.03); --surface-hover:rgba(255,255,255,.05);
  --scroll-thumb:rgba(255,255,255,.13); --scroll-thumb-hi:rgba(255,255,255,.22);
  --on-violet:#0b0616; --green:var(--up);
  --t-hi:var(--fg-1); --t-body:var(--fg-2); --t-mute:var(--fg-3); --t-dim:var(--fg-4);
  --hh-display:'Sora',sans-serif; --hh-mono:'IBM Plex Mono',monospace;
  --e-eclipse-fill:radial-gradient(ellipse at 50% 0%, #0b0f19 0%, #05060c 40%);
  --foil:linear-gradient(100deg,var(--e-foil-1) 0%,var(--e-foil-2) 34%,var(--e-foil-3) 62%,var(--e-foil-1) 100%);
  --e-shadow-50:rgba(0,0,0,.5); --e-shadow-45:rgba(0,0,0,.45); --e-shadow-30:rgba(0,0,0,.3);
}
:root[data-theme='light']{
  color-scheme:light;
  --void:#f4f6fa; --void-deep:#e9edf4;
  --ink-800:#f7f9fc; --ink-700:#eef1f7; --ink-600:#e4e8f1;
  --fg-1:#0b0f1a; --fg-2:#2b3444; --fg-3:#4f5a70; --fg-4:#5f6a80;
  --violet:#6d3ff5; --violet-deep:#5b2fe0; --cyan:#0d6f8f; --indigo:#4f46e5;
  --up:#127a3a; --down:#b42318; --warn:#8a5a00;
  --line:rgba(11,15,26,.10); --line-2:rgba(11,15,26,.24);
  --e-line:rgba(11,15,26,.16); --e-line-soft:rgba(11,15,26,.09);
  --e-nav-bg:rgba(244,246,250,.94); --e-surface:rgba(255,255,255,.9); --e-surface-2:#ffffff;
  --e-rail-bg:#eef1f7; --e-selection:rgba(13,111,143,.22);
  --e-foil-1:#0e7490; --e-foil-2:#6d3ff5; --e-foil-3:#a21caf;
  --surface-input:rgba(11,15,26,.03); --surface-hover:rgba(11,15,26,.05);
  --scroll-thumb:rgba(11,15,26,.18); --scroll-thumb-hi:rgba(11,15,26,.3);
  --on-violet:#ffffff; --green:var(--up);
  --e-eclipse-fill:radial-gradient(ellipse at 50% 0%, #dfe5f0 0%, #f4f6fa 40%);
  /* Ink-tinted, a third of the weight (tokens-eclipse.css carries the same). */
  --e-shadow-50:rgba(11,15,26,.14); --e-shadow-45:rgba(11,15,26,.13); --e-shadow-30:rgba(11,15,26,.09);
}

*{box-sizing:border-box}
/* .dash and .au-center set display, which beats the UA's [hidden] rule — without
   this, toggling `el.hidden` on either of them does nothing. */
[hidden]{display:none!important}
html{background:var(--void);scrollbar-color:var(--scroll-thumb) transparent}
body{
  margin:0;min-height:100vh;background:var(--void) var(--e-eclipse-fill) no-repeat;
  color:var(--t-body);font:15px/1.55 Archivo,sans-serif;-webkit-font-smoothing:antialiased;
}
a{color:var(--cyan);text-decoration:none;text-underline-offset:3px}
a:hover{text-decoration:underline}
:where(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:2px solid var(--violet);outline-offset:2px;border-radius:2px;
}
[id]{scroll-margin-top:96px}

/* Surfaces the browser draws for us still belong to the design. */
::selection{background:var(--e-selection);color:var(--t-hi)}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:var(--scroll-thumb);border-radius:99px;border:2px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:var(--scroll-thumb-hi);background-clip:content-box}
.mono{font-family:var(--hh-mono);font-variant-numeric:tabular-nums}

/* Icons are drawn, one stroke weight, sized by the text they sit with. */
.ic{width:16px;height:16px;flex:none;stroke:currentColor;fill:none;stroke-width:1.5;
  stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px}
.ic-sm{width:13px;height:13px;stroke-width:1.7}

/* ── The signature ───────────────────────────────────────────────────────
   Foil hairline under the one number a view exists to deliver. Once per
   view. Never decorative, never as text fill. */
.foil{position:relative;display:inline-block;padding-bottom:9px}
.foil::after{
  content:'';position:absolute;left:1px;right:8%;bottom:0;height:2px;border-radius:2px;
  background:var(--foil);background-size:220% 100%;animation:foil 9s linear infinite;
}
@keyframes foil{to{background-position:220% 0}}
@media (prefers-reduced-motion:reduce){.foil::after{animation:none}}

/* ── Signed-out nav (login / signup / reset) ─────────────────────────── */
.au-nav{
  position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:18px;
  padding:12px clamp(16px,4vw,32px);background:var(--e-nav-bg);
  border-bottom:1px solid var(--e-line-soft);backdrop-filter:blur(12px);
}
.au-nav .brand{font-family:Archivo,sans-serif;font-weight:700;font-size:14px;letter-spacing:.04em;color:var(--t-hi)}
.au-nav .brand svg.mark{vertical-align:-7px;margin-right:8px}
.au-nav .links{display:flex;gap:16px;margin-left:auto;font-weight:500;font-size:13px}
.au-nav .links a{color:var(--t-mute)}
.au-nav .links a[aria-current='page']{color:var(--t-hi)}
.au-nav .links a:hover{color:var(--t-hi);text-decoration:none}

/* ── Product header: the v3 floating pill ────────────────────────────────
   The same capsule the v3 pages carry — fixed, centred, radius-999 — so the
   signed-in area and the marketing shell are unmistakably one product. */
.hh-head{
  position:fixed;top:14px;left:50%;transform:translateX(-50%);z-index:50;width:max-content;
  max-width:calc(100vw - 20px);
  background:var(--e-nav-bg);border:1px solid var(--e-line);border-radius:999px;
  box-shadow:0 12px 40px var(--e-shadow-50);backdrop-filter:blur(12px);
}
.hh-head .in{
  display:flex;align-items:center;gap:clamp(10px,1.6vw,22px);height:52px;
  padding:0 12px 0 20px;overflow-x:auto;scrollbar-width:none;
}
.hh-head .in::-webkit-scrollbar{display:none}
/* the pill floats over content, so the page makes room for it */
body:has(.hh-head){padding-top:80px}
.hh-brand{display:flex;align-items:center;gap:9px;font-weight:700;font-size:14px;letter-spacing:.04em;color:var(--t-hi);flex:none}
.hh-brand:hover{text-decoration:none}
.hh-brand svg.mark{flex:none}
.hh-brand .tag{
  font-family:var(--hh-mono);font-weight:400;font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--t-dim);border-left:1px solid var(--e-line);
  padding-left:9px;margin-left:2px;
}
.hh-mainnav{display:flex;gap:1px;min-width:0;overflow-x:auto;scrollbar-width:none}
.hh-mainnav::-webkit-scrollbar{display:none}
.hh-mainnav a{
  padding:7px 11px;border-radius:8px;font-size:13px;font-weight:500;
  color:var(--t-mute);white-space:nowrap;
}
.hh-mainnav a:hover{background:var(--surface-hover);color:var(--t-hi);text-decoration:none}
.hh-mainnav a[aria-current='page']{color:var(--t-hi);background:var(--surface-hover)}
/* The pill's search field — the market pages' field on Eclipse tokens.
   market-suggest.js binds the suggest dropdown to any form.searchbox. */
.hh-head .hsearch{position:relative;display:flex;align-items:center;flex:none;margin-left:auto}
.hh-head .hsearch input{
  width:190px;height:34px;padding:0 12px 0 32px;border-radius:999px;font:inherit;font-size:14px;
  color:var(--t-hi);background:var(--surface-input);border:1px solid var(--e-line);text-overflow:ellipsis;
  transition:width .22s cubic-bezier(.2,.7,.2,1),border-color .15s;
}
.hh-head .hsearch input::placeholder{color:var(--t-dim);text-overflow:ellipsis}
.hh-head .hsearch input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.hh-head .hsearch input:focus{outline:none;border-color:var(--violet);box-shadow:0 0 0 3px rgba(167,139,250,.35)}
@media(min-width:1160px){.hh-head .hsearch input{width:250px}.hh-head .hsearch input:focus{width:310px}}
.hsearch .go{position:absolute;left:2px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:inline-flex;
  align-items:center;justify-content:center;border:0;border-radius:50%;background:none;color:var(--t-dim);cursor:pointer;padding:0}
.hsearch .go svg{width:15px;height:15px;display:block}
.hsearch input:focus~.go,.hsearch .go:hover{color:var(--t-hi)}
.hh-menu .sheet .hsearch{margin:2px 0 8px}
.hh-menu .sheet .hsearch input{width:100%;height:44px;padding:0 14px 0 38px;border-radius:12px;font:inherit;font-size:16px;
  color:var(--t-hi);background:var(--surface-input);border:1px solid var(--e-line)}
.hh-menu .sheet .hsearch input::placeholder{color:var(--t-dim)}
.hh-menu .sheet .hsearch input:focus{outline:none;border-color:var(--violet);box-shadow:0 0 0 3px rgba(167,139,250,.35)}
.hh-menu .sheet .hsearch .go{left:8px}
.sugg{position:absolute;top:calc(100% + 12px);left:0;right:0;z-index:70;background:var(--e-rail-bg);
  border:1px solid var(--e-line);border-radius:12px;box-shadow:0 18px 50px var(--e-shadow-45);overflow:hidden}
.hh-head>.in>.hsearch .sugg{left:auto;right:0;width:min(440px,calc(100vw - 28px))}
.sugg a{display:flex;align-items:center;gap:10px;padding:10px 14px;font-size:14px;color:var(--t-body)}
.sugg a.on,.sugg a:hover{background:color-mix(in srgb,var(--violet) 12%,transparent);color:var(--t-hi);text-decoration:none}
.sugg .sl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sugg .sk{flex:none;margin-left:auto;font-family:var(--hh-mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--t-dim)}
.sugg a.all{border-top:1px solid var(--e-line);color:var(--violet);font-weight:600}
.sugg a.all .sk{color:var(--violet);opacity:.75}
.hh-head:has(.hsearch input:focus) .in{overflow:visible}
/* Signed-out account slot (login / signup pages): Sign in + Create account. */
.hh-account{display:flex;align-items:center;gap:14px;flex:none}
.hh-auth{flex:none;font-size:13px;font-weight:600;color:var(--t-mute);white-space:nowrap}
/* The one secondary route in the pill: server owners, quieter than the three surfaces. */
.hh-quiet{flex:none;font-size:13px;color:var(--t-mute);white-space:nowrap}
.hh-quiet:hover{color:var(--t-hi);text-decoration:none}
.hh-menu .sheet a.quiet{color:var(--t-mute)}
.hh-auth[aria-current],.hh-auth:hover{color:var(--t-hi);text-decoration:none}
.hh-cta{flex:none;font-size:13px;font-weight:700;white-space:nowrap;color:var(--on-violet);background:var(--violet);padding:8px 15px;border-radius:999px}
.hh-cta:hover{color:var(--on-violet);text-decoration:none;filter:brightness(1.08)}
.hh-menu .sheet a.hi{font-weight:600}
@media(max-width:1000px){.hh-account,.hh-quiet{display:none}}
/* The account slot: your name chip, which opens Account. */
.hh-me{display:inline-flex;align-items:center;gap:8px;flex:none;font-size:13px;font-weight:600;color:var(--t-hi)}
.hh-me:hover{text-decoration:none;color:var(--t-hi)}
.hh-me .nm{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Folded site menu below 780px — the same <details> the market pages carry,
   so the pill behaves identically wherever the reader is. */
.hh-menu{display:none;position:static;flex:none}
.hh-menu summary{list-style:none;display:inline-flex;flex-direction:column;justify-content:center;gap:4px;
  width:44px;height:36px;padding:0 13px;border:1px solid var(--e-line);border-radius:999px;cursor:pointer}
.hh-menu summary::-webkit-details-marker{display:none}
.hh-menu summary span{display:block;height:2px;border-radius:2px;background:var(--t-hi)}
.hh-menu[open] summary{border-color:var(--violet)}
.hh-menu .sheet{position:absolute;top:calc(100% + 8px);left:50%;transform:translateX(-50%);z-index:60;
  width:calc(100vw - 24px);max-width:420px;display:flex;flex-direction:column;padding:8px 16px 12px;
  background:var(--e-rail-bg);border:1px solid var(--e-line);border-radius:14px;box-shadow:0 20px 60px var(--e-shadow-45);font-size:15px}
.hh-menu .sheet a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px;
  border-bottom:1px solid var(--e-line);color:var(--t-hi)}
.hh-menu .sheet a:hover{text-decoration:none}
.hh-menu .sheet a:last-child{border-bottom:0}
.hh-menu .sheet a[aria-current]{font-weight:600}
.hh-menu .sheet a[aria-current]::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--violet);margin-right:4px}
.hh-menu .sheet a[aria-current]::after{content:'You are here';margin-left:auto;font-family:var(--hh-mono);
  font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--violet)}
.hh-head:has(.hh-menu[open]) .in{overflow:visible}
@media(max-width:1160px){.hh-brand .tag{display:none}}
@media(max-width:1000px){.hh-mainnav,.hh-head>.in>.hsearch{display:none}.hh-menu{display:block}.hh-me{margin-left:auto}}
@media(max-width:540px){.hh-me .nm{display:none}}

/* Monogram: identity without an avatar upload we don't have. */
.hh-mono-av{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;flex:none;
  font-family:var(--hh-mono);font-size:11px;font-weight:500;letter-spacing:.02em;
  color:var(--violet);background:color-mix(in srgb,var(--violet) 14%,transparent);
  border:1px solid color-mix(in srgb,var(--violet) 34%,transparent);text-transform:uppercase;
}
.hh-mono-av.lg{width:52px;height:52px;font-size:18px}

/* ── Layout ──────────────────────────────────────────────────────────── */
.au-shell{max-width:960px;margin:0 auto;padding:32px clamp(16px,4vw,32px) 96px}
.au-center{min-height:calc(100vh - 120px);display:grid;place-items:center;padding:32px 16px}
.au-h1{font-family:var(--hh-display);font-weight:600;font-size:clamp(22px,3vw,28px);letter-spacing:-.015em;color:var(--t-hi);margin:0 0 6px;text-wrap:balance}
.au-sub{color:var(--t-mute);font-size:14px;margin:0 0 22px;max-width:68ch}
.au-kicker{font-family:var(--hh-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--violet);margin:0 0 10px}

/* ── Card ────────────────────────────────────────────────────────────── */
.au-card{
  width:100%;max-width:420px;background:var(--e-surface);border:1px solid var(--e-line);
  border-radius:14px;padding:clamp(22px,4vw,32px);box-shadow:0 18px 50px var(--e-shadow-30);
}
.au-panel{background:var(--e-surface);border:1px solid var(--e-line);border-radius:14px;padding:clamp(18px,3vw,26px);margin-bottom:20px}
.au-panel h2{font-family:var(--hh-display);font-weight:600;font-size:16px;color:var(--t-hi);margin:0 0 14px}

/* ── Forms ───────────────────────────────────────────────────────────── */
.au-field{display:block;margin-bottom:14px}
.au-field > span{display:block;font-family:var(--hh-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--t-dim);margin-bottom:6px}
.au-input,.au-select{
  width:100%;height:42px;padding:0 12px;border:1px solid var(--e-line);border-radius:8px;
  background:var(--surface-input);color:var(--t-hi);font:inherit;caret-color:var(--violet);
}
.au-select{appearance:auto}
.au-input::placeholder{color:var(--t-dim)}
.au-input:focus,.au-select:focus{border-color:var(--violet)}
.au-hint{font-size:12px;color:var(--t-dim);margin-top:5px}
.au-hint.ok{color:var(--green)}
.au-err{display:none;background:rgba(248,113,113,.08);border:1px solid rgba(248,113,113,.35);color:var(--down);border-radius:8px;padding:10px 12px;font-size:13px;margin-bottom:14px}
.au-err.show{display:block}
.au-note{display:none;background:rgba(74,222,128,.08);border:1px solid rgba(74,222,128,.3);color:var(--green);border-radius:8px;padding:10px 12px;font-size:13px;margin-bottom:14px}
.au-note.show{display:block}

/* ── Buttons ─────────────────────────────────────────────────────────── */
.au-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;height:42px;padding:0 20px;
  border:0;border-radius:999px;background:var(--violet);color:var(--on-violet);
  font:600 14px Archivo,sans-serif;cursor:pointer;
  transition:background .18s cubic-bezier(.16,1,.3,1),color .18s;
}
.au-btn:hover{background:var(--violet-deep);color:#fff;text-decoration:none}
.au-btn:disabled{opacity:.55;cursor:default}
.au-btn.full{width:100%}
.au-btn.ghost{background:transparent;border:1px solid var(--e-line);color:var(--t-body)}
.au-btn.ghost:hover{background:var(--surface-hover);color:var(--t-hi)}
.au-btn.danger{background:transparent;border:1px solid rgba(248,113,113,.45);color:var(--down)}
.au-btn.danger:hover{background:rgba(248,113,113,.1);color:var(--down)}
.au-btn.small{height:32px;padding:0 14px;font-size:12.5px}
.au-or{display:flex;align-items:center;gap:12px;color:var(--t-dim);font-family:var(--hh-mono);font-size:11px;letter-spacing:.14em;margin:18px 0}
.au-or::before,.au-or::after{content:'';flex:1;height:1px;background:var(--e-line-soft)}

/* ── Banners ─────────────────────────────────────────────────────────── */
.au-banner{display:none;align-items:center;gap:10px;flex-wrap:wrap;border-radius:10px;padding:12px 14px;font-size:13.5px;margin-bottom:18px;border:1px solid}
.au-banner.show{display:flex}
.au-banner.warn{background:rgba(250,204,21,.07);border-color:rgba(250,204,21,.3);color:var(--warn)}
.au-banner.good{background:rgba(74,222,128,.07);border-color:rgba(74,222,128,.3);color:var(--green)}
.au-banner.info{background:color-mix(in srgb,var(--violet) 8%,transparent);border-color:color-mix(in srgb,var(--violet) 32%,transparent);color:var(--t-body)}

/* ── Chips: the shared vocabulary for state and measurement ──────────── */
.chip{
  display:inline-block;font-family:var(--hh-mono);font-size:12px;letter-spacing:.06em;
  color:var(--t-mute);border:1px solid var(--e-line);border-radius:2px;padding:3px 7px;
  font-variant-numeric:tabular-nums;
}
.chip.ok{color:var(--green);border-color:rgba(74,222,128,.35)}
.chip.warn{color:var(--warn);border-color:rgba(250,204,21,.4)}
.chip.bad{color:var(--down);border-color:rgba(248,113,113,.4)}
.chip.key{color:var(--violet);border-color:color-mix(in srgb,var(--violet) 38%,transparent)}

/* ── Watch + alert rows ──────────────────────────────────────────────── */
.watch-row{display:flex;gap:14px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--e-line-soft)}
.watch-row:first-child{border-top:0}
.watch-row .name{color:var(--t-hi);font-weight:600;font-size:14.5px}
.watch-row .meta{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.watch-row .meta span{
  display:inline-block;font-family:var(--hh-mono);font-size:12px;letter-spacing:.06em;color:var(--t-mute);
  border:1px solid var(--e-line);border-radius:2px;padding:3px 7px;font-variant-numeric:tabular-nums;
}
.watch-row .meta .auc{color:var(--warn);border-color:rgba(250,204,21,.4)}
.watch-row .meta .paused{color:var(--warn);border-color:rgba(250,204,21,.4)}
.watch-row .meta .live{color:var(--green);border-color:rgba(74,222,128,.35)}
.watch-row .fired{font-size:12px;color:var(--t-dim);margin-top:6px}
.watch-row .acts{display:flex;gap:8px;align-items:center;flex-shrink:0}

/* Alerts read as a log, so the day is the spine and the time is the anchor. */
.day-head{
  display:flex;align-items:center;gap:12px;margin:26px 0 2px;
  font-family:var(--hh-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--t-dim);
}
.day-head:first-child{margin-top:0}
.day-head::after{content:'';flex:1;height:1px;background:var(--e-line-soft)}
.alert-row{display:flex;gap:14px;align-items:baseline;padding:13px 0;border-top:1px solid var(--e-line-soft)}
.alert-row:first-of-type{border-top:0}
.alert-row .at{font-family:var(--hh-mono);font-size:12px;color:var(--t-dim);font-variant-numeric:tabular-nums;flex:none;width:52px}
.alert-row .body{flex:1;min-width:0}
.alert-row .name{color:var(--t-hi);font-weight:600;font-size:14px}
.alert-row .sub{display:flex;gap:8px;align-items:center;margin-top:5px;flex-wrap:wrap}

/* ── Search results ──────────────────────────────────────────────────── */
.au-results{margin-top:6px;border:1px solid var(--e-line);border-radius:10px;background:var(--e-surface-2);max-height:320px;overflow:auto}
.au-results button{
  display:flex;width:100%;gap:10px;align-items:center;text-align:left;padding:10px 12px;
  background:transparent;border:0;border-top:1px solid var(--e-line-soft);color:var(--t-body);font:inherit;font-size:13.5px;cursor:pointer;
}
.au-results button:first-child{border-top:0}
.au-results button:hover{background:var(--surface-hover);color:var(--t-hi)}
.au-results .kind{flex-shrink:0;font-family:var(--hh-mono);font-size:11px;letter-spacing:.1em;border:1px solid var(--e-line);border-radius:2px;padding:2px 6px;color:var(--t-dim)}
.au-estimate{font-size:13px;color:var(--t-mute);margin-top:10px;min-height:18px}
.au-estimate.hot{color:var(--warn)}

.au-check{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--t-body);margin:6px 0}
.au-check input{accent-color:var(--violet);width:15px;height:15px}
.au-check.off{opacity:.5}
.au-foot{margin-top:18px;font-size:13px;color:var(--t-dim);text-align:center}
/* 13px inline links; the visible text stays, the hit box grows to ~44px */
.au-foot a{position:relative;display:inline-block;padding:12px 4px;margin:-12px -4px}

/* ── Dashboard shell: section rail + content ─────────────────────────── */
/* Second-level navigation is one pattern sitewide: the chip row the market
   pages carry under the pill (2026-09-07). The 196px side rail is gone. */
.dash{display:block;max-width:1280px;margin:0 auto;min-height:calc(100vh - 80px)}
.dash-rail{display:flex;flex-wrap:wrap;align-items:center;gap:7px;padding:16px clamp(16px,4vw,40px) 0}
.dash-tab{
  display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border:1px solid var(--e-line);border-radius:999px;
  background:transparent;color:var(--t-mute);font:500 12.5px Archivo,sans-serif;text-decoration:none;cursor:pointer;
  white-space:nowrap;transition:background .16s,color .16s,border-color .16s;
}
.dash-tab:hover{color:var(--t-hi);background:var(--surface-hover);text-decoration:none}
.dash-tab[aria-current='page']{
  background:color-mix(in srgb,var(--violet) 14%,transparent);border-color:color-mix(in srgb,var(--violet) 40%,transparent);
  color:var(--t-hi);font-weight:600;
}
.dash-tab .ic{color:var(--t-dim);width:14px;height:14px}
.dash-tab[aria-current='page'] .ic{color:var(--violet)}
.dash-tab .n{font-family:var(--hh-mono);font-size:12px;color:var(--t-dim);font-variant-numeric:tabular-nums}
.dash-tab.signout{margin-left:auto;color:var(--t-dim)}
.dash-main{padding:22px clamp(16px,4vw,40px) 96px;min-width:0}

/* The one number, foiled, is the masthead. No supporting tile row: the
   figure and the sentence under it are the whole header. */
.dash-head{margin-bottom:28px}
.dash-figure{
  font-family:var(--hh-display);font-weight:600;font-size:clamp(30px,4.6vw,42px);
  letter-spacing:-.025em;line-height:1;color:var(--t-hi);font-variant-numeric:tabular-nums;
}
.dash-figure .unit{font-size:.45em;font-weight:500;letter-spacing:0;color:var(--t-mute);margin-left:2px}
.dash-say{color:var(--t-mute);font-size:14px;margin:14px 0 0;max-width:64ch}
.dash-say strong{color:var(--t-body);font-weight:600}

/* ── Settings rows ───────────────────────────────────────────────────── */
.ident{display:flex;align-items:center;gap:16px;margin-bottom:6px}
.ident .who{min-width:0}
.ident .nm{font-family:var(--hh-display);font-weight:600;font-size:19px;color:var(--t-hi);line-height:1.2}
.ident .em{font-family:var(--hh-mono);font-size:12.5px;color:var(--t-mute);margin-top:3px;overflow-wrap:anywhere}
.ident-chips{display:flex;gap:6px;flex-wrap:wrap;margin-top:14px}
.set-row{display:flex;gap:14px 18px;align-items:center;flex-wrap:wrap;padding:15px 0;border-top:1px solid var(--e-line-soft)}
.set-row:first-child{border-top:0;padding-top:0}
.set-row .k{flex:none;width:126px;font-family:var(--hh-mono);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--t-dim)}
.set-row .v{flex:1;min-width:180px;color:var(--t-hi);font-size:14px;overflow-wrap:anywhere}
.set-row .v .note{display:block;color:var(--t-mute);font-size:12.5px;margin-top:4px}
.set-row .go{flex:none;margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}

/* Deletion is real and permanent, so it sits at the end, closed, and quiet —
   present for anyone who wants it, never in the way of anyone who doesn't. */
/* Scoped name on purpose: a bare `.danger` collides with the .au-btn.danger
   button modifier and silently pushes every Delete button down 36px. */
.danger-zone{margin-top:36px;border-top:1px solid var(--e-line-soft);padding-top:20px}
.danger-zone summary{
  display:flex;align-items:center;gap:9px;cursor:pointer;color:var(--t-dim);
  font-size:13.5px;font-weight:500;list-style:none;width:fit-content;
}
.danger-zone summary::-webkit-details-marker{display:none}
.danger-zone summary:hover{color:var(--down)}
.danger-zone summary .ic{transition:transform .2s cubic-bezier(.16,1,.3,1)}
.danger-zone[open] summary{color:var(--down);margin-bottom:14px}
.danger-zone[open] summary .ic{transform:rotate(90deg)}
.danger-zone .inner{max-width:60ch}

/* Erasure receipt — the only record the user gets that deletion happened */
.au-done-list{list-style:none;margin:16px 0 0;padding:0;font-size:13.5px}
.au-done-list li{display:flex;gap:9px;align-items:flex-start;padding:6px 0;color:var(--t-body)}
.au-done-list li .ic{color:var(--green);margin-top:3px}

/* ── Empty states ────────────────────────────────────────────────────── */
.empty-state{padding:34px 0 8px;max-width:52ch}
.empty-state h3{font-family:var(--hh-display);font-weight:600;font-size:16px;color:var(--t-hi);margin:0 0 7px}
.empty-state p{color:var(--t-mute);font-size:13.5px;margin:0 0 16px}

/* ── Motion: one authored moment, on arriving at a view ──────────────── */
@media (prefers-reduced-motion:no-preference){
  .dash-pane:not([hidden]){animation:paneIn .44s cubic-bezier(.16,1,.3,1) both}
  @keyframes paneIn{
    from{opacity:.5;transform:translateY(7px);filter:blur(4px)}
    to{opacity:1;transform:none;filter:blur(0)}
  }
}

@media (max-width:900px){
  .dash{min-height:0}
  .set-row .k{width:100%}
  .set-row .v{min-width:0}
}
@media (max-width:640px){
  .dash-tab{padding:10px 14px;font-size:13px}
  .dash-tab .n{display:none}
  .hh-head .in{gap:10px;padding:0 12px 0 14px}
}


/* Mobile: 16px inputs (no iOS focus zoom), ≥44px controls, label floor 11.5px. */
@media(max-width:640px){
  input,select,textarea{font-size:16px}
  .au-btn{min-height:44px}
  .au-field>span{font-size:12px}
}

/* Theme toggle: the LIGHT / DARK pill the v3 nav and the market pages carry.
   The label is CSS, so it is right on the first paint with no script. */
.hh-theme{flex:none;display:inline-flex;align-items:center;height:32px;padding:0 12px;border:1px solid var(--e-line);border-radius:999px;
background:transparent;color:var(--t-mute);font-family:var(--hh-mono);font-size:11px;letter-spacing:.12em;cursor:pointer}
.hh-theme:hover{color:var(--t-hi);border-color:var(--t-hi)}
.hh-theme::after{content:'LIGHT'}
:root[data-theme='light'] .hh-theme::after{content:'DARK'}
.sheet-theme{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin-top:4px;padding:10px 4px;
background:transparent;border:0;border-top:1px solid var(--e-line-soft);font:inherit;color:var(--t-hi);cursor:pointer;text-align:left}
.sheet-theme .k{font-family:var(--hh-mono);font-size:11px;letter-spacing:.12em;color:var(--t-mute)}
.sheet-theme .k::after{content:'LIGHT'}
:root[data-theme='light'] .sheet-theme .k::after{content:'DARK'}
