/* Career Agent design system
   Type: Inter (UI) + Instrument Serif (display). Motion: 180–320ms, ease-out-quint.
   CSP-safe: no inline styles; dynamic values are set from app.js via CSSOM. */

@font-face { font-family: "Inter"; src: url("/static/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink-900: #0b1220; --ink-800: #111a2e; --ink-700: #1f2a44; --ink-600: #3b4760; --ink-500: #5b6780; --ink-400: #8a94a8;
  --line: #e6e8ee; --line-2: #eef0f4; --bg: #f6f7f9; --surface: #ffffff; --surface-2: #fafbfc;
  --brand: #2b59ff; --brand-600: #1f47e0; --brand-50: #eef2ff; --brand-100: #dfe6ff;
  --mint: #0ea472; --mint-50: #e7f7f0; --amber: #b7791f; --amber-50: #fff6e5; --rose: #d9364f; --rose-50: #fdecef;
  --violet: #7b5cff; --sky: #0ea5e9;
  --text: var(--ink-900); --muted: var(--ink-500); --faint: var(--ink-400);
  --radius-sm: 8px; --radius: 12px; --radius-lg: 16px; --radius-xl: 22px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, .08), 0 2px 4px -2px rgba(16, 24, 40, .04);
  --shadow-lg: 0 16px 32px -12px rgba(16, 24, 40, .18), 0 4px 8px -4px rgba(16, 24, 40, .06);
  --ring: 0 0 0 4px rgba(43, 89, 255, .16);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms; --t: 240ms; --t-slow: 420ms;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", ui-serif, Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sidebar: 248px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --line: #232b3d; --line-2: #1b2232; --bg: #0b0f18; --surface: #111726; --surface-2: #0f1522;
    --brand: #6f8dff; --brand-600: #8aa2ff; --brand-50: #172042; --brand-100: #1e2a55;
    --mint: #34d399; --mint-50: #0f2a22; --amber: #f4b64c; --amber-50: #2a2112; --rose: #fb7185; --rose-50: #2d141b;
    --text: #e8ecf4; --muted: #9aa5ba; --faint: #6c7890; --ink-700: #c9d1e0; --ink-600: #aab4c6;
    --shadow-md: 0 4px 12px rgba(0, 0, 0, .35); --shadow-lg: 0 20px 40px -12px rgba(0, 0, 0, .6);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:has(body.marketing) { scroll-behavior: smooth; }
body { margin: 0; font: 14.5px/1.55 var(--font); color: var(--text); background: var(--bg);
  font-feature-settings: "cv11", "ss01", "ss03"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: 26px; font-weight: 650; }
h2 { font-size: 17px; font-weight: 620; }
h3 { font-size: 15px; font-weight: 620; }
h4 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
p { margin: 0; }
code, .mono { font-family: var(--mono); font-size: 12.5px; }
.muted { color: var(--muted); } .small { font-size: 13px; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
.serif em { font-style: italic; color: var(--brand); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
::selection { background: var(--brand-100); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 680; font-size: 16px; letter-spacing: -.02em; }
.brand:hover { color: var(--text); }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #4f7bff 0%, #2b59ff 55%, #1c3fd6 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 2px 6px rgba(43,89,255,.35); }
.brand-mark .i { width: 17px; height: 17px; stroke-width: 3; }
.brand.light, .brand.light:hover { color: #fff; }

/* ---------- buttons ---------- */
.btn { --bg: var(--surface); --fg: var(--text); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px;
  font: 600 14px/1 var(--font); color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 10px;
  cursor: pointer; white-space: nowrap; text-decoration: none; position: relative;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast); }
.btn:hover { color: var(--fg); border-color: var(--ink-400); }
.btn:active { transform: scale(.98); }
.btn .i { width: 17px; height: 17px; }
.btn.primary { --bg: var(--brand); --fg: #fff; --bd: var(--brand); box-shadow: 0 1px 2px rgba(16,24,40,.08), inset 0 1px 0 rgba(255,255,255,.15); }
.btn.primary:hover { --bg: var(--brand-600); --bd: var(--brand-600); box-shadow: 0 6px 16px -6px rgba(43,89,255,.55); }
.btn.outline { --bg: var(--surface); box-shadow: var(--shadow-xs); }
.btn.ghost { --bg: transparent; --bd: transparent; --fg: var(--muted); }
.btn.ghost:hover { --bg: var(--line-2); --fg: var(--text); }
.btn.light { --bg: #fff; --fg: var(--ink-900); --bd: #fff; }
.btn.pill { border-radius: 999px; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 9px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn.block { width: 100%; }
.btn[disabled], .btn.loading { pointer-events: none; }
.btn .spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.btn.loading > .i { display: none; }
.btn.loading { opacity: .92; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; }
.link .i { width: 15px; height: 15px; transition: transform var(--t) var(--ease); }
.link:hover .i { transform: translateX(3px); }

/* ---------- forms ---------- */
.form { display: grid; gap: 18px; }
.field label, .status-row label { display: block; font-weight: 560; font-size: 13.5px; margin-bottom: 7px; color: var(--ink-700); }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.control { position: relative; display: flex; align-items: center; }
.control > .i { position: absolute; left: 13px; color: var(--faint); pointer-events: none; transition: color var(--t-fast); }
.control input { padding-left: 40px; }
.control:focus-within > .i { color: var(--brand); }
input, select, textarea { width: 100%; font: 400 14.5px/1.4 var(--font); color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; box-shadow: var(--shadow-xs);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
input::placeholder, textarea::placeholder { color: var(--faint); }
input:hover, select:hover, textarea:hover { border-color: var(--ink-400); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
input { height: 44px; }
.reveal { position: absolute; right: 6px; width: 34px; height: 34px; border: 0; background: none; border-radius: 8px; color: var(--faint); cursor: pointer; display: grid; place-items: center; }
.reveal:hover { color: var(--text); background: var(--line-2); }
.reveal .hide { display: none; } .reveal.on .hide { display: block; } .reveal.on .show { display: none; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 7px; display: flex; gap: 6px; align-items: center; }
.hint .i { width: 14px; height: 14px; }
.hint.caps { color: var(--amber); }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.strength i { height: 4px; border-radius: 4px; background: var(--line); transition: background var(--t) var(--ease); }
.strength[data-level="1"] i:nth-child(-n+1) { background: var(--rose); }
.strength[data-level="2"] i:nth-child(-n+2) { background: var(--amber); }
.strength[data-level="3"] i:nth-child(-n+3) { background: var(--brand); }
.strength[data-level="4"] i { background: var(--mint); }
.fine { font-size: 12.5px; color: var(--muted); line-height: 1.5; display: flex; gap: 6px; }
.fine .i { width: 14px; height: 14px; margin-top: 2px; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; height: 40px; padding: 0 36px 0 12px; cursor: pointer; font-weight: 550; }
.select-wrap .i { position: absolute; right: 12px; top: 11px; pointer-events: none; color: var(--muted); }

/* ---------- alerts, toasts, badges, chips ---------- */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; border: 1px solid; margin-bottom: 14px; }
.alert .i { margin-top: 1px; }
.alert ul { margin: 4px 0 0; padding-left: 18px; }
.alert.err { background: var(--rose-50); border-color: color-mix(in srgb, var(--rose) 30%, transparent); color: var(--rose); }
.alert.err ul, .alert.err span { color: var(--text); }
.alert.warn { background: var(--amber-50); border-color: color-mix(in srgb, var(--amber) 35%, transparent); }
.alert.warn > .i { color: var(--amber); }
.alert.ok { background: var(--mint-50); border-color: color-mix(in srgb, var(--mint) 30%, transparent); }
.alert.ok > .i { color: var(--mint); }

.toasts { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; gap: 10px; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 420px; padding: 12px 12px 12px 16px;
  background: var(--ink-900); color: #fff; border-radius: 12px; box-shadow: var(--shadow-lg); animation: toast-in var(--t-slow) var(--ease) both; }
.toast p { flex: 1; font-size: 13.5px; }
.toast-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52,211,153,.2); }
.toast-x { border: 0; background: rgba(255,255,255,.08); color: #fff; width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 16px; line-height: 1; }
.toast.out { animation: toast-out var(--t) var(--ease) forwards; }
@media (prefers-color-scheme: dark) { .toast { background: #1d2538; border: 1px solid var(--line); } }

.badge { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 650 11.5px/1 var(--font); letter-spacing: .01em;
  background: var(--brand); color: #fff; font-style: normal; }
.badge.pro { background: linear-gradient(120deg, var(--violet), var(--brand)); margin-left: auto; }
.badge.neutral { background: var(--line-2); color: var(--ink-700); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 550;
  background: var(--line-2); color: var(--ink-700); border: 1px solid transparent; }
.chip .i { width: 13px; height: 13px; stroke-width: 2.4; }
.chip.ok { background: var(--mint-50); color: var(--mint); }
.chip.gap { background: var(--amber-50); color: var(--amber); }
.chip.tag { background: var(--brand-50); color: var(--brand); }
.stat-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--line-2); color: var(--ink-700); }
.stat-pill i, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); display: inline-block; }
.st-new { --c: var(--sky); } .st-prepared { --c: var(--violet); } .st-submitted { --c: var(--brand); } .st-response { --c: var(--sky); }
.st-interview { --c: var(--amber); } .st-offer { --c: var(--mint); } .st-rejected { --c: var(--rose); } .st-skipped { --c: var(--faint); }
.stat-pill[class*="st-"] i, .dot[class*="st-"] { background: var(--c); }

/* company monogram */
.logo { width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center; font: 700 15px/1 var(--font); letter-spacing: -.02em;
  color: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04), var(--shadow-xs); }
.logo.sm { width: 26px; height: 26px; border-radius: 7px; font-size: 10.5px; }
.logo.lg { width: 48px; height: 48px; }
.logo.xl { width: 64px; height: 64px; border-radius: 16px; font-size: 21px; }
.logo-c0 { background: linear-gradient(135deg, #2b59ff, #5b7cff); } .logo-c1 { background: linear-gradient(135deg, #0ea472, #34c38f); }
.logo-c2 { background: linear-gradient(135deg, #7b5cff, #a38bff); } .logo-c3 { background: linear-gradient(135deg, #f0643c, #ff8f6b); }
.logo-c4 { background: linear-gradient(135deg, #0f172a, #334155); } .logo-c5 { background: linear-gradient(135deg, #0891b2, #22b8d8); }
.logo-c6 { background: linear-gradient(135deg, #d9364f, #f0667c); } .logo-c7 { background: linear-gradient(135deg, #b7791f, #e0a33b); }

/* match ring */
.ring { position: relative; width: 56px; height: 56px; display: inline-grid; place-items: center; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4.5; }
.ring .track { stroke: var(--line-2); }
.ring .bar { stroke: var(--c, var(--brand)); stroke-linecap: round; transition: stroke-dashoffset 1s var(--ease); }
.ring.hi { --c: var(--mint); } .ring.mid { --c: var(--brand); } .ring.lo { --c: var(--amber); }
.ring b { display: inline-flex; align-items: baseline; white-space: nowrap; position: relative; font-size: 15px; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.ring b small { font-size: 9.5px; font-weight: 600; color: var(--muted); margin-left: 1px; }
.ring.sm { width: 40px; height: 40px; } .ring.sm b { font-size: 12px; } .ring.sm small { display: none; }
.ring.lg { width: 72px; height: 72px; } .ring.lg b { font-size: 20px; }

.meter { height: 7px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin: 10px 0 12px; }
.meter.lg { height: 10px; margin: 0; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--violet)); transition: width 900ms var(--ease); }

/* ---------- app shell ---------- */
body.app { display: block; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; gap: 6px; padding: 18px 14px;
  background: var(--surface); border-right: 1px solid var(--line); z-index: 30; }
.sidebar > .brand { padding: 4px 8px 18px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a { display: flex; align-items: center; gap: 11px; height: 40px; padding: 0 11px; border-radius: 9px; color: var(--ink-600); font-weight: 550; font-size: 14px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast); position: relative; }
.side-nav a:hover { background: var(--line-2); color: var(--text); }
.side-nav a.on { background: var(--brand-50); color: var(--brand); }
.side-nav a.on::before { content: ""; position: absolute; left: -14px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 3px 3px 0; background: var(--brand); }
.agent-status { margin-top: auto; display: flex; gap: 11px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.agent-status b { display: block; font-size: 13px; } .agent-status small { color: var(--muted); font-size: 11.5px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; position: relative; }
.live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; animation: pulse 2s var(--ease) infinite; }
.account { position: relative; }
.account summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; transition: background var(--t-fast); }
.account summary::-webkit-details-marker { display: none; }
.account summary:hover { background: var(--line-2); }
.avatar { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); }
.who { min-width: 0; flex: 1; } .who b, .who small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who b { font-size: 13px; } .who small { font-size: 11.5px; color: var(--muted); }
.chev { color: var(--faint); transition: transform var(--t) var(--ease); }
.account[open] .chev { transform: rotate(180deg); }
.account .menu { position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 6px; animation: pop var(--t) var(--ease) both; }
.account .menu a, .account .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; color: var(--text); font: 500 13.5px var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.account .menu a:hover, .account .menu button:hover { background: var(--line-2); }
.account .menu form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.shell { margin-left: var(--sidebar); min-height: 100vh; }
.page { max-width: 1180px; margin: 0 auto; padding: 32px 36px 72px; animation: page-in var(--t-slow) var(--ease) both; }

.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.page-head h1 { font-size: 28px; margin: 2px 0 6px; }
.kicker { font-size: 13px; font-weight: 600; color: var(--brand); }
.crumbs { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs .i { width: 14px; height: 14px; }

.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }

/* ---------- feed / job cards ---------- */
.feed { display: grid; gap: 12px; }
.job-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; padding: 18px 18px 18px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  animation: rise var(--t-slow) var(--ease) both; }
.job-card:nth-child(2) { animation-delay: 40ms; } .job-card:nth-child(3) { animation-delay: 80ms; } .job-card:nth-child(4) { animation-delay: 120ms; }
.job-card:nth-child(5) { animation-delay: 160ms; } .job-card:nth-child(n+6) { animation-delay: 200ms; }
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--brand-100); }
.jc-title { font-size: 16px; font-weight: 650; color: var(--text); letter-spacing: -.015em; }
.jc-title:hover { color: var(--brand); }
.stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.jc-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--muted); margin: 3px 0 10px; }
.jc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.jc-meta .i { width: 14px; height: 14px; color: var(--faint); }
.jc-why { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.jc-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 14px; position: relative; z-index: 2; }
.jc-actions { display: flex; gap: 6px; }
.jc-actions form { margin: 0; }
.job-card .chips { position: relative; z-index: 2; pointer-events: none; }

.banner { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-lg); color: var(--text);
  background: linear-gradient(100deg, var(--brand-50), color-mix(in srgb, var(--violet) 10%, var(--surface))); border: 1px solid var(--brand-100);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.banner:hover { color: var(--text); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.banner b, .banner small { display: block; } .banner small { color: var(--muted); font-size: 12.5px; }
.banner > span:nth-child(2) { flex: 1; }
.banner-i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }

.empty-state { text-align: center; padding: 56px 24px; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius-lg); display: grid; justify-items: center; gap: 10px; }
.empty-state p { color: var(--muted); max-width: 380px; }
.empty-state form { margin-top: 8px; }
.empty-art { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 6px; }
.empty-art .i { width: 30px; height: 30px; }

/* rail widgets */
.rail { display: grid; gap: 14px; position: sticky; top: 24px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-xs); }
.widget h3 { font-size: 13.5px; margin-bottom: 12px; }
.w-head { display: flex; justify-content: space-between; align-items: baseline; } .w-head h3 { margin: 0; }
.big { font-size: 26px; font-weight: 700; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 8px; }
.big small { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pipe { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.pipe li { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; font-size: 13px; }
.pipe li span { color: var(--muted); } .pipe li b { font-variant-numeric: tabular-nums; }
.pipe .track { grid-column: 1 / -1; display: block; height: 6px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.pipe .bar { display: block; height: 100%; border-radius: 6px; background: var(--c); width: 0; transition: width 900ms var(--ease); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 13px; }
.checklist li { display: flex; gap: 9px; align-items: center; }
.checklist li.done { color: var(--muted); } .checklist li.done span { text-decoration: line-through; text-decoration-color: var(--faint); }
.checklist .i { color: var(--mint); width: 17px; height: 17px; }
.dot-empty { width: 15px; height: 15px; border-radius: 50%; border: 1.5px dashed var(--ink-400); margin: 0 1px; flex: none; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mini-list small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- job detail ---------- */
.job-hero { display: flex; gap: 20px; align-items: center; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  margin-bottom: 20px; box-shadow: var(--shadow-xs); position: relative; overflow: hidden; }
.job-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--violet), var(--mint)); }
.job-hero h1 { font-size: 26px; margin-bottom: 4px; }
.col-main { display: grid; gap: 16px; }
.card-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-xs); }
.card-block > h2 { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.card-block > h2 .i { color: var(--brand); }
.lead { font-size: 14.5px; color: var(--ink-700); margin-bottom: 16px; }
.skill-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.cv-preview { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.cv-paper { background: #fff; color: #1d2433; border-radius: 6px; padding: 26px 30px; box-shadow: var(--shadow-md); font-size: 13px; max-width: 640px; margin: 0 auto; }
.cv-paper ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 5px; }
.cv-h { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #5b6780; margin: 16px 0 4px; border-bottom: 1px solid #e6e8ee; padding-bottom: 4px; }
.cv-sum { color: #3b4760; }
.cv-skills { color: #3b4760; }
.empty-inline { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px dashed var(--line); }
.empty-inline > .i { width: 24px; height: 24px; color: var(--brand); }
.empty-inline p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.desc { white-space: pre-wrap; color: var(--ink-700); font-size: 14px; line-height: 1.7; }
.desc.collapsed { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.more { margin-top: 8px; }
.action-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display: grid; gap: 10px; box-shadow: var(--shadow-sm); }
.sticky { position: sticky; top: 24px; }
.action-card form { margin: 0; }
.ac-score { display: flex; gap: 14px; align-items: center; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--line-2); }
.ac-score small { display: block; color: var(--muted); font-size: 12px; }
.status-row { display: grid; gap: 0; margin-top: 6px !important; padding-top: 14px; border-top: 1px solid var(--line-2); }
.before { padding-top: 14px; border-top: 1px solid var(--line-2); }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { color: var(--mint); margin-top: 1px; }
.ticks.sm { gap: 8px; font-size: 13px; } .ticks.sm .i { width: 15px; height: 15px; }

/* ---------- tracker ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; box-shadow: var(--shadow-xs); }
.kpi small { color: var(--muted); font-size: 12.5px; font-weight: 550; } .kpi b { display: block; font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(208px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x proximity; }
.lane { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 12px; min-height: 360px; scroll-snap-align: start; }
.lane header { display: flex; align-items: center; gap: 8px; padding: 2px 4px 12px; }
.lane h2 { font-size: 13.5px; flex: 1; }
.count { font-size: 12px; font-weight: 650; color: var(--muted); background: var(--line-2); border-radius: 99px; padding: 1px 8px; }
.lane-body { display: grid; gap: 8px; }
.k-card { display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); box-shadow: var(--shadow-xs);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); animation: rise var(--t-slow) var(--ease) both; }
.k-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.k-top { display: flex; align-items: center; gap: 8px; }
.k-co { font-size: 12.5px; color: var(--muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k-score { font-size: 11.5px; font-weight: 700; color: var(--mint); background: var(--mint-50); padding: 1px 7px; border-radius: 99px; }
.k-card b { font-size: 13.5px; line-height: 1.35; }
.k-card small { color: var(--faint); font-size: 11.5px; display: flex; align-items: center; gap: 4px; } .k-card small .i { width: 12px; height: 12px; }
.lane-empty { font-size: 12.5px; color: var(--faint); text-align: center; padding: 22px 8px; border: 1px dashed var(--line); border-radius: 10px; }

/* ---------- settings ---------- */
.settings-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: start; }
.subnav { position: sticky; top: 24px; display: grid; gap: 2px; }
.subnav a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 9px; color: var(--ink-600); font-weight: 550; font-size: 13.5px; }
.subnav a:hover { background: var(--line-2); color: var(--text); }
.settings-body { display: grid; gap: 18px; }
.settings-body section { scroll-margin-top: 24px; }
.cb-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 16px; }
.cb-head h2 { margin-bottom: 4px; } .cb-head p { font-size: 13.5px; }
.editor { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface-2); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
.editor:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.editor-bar { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid var(--line); font: 550 12.5px var(--mono); color: var(--muted); background: var(--surface); }
.editor-hint { margin-left: auto; font-family: var(--font); font-size: 12px; }
.dots { display: flex; gap: 5px; } .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.editor textarea { border: 0; border-radius: 0; box-shadow: none; background: transparent; font: 13px/1.65 var(--mono); padding: 14px 16px; resize: vertical; min-height: 200px; tab-size: 2; }
.editor textarea:focus { box-shadow: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.form-foot .i { width: 14px; height: 14px; }
.token-help { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.token-help span { background: var(--line-2); border-radius: 8px; padding: 4px 9px; }
.token-help b { color: var(--brand); }
.sec-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.sec-facts > div { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.sec-facts .i { color: var(--mint); } .sec-facts b, .sec-facts small { display: block; } .sec-facts b { font-size: 13px; } .sec-facts small { font-size: 12px; color: var(--muted); }
.sub-h { font-size: 13.5px; margin-bottom: 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-weight: 600; font-size: 12px; color: var(--muted); background: var(--surface-2); padding: 10px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--t-fast); } .table tbody tr:hover { background: var(--surface-2); }
.ev { text-transform: capitalize; font-weight: 600; font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--line-2); }
.ev-login, .ev-register, .ev-prepare { background: var(--mint-50); color: var(--mint); }
.ev-csrf, .ev-paywall { background: var(--amber-50); color: var(--amber); }
.ev-login_failed { background: var(--rose-50); color: var(--rose); }

/* ---------- billing ---------- */
.usage-card { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px; margin-bottom: 20px; box-shadow: var(--shadow-xs); }
.usage-card b { display: block; font-size: 20px; } .usage-card small { color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 860px; }
.price-grid.in-app { max-width: none; }
.price-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px; display: grid; gap: 14px; align-content: start; box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-card.featured { border: 1.5px solid var(--brand); box-shadow: 0 20px 40px -20px rgba(43,89,255,.45); }
.price-card .badge { position: absolute; top: -11px; left: 24px; }
.price-card h3 { font-size: 15px; color: var(--muted); font-weight: 600; }
.amount { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.amount small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.price-card .ticks { padding: 14px 0; border-top: 1px solid var(--line-2); }
.active-line { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mint); }

/* ---------- auth ---------- */
body.auth { background: var(--surface); }
.auth-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 100vh; }
.auth-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 36px 48px; color: #e8ecf4;
  background: radial-gradient(1200px 600px at -10% -10%, #2b59ff 0%, transparent 55%), radial-gradient(800px 500px at 110% 110%, #7b5cff 0%, transparent 55%), #0b1220; }
.auth-brand::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.auth-pitch { margin: auto 0 0; max-width: 470px; position: relative; z-index: 1; }
.auth-pitch h2 { font-size: 46px; line-height: 1.05; color: #fff; margin-bottom: 26px; }
.auth-pitch h2 em { color: #a9bcff; }
.auth-pitch .ticks { color: #c9d1e0; font-size: 14.5px; } .auth-pitch .ticks .i { color: #6ee7b7; }
.auth-demo { position: relative; z-index: 1; display: grid; gap: 12px; margin: 40px 0 auto; max-width: 420px; }
.demo-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; color: #fff;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.demo-card > div { flex: 1; } .demo-card b, .demo-card small { display: block; } .demo-card small { color: #9aa5ba; font-size: 12px; }
.demo-card .ring .track { stroke: rgba(255,255,255,.12); } .demo-card .ring b { color: #fff; }
.demo-card.d2 { margin-left: 44px; }
.demo-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(110,231,183,.15); color: #6ee7b7; }
.demo-ico.warn { background: var(--amber-50); color: var(--amber); }
.tick-ok { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; }
.tick-ok .i { width: 14px; height: 14px; stroke-width: 3; }
.float { animation: float 6s ease-in-out infinite; } .float.d2 { animation-delay: -3s; }
.auth-foot { position: relative; z-index: 1; font-size: 12.5px; color: #8a94a8; margin-top: 28px; }
.auth-main { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 24px; background: var(--surface); }
.auth-card { width: 100%; max-width: 400px; animation: rise var(--t-slow) var(--ease) both; }
.auth-card h1 { font-size: 30px; font-weight: 680; letter-spacing: -.025em; }
.auth-card .sub { color: var(--muted); margin: 6px 0 26px; }
.auth-card .btn.lg { margin-top: 4px; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; color: var(--faint); font-size: 12.5px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-legal { margin-top: 28px; font-size: 12px; color: var(--faint); text-align: center; }
.mobile-only { display: none; }

/* ---------- marketing ---------- */
body.marketing { background: var(--surface); }
.mkt-nav { position: sticky; top: 12px; z-index: 40; margin: 12px auto 0; max-width: 1160px; width: calc(100% - 32px);
  display: flex; align-items: center; gap: 24px; padding: 10px 12px 10px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.mkt-nav nav { display: flex; gap: 4px; margin: 0 auto; }
.mkt-nav nav a { color: var(--ink-600); font-weight: 550; font-size: 14px; padding: 8px 12px; border-radius: 9px; transition: background var(--t-fast), color var(--t-fast); }
.mkt-nav nav a:hover { background: var(--line-2); color: var(--text); }
.mkt-cta { display: flex; gap: 6px; }
.hero { max-width: 1160px; margin: 0 auto; padding: 84px 24px 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 12px; border-radius: 999px; }
.eyebrow .i { width: 15px; height: 15px; }
.eyebrow.light { background: rgba(255,255,255,.08); color: #a9bcff; border-color: rgba(255,255,255,.14); }
.hero h1 { font-size: clamp(44px, 6vw, 74px); line-height: .98; margin: 22px 0 22px; letter-spacing: -.02em; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-600); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.hero-note .i { color: var(--mint); }
.hero-visual { position: relative; min-height: 440px; }
.hero-visual::before { content: ""; position: absolute; inset: 6% -6% 0 8%; border-radius: 32px; z-index: 0;
  background: radial-gradient(500px 300px at 70% 20%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%), radial-gradient(400px 300px at 20% 90%, color-mix(in srgb, var(--violet) 18%, transparent), transparent 70%); }
.run-card, .match-card, .review-card { position: absolute; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.run-card { top: 0; left: 6%; right: 10%; padding: 18px 20px; }
.run-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; } .run-head small { margin-left: auto; color: var(--muted); font-size: 12px; }
.run-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-700); }
.run-steps li { display: flex; align-items: center; gap: 10px; opacity: 0; animation: step-in 500ms var(--ease) forwards; }
.run-steps .i { color: var(--brand); }
.run-steps .s1 { animation-delay: .4s; } .run-steps .s2 { animation-delay: 1.1s; } .run-steps .s3 { animation-delay: 1.8s; } .run-steps .s4 { animation-delay: 2.5s; }
.run-progress { height: 6px; background: var(--line-2); border-radius: 99px; margin-top: 16px; overflow: hidden; }
.run-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--violet)); animation: fill 3s var(--ease) .3s forwards; }
.match-card { top: 222px; left: 0; right: 16%; display: flex; gap: 14px; align-items: center; padding: 16px 18px; animation: rise 700ms var(--ease) 2.9s both, float 7s ease-in-out 3.6s infinite; }
.mc-body { flex: 1; } .mc-body b { display: block; font-size: 15px; } .mc-body small { color: var(--muted); font-size: 12.5px; display: block; margin-bottom: 8px; }
.review-card { top: 350px; left: 30%; right: 0; display: flex; gap: 12px; align-items: center; padding: 14px 16px; animation: rise 700ms var(--ease) 3.3s both, float 8s ease-in-out 4s infinite; }
.review-card b, .review-card small { display: block; } .review-card small { color: var(--muted); font-size: 12.5px; }
.works-with { max-width: 1160px; margin: 0 auto; padding: 22px 24px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; border-bottom: 1px solid var(--line-2); }
.works-with p { font-size: 13px; color: var(--muted); }
.works-with ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; }
.works-with li { font-weight: 700; font-size: 17px; letter-spacing: -.02em; color: var(--ink-600); }
.works-with li.soon { color: var(--faint); font-weight: 600; } .works-with em { font-style: normal; font-size: 11px; font-weight: 600; background: var(--line-2); padding: 2px 6px; border-radius: 6px; vertical-align: 3px; }
.section { max-width: 1160px; margin: 0 auto; padding: 96px 24px; }
.section.narrow { max-width: 780px; }
.section.dark { max-width: none; background: #0b1220; color: #e8ecf4; }
.section.dark > * { max-width: 1112px; margin-left: auto; margin-right: auto; }
.section-head { text-align: center; margin-bottom: 48px; display: grid; justify-items: center; gap: 16px; }
.section-head h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.05; max-width: 720px; }
.section.dark h2 { color: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface-2); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t); }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); background: var(--surface); }
.step-n { position: absolute; top: 22px; right: 24px; font: 400 44px/1 var(--serif); color: var(--line); }
.step-i { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-50); color: var(--brand); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; } .step p { color: var(--muted); }
.nevers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.never { padding: 28px; border-radius: var(--radius-xl); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background var(--t), transform var(--t) var(--ease); }
.never:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); }
.never .i { width: 26px; height: 26px; color: #6ee7b7; margin-bottom: 16px; }
.never h3 { font-size: 18px; color: #fff; margin-bottom: 8px; } .never p { color: #9aa5ba; }
.section .price-grid { margin: 0 auto; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: box-shadow var(--t), border-color var(--t); }
.faq details[open] { box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 15.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--muted); transition: transform var(--t) var(--ease); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--brand); }
.faq details p { padding: 0 20px 18px; color: var(--ink-600); animation: fade var(--t) var(--ease); }
.cta-band { margin: 0 24px 24px; border-radius: 28px; padding: 72px 24px; text-align: center; display: grid; justify-items: center; gap: 26px;
  background: radial-gradient(700px 300px at 20% 0%, #4f7bff, transparent 60%), radial-gradient(600px 300px at 90% 100%, #7b5cff, transparent 60%), #1c3fd6; }
.cta-band h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); max-width: 720px; line-height: 1.05; }
.mkt-foot { max-width: 1160px; margin: 0 auto; padding: 28px 24px 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.mkt-foot nav { display: flex; gap: 18px; } .mkt-foot nav a { color: var(--muted); } .mkt-foot nav a:hover { color: var(--text); }
.reveal-up { animation: rise 800ms var(--ease) both; } .reveal-up.d2 { animation-delay: 120ms; }
[data-reveal-on-scroll] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal-on-scroll].in { opacity: 1; transform: none; }

/* ---------- overlay while searching ---------- */
.scan-overlay { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; background: color-mix(in srgb, var(--bg) 70%, transparent);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade var(--t) var(--ease); }
.scan-box { width: min(420px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg);
  display: grid; justify-items: center; text-align: center; gap: 6px; animation: pop var(--t-slow) var(--ease) both; }
.scan-box small { color: var(--muted); }
.radar { position: relative; width: 72px; height: 72px; margin-bottom: 12px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: radar 2.1s var(--ease) infinite; }
.radar span:nth-child(2) { animation-delay: .7s; } .radar span:nth-child(3) { animation-delay: 1.4s; }
.radar::after { content: ""; position: absolute; inset: 28px; border-radius: 50%; background: var(--brand); }
.skeletons { width: 100%; display: grid; gap: 8px; margin-top: 18px; }
.skeletons i { height: 44px; border-radius: 10px; background: linear-gradient(90deg, var(--line-2) 0%, var(--line) 40%, var(--line-2) 80%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }

/* ---------- error ---------- */
body.error-page { background: var(--surface); }
.err-wrap { min-height: 100vh; display: grid; place-content: center; justify-items: center; text-align: center; gap: 14px; padding: 24px; }
.err-code { font: 400 120px/1 var(--serif); color: var(--brand); margin-top: 24px; opacity: .9; }
.err-wrap p.muted { max-width: 420px; margin-bottom: 10px; }

/* ---------- motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { opacity: .7; transform: scale(.6); } 100% { opacity: 0; transform: scale(1.9); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes step-in { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes fill { to { width: 100%; } }
@keyframes radar { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .run-steps li { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .layout-2 { grid-template-columns: minmax(0, 1fr); }
  .rail { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .col-side .sticky { position: static; }
  .job-layout .col-side { order: -1; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 56px; gap: 40px; }
  .hero-visual { min-height: 420px; }
  .steps, .nevers { grid-template-columns: 1fr; }
  .mkt-nav nav { display: none; }
  .mkt-cta { margin-left: auto; }
  .auth-split { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .mobile-only { display: inline-flex; margin-bottom: 28px; }
  .settings-grid { grid-template-columns: 1fr; }
  .subnav { position: static; display: flex; overflow-x: auto; }
}
@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .sidebar { inset: auto 0 0 0; width: auto; height: 64px; flex-direction: row; align-items: center; padding: 6px 8px; border-right: 0; border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
  .sidebar > .brand, .agent-status { display: none; }
  .side-nav { grid-auto-flow: column; grid-auto-columns: 1fr; flex: 1; }
  .side-nav a { flex-direction: column; gap: 2px; height: 52px; justify-content: center; font-size: 11px; }
  .side-nav a.on::before { display: none; }
  .side-nav .badge { display: none; }
  .account .who, .account .chev { display: none; }
  .account .menu { right: 0; left: auto; width: 220px; }
  .page { padding: 22px 16px 96px; }
  .page-head { flex-direction: column; align-items: stretch; }
  .page-head .btn { width: 100%; }
  .job-card { grid-template-columns: auto minmax(0, 1fr); }
  .jc-side { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .kpis, .sec-facts { grid-template-columns: 1fr 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .skill-grid { grid-template-columns: 1fr; }
  .job-hero { flex-direction: column; align-items: flex-start; }
  .toasts { left: 16px; right: 16px; bottom: 80px; } .toast { min-width: 0; }
  .usage-card { grid-template-columns: 1fr; gap: 12px; }
  .mkt-cta .ghost { display: none; }
  .cta-band { margin: 0 12px 12px; }
  .hero-visual { min-height: 460px; }
  .run-card { left: 0; right: 0; } .match-card { right: 0; } .review-card { left: 8%; }
}
@media (prefers-color-scheme: dark) {
  .btn.primary { --bg: #3b62ff; --bd: #3b62ff; }
  .btn.primary:hover { --bg: #5277ff; --bd: #5277ff; }
  .btn.light { --fg: #0b1220; }
}
.kpi b.invite { font-size: 17px; letter-spacing: .02em; padding-top: 8px; }

/* ---------- site learner ---------- */
.learn-form { display: flex; gap: 10px; align-items: center; }
.learn-form .grow { flex: 1; }
.learn-form input { height: 48px; font-size: 15px; }
.learn-form .btn { height: 48px; padding: 0 20px; }
.learn-notes { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; color: var(--muted); }
.learn-notes li { display: flex; align-items: center; gap: 7px; }
.learn-notes .i { width: 15px; height: 15px; color: var(--mint); }
.section-h { display: flex; align-items: center; gap: 8px; margin: 28px 0 12px; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.site-card { display: grid; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  color: var(--text); box-shadow: var(--shadow-xs); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); animation: rise var(--t-slow) var(--ease) both; }
.site-card:hover { color: var(--text); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.sc-top { display: flex; gap: 12px; align-items: center; }
.sc-top > div { flex: 1; min-width: 0; } .sc-top b, .sc-top small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-top small { color: var(--muted); font-size: 12.5px; }
.sc-stats { display: flex; gap: 16px; font-size: 13px; color: var(--muted); } .sc-stats b { color: var(--text); font-size: 15px; }
.steps-list { margin: 0; padding-left: 20px; display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-700); }
.field-sum { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.fs { padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.fs b { display: block; font-size: 22px; } .fs small { color: var(--muted); font-size: 12px; }
.fs.ok b { color: var(--mint); } .fs.warn b { color: var(--amber); } .fs.info b { color: var(--brand); }
.req { font-size: 11px; font-weight: 600; color: var(--rose); margin-left: 4px; }
.mt { margin-top: 12px; }
.jobs-found li { padding: 8px 0; border-bottom: 1px solid var(--line-2); } .jobs-found li:last-child { border: 0; }
.action-card h3 { margin-bottom: 4px; }
@media (max-width: 760px) { .learn-form { flex-direction: column; align-items: stretch; } .field-sum { grid-template-columns: 1fr 1fr; } }

/* =====================================================================
   Clean pass (Oct 2026): calmer surfaces. Fewer shadows, gradients and
   colours; one accent; lists instead of stacked cards; static hero.
   Later rules override the ones above on purpose.
   ===================================================================== */
:root { --bg: #f7f7f8; --line: #e7e7ea; --line-2: #f0f0f2; --text: #16181d; --muted: #646973; --faint: #9a9fa8;
  --ink-700: #2c3038; --ink-600: #474c55; --brand: #2f5bea; --brand-600: #2449c9; --brand-50: #eef2fd; --brand-100: #dde5fb; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0e11; --surface: #14161a; --surface-2: #111317; --line: #24272d; --line-2: #1b1d22;
    --text: #ecedf0; --muted: #9a9ea8; --faint: #6b707a; --ink-700: #cfd2d8; --ink-600: #b3b7bf; --brand: #7d9bff; --brand-50: #1a2140; }
}
body { font-size: 14.5px; }
h1 { font-weight: 620; }
.page-head h1 { font-size: 26px; letter-spacing: -.02em; }
.kicker { color: var(--muted); font-weight: 500; }

/* brand + buttons: solid, no glow */
.brand-mark { background: var(--text); color: var(--surface); box-shadow: none; border-radius: 8px; width: 28px; height: 28px; }
.btn.primary, .btn.primary:hover { box-shadow: none; }
.btn.outline { box-shadow: none; }
input, select, textarea { box-shadow: none; }

/* surfaces: border only, no lift on hover */
.widget, .card-block, .action-card, .kpi, .usage-card, .price-card, .site-card, .k-card, .job-hero, .lane { box-shadow: none; }
.site-card:hover, .k-card:hover, .price-card:hover, .step:hover, .never:hover { transform: none; box-shadow: none; }
.job-hero::before { display: none; }
.job-hero { border-radius: var(--radius-lg); }
.card-block > h2 .i { color: var(--muted); }

/* sidebar: quieter active state, account pinned to the bottom */
.side-nav a { color: var(--muted); }
.side-nav a.on { background: var(--line-2); color: var(--text); }
.side-nav a.on::before { display: none; }
.account { margin-top: auto; }
.avatar { background: var(--line-2); border-color: var(--line); color: var(--ink-700); }

/* monograms: soft neutral tiles instead of gradient colours */
.logo, [class*="logo-c"] { background: var(--line-2); color: var(--ink-700); box-shadow: inset 0 0 0 1px var(--line); }
.logo { width: 40px; height: 40px; border-radius: 10px; font-size: 13.5px; }

/* chips: neutral; gaps stay amber so they still read as "check this" */
.chip, .chip.ok, .chip.tag { background: var(--line-2); color: var(--ink-700); }
.chip .i { display: none; }
.meter span { background: var(--brand); }
.ring circle { stroke-width: 3.5; }

/* dashboard: one list with dividers */
.list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.job-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px;
  transition: background var(--t-fast) var(--ease); }
.job-row + .job-row { border-top: 1px solid var(--line-2); }
.job-row:hover { background: var(--surface-2); }
.jr-title { font-size: 15.5px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.jr-title:hover { color: var(--brand); }
.jr-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.jr-skills { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 12.5px; color: var(--ink-600); position: relative; z-index: 2; pointer-events: none; }
.jr-skills span::before { content: "✓"; color: var(--mint); margin-right: 4px; font-size: 11px; }
.jr-skills .more-n::before { content: none; }
.jr-skills .more-n { color: var(--faint); }
.jr-side { display: flex; align-items: center; gap: 18px; position: relative; z-index: 2; }
.score { display: grid; justify-items: end; line-height: 1; min-width: 40px; }
.score b { font-size: 20px; font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.score small { font-size: 11px; color: var(--faint); margin-top: 3px; text-transform: uppercase; letter-spacing: .06em; }
.score.hi b { color: var(--mint); } .score.mid b { color: var(--text); } .score.lo b { color: var(--faint); }
.low-fit { margin-top: 16px; }
.low-fit summary { cursor: pointer; font-size: 13.5px; color: var(--muted); padding: 6px 2px 10px; }
.low-fit summary:hover { color: var(--text); }
.banner { background: var(--surface); border-color: var(--line); margin-bottom: 14px; }
.banner:hover { transform: none; box-shadow: none; border-color: var(--ink-400); }
.empty-state { border-style: solid; }
.rail { gap: 12px; }
.widget h3 { font-size: 13px; color: var(--muted); font-weight: 560; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; margin: 0 0 16px; }
.stats div { display: grid; gap: 2px; }
.stats dt { font-size: 12.5px; color: var(--muted); }
.stats dd { margin: 0; font-size: 22px; font-weight: 620; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.quota { font-size: 13px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line-2); margin-bottom: 4px; }
.quota b { color: var(--text); }

/* landing: static, no glow, no floating cards */
.overline { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mkt-nav { box-shadow: none; }
.hero-visual::before { display: none; }
.hero-visual { min-height: 0; display: grid; gap: 14px; align-content: center; }
.run-card, .match-card { position: static; box-shadow: none; animation: none; border-radius: var(--radius-lg); }
.run-progress span { background: var(--brand); }
.float, .live::after { animation: none; }
.cta-band { background: var(--text); }
.step { background: var(--surface); }
.step-i { background: var(--line-2); color: var(--ink-700); }
.auth-brand { background: #111318; }
.auth-brand::after { display: none; }

@media (max-width: 760px) {
  .job-row { grid-template-columns: auto minmax(0, 1fr); padding: 16px; }
  .jr-side { grid-column: 1 / -1; justify-content: space-between; }
  .score { justify-items: start; }
}
.run-steps li { opacity: 1; animation: none; }
.run-progress span { width: 100%; animation: none; }
@media (max-width: 760px) { .job-row { align-items: start; } .logo { width: 36px; height: 36px; } }

/* rules, assistants, funnel, time saved */
.rule-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; }
.rule-row + .rule-row { border-top: 1px solid var(--line-2); }
.rule-row b { display: block; font-weight: 600; } .rule-row small { color: var(--muted); font-size: 12.5px; }
.examples { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 12px; }
.key-form { display: flex; gap: 10px; } .key-form input { max-width: 320px; }
.key-box { margin: 8px 0; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; word-break: break-all; user-select: all; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.saved { margin: 0 0 4px; } .saved b { font-size: 24px; font-weight: 620; letter-spacing: -.02em; } .saved small { color: var(--faint); font-size: 12px; }
.funnel { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.funnel li { display: grid; grid-template-columns: 180px 40px 1fr 44px; align-items: center; gap: 12px; font-size: 13.5px; }
.funnel .track { display: block; height: 8px; border-radius: 6px; background: var(--line-2); overflow: hidden; }
.funnel .bar { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 6px; transition: width 900ms var(--ease); }
.funnel small { color: var(--muted); text-align: right; }
@media (max-width: 760px) { .funnel li { grid-template-columns: 1fr 40px; } .funnel .track, .funnel small { display: none; } .key-form { flex-direction: column; } }
.row-actions { display: flex; gap: 6px; } .row-actions form { margin: 0; }
.rule-row .stat-pill { margin-left: 8px; vertical-align: 2px; }
.mt-lg { margin-top: 20px; }
.agent-form { max-width: 620px; }
fieldset.field { border: 0; padding: 0; margin: 0; } fieldset legend { font-weight: 560; font-size: 13.5px; margin-bottom: 8px; color: var(--ink-700); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.check input { width: 16px; height: 16px; }
.check input { height: 16px; padding: 0; box-shadow: none; }
.improve-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.improve-grid .span-2 { grid-column: 1 / -1; }
.improve-grid h2 { margin-bottom: 8px; }
.learn-list { margin: 12px 0; padding-left: 20px; display: grid; gap: 12px; }
.learn-list p { color: var(--ink-600); margin-top: 2px; }
.fix-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.fix-list li { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.fix-list li:last-child { border: 0; padding: 0; }
.fix-list b { font-size: 12.5px; color: var(--muted); font-weight: 560; }
.fix-list q { font-size: 13px; color: var(--muted); font-style: italic; }
.pf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 12px; }
.pf-grid h3 { margin-bottom: 10px; }
@media (max-width: 900px) { .improve-grid { grid-template-columns: 1fr; } }
.ai-form { max-width: 520px; }

/* ---------------------------------------------------------------- v0.3: import, apply kit, progress, freshness */
.import-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border: 1px dashed color-mix(in srgb, var(--brand) 45%, var(--line)); background: var(--brand-50);
  border-radius: var(--radius); padding: 14px 16px; margin: 4px 0 16px; }
.import-card .ic-text { display: flex; gap: 12px; align-items: flex-start; min-width: 240px; flex: 1; }
.import-card .ic-text > .i { color: var(--brand); width: 22px; height: 22px; flex: none; margin-top: 2px; }
.import-card p { margin: 2px 0 0; }
.ic-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ic-form input[type=file] { font: inherit; font-size: 13px; color: var(--muted); max-width: 260px; }
.ic-form input[type=file]::file-selector-button { font: inherit; font-size: 13px; border: 1px solid var(--line); background: var(--surface);
  border-radius: var(--radius-sm); padding: 7px 12px; margin-right: 10px; cursor: pointer; color: var(--text); }

.getting-started { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px 6px;
  box-shadow: var(--shadow-xs); margin-bottom: 16px; }
.gs-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; }
.gs-head span { color: var(--muted); font-size: 12.5px; }
.getting-started .meter { margin: 10px 0 6px; }
.gs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 4px 10px; }
.gs-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 6px; border-radius: var(--radius-sm); }
.gs-steps li.next { background: var(--brand-50); }
.gs-steps a { display: flex; flex-direction: column; color: inherit; text-decoration: none; line-height: 1.3; }
.gs-steps a b { font-size: 13.5px; font-weight: 600; }
.gs-steps a small { color: var(--muted); font-size: 12px; }
.gs-steps li.done a b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--faint); }
.gs-dot { flex: none; width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; font-size: 11.5px; font-weight: 650;
  border: 1.5px solid var(--line); color: var(--muted); background: var(--surface); }
.gs-steps li.next .gs-dot { border-color: var(--brand); color: var(--brand); }
.gs-steps li.done .gs-dot { background: var(--mint); border-color: var(--mint); color: #fff; }
.gs-dot .i { width: 13px; height: 13px; }

.fresh { display: inline-block; vertical-align: 2px; margin-left: 8px; font-size: 11px; font-weight: 650; padding: 2px 7px; border-radius: 99px;
  position: relative; z-index: 1; }
.fresh.new { background: var(--mint-50); color: var(--mint); }
.fresh.stale { background: var(--amber-50); color: var(--amber); }

.widget.goal .w-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.widget.goal .w-head h3 { margin: 0; }
.streak { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--amber);
  background: var(--amber-50); padding: 3px 8px; border-radius: 99px; }
.streak .i { width: 13px; height: 13px; }
.goal-form { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.goal-form .select-wrap { width: 84px; }

.kit .kit-part { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 10px; background: var(--surface); }
.kit .kit-part > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 14px; }
.kit .kit-part > summary::-webkit-details-marker { display: none; }
.kit .kit-part > summary > .i:first-child { color: var(--brand); }
.kit .kit-part > summary small { color: var(--muted); font-size: 12.5px; margin-left: auto; }
.kit .kit-part > summary .chev { transition: transform var(--t) var(--ease); color: var(--faint); }
.kit .kit-part[open] > summary .chev { transform: rotate(180deg); }
.kit .kit-part > :not(summary) { margin-left: 14px; margin-right: 14px; }
.kit .kit-part[open] { padding-bottom: 14px; }
.kit h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 16px 14px 8px; }
.kit-text { width: calc(100% - 28px); font: inherit; font-size: 13.5px; line-height: 1.55; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; resize: vertical; }
.kit-text:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.kit-actions { display: flex; gap: 8px; margin-top: 10px; }
.kit-flag { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--amber); background: var(--amber-50);
  border-radius: var(--radius-sm); padding: 8px 10px; margin-bottom: 10px; }
.kit-flag .i { flex: none; width: 15px; height: 15px; margin-top: 1px; }
.pitch { font-size: 14px; line-height: 1.6; background: var(--brand-50); border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 8px; }
.qs { padding-left: 34px !important; margin-top: 0; }
.qs li { margin-bottom: 8px; font-size: 13.5px; }
.qs li small { display: block; color: var(--muted); font-size: 12.5px; }
.stories { display: grid; gap: 10px; }
.story { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; background: var(--surface-2); }
.st-where { font-size: 12.5px; font-weight: 600; color: var(--ink-600); margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.story dl { display: grid; grid-template-columns: 76px 1fr; gap: 4px 10px; margin: 0; font-size: 13px; }
.story dt { color: var(--muted); font-weight: 600; font-size: 12px; }
.story dd { margin: 0; }
.email-draft { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 12px; }
.email-draft:first-of-type { border-top: 0; margin-top: 0; }
.ed-when { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }
.ed-when .i { width: 14px; height: 14px; }
.ed-subj { font-size: 13.5px; margin: 0 0 8px; }
.email-draft .btn { margin-top: 8px; }
.k-nudge { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--amber);
  background: var(--amber-50); border-radius: 99px; padding: 2px 8px; margin-top: 6px; width: fit-content; }
.k-nudge .i { width: 12px; height: 12px; }
.invite-row { display: flex; gap: 8px; margin-top: 10px; }
.invite-row input { flex: 1; min-width: 0; font-size: 13px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); color: var(--text); }
@media (max-width: 640px) {
  .kit .kit-part > summary small { display: none; }
  .story dl { grid-template-columns: 1fr; }
  .import-card { flex-direction: column; align-items: stretch; }
  .gs-steps li.done { display: none; }
}

/* ---------------------------------------------------------------- v0.4: add any job, feedback */
.add-job { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 16px; box-shadow: var(--shadow-xs); }
.add-job > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 13px 16px; }
.add-job > summary::-webkit-details-marker { display: none; }
.add-job > summary > .i:first-child { color: var(--brand); }
.add-job > summary small { color: var(--muted); font-size: 12.5px; }
.add-job > summary .chev { margin-left: auto; color: var(--faint); transition: transform var(--t) var(--ease); }
.add-job[open] > summary .chev { transform: rotate(180deg); }
.add-job-form { padding: 0 16px 16px; display: grid; gap: 10px; }
.aj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.add-job-form label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--ink-600); }
.add-job-form input, .add-job-form textarea, .feedback-box textarea { font: inherit; font-size: 13.5px; font-weight: 400; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 10px; width: 100%; box-sizing: border-box; }
.add-job-form input:focus, .add-job-form textarea:focus, .feedback-box textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.feedback-box { margin: auto 8px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feedback-box > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; color: var(--muted); }
.feedback-box > summary::-webkit-details-marker { display: none; }
.feedback-box form { display: grid; gap: 8px; padding: 0 10px 10px; }
.fb-kinds { display: flex; flex-wrap: wrap; gap: 4px; }
.fb-kinds label { cursor: pointer; }
.fb-kinds input { position: absolute; opacity: 0; pointer-events: none; }
.fb-kinds span { display: inline-block; font-size: 12px; padding: 3px 8px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.fb-kinds input:checked + span { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }
.fb-kinds input:focus-visible + span { box-shadow: var(--ring); }
.notes { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notes li { border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; }
.notes p { margin: 6px 0 4px; font-size: 13.5px; white-space: pre-wrap; }
.notes small { color: var(--muted); font-size: 12px; }
@media (max-width: 900px) { .feedback-box { display: none; } }
