/* =============================================================
   Hiring Checker — design system + application styles
   Dark-first. Magenta / violet. Light theme is a selected set,
   not an automatic inversion. Chart colours are validated for
   CVD separation and surface contrast in BOTH modes.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: dark;

  /* surfaces */
  --bg:          #0C0512;
  --bg-2:        #120720;
  --surface-1:   #1B0D26;
  --surface-2:   #241033;
  --surface-3:   #301645;
  --surface-inv: #F6F1FB;
  --line:        rgba(255,255,255,.085);
  --line-2:      rgba(255,255,255,.16);
  --overlay:     rgba(6,2,10,.72);

  /* ink */
  --ink:    #F7F2FC;
  --ink-2:  #C9BAD9;
  --ink-3:  #9585A8;
  --ink-on-brand: #1A0326;

  /* brand (decorative only — never encodes data) */
  --brand:        #C05CF0;
  --brand-2:      #E661C6;
  --brand-strong: #8B5CF6;
  --brand-grad:   linear-gradient(135deg, #7C4DF0 0%, #B44BE8 48%, #EE5BB8 100%);
  --brand-glow:   0 0 0 1px rgba(192,92,240,.35), 0 10px 40px -12px rgba(192,92,240,.55);
  --brand-tint:   rgba(192,92,240,.12);

  /* data — categorical (fixed order, never cycled) */
  --s1: #9A7AF0;  /* violet  */
  --s2: #1795A4;  /* aqua    */
  --s3: #DA5386;  /* pink    */
  /* data — status (reserved; always shipped with icon + label) */
  --good: #1E9E6A;
  --warn: #B87414;
  --bad:  #D6465F;
  --neutral: #6C5B80;
  /* data — ordinal violet ramp, light → dark */
  --o1: #C2A3F8; --o2: #A57BF2; --o3: #8A5DE0; --o4: #7245C7; --o5: #5C33A6;
  --grid: rgba(255,255,255,.07);

  /* geometry */
  --r-sm: 8px; --r: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px;
  --maxw: 1240px;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 8px 28px -10px rgba(0,0,0,.65);
  --shadow-3: 0 24px 60px -20px rgba(0,0,0,.8);
  --header-h: 62px;

  /* motion */
  --e-out: cubic-bezier(.22,1,.36,1);
  --e-in-out: cubic-bezier(.65,0,.35,1);
  --t-fast: 120ms; --t: 200ms; --t-slow: 380ms;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg:        #F7F2FC;
  --bg-2:      #FFFFFF;
  --surface-1: #FFFFFF;
  --surface-2: #FBF7FE;
  --surface-3: #F2E9FB;
  --surface-inv: #1B0D26;
  --line:      rgba(28,10,45,.10);
  --line-2:    rgba(28,10,45,.20);
  --overlay:   rgba(28,10,45,.42);
  --ink:   #1B0B29;
  --ink-2: #4E3C60;
  --ink-3: #75658A;
  --brand: #8B31C9; --brand-2: #C2298F; --brand-strong: #6D46D6;
  --brand-tint: rgba(139,49,201,.10);
  --brand-glow: 0 0 0 1px rgba(139,49,201,.22), 0 10px 34px -14px rgba(139,49,201,.45);
  --s1: #6D46D6; --s2: #0088A0; --s3: #C23A6E;
  --good: #0F7A50; --warn: #9A5F0C; --bad: #B3253C; --neutral: #6E6280;
  --o1: #B49BEF; --o2: #9878E6; --o3: #7C56DA; --o4: #6134BE; --o5: #472394;
  --grid: rgba(28,10,45,.09);
  --shadow-2: 0 8px 28px -12px rgba(43,16,68,.22);
  --shadow-3: 0 24px 60px -22px rgba(43,16,68,.28);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  font-size: 15px; line-height: 1.55; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* ambient brand wash */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(139,92,246,.16), transparent 62%),
    radial-gradient(760px 500px at 92% 4%, rgba(230,97,198,.13), transparent 60%);
}
:root[data-theme="light"] body::before {
  background:
    radial-gradient(900px 520px at 12% -8%, rgba(139,92,246,.14), transparent 62%),
    radial-gradient(760px 500px at 92% 4%, rgba(230,97,198,.10), transparent 60%);
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1,h2,h3,h4 { margin: 0; font-weight: 640; letter-spacing: -0.028em; line-height: 1.15; }
h1 { font-size: clamp(30px, 5.2vw, 54px); }
h2 { font-size: clamp(21px, 2.9vw, 30px); }
h3 { font-size: clamp(16px, 2vw, 19px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code, kbd, .mono { font-family: var(--mono); font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-5) 0; }

::selection { background: rgba(192,92,240,.35); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.skip { position:absolute; left:-9999px; top:8px; z-index:200; background:var(--surface-2); padding:10px 16px; border-radius:var(--r); border:1px solid var(--line-2); }
.skip:focus { left:12px; }

/* scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 3px solid transparent; background-clip: content-box; }

/* ---------- 3. Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); position: relative; z-index: 1; }
.stack > * + * { margin-top: var(--sp-4); }
.row { display: flex; align-items: center; gap: var(--sp-3); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; }
.grid { display: grid; gap: var(--sp-4); }
.grid > * { min-width: 0; }
.row > *, .row-between > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.g-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.section { padding-block: clamp(40px, 7vw, 76px); }
.section-tight { padding-block: clamp(28px, 4vw, 44px); }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
.tiny { font-size: 12.5px; }
.small { font-size: 13.5px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.spacer { flex: 1 1 auto; }
.mt-0{margin-top:0}.mt-2{margin-top:var(--sp-2)}.mt-3{margin-top:var(--sp-3)}.mt-4{margin-top:var(--sp-4)}.mt-5{margin-top:var(--sp-5)}.mt-6{margin-top:var(--sp-6)}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:var(--sp-2)}.mb-3{margin-bottom:var(--sp-3)}.mb-4{margin-bottom:var(--sp-4)}.mb-5{margin-bottom:var(--sp-5)}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 620;
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand-2);
}
:root[data-theme="light"] .eyebrow { color: var(--brand); }
.lede { font-size: clamp(15.5px, 1.7vw, 18.5px); color: var(--ink-2); max-width: 68ch; line-height: 1.62; }

/* ---------- 4. Header / nav ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60; height: var(--header-h);
  backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid transparent; transition: border-color var(--t), background var(--t);
}
.hdr.scrolled { border-bottom-color: var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.hdr-in { height: var(--header-h); display: flex; align-items: center; gap: var(--sp-4); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -.03em; font-size: 16.5px; flex: 0 0 auto; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 9px; background: var(--brand-grad);
  display: grid; place-items: center; box-shadow: var(--brand-glow); flex: 0 0 auto;
}
.brand .mark svg { color: #fff; }
.brand em { font-style: normal; color: var(--ink-3); font-weight: 500; }
.nav { display: flex; gap: 2px; margin-left: var(--sp-4); }
.nav a {
  padding: 8px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 520; color: var(--ink-2);
  transition: color var(--t-fast), background var(--t-fast); white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav a.active { color: var(--ink); background: var(--brand-tint); box-shadow: inset 0 0 0 1px rgba(192,92,240,.28); }
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-2); }
.burger { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
}

/* mobile nav sheet */
.sheet {
  position: fixed; inset: 0; z-index: 90; display: none;
}
.sheet[open] { display: block; }
.sheet-bd { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(4px); animation: fade var(--t) var(--e-out); }
.sheet-panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 86vw);
  background: var(--surface-1); border-left: 1px solid var(--line); padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-2); overflow-y: auto;
  animation: slideIn var(--t-slow) var(--e-out);
}
.sheet-panel a { padding: 13px 14px; border-radius: var(--r); font-weight: 540; display: flex; align-items: center; gap: 10px; }
.sheet-panel a:hover, .sheet-panel a.active { background: var(--surface-3); }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* bottom tab bar (small screens) */
.tabbar { display: none; }
@media (max-width: 720px) {
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(18px);
    border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: var(--r);
    font-size: 10.5px; font-weight: 560; color: var(--ink-3); letter-spacing: -.01em;
  }
  .tabbar a.active { color: var(--brand-2); }
  .tabbar a.active .ico { transform: translateY(-1px); }
  main { padding-bottom: 74px; }
}

/* ---------- 5. Buttons & controls ---------- */
.btn {
  --btn-bg: var(--surface-2); --btn-fg: var(--ink); --btn-bd: var(--line-2);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--r-pill); border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg); font-weight: 570; font-size: 14px;
  cursor: pointer; white-space: nowrap; user-select: none;
  transition: transform var(--t-fast) var(--e-out), background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
  min-height: 40px;
}
.btn:hover { background: var(--surface-3); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-primary { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--brand-glow); }
.btn-primary:hover { background: var(--brand-grad); filter: brightness(1.07); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-outline { background: transparent; }
.btn-sm { padding: 6px 12px; font-size: 13px; min-height: 32px; }
.btn-lg { padding: 13px 24px; font-size: 15.5px; min-height: 48px; }
.btn-icon { padding: 0; width: 40px; height: 40px; }
.btn-block { width: 100%; }

.input, .select, .textarea {
  width: 100%; padding: 10px 13px; border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--line-2); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  min-height: 42px;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(192,92,240,.18); }
.textarea { min-height: 118px; resize: vertical; line-height: 1.6; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field { display: grid; gap: 6px; }
.field > label { font-size: 12.5px; font-weight: 580; color: var(--ink-2); letter-spacing: .01em; }
.search-wrap { position: relative; flex: 1 1 240px; }
.search-wrap .ico { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search-wrap .input { padding-left: 40px; }

/* segmented control */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); overflow-x: auto; max-width: 100%; }
.seg button {
  border: 0; background: transparent; color: var(--ink-2); padding: 7px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 560; cursor: pointer; white-space: nowrap; transition: all var(--t-fast);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--surface-inv); color: var(--bg); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--surface-2); font-size: 12.5px; font-weight: 540; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast); min-height: 32px;
}
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--brand-tint); border-color: var(--brand); color: var(--ink); }
.chip.static { cursor: default; }
.chip.static:hover { border-color: var(--line-2); color: var(--ink-2); }

/* toggle */
.switch { position: relative; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch span { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--surface-3); border: 1px solid var(--line-2); transition: background var(--t); pointer-events: none; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-2); transition: transform var(--t) var(--e-out), background var(--t); }
.switch input:checked + span { background: var(--brand-grad); border-color: transparent; }
.switch input:checked + span::after { transform: translateX(18px); background: #fff; }

/* ---------- 6. Cards & surfaces ---------- */
.card {
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--sp-5); position: relative; transition: border-color var(--t), transform var(--t) var(--e-out), box-shadow var(--t);
}
.card-hover:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card-flush { padding: 0; overflow: hidden; }
.card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--brand-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5;
}
.panel { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r); padding: var(--sp-4); }
.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.card-title { font-size: 15px; font-weight: 620; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.card-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }

/* ---------- 7. Badges, pills, grades ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 620; letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap;
}
.badge-good { color: var(--good); background: color-mix(in srgb, var(--good) 15%, transparent); border-color: color-mix(in srgb, var(--good) 32%, transparent); }
.badge-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); border-color: color-mix(in srgb, var(--warn) 34%, transparent); }
.badge-bad  { color: var(--bad);  background: color-mix(in srgb, var(--bad) 15%, transparent);  border-color: color-mix(in srgb, var(--bad) 32%, transparent); }
.badge-neutral { color: var(--ink-2); background: var(--surface-3); border-color: var(--line-2); }
.badge-brand { color: var(--brand-2); background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 35%, transparent); }
:root[data-theme="light"] .badge-brand { color: var(--brand); }

.grade {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px;
  font-weight: 720; font-size: 17px; letter-spacing: -.04em; flex: 0 0 auto; border: 1px solid;
}
.grade-good { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); border-color: color-mix(in srgb, var(--good) 30%, transparent); }
.grade-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 15%, transparent); border-color: color-mix(in srgb, var(--warn) 32%, transparent); }
.grade-bad  { color: var(--bad);  background: color-mix(in srgb, var(--bad) 14%, transparent);  border-color: color-mix(in srgb, var(--bad) 30%, transparent); }
.grade-sm { width: 34px; height: 34px; border-radius: 10px; font-size: 13.5px; }

.avatar {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 680; font-size: 14px; letter-spacing: -.02em; flex: 0 0 auto; color: #fff;
  background: linear-gradient(140deg, hsl(var(--h) 70% 46%), hsl(calc(var(--h) + 34) 74% 56%));
}
.avatar-sm { width: 32px; height: 32px; border-radius: 9px; font-size: 11.5px; }
.avatar-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 22px; }

.ico { flex: 0 0 auto; vertical-align: -.16em; transition: transform var(--t-fast); }

/* ---------- 8. Stat tiles ---------- */
.stat {
  background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 4px; position: relative; overflow: hidden;
  transition: border-color var(--t), transform var(--t) var(--e-out);
}
.stat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.stat .k { font-size: 12px; font-weight: 580; color: var(--ink-3); letter-spacing: .02em; display: flex; align-items: center; gap: 6px; }
.stat .v { font-size: clamp(26px, 3.4vw, 34px); font-weight: 680; letter-spacing: -.038em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .v small { font-size: .5em; font-weight: 560; color: var(--ink-3); letter-spacing: -.01em; margin-left: 3px; }
.stat .d { font-size: 12.5px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.stat .spark { position: absolute; right: 0; bottom: 0; left: 0; height: 34px; opacity: .5; pointer-events: none; }
.delta-good { color: var(--good); font-weight: 600; }
.delta-bad  { color: var(--bad);  font-weight: 600; }

/* ---------- 9. Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface-1); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 640px; }
table.tbl th, table.tbl td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.tbl thead th {
  position: sticky; top: 0; z-index: 2; background: var(--surface-2); font-size: 11.5px; font-weight: 620;
  letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; cursor: pointer; user-select: none;
}
table.tbl thead th:hover { color: var(--ink); }
table.tbl thead th[aria-sort] { color: var(--ink); }
table.tbl thead th .ico { opacity: .55; }
table.tbl tbody tr { transition: background var(--t-fast); cursor: pointer; }
table.tbl tbody tr:hover { background: var(--surface-2); }
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.tbl th.num { text-align: right; }
.rank { font-variant-numeric: tabular-nums; font-weight: 680; color: var(--ink-3); width: 34px; }
.rank-1 { color: #E9B949; } .rank-2 { color: #B8B8C4; } .rank-3 { color: #C98A5E; }

/* ---------- 10. Charts ---------- */
.chart { width: 100%; display: block; overflow: visible; }
.chart text { font-family: var(--font); font-size: 11px; fill: var(--ink-3); }
.chart .axis-label { font-size: 10.5px; fill: var(--ink-3); }
.chart .grid-line { stroke: var(--grid); stroke-width: 1; }
.chart .axis-line { stroke: var(--line-2); stroke-width: 1; }
.chart .val-label { fill: var(--ink-2); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.chart .mark-line { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chart .dot { stroke: var(--surface-1); stroke-width: 2; }
.chart .hit { fill: transparent; cursor: crosshair; }
.chart .crosshair { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 3; opacity: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12.5px; color: var(--ink-2); }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 6px; vertical-align: -1px; }
.legend .lg-line { width: 14px; height: 2px; border-radius: 2px; }
.tip {
  position: fixed; z-index: 120; pointer-events: none; opacity: 0; transform: translate(-50%, -118%);
  background: var(--surface-3); color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 9px 12px; font-size: 12.5px; box-shadow: var(--shadow-3); transition: opacity var(--t-fast); max-width: 260px; line-height: 1.5;
}
.tip.on { opacity: 1; }
.tip b { font-weight: 640; }
.tip .tr { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 3px; }
.tip .sw { width: 9px; height: 9px; border-radius: 2px; display: inline-block; margin-right: 6px; }
.tip .num { font-variant-numeric: tabular-nums; font-weight: 620; }

.bar-track { height: 8px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.bar-fill { height: 100%; border-radius: var(--r-pill); background: var(--brand-grad); transition: width var(--t-slow) var(--e-out); }

/* pillar meter */
.meter { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
.meter .mlabel { font-size: 13px; font-weight: 540; display: flex; align-items: center; gap: 7px; }
.meter .mval { font-size: 13px; font-weight: 640; font-variant-numeric: tabular-nums; }
.meter .mtrack { grid-column: 1 / -1; height: 7px; border-radius: var(--r-pill); background: var(--surface-3); overflow: hidden; }
.meter .mfill { height: 100%; border-radius: var(--r-pill); transition: width 700ms var(--e-out); }

/* ---------- 11. Timeline (the tap tracker) ---------- */
.tl { position: relative; padding-left: 26px; }
.tl::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 16px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: -22px; top: 4px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--surface-1); border: 2px solid var(--neutral);
}
.tl-item[data-tone="good"]::before { border-color: var(--good); background: color-mix(in srgb, var(--good) 30%, var(--surface-1)); }
.tl-item[data-tone="bad"]::before  { border-color: var(--bad);  background: color-mix(in srgb, var(--bad) 30%, var(--surface-1)); }
.tl-item[data-tone="warn"]::before { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 30%, var(--surface-1)); }
.tl-item .tl-h { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tl-item .tl-t { font-weight: 580; font-size: 13.8px; }
.tl-item .tl-d { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tl-item .tl-n { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }

/* horizontal stage rail on the application card */
.rail { display: flex; align-items: center; gap: 0; overflow-x: auto; padding: 2px 0 6px; max-width: 620px; }
.rail-node { display: grid; justify-items: center; gap: 5px; min-width: 62px; flex: 0 0 auto; text-align: center; }
.rail-dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-3); border: 1.5px solid var(--line-2); color: var(--ink-3);
}
.rail-node[data-on="1"] .rail-dot { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-2); }
.rail-node[data-tone="good"] .rail-dot { border-color: var(--good); background: color-mix(in srgb, var(--good) 16%, transparent); color: var(--good); }
.rail-node[data-tone="bad"]  .rail-dot { border-color: var(--bad);  background: color-mix(in srgb, var(--bad) 16%, transparent);  color: var(--bad); }
.rail-node[data-tone="warn"] .rail-dot { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.rail-node .rail-l { font-size: 10.5px; color: var(--ink-3); font-weight: 540; line-height: 1.2; }
.rail-node[data-on="1"] .rail-l { color: var(--ink-2); }
.rail-link { height: 2px; flex: 1 1 14px; min-width: 14px; background: var(--line); margin-top: -19px; border-radius: 2px; }
.rail-link[data-on="1"] { background: color-mix(in srgb, var(--brand) 55%, transparent); }

/* big tap buttons */
.taps { display: grid; grid-template-columns: repeat(auto-fit, minmax(108px, 1fr)); gap: 8px; }
.tap {
  display: grid; justify-items: center; gap: 6px; padding: 13px 8px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; font-size: 12.2px; font-weight: 580;
  transition: all var(--t-fast) var(--e-out); text-align: center; line-height: 1.25; min-height: 74px; color: var(--ink-2);
}
.tap:hover { transform: translateY(-2px); border-color: var(--brand); color: var(--ink); background: var(--surface-3); }
.tap:active { transform: scale(.96); }
.tap[data-tone="good"]:hover { border-color: var(--good); }
.tap[data-tone="bad"]:hover  { border-color: var(--bad); }
.tap .ico { color: inherit; }

/* ---------- 12. Modal / dialog ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal[open] { display: flex; }
.modal-bd { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(6px); animation: fade var(--t) var(--e-out); }
.modal-panel {
  position: relative; width: min(560px, 100%); max-height: min(88vh, 900px); overflow-y: auto;
  background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: var(--sp-6); box-shadow: var(--shadow-3); animation: pop var(--t-slow) var(--e-out);
}
.modal-panel.wide { width: min(880px, 100%); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.975); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 14px; right: 14px; }
@media (max-width: 560px) {
  .modal { align-items: flex-end; padding: 0; }
  .modal-panel { border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92vh; padding: var(--sp-5) var(--sp-4) calc(var(--sp-5) + env(safe-area-inset-bottom)); animation: sheetUp var(--t-slow) var(--e-out); }
  @keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
}

/* ---------- 13. Toasts ---------- */
.toasts { position: fixed; z-index: 130; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100vw - 24px)); }
@media (max-width: 720px) { .toasts { bottom: 84px; } }
.toast {
  background: var(--surface-3); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 12px 15px; font-size: 13.5px; box-shadow: var(--shadow-3); display: flex; align-items: center; gap: 10px;
  animation: toastIn var(--t-slow) var(--e-out);
}
.toast.good { border-color: color-mix(in srgb, var(--good) 45%, transparent); }
.toast .ico { color: var(--good); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 14. Hero ---------- */
.hero { padding-block: clamp(44px, 8vw, 92px) clamp(28px, 4vw, 44px); }
.hero h1 { max-width: 20ch; }
.hero h1 .gr {
  background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--sp-5); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.ticker { display: flex; gap: 8px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 8px; animation: scroll 46s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 15. Misc components ---------- */
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: 13.5px; align-items: baseline; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 540; text-align: right; font-variant-numeric: tabular-nums; }

.note {
  display: flex; gap: 11px; padding: 13px 15px; border-radius: var(--r); font-size: 13.2px; line-height: 1.55;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
}
.note .ico { margin-top: 2px; color: var(--brand-2); }
.note-warn { border-color: color-mix(in srgb, var(--warn) 34%, transparent); background: color-mix(in srgb, var(--warn) 8%, var(--surface-2)); }
.note-warn .ico { color: var(--warn); }
.note-good { border-color: color-mix(in srgb, var(--good) 34%, transparent); background: color-mix(in srgb, var(--good) 8%, var(--surface-2)); }
.note-good .ico { color: var(--good); }

.acc { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface-1); }
.acc + .acc { margin-top: 8px; }
.acc summary { padding: 15px 18px; cursor: pointer; font-weight: 580; font-size: 14.5px; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--t) var(--e-out); flex: 0 0 auto; margin-right: 3px; }
.acc[open] summary::after { transform: rotate(-135deg); }
.acc summary:hover { background: var(--surface-2); }
.acc .acc-body { padding: 0 18px 18px; color: var(--ink-2); font-size: 13.8px; line-height: 1.65; }

pre.code {
  max-width: 100%;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 15px 17px;
  overflow-x: auto; font-family: var(--mono); font-size: 12.4px; line-height: 1.62; color: var(--ink-2); margin: 0;
}
pre.code .k { color: var(--s1); } pre.code .s { color: var(--s2); } pre.code .n { color: var(--s3); } pre.code .c { color: var(--ink-3); font-style: italic; }

.prose { max-width: 74ch; }
.prose h2 { margin-top: var(--sp-7); margin-bottom: var(--sp-3); }
.prose h3 { margin-top: var(--sp-5); margin-bottom: var(--sp-2); }
.prose p, .prose li { color: var(--ink-2); line-height: 1.72; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li + li { margin-top: 6px; }
.prose strong { color: var(--ink); font-weight: 620; }

.empty { display: grid; justify-items: center; gap: 10px; padding: 52px 20px; text-align: center; color: var(--ink-3); }
.empty .ico { color: var(--ink-3); opacity: .6; }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r); }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* view transitions */
main { min-height: 60vh; }
.view-enter { animation: viewIn 320ms var(--e-out); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* demo banner */
.demobar {
  background: color-mix(in srgb, var(--warn) 12%, var(--bg)); border-bottom: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
  font-size: 12.4px; color: var(--ink-2); padding: 7px 0;
}
.demobar .ico { color: var(--warn); }
.demobar .wrap { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.only-sm { display: none; }
@media (max-width: 720px) {
  .hide-sm { display: none; }
  .only-sm { display: inline; }
  .demobar { font-size: 11.8px; padding: 6px 0; }
}

/* footer */
.ftr { border-top: 1px solid var(--line); margin-top: var(--sp-8); padding-block: var(--sp-6) var(--sp-7); background: var(--bg-2); }
.ftr-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 760px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
.ftr h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 12px; font-weight: 620; }
.ftr a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--ink-2); }
.ftr a:hover { color: var(--ink); }

/* =============================================================
   10. v1.0 — identity, auth, account & security surfaces
   ============================================================= */

/* boot skeleton + noscript */
.boot { padding-top: 120px; }
body.ready .boot { display: none; }
.noscript { max-width: 660px; margin: 80px auto; padding: 0 24px; }
.noscript h1 { font-size: 34px; margin-bottom: 12px; }
.noscript p { color: var(--ink-2); font-size: 15px; }

/* brand marks at other sizes */
.brand-link { flex: 0 0 auto; border-radius: var(--r); }
.brand-link:hover .mark { transform: translateY(-1px); }
.brand .mark { transition: transform var(--t) var(--e-out); }
.mark-lg, .mark-xl, .mark-soft {
  display: grid; place-items: center; flex: 0 0 auto; color: #fff;
  background: var(--brand-grad); box-shadow: var(--brand-glow);
}
.mark-lg { width: 40px; height: 40px; border-radius: 12px; }
.mark-xl { width: 62px; height: 62px; border-radius: 19px; }
.mark-soft {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand-tint); color: var(--brand-2); box-shadow: none;
}

/* sub-hero used by account / security / static pages */
.hero-sm { padding-block: clamp(34px, 6vw, 66px) clamp(14px, 2vw, 22px); }
.hero-sm h1 { font-size: clamp(30px, 4.4vw, 44px); max-width: 22ch; }
.hero-sm h1 .gr { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* footer base line */
.ftr-base {
  display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap;
  margin-top: var(--sp-6); padding-top: 20px; border-top: 1px solid var(--line);
}
.ftr-base a { display: inline; text-decoration: underline; text-underline-offset: 2px; }
.brand-foot .brand { font-size: 15.5px; }

/* buttons: destructive + spinner + avatar trigger */
.btn-danger {
  background: color-mix(in srgb, var(--bad) 16%, var(--surface-2));
  border-color: color-mix(in srgb, var(--bad) 42%, transparent); color: var(--bad); font-weight: 600;
}
.btn-danger:hover:not(:disabled) { background: color-mix(in srgb, var(--bad) 26%, var(--surface-2)); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.spin {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin 620ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.avatar-btn { padding: 3px; border-radius: var(--r-pill); }
.avatar-ghost { opacity: .7; box-shadow: inset 0 0 0 1px var(--line-2); }
.ml-2 { margin-left: 8px; }
.hide-xs { display: inline; }
@media (max-width: 374px) { .hide-xs { display: none; } }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 920px) { .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cols-3 { grid-template-columns: 1fr; } }

/* auth dialog */
.auth h3 { font-size: 19px; }
.seg-block { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.seg-block button { width: 100%; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 12px; }
.or::before, .or::after { content: ''; height: 1px; flex: 1; background: var(--line); }

/* sign-up progress */
.steps { list-style: none; margin: 0 0 var(--sp-4); padding: 0; display: flex; gap: 6px; }
.steps li { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; color: var(--ink-3); font-size: 11.5px; }
.steps .dot {
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-size: 10.5px; font-weight: 640; background: var(--surface-3); color: var(--ink-3);
  border: 1px solid var(--line); transition: background var(--t), color var(--t);
}
.steps li.now .dot { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--brand-glow); }
.steps li.now { color: var(--ink); font-weight: 580; }
.steps li.done .dot { background: color-mix(in srgb, var(--good) 22%, var(--surface-2)); color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.steps .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 460px) { .steps .lbl { display: none; } .steps li { flex: 0 0 auto; } }

/* region picker */
.picklist { display: grid; gap: 8px; }
.pickcard {
  display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 13px; cursor: pointer;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2);
  color: var(--ink-2); transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
  min-height: 52px; width: 100%;
}
.pickcard b {
  font-size: 11px; letter-spacing: .08em; color: var(--ink-3); flex: 0 0 auto;
  width: 34px; height: 26px; display: grid; place-items: center; border-radius: 7px;
  background: var(--surface-3); border: 1px solid var(--line);
}
.pickmeta { display: grid; gap: 1px; min-width: 0; }
.pickmeta > span:first-child { font-weight: 560; font-size: 14px; }
.pickdot {
  margin-left: auto; width: 16px; height: 16px; border-radius: 50%; flex: 0 0 auto;
  border: 1.5px solid var(--line-2); transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.pickcard:hover { border-color: var(--line-2); color: var(--ink); }
.pickcard.on {
  border-color: color-mix(in srgb, var(--brand) 55%, transparent);
  background: var(--brand-tint); color: var(--ink);
}
.pickcard.on b { color: var(--brand-2); background: transparent; border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.pickcard.on .pickdot { border-color: var(--brand); background: var(--brand); box-shadow: inset 0 0 0 3px var(--surface-1); }

/* consent rows */
.checkrow {
  display: flex; gap: 11px; align-items: flex-start; padding: 12px 0; cursor: pointer;
  border-top: 1px solid var(--line);
}
.checkrow:first-of-type { border-top: 0; }
.checkrow input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
.checkrow b { font-weight: 560; font-size: 14px; }
.checkrow .req { color: var(--brand-2); font-weight: 520; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* field notes */
.field-note { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.field-note.bad { color: var(--bad); }

/* recovery codes */
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.codes code {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-align: center;
  padding: 9px 6px; border-radius: var(--r-sm); background: var(--surface-3); border: 1px solid var(--line);
  user-select: all;
}
@media (max-width: 380px) { .codes { grid-template-columns: 1fr; } }

/* device list */
.devrow { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-top: 1px solid var(--line); }
.devrow:first-child { border-top: 0; }
.devico {
  width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand-2);
}

/* grid children must be allowed to shrink or long labels widen the page */
.hero-grid > * { min-width: 0; }
.btn-block { white-space: normal; text-align: center; }

/* today's top hirers (hero side card) */
.toprow {
  display: flex; align-items: center; gap: 10px; padding: 10px 0;
  border-top: 1px solid var(--line); border-radius: var(--r-sm);
  transition: background var(--t-fast), padding-inline var(--t-fast);
}
.toprow:first-child { border-top: 0; }
.toprow:hover { background: var(--surface-2); padding-inline: 8px; }
.toprank { width: 18px; font-variant-numeric: tabular-nums; font-weight: 700; font-size: 13px; color: var(--ink-3); flex: 0 0 auto; }
.topmeta { display: grid; min-width: 0; }
.topname { font-weight: 570; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topmeta .tiny { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topscore { font-variant-numeric: tabular-nums; font-size: 15px; min-width: 34px; text-align: right; }

/* market snapshot grid */
.snapgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.snapcell { background: var(--surface-1); padding: 14px 15px; display: grid; align-content: start; }
.snapcell .small { max-width: 24ch; line-height: 1.35; }
@media (max-width: 860px) { .snapgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .snapgrid { grid-template-columns: 1fr; } .snapcell .small { max-width: none; } }

/* =============================================================
   11. v1.1 — identity, privacy, deck, assistant, reports
   ============================================================= */

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.seg-sm button { padding: 5px 10px; font-size: 12.5px; min-height: 30px; }
.badge-good { color: var(--good); background: color-mix(in srgb, var(--good) 14%, transparent); border-color: color-mix(in srgb, var(--good) 34%, transparent); }
.code-sm { font-size: 11.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-all; }
.ta { min-height: 108px; resize: vertical; font-size: 13.5px; line-height: 1.5; }

/* ---- minted handle ---- */
.handle {
  font-family: var(--mono); font-size: 15px; letter-spacing: .06em; user-select: all;
  color: var(--ink);
}
.handle-box {
  display: flex; align-items: center; gap: 8px; padding: 11px 12px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2);
}
.handle-box .handle { flex: 1; min-width: 0; overflow-x: auto; }
.handle-sm { font-size: 12.8px; }

/* ---- richer picker rows ---- */
.pickcard-lg { align-items: flex-start; padding: 14px 14px; }
.pickcard-lg .pickmeta > span:first-child { font-size: 14.5px; }
.pickcard-lg .pickmeta .tiny { white-space: normal; line-height: 1.4; }
.pickic { width: 34px; height: 34px; }
.pickgo { margin-left: auto; color: var(--ink-3); align-self: center; }

/* ---- employer verification ladder ---- */
.vsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vsteps li { display: flex; gap: 11px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-3); }
.vsteps li:first-child { border-top: 0; }
.vsteps li b { font-size: 13.5px; font-weight: 560; }
.vsteps li.now, .vsteps li.done { color: var(--ink-2); }
.vsteps li.now b { color: var(--ink); }
.vsteps .dot {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  font-size: 11px; font-weight: 640; background: var(--surface-3); color: var(--ink-3); border: 1px solid var(--line);
}
.vsteps li.now .dot { background: var(--brand-grad); color: #fff; border-color: transparent; }
.vsteps li.done .dot { background: color-mix(in srgb, var(--good) 20%, var(--surface-2)); color: var(--good); border-color: color-mix(in srgb, var(--good) 38%, transparent); }

/* ---- the two layers ---- */
.layerbox { display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.layerrow { display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; background: var(--surface-2); }
.laychip {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
}
.laychip.common { color: var(--s2); background: color-mix(in srgb, var(--s2) 12%, transparent); border-color: color-mix(in srgb, var(--s2) 32%, transparent); }
.laychip.private { color: var(--brand-2); background: var(--brand-tint); border-color: color-mix(in srgb, var(--brand) 34%, transparent); }

/* ---- weight drift ---- */
.drift { display: grid; gap: 8px; }
.driftrow { display: grid; grid-template-columns: minmax(0, 1fr) 88px 46px; gap: 10px; align-items: center; }
.driftbar { height: 6px; border-radius: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.driftbar i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 3px; }
.driftbar i.up { background: var(--brand-grad); }
.driftbar i.down { background: color-mix(in srgb, var(--neutral) 70%, transparent); }
.driftrow .tiny { text-align: right; font-variant-numeric: tabular-nums; }

/* ---- CV dropzone ---- */
.cv-pane { max-width: 640px; margin-inline: auto; }
.dropzone {
  display: grid; place-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 30px 20px; border-radius: var(--r-lg); position: relative;
  border: 1.5px dashed var(--line-2); background: var(--surface-2);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.dropzone:hover, .dropzone:focus-visible { border-color: var(--brand); background: var(--brand-tint); }
.dropzone.over { border-color: var(--brand); background: var(--brand-tint); transform: scale(1.01); }
.dz-ico { color: var(--brand-2); }

/* ---- privacy cells ---- */
.viewbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line);
  background: color-mix(in srgb, var(--brand) 5%, var(--surface-1));
}
.viewbar .ico { color: var(--brand-2); }
.chip-private { color: var(--brand-2); border-color: color-mix(in srgb, var(--brand) 32%, transparent); background: var(--brand-tint); }
.chip-why { color: var(--ink); border-color: color-mix(in srgb, var(--brand) 30%, transparent); background: var(--brand-tint); }
.pv { display: inline-flex; align-items: center; gap: 6px; }
.pv-eye { color: var(--brand-2); opacity: .7; }
.pv-band { color: var(--ink-2); }
.pv-sup { color: var(--ink-3); font-size: 12.5px; }
.pv-bar { display: inline-block; width: 44px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(135deg, var(--surface-3) 0 5px, var(--surface-2) 5px 10px); }

.publicview .pubgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.pubcol { background: var(--surface-1); padding: 16px 18px 20px; }
.pubhead { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 620; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.pubhead.good { color: var(--good); }
.pubhead.bad { color: var(--brand-2); }
.publist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.publist li b { font-size: 13px; font-weight: 560; }
@media (max-width: 860px) { .publicview .pubgrid { grid-template-columns: 1fr; } }

/* ---- season toolkit ---- */
.goalbar { height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; margin-top: 4px; }
.goalbar i { display: block; height: 100%; border-radius: 4px; background: var(--brand-grad); transition: width var(--t-slow) var(--e-out); }
.duerow { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.duerow:first-child { border-top: 0; }
.sugrow { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-top: 1px solid var(--line); }
.sugrow:first-child { border-top: 0; }
.sugrow:hover { background: var(--surface-2); border-radius: var(--r-sm); padding-inline: 8px; }
.sugrow b { font-size: 13.5px; font-weight: 570; }
.sugic {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--surface-3); color: var(--ink-2);
}
.sugic.brand { background: var(--brand-tint); color: var(--brand-2); }
.sugic.good { background: color-mix(in srgb, var(--good) 15%, transparent); color: var(--good); }
.sugic.warn { background: color-mix(in srgb, var(--warn) 15%, transparent); color: var(--warn); }

/* =============================================================
   THE DECK
   ============================================================= */
.deck-wrap { max-width: 560px; margin-inline: auto; }
.deck-wrap h1 { letter-spacing: -.03em; }
.acct-handle { font-family: var(--mono); font-size: clamp(22px, 3.6vw, 32px); letter-spacing: .01em; word-break: break-all; }
.deck-meter { margin-bottom: 14px; }
.deck-bar { height: 4px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.deck-bar i { display: block; height: 100%; background: var(--brand-grad); transition: width var(--t) var(--e-out); }
.deck {
  position: relative; min-height: 486px; margin-top: 26px;
  padding-bottom: 96px;   /* room for the controls */
}
.deck-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 120px 0; color: var(--ink-3); font-size: 13.5px; }

.jcard {
  position: absolute; inset: 0 0 auto 0;
  background: var(--surface-1); border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: 20px; box-shadow: var(--shadow-3);
  transform-origin: 50% 100%; touch-action: pan-y;
  transition: transform var(--t) var(--e-out), opacity var(--t);
  will-change: transform;
}
/* the cards behind peek ABOVE the top one, the way a real deck does —
   peeking below just shows a second card's contents and reads as a bug */
.jcard[data-depth="1"], .jcard[data-depth="2"] {
  max-height: 46px; overflow: hidden; pointer-events: none;
}
.jcard[data-depth="1"] { transform: translateY(-11px) scale(.965); opacity: .55; z-index: 1; }
.jcard[data-depth="2"] { transform: translateY(-21px) scale(.93); opacity: .28; z-index: 0; }
/* the top card sits in normal flow so the container's height always
   matches it — no magic numbers, and the footer can never ride up
   underneath a tall card on a small screen */
.jcard[data-depth="0"] { position: relative; z-index: 3; cursor: grab; }
.jcard.dragging { transition: none; cursor: grabbing; }
.jcard.gone { transition: transform 320ms var(--e-out), opacity 320ms; opacity: 0; }

.jcard-top { display: flex; align-items: center; gap: 11px; }
.jcard-emp { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jcard-title { font-size: clamp(19px, 4.4vw, 25px); margin-top: 14px; letter-spacing: -.026em; }
.matchring {
  flex: 0 0 auto; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; line-height: 1;
  background: var(--brand-tint); border: 1.5px solid color-mix(in srgb, var(--brand) 42%, transparent);
  color: var(--brand-2);
}
.matchring b { font-size: 16px; font-variant-numeric: tabular-nums; }
.matchring .tiny { font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }

.jcard-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; margin-top: 16px; }
.jfact { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); min-width: 0; }
.jfact .ico { color: var(--ink-3); flex: 0 0 auto; }
.jfact span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 420px) { .jcard-facts { grid-template-columns: 1fr; } }

.jcard-why { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.jcard-flags { margin-top: 12px; display: grid; gap: 6px; }
.jflag { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 7px; }
.jflag.warn { color: var(--warn); }
.jflag.good { color: var(--good); }

.jcard-stamp {
  position: absolute; top: 22px; padding: 6px 14px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity 90ms linear; border: 2px solid;
}
.jcard-stamp.skip { left: 20px; color: var(--bad); border-color: var(--bad); transform: rotate(-12deg); }
.jcard-stamp.save { right: 20px; color: var(--good); border-color: var(--good); transform: rotate(12deg); }

.deck-controls {
  position: absolute; left: 0; right: 0; bottom: 30px; z-index: 4;
  display: flex; justify-content: center; align-items: center; gap: 14px;
}
.dbtn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2);
  box-shadow: var(--shadow-2); transition: transform var(--t-fast) var(--e-out), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.dbtn:hover { transform: translateY(-2px) scale(1.05); }
.dbtn:active { transform: scale(.94); }
.dbtn-info { width: 44px; height: 44px; }
.dbtn-skip:hover { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 50%, transparent); }
.dbtn-save:hover { color: var(--good); border-color: color-mix(in srgb, var(--good) 50%, transparent); }
.dbtn-apply { background: var(--brand-grad); color: #fff; border-color: transparent; box-shadow: var(--brand-glow); }
.dbtn-apply:hover { filter: brightness(1.08); }

/* =============================================================
   REPORT PREVIEW
   ============================================================= */
.paper {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px 18px;
}
.paper-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.paper-head b { font-size: 14.5px; }
.paper-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.paper-stats > div { display: grid; gap: 1px; }
.paper-stats b { font-size: 19px; font-variant-numeric: tabular-nums; }
.paper-rows { padding-top: 10px; display: grid; gap: 2px; }
.paper-row {
  display: grid; grid-template-columns: 18px 74px minmax(0, 1.15fr) minmax(0, 1fr) 78px;
  gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line);
}
.paper-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .paper-stats { grid-template-columns: repeat(2, 1fr); }
  .paper-row { grid-template-columns: 16px 68px minmax(0, 1fr) 70px; }
  .paper-row > span:nth-child(4) { display: none; }
}

/* ---- deck on a phone: the card and its controls must both fit ---- */
.deck-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.deck-chips::-webkit-scrollbar { display: none; }
.deck-chips > * { flex: 0 0 auto; }
.deck-sep { width: 1px; align-self: stretch; background: var(--line); margin-inline: 2px; }
@media (max-width: 720px) {
  .deck-lede { display: none; }
  .deck { min-height: 0; margin-top: 22px; padding-bottom: 0; }
  .jcard { padding: 16px; border-radius: var(--r-lg); }
  .deck-wrap h1 { font-size: 22px !important; }
  .jcard[data-depth="0"] { max-height: calc(100dvh - 366px); min-height: 240px; overflow-y: auto; overscroll-behavior: contain; }
  .jcard-title { margin-top: 10px; }
  .jcard-facts { margin-top: 12px; }
  /* controls stay in the flow on a phone: overlaying them on top of
     whatever is underneath looked like a bug, and a fixed bar fights
     the tab bar for the same thumb zone */
  .deck-controls { position: static; margin-top: 18px; gap: 12px; }
  .dbtn { width: 52px; height: 52px; }
  .dbtn-info { width: 42px; height: 42px; }
}
@media (max-width: 380px) { .dbtn { width: 48px; height: 48px; } }

/* date range + segmented controls must survive a 360px screen */
.daterow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.daterow .input { min-width: 0; width: 100%; }
@media (max-width: 460px) {
  .daterow { grid-template-columns: 1fr; }
  .daterow > .dim { display: none; }
}
.seg { overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: 0 0 auto; }

/* ---- Job Card page ---- */
.fivec h3 { font-size: 16px; }
.sizebars { display: grid; gap: 14px; }
.sizerow { display: grid; gap: 6px; }
.sizebar { display: block; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.sizebar i { display: block; height: 100%; border-radius: 4px; background: var(--brand-grad); transition: width var(--t-slow) var(--e-out); }
.sizebar i.good { background: linear-gradient(90deg, var(--good), color-mix(in srgb, var(--good) 55%, var(--brand))); }
.sizerow .tiny { text-align: right; }
@media (max-width: 560px) {
  .sizerow .row-between { flex-direction: column; align-items: flex-start; gap: 2px; }
  .sizerow .tiny { text-align: left; }
}

/* =============================================================
   12. Pricing and checkout
   ============================================================= */
.freecard { border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.bigprice { display: grid; justify-items: end; line-height: 1; }
.bigprice b { font-size: clamp(38px, 6vw, 56px); letter-spacing: -.04em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--ink-2); }
.ticks .ico { color: var(--good); flex: 0 0 auto; margin-top: 2px; }

.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-4); align-items: start; }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h3 { font-size: 17px; }
.plan .ticks { flex: 1; }
.plan-price { line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.plan-price b { font-size: 30px; letter-spacing: -.03em; }
.plan-hot { border-color: color-mix(in srgb, var(--brand) 46%, transparent); box-shadow: var(--brand-glow); }
.plan-flag {
  position: absolute; top: -10px; left: 18px; font-size: 10.5px; font-weight: 640;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--brand-grad); color: #fff; box-shadow: var(--shadow-1);
}

.nocard { border-style: dashed; }
.nox {
  width: 26px; height: 26px; border-radius: 8px; flex: 0 0 auto; display: grid; place-items: center;
  background: color-mix(in srgb, var(--bad) 14%, transparent); color: var(--bad);
}
.nocard h3 { font-size: 15.5px; }

.checkout .panel { display: grid; gap: 2px; }

/* ---- control plane / data plane diagram ---- */
.planecard { padding: var(--sp-5); }
.planediagram { overflow-x: auto; }
.planediagram svg { width: 100%; min-width: 620px; height: auto; display: block; }
.plane h3 { font-size: 15px; }
.plane-ctrl { border-color: color-mix(in srgb, var(--s2) 34%, transparent); }
.plane-ctrl h3 { color: var(--s2); }
.plane-data { border-color: color-mix(in srgb, var(--brand) 38%, transparent); }
.plane-data h3 { color: var(--brand-2); }
.plane-wall { border-style: dashed; }
.plane-wall .ico { color: var(--brand-2); }

/* =============================================================
   13. Size bands, readable figures, ledger gate, connections
   ============================================================= */

/* ---- the demo / live ledger bar ---- */
.ledgerbar { border-bottom: 1px solid var(--line); font-size: 13px; position: relative; z-index: 55; }
.ledgerbar.is-demo { background: color-mix(in srgb, var(--warn) 10%, var(--bg)); border-bottom-color: color-mix(in srgb, var(--warn) 26%, transparent); }
.ledgerbar.is-live { background: color-mix(in srgb, var(--good) 8%, var(--bg)); border-bottom-color: color-mix(in srgb, var(--good) 24%, transparent); }
.ledgerbar-in { display: flex; align-items: center; gap: 12px; padding: 9px 0; flex-wrap: wrap; }
.ledgertext { color: var(--ink-2); max-width: 92ch; }
.ledgertext b { color: var(--ink); }
.ledgerdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.ledgerbar.is-demo .ledgerdot { background: var(--warn); }
.ledgerbar.is-live .ledgerdot { background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 20%, transparent); }
@media (max-width: 720px) { .ledgerbar { font-size: 12.2px; } .ledgerbar-in { padding: 8px 0; } }

.demochip {
  display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  font-size: 10.5px; font-weight: 640; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: var(--r-pill);
  color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
}

.liveempty { text-align: center; padding: clamp(28px, 5vw, 52px) 20px; }
.liveempty .mark-soft { margin-inline: auto; }
.liveempty-sm {
  display: flex; align-items: center; gap: 10px; text-align: left;
  padding: 12px 14px; border-radius: var(--r); background: var(--surface-2);
  border: 1px dashed var(--line-2); color: var(--ink-2);
}
.liveempty-sm .ico { color: var(--ink-3); flex: none; }

/* ---- size band chips ---- */
.chip-band { display: inline-flex; align-items: baseline; gap: 7px; }
.chip-sub { font-size: 10.5px; opacity: .62; font-variant-numeric: tabular-nums; }

/* ---- verdict line on an employer profile ---- */
.verdict {
  border-left: 3px solid var(--line-2); padding: 2px 0 2px 12px; max-width: 58ch;
}
.verdict b { font-size: 15.5px; }
.verdict.tone-good { border-left-color: var(--good); }
.verdict.tone-warn { border-left-color: var(--warn); }
.verdict.tone-bad { border-left-color: var(--bad); }

/* ---- "if you applied here" ---- */
.expect { display: grid; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.expectrow {
  background: var(--surface-1); padding: 13px 15px;
  display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 190px) minmax(0, 1fr);
  gap: 6px 18px; align-items: baseline;
}
.expecta { font-size: 16px; }
.expectrow.tone-good .expecta { color: var(--good); }
.expectrow.tone-warn .expecta { color: var(--warn); }
.expectrow.tone-bad .expecta { color: var(--bad); }
@media (max-width: 720px) {
  .expectrow { grid-template-columns: 1fr; gap: 2px; }
  .expectq { order: -1; }
}

.cmptbl td { vertical-align: middle; }
.tw-plain { overflow-x: auto; }

.snapread { display: block; margin-top: 6px; max-width: 30ch; line-height: 1.4; }

.trendstory {
  display: flex; gap: 9px; align-items: flex-start; margin-bottom: 14px;
  padding: 10px 12px; border-radius: var(--r); background: var(--surface-2);
  border: 1px solid var(--line);
}
.trendstory .ico { flex: none; margin-top: 1px; color: var(--ink-3); }
.trendstory.tone-good { border-color: color-mix(in srgb, var(--good) 30%, transparent); background: color-mix(in srgb, var(--good) 7%, var(--surface-2)); }
.trendstory.tone-good .ico { color: var(--good); }
.trendstory.tone-bad { border-color: color-mix(in srgb, var(--bad) 30%, transparent); background: color-mix(in srgb, var(--bad) 7%, var(--surface-2)); }
.trendstory.tone-bad .ico { color: var(--bad); }

/* ---- the invitation block ---- */
.joincard { padding: clamp(24px, 4vw, 44px); }
.joinhead h2 { font-size: clamp(22px, 3.4vw, 32px); }
.joinhead h2 .gr { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.joinstep h3 { font-size: 15.5px; }

/* ---- connections ---- */
.keepdrop { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; margin-top: var(--sp-4); }
@media (max-width: 720px) { .keepdrop { grid-template-columns: 1fr; } }
.keepcol { background: var(--surface-1); padding: 16px 18px; }
.keephead { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 640; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; }
.keepcol.keep .keephead { color: var(--good); }
.keepcol.drop .keephead { color: var(--ink-3); }
.keepcol.drop .ticks li { color: var(--ink-3); }
.nox-sm { color: var(--ink-3); }
.pickcard-off { opacity: .55; cursor: not-allowed; }

.importrow { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid var(--line); }
.importrow:first-of-type { border-top: 0; }
.importrow .ta { margin-top: 10px; }
.snipline { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.snipline code { font-family: var(--mono); font-size: 13px; user-select: all; overflow-x: auto; }

.statustag {
  display: inline-block; font-size: 10.5px; font-weight: 640; letter-spacing: .05em;
  text-transform: uppercase; padding: 3px 8px; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink-3); border: 1px solid var(--line); white-space: nowrap;
}
.statustag.tone-good { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); border-color: color-mix(in srgb, var(--good) 30%, transparent); }
.statustag.tone-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }

.methodchip {
  display: inline-block; font-size: 11.5px; padding: 2px 7px; margin: 2px 4px 2px 0;
  border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2);
  cursor: help;
}

.trustnow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line);
}
.trustnow b { font-size: 15px; }
.trustnow.tone-good { border-color: color-mix(in srgb, var(--good) 32%, transparent); background: color-mix(in srgb, var(--good) 7%, var(--surface-2)); }
.trustnow.tone-warn { border-color: color-mix(in srgb, var(--warn) 30%, transparent); background: color-mix(in srgb, var(--warn) 7%, var(--surface-2)); }
.trustweight { display: grid; justify-items: end; line-height: 1.1; flex: none; }
.trustweight b { font-size: 20px; font-variant-numeric: tabular-nums; }

/* print */
@media print {
  .hdr, .tabbar, .demobar, .ftr, .btn, .toasts { display: none !important; }
  body { background: #fff; color: #000; }
  .card { break-inside: avoid; border-color: #ccc; }
}
