/* NoFakeJob for Employers — one stylesheet, no build step.
   Every color is a token below, with a light and a dark set. */

:root {
  --ink: #0B0D12;
  --ink-2: #3B404A;
  --muted: #5A606C;
  --line: #E3E6EC;
  --line-2: #C9CDD6;
  --ground: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F7F8FA;
  --hover: #EEF0F4;
  --grid: #E9EBF0;
  --accent: #1D4FE0;
  --accent-ink: #1238A8;
  --accent-btn: #1D4FE0;
  --accent-soft: rgba(29,79,224,0.10);
  --primary: #0B0D12;
  --primary-hover: #22262F;
  --on-primary: #FFFFFF;
  --ok: #0A7A45;
  --ok-ink: #0A5A34;
  --ok-bg: #E7F5EE;
  --ok-line: #9BD8B8;
  --live: #12B76A;
  --warn: #8A4B00;
  --warn-ink: #6B3A00;
  --warn-bg: #FFF1E0;
  --warn-line: #F2C98A;
  --bad: #A11A1A;
  --bad-ink: #8E1414;
  --bad-bg: #FDECEC;
  --bad-soft: #FFFAF9;
  --bad-line: #F0A9A3;
  --danger: #B42318;
  --danger-hover: #912018;
  --info: #2A4A9A;
  --info-bg: #EEF2FB;
  --chip-muted: #F0F1F4;
  --row-line: #EEF0F3;
  --shadow-sm: 0 1px 2px rgba(11,13,18,0.04);
  --shadow: 0 1px 2px rgba(11,13,18,0.04), 0 12px 32px rgba(11,13,18,0.06);
  --shadow-lg: 0 1px 2px rgba(11,13,18,0.04), 0 16px 48px rgba(11,13,18,0.08);
  --focus: 0 0 0 3px rgba(29,79,224,0.22);
  --radius: 18px;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --side-w: 248px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --ink: #ECF0F8; --ink-2: #C3CAD6; --muted: #8E97A8; --line: #232937; --line-2: #343C4D;
  --ground: #0A0D14; --surface: #11151F; --surface-2: #151A26; --hover: #1A2030; --grid: #121724;
  --accent: #7BA2FF; --accent-ink: #A9C2FF; --accent-btn: #2F62E8; --accent-soft: rgba(91,140,255,0.14);
  --primary: #ECF0F8; --primary-hover: #FFFFFF; --on-primary: #0B0D12;
  --ok: #4ADE95; --ok-ink: #A8F0CA; --ok-bg: rgba(74,222,149,0.12); --ok-line: rgba(74,222,149,0.35); --live: #2BD486;
  --warn: #F5B454; --warn-ink: #FAD9A8; --warn-bg: rgba(245,180,84,0.13); --warn-line: rgba(245,180,84,0.38);
  --bad: #FF8A80; --bad-ink: #FFB4AD; --bad-bg: rgba(255,122,110,0.13); --bad-soft: rgba(255,122,110,0.05); --bad-line: rgba(255,122,110,0.4);
  --danger: #D9362B; --danger-hover: #F04438; --info: #A9C2FF; --info-bg: rgba(91,140,255,0.14);
  --chip-muted: #1C2230; --row-line: #1B2130;
  --shadow-sm: none; --shadow: 0 1px 0 rgba(255,255,255,0.03) inset; --shadow-lg: 0 24px 60px rgba(0,0,0,0.45);
  --focus: 0 0 0 3px rgba(123,162,255,0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { color: var(--accent-ink); }
a.plain { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
code { font-family: var(--mono); font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--primary); color: var(--on-primary); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: var(--on-primary); }

/* Brand */
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 4px; color: var(--ink); }
.brand-mark { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; line-height: 1; white-space: nowrap; }
.brand .dot, .brand-mark .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 2px rgba(18,183,106,0.22); flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; letter-spacing: 0.01em; color: var(--ink-2); }
.brand-by { font-family: var(--body); font-weight: 500; color: var(--muted); }
.brand-title { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid transparent; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease; }
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--primary); color: var(--on-primary); }
.btn-dark:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn-accent { background: var(--accent-btn); color: #fff; box-shadow: 0 6px 18px rgba(29,79,224,0.22); }
.btn-accent:hover { background: var(--accent-ink); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); font-weight: 500; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: var(--surface-2); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: var(--danger-hover); color: #fff; }
.btn-lg { min-height: 52px; font-size: 15px; border-radius: 14px; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--hover); color: var(--ink); }
.theme-btn .i-sun, .theme-btn .i-moon { display: none; }
.theme-btn[data-mode="light"] .i-sun { display: block; }
.theme-btn[data-mode="dark"] .i-moon { display: block; }
.theme-btn[data-mode="light"] .i-auto, .theme-btn[data-mode="dark"] .i-auto { display: none; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.input, select.input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); font: inherit; font-size: 15px; color: var(--ink); transition: border-color 140ms ease, box-shadow 140ms ease; }
textarea.input { padding: 12px 14px; }
.input::placeholder { color: var(--muted); opacity: 0.8; }
.input:focus { border-color: var(--accent); outline: none; box-shadow: var(--focus); }
.input:disabled { background: var(--surface-2); color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.error { font-size: 14px; color: var(--bad); background: var(--bad-bg); border-radius: 12px; padding: 10px 14px; }
.radio { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; min-height: 32px; cursor: pointer; }
.radio input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-bad { background: var(--bad-bg); color: var(--bad); }
.chip-muted { background: var(--chip-muted); color: var(--ink-2); }
.chip-mono { font-family: var(--mono); font-weight: 500; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); display: inline-block; }

/* Auth and public pages */
.auth { min-height: 100vh; display: flex; flex-direction: column; background-color: var(--ground); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 48px 48px; }
.auth-top { display: flex; align-items: center; justify-content: space-between; padding: 20px clamp(16px, 4vw, 48px); }
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 64px; }
.auth-foot { padding: 20px; text-align: center; font-size: 13px; color: var(--muted); }
.auth-foot a { color: var(--muted); }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 20px; }
.auth-card h1 { font-size: clamp(28px, 4vw, 34px); line-height: 1.1; letter-spacing: -0.03em; }
.auth-card .lead { color: var(--muted); font-size: 15px; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; }
.auth-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--ink-2); }
.auth-list li { display: flex; gap: 10px; align-items: flex-start; }
.auth-list svg { flex: none; margin-top: 3px; color: var(--ok); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-family: var(--mono); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- Console shell ---------- */
.shell { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; background: linear-gradient(90deg, var(--surface) calc(var(--side-w) - 1px), var(--line) calc(var(--side-w) - 1px), var(--line) var(--side-w), transparent var(--side-w)); }
.topbar { display: none; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 26px 14px 16px; background: var(--surface); border-right: 1px solid var(--line); }
.side-brand { padding: 0 12px 4px; }
.side-org { display: flex; align-items: center; gap: 10px; margin: 14px 0 12px; padding: 14px 12px 0; border-top: 1px solid var(--line); min-width: 0; }
.org-tile { width: 26px; height: 26px; flex: none; border-radius: 7px; display: flex; align-items: center; justify-content: center; background: var(--primary); color: var(--on-primary); font-family: var(--display); font-weight: 700; font-size: 10.5px; }
.side-org-name { font-weight: 600; font-size: 13.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.side-link { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background-color 140ms ease, color 140ms ease; }
.side-link svg { color: var(--muted); flex: none; transition: color 140ms ease; }
.side-link:hover { background: var(--hover); color: var(--ink); }
.side-link.is-active { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.side-link.is-active svg { color: var(--accent); }
.side-link.is-active::before { content: ''; position: absolute; left: -14px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-label { flex: 1; }
.nav-badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--bad-bg); color: var(--bad); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 6px 0; border-top: 1px solid var(--line); }
.side-user { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 6px; }
.side-actions { display: flex; gap: 4px; }
.side-actions form { display: contents; }
.main { min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 64px; display: flex; flex-direction: column; gap: 22px; max-width: 1280px; width: 100%; }

/* Section tabs */
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tab { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background-color 140ms ease, color 140ms ease; }
.tab:hover { color: var(--ink); background: var(--hover); }
.tab.is-on { background: var(--primary); color: var(--on-primary); font-weight: 600; }

/* Phone: top bar + bottom tab bar */
@media (max-width: 760px) {
  .shell { display: block; background: none; padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px 10px 16px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
  .topbar-actions { display: flex; gap: 2px; }
  .topbar-actions form { display: contents; }
  .side { position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 30; height: auto; overflow: visible; flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); gap: 0; border-right: 0; border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); }
  .side-brand, .side-org, .side-foot { display: none; }
  .side-links { flex-direction: row; width: 100%; justify-content: space-around; }
  .side-links li { flex: 1; }
  .side-link { flex-direction: column; gap: 3px; min-height: 56px; padding: 6px 2px; justify-content: center; font-size: 11px; font-weight: 600; }
  .side-link.is-active { background: transparent; color: var(--accent); }
  .side-link.is-active::before { left: 30%; right: 30%; top: -7px; bottom: auto; width: auto; height: 3px; border-radius: 0 0 3px 3px; }
  .side-label { flex: none; }
  .nav-badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; font-size: 10.5px; }
  .main { padding: 18px 14px 32px; gap: 18px; }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 0 10px; }
}

/* ---------- Console pieces ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.org-id { display: flex; align-items: center; gap: 14px; }
.mono-tile { width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 18px; }
.page-head h1 { font-size: clamp(24px, 3vw, 30px); letter-spacing: -0.025em; }
.badge-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; text-decoration: none; }
.badge-active { color: var(--ok); }
.badge-due, .badge-partial { color: var(--warn); }
.badge-off { color: var(--muted); }

.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.kpi { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow-sm); overflow: hidden; }
.kpi-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.kpi-value { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi-note { font-size: 13px; color: var(--muted); }
.kpi-trend { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 600; }
.kpi-trend.up { color: var(--ok); } .kpi-trend.down { color: var(--bad); } .kpi-trend.flat { color: var(--muted); }
.spark { display: block; width: 100%; height: 40px; margin-top: 4px; }
.spark path.line { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.spark path.area { fill: var(--accent-soft); stroke: none; }
.spark circle { fill: var(--accent); }

.row { display: flex; flex-wrap: wrap; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; box-shadow: var(--shadow-sm); }
.row > .card { flex: 1 1 340px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.card h2 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.card .sub { font-size: 14px; color: var(--muted); }
.card-link { font-size: 13.5px; font-weight: 600; text-decoration: none; }
.setup-card { border: 2px solid var(--primary); padding: 21px; }
.danger-card { border-color: var(--bad-line); }

.stale-item { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.stale-item .grow { flex: 1 1 200px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.stale-item .t { font-weight: 600; font-size: 15px; }
.stale-item .m { font-size: 13px; color: var(--muted); }
.stale-item form { display: contents; }
.stale-item .btn { min-height: 40px; }
.empty { padding: 18px; border: 1px dashed var(--line-2); border-radius: 14px; color: var(--muted); font-size: 14px; text-align: center; }

.kv { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); flex-wrap: wrap; }
.kv .k { font-size: 13px; color: var(--muted); }
.kv .v { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; }
.status-ok { color: var(--ok); } .status-warn { color: var(--warn); } .status-off { color: var(--muted); }

/* Command center: needs your attention */
.attn { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.attn-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease; }
a.attn-item:hover { border-color: var(--line-2); background: var(--surface-2); color: var(--ink); }
a.attn-item:hover .attn-go { transform: translateX(2px); }
.attn-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.attn-bad .attn-icon { background: var(--bad-bg); color: var(--bad); }
.attn-warn .attn-icon { background: var(--warn-bg); color: var(--warn); }
.attn-info .attn-icon { background: var(--info-bg); color: var(--info); }
.attn-t { font-weight: 600; font-size: 15px; display: block; }
.attn-m { font-size: 13px; color: var(--muted); display: block; }
.attn-go { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; transition: transform 140ms ease; white-space: nowrap; }
.all-clear { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--ok-bg); color: var(--ok-ink); font-weight: 500; }
.all-clear svg { color: var(--ok); flex: none; }
.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.hero h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.03em; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 6px; }
.signal-card { position: relative; overflow: hidden; border: 0; background: #04060C; color: #CFE3FF; background-image: radial-gradient(120% 90% at 85% 10%, rgba(56,225,255,0.18), transparent 55%), radial-gradient(90% 70% at 10% 100%, rgba(124,255,178,0.10), transparent 60%); }
.signal-card h2 { color: #F2F8FF; }
.signal-card .sub { color: rgba(190,215,245,0.8); }
.signal-card .card-link { color: #38E1FF; }
.signal-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.signal-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.signal-rank { font-family: var(--mono); font-size: 12px; color: rgba(140,175,215,0.7); }
.signal-bar { grid-column: 2 / 4; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #38E1FF, rgba(56,225,255,0.1)); margin-top: -6px; }
.signal-val { font-family: var(--mono); color: #38E1FF; font-variant-numeric: tabular-nums; }
.signal-big { font-family: var(--display); font-weight: 700; font-size: 32px; color: #F2F8FF; letter-spacing: -0.03em; }
.signal-lock { color: rgba(200,222,250,0.85); font-size: 14px; }

/* Site health */
.health-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.score { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; line-height: 1; }
.score-ok { color: var(--ok); } .score-warn { color: var(--warn); } .score-bad { color: var(--bad); }
.issue-mini { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.issue-mini .chip { flex: none; }
.issue-mini > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.issue-mini .t { font-weight: 600; }
.issue-mini .m { color: var(--muted); }

/* Tables and filters */
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 500; }
.pill:hover { border-color: var(--line-2); background: var(--hover); color: var(--ink); }
.pill.is-on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); }
td { padding: 14px 16px; border-bottom: 1px solid var(--row-line); vertical-align: middle; }
tbody tr { transition: background-color 120ms ease; }
tbody tr:hover { background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td .t { font-weight: 600; }
td .m { font-size: 13px; color: var(--muted); }
td.actions { white-space: nowrap; text-align: right; }
td.actions form { display: inline; }
td.actions .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }

/* Benchmarks */
.bench { display: grid; grid-template-columns: minmax(110px, 200px) minmax(0, 1fr) 64px; align-items: center; gap: 14px; }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar { display: block; height: 10px; border-radius: 5px; background: var(--accent); min-width: 2px; }
.bar.sector { background: var(--line-2); }
.bench .delta { font-family: var(--mono); font-size: 13px; text-align: right; }
@media (max-width: 560px) {
  .bench { grid-template-columns: minmax(0, 1fr) 56px; row-gap: 8px; }
  .bench > span:first-child { grid-column: 1 / -1; }
}
.legend { display: flex; gap: 20px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 14px; height: 8px; border-radius: 4px; background: var(--accent); display: inline-block; }
.legend i.sector { background: var(--line-2); }

/* Code / secrets */
.code { font-family: var(--mono); font-size: 13px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; overflow-x: auto; white-space: pre; color: var(--ink); }
.secret-row { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.secret-row .code { flex: 1 1 260px; margin: 0; }

/* Flash */
.flash { padding: 12px 16px; border-radius: 14px; font-size: 14px; font-weight: 500; animation: flash-in 220ms ease-out; }
.flash-ok { background: var(--ok-bg); color: var(--ok-ink); }
.flash-warn { background: var(--warn-bg); color: var(--warn-ink); }
.flash-err { background: var(--bad-bg); color: var(--bad); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-4px); } }

/* Plans and public pages */
.plan { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.plan-card { border: 1px solid var(--line); border-radius: 20px; padding: 22px; background: var(--surface); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.plan-card.is-current, .plan-card.is-chosen { border: 2px solid var(--primary); padding: 21px; }
.plan-card .btn, .plan-card form { margin-top: auto; }
.plan-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan-card li { display: flex; gap: 10px; }
.plan-card li svg { flex: none; margin-top: 3px; color: var(--ok); }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-amount { font-family: var(--display); font-weight: 700; font-size: 36px; letter-spacing: -0.03em; line-height: 1; }
.price-per { font-size: 14px; color: var(--muted); }
.pricing { min-height: 100vh; background: var(--ground); }
.pricing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px clamp(16px, 4vw, 48px); flex-wrap: wrap; }
.pricing-main { max-width: 1120px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 28px; }
.pricing-hero { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 24px 0 8px; }
.pricing-hero h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: -0.04em; }
.pricing-hero p { max-width: 620px; font-size: 18px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.step-n { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.step-t { font-weight: 600; }
.step-d { font-size: 14px; color: var(--muted); }
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px 28px; font-size: 15px; color: var(--ink-2); }
.terms { max-width: 760px; gap: 22px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.terms h1 { font-size: clamp(32px, 4vw, 44px); }
.terms section { display: flex; flex-direction: column; gap: 6px; }
.terms h2 { font-size: 21px; }
.tier-opts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-2); }
.tier-opts li { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.size-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.help { max-width: 820px; }
.help details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.help summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; display: flex; align-items: center; }
.help details p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.6; }
.help h2 { font-size: 20px; margin-top: 8px; }
.pick-note { padding: 12px 14px; border-radius: 12px; background: var(--ok-bg); color: var(--ok-ink); font-size: 14px; }
.pick-note.warn { background: var(--warn-bg); color: var(--warn-ink); }

/* One-tap result page */
.tap { text-align: center; align-items: center; }
.tap-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); }
.tap-icon.muted { background: var(--chip-muted); color: var(--ink-2); }
.tap-icon.warn { background: var(--warn-bg); color: var(--warn); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Talent map (dark mission-control panel) ---------- */
.tm { position: relative; height: clamp(520px, 72vh, 760px); border-radius: 24px; overflow: hidden; background: #04060C; color: #CFE3FF; isolation: isolate; box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 24px 60px rgba(4,6,12,0.35); }
.tm:fullscreen { height: 100vh; border-radius: 0; }
.tm-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; }
.tm-canvas:active { cursor: grabbing; }
.tm-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 3px); mix-blend-mode: screen; }
.tm::before, .tm::after { content: ''; position: absolute; width: 22px; height: 22px; border: 1.5px solid rgba(56,225,255,0.55); pointer-events: none; z-index: 2; }
.tm::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.tm::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.tm-hud { position: absolute; z-index: 3; font-family: var(--mono); }
.tm-tl { top: 26px; left: 30px; display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: 46%; text-shadow: 0 1px 12px #04060C, 0 0 2px #04060C; }
.tm-stats, .tm-ticker, .tm-legend { text-shadow: 0 1px 10px #04060C, 0 0 2px #04060C; }
.tm-kicker { white-space: nowrap; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.16em; color: #38E1FF; }
.tm-blink { width: 7px; height: 7px; border-radius: 50%; background: #38E1FF; box-shadow: 0 0 10px #38E1FF; animation: tm-blink 1.4s steps(2, end) infinite; }
@keyframes tm-blink { 50% { opacity: 0.15; } }
.tm-dim { color: rgba(140,175,215,0.65); }
.tm-title { font-family: var(--display); font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.02em; color: #F2F8FF; margin: 0; }
.tm-sub { font-size: 11px; letter-spacing: 0.1em; color: rgba(160,195,235,0.75); text-transform: uppercase; }
.tm-stats { left: 30px; bottom: 74px; margin: 0; display: grid; grid-template-columns: repeat(5, auto); gap: 6px 26px; pointer-events: none; }
.tm-stats div { display: flex; flex-direction: column; gap: 2px; }
.tm-stats dt { font-size: 10px; letter-spacing: 0.16em; color: rgba(140,175,215,0.7); }
.tm-stats dd { margin: 0; paint-order: stroke; font-family: var(--display); font-weight: 600; font-size: clamp(18px, 2vw, 26px); color: #F2F8FF; text-shadow: 0 0 18px rgba(56,225,255,0.35); }
.tm-side { top: 26px; right: 26px; width: min(300px, 32%); max-height: calc(100% - 120px); overflow: auto; padding: 16px; border-radius: 16px; background: rgba(8,14,28,0.72); border: 1px solid rgba(56,160,255,0.22); backdrop-filter: blur(8px); scrollbar-width: thin; }
.tm-label { margin: 0 0 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: rgba(140,175,215,0.8); font-weight: 500; }
.tm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tm-row { position: relative; width: 100%; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; padding: 8px 8px 10px; min-height: 40px; border: 0; border-radius: 10px; background: transparent; color: #DCEBFF; font: inherit; font-size: 12px; text-align: left; cursor: pointer; }
.tm-row:hover, .tm-row:focus-visible { background: rgba(56,225,255,0.08); outline: none; }
.tm-row:focus-visible { box-shadow: 0 0 0 2px #38E1FF inset; }
.tm-rank { color: rgba(140,175,215,0.6); }
.tm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--body); font-size: 13px; }
.tm-val { color: #38E1FF; font-variant-numeric: tabular-nums; }
.tm-bar { position: absolute; left: 38px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #38E1FF, rgba(56,225,255,0.15)); max-width: calc(100% - 46px); }
.tm-hubs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.tm-hubs li { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 8px; color: #DCEBFF; }
.tm-hubs .tm-val { color: #7CFFB2; }
.tm-diamond { width: 9px; height: 9px; border: 1.5px solid #7CFFB2; transform: rotate(45deg); box-shadow: 0 0 8px rgba(124,255,178,0.6); }
.tm-diamond.tm-remote { border-style: dashed; box-shadow: none; }
.tm-empty { margin: 0; font-family: var(--body); font-size: 13px; color: rgba(190,215,245,0.8); }
.tm-ticker { left: 30px; right: 200px; bottom: 26px; font-size: 11px; letter-spacing: 0.12em; color: #9FE9FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.tm-controls { right: 26px; bottom: 22px; display: flex; gap: 8px; }
.tm-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid rgba(56,160,255,0.3); background: rgba(8,14,28,0.75); color: #CFE3FF; cursor: pointer; }
.tm-btn:hover { border-color: #38E1FF; color: #fff; }
.tm-btn:focus-visible { outline: 2px solid #38E1FF; outline-offset: 2px; }
.tm-legend { left: 30px; bottom: 50px; display: none; gap: 16px; font-size: 10px; letter-spacing: 0.12em; color: rgba(160,195,235,0.75); text-transform: uppercase; pointer-events: none; }
.tm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tm-legend i { display: inline-block; }
.lg-region { width: 8px; height: 8px; border-radius: 50%; background: #38E1FF; box-shadow: 0 0 8px #38E1FF; }
.lg-hub { width: 8px; height: 8px; border: 1.5px solid #7CFFB2; transform: rotate(45deg); }
.lg-arc { width: 18px; height: 2px; background: linear-gradient(90deg, rgba(56,225,255,0), #E9FBFF); }
.tm-lock { position: absolute; inset: 0; z-index: 4; display: flex; align-items: flex-end; justify-content: center; padding: 24px; background: linear-gradient(180deg, rgba(4,6,12,0) 40%, rgba(4,6,12,0.85) 100%); }
.tm-lock-card { max-width: 460px; text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; padding: 22px 24px; border-radius: 18px; background: rgba(8,14,28,0.85); border: 1px solid rgba(56,160,255,0.3); backdrop-filter: blur(8px); }
.tm-lock-card h3 { font-family: var(--display); font-size: 22px; color: #F2F8FF; margin: 0; }
.tm-lock-card p { margin: 0 0 6px; color: rgba(200,222,250,0.85); font-size: 14px; }
@media (min-width: 901px) { .tm-legend { display: flex; } }
@media (max-width: 900px) {
  .tm { height: auto; display: flex; flex-direction: column; }
  .tm-canvas { position: relative; height: 380px; }
  .tm-tl { position: relative; order: -1; top: auto; left: auto; max-width: none; padding: 20px 20px 4px; }
  .tm-stats { position: relative; left: auto; bottom: auto; padding: 4px 20px 0; grid-template-columns: repeat(3, auto); }
  .tm-side { position: relative; top: auto; right: auto; width: auto; max-height: none; margin: 14px 16px 16px; }
  .tm-ticker { position: relative; left: auto; right: auto; bottom: auto; padding: 10px 20px 0; }
  .tm-controls { top: 18px; right: 16px; bottom: auto; }
  .tm-tl { padding-right: 150px; }
  .tm-controls { top: 20px; }
  .tm-kicker .tm-dim { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tm-blink { animation: none; } }

/* Overview grid: three cards on wide screens */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
@media (max-width: 1180px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 > .signal-card { grid-column: 1 / -1; } }
@media (max-width: 760px) { .grid-3 { grid-template-columns: minmax(0, 1fr); } }
.grid-3 .stale-item { padding: 12px; }
.grid-3 .stale-item .btn { min-height: 36px; padding: 0 12px; font-size: 13px; }
@media (max-width: 560px) {
  .attn-item { grid-template-columns: 36px minmax(0, 1fr) 16px; gap: 12px; padding: 12px; }
  .attn-icon { width: 36px; height: 36px; }
  .attn-go { font-size: 0; gap: 0; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi { padding: 14px; }
  .kpi-value { font-size: 28px; }
  .kpi-trend { font-size: 11.5px; }
  .page-head .chip-mono { display: none; }
}

/* Talent map, day look: ink on white. Night stays the default above. */
.tm-look .i-night { display: none; }
.tm-day .tm-look .i-day { display: none; }
.tm-day .tm-look .i-night { display: block; }
.tm.tm-day { background: #FFFFFF; color: #3B404A; border: 1px solid var(--line); box-shadow: var(--shadow); }
.tm-day .tm-scan { display: none; }
.tm-day::before, .tm-day::after { border-color: rgba(11,13,18,0.35); }
.tm-day .tm-tl, .tm-day .tm-stats, .tm-day .tm-ticker, .tm-day .tm-legend { text-shadow: 0 1px 10px #fff, 0 0 2px #fff; }
.tm-day .tm-kicker { color: #0B0D12; }
.tm-day .tm-blink { background: #12B76A; box-shadow: none; }
.tm-day .tm-dim, .tm-day .tm-sub, .tm-day .tm-stats dt, .tm-day .tm-label, .tm-day .tm-legend, .tm-day .tm-rank { color: #5A606C; }
.tm-day .tm-title, .tm-day .tm-stats dd { color: #0B0D12; text-shadow: none; }
.tm-day .tm-side { background: rgba(255,255,255,0.86); border-color: #E3E6EC; box-shadow: 0 8px 24px rgba(11,13,18,0.06); }
.tm-day .tm-row, .tm-day .tm-hubs li { color: #0B0D12; }
.tm-day .tm-row:hover, .tm-day .tm-row:focus-visible { background: #F2F3F6; }
.tm-day .tm-row:focus-visible { box-shadow: 0 0 0 2px #0B0D12 inset; }
.tm-day .tm-val { color: #0B0D12; font-weight: 600; }
.tm-day .tm-bar { background: linear-gradient(90deg, #0B0D12, rgba(11,13,18,0.08)); }
.tm-day .tm-hubs .tm-val { color: #0A7A45; }
.tm-day .tm-diamond, .tm-day .lg-hub { border-color: #0A7A45; box-shadow: none; }
.tm-day .tm-empty { color: #5A606C; }
.tm-day .tm-ticker { color: #3B404A; }
.tm-day .tm-btn { background: #FFFFFF; border-color: #C9CDD6; color: #0B0D12; }
.tm-day .tm-btn:hover { border-color: #0B0D12; color: #0B0D12; }
.tm-day .tm-btn:focus-visible { outline-color: #0B0D12; }
.tm-day .lg-region { background: #0B0D12; box-shadow: none; }
.tm-day .lg-arc { background: linear-gradient(90deg, rgba(11,13,18,0), #0B0D12); }
.tm-day .tm-lock { background: linear-gradient(180deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.9) 100%); }
.tm-day .tm-lock-card { background: rgba(255,255,255,0.92); border-color: #E3E6EC; }
.tm-day .tm-lock-card h3 { color: #0B0D12; }
.tm-day .tm-lock-card p { color: #3B404A; }

/* Talent map insights */
.pill-n { margin-left: 6px; font-family: var(--mono); font-size: 11px; opacity: 0.65; }
.ins-lead { font-size: 15px; color: var(--ink-2); }
.ins-lead strong { font-family: var(--display); font-size: 22px; color: var(--ink); }
.gap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gap-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); }
.gap-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.gap-main .t { font-weight: 600; }
.gap-main .m { font-size: 13px; color: var(--muted); }
.gap-share { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--warn); font-variant-numeric: tabular-nums; }
.vs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.vs-list li { display: grid; grid-template-columns: minmax(90px, 130px) minmax(0, 1fr) auto auto; align-items: center; gap: 12px; font-size: 14px; }
.vs-nums { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) {
  .vs-list li { grid-template-columns: minmax(0, 1fr) auto; row-gap: 6px; }
  .vs-list .bars { grid-column: 1 / -1; grid-row: 2; }
  .vs-nums { grid-column: 1; grid-row: 3; }
}
.vs-list .bar[style="width:0%"] { display: none; }

/* Overview header, inline confirmations, role breakdown */
.ov-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; }
.ov-head h1 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.03em; }
.ov-sub { margin-top: 4px; color: var(--muted); font-size: 15px; }
.head-chip { padding: 7px 12px; font-size: 13px; text-decoration: none; }
a.head-chip:hover { color: var(--ink); background: var(--hover); }
a.head-chip.chip-warn:hover { filter: brightness(0.96); color: inherit; }
a.head-chip svg:last-child { margin-left: 2px; transition: transform .15s; }
a.head-chip:hover svg:last-child { transform: translateX(2px); }
.attn-group { list-style: none; }
.attn-group .attn-go { color: var(--muted); text-decoration: none; }
.attn-group .attn-go:hover { color: var(--ink); }
.attn-roles { grid-column: 2 / -1; list-style: none; margin: 4px 0 2px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.attn-roles li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.attn-roles .grow { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.attn-roles .t { font-weight: 600; font-size: 14px; }
.attn-roles .m { font-size: 12.5px; color: var(--muted); }
.attn-roles form { display: contents; }
.segbar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; gap: 2px; margin-top: 6px; background: var(--chip-muted); }
.seg { display: block; height: 100%; }
.seg-ok { background: var(--live); }
.seg-warn { background: var(--warn); }
.seg-bad { background: var(--bad); }
.seg-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--muted); }
.seg-legend span { display: inline-flex; align-items: center; gap: 6px; }
.seg-legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.signal-note { font-size: 13.5px; color: rgba(200,222,250,0.85); border-top: 1px solid rgba(56,160,255,0.18); padding-top: 12px; }
.signal-note a { color: #38E1FF; }
.ov-bottom { align-items: stretch; }
@media (max-width: 560px) {
  .attn-group { grid-template-columns: 36px minmax(0, 1fr) 16px; }
  .attn-roles { grid-column: 1 / -1; }
}

/* Roles list */
.filter-help { margin-top: -10px; }
.role-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.role-search .input { width: auto; flex: 1 1 260px; min-height: 44px; }
.role-search select.input { flex: 0 1 220px; }
.role-search .btn { min-height: 44px; }
.role-link { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); text-decoration: none; }
.role-link svg { color: var(--muted); flex: none; }
.role-link:hover { color: var(--accent); text-decoration: underline; }
.role-link:hover svg { color: var(--accent); }
.bad-text { color: var(--bad); }
th.num, td.num { text-align: right; font-variant-numeric: tabular-nums; }
.stale-item .fix { display: flex; gap: 6px; align-items: baseline; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.stale-item .fix svg { flex: none; color: var(--muted); position: relative; top: 1px; }

/* Connection page */
.conn-status { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; font-weight: 500; font-size: 15px; }
.conn-status svg { flex: none; }
.conn-ok { background: var(--ok-bg); color: var(--ok-ink); }
.conn-warn { background: var(--warn-bg); color: var(--warn-ink); }
.conn-bad { background: var(--bad-bg); color: var(--bad-ink); }
.conn-info { background: var(--info-bg); color: var(--info); }
.conn-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.conn-actions form { display: contents; }
[hidden] { display: none !important; }
.activity { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.activity li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 10px 2px; border-bottom: 1px solid var(--row-line); font-size: 14px; }
.activity li:last-child { border-bottom: 0; }
.act-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); align-self: center; }
.activity li.is-bad .act-dot { background: var(--bad); }
.activity li.is-bad .act-text { color: var(--bad-ink); }
.act-text { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.act-meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.dev-details summary { cursor: pointer; min-height: 32px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dev-details[open] summary { margin-bottom: 4px; }
@media (max-width: 560px) { .activity li { grid-template-columns: 10px minmax(0, 1fr); } .act-meta { grid-column: 2; } }
td.nowrap { white-space: nowrap; }
details.card { display: block; }
details.card > * + * { margin-top: 14px; }
.site-form { display: flex; flex-wrap: wrap; gap: 8px; }
.site-form .input { flex: 1 1 260px; }

/* Benchmarks */
.bench-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.bench-list li { display: grid; grid-template-columns: minmax(100px, 150px) minmax(0, 1fr) 56px; grid-template-areas: "dept bars delta" "dept vals delta"; align-items: center; gap: 4px 14px; }
.bench-dept { grid-area: dept; font-size: 14px; font-weight: 500; }
.bench-list .bars { grid-area: bars; }
.bench-vals { grid-area: vals; font-size: 12.5px; color: var(--muted); }
.bench-vals strong { color: var(--ink); font-weight: 600; }
.bench-delta { grid-area: delta; text-align: right; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.bench-delta.is-good { color: var(--ok); }
.bench-delta.is-bad { color: var(--bad); }
.takeaway { padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; }
.takeaway-warn { background: var(--warn-bg); color: var(--warn-ink); }
.takeaway-ok { background: var(--ok-bg); color: var(--ok-ink); }
@media (max-width: 560px) {
  .bench-list li { grid-template-columns: minmax(0, 1fr) 48px; grid-template-areas: "dept delta" "bars bars" "vals vals"; }
}

/* Map numbers: a soft backdrop so they read over the globe */
.tm-stats { padding: 12px 16px; margin-left: -16px; border-radius: 14px; background: rgba(4,6,12,0.55); backdrop-filter: blur(6px); }
.tm-day .tm-stats { background: rgba(255,255,255,0.78); }
.tm-dd-sub { font-size: 10px; letter-spacing: 0.08em; color: rgba(160,195,235,0.75); text-transform: uppercase; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-day .tm-dd-sub { color: #5A606C; }
.tm-ticker { padding: 4px 0; }
@media (max-width: 900px) { .tm-stats { margin: 0 16px; background: none; backdrop-filter: none; padding: 4px 4px 0; } }


/* Billing */
.bill-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.bill-actions form { display: contents; }
.quiet-link { font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.quiet-link:hover { color: var(--ink); }
.teaser { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--info-bg); color: var(--ink); font-size: 15px; line-height: 1.5; }
.teaser svg { flex: none; color: var(--accent); margin-top: 2px; }
@media (max-width: 760px) { .topbar .brand-title { font-size: 16px; } }
.warn-text { color: var(--warn); }

/* Top row of every console page: section tabs on the left, the NoFakeJob line on the right */
.main-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.main-brand { margin-left: auto; opacity: 0.9; }
.main-brand:hover { opacity: 1; }
.main-brand .brand-mark { font-size: 11px; }
@media (max-width: 760px) { .main-brand { display: none; } .main-top:not(:has(.tabs)) { display: none; } }

/* Page-by-page lists */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.pager-info { font-size: 13.5px; color: var(--muted); }
.pager-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.pager-btn, .pager-num { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; min-width: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.pager-btn:hover, .pager-num:hover { border-color: var(--line-2); background: var(--hover); color: var(--ink); }
.pager-num.is-on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); font-weight: 600; }
.pager-btn.is-off { opacity: 0.4; }
.pager-gap { padding: 0 4px; color: var(--muted); }

/* Very wide screens: keep the page centered in its column */
.main { margin-inline: auto; }

/* Phones and narrow windows: each role becomes a card instead of a wide table row */
@media (max-width: 1100px) {
  .stack-table, .stack-table tbody, .stack-table tr, .stack-table td { display: block; width: 100%; }
  .stack-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .stack-table tr { padding: 14px 16px; border-bottom: 1px solid var(--row-line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .stack-table tr:last-child { border-bottom: 0; }
  .stack-table td { padding: 0; border: 0; text-align: left; }
  .stack-table td:first-child, .stack-table td.actions { grid-column: 1 / -1; }
  .stack-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .stack-table td.num { text-align: left; }
  .stack-table td.actions { text-align: left; display: flex; flex-wrap: wrap; gap: 8px; }
  .stack-table td.actions form { display: contents; }
  .stack-table td.actions .btn { min-height: 40px; }
}
@media (max-width: 760px) { .pager { justify-content: center; } .pager-btn { padding: 0 10px; } }
@media (max-width: 380px) {
  .pager-num:not(.is-on) { display: none; }
  .pager-gap { display: none; }
}
@media (max-width: 760px) {
  .topbar > a { flex: 1 1 auto; min-width: 0; }
  .topbar .brand, .topbar .brand-mark { max-width: 100%; min-width: 0; }
  .topbar .brand-mark { overflow: hidden; }
  .topbar .brand-by { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .topbar .brand-title { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .topbar-actions { flex: none; }
}
@media (max-width: 360px) { .topbar-actions .icon-btn { min-width: 36px; padding: 0 6px; } .topbar { padding-left: 12px; padding-right: 8px; } }
@media (max-width: 1100px) {
  .stack-table tr { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 12px; }
  .stack-table td[data-label] { font-size: 13.5px; }
  .stack-table td .chip { font-size: 11px; padding: 3px 8px; }
}

@media (min-width: 761px) and (max-width: 1100px) { .stack-table tr { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1920px) { .main { max-width: 1560px; } }

/* ---------- Company profile (Settings) ---------- */
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 28px; align-items: start; margin-top: 6px; }
.profile-form { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.profile-form textarea { resize: vertical; min-height: 84px; font: inherit; line-height: 1.5; }
.logo-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.logo-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.logo-box { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex: none; color: #0B0D12; font-weight: 700; font-size: 15px; letter-spacing: 0.02em; }
.logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-lg { width: 72px; height: 72px; border-radius: 16px; font-size: 22px; }
.file-btn { cursor: pointer; position: relative; }
.file-btn:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; }
.field.benefit-picks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; min-width: 0; }
.benefit-picks legend { margin-bottom: 8px; padding: 0; float: left; width: 100%; }
.pick { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink-2); background: var(--surface); transition: background .12s, border-color .12s; }
.pick input:checked + span { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.pick input:checked + span::before { content: "✓"; margin-right: 6px; font-weight: 700; }
.pick input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.profile-preview { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 16px; }
.seeker-card { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 6px; }
.seeker-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.seeker-top .grow { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.seeker-co { font-weight: 600; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.seeker-badge { font-size: 11px; padding: 2px 8px; }
.seeker-role { font-family: var(--display); font-size: 17px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.seeker-meta { font-size: 13px; color: var(--muted); }
.seeker-about { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.seeker-about:empty { display: none; }
.seeker-perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.seeker-perks:empty { display: none; }
.perk { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.email-pref { display: flex; flex-direction: column; gap: 12px; margin: 8px 0; max-width: 640px; }
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-preview { position: static; }
}

/* What every plan includes: two columns on wide screens */
@media (min-width: 900px) { .features-card ul { columns: 2; column-gap: 32px; } .features-card li { break-inside: avoid; } }

/* ---------- Pricing page ---------- */
.pricing { background:
  radial-gradient(900px 480px at 85% -10%, var(--accent-soft), transparent 70%),
  radial-gradient(700px 420px at -10% 10%, rgba(18,183,106,0.07), transparent 70%),
  var(--ground); }
.pricing-main { gap: 64px; padding-top: 16px; }
.section-title { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; text-align: center; margin: 0; }
.section-sub { text-align: center; color: var(--muted); margin: -4px 0 4px; }
.how, .plans-wrap, .feat-wrap { display: flex; flex-direction: column; gap: 20px; }

/* Hero: words on the left, the product on the right */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 24px; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; min-width: 0; }
.hero > * { min-width: 0; }
.hero-copy h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 0.98; letter-spacing: -0.045em; margin: 0; }
.hero-copy .hl { background: linear-gradient(90deg, var(--accent), #12B76A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy p { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 540px; margin: 0; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points svg { color: var(--ok); }

/* The mock of nofakejob.com */
.mock { position: relative; margin: 0; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg), 0 30px 80px rgba(29,79,224,0.10); overflow: visible; transform: perspective(1400px) rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg)); transition: transform .35s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.mock::after { content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; background: radial-gradient(400px 260px at var(--gx, 30%) var(--gy, 0%), rgba(255,255,255,0.22), transparent 60%); mix-blend-mode: soft-light; }
.mock-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); border-radius: 20px 20px 0 0; background: var(--surface-2); }
.mock-dots { display: inline-flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); display: block; }
.mock-url { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.mock-search { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.mock-featured { position: relative; padding: 12px; border-radius: 16px; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(120deg, var(--accent), #12B76A) border-box; border: 2px solid transparent; display: flex; flex-direction: column; gap: 8px; }
.mock-label { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--accent); }
.mock-label.muted { color: var(--muted); }
.mock-job { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; background: var(--surface-2); animation: mock-in .6s ease both; animation-delay: var(--d); }
.mock-tile { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.mock-a { background: #0E3B5C; } .mock-b { background: #6B3FA0; } .mock-c { background: #0A7A45; }
.mock-grey { background: var(--line); }
.mock-main { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.mock-role { font-weight: 600; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-ink); flex: none; }
.mock-rest { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; opacity: 0.55; }
.mock-row { display: flex; align-items: center; gap: 12px; }
.mock-lines { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-lines i { display: block; height: 8px; border-radius: 4px; background: var(--line); width: 70%; }
.mock-lines i + i { width: 45%; }
.mock-pin { position: absolute; right: 18px; top: 92px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--surface); font-size: 12px; font-weight: 600; box-shadow: var(--shadow-lg); animation: pin-bob 2.6s ease-in-out infinite; white-space: nowrap; z-index: 2; }
.mock-pin svg { transform: rotate(90deg); }
@keyframes mock-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pin-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }

/* Steps with icons, joined by a line on wide screens */
.steps { list-style: none; padding: 0; margin: 0; position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 22px; gap: 8px; }
.step-ic { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 6px; }
.step-t { font-size: 17px; }

/* Plans */
.chip-accent { background: var(--accent); color: #fff; }
.plans-wrap .plan-card.is-chosen { box-shadow: 0 20px 50px rgba(29,79,224,0.18); border-color: var(--accent); transform: translateY(-6px); }

/* Feature tiles */
.feat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: transform .2s ease, box-shadow .2s ease; }
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat-ic { width: 36px; height: 36px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); margin-bottom: 4px; }
.feat-t { font-weight: 600; color: var(--ink); }
.feat-d { font-size: 14px; color: var(--muted); line-height: 1.45; }

/* FAQ as accordions */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.55; max-width: 760px; }

/* Closing call to action */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px clamp(24px, 4vw, 48px); border-radius: 24px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(29,79,224,0.55), transparent 70%), radial-gradient(500px 260px at 0% 100%, rgba(18,183,106,0.35), transparent 70%), #0B0D12; }
.cta-band h2 { font-family: var(--display); font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.03em; margin: 0 0 6px; color: #fff; }
.cta-band p { margin: 0; color: #B9BEC8; font-size: 16px; }

@media (max-width: 1000px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .mock { transform: none; }
  .feat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .steps { grid-template-columns: 1fr; }
  .plans-wrap .plan-card.is-chosen { transform: none; }
}
@media (max-width: 480px) {
  .feat-grid { grid-template-columns: 1fr; }
  .mock-badge { padding: 3px 6px; }
  .hero-copy h1 { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .mock { transform: none; }
  .mock-job, .mock-pin { animation: none; }
}

/* ---------- Pricing page: motion and interaction ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal .step, html.js .reveal .plan-card, html.js .reveal .feat { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1), box-shadow .2s ease; }
html.js .reveal.in .step, html.js .reveal.in .plan-card, html.js .reveal.in .feat { opacity: 1; transform: none; }
html.js .reveal.in .plans-wrap .plan-card.is-chosen, html.js .plans-wrap.reveal.in .plan-card.is-chosen { transform: translateY(-6px); }
.reveal.in :is(.step, .plan-card, .feat):nth-child(2) { transition-delay: .08s; }
.reveal.in :is(.step, .plan-card, .feat):nth-child(3) { transition-delay: .16s; }
.reveal.in .feat:nth-child(4) { transition-delay: .24s; }
.reveal.in .feat:nth-child(5) { transition-delay: .12s; }
.reveal.in .feat:nth-child(6) { transition-delay: .2s; }
.reveal.in .feat:nth-child(7) { transition-delay: .28s; }
.reveal.in .feat:nth-child(8) { transition-delay: .36s; }

/* Typing search box */
.mock-typed { white-space: nowrap; overflow: hidden; }
.caret { width: 1.5px; height: 14px; background: var(--accent); margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Live pill */
.mock-live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--ok); letter-spacing: 0.1em; }
.mock-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(18,183,106,0.6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(18,183,106,0.55); } 80%, 100% { box-shadow: 0 0 0 8px rgba(18,183,106,0); } }
.mock-label { width: 100%; }

/* Rotating featured jobs */
.mock-jobs { display: flex; flex-direction: column; gap: 8px; }
.mock-job[hidden] { display: none; }
.mock-job.is-new { animation: job-in .5s cubic-bezier(.2,.7,.2,1) both; }
.mock-job.is-new .mock-badge { animation: badge-pop .5s .35s cubic-bezier(.3,1.6,.5,1) both; }
.mock-job.is-leaving { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .3s ease, transform .3s ease; }
@keyframes job-in { from { opacity: 0; transform: translateY(-14px) scale(.98); background: var(--accent-soft); } to { opacity: 1; transform: none; } }
@keyframes badge-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.mock-d { background: #B54708; } .mock-e { background: #1D4FE0; } .mock-f { background: #0E7490; }

/* Feature tiles: light follows the pointer */
.feat { position: relative; overflow: hidden; }
.feat::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease; background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), var(--accent-soft), transparent 70%); }
.feat:hover::before { opacity: 1; }
.feat:hover .feat-ic { color: var(--accent); border-color: var(--accent); transform: rotate(-6deg) scale(1.06); }
.feat-ic { transition: transform .25s ease, color .25s ease, border-color .25s ease; }
.feat > * { position: relative; }

/* Steps: a line draws across as they appear */
@media (min-width: 721px) {
  .steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 43px; height: 2px; background: linear-gradient(90deg, var(--accent), #12B76A); transform: scaleX(0); transform-origin: left; transition: transform 1.1s .2s cubic-bezier(.2,.7,.2,1); z-index: 0; opacity: .35; }
  .how.in .steps::before, html:not(.js) .steps::before { transform: scaleX(1); }
  .step { z-index: 1; }
}
.step:hover .step-ic { transform: translateY(-3px); }
.step-ic { transition: transform .25s ease; }

/* Buttons: a light sweep on hover */
.pricing .btn-accent { position: relative; overflow: hidden; }
.pricing .btn-accent::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,0.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.pricing .btn-accent:hover::after { left: 120%; }
.plans-wrap .plan-card { transition: transform .25s ease, box-shadow .25s ease, opacity .6s ease; }
.plans-wrap .plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plans-wrap .plan-card.is-chosen:hover { transform: translateY(-9px); }

/* Cost per role slider */
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.calc-copy { display: flex; flex-direction: column; gap: 14px; }
.calc-label { font-size: 15px; color: var(--ink-2); margin-top: 6px; }
.calc-label strong { font-family: var(--display); font-size: 28px; color: var(--ink); margin-left: 4px; font-variant-numeric: tabular-nums; }
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) var(--fill, 6%), var(--line) var(--fill, 6%)); outline: none; cursor: pointer; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 4px 12px rgba(29,79,224,0.35); transition: transform .15s ease; }
.calc-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); box-shadow: 0 4px 12px rgba(29,79,224,0.35); }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-range:focus-visible { box-shadow: 0 0 0 4px var(--accent-soft); }
.calc-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.calc-out { display: flex; flex-direction: column; gap: 10px; }
.calc-row { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: baseline; padding: 14px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
.calc-row span { font-weight: 600; color: var(--ink-2); }
.calc-row strong { font-family: var(--display); font-size: 28px; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: tabular-nums; grid-row: span 2; align-self: center; }
.calc-row em { font-style: normal; font-size: 12px; color: var(--muted); }
.calc-row.is-best { border: 2px solid var(--accent); background: var(--surface); }
.calc-row.is-best span::after { content: attr(data-best); margin-left: 8px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: #fff; vertical-align: 1px; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); padding: 22px; } }

/* Closing band: the glow drifts */
.cta-band { position: relative; overflow: hidden; background-size: 160% 160%; animation: band 12s ease-in-out infinite alternate; }
@keyframes band { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .reveal .step, html.js .reveal .plan-card, html.js .reveal .feat { opacity: 1; transform: none; transition: none; }
  .caret, .mock-live i, .cta-band { animation: none; }
  .steps::before { transform: scaleX(1); transition: none; }
}

.calc-note { margin: 2px 4px 0; font-size: 12px; color: var(--muted); }

/* Verified Employers window in the pricing mock */
.mock-tag { margin-left: auto; font-family: var(--sans, inherit); font-size: 10px; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.mock-sub { font-size: 12px; color: var(--muted); margin: -4px 0 2px; }

/* ---------- Language switcher ---------- */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 10px; font-size: 13px; color: var(--ink-2); border: 1px solid transparent; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { background: var(--hover); color: var(--ink); }
.lang-switch summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px; min-width: 150px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.lang-switch.lang-up ul { top: auto; bottom: calc(100% + 6px); left: 0; right: auto; }
.lang-switch li a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.lang-switch li a:hover { background: var(--hover); }
.lang-switch li a[aria-current] { font-weight: 600; }
.lang-switch li a[aria-current]::after { content: " ✓"; color: var(--accent); }
.lang-compact summary span { display: none; }
.auth-tools { display: inline-flex; align-items: center; gap: 4px; }
.side-actions .lang-switch summary span { display: none; }

/* Longer words in Spanish, French and Portuguese: let buttons wrap on small
   screens instead of pushing the page sideways, and keep the sign-in header
   to icons on phones. */
@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; line-height: 1.3; max-width: 100%; }
  .auth-tools .lang-switch summary span { display: none; }
  .auth-top { gap: 8px; }
  .auth-top > a { min-width: 0; }
  .auth-top .brand, .auth-top .brand-mark { max-width: 100%; min-width: 0; }
  .auth-top .brand-mark { overflow: hidden; }
  .auth-top .brand-by { overflow: hidden; text-overflow: ellipsis; }
  .auth-tools { flex: none; }
}

@media (min-width: 761px) { .main { padding-bottom: 16px; } }

/* Sidebar footer: an account card (avatar, name, email, role) and a
   segmented toolbar with tooltips. Lines up with the menu above it. */
.side-foot { gap: 10px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.me { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,13,18,0.04); min-width: 0; }
.me-avatar { position: relative; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--body); font-weight: 600; font-size: 14px; color: #fff; background: linear-gradient(135deg, #1D4FE0 0%, #12B76A 100%); box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px color-mix(in srgb, var(--accent) 35%, transparent); }
.me-avatar::after { content: ''; position: absolute; right: -1px; bottom: -1px; width: 9px; height: 9px; border-radius: 50%; background: var(--live); border: 2px solid var(--surface); }
.me-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.me-top { display: flex; align-items: center; gap: 6px; min-width: 0; }
.me-name { min-width: 0; font-weight: 600; font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-mail { font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-role { flex: none; font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; color: var(--muted); background: var(--hover); }
.me-role.is-owner { color: var(--accent); background: var(--accent-soft); }

.side-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 3px; margin: 0; border-radius: 14px; background: var(--hover); border: 1px solid var(--line); }
.side-actions > *, .side-actions .tip-wrap, .side-actions form { position: relative; display: flex; min-width: 0; }
.side-actions .icon-btn,
.side-actions .lang-switch summary { width: 100%; min-width: 0; height: 34px; padding: 0; justify-content: center; border-radius: 11px; border: 0; color: var(--muted); background: transparent; transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.side-actions .lang-switch { width: 100%; }
.side-actions .lang-switch summary svg { width: 16px; height: 16px; }
.side-actions .icon-btn:hover,
.side-actions .lang-switch summary:hover,
.side-actions .lang-switch[open] summary { background: var(--seg-on, var(--surface)); color: var(--ink); box-shadow: 0 1px 2px rgba(11,13,18,0.08), 0 2px 8px rgba(11,13,18,0.06); }
.side-actions .icon-btn:active { transform: scale(0.94); }
.side-actions form[action="/logout"] .icon-btn:hover { color: #D92D20; }
.side-actions .icon-btn:focus-visible, .side-actions summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* Tooltips (pointer devices only; the buttons keep their aria-labels). */
@media (hover: hover) {
  .side-actions [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translate(-50%, 4px); padding: 5px 8px; border-radius: 8px; font-size: 11.5px; font-weight: 500; white-space: nowrap; color: var(--surface); background: var(--ink); opacity: 0; pointer-events: none; transition: opacity 140ms ease, transform 140ms ease; z-index: 60; }
  .side-actions [data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .side-actions .lang-switch[open]::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .side-actions * { transition: none !important; } }
:root[data-theme="dark"] { --seg-on: rgba(255,255,255,0.09); }

/* Public header: the NoFakeJob name itself, with the maker underneath. */
.brand-public { gap: 3px; }
.brand-public .brand-title { display: inline-flex; align-items: center; gap: 8px; font-size: 20px; }
.brand-public .brand-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(18,183,106,0.2); flex: none; }
.brand-public .brand-by { font-size: 11px; padding-left: 16px; }

/* Public header actions: a frosted language pill and a dark call-to-action
   pill with an arrow that nudges forward on hover. */
.top-actions { gap: 10px; }
.lang-pill summary { height: 40px; padding: 0 12px 0 12px; gap: 7px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 70%, transparent); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(11,13,18,0.04); backdrop-filter: blur(10px); transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.lang-pill summary::after { content: ''; width: 6px; height: 6px; margin-left: 2px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: 0.6; transition: transform 160ms ease; }
.lang-pill[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang-pill summary:hover, .lang-pill[open] summary { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: 0 2px 10px rgba(11,13,18,0.07); }
.lang-pill ul { border-radius: 14px; }

.btn-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 18px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; color: #fff;
  background: linear-gradient(180deg, #232836 0%, #0B0D12 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 1px 2px rgba(11,13,18,0.2), 0 6px 16px rgba(11,13,18,0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease; overflow: hidden; }
.btn-cta::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%); transform: translateX(-120%); transition: transform 600ms ease; }
.btn-cta svg { transition: transform 160ms ease; }
.btn-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 2px 4px rgba(11,13,18,0.2), 0 10px 24px rgba(29,79,224,0.22); }
.btn-cta:hover::before { transform: translateX(120%); }
.btn-cta:hover svg { transform: translateX(3px); }
.btn-cta:active { transform: translateY(0) scale(0.98); }
.btn-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
:root[data-theme="dark"] .btn-cta:hover { color: #0B0D12; }
:root[data-theme="dark"] .btn-cta { color: #0B0D12; background: linear-gradient(180deg, #FFFFFF 0%, #DDE2EA 100%); box-shadow: inset 0 1px 0 #fff, 0 6px 18px rgba(0,0,0,0.4); }
@media (max-width: 560px) {
  .lang-pill summary { padding: 0 10px; }
  .lang-pill summary span { display: none; }
  .btn-cta { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn-cta, .btn-cta::before, .btn-cta svg, .lang-pill summary::after { transition: none; } }
