/* ==========================================================================
   The Ledger — Cost-of-Living Salary Tool
   Editorial / quiet-luxury system (Edge Playbook): warm paper + graphite +
   brushed silver · Fraunces serif · Inter body · hairlines, not boxes.
   ========================================================================== */
:root {
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* Option B — Cool Slate · Steel */
  --paper: #f5f6f8; --paper-2: #eceef2; --card: #fafbfc;
  --ink: #14171f; --ink-2: #3a4150; --muted: #5f6673; --faint: #9aa1ad;
  --line: #dfe2e8; --line-2: #cdd2db;
  --night: #111520; --night-2: #191d29;
  --cream: #eef0f4; --cream-2: #c3c8d2; --cream-faint: #868c99;
  --accent: #7f8aa0; --accent-soft: #cfd6e0;
  --maxw: 1280px; --ease: cubic-bezier(.22,.61,.36,1);
  --lock-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10' rx='2.2'/%3E%3Cpath d='M8 10.5V7a4 4 0 0 1 8 0v3.5'/%3E%3C/svg%3E");
}

/* The HTML `hidden` attribute must always win. Author `display` rules (e.g.
   `.trial-bar { display: flex }`) otherwise override the UA `[hidden]{display:none}`
   rule, leaving elements on screen even after JS sets `el.hidden = true` — which is
   how a paid/logged-in user could still see the "Create free account" trial bar. */
[hidden] { display: none !important; }

/* clean monochrome padlock (replaces the glossy 🔒 emoji everywhere) */
.ico-lock { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
h1,h2,h3,.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.tnum { font-variant-numeric: tabular-nums; }
em { font-style: italic; }
.label { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--muted); }
.label .idx { color: var(--accent); margin-right: 12px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1;transform:none;transition:none} }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); color: var(--cream); border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-family: var(--serif); font-size: 1.18rem; font-weight: 500; }
.brand .thin { opacity: .55; font-weight: 400; }
.nav .tagline { font-size: 0.78rem; letter-spacing: 0.04em; opacity: .7; }
.nav.solid { background: var(--paper); backdrop-filter: saturate(150%) blur(14px); color: var(--ink); border-color: var(--line); }

/* Hero */
.hero { position: relative; background: var(--night); color: var(--cream); overflow: hidden; padding: 150px 0 88px; }
.hero .glow { position: absolute; inset: 0; z-index: 0; background:
    radial-gradient(55% 55% at 70% 25%, rgba(196,205,218,.15), transparent 60%),
    radial-gradient(50% 60% at 15% 90%, rgba(150,160,176,.09), transparent 62%),
    linear-gradient(180deg,#15161b,#101116 60%,#0c0d10); }
.hero .edge { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero .edge .line { position: absolute; top: 40%; left: -25%; width: 150%; height: 1.5px; transform: rotate(-6.5deg);
    background: linear-gradient(90deg, transparent, rgba(214,219,226,.8) 50%, transparent); box-shadow: 0 0 52px 9px rgba(198,206,219,.18); }
.hero .edge .line::after { content:''; position:absolute; top:50%; left:-20%; width:16%; height:7px; transform:translateY(-50%);
    background: radial-gradient(closest-side, rgba(255,255,255,.9), rgba(255,255,255,0) 72%); filter: blur(.4px); animation: shine 5.5s var(--ease) infinite; }
@keyframes shine { 0%{left:-20%;opacity:0} 14%{opacity:1} 56%{opacity:1} 76%,100%{left:108%;opacity:0} }
@media (prefers-reduced-motion: reduce){ .hero .edge .line::after{animation:none;opacity:0} }
.hero-inner { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: 1.05; font-weight: 400; letter-spacing: -0.025em; max-width: 20ch; }
.hero h1 .em { font-style: italic; color: var(--accent-soft);
  background: linear-gradient(176deg,#eef1f6,#b3bccd 42%,#dde3ec 56%,#9aa5ba); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  /* gradient-text (background-clip:text) otherwise clips the italic overhang of the last glyph on each
     line (the "w" of know, "t" of target); pad the painted box + clone it per wrapped line */
  padding-right: .14em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .sub { margin-top: 26px; max-width: 54ch; font-size: 1.1rem; color: var(--cream-2); line-height: 1.55; }
.hero .kicker { margin-bottom: 26px; } .hero .kicker .label { color: var(--cream-2); }
.hero-cta { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }
.hero-cta .btn-solid { padding: 13px 28px; }
.hero-note { color: var(--cream-faint); font-size: 0.88rem; }
@media (max-width: 560px) { .hero-cta { gap: 12px; } .hero-cta .btn-solid { width: 100%; } .hero-note { font-size: 0.82rem; } }

/* Search bar */
.searchbar { background: var(--night-2); border-top: 1px solid rgba(236,231,219,.08); }
.searchbar-inner { position: relative; z-index: 2; padding-top: 26px; padding-bottom: 30px; }
.sb-grid { display: grid; grid-template-columns: 1.4fr 1.1fr 0.95fr auto; gap: 22px; align-items: end; }
.sel-wrap { position: relative; }
.sel-wrap .car { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: .9rem; color: var(--cream-faint); pointer-events: none; }
.sb-select { width: 100%; font-family: var(--serif); font-weight: 360; font-size: 1.15rem; color: var(--cream); background: none; border: 0; border-bottom: 1px solid rgba(236,231,219,.28); padding: 10px 24px 10px 0; outline: none; cursor: pointer; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.sb-select:focus { border-color: var(--cream); }
.sb-select option { color: #191712; background: #f3f0e8; }
.sb-field > label { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--cream-faint); margin-bottom: 12px; }
.sb-input { width: 100%; font-family: var(--serif); font-weight: 360; font-size: 1.15rem; color: var(--cream); background: none; border: 0; border-bottom: 1px solid rgba(236,231,219,.28); padding: 10px 0; outline: none; transition: border-color .3s var(--ease); }
.sb-input::placeholder { color: var(--cream-faint); font-style: italic; }
.sb-input:focus { border-color: var(--cream); }
.loc-btn { width: 100%; text-align: left; font-family: var(--serif); font-weight: 360; font-size: 1.15rem; color: var(--cream); background: none; border: 0; border-bottom: 1px solid rgba(236,231,219,.28); padding: 10px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.loc-btn .car { font-size: .9rem; color: var(--cream-faint); }
.btn { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; padding: 15px 30px; border-radius: 2px; border: 1px solid var(--cream); background: var(--cream); color: var(--night); cursor: pointer; transition: all .3s var(--ease); white-space: nowrap; }
.btn:hover { background: transparent; color: var(--cream); }
.btn:disabled { opacity: .5; cursor: default; }

/* Company chips */
.sb-companies { margin-top: 24px; }
.chipbox { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; border-bottom: 1px solid rgba(236,231,219,.28); padding: 8px 0; transition: border-color .3s var(--ease); }
.chipbox:focus-within { border-color: var(--cream); }
.chip-input { flex: 1; min-width: 200px; background: none; border: 0; outline: 0; color: var(--cream); font-family: var(--serif); font-weight: 360; font-size: 1.1rem; padding: 6px 0; }
.chip-input::placeholder { color: var(--cream-faint); font-style: italic; }
.chip-input:disabled { cursor: not-allowed; }
.cchip { display: inline-flex; align-items: center; gap: 9px; background: rgba(236,231,219,.09); border: 1px solid rgba(236,231,219,.28); border-radius: 2px; padding: 6px 12px; font-size: 0.92rem; color: var(--cream); }
.cchip button { background: none; border: 0; color: var(--cream-faint); cursor: pointer; font-size: 1.05rem; line-height: 1; padding: 0; transition: color .2s; }
.cchip button:hover { color: var(--cream); }
.chip-hint { display: none; margin-top: 9px; font-size: 0.72rem; letter-spacing: 0.03em; color: var(--cream-faint); }
.chip-hint.show { display: block; }

/* Company groups (per-company results) */
.cgroup + .cgroup { margin-top: 30px; }
.cgroup-head { display: flex; align-items: center; gap: 13px; padding: 20px 0 4px; border-top: 2px solid var(--ink); }
.cgroup-head .res-logo, .cgroup-head .res-mono { margin-top: 0; width: 28px; height: 28px; }
.cgroup-head .cg-name { font-family: var(--serif); font-size: 1.42rem; font-weight: 400; }
.cgroup-head .cg-meta { margin-left: auto; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.cempty { color: var(--muted); font-size: 0.92rem; padding: 18px 0; border-bottom: 1px solid var(--line); }

/* Location popover */
.loc-wrap { position: relative; }
.loc-pop { position: absolute; z-index: 40; top: calc(100% + 10px); left: 0; right: 0; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 24px 60px rgba(16,15,11,.22); padding: 14px; display: none; max-height: 340px; overflow-y: auto; }
.loc-pop.open { display: block; }
.loc-pop .allrow { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); margin-bottom: 6px; cursor: pointer; font-weight: 500; }
.loc-opt { display: flex; align-items: center; gap: 10px; padding: 7px 6px; cursor: pointer; font-size: 0.95rem; }
.loc-opt:hover { background: var(--card); }
.loc-opt .nm { flex: 1; }
.loc-opt .tier { margin-left: auto; font-size: 0.64rem; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; }
.loc-opt input, .allrow input { accent-color: var(--ink); width: 15px; height: 15px; }
.fresh-opt { width: 100%; background: none; border: 0; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-2); text-align: left; }
.fresh-opt.sel .nm { color: var(--ink); font-weight: 500; }

/* Single-select dropdown label (ellipsis for long role/company names). The in-popover
   search box reuses the canonical .loc-search / .loc-list / .bench-nomatch styles below. */
.dd-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-group { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); padding: 12px 6px 5px; border-top: 1px solid var(--line); margin-top: 4px; }
.dd-group:first-child { border-top: 0; margin-top: 0; padding-top: 4px; }
/* expandable, sector-grouped company picker */
.dd-acc { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: 0; border-top: 1px solid var(--line); cursor: pointer; font-family: var(--sans); font-size: 0.92rem; font-weight: 600; color: var(--ink); text-align: left; padding: 11px 6px; }
.dd-acc:first-child { border-top: 0; }
.dd-acc:hover { color: var(--accent); }
.dd-acc-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 500; color: var(--faint); }
.dd-acc .car { display: inline-block; font-size: 0.85rem; transition: transform .15s; }
.dd-acc.open .car { transform: rotate(180deg); }
.dd-acc.open { color: var(--accent); }
.dd-acc-body { padding-left: 12px; border-left: 2px solid var(--line); margin: 2px 0 6px 8px; }
/* sub-sector partition: indented option (sector picker) + mini-label (company accordion) */
.bench-opt.bench-sub { padding-left: 22px; }
.loc-opt.dd-sub { padding-left: 22px; }
.loc-opt.dd-sub .nm { color: var(--muted); font-size: 0.9rem; }
.dd-subhead { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); padding: 9px 6px 3px; }

/* Tool layout */
.tool { padding: clamp(56px,8vh,110px) 0; }
.tool-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.col-results { padding: 40px 44px 40px 0; border-right: 1px solid var(--line); }
.col-parity { padding: 40px 0 40px 44px; }
.col-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 26px; }
.col-head h2 { font-size: 1.5rem; font-weight: 400; }
.col-head .cnt { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-left: auto; }

/* Result rows */
.res { border-top: 1px solid var(--line); }
.res-row { padding: 22px 0; border-bottom: 1px solid var(--line); }
.res-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.res-idc { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.res-logo, .res-mono { width: 30px; height: 30px; border-radius: 5px; flex: 0 0 auto; margin-top: 4px; }
.res-logo { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 3px; }
.res-mono { display: flex; align-items: center; justify-content: center; background: var(--paper-2); border: 1px solid var(--line); font-family: var(--serif); font-size: 0.98rem; color: var(--muted); }
.res-co { font-family: var(--serif); font-size: 1.28rem; font-weight: 400; line-height: 1.15; min-width: 0; }
.res-co .ttl { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--muted); margin-top: 5px; }
.res-sal { font-family: var(--serif); font-size: 1.28rem; letter-spacing: -0.02em; white-space: nowrap; text-align: right; }
.res-sal .per { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 5px; }
.res-meta { display: flex; align-items: center; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.tag { font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-2); border-radius: 2px; padding: 2px 7px; }
.rloc { display: block; font-family: var(--sans); font-size: 0.82rem; color: var(--faint); margin-top: 6px; }
.res-co.only-title .rloc { font-weight: 400; }
.tag.fn { color: var(--muted); }
.tag.col { color: var(--accent); border-color: var(--accent); }
.res-loc { font-size: 0.82rem; color: var(--faint); }
.res-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px 18px; margin-top: 16px; }
.verified { font-size: 0.72rem; color: var(--faint); letter-spacing: 0.02em; }
.res-end { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.res-end .tick { color: #16a34a; font-weight: 700; }
.jsrc { display: flex; flex-direction: column; gap: 3px; }
.jdate { font-size: 0.68rem; color: var(--faint); letter-spacing: 0.02em; padding-left: 11px; }
.jlink { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s; }
.jlink:hover { color: var(--ink); border-color: var(--accent); }
.jlink.salsrc { color: var(--ink); font-weight: 500; }
.jlink .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); display: inline-block; }
.jlink .jico { width: 15px; height: 15px; border-radius: 3px; object-fit: contain; background: #fff; border: 1px solid var(--line); vertical-align: -3px; }
.res-co.only-title { font-family: var(--serif); font-size: 1.22rem; font-weight: 400; line-height: 1.15; }
.res-row.ingroup { padding-left: 41px; }
.jlink .src { text-transform: capitalize; }
.jlink .src.ats { text-transform: none; }
.jlink .mark { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }

/* Average panel */
.avg { background: var(--night); color: var(--cream); border-radius: 9px; padding: 22px 26px; }
.parity-head { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.avg .lab { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cream-2); }
.avg .rng { font-family: var(--serif); font-size: clamp(2rem,4.4vw,3rem); font-weight: 360; letter-spacing: -0.02em; margin-top: 8px; color: var(--cream); }
.avg .rng .cur { color: var(--accent-soft); font-size: .56em; vertical-align: .3em; }
.avg .sub { font-size: 0.88rem; color: var(--cream-faint); margin-top: 10px; }

/* Parity tool */
/* match the search bar's field styling (serif, hairline underline, caret) */
/* cost-of-living state picker — same custom dropdown as the rest of the platform */
.parity .parity-field { margin-top: 4px; }
.parity .loc-btn { font-family: var(--serif); font-size: 1.15rem; font-weight: 360; color: var(--ink); border-bottom-color: var(--line-2); padding: 10px 0; }
.parity .loc-btn:hover { border-bottom-color: var(--ink); }
.parity .loc-btn .car { color: var(--faint); }
/* real-value 2×2 grid: your search vs cost-of-living adjusted */
.parity .rpp-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px 20px; align-items: baseline; margin-top: 22px; }
.parity .rpp-grid .g-h { font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); text-align: right; }
.parity .rpp-grid .g-l { font-size: 0.82rem; color: var(--muted); }
.parity .rpp-grid .g-v { font-family: var(--serif); font-size: 1.4rem; font-weight: 360; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.parity .rpp-grid .g-v.adj { color: var(--accent); }
.parity .real-note strong { color: var(--ink); font-weight: 600; }
.parity .p-lab { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.parity .badges { display: flex; gap: 10px; margin: 20px 0 8px; }
.parity .badge { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 10px; }
.parity .real { font-family: var(--serif); font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 360; letter-spacing: -0.03em; line-height: 1; margin: 6px 0; }
.parity .real .cur { color: var(--accent); font-size: .5em; vertical-align: .32em; }
.parity .real-note { font-size: 0.9rem; color: var(--muted); line-height: 1.5; max-width: 40ch; }
.parity .hundred { margin-top: 26px; padding: 18px 20px; background: var(--night); color: var(--cream); border-radius: 3px; }
.parity .hundred .h-big { font-family: var(--serif); font-size: 1.7rem; } .parity .hundred .h-big em { color: var(--accent-soft); }
.parity .hundred .h-sub { font-size: 0.84rem; color: var(--cream-2); margin-top: 6px; }
.bars { margin-top: 26px; display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 12px; }
.bar-row .bl { font-size: 0.74rem; color: var(--muted); }
.bar-track { height: 8px; background: var(--paper-2); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }
.bar-fill.nom { background: var(--ink); }
.bar-row .bv { font-family: var(--serif); font-size: 0.96rem; white-space: nowrap; }

/* States / empty / loading */
.hint, .loading, .empty { color: var(--muted); font-size: 0.98rem; padding: 40px 0; }
.parity.dim { opacity: .5; }

/* Footer */
.footer { background: var(--night); color: var(--cream-faint); padding: 40px 0; font-size: 0.82rem; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer .src { max-width: 60ch; }
.footer .foot-loc { font-size: 0.82rem; color: var(--cream-faint); letter-spacing: 0.08em; }
.footer .foot-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.footer .foot-copy { font-size: 0.72rem; color: var(--cream-faint); letter-spacing: 0.04em; opacity: .68; }
.footer .foot-legal { display: flex; gap: 16px; margin-top: 2px; }
.footer .foot-terms { font-size: 0.72rem; color: var(--cream-faint); letter-spacing: 0.03em; text-decoration: underline; text-underline-offset: 2px; }
.footer .foot-terms:hover { color: var(--cream); }
/* T&C agree checkbox in the auth modal */
.af-tos { display: flex; align-items: flex-start; gap: 8px; font-size: 0.82rem; color: var(--muted); margin: 2px 0 4px; line-height: 1.45; cursor: pointer; }
.af-tos input { margin-top: 2px; width: 15px; height: 15px; accent-color: var(--ink); flex: 0 0 auto; }
.af-tos a { color: var(--accent); }
/* paid-feature lock gate (Offer Analyzer for non-paid) */
.gate { max-width: 540px; margin: 64px auto; text-align: center; padding: 44px 34px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.gate .lock { font-size: 2rem; color: var(--accent); line-height: 0; }
.gate h2 { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; letter-spacing: -0.01em; margin: 10px 0 8px; }
.gate p { color: var(--muted); line-height: 1.6; max-width: 42ch; margin: 0 auto 22px; }
.gate .gate-cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.gate-note { color: var(--faint); font-size: 0.82rem; line-height: 1.5; max-width: 42ch; margin: 16px auto 0; }
.lock-tag .ico-lock { margin-right: 5px; }
/* mobile nav — tabs scroll horizontally so nothing clips / stays reachable */
.nav-left { min-width: 0; }

/* Mobile hamburger nav (below 760px the inline tabs/actions can't fit → ☰ dropdown) */
.nav-burger { display: none; background: none; border: 0; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 6px 6px; }
.nav-burger:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 3px; }
.nav-menu { display: none; position: fixed; top: 74px; left: 0; right: 0; z-index: 59; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 44px rgba(16,20,32,.16); max-height: calc(100vh - 74px); overflow-y: auto; }
.nav-menu.open { display: block; }
.nav-menu .nav-menu-tabs { padding: 6px 0; border-bottom: 1px solid var(--line); }
.nav-menu .nav-menu-actions { padding: 6px 0 12px; }
.nav-menu a, .nav-menu button { display: block; width: 100%; text-align: left; box-sizing: border-box; padding: 14px 24px; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink); opacity: 1; background: none; border: 0; cursor: pointer; }
.nav-menu a:hover, .nav-menu button:hover { background: rgba(127,138,160,.10); }
.nav-menu a[aria-selected="true"] { font-weight: 600; color: var(--night); box-shadow: inset 3px 0 0 var(--accent); }
.nav-menu .nav-chip { display: flex; flex-direction: row; align-items: baseline; gap: 10px; border: 0; padding: 14px 24px; }
.nav-menu .nav-chip .chip-cred { opacity: .65; }
.nav-menu .cart-badge { position: static; display: inline-block; margin-left: 6px; }

@media (max-width: 820px) {
  .nav-inner .nav-tabs { display: none; }
  .nav-inner .nav-actions { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (min-width: 821px) { .nav-menu { display: none !important; } .nav-burger { display: none !important; } }
@media (max-width: 460px) { .brand { font-size: 1.05rem; } }
/* chart tab bar: scroll instead of wrap when there are many tabs; lock beyond tier limit */
.vz-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
.vz-tabs::-webkit-scrollbar { height: 0; }
.vz-tab { white-space: nowrap; }
.vz-tab.locked { opacity: .55; }
.vz-tab.locked::after { content: ""; display: inline-block; width: .8em; height: .8em; margin-left: .38em; vertical-align: -0.06em; background: currentColor; -webkit-mask: var(--lock-ico) center/contain no-repeat; mask: var(--lock-ico) center/contain no-repeat; }

/* Responsive */
@media (max-width: 900px) {
  .wrap { padding: 0 22px; }
  .sb-grid { grid-template-columns: 1fr; gap: 18px; }
  .tool-grid { grid-template-columns: 1fr; }
  .col-results { padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .col-parity { padding: 34px 0 0; }
  .nav .tagline { display: none; }
}

/* ==========================================================================
   Commerce layer — nav account state, auth modal, pricing, cart, paywall
   ========================================================================== */

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 22px; }
.nav-link { font-family: var(--sans); font-size: 0.9rem; font-weight: 500; color: inherit; opacity: .85; background: none; border: 0; cursor: pointer; transition: opacity .2s; }
.nav-link:hover { opacity: 1; }
.cart-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 17px; padding: 0 6px; margin-left: 5px; border-radius: 4px; background: var(--accent); color: #fff; font-size: 0.68rem; font-weight: 600; vertical-align: 1px; }

/* sticky footer: short pages (e.g. the Offer Analyzer gate) still push the footer to the bottom */
body.sticky-foot { display: flex; flex-direction: column; min-height: 100vh; }
body.sticky-foot > .footer { margin-top: auto; }

/* free-trial banner above the search bars on the tool pages */
.trial-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; margin-bottom: 22px; }
.trial-bar .t-txt { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.trial-bar .t-txt strong { color: var(--ink); font-weight: 600; }
.trial-bar .btn-line { white-space: nowrap; }
.trial-bar.on-dark { background: rgba(236,231,219,.06); border-color: rgba(236,231,219,.16); }
.trial-bar.on-dark .t-txt { color: var(--cream-2); }
.trial-bar.on-dark .t-txt strong { color: var(--cream); }
.trial-bar.on-dark .btn-line { color: var(--cream); border-color: rgba(236,231,219,.4); }
.trial-bar.on-dark .btn-line:hover { border-color: var(--cream); }
@media (max-width: 560px) { .trial-bar { padding: 12px 14px; } .trial-bar .btn-line { width: 100%; } }
.btn-ghost { border: 1px solid currentColor; border-radius: 2px; padding: 7px 16px; }
.nav-chip { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1.12; padding: 6px 14px; border: 1px solid rgba(127,138,160,.42); border-radius: 3px; transition: border-color .2s; }
.nav-chip:hover { border-color: var(--accent); }
.nav-chip .chip-name { font-size: 0.86rem; font-weight: 600; }
.nav-chip .chip-cred { font-size: 0.67rem; letter-spacing: .03em; opacity: .7; }

/* Light-page buttons */
.btn-solid { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; padding: 14px 28px; border-radius: 2px; border: 1px solid var(--night); background: var(--night); color: var(--cream); cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; display: inline-block; text-align: center; }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn-solid:disabled { opacity: .5; cursor: default; }
.btn-line { font-family: var(--sans); font-weight: 500; font-size: 0.92rem; padding: 14px 28px; border-radius: 2px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: all .25s var(--ease); white-space: nowrap; display: inline-block; text-align: center; }
.btn-line:hover { border-color: var(--ink); }

/* Sub-pages */
.page { padding: 128px 0 90px; min-height: 72vh; }
.page-head { margin-bottom: 46px; }
.page-head h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.025em; }
.page-head .em { font-style: italic; color: var(--accent); }
.page-sub { margin-top: 18px; max-width: 62ch; font-size: 1.05rem; color: var(--muted); }
.page-note { margin-top: 12px; font-size: 0.8rem; color: var(--faint); }
.page-head .fn, .page-note .fn { color: var(--accent); }

/* Plans */
.free-trial-line { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 30px; line-height: 1.55; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 34px 30px; display: flex; flex-direction: column; transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.plan:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 44px rgba(16,15,11,.08); }
.plan.popular { border-color: var(--night); box-shadow: 0 20px 50px rgba(16,15,11,.12); }
.plan-badge { position: absolute; top: -12px; left: 30px; background: var(--night); color: var(--cream); font-size: 0.63rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 12px; border-radius: 2px; }
.plan-name { font-family: var(--serif); font-size: 1.5rem; }
.plan-price { font-family: var(--serif); font-size: 2.9rem; letter-spacing: -0.02em; margin-top: 12px; }
.plan-per { font-size: 0.82rem; color: var(--accent); margin-top: 2px; }
.plan-searches { font-size: 1.02rem; margin-top: 16px; }
.plan-searches strong { font-weight: 600; }
.plan-exp { font-size: 0.84rem; color: var(--muted); margin-top: 4px; }
.plan-feats { list-style: none; margin: 22px 0 26px; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.plan-feats li { font-size: 0.9rem; color: var(--ink-2); padding-left: 24px; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.plan-cta { margin-top: auto; width: 100%; }
/* upgrade view (paid users): current plan greyed, higher plans show struck price + upgrade diff */
.plan.is-current { opacity: .6; }
.plan-badge.current { background: var(--muted); }
.plan-price .plan-was { color: var(--faint); font-size: 1.7rem; text-decoration-thickness: 2px; }
.plan-price .plan-up { color: var(--ink); }
.plan-upnote { font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.plan-cta[disabled] { opacity: .5; cursor: default; }

/* Cart */
.cart-sec { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.cart-title { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 22px; }
.cart-empty { color: var(--muted); font-size: 0.98rem; padding: 10px 0; }
.cart-empty a { color: var(--accent); border-bottom: 1px solid var(--accent); }
.cart-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-nm { font-family: var(--serif); font-size: 1.15rem; }
.cart-sub { font-size: 0.85rem; color: var(--muted); }
.cart-meta { font-size: 0.82rem; color: var(--muted); }
.cart-qty { display: flex; align-items: center; gap: 12px; }
.qbtn { width: 30px; height: 30px; border: 1px solid var(--line-2); background: var(--paper); border-radius: 3px; cursor: pointer; font-size: 1.1rem; line-height: 1; color: var(--ink-2); }
.qbtn:hover { border-color: var(--ink); }
.qn { min-width: 18px; text-align: center; font-variant-numeric: tabular-nums; font-family: var(--sans); font-size: 0.95rem; font-weight: 500; color: var(--ink); }
.cart-lineprice { font-family: var(--serif); font-size: 1.15rem; min-width: 84px; text-align: right; }
.cart-x { background: none; border: 0; color: var(--faint); font-size: 1.3rem; cursor: pointer; line-height: 1; }
.cart-x:hover { color: var(--ink); }
.cart-foot { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; }
.cart-total { display: flex; justify-content: flex-end; align-items: baseline; gap: 16px; font-size: 1rem; color: var(--muted); }
.cart-total strong { font-family: var(--serif); font-size: 1.9rem; color: var(--ink); font-weight: 400; }
.cart-actions { display: flex; justify-content: flex-end; gap: 14px; }
.pricing-note { margin-top: 22px; font-size: 0.84rem; color: var(--faint); max-width: 68ch; }

/* Auth modal */
.modal-ov { position: fixed; inset: 0; z-index: 200; background: rgba(17,21,32,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-ov[hidden] { display: none; }
.modal { position: relative; width: 100%; max-width: 420px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 40px 36px 34px; box-shadow: 0 40px 90px rgba(10,12,20,.4); }
.modal-x { position: absolute; top: 14px; right: 18px; background: none; border: 0; font-size: 1.5rem; color: var(--faint); cursor: pointer; line-height: 1; }
.modal-x:hover { color: var(--ink); }
.modal-title { font-family: var(--serif); font-size: 1.7rem; }
.modal-sub { font-size: 0.92rem; color: var(--muted); margin-top: 6px; }
.auth-tabs { display: flex; gap: 6px; margin: 22px 0 20px; background: var(--paper-2); border-radius: 5px; padding: 4px; }
.atab { flex: 1; padding: 9px; border: 0; background: none; border-radius: 3px; font-family: var(--sans); font-size: 0.88rem; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .2s; }
.atab.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(16,15,11,.1); }
.af-row { margin-bottom: 15px; }
.af-row label { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--muted); margin-bottom: 7px; }
.af-row input { width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 3px; padding: 12px 14px; outline: none; transition: border-color .2s; }
.af-row input:focus { border-color: var(--ink); }
.af-err { color: #b4402f; font-size: 0.86rem; margin: -4px 0 12px; }
.af-hint { display: block; font-size: 0.76rem; color: var(--faint); margin-top: 7px; line-height: 1.45; }
.af-forgot { display: block; margin: 12px auto 0; background: none; border: 0; padding: 0; color: var(--muted); font-family: var(--sans); font-size: 0.84rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.af-forgot:hover { color: var(--ink); }
.verify-note { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; border-radius: 8px; padding: 14px 18px; margin-bottom: 22px; font-size: 0.92rem; line-height: 1.5; }
.verify-note .btn-line { white-space: nowrap; border-color: #d98c4a; color: #9a3412; }
.verify-note .btn-line:hover { border-color: #9a3412; }
.af-submit { width: 100%; margin-top: 6px; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 300; background: var(--night); color: var(--cream); font-size: 0.9rem; padding: 13px 22px; border-radius: 4px; box-shadow: 0 16px 40px rgba(10,12,20,.35); max-width: 90vw; text-align: center; }

/* Paywall — preview banner */
.paywall { margin-top: 30px; background: var(--night); color: var(--cream); border-radius: 6px; padding: 22px 26px; }
.pw-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pw-txt { font-size: 0.98rem; color: var(--cream-2); max-width: 60ch; }
.pw-txt strong { color: var(--cream); font-weight: 600; }
.pw-left { color: var(--accent-soft); }
.pw-cta { display: flex; gap: 12px; flex-shrink: 0; }
.paywall .btn-line { color: var(--cream); border-color: rgba(236,231,219,.4); }
.paywall .btn-line:hover { border-color: var(--cream); }

/* Paywall — full page */
.paywall-full { text-align: center; padding: 70px 20px; }
.paywall-full .pf-mark, .acct-gate .pf-mark { font-size: 2.4rem; color: var(--accent); line-height: 0; }
.paywall-full h2, .acct-gate h2 { font-family: var(--serif); font-size: 1.9rem; margin-top: 14px; }
.paywall-full p, .acct-gate p { color: var(--muted); margin-top: 10px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.pf-cta { display: flex; gap: 14px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }

/* Locked result rows (free preview) */
.res-row.locked .res-mono.lockico { display: flex; align-items: center; justify-content: center; font-size: 0.9rem; background: var(--paper-2); }
.locked-co { display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.blurbar { display: block; height: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--line-2), var(--line)); }
.blurbar.b1 { width: 150px; } .blurbar.b2 { width: 96px; height: 10px; opacity: .7; }
.lock-tag { color: var(--accent) !important; border-color: var(--accent) !important; }

/* Account page */
.banner.success { background: #e7f3ec; border: 1px solid #bcdfc9; color: #1f6b3b; padding: 14px 18px; border-radius: 5px; margin-bottom: 26px; font-size: 0.92rem; }
.acct-card { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 30px 32px; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.acct-name { font-family: var(--serif); font-size: 1.5rem; }
.acct-email { font-size: 0.9rem; color: var(--muted); margin-top: 4px; }
.acct-bal { display: flex; align-items: center; gap: 18px; padding-top: 24px; flex-wrap: wrap; }
.bal-lab { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.bal-num { font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.bal-buy { margin-left: auto; }
.acct-sec { margin-top: 44px; }
.acct-h2 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 18px; }
.acct-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.acct-sec-head .acct-h2 { margin-bottom: 0; }
.acct-buy { font-size: 0.82rem; padding: 9px 16px; }
.lot { padding: 16px 0; border-bottom: 1px solid var(--line); }
.lot-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.lot-name { font-family: var(--serif); font-size: 1.15rem; }
.lot-count { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lot-bar { height: 9px; background: var(--paper-2); border-radius: 999px; overflow: hidden; }
.lot-bar-fill { display: block; height: 100%; background: var(--night); border-radius: 999px; transition: width .5s var(--ease); }
.lot-exp { margin-top: 8px; font-size: 0.82rem; color: var(--muted); }
.lot.expired { opacity: .6; }
.lot.expired .lot-bar-fill { background: #b4402f; }
.lot-flag { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b4402f; border: 1px solid #e3b8b0; border-radius: 2px; padding: 2px 7px; vertical-align: 0.15em; }
.order { display: flex; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.ord-nm { font-weight: 500; flex: 1; }
.ord-meta { color: var(--muted); }
.ord-date { color: var(--faint); font-size: 0.84rem; min-width: 120px; text-align: right; }
.acct-gate { text-align: center; padding: 60px 20px; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
  .nav-actions { gap: 13px; }
  .page { padding: 104px 0 64px; }
  .pw-inner { flex-direction: column; align-items: flex-start; }
  .cart-lineprice { min-width: 64px; }
  .ord-date { min-width: 92px; }
}


/* ==========================================================================
   On-page salary distribution viz (above search results)
   ========================================================================== */
.vz-wrap { margin-bottom: 44px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 40px rgba(16,15,11,.06); overflow: hidden; }
.vz-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 22px 26px 14px; flex-wrap: wrap; }
.vz-title { font-family: var(--serif); font-size: 1.32rem; color: var(--ink); }
.vz-title span { font-family: var(--sans); font-size: .86rem; color: var(--muted); }
.vz-offer { text-align: right; }
.vz-offer label { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.vz-in { display: inline-flex; align-items: center; gap: 3px; border: 1px solid var(--line-2); border-radius: 7px; padding: 7px 12px; background: #fff; transition: border-color .2s; }
.vz-in:focus-within { border-color: #b45309; }
.vz-in span { color: var(--muted); font-family: var(--serif); font-size: 1.05rem; }
.vz-in input { border: 0; outline: 0; background: none; font-family: var(--serif); font-size: 1.1rem; width: 96px; color: var(--ink); font-variant-numeric: tabular-nums; }
.vz-in input::placeholder { color: var(--faint); font-style: italic; font-size: .9rem; }
.vz-tabs { display: flex; gap: 2px; padding: 0 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.vz-tabs::-webkit-scrollbar { display: none; }
.vz-tab { appearance: none; background: none; border: 0; cursor: pointer; white-space: nowrap; font-family: var(--sans); font-size: .86rem; color: var(--muted); padding: 13px 13px 11px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s; }
.vz-tab:hover { color: var(--ink); }
.vz-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: #0f766e; font-weight: 600; }
.vz-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.vz-chart { padding: 20px 24px 6px; max-height: 520px; overflow-y: auto; overflow-x: hidden; }
.vz-chart::-webkit-scrollbar { width: 10px; }
.vz-chart::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 6px; border: 3px solid var(--card); }
.vz-chart::-webkit-scrollbar-track { background: transparent; }
.vz-chart svg { display: block; width: 100%; height: auto; }
.vz-chart svg .vz-hit { fill: transparent; cursor: crosshair; transition: fill .12s; }
.vz-chart svg .vz-hit:hover { fill: rgba(15,118,110,.08); }
.vz-chart svg .vz-mk { cursor: pointer; }
.vz-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 4px 26px 22px; }
.vz-obs { font-size: .8rem; color: var(--muted); }
.vz-obs strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.vz-legend { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); }
.vz-legend .s { display: inline-flex; align-items: center; gap: 6px; }
.vz-legend i { display: inline-block; width: 15px; height: 11px; border-radius: 2px; border: 1px solid rgba(15,118,110,.28); }
#vzTip { position: fixed; z-index: 120; pointer-events: none; opacity: 0; transition: opacity .1s; background: #111520; color: #eef0f4; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 13px; font-family: var(--sans); font-size: .82rem; line-height: 1.4; box-shadow: 0 14px 34px rgba(0,0,0,.34); min-width: 176px; }
#vzTip .l { display: block; color: #aeb5c2; font-size: .72rem; }
#vzTip .v { display: block; font-family: var(--serif); font-size: 1.3rem; font-variant-numeric: tabular-nums; margin: 1px 0 6px; }
#vzTip .v em { font-family: var(--sans); font-style: normal; font-size: .7rem; color: #9aa1ad; margin-left: 6px; }
#vzTip .r { display: flex; justify-content: space-between; gap: 22px; margin-top: 3px; font-size: .77rem; }
#vzTip .r span { color: #9aa1ad; } #vzTip .r b { font-variant-numeric: tabular-nums; }
/* real-postings evidence list (hover over a bar) */
#vzTip.has-samples, #vzTip { max-width: 340px; }
#vzTip .vz-sh { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: #8b93a1; margin: 9px 0 5px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 8px; }
#vzTip .vz-s { display: flex; justify-content: space-between; gap: 14px; font-size: .78rem; line-height: 1.5; }
#vzTip .vz-s .vz-sc { color: #dfe3ea; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#vzTip .vz-s b { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ==========================================================================
   Top nav tabs (Search / Benchmarks) + Benchmarks view
   ========================================================================== */
.nav-left { display: flex; align-items: center; gap: 30px; }
.nav-tabs { display: flex; gap: 6px; }
.nav-tab { appearance: none; background: none; border: 0; color: inherit; opacity: .66; cursor: pointer; font-family: var(--sans); font-size: 0.9rem; padding: 8px 4px; border-bottom: 2px solid transparent; transition: opacity .2s; }
.nav-tab:hover { opacity: 1; }
.nav-tab[aria-selected="true"] { opacity: 1; border-bottom-color: currentColor; font-weight: 600; }
.nav-tab:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 3px; }

.benchview { padding: 120px 0 90px; min-height: 80vh; background: var(--paper); }
.benchview .page-head { margin-bottom: 24px; }
.bench-controls { margin-bottom: 28px; display: flex; align-items: flex-end; gap: 26px; flex-wrap: wrap; }
.bench-controls .sb-field { max-width: 340px; flex: 1 1 300px; }
/* Role / Company / Sector segmented control */
.bench-modes { display: inline-flex; gap: 2px; padding: 3px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 8px; }
.bench-mode { font-family: var(--sans); font-size: 0.86rem; font-weight: 500; color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 8px 16px; cursor: pointer; transition: background .15s, color .15s; }
.bench-mode:hover { color: var(--ink); }
.bench-mode[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(16,15,11,.10); }
/* salary min/max filter — $25k-step dropdowns */
.bench-salary { flex: 0 0 auto; }
.sal-row { display: flex; align-items: flex-end; gap: 8px; }
.sal-row .dash { color: var(--faint); padding-bottom: 8px; }
.sal-dd { position: relative; }
.sal-btn { font-family: var(--sans); font-weight: 500; font-size: 0.9rem; padding: 8px 0; min-width: 88px; }
.sal-dd .loc-pop { min-width: 120px; max-height: 260px; }
/* reuse the search-bar dropdown (.loc-btn/.loc-pop), recoloured for the light page */
.benchview .sb-field > label { color: var(--muted); }
.benchview .loc-btn { color: var(--ink); border-bottom-color: var(--line-2); }
.benchview .loc-btn:hover { border-bottom-color: var(--ink); }
.benchview .loc-btn .car { color: var(--faint); }
.bench-opt.sel .nm { color: var(--ink); font-weight: 600; }
.bench-opt .tier { color: var(--accent); }
.bench-loading { color: var(--muted); padding: 60px 0; font-size: 0.98rem; }
/* sticky search box inside the role dropdown */
.loc-search { position: sticky; top: -14px; margin: -14px -14px 8px; padding: 14px 14px 10px; background: var(--paper); border-bottom: 1px solid var(--line); z-index: 2; }
.loc-search input { width: 100%; font-family: var(--sans); font-size: 0.92rem; color: var(--ink); background: var(--card); border: 1px solid var(--line-2); border-radius: 4px; padding: 8px 11px; outline: none; transition: border-color .15s; }
.loc-search input:focus { border-color: var(--accent); }
.loc-search input::placeholder { color: var(--faint); }
.bench-nomatch { padding: 9px 6px; color: var(--faint); font-size: 0.9rem; }
@media (max-width: 640px){ .nav-tabs { gap: 2px; } .nav-left { gap: 16px; } }
