:root {
  color-scheme: light;
  --page: #f8fafc;
  --surface: #ffffff;
  --panel-bg: #ffffff;
  --surface-soft: #f1f5f9;
  --surface-hover: #eef2ff;
  --ink: #0f172a;
  --muted-strong: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --header-bg: rgba(248, 250, 252, 0.86);
  --header-line: rgba(226, 232, 240, 0.9);
  --panel-border: #cbd5e1;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-btn: #4f46e5;
  --primary-btn-hover: #4338ca;
  --primary-soft: #eef2ff;
  --primary-border: #c7d2fe;
  --primary-ink: #3730a3;

  --amber: #f59e0b;
  --amber-soft: #fffbeb;
  --amber-ink: #b45309;
  --amber-border: #fde68a;

  --focus: #6366f1;
  --accent-ink: #4338ca;
  --accent-ink-hover: #312e81;
  --link-ink: #4338ca;

  --shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --card-hover-shadow: 0 14px 32px rgba(79, 70, 229, 0.09);
  --compare-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  --backdrop: rgba(15, 23, 42, 0.56);

  --brand-career: #64748b;
  --nav-ink: #475569;
  --nav-hover-bg: #f1f5f9;
  --saved-border: #e2e8f0;
  --badge-bg: #e0e7ff;
  --badge-ink: #3730a3;
  --border-btn-ink: #334155;
  --border-btn-hover-border: #c7d2fe;
  --row-divider: #f1f5f9;
  --panel-divider: #e2e8f0;
  --empty-border: #cbd5e1;
  --placeholder: #64748b;
  --chevron-ink: #475569;
  --search-ink: #475569;
  --input-bg: #ffffff;
  --input-border: #cbd5e1;

  --stat-indigo-bg: #eef2ff;
  --stat-indigo-ink: #4338ca;
  --stat-amber-bg: #fffbeb;
  --stat-amber-ink: #b45309;
  --stat-violet-bg: #f5f3ff;
  --stat-violet-ink: #6d28d9;

  --chip-ink: #334155;
  --chip-hover-bg: #eef2ff;
  --chip-hover-border: #c7d2fe;
  --chip-active-bg: #eef2ff;
  --chip-active-ink: #3730a3;
  --chip-active-border: #818cf8;

  --summary-bg: #eef2ff;
  --summary-border: #c7d2fe;
  --summary-ink: #3730a3;

  --company-ink: #475569;
  --meta-bg: #f1f5f9;
  --meta-ink: #475569;
  --meta-income-bg: #eff6ff;
  --meta-income-ink: #1d4ed8;
  --meta-alert-bg: #fff7ed;
  --meta-alert-ink: #c2410c;
  --meta-review-bg: #f5f3ff;
  --meta-review-ink: #6d28d9;

  --icon-btn-ink: #475569;
  --icon-btn-active-bg: #eef2ff;
  --icon-btn-active-border: #a5b4fc;
  --bookmark-fill: #c7d2fe;

  --deadline-bg: #fffbeb;
  --deadline-ink: #b45309;
  --info-bg: #eff6ff;
  --info-border: #bfdbfe;
  --info-ink: #1e40af;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --warning-ink: #92400e;
  --ai-output-bg: #f8fafc;
  --ai-output-border: #cbd5e1;
  --ai-output-ink: #1e293b;
  --toast-bg: #111827;
  --toast-ink: #f8fafc;
  --toast-border: rgba(255, 255, 255, 0.08);

  --segments-bg: #f1f5f9;
  --segment-ink: #475569;
  --segment-active-bg: #ffffff;
  --segment-active-ink: #3730a3;
  --segment-hover-ink: #0f172a;
  --company-logo-surface: #ffffff;
  --logo-border: #e2e8f0;

  --hero-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 58%, #eef2ff 100%);
  --employer-bg: linear-gradient(135deg, #eef2ff 0%, #f8fafc 60%, #fffbeb 100%);
  --employer-border: #e2e8f0;
  --employer-kicker: #4338ca;
  --employer-copy: #475569;
  --employer-checks-bg: rgba(255, 255, 255, 0.85);
  --employer-checks-ink: #334155;

  --tone-0-ink: #ffffff; --tone-0-bg: linear-gradient(135deg, #4f46e5, #6366f1);
  --tone-1-ink: #ffffff; --tone-1-bg: linear-gradient(135deg, #d97706, #f59e0b);
  --tone-2-ink: #ffffff; --tone-2-bg: linear-gradient(135deg, #7c3aed, #9333ea);
  --tone-3-ink: #ffffff; --tone-3-bg: linear-gradient(135deg, #e11d48, #f43f5e);
  --tone-4-ink: #ffffff; --tone-4-bg: linear-gradient(135deg, #0284c7, #2563eb);
  --tone-5-ink: #ffffff; --tone-5-bg: linear-gradient(135deg, #334155, #475569);

  --stage-saved-bg: #eef2ff; --stage-saved-ink: #3730a3; --stage-saved-border: #c7d2fe;
  --stage-preparing-bg: #fffbeb; --stage-preparing-ink: #b45309; --stage-preparing-border: #fde68a;
  --stage-applied-bg: #eff6ff; --stage-applied-ink: #1d4ed8; --stage-applied-border: #bfdbfe;
  --stage-interview-bg: #f5f3ff; --stage-interview-ink: #6d28d9; --stage-interview-border: #ddd6fe;

  --fit-high-bg: #eff6ff; --fit-high-ink: #1d4ed8; --fit-high-border: #bfdbfe;
  --fit-mid-bg: #fffbeb; --fit-mid-ink: #b45309; --fit-mid-border: #fde68a;
  --fit-low-bg: #f1f5f9; --fit-low-ink: #475569; --fit-low-border: #cbd5e1;

  --matched-bg: #eff6ff; --matched-ink: #1d4ed8; --matched-border: #bfdbfe;
  --missing-bg: #fff7ed; --missing-ink: #c2410c; --missing-border: #fed7aa;

  font-family: 'Be Vietnam Pro', 'Aptos', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  font-size: 16px;
  font-weight: 400;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0f19;
  --surface: #111827;
  --panel-bg: #161f33;
  --surface-soft: #1e293b;
  --surface-hover: #273549;
  --ink: #f8fafc;
  --muted-strong: #cbd5e1;
  --muted: #94a3b8;
  --line: #1f2937;
  --header-bg: rgba(11, 15, 25, 0.84);
  --header-line: #1f2937;
  --panel-border: #334155;

  --primary: #6366f1;
  --primary-hover: #818cf8;
  --primary-btn: #4f46e5;
  --primary-btn-hover: #4338ca;
  --primary-soft: #1e1b4b;
  --primary-border: #3730a3;
  --primary-ink: #c7d2fe;

  --amber: #fbbf24;
  --amber-soft: #2e200a;
  --amber-ink: #fcd34d;
  --amber-border: #78350f;

  --focus: #818cf8;
  --accent-ink: #a5b4fc;
  --accent-ink-hover: #c7d2fe;
  --link-ink: #a5b4fc;

  --shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  --card-hover-shadow: 0 16px 36px rgba(0, 0, 0, 0.58);
  --compare-shadow: 0 20px 48px rgba(0, 0, 0, 0.72);
  --backdrop: rgba(3, 7, 18, 0.78);

  --brand-career: #94a3b8;
  --nav-ink: #cbd5e1;
  --nav-hover-bg: #1e293b;
  --saved-border: #334155;
  --badge-bg: #312e81;
  --badge-ink: #e0e7ff;
  --border-btn-ink: #e2e8f0;
  --border-btn-hover-border: #4f46e5;
  --row-divider: #1f2937;
  --panel-divider: #263244;
  --empty-border: #334155;
  --placeholder: #94a3b8;
  --chevron-ink: #94a3b8;
  --search-ink: #94a3b8;
  --input-bg: #0f172a;
  --input-border: #334155;

  --stat-indigo-bg: #1e1b4b;
  --stat-indigo-ink: #a5b4fc;
  --stat-amber-bg: #2e200a;
  --stat-amber-ink: #fcd34d;
  --stat-violet-bg: #2e1065;
  --stat-violet-ink: #ddd6fe;

  --chip-ink: #cbd5e1;
  --chip-hover-bg: #1e293b;
  --chip-hover-border: #4f46e5;
  --chip-active-bg: #312e81;
  --chip-active-ink: #e0e7ff;
  --chip-active-border: #6366f1;

  --summary-bg: #1e1b4b;
  --summary-border: #3730a3;
  --summary-ink: #e0e7ff;

  --company-ink: #94a3b8;
  --meta-bg: #1e293b;
  --meta-ink: #cbd5e1;
  --meta-income-bg: #172554;
  --meta-income-ink: #93c5fd;
  --meta-alert-bg: #431407;
  --meta-alert-ink: #fdba74;
  --meta-review-bg: #2e1065;
  --meta-review-ink: #ddd6fe;

  --icon-btn-ink: #cbd5e1;
  --icon-btn-active-bg: #312e81;
  --icon-btn-active-border: #6366f1;
  --bookmark-fill: #818cf8;

  --deadline-bg: #2e200a;
  --deadline-ink: #fcd34d;
  --info-bg: #172554;
  --info-border: #1e40af;
  --info-ink: #bfdbfe;
  --warning-bg: #2e200a;
  --warning-border: #78350f;
  --warning-ink: #fde68a;
  --ai-output-bg: #0f172a;
  --ai-output-border: #334155;
  --ai-output-ink: #e2e8f0;
  --toast-bg: #1e293b;
  --toast-ink: #f8fafc;
  --toast-border: #334155;

  --segments-bg: #0f172a;
  --segment-ink: #94a3b8;
  --segment-active-bg: #1e293b;
  --segment-active-ink: #e0e7ff;
  --segment-hover-ink: #f8fafc;
  --company-logo-surface: #f1f5f9;
  --logo-border: #334155;

  --hero-bg: linear-gradient(135deg, #111827 0%, #161f33 60%, #1e1b4b 100%);
  --employer-bg: linear-gradient(135deg, #161f33 0%, #111827 65%, #1e1b4b 100%);
  --employer-border: #273449;
  --employer-kicker: #a5b4fc;
  --employer-copy: #cbd5e1;
  --employer-checks-bg: rgba(11, 15, 25, 0.65);
  --employer-checks-ink: #e2e8f0;

  --tone-0-ink: #ffffff; --tone-0-bg: linear-gradient(135deg, #4f46e5, #6366f1);
  --tone-1-ink: #ffffff; --tone-1-bg: linear-gradient(135deg, #b45309, #d97706);
  --tone-2-ink: #ffffff; --tone-2-bg: linear-gradient(135deg, #6d28d9, #7c3aed);
  --tone-3-ink: #ffffff; --tone-3-bg: linear-gradient(135deg, #be123c, #e11d48);
  --tone-4-ink: #ffffff; --tone-4-bg: linear-gradient(135deg, #0369a1, #2563eb);
  --tone-5-ink: #ffffff; --tone-5-bg: linear-gradient(135deg, #334155, #475569);

  --stage-saved-bg: #1e1b4b; --stage-saved-ink: #c7d2fe; --stage-saved-border: #4338ca;
  --stage-preparing-bg: #2e200a; --stage-preparing-ink: #fcd34d; --stage-preparing-border: #78350f;
  --stage-applied-bg: #172554; --stage-applied-ink: #93c5fd; --stage-applied-border: #1d4ed8;
  --stage-interview-bg: #2e1065; --stage-interview-ink: #ddd6fe; --stage-interview-border: #6d28d9;

  --fit-high-bg: #172554; --fit-high-ink: #93c5fd; --fit-high-border: #1d4ed8;
  --fit-mid-bg: #2e200a; --fit-mid-ink: #fcd34d; --fit-mid-border: #78350f;
  --fit-low-bg: #1e293b; --fit-low-ink: #cbd5e1; --fit-low-border: #334155;

  --matched-bg: #172554; --matched-ink: #93c5fd; --matched-border: #1d4ed8;
  --missing-bg: #431407; --missing-ink: #fdba74; --missing-border: #9a3412;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
img { display: block; width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 30; top: 10px; left: 12px; transform: translateY(-160%); background: var(--surface); color: var(--ink); border: 1px solid var(--line); padding: 10px 15px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { transform: none; }
.container { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  overflow-x: clip;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; min-width: 0; }
.header-actions { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -.05em; font-weight: 820; white-space: nowrap; }
.brand-career { color: var(--brand-career); font-weight: 570; }
.brand-mark { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 11px; color: #ffffff; background: linear-gradient(135deg, #4f46e5, #6366f1); box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25); }
.brand-mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav-item { display: inline-flex; align-items: center; justify-content: center; padding: 7px 13px; border-radius: 999px; color: var(--nav-ink); font-weight: 620; font-size: .91rem; white-space: nowrap; transition: background .16s, color .16s; }
.nav-item:hover { background: var(--nav-hover-bg); color: var(--ink); }
.nav-item.active { background: var(--primary-soft); color: var(--primary-ink); font-weight: 720; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 9px 14px; border-radius: 11px; border: 1px solid transparent; font-size: .92rem; font-weight: 700; line-height: 1.25; white-space: nowrap; transition: background .17s, border-color .17s, color .17s, transform .17s; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .55; cursor: wait; }
[data-icon] { display: inline-flex; flex: 0 0 auto; }
[data-icon] svg { width: 18px; height: 18px; }
.saved-button { background: var(--surface); color: var(--ink); border-color: var(--saved-border); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.saved-button:hover, .border-button:hover { background: var(--surface-hover); border-color: var(--border-btn-hover-border); color: var(--primary-ink); }
.theme-toggle { background: var(--surface); color: var(--ink); border: 1px solid var(--saved-border); border-radius: 11px; width: 42px; height: 42px; min-height: 42px; padding: 0; display: grid; place-items: center; flex: 0 0 auto; transition: background .17s, border-color .17s, color .17s, transform .17s; }
.theme-toggle:hover { background: var(--surface-hover); border-color: var(--border-btn-hover-border); color: var(--primary-ink); }
.theme-toggle:active { transform: translateY(1px); }
.saved-count, .filter-count { color: var(--badge-ink); background: var(--badge-bg); min-width: 21px; height: 21px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; font-size: .74rem; font-weight: 760; }

.hero {
  margin-top: 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 24px;
  padding: 36px 40px;
  background:
    radial-gradient(circle at 12% 16%, rgba(79, 70, 229, 0.12), transparent 46%),
    radial-gradient(circle at 86% 18%, rgba(124, 58, 237, 0.11), transparent 44%),
    radial-gradient(circle at 76% 90%, rgba(245, 158, 11, 0.12), transparent 46%),
    var(--hero-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--ink);
}
:root[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 14% 18%, rgba(99, 102, 241, 0.24), transparent 48%),
    radial-gradient(circle at 86% 16%, rgba(124, 58, 237, 0.2), transparent 45%),
    radial-gradient(circle at 75% 88%, rgba(245, 158, 11, 0.14), transparent 48%),
    var(--hero-bg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr); gap: 28px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--primary-soft); border: 1px solid var(--primary-border); color: var(--primary-ink); font-size: .82rem; font-weight: 680; }
.hero-label svg { width: 16px; height: 16px; color: var(--amber); }
.hero-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.48);
  display: inline-block;
  flex: 0 0 auto;
  animation: live-ping 2.2s ease-out infinite;
}
@keyframes live-ping {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
h1, h2, h3, p { margin: 0; }
.hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.65rem); line-height: 1.08; letter-spacing: -.05em; font-weight: 820; margin: 14px 0 12px; color: var(--ink); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #4f46e5 0%, #7c3aed 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
:root[data-theme="dark"] .hero h1 em {
  background: linear-gradient(120deg, #818cf8 0%, #c084fc 55%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: var(--muted-strong); max-width: 470px; font-size: .98rem; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-actions .button { min-height: 45px; padding-inline: 16px; }
.hero-quick-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.hero-quick-tags .chip { min-height: 32px; padding: 5px 11px; font-size: .79rem; }
.hero-visual { position: relative; min-width: 0; }
.hero-photo-frame { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--surface-soft); box-shadow: var(--shadow); }
.hero-photo { width: 100%; height: 100%; min-height: 230px; background: var(--surface-soft) url('assets/campus.webp') center 45% / cover no-repeat; }
.hero-floating-card, .hero-floating-top {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--header-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--compare-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: .83rem;
  color: var(--ink);
  animation: float-card 5s ease-in-out infinite;
}
.hero-floating-card { left: -12px; bottom: 14px; }
.hero-floating-top { right: -10px; top: 14px; animation-delay: -2.5s; }
.hero-floating-card strong, .hero-floating-top strong { display: block; font-size: .98rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.hero-floating-card span, .hero-floating-top span { color: var(--muted); font-size: .77rem; }
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.primary-button { background: var(--primary-btn); color: #ffffff; border-color: var(--primary-btn); }
.primary-button:hover { background: var(--primary-btn-hover); border-color: var(--primary-btn-hover); }
.soft-button { background: var(--primary-soft); color: var(--primary-ink); border-color: var(--primary-border); }
.soft-button:hover { background: var(--badge-bg); border-color: var(--focus); }
.white-button { background: #ffffff; color: #312e81; border-color: #e2e8f0; }
.white-button:hover { background: #eef2ff; border-color: #c7d2fe; }

.about-career { margin: 32px 0; max-width: 75ch; }
.about-career p { color: var(--muted); line-height: 1.65; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.stat { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; min-width: 0; width: 100%; text-align: left; display: flex; align-items: center; gap: 13px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.stat-clickable, button.stat, .stat[data-action] { cursor: pointer; }
.stat-clickable:hover, button.stat:hover, .stat[data-action]:hover { transform: translateY(-2px); border-color: var(--primary-border); box-shadow: var(--card-hover-shadow); }
.stat-clickable[aria-pressed='true'], button.stat[aria-pressed='true'], .stat[aria-pressed='true'], .stat-clickable.active { border-color: var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 2px var(--primary-border), var(--shadow); }
.stat-hint, .stat-arrow { margin-left: auto; color: var(--muted); font-size: .76rem; font-weight: 680; opacity: .7; transition: transform .18s ease, opacity .18s ease, color .18s ease; }
.stat-clickable:hover .stat-hint, .stat-clickable:hover .stat-arrow, button.stat:hover .stat-arrow { opacity: 1; color: var(--primary); transform: translateX(2px); }
.stat-icon, .deadline-icon { border-radius: 12px; width: 43px; height: 43px; display: grid; place-items: center; flex: 0 0 auto; }
.stat-icon svg { width: 20px; height: 20px; }
.green { background: var(--stat-indigo-bg); color: var(--stat-indigo-ink); }
.yellow { background: var(--stat-amber-bg); color: var(--stat-amber-ink); }
.lilac { background: var(--stat-violet-bg); color: var(--stat-violet-ink); }
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; margin-bottom: 5px; }
.stat small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.24; }

.employer-strip-section { margin-top: 22px; }
.employer-strip-head, .collections-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.employer-strip-head h3, .collections-head h3 { font-size: .84rem; font-weight: 760; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.employer-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.employer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 5px 11px 5px 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .83rem;
  font-weight: 660;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.employer-pill img, .employer-pill .company-mark, .employer-pill .logo-placeholder {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--company-logo-surface);
  border: 1px solid var(--logo-border);
  padding: 2px;
  flex: 0 0 auto;
  font-size: .66rem;
  box-shadow: none;
}
.employer-pill .logo-placeholder { background: var(--logo-bg, linear-gradient(135deg, #4f46e5, #6366f1)); border: 0; padding: 0; color: #fff; }
.employer-pill-count, .employer-pill small, .employer-pill b {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted-strong);
  font-size: .72rem;
  font-weight: 750;
}
.employer-pill:hover { transform: translateY(-1px); border-color: var(--primary-border); background: var(--surface-hover); box-shadow: 0 6px 16px rgba(79, 70, 229, 0.08); }
.employer-pill[aria-pressed='true'], .employer-pill.active { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-ink); box-shadow: 0 0 0 1px var(--primary); }
.employer-pill[aria-pressed='true'] .employer-pill-count, .employer-pill[aria-pressed='true'] small, .employer-pill[aria-pressed='true'] b, .employer-pill.active .employer-pill-count { background: var(--primary); color: #ffffff; }

.collections-section { margin-top: 22px; }
.collections-row { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 11px; }
.collection-card {
  --col-bg: var(--primary-soft);
  --col-ink: var(--primary-ink);
  --col-glow: rgba(79, 70, 229, 0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  min-height: 106px;
  padding: 14px 15px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.collection-card[data-accent="indigo"] { --col-bg: #eef2ff; --col-ink: #4338ca; --col-glow: rgba(79, 70, 229, 0.15); }
.collection-card[data-accent="amber"] { --col-bg: #fffbeb; --col-ink: #b45309; --col-glow: rgba(245, 158, 11, 0.16); }
.collection-card[data-accent="violet"] { --col-bg: #f5f3ff; --col-ink: #6d28d9; --col-glow: rgba(124, 58, 237, 0.15); }
.collection-card[data-accent="rose"] { --col-bg: #fff1f2; --col-ink: #be123c; --col-glow: rgba(225, 29, 72, 0.14); }
.collection-card[data-accent="sky"] { --col-bg: #f0f9ff; --col-ink: #0369a1; --col-glow: rgba(2, 132, 199, 0.14); }
.collection-card[data-accent="slate"] { --col-bg: #f1f5f9; --col-ink: #334155; --col-glow: rgba(51, 65, 85, 0.13); }
:root[data-theme="dark"] .collection-card[data-accent="indigo"] { --col-bg: #1e1b4b; --col-ink: #a5b4fc; --col-glow: rgba(99, 102, 241, 0.28); }
:root[data-theme="dark"] .collection-card[data-accent="amber"] { --col-bg: #2e200a; --col-ink: #fcd34d; --col-glow: rgba(251, 191, 36, 0.24); }
:root[data-theme="dark"] .collection-card[data-accent="violet"] { --col-bg: #2e1065; --col-ink: #ddd6fe; --col-glow: rgba(139, 92, 246, 0.28); }
:root[data-theme="dark"] .collection-card[data-accent="rose"] { --col-bg: #4c0519; --col-ink: #fda4af; --col-glow: rgba(244, 63, 94, 0.26); }
:root[data-theme="dark"] .collection-card[data-accent="sky"] { --col-bg: #0c4a6e; --col-ink: #7dd3fc; --col-glow: rgba(56, 189, 248, 0.25); }
:root[data-theme="dark"] .collection-card[data-accent="slate"] { --col-bg: #1e293b; --col-ink: #e2e8f0; --col-glow: rgba(148, 163, 184, 0.2); }
.collection-icon, .collection-card > [data-icon] {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--col-bg);
  color: var(--col-ink);
  flex: 0 0 auto;
}
.collection-card strong, .collection-title { display: block; font-size: .9rem; font-weight: 780; line-height: 1.28; letter-spacing: -.015em; color: var(--ink); }
.collection-card small, .collection-sub, .collection-count { display: block; font-size: .76rem; font-weight: 620; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.collection-card:hover { transform: translateY(-2px); border-color: var(--col-ink); box-shadow: 0 12px 26px var(--col-glow); }
.collection-card[aria-pressed='true'], .collection-card.active { border: 2px solid var(--primary); padding: 13px 14px; background: var(--primary-soft); box-shadow: 0 10px 24px var(--col-glow); }

.jobs { margin-top: 36px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
h2 { font-size: clamp(1.75rem,3vw,2.35rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.14; }
.section-head p { color: var(--muted); font-size: .97rem; margin-top: 7px; line-height: 1.45; }
.text-button { background: transparent; color: var(--accent-ink); padding-inline: 0; min-height: 36px; }
.text-button:hover { color: var(--accent-ink-hover); text-decoration: underline; text-underline-offset: 4px; }
.source-button { font-size: .85rem; font-weight: 620; white-space: nowrap; }
.source-button svg { width: 16px; height: 16px; }

.search-bar { min-height: 63px; display: grid; grid-template-columns: minmax(120px, 1fr) minmax(170px, 26%) auto; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 7px; box-shadow: var(--shadow); margin-bottom: 14px; transition: border-color .18s ease, box-shadow .18s ease; }
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow); }
.search-field, .location-field { min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding-inline: 14px; color: var(--search-ink); position: relative; }
.location-field { border-left: 1px solid var(--line); }
.search-field input, .location-field select, .sort-label select { min-width: 0; color: var(--ink); width: 100%; background: transparent; border: 0; padding: 7px 0; }
.search-field input::placeholder { color: var(--placeholder); opacity: 1; }
.location-field select, .sort-label select { appearance: none; cursor: pointer; padding-right: 20px; }
.search-clear { display: inline-grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; padding: 0; border-radius: 50%; border: 0; background: var(--surface-soft); color: var(--muted); transition: background .15s, color .15s; }
.search-clear:hover { background: var(--badge-bg); color: var(--primary-ink); }
.search-clear svg { width: 13px; height: 13px; }
.kbd-hint { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; font-family: inherit; font-size: .75rem; font-weight: 700; line-height: 1; color: var(--muted); background: var(--surface-soft); border: 1px solid var(--line); pointer-events: none; user-select: none; }
.chevron { pointer-events: none; position: absolute; right: 14px; color: var(--chevron-ink); }
.chevron svg { width: 15px; height: 15px; }
.search-button { min-height: 45px; padding-inline: 22px; }

.recent-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: -2px 0 13px; font-size: .8rem; color: var(--muted); }
.recent-strip > span:first-child, .recent-label { font-weight: 660; white-space: nowrap; color: var(--muted); }
.recent-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 235px; min-height: 29px; padding: 3px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted-strong); font-size: .78rem; font-weight: 620; white-space: nowrap; flex: 0 0 auto; transition: border-color .15s, background .15s, color .15s; }
.recent-chip:not(:has(img)):not(:has(.recent-dot))::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }
.recent-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); flex: 0 0 auto; }
.recent-chip img { width: 16px; height: 16px; border-radius: 50%; object-fit: contain; flex: 0 0 auto; }
.recent-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-chip:hover { border-color: var(--primary-border); background: var(--surface-hover); color: var(--primary-ink); }

.job-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 305px); gap: 20px; align-items: start; }
.categories { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.chip { color: var(--chip-ink); border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 7px 13px; line-height: 1.3; font-size: .83rem; font-weight: 620; min-height: 36px; transition: background .15s, border-color .15s, color .15s; }
.chip:hover { border-color: var(--chip-hover-border); background: var(--chip-hover-bg); color: var(--primary-ink); }
.chip[aria-pressed='true'] { background: var(--chip-active-bg); color: var(--chip-active-ink); border-color: var(--chip-active-border); font-weight: 730; }
.results-bar, .result-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.results-bar { justify-content: space-between; margin: 15px 0 10px; }
.result-count { color: var(--muted); font-size: .88rem; }
.result-count b { color: var(--ink); }
.border-button { color: var(--border-btn-ink); border-color: var(--line); background: var(--surface); }
.filter-button, .sort-label { min-height: 36px; font-size: .83rem; }
.filter-button { padding: 5px 10px; }
.filter-button svg { width: 15px; height: 15px; }
.sort-label { display: inline-flex; align-items: center; position: relative; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 10px; padding-left: 11px; font-weight: 610; }
.sort-label select { padding: 6px 24px 6px 0; }
.sort-label .chevron { right: 7px; }
.filter-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .87rem; color: var(--summary-ink); padding: 7px 12px; background: var(--summary-bg); border: 1px solid var(--summary-border); border-radius: 10px; margin-bottom: 10px; }

.job-list { display: grid; gap: 12px; }
.job-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid transparent; border-radius: 16px; cursor: pointer; transition: box-shadow .16s, border-color .16s, transform .16s; }
.job-card:hover { box-shadow: var(--card-hover-shadow); border-color: var(--primary-border); border-left-color: var(--primary); transform: translateY(-1px); }
.job-card-top { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; gap: 13px; align-items: start; }
.job-card-heading { min-width: 0; }
.job-card-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 5px; }
.category-pill { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: .73rem; font-weight: 700; letter-spacing: .01em; background: var(--primary-soft); color: var(--primary-ink); border: 1px solid var(--primary-border); }
.fit-mini-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 760; line-height: 1.3; background: var(--primary-soft); color: var(--primary-ink); border: 1px solid var(--primary-border); white-space: nowrap; }
.fit-mini-badge.fit-high { background: var(--fit-high-bg); color: var(--fit-high-ink); border-color: var(--fit-high-border); }
.fit-mini-badge.fit-mid { background: var(--fit-mid-bg); color: var(--fit-mid-ink); border-color: var(--fit-mid-border); }
.fit-mini-badge.fit-low { background: var(--fit-low-bg); color: var(--fit-low-ink); border-color: var(--fit-low-border); }
.job-card-bookmark { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.job-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 11px; border-top: 1px solid var(--row-divider); }
.job-card-footer .skill-tags { margin-top: 0; flex: 1 1 200px; }
.job-card-cta { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; margin-left: auto; }

.company-link { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--company-ink); font-size: .9rem; font-weight: 600; text-align: left; transition: color .15s; }
.company-link:hover { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.company-more-badge { display: inline-flex; align-items: center; padding: 1px 7px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--muted-strong); font-size: .71rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.company-link:hover .company-more-badge { background: var(--primary-soft); border-color: var(--primary-border); color: var(--primary-ink); }

.perk-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.perk-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 7px; font-size: .74rem; font-weight: 680; line-height: 1.3; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted-strong); white-space: nowrap; }
.perk-badge[data-perk="stamp"] { background: #eef2ff; color: #3730a3; border-color: #c7d2fe; }
.perk-badge[data-perk="no-exp"] { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.perk-badge[data-perk="convert"] { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.perk-badge[data-perk="mentor"] { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.perk-badge[data-perk="flex"] { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
:root[data-theme="dark"] .perk-badge[data-perk="stamp"] { background: #1e1b4b; color: #c7d2fe; border-color: #3730a3; }
:root[data-theme="dark"] .perk-badge[data-perk="no-exp"] { background: #0c4a6e; color: #7dd3fc; border-color: #075985; }
:root[data-theme="dark"] .perk-badge[data-perk="convert"] { background: #2e1065; color: #ddd6fe; border-color: #5b21b6; }
:root[data-theme="dark"] .perk-badge[data-perk="mentor"] { background: #2e200a; color: #fcd34d; border-color: #78350f; }
:root[data-theme="dark"] .perk-badge[data-perk="flex"] { background: #172554; color: #93c5fd; border-color: #1e40af; }

.save-heart[aria-pressed='true'] { background: #fff1f2; color: #e11d48; border-color: #fecdd3; }
:root[data-theme="dark"] .save-heart[aria-pressed='true'] { background: #4c0519; color: #fb7185; border-color: #881337; }
.save-heart[aria-pressed='true'] svg { fill: currentColor; animation: heart-pop .32s cubic-bezier(.17, .89, .32, 1.35); }
@keyframes heart-pop {
  0% { transform: scale(.8); }
  55% { transform: scale(1.24); }
  100% { transform: scale(1); }
}

.logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: var(--logo-bg, linear-gradient(135deg, #4f46e5, #6366f1));
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}
.logo-placeholder[data-tone='0'] { background: var(--tone-0-bg); }
.logo-placeholder[data-tone='1'] { background: var(--tone-1-bg); }
.logo-placeholder[data-tone='2'] { background: var(--tone-2-bg); }
.logo-placeholder[data-tone='3'] { background: var(--tone-3-bg); }
.logo-placeholder[data-tone='4'] { background: var(--tone-4-bg); }
.logo-placeholder[data-tone='5'] { background: var(--tone-5-bg); }

.badge-new {
  display: inline-flex;
  align-items: center;
  background: #ef4444;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.25;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.28);
  animation: pulse-new 2s ease-in-out infinite;
}
:root[data-theme="dark"] .badge-new {
  background: #f43f5e;
  color: #fff;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.4);
}
@keyframes pulse-new {
  0%, 100% { opacity: 1; }
  50% { opacity: .7; }
}

.company-mark { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: .97rem; font-weight: 790; letter-spacing: -.04em; flex: 0 0 auto; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }
.company-mark[data-tone='0'] { color: var(--tone-0-ink); background: var(--tone-0-bg); }
.company-mark[data-tone='1'] { color: var(--tone-1-ink); background: var(--tone-1-bg); }
.company-mark[data-tone='2'] { color: var(--tone-2-ink); background: var(--tone-2-bg); }
.company-mark[data-tone='3'] { color: var(--tone-3-ink); background: var(--tone-3-bg); }
.company-mark[data-tone='4'] { color: var(--tone-4-ink); background: var(--tone-4-bg); }
.company-mark[data-tone='5'] { color: var(--tone-5-ink); background: var(--tone-5-bg); }
.job-title-button { text-align: left; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 1.04rem; font-weight: 770; line-height: 1.35; letter-spacing: -.015em; }
.job-title-button:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.company-name { color: var(--company-ink); margin-top: 3px; font-size: .9rem; }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 0; }
.meta { display: inline-flex; align-items: center; gap: 5px; background: var(--meta-bg); color: var(--meta-ink); border-radius: 7px; font-size: .79rem; line-height: 1.3; padding: 4px 8px; font-weight: 560; }
.meta svg { width: 13px; height: 13px; }
.meta.income { background: var(--meta-income-bg); color: var(--meta-income-ink); }
.meta.alert { background: var(--meta-alert-bg); color: var(--meta-alert-ink); }
.meta.review { background: var(--meta-review-bg); color: var(--meta-review-ink); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.skill-tag { display: inline-flex; align-items: center; gap: 4px; min-height: 26px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-soft); color: var(--muted-strong); font-size: .76rem; font-weight: 620; line-height: 1.25; transition: background .15s, border-color .15s, color .15s; }
.skill-tag:hover { background: var(--chip-hover-bg); border-color: var(--chip-hover-border); color: var(--primary-ink); }
.skill-tag[aria-pressed='true'], .skill-tag.active { background: var(--chip-active-bg); color: var(--chip-active-ink); border-color: var(--chip-active-border); font-weight: 730; }

.stage-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: .73rem; font-weight: 720; line-height: 1.3; border: 1px solid transparent; white-space: nowrap; }
.stage-pill[data-stage="saved"] { background: var(--stage-saved-bg); color: var(--stage-saved-ink); border-color: var(--stage-saved-border); }
.stage-pill[data-stage="preparing"] { background: var(--stage-preparing-bg); color: var(--stage-preparing-ink); border-color: var(--stage-preparing-border); }
.stage-pill[data-stage="applied"] { background: var(--stage-applied-bg); color: var(--stage-applied-ink); border-color: var(--stage-applied-border); }
.stage-pill[data-stage="interview"] { background: var(--stage-interview-bg); color: var(--stage-interview-ink); border-color: var(--stage-interview-border); }

.job-card-actions { display: flex; flex-direction: column; gap: 8px; justify-content: space-between; align-items: end; }
.icon-button { background: var(--surface); color: var(--icon-btn-ink); display: grid; place-items: center; height: 36px; width: 36px; padding: 0; border-radius: 10px; border: 1px solid var(--line); }
.icon-button:hover, .icon-button[aria-pressed='true'] { background: var(--icon-btn-active-bg); color: var(--accent-ink); border-color: var(--icon-btn-active-border); }
.icon-button[aria-pressed='true'] svg { fill: var(--bookmark-fill); }
.job-card .detail-button { font-size: .8rem; min-height: 32px; padding: 5px 10px; }
.compare-toggle { min-height: 32px; padding: 5px 10px; font-size: .78rem; font-weight: 660; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--border-btn-ink); display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.compare-toggle:hover { background: var(--surface-hover); border-color: var(--chip-hover-border); color: var(--primary-ink); }
.compare-toggle[aria-pressed='true'] { background: var(--chip-active-bg); color: var(--chip-active-ink); border-color: var(--chip-active-border); font-weight: 730; }

.sidebar { display: grid; gap: 14px; }
.assistant-card, .deadline-card { padding: 20px; border-radius: 18px; }
.assistant-card { background: linear-gradient(145deg, #1e1b4b 0%, #3730a3 55%, #4f46e5 100%); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 14px 30px rgba(49, 46, 129, 0.22); }
.assistant-top { display: flex; align-items: center; gap: 9px; }
.assistant-icon { display: grid; place-items: center; background: #fbbf24; color: #1e1b4b; width: 35px; height: 35px; border-radius: 10px; }
.ai-label { color: #e0e7ff; font-weight: 720; letter-spacing: .09em; font-size: .69rem; }
.sidebar h3 { font-size: 1.2rem; font-weight: 780; letter-spacing: -.03em; line-height: 1.22; }
.assistant-card h3 { margin-top: 12px; font-size: 1.45rem; color: #ffffff; }
.assistant-card p { color: #e0e7ff; font-size: .91rem; line-height: 1.55; margin: 6px 0 16px; }
.assistant-card .button { width: 100%; justify-content: space-between; }

.deadline-card { background: var(--surface); border: 1px solid var(--line); }
.deadline-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.deadline-icon { color: var(--deadline-ink); background: var(--deadline-bg); width: 34px; height: 34px; border-radius: 9px; }
.upcoming-item { display: block; border: 0; background: transparent; color: var(--ink); width: 100%; text-align: left; padding: 9px 0; border-bottom: 1px solid var(--row-divider); }
.upcoming-item:hover .upcoming-title { color: var(--accent-ink); text-decoration: underline; }
.upcoming-title { display: block; font-size: .88rem; font-weight: 700; line-height: 1.35; }
.upcoming-meta { display: block; color: var(--muted); margin-top: 3px; font-size: .78rem; line-height: 1.4; }
.deadline-card .text-button { font-size: .83rem; min-height: 36px; margin-top: 7px; }

.empty { padding: 28px 20px; background: var(--surface); border: 1px dashed var(--empty-border); border-radius: 14px; }
.empty h3 { font-size: 1.12rem; margin-bottom: 5px; }
.empty p, .muted { color: var(--muted); line-height: 1.5; }
.empty .button { margin-top: 11px; }
.pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.pagination .chip { min-width: 36px; }
.footer { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 22px 0; }
.footer-inner > div { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer .brand { font-size: 18px; }
.footer .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
.footer .brand-mark svg { width: 17px; height: 17px; }
.footer .text-button { font-size: .83rem; }

#panel { width: min(100% - 28px, 680px); max-height: min(89dvh, 840px); overflow: auto; overscroll-behavior: contain; padding: 0; background: var(--panel-bg); color: var(--ink); border: 1px solid var(--panel-border); border-radius: 20px; box-shadow: 0 24px 90px rgba(15, 23, 42, 0.35); }
#panel:has(.compare-table), #panel:has(.insights-grid), #panel:has(.company-grid) { width: min(100% - 28px, 890px); }
#panel::backdrop { background: var(--backdrop); backdrop-filter: blur(4px); }
body:has(#panel[open]) { overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; align-items: start; gap: 12px; padding: 22px 24px 15px; border-bottom: 1px solid var(--line); background: var(--panel-bg); position: sticky; top: 0; z-index: 2; }
#panel-title { font-size: clamp(1.32rem,3.8vw,1.78rem); margin-top: 1px; }
.panel-subtitle { color: var(--muted); font-size: .9rem; margin-top: 6px; line-height: 1.45; }
.panel-head .icon-button { flex: 0 0 auto; }
.panel-body { padding: 20px 24px 24px; }
.panel-body > :first-child { margin-top: 0; }
.panel-body h3 { font-size: 1.03rem; margin-bottom: 5px; }
.panel-body p, .panel-body li { line-height: 1.55; }
.panel-body .muted { font-size: .9rem; }
.panel-section { margin-top: 15px; overflow-wrap: anywhere; }
.panel-section p { white-space: pre-line; color: var(--muted-strong); }
.panel-section ul, .steps, .guide-list { padding-left: 22px; margin: 6px 0; }
.panel-section li + li, .steps li + li { margin-top: 4px; }
.source-link { color: var(--link-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 650; overflow-wrap: anywhere; }
.detail-top { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.detail-top + .panel-section { margin-top: 14px; }
.panel-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.detail-highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.detail-tile { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--surface-soft); border: 1px solid var(--line); min-width: 0; }
.detail-tile [data-icon] { color: var(--primary); margin-top: 2px; }
.detail-tile small, .detail-tile-label { display: block; font-size: .73rem; font-weight: 680; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.detail-tile strong, .detail-tile-value { display: block; font-size: .88rem; font-weight: 720; color: var(--ink); line-height: 1.35; margin-top: 2px; }
.jd-bullets { list-style: none !important; padding-left: 0 !important; margin: 8px 0 0 !important; display: grid; gap: 7px; }
.jd-bullets li { position: relative; padding-left: 18px; line-height: 1.6; color: var(--muted-strong); font-size: .93rem; }
.jd-bullets li + li { margin-top: 0; }
.jd-bullets li::before { content: ''; position: absolute; left: 2px; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.detail-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px -24px -24px;
  padding: 13px 24px calc(13px + env(safe-area-inset-bottom, 0px));
  background: var(--header-bg);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.job-preview .detail-sticky-cta { margin: 18px -24px -22px; padding: 12px 24px; border-radius: 0 0 18px 18px; }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 11px; margin-top: 14px; }
.company-card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-align: left; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.company-card:hover { transform: translateY(-2px); border-color: var(--primary-border); box-shadow: var(--card-hover-shadow); }
.company-card-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.company-card strong { font-size: .93rem; font-weight: 760; line-height: 1.3; color: var(--ink); }
.company-card-meta { display: flex; flex-wrap: wrap; gap: 5px; font-size: .77rem; color: var(--muted); }
.info-callout { background: var(--info-bg); border: 1px solid var(--info-border); padding: 10px 12px; border-radius: 10px; color: var(--info-ink); font-size: .87rem; line-height: 1.5; margin-top: 13px; }
.warning-callout { background: var(--warning-bg); color: var(--warning-ink); border-color: var(--warning-border); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: grid; align-content: start; gap: 5px; min-width: 0; }
.form-field > span { font-size: .88rem; font-weight: 710; }
.form-field input, .form-field select, .form-field textarea { min-width: 0; width: 100%; border-radius: 10px; padding: 9px 11px; color: var(--ink); border: 1px solid var(--input-border); background: var(--input-bg); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--placeholder); opacity: 1; }
.form-field textarea { min-height: 106px; resize: vertical; }
.form-field.full { grid-column: 1 / -1; }
.check-field { display: flex; align-items: center; gap: 7px; }
.check-field input { accent-color: var(--primary); width: 18px; height: 18px; }
.ai-tabs, .stage-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.ai-result { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 15px; }
.match-card, .saved-row { display: grid; align-items: center; gap: 9px; grid-template-columns: minmax(0, 1fr) auto; padding: 12px 0; border-bottom: 1px solid var(--panel-divider); }
.match-card p, .saved-row p { margin: 4px 0 0; }
.saved-item-card { padding: 13px 14px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); display: grid; gap: 9px; margin-bottom: 10px; }
.saved-item-card .saved-row { padding: 0; border-bottom: 0; }
.saved-note { width: 100%; min-width: 0; border-radius: 9px; padding: 8px 10px; font-size: .86rem; line-height: 1.45; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); resize: vertical; }
.saved-note::placeholder { color: var(--placeholder); opacity: 1; }
.saved-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: end; gap: 7px; }
.saved-controls select { max-width: 150px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent-ink); background: var(--surface-soft); padding: 6px; font-size: .86rem; }
.ai-output { margin-top: 10px; padding: 12px; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ai-output-ink); font: inherit; font-size: .92rem; line-height: 1.55; border: 1px solid var(--ai-output-border); border-radius: 10px; background: var(--ai-output-bg); }
.guide-list li + li { margin-top: 12px; }

.fit-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: .78rem; font-weight: 760; line-height: 1.3; border: 1px solid transparent; white-space: nowrap; }
.fit-high { background: var(--fit-high-bg); color: var(--fit-high-ink); border-color: var(--fit-high-border); }
.fit-mid { background: var(--fit-mid-bg); color: var(--fit-mid-ink); border-color: var(--fit-mid-border); }
.fit-low { background: var(--fit-low-bg); color: var(--fit-low-ink); border-color: var(--fit-low-border); }
.tag-matched, .tag-missing { display: inline-flex; align-items: center; gap: 4px; min-height: 25px; padding: 3px 9px; border-radius: 999px; border: 1px solid transparent; font-size: .76rem; font-weight: 660; line-height: 1.25; }
.tag-matched { background: var(--matched-bg); color: var(--matched-ink); border-color: var(--matched-border); }
.tag-missing { background: var(--missing-bg); color: var(--missing-ink); border-color: var(--missing-border); }
.quick-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.quick-chips .chip, .quick-chips .skill-tag { min-height: 30px; padding: 4px 10px; font-size: .78rem; }
.checklist { display: grid; gap: 8px; margin-top: 9px; padding: 0; list-style: none; }
.checklist-item { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-soft); font-size: .89rem; line-height: 1.45; color: var(--ink); }
.checklist-item input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); cursor: pointer; }
.checklist-item:has(input:checked) span, .checklist-item.done span { text-decoration: line-through; color: var(--muted); }
.checklist-item[data-priority="high"] { border-color: var(--warning-border); }

.compare-bar { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 15; pointer-events: none; padding-inline: 16px; }
.compare-bar-inner { pointer-events: auto; width: min(1200px, 100%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 15px; border-radius: 16px; background: var(--panel-bg); color: var(--ink); border: 1px solid var(--panel-border); box-shadow: var(--compare-shadow); backdrop-filter: blur(12px); }
.compare-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; min-width: 0; flex: 1 1 auto; }
.compare-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 240px; min-height: 32px; padding: 4px 10px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); color: var(--ink); font-size: .82rem; font-weight: 620; }
.compare-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compare-chip button { display: inline-grid; place-items: center; padding: 0; border: 0; background: transparent; color: var(--muted); width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto; }
.compare-chip button:hover { color: var(--ink); background: var(--surface-hover); }
.compare-bar-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body:has(.compare-bar:not([hidden])) .footer { padding-bottom: 84px; }
body:has(.compare-bar:not([hidden])) > .toast { bottom: 86px; }

.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); margin-top: 12px; -webkit-overflow-scrolling: touch; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .88rem; line-height: 1.45; }
.compare-table th, .compare-table td { padding: 11px 13px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-table th:last-child, .compare-table td:last-child { border-right: 0; }
.compare-table thead th { background: var(--surface-soft); color: var(--ink); font-weight: 760; font-size: .92rem; }
.compare-table tbody th { width: 145px; min-width: 120px; background: var(--surface-soft); color: var(--muted-strong); font-weight: 700; position: sticky; left: 0; z-index: 1; }
.compare-table td { color: var(--ink); }

.insights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 16px; }
.insight-card { padding: 14px 15px; border-radius: 13px; background: var(--surface-soft); border: 1px solid var(--line); display: grid; gap: 4px; }
.insight-card small, .insight-card span { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.insight-metric { display: block; font-size: 1.55rem; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: var(--ink); }
.insight-bars { display: grid; gap: 10px; margin-top: 10px; }
.insight-row { display: grid; grid-template-columns: minmax(110px, 160px) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .85rem; }
.insight-label { color: var(--ink); font-weight: 620; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.insight-track { height: 10px; border-radius: 999px; background: var(--surface-soft); border: 1px solid var(--line); overflow: hidden; }
.insight-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--amber)); min-width: 4px; transition: width .25s ease; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }

.mobile-nav { display: none; }
.mobile-badge {
  position: absolute;
  top: 3px;
  right: calc(50% - 20px);
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: .65rem;
  font-weight: 760;
  display: inline-grid;
  place-items: center;
}

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: var(--toast-bg); color: var(--toast-ink); border: 1px solid var(--toast-border); padding: 11px 16px; border-radius: 10px; box-shadow: 0 10px 28px rgba(15, 23, 42, 0.28); max-width: calc(100% - 40px); font-size: .875rem; }

#toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  right: auto;
  transform: translateX(-50%) translateY(20px);
  background: var(--toast-bg);
  color: var(--toast-ink);
  border: 1px solid var(--toast-border);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
  pointer-events: none;
  max-width: calc(100% - 32px);
}
#toast.show, #toast.toast:not([hidden]) {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#toast.show[hidden] {
  display: block !important;
}

#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4f46e5;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease, background .18s ease;
  box-shadow: 0 4px 12px rgba(79, 70, 229, .35);
  z-index: 100;
}
#back-to-top:hover { background: #4338ca; }
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top.visible[hidden] { display: flex !important; }
:root[data-theme="dark"] #back-to-top {
  background: #6366f1;
  box-shadow: 0 6px 18px rgba(99, 102, 241, .45);
}
:root[data-theme="dark"] #back-to-top:hover { background: #818cf8; color: #0b0f19; }

#scroll-sentinel { height: 40px; display: flex; align-items: center; justify-content: center; margin-top: 8px; }
.spinner { width: 24px; height: 24px; border: 3px solid var(--line); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.manual-copy { width: 100%; min-height: 160px; padding: 8px; background: var(--input-bg); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; }
.category-row { margin: 10px 0 13px; }
.job-segments { display: flex; gap: 2px; padding: 3px; width: fit-content; max-width: 100%; border-radius: 11px; border: 1px solid var(--line); background: var(--segments-bg); margin-bottom: 11px; }
.segment { background: transparent; color: var(--segment-ink); border: 0; border-radius: 8px; padding: 8px 13px; font-size: .86rem; font-weight: 660; transition: background .15s, color .15s; }
.segment[aria-pressed='true'] { background: var(--segment-active-bg); color: var(--segment-active-ink); box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08); }
.segment:hover { color: var(--segment-hover-ink); }
.results-bar { margin-top: 2px; }
.company-mark.with-logo { display: grid; background: var(--company-logo-surface); border: 1px solid var(--logo-border); box-shadow: none; }
.company-mark.with-logo span { display: none; }
.company-mark img { width: 100%; height: 100%; padding: 5px; object-fit: contain; border-radius: inherit; }
.company-mark-large { width: 58px; height: 58px; margin-right: 3px; }
.company-mark.with-logo.dark-logo { background: #1e293b; border-color: #1e293b; }

.employer-section { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(240px,1fr); gap: 25px; align-items: center; margin-top: 46px; padding: 31px; background: var(--employer-bg); border: 1px solid var(--employer-border); border-radius: 18px; }
.employer-kicker { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; color: var(--employer-kicker); font-weight: 720; font-size: .88rem; }
.employer-copy h2 { font-size: clamp(1.75rem,3.6vw,2.25rem); }
.employer-copy p { color: var(--employer-copy); line-height: 1.55; margin: 9px 0 15px; }
.employer-checks { border: 1px solid var(--employer-border); padding: 17px 18px; border-radius: 14px; background: var(--employer-checks-bg); }
.employer-checks h3 { font-size: 1.02rem; }
.employer-checks ul { padding: 0; margin: 8px 0 0; list-style: none; }
.employer-checks li { display: flex; align-items: center; gap: 7px; line-height: 1.4; padding: 5px 0; color: var(--employer-checks-ink); font-size: .93rem; }
.employer-checks li svg { width: 16px; height: 16px; color: var(--primary); }

.install-button { min-height: 38px; padding: 6px 12px; font-size: .84rem; }
.quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 10px 0 8px; }
.quick-filter-sep { width: 1px; height: 18px; background: var(--line); margin-inline: 2px; flex: 0 0 auto; }
.quick-filter-pill { color: var(--chip-ink); border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 5px 11px; font-size: .8rem; font-weight: 620; min-height: 32px; display: inline-flex; align-items: center; gap: 5px; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.quick-filter-pill:hover { border-color: var(--chip-hover-border); background: var(--chip-hover-bg); }
.quick-filter-pill[aria-pressed='true'] { background: var(--primary-soft); color: var(--primary-ink); border-color: var(--primary-border); font-weight: 730; }

.split-toggle { display: none; min-height: 36px; padding: 5px 10px; font-size: .83rem; }
.split-toggle svg { width: 15px; height: 15px; }
.split-toggle[aria-pressed='true'] { background: var(--primary-soft); color: var(--primary-ink); border-color: var(--primary-border); }
.job-preview { display: none; }
.job-card[aria-current='true'] { border-color: var(--primary); border-left-color: var(--primary); box-shadow: 0 0 0 2px var(--primary-soft), var(--card-hover-shadow); }

@media (max-width: 1080px) {
  .collections-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav { gap: 2px; }
  .nav-item { padding: 6px 9px; font-size: .84rem; }
  .install-label { display: none; }
  .install-button { padding: 0; width: 38px; min-height: 38px; }
}

@media (min-width: 1080px) {
  .split-toggle { display: inline-flex; }
  .job-grid.is-split { grid-template-columns: minmax(360px, 435px) minmax(0, 1fr); gap: 18px; align-items: start; }
  .job-grid.is-split .job-preview {
    display: block;
    position: sticky;
    top: 86px;
    max-height: calc(100dvh - 106px);
    overflow: auto;
    overscroll-behavior: contain;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: var(--shadow);
  }
  .job-preview-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
  .job-preview-head h3 { font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; }
  .job-preview-head .panel-subtitle { margin-top: 4px; }
  .job-grid.is-split .sidebar { grid-column: 1 / -1; position: static; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
}

@media (min-width: 960px) {
  .sidebar { position: sticky; top: 88px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 48px); }
  .hero { padding: 26px 24px; }
  .hero-grid { gap: 20px; }
  .nav { gap: 2px; }
  .nav-item { padding: 6px 10px; font-size: .86rem; }
  .job-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 14px; }
  .sidebar > section { padding: 16px; }
  .stat { padding: 14px 15px; }
}

@media (max-width: 768px) {
  .install-label { display: none; }
  .install-button { padding: 0; width: 36px; min-height: 36px; }
  .quick-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .quick-filters::-webkit-scrollbar, .category-row::-webkit-scrollbar, .compare-chips::-webkit-scrollbar, .employer-strip::-webkit-scrollbar, .collections-row::-webkit-scrollbar, .recent-strip::-webkit-scrollbar { display: none; }
  .employer-strip { flex-wrap: nowrap; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .collections-row { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .collection-card { flex: 0 0 176px; scroll-snap-align: start; min-height: 98px; padding: 12px 13px; }
  .recent-strip { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
  .quick-filter-sep { display: none; }
  .container { width: calc(100% - 32px); }
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .header-inner { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
  .header .nav { display: none; }
  .header-inner .header-actions { justify-self: end; }
  .header-inner .saved-button { min-height: 36px; padding: 5px 10px; font-size: .84rem; }
  .header-inner .theme-toggle { width: 36px; height: 36px; min-height: 36px; }
  .kbd-hint { display: none; }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--header-bg);
    border-top: 1px solid var(--header-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 4px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
  }
  .mobile-nav-item svg { width: 19px; height: 19px; }
  .mobile-nav-item:hover, .mobile-nav-item.active { color: var(--primary-ink); background: var(--primary-soft); }

  .hero { margin-top: 14px; padding: 20px 18px; border-radius: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 2.85rem); margin: 10px 0 8px; }
  .hero-actions { margin-top: 16px; }

  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
  .stat { padding: 11px 10px; gap: 8px; border-radius: 13px; }
  .stat-icon { width: 33px; height: 33px; border-radius: 9px; }
  .stat-icon svg { width: 16px; height: 16px; }
  .stat strong { font-size: 1.15rem; }
  .stat small { font-size: .73rem; }

  .jobs { margin-top: 26px; }
  .section-head { align-items: start; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
  .source-button { min-height: 30px; }
  .job-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: 1fr 1fr; }
  .employer-section { grid-template-columns: 1fr; padding: 22px 17px; gap: 16px; margin-top: 31px; }
  .category-row { flex-wrap: nowrap; overflow-x: auto; padding: 3px 2px 5px; scrollbar-width: none; }
  .category-row .chip { flex: 0 0 auto; }

  .compare-bar { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); padding-inline: 10px; z-index: 22; }
  .compare-bar-inner { flex-direction: column; align-items: stretch; gap: 9px; padding: 10px 12px; }
  .compare-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .compare-chip { flex: 0 0 auto; max-width: 190px; }
  .toast, #toast { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  #back-to-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); right: 14px; width: 42px; height: 42px; }
  body:has(.compare-bar:not([hidden])) .footer { padding-bottom: 118px; }
  body:has(.compare-bar:not([hidden])) > .toast, body:has(.compare-bar:not([hidden])) > #toast { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
  body:has(.compare-bar:not([hidden])) #back-to-top { bottom: calc(176px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 640px) {
  #panel, #panel:has(.compare-table), #panel:has(.insights-grid), #panel:has(.company-grid) {
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    margin: auto 0 0 0;
    border-radius: 22px 22px 0 0;
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .header-inner { gap: 8px; }
  .header-actions { gap: 6px; }
  .saved-label { display: none; }
  .header-inner .saved-button { padding: 5px 8px; gap: 5px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
}

@media (max-width: 465px) {
  .hero { padding: 18px 15px; }
  .hero-actions { gap: 6px; }
  .hero-actions .button { min-height: 41px; padding-inline: 11px; font-size: .84rem; }
  .hero-actions .button svg { width: 15px; height: 15px; }
  .stat { display: grid; gap: 5px; }
  .stat strong { font-size: 1.24rem; }
  .stat small { font-size: .69rem; }
  .stat-icon { width: 29px; height: 29px; }
  .search-bar { grid-template-columns: minmax(0,1fr) auto; gap: 5px; }
  .search-field { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .location-field { border-left: 0; }
  .search-button { min-height: 41px; padding-inline: 12px; }
  .result-tools { gap: 5px; }
  .job-card { padding: 14px; gap: 10px; }
  .job-card-top { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; }
  .company-mark { width: 42px; height: 42px; font-size: .84rem; border-radius: 10px; }
  .job-card .icon-button { width: 32px; height: 32px; }
  .job-card .detail-button { display: inline-flex; font-size: .75rem; min-height: 29px; padding: 4px 8px; }
  .job-card .compare-toggle { font-size: .74rem; padding: 4px 8px; min-height: 29px; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-inner { align-items: start; flex-direction: column; }
  .panel-head { padding: 15px 14px 11px; }
  .panel-body { padding: 16px 14px; }
  .panel-body .detail-sticky-cta { margin: 16px -14px -16px; padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px)); }
  .detail-highlights { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .saved-row { grid-template-columns: minmax(0, 1fr); }
  .saved-controls { justify-content: start; }
  .insight-row { grid-template-columns: 1fr auto; }
  .insight-track { grid-column: 1 / -1; }
  .segment { padding: 7px 9px; font-size: .8rem; }
}

@media (max-width: 365px) {
  .hero h1 { font-size: 1.95rem; }
  .hero-label { font-size: .73rem; }
}

/* === Aura Career 4.0: Near-Home Geo, Smart Intent, Live 24/7, Multi-Page & AI Studio === */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  color: var(--primary-ink);
  font-size: .79rem;
  font-weight: 720;
  white-space: nowrap;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.live-pill:hover { transform: translateY(-1px); border-color: var(--primary); background: var(--badge-bg); }
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.55);
  animation: live-sky-ping 2s ease-out infinite;
  flex: 0 0 auto;
}
:root[data-theme="dark"] .live-dot { background: #38bdf8; }
@keyframes live-sky-ping {
  0% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(2, 132, 199, 0); }
  100% { box-shadow: 0 0 0 0 rgba(2, 132, 199, 0); }
}

.near-home-bar {
  margin: 0 0 13px;
  padding: 13px 16px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--primary-soft) 160%);
  border: 1px solid var(--primary-border);
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.05);
}
.near-home-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.near-home-lead {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 250px;
}
.near-home-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #ffffff;
  flex: 0 0 auto;
}
.near-home-lead strong { display: block; font-size: .89rem; font-weight: 760; color: var(--ink); line-height: 1.25; }
.near-home-lead small { display: block; font-size: .78rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }
.near-home-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  flex: 2 1 320px;
  justify-content: flex-end;
}
.near-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
  flex: 1 1 175px;
  background: var(--surface);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  padding: 0 10px;
  height: 38px;
}
.near-select-wrap select {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  width: 100%;
  padding-right: 22px;
  font-size: .84rem;
  font-weight: 620;
  cursor: pointer;
}
.gps-button { min-height: 38px; padding: 6px 12px; font-size: .82rem; border-radius: 10px; }
.near-radius-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.near-radius-pill {
  min-height: 34px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--chip-ink);
  font-size: .78rem;
  font-weight: 660;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.near-radius-pill:hover { border-color: var(--chip-hover-border); background: var(--chip-hover-bg); }
.near-radius-pill[aria-pressed="true"] { background: var(--primary); color: #ffffff; border-color: var(--primary); font-weight: 740; }
.near-clear-btn { font-size: .8rem; min-height: 32px; }

.commute-badge {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  font-weight: 680;
}
.commute-badge.near-hit {
  background: #eef2ff;
  color: #3730a3;
  border-color: #a5b4fc;
}
:root[data-theme="dark"] .commute-badge {
  background: #0c4a6e;
  color: #7dd3fc;
  border-color: #075985;
}
:root[data-theme="dark"] .commute-badge.near-hit {
  background: #1e1b4b;
  color: #c7d2fe;
  border-color: #4338ca;
}

.smart-intent-bar {
  margin: -4px 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--amber-soft);
  border: 1px solid var(--amber-border);
  color: var(--amber-ink);
}
.smart-intent-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.smart-intent-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; }
.smart-intent-chips { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.smart-intent-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--amber-border);
  color: var(--ink);
  font-size: .77rem;
  font-weight: 680;
}
.smart-apply-btn { min-height: 34px; padding: 5px 13px; font-size: .81rem; }

.presets-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin: 0 0 10px; }
.preset-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--primary-border);
  overflow: hidden;
}
.preset-apply {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: var(--primary-ink);
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 660;
}
.preset-apply:hover { background: var(--primary-soft); }
.preset-apply svg { width: 13px; height: 13px; }
.preset-del {
  display: inline-grid;
  place-items: center;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  width: 26px;
  height: 26px;
  padding: 0;
}
.preset-del:hover { background: var(--surface-soft); color: var(--ink); }
.preset-del svg { width: 12px; height: 12px; }

.perk-fieldset {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.perk-fieldset legend { padding: 0 6px; font-size: .84rem; font-weight: 720; color: var(--ink); }
.perk-check-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 9px; margin-top: 6px; }

.live-feed-list { display: grid; gap: 8px; margin-top: 8px; }
.live-feed-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

/* === Subpages, Hub Grid, AI Career Studio & Founder Page === */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin: 18px 0 0;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumbs a { color: var(--accent-ink); font-weight: 620; }
.breadcrumbs a:hover { text-decoration: underline; }

.page-hero {
  margin-top: 14px;
  padding: 28px 32px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 12% 18%, rgba(79, 70, 229, 0.11), transparent 48%),
    radial-gradient(circle at 86% 20%, rgba(245, 158, 11, 0.1), transparent 45%),
    var(--hero-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.page-hero h1 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 820; letter-spacing: -.04em; line-height: 1.14; margin: 10px 0 8px; }
.page-hero p { color: var(--muted-strong); max-width: 72ch; line-height: 1.6; font-size: .97rem; }

.hub-section { margin-top: 42px; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 13px; margin-top: 14px; }
.hub-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
  transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}
.hub-card:hover { transform: translateY(-2px); border-color: var(--primary-border); box-shadow: var(--card-hover-shadow); }
.hub-card h3 { font-size: 1.04rem; font-weight: 780; color: var(--ink); margin-top: 8px; }
.hub-card p { font-size: .86rem; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.hub-url { font-size: .78rem; font-weight: 720; color: var(--primary); }

.ai-studio-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 16px; }
.ai-studio-grid { display: grid; grid-template-columns: minmax(310px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 36px; }
.ai-studio-panel, .ai-studio-output, .subpage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.studio-score-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.ats-ring {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 3px solid currentColor;
}
.ats-ring strong { font-size: 1.45rem; font-weight: 850; line-height: 1; }
.ats-ring small { font-size: .68rem; font-weight: 700; margin-top: 2px; }
.studio-section-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.studio-match-list, .interview-q-list, .roadmap-grid { display: grid; gap: 12px; margin-top: 14px; }
.interview-q-list h4, .roadmap-grid h4 { margin: 4px 0 6px; font-size: 1rem; color: var(--ink); }

.subpage-two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 16px; }
.insight-link-row { padding: 5px 8px; border-radius: 8px; transition: background .15s; }
.insight-link-row:hover { background: var(--surface-hover); }
.directory-toolbar { display: grid; gap: 12px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); margin-top: 20px; }
.directory-search { border: 1px solid var(--input-border); border-radius: 11px; background: var(--input-bg); height: 44px; }

.founder-grid { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 22px; margin-top: 24px; align-items: start; }
.founder-card {
  padding: 26px 24px;
  border-radius: 20px;
  background: linear-gradient(155deg, #1e1b4b 0%, #312e81 55%, #4f46e5 100%);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(49, 46, 129, 0.25);
}
.founder-avatar {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.45rem;
  font-weight: 850;
  color: #fbbf24;
  margin-bottom: 14px;
}
.founder-card h2 { font-size: 1.48rem; color: #ffffff; }
.founder-role { color: #fde68a; font-weight: 700; font-size: .88rem; margin-top: 4px; }
.founder-card p { color: #e0e7ff; font-size: .91rem; line-height: 1.6; margin-top: 12px; }
.founder-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.founder-tag { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #ffffff; font-size: .76rem; font-weight: 660; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; margin-top: 20px; }
.value-card { padding: 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.value-card h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.value-card p { color: var(--muted); font-size: .89rem; line-height: 1.58; }

.seo-prerender-section { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.seo-links-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* Aura 5.0: Quick-Jump (⌘K), Homepage Onboarding, Founder Portrait & Media Kit */
.install-button[hidden] { display: none !important; }
@media (max-width: 1480px) {
  .install-label { display: none; }
  .install-button { padding: 0; width: 38px; min-width: 38px; min-height: 38px; }
}
.quick-jump-btn {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  width: auto;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  gap: 5px;
}
.kbd-inline {
  font-family: inherit;
  font-size: .72rem;
  font-weight: 720;
  padding: 2px 5px;
  border-radius: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: .78rem;
  font-weight: 740;
  margin-bottom: 10px;
}
.section-kicker svg { width: 15px; height: 15px; }

.onboarding-section {
  margin-top: 26px;
  padding: 24px 26px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(245, 158, 11, 0.09), transparent 46%),
    radial-gradient(circle at 8% 88%, rgba(79, 70, 229, 0.09), transparent 48%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.onboarding-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.onboarding-head h2 {
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
  font-weight: 820;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0 0 6px;
}
.onboarding-head p {
  max-width: 72ch;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.58;
  margin: 0;
}
.onboarding-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.how-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.how-step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.how-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-border);
  box-shadow: var(--card-hover-shadow);
}
.how-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.how-step-num {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: .75rem;
  font-weight: 780;
  letter-spacing: .02em;
}
.how-step-card h3 { font-size: 1.02rem; font-weight: 780; color: var(--ink); margin: 4px 0 0; }
.how-step-card p { font-size: .87rem; color: var(--muted); line-height: 1.56; margin: 0; }
.how-step-cta { align-self: flex-start; padding-left: 0; padding-right: 0; font-weight: 720; color: var(--primary); }
.onboarding-tip-bar {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--info-bg);
  border: 1px solid var(--info-border);
  color: var(--info-ink);
  font-size: .84rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.onboarding-tip-bar kbd {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .75rem;
  font-weight: 740;
}
.tip-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .73rem;
  margin-right: 6px;
}

.founder-spotlight-home {
  margin-top: 40px;
  padding: 28px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 20%, rgba(79, 70, 229, 0.1), transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.1), transparent 45%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.founder-home-media {
  position: relative;
}
.founder-home-media img {
  width: 100%;
  height: 335px;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: block;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
}
.founder-home-badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f8fafc;
  font-size: .77rem;
  font-weight: 680;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.founder-home-badge svg { width: 15px; height: 15px; color: #fbbf24; flex-shrink: 0; }
.founder-home-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 830;
  letter-spacing: -.03em;
  margin: 0;
}
.founder-home-role {
  color: var(--primary);
  font-weight: 740;
  font-size: .94rem;
  margin: 4px 0 12px;
}
.founder-home-quote {
  margin: 0 0 12px;
  padding: 12px 16px;
  border-left: 3px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: .94rem;
  font-weight: 560;
  line-height: 1.6;
}
.founder-philosophy-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.founder-philosophy-pills span {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: .79rem;
  font-weight: 660;
  color: var(--muted-strong);
}

.founder-profile-showcase {
  display: grid;
  grid-template-columns: minmax(290px, 370px) minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}
.founder-portrait-card {
  background: linear-gradient(160deg, #1e1b4b 0%, #312e81 55%, #4338ca 100%);
  border-radius: 22px;
  padding: 20px;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(49, 46, 129, 0.26);
}
.founder-portrait-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(251, 191, 36, 0.5);
}
.founder-portrait-frame img {
  width: 100%;
  height: 410px;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.founder-portrait-caption { margin-top: 16px; }
.founder-portrait-caption h2 { font-size: 1.55rem; color: #ffffff; margin: 0; }
.founder-role-strong { color: #fde68a; font-size: .89rem; font-weight: 720; line-height: 1.45; margin-top: 5px; }
.founder-social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.founder-social-links .border-button {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}
.founder-social-links .border-button:hover {
  background: rgba(255, 255, 255, 0.22);
}
.founder-lead-p {
  color: var(--muted-strong);
  font-size: .96rem;
  line-height: 1.72;
  margin-top: 12px;
}
.vision-callout {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
}
.vision-callout h3 { font-size: 1rem; color: var(--primary-ink); margin: 0 0 4px; }
.vision-callout p { color: var(--ink); font-weight: 620; line-height: 1.55; margin: 0; }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.philosophy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.philosophy-item strong { display: block; font-size: .92rem; color: var(--ink); }
.philosophy-item p { font-size: .83rem; color: var(--muted); line-height: 1.5; margin: 3px 0 0; }
.founder-connect-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.media-kit-section { margin-top: 40px; }
.media-banner-preview-card {
  margin-top: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.media-banner-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #090d1f;
}
.media-banner-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.media-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.ad-copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.ad-copy-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.ad-copy-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.ad-copy-head h3 { font-size: .96rem; font-weight: 760; margin: 6px 0 0; color: var(--ink); }
.ad-copy-body {
  margin: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: .85rem;
  line-height: 1.58;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 280px;
  overflow-y: auto;
}
#panel .ad-copy-grid { grid-template-columns: 1fr; }

.qj-search-box {
  border: 1px solid var(--input-border);
  border-radius: 12px;
  background: var(--input-bg);
  height: 46px;
  padding: 0 12px;
}
.qj-results { display: grid; gap: 12px; margin-top: 14px; max-height: 58vh; overflow-y: auto; }
.qj-group { display: grid; gap: 6px; }
.qj-group-label { font-size: .75rem; font-weight: 760; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 2px 4px; }
.qj-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.qj-item:hover { border-color: var(--primary-border); background: var(--surface-hover); }
.qj-item svg { width: 19px; height: 19px; color: var(--primary); flex-shrink: 0; }
.qj-item strong { display: block; font-size: .9rem; color: var(--ink); }
.qj-item small { display: block; font-size: .79rem; color: var(--muted); margin-top: 2px; }
#subpage-quick-jump {
  width: min(640px, calc(100vw - 24px));
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 0;
  background: var(--panel-bg);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(2, 6, 23, 0.36);
}
#subpage-quick-jump::backdrop { background: rgba(2, 6, 23, 0.5); backdrop-filter: blur(4px); }

.job-detail-page { padding-bottom: 40px; }
.job-detail-card { margin-top: 16px; }
.job-detail-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.job-detail-title-group { display: flex; align-items: flex-start; gap: 14px; }
.company-mark-large { width: 62px; height: 62px; border-radius: 15px; flex-shrink: 0; }
.job-detail-header h1 { font-size: clamp(1.38rem, 2.5vw, 1.95rem); font-weight: 820; letter-spacing: -.03em; margin: 6px 0 4px; }
.job-detail-company { font-size: .95rem; color: var(--muted-strong); margin: 0; }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #b45309;
  font-size: .74rem;
  font-weight: 740;
}
:root[data-theme="dark"] .badge-live { color: #fcd34d; background: rgba(245, 158, 11, 0.2); }

.footer-grid { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 1fr)); gap: 24px; padding: 34px 0 22px; }
.footer-col h4 { margin: 0 0 10px; font-size: .85rem; font-weight: 760; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: .87rem; color: var(--muted); }
.footer-links a:hover { color: var(--primary); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 26px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.footer-credit strong { color: var(--ink); }

@media (max-width: 1320px) {
  .header-inner { gap: 10px; }
  .nav { gap: 3px; }
  .nav-item { padding: 6px 10px; font-size: .85rem; }
  .install-label, .kbd-inline { display: none; }
  .install-button, .quick-jump-btn { padding: 0; width: 38px; min-width: 38px; min-height: 38px; }
  .live-pill .live-label-extra { display: none; }
}
@media (max-width: 1140px) {
  .saved-label { display: none; }
  .header-inner .saved-button { padding: 6px 9px; gap: 5px; }
  .nav-item { padding: 5px 8px; font-size: .82rem; }
}
@media (max-width: 960px) {
  body { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
  .header .nav { display: none; }
  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    background: var(--header-bg);
    border-top: 1px solid var(--header-line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .mobile-nav-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 48px;
    padding: 4px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 650;
    line-height: 1.15;
    text-align: center;
  }
  .mobile-nav-item svg { width: 19px; height: 19px; }
  .mobile-nav-item:hover, .mobile-nav-item.active { color: var(--primary-ink); background: var(--primary-soft); }
  .ai-studio-grid, .founder-grid, .founder-profile-showcase, .founder-spotlight-home, .how-steps-grid, .ad-copy-grid, .subpage-two-col { grid-template-columns: 1fr; }
  .founder-home-media img { height: 290px; }
  .founder-portrait-frame img { height: 340px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .live-pill .live-label-extra, .kbd-inline { display: none; }
  .quick-jump-btn { width: 38px; padding: 0; }
  .onboarding-section, .founder-spotlight-home { padding: 18px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .near-home-controls { justify-content: flex-start; }
  .near-radius-group { overflow-x: auto; flex-wrap: nowrap; max-width: 100%; scrollbar-width: none; }
  .near-radius-group::-webkit-scrollbar { display: none; }
  .page-hero { padding: 20px 18px; }
}
@media (max-width: 520px) {
  .header-inner { gap: 6px; }
  .header-actions { gap: 5px; }
  .brand { font-size: 17.5px; gap: 7px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
  .live-pill { min-height: 34px; padding: 4px 8px; gap: 5px; font-size: .73rem; }
  .header-inner .theme-toggle, .header-inner .install-button, .header-inner .quick-jump-btn { width: 34px; height: 34px; min-height: 34px; min-width: 34px; padding: 0; border-radius: 9px; }
  .header-inner .saved-button { min-height: 34px; padding: 4px 7px; gap: 4px; border-radius: 9px; }
  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
  .studio-score-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 440px) {
  .brand-career { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  :root, :root[data-theme="dark"] {
    color-scheme: light;
    --page: #fff;
    --surface: #fff;
    --panel-bg: #fff;
    --surface-soft: #f8fafc;
    --ink: #0f172a;
    --muted: #475569;
    --muted-strong: #1e293b;
    --line: #cbd5e1;
    --panel-border: #cbd5e1;
    --link-ink: #0f172a;
    --ai-output-bg: #f8fafc;
    --ai-output-border: #cbd5e1;
    --ai-output-ink: #0f172a;
    --info-bg: #f8fafc;
    --info-border: #cbd5e1;
    --info-ink: #0f172a;
    --warning-bg: #fffbeb;
    --warning-border: #e2e8f0;
    --warning-ink: #1e293b;
  }
  html, body { background: #fff !important; color: #0f172a !important; overflow: visible !important; padding-bottom: 0 !important; }
  .container { width: 100%; max-width: none; }
  .header, .mobile-nav, .employer-strip-section, .collections-section, .recent-strip, .search-bar, .quick-filters, .split-toggle, .install-button, .job-preview, .sidebar, .footer, .compare-bar, .panel-actions, .detail-sticky-cta, .toast, #toast, #back-to-top, #scroll-sentinel, .skip, .hero-actions, .hero-quick-tags, .employer-section, .job-segments, .category-row, .result-tools, .pagination, .compare-toggle, .job-card-actions, .job-card-bookmark, .job-card-cta, .panel-head .icon-button, [data-action="close"], .ai-studio-tabs, .ai-studio-panel, .onboarding-section, .founder-spotlight-home {
    display: none !important;
  }
  .ai-studio-grid { grid-template-columns: 1fr !important; }
  body:has(#panel[open]) > :not(#panel) { display: none !important; }
  #panel[open] {
    position: static !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #0f172a !important;
    margin: 0 !important;
  }
  #panel[open]::backdrop { display: none !important; }
  .panel-head { position: static !important; background: #fff !important; padding: 0 0 12px !important; border-bottom: 1px solid #cbd5e1 !important; }
  .panel-body { padding: 14px 0 0 !important; }
  .job-card, .saved-item-card, .checklist-item, .compare-table tr, .insight-card { break-inside: avoid; }
  .job-card { box-shadow: none !important; border-color: #cbd5e1 !important; }
  .compare-table-wrap { overflow: visible !important; }
  .compare-table tbody th { position: static !important; }
}
