/* Fonts are bundled in /fonts (SIL Open Font License; see OFL-*.txt) so the app works offline. */
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/sora-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/sora-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Sora'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/sora-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/manrope-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/manrope-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 800; font-display: swap; src: url('/fonts/manrope-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }
:root {
  /* FIG theme (v3.6.0): dark plum-to-teal "lab glass" look shared with
     FIG Peptides -- frosted glass panels, an orchid -> mint -> lime accent
     gradient, Sora display type, Manrope body, JetBrains Mono for labels. */
  color-scheme: dark;
  --bg: #140a24;
  --bg-1: #0c3a3a;
  --panel: rgba(24, 16, 44, 0.62);
  --panel-solid: #1b1233;
  --panel-2: rgba(255, 255, 255, 0.05);
  --panel-3: rgba(255, 255, 255, 0.08);
  --border: rgba(190, 210, 230, 0.16);
  --line-strong: rgba(120, 240, 205, 0.45);
  --text: #F3F6FA;
  --muted: #A9B3C4;
  --faint: #7C879A;
  --mint: #5FE8C2;
  --lime: #B8F36B;
  --orchid: #E08BC4;
  --gold: #F2CF5B;
  --mint-soft: rgba(95, 232, 194, 0.12);
  --orchid-soft: rgba(224, 139, 196, 0.13);
  --gold-soft: rgba(242, 207, 91, 0.12);
  --red-soft: rgba(255, 122, 138, 0.13);
  --ink-dark: #0d0a1c;
  --blue: #5FE8C2;
  --blue-2: #3fcfa8;
  --teal: #5FE8C2;
  --coral: #E08BC4;
  --amber: #F2CF5B;
  --green: #7BEA9A;
  --yellow: #F2CF5B;
  --red: #FF7A8A;
  --grad: linear-gradient(95deg, #E08BC4 0%, #5FE8C2 55%, #B8F36B 100%);
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 40px rgba(95, 232, 194, 0.12);
  --shadow-glow: 0 6px 24px rgba(95, 232, 194, 0.28);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  --wash-1: rgba(95, 232, 194, 0.18);
  --wash-2: rgba(224, 139, 196, 0.16);
  --wash-3: rgba(184, 243, 107, 0.07);
}
/* Per-page tint: each section shifts which glow leads, so pages feel like
   different rooms of the same place. */
body[data-tint="violet"] { --wash-1: rgba(224, 139, 196, 0.20); --wash-2: rgba(95, 232, 194, 0.14); --wash-3: rgba(184, 243, 107, 0.06); }
body[data-tint="teal"]   { --wash-1: rgba(95, 232, 194, 0.24); --wash-2: rgba(224, 139, 196, 0.12); --wash-3: rgba(184, 243, 107, 0.08); }
body[data-tint="coral"]  { --wash-1: rgba(224, 139, 196, 0.24); --wash-2: rgba(242, 207, 91, 0.10); --wash-3: rgba(95, 232, 194, 0.10); }
body[data-tint="blue"]   { --wash-1: rgba(95, 232, 194, 0.16); --wash-2: rgba(140, 150, 255, 0.14); --wash-3: rgba(224, 139, 196, 0.08); }
body[data-tint="amber"]  { --wash-1: rgba(242, 207, 91, 0.14); --wash-2: rgba(224, 139, 196, 0.14); --wash-3: rgba(95, 232, 194, 0.10); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  /* A real background treatment across EVERY screen, not just the landing
     hero — soft directional color washes plus a fine dot-grid texture, both
     fixed so they stay put while the page content scrolls over them. The
     wash colors come from --wash-1/2/3, which the data-tint rules above
     override per page, and the transition makes switching pages feel like
     moving to a new place rather than an abrupt color jump. */
  background:
    radial-gradient(1100px 650px at 88% -10%, var(--wash-1), transparent 60%),
    radial-gradient(900px 650px at -10% 20%, var(--wash-2), transparent 60%),
    radial-gradient(1000px 700px at 45% 110%, var(--wash-3), transparent 62%),
    radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(115deg, #140a24 0%, #1b0f33 42%, #0c3a3a 100%);
  background-attachment: fixed, fixed, fixed, fixed, fixed;
  transition: background 0.5s ease;
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-weight: 450;
}
#app { min-height: 100vh; display: flex; flex-direction: column; }
.app-shell { display: flex; flex: 1; width: 100%; align-items: stretch; }
.content-col { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* Desktop sidebar — hidden by default (mobile-first), shown at the desktop
   breakpoint below, where it replaces the bottom tab bar. This is the fix
   for a wide viewport otherwise showing a narrow centered column with huge
   dead margins on either side: the sidebar actually uses that width. */
.sidebar {
  display: none; width: 248px; flex-shrink: 0; padding: 28px 18px;
  border-right: 1px solid var(--border); position: sticky; top: 0; height: 100vh;
  flex-direction: column; background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(16px);
}
.sidebar-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; padding: 0 10px 28px; }
.sidebar-brand .dot { width: 24px; height: 24px; border-radius: 7px; background: var(--text); position: relative; }
.sidebar-brand .dot::after { content: ''; position: absolute; inset: 7px; border-radius: 2px; background: var(--bg); }
.sidebar-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sitem { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.12s ease, color 0.12s ease; }
.sitem .ic { font-size: 17px; width: 20px; text-align: center; }
.sitem:hover { background: var(--panel-2); color: var(--text); }
.sitem.active { background: var(--text); color: white; }
.sidebar-foot { padding: 14px 10px 4px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--font); letter-spacing: -0.02em; }

/* Scroll-reveal: elements start slightly lower + transparent, and settle
   into place once observed entering the viewport (see the IntersectionObserver
   wiring at the bottom of app.js). Motion is the thing static screenshots
   can't show but is a huge part of why "premium" sites feel premium — this
   is the cheapest, lowest-risk way to add it without touching any layout. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s cubic-bezier(.16,.84,.44,1), transform 0.6s cubic-bezier(.16,.84,.44,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid transparent;
  position: sticky; top: 0; background: rgba(251, 251, 253, 0.72); backdrop-filter: blur(20px) saturate(1.6); z-index: 10;
  transition: border-color 0.2s ease;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -0.03em; }
.brand .dot {
  width: 24px; height: 24px; border-radius: 7px;
  background: var(--text);
  position: relative;
}
.brand .dot::after {
  content: ''; position: absolute; inset: 7px; border-radius: 2px; background: var(--bg);
}
.topbar nav { display: none; gap: 4px; }
.topbar .userbit { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 12px; }

.btn {
  background: var(--text); color: white; border: none; border-radius: 999px;
  padding: 12px 22px; font-size: 14px; font-weight: 600; cursor: pointer; letter-spacing: -0.01em;
  transition: transform 0.15s cubic-bezier(.16,.84,.44,1), opacity 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.88; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn.secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn.secondary:hover { border-color: var(--text); opacity: 1; background: var(--panel-2); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); box-shadow: none; }
.btn.ghost:hover { color: var(--red); border-color: var(--red); background: rgba(217, 45, 76, 0.06); opacity: 1; }
.btn.small { padding: 8px 14px; font-size: 12.5px; border-radius: 999px; }
.btn.lg { padding: 16px 30px; font-size: 16px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
/* A subtle secondary "link-style" CTA, the way Apple pairs a solid button
   with a plain understated text link rather than two competing buttons. */
.btn-link { background: none; border: none; color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; padding: 12px 6px; }
.btn-link:hover { color: var(--blue); }

main { flex: 1; width: 100%; max-width: 860px; margin: 0 auto; padding: 24px 20px 120px; }
@media (min-width: 1100px) { main { max-width: 1040px; } }
@media (min-width: 1440px) { main { max-width: 1220px; } }

@media (min-width: 900px) {
  .sidebar { display: flex; }
  .bottomnav { display: none; }
  /* The sidebar already shows the brand — no need to repeat it in the
     topbar too, which just leaves the topbar for page-level user info. */
  .app-shell .sidebar + .content-col .topbar .brand { display: none; }
  main { padding-bottom: 48px; }
}
@media (max-width: 899px) {
  .sidebar { display: none; }
}

.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; margin-bottom: 18px; box-shadow: 0 2px 10px rgba(23, 21, 35, 0.05);
}

/* Dashboard "welcome" panel — dark, distinct from every other card on
   purpose, so the one screen someone returns to daily doesn't look like
   the same stacked-white-box pattern as every form in the app. */
.hero-panel {
  background: linear-gradient(155deg, #1d1d1f 0%, #2d2a45 100%);
  color: white; border-radius: var(--radius); padding: 32px 28px; margin-bottom: 18px;
  box-shadow: 0 20px 50px rgba(29, 29, 31, 0.28); position: relative; overflow: hidden;
}
.hero-panel::before {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,79,242,0.5), transparent 70%);
  top: -120px; right: -80px; pointer-events: none;
}
.hero-panel h2 { color: white; font-size: 24px; margin: 0 0 4px; }
.hero-panel p.muted { color: rgba(255,255,255,0.62); }
.hero-panel .progressbar { background: rgba(255,255,255,0.12); }
.hero-panel .progressbar > div { background: linear-gradient(90deg, #8b7bff, #fb6f92); }
.hero-panel .btn.secondary { background: rgba(255,255,255,0.08); color: white; border-color: rgba(255,255,255,0.18); }
.hero-panel .btn.secondary:hover { background: rgba(255,255,255,0.16); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.stat-tile { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 14px; box-shadow: 0 2px 10px rgba(23, 21, 35, 0.05); }
.stat-tile .stat-num { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 4px; }
.stat-tile .stat-label { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
@media (max-width: 560px) { .stat-tile .stat-num { font-size: 21px; } }
.card h2 { margin-top: 0; font-weight: 700; letter-spacing: -0.02em; }
.badge-ic {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 19px; margin-bottom: 14px; background: var(--panel-2) !important; filter: none !important;
}
.card.feature { transition: transform 0.2s cubic-bezier(.16,.84,.44,1), box-shadow 0.2s ease, border-color 0.2s ease; }
.card.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border); }
.card.feature h2 { font-weight: 700; font-size: 17px !important; }
.card.feature.tint-violet, .card.feature.tint-teal, .card.feature.tint-coral, .card.feature.tint-blue { background: var(--panel); }

.grid { display: grid; gap: 16px; }
.grid.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr; } }
/* Landing page feature cards: use the extra width on large screens
   instead of staying a fixed 2x2 block with growing white space
   around it as the viewport widens. */
@media (min-width: 1000px) { .grid.feature-grid { grid-template-columns: repeat(4, 1fr); } }

label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; margin-top: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=url], input[type=tel], textarea, select {
  width: 100%; background: var(--panel-2); border: 1.5px solid transparent; color: var(--text);
  border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: inherit; transition: border-color 0.15s ease, background 0.15s ease;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--text); background: var(--panel); box-shadow: 0 0 0 4px rgba(29, 29, 31, 0.06); }
textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.field-row { display: flex; gap: 10px; flex-wrap: wrap; }

.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; margin-bottom: 18px; background: var(--panel-2); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab {
  padding: 8px 16px; border-radius: 999px; background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab:hover { color: var(--text); }
.tab.active { background: var(--panel); color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.bottomnav {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; justify-content: space-around; gap: 2px;
  background: rgba(29, 29, 31, 0.88); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px; padding: 7px; z-index: 10; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  width: calc(100% - 24px); max-width: 460px;
}
.bottomnav .nitem { flex: 1; text-align: center; color: rgba(255,255,255,0.55); font-size: 10.5px; font-weight: 600; cursor: pointer; padding: 8px 2px; border-radius: 16px; transition: background 0.15s ease, color 0.15s ease; }
.bottomnav .nitem:hover { color: rgba(255,255,255,0.85); }
.bottomnav .nitem.active { color: var(--text); font-weight: 700; background: white; }
.bottomnav .nitem .ic { font-size: 18px; display: block; margin-bottom: 2px; }

.herowrap { position: relative; overflow: hidden; border-radius: var(--radius); margin-top: 4px; background: var(--panel); border: 1px solid var(--border); }
.heroblob { display: none; }
.hero { position: relative; text-align: center; padding: 88px 24px 84px; }
.herokicker {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
  background: var(--panel-2); color: var(--muted); font-size: 12.5px; font-weight: 600; margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px); margin: 0 0 20px; font-weight: 700; line-height: 1.05; letter-spacing: -0.035em;
  color: var(--text);
}
.hero p { color: var(--muted); max-width: 520px; margin: 0 auto; font-size: 18px; line-height: 1.6; font-weight: 450; }
@media (max-width: 560px) { .hero { padding: 60px 20px 56px; } }

.qitem { padding: 18px 0; border-bottom: 1px solid var(--border); }
.qitem:last-child { border-bottom: none; }
.qtext { margin-bottom: 12px; font-size: 16px; font-weight: 500; }
.likert { display: flex; gap: 6px; flex-wrap: wrap; }
.likert button {
  flex: 1; min-width: 44px; padding: 12px 4px; border-radius: 11px; border: 1.5px solid var(--border);
  background: var(--panel-2); color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 600;
  transition: all 0.12s ease;
}
.likert button:hover { border-color: var(--text); }
.likert button.selected { background: var(--text); color: white; border-color: transparent; }
.optlist { display: flex; flex-direction: column; gap: 8px; }
.optlist button {
  text-align: left; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--panel-2); color: var(--text); cursor: pointer; font-size: 14.5px; transition: all 0.12s ease;
}
.optlist button:hover { border-color: var(--text); }
.optlist button.selected { background: var(--text); color: white; border-color: transparent; }

.progressbar { height: 6px; background: var(--panel-2); border-radius: 6px; overflow: hidden; margin-bottom: 18px; }
.progressbar > div { height: 100%; background: var(--blue); transition: width .3s ease; border-radius: 6px; }

.matchcard { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.matchcard .score {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex-shrink: 0;
  background: conic-gradient(var(--text) calc(var(--pct) * 1%), var(--panel-2) 0);
}
.matchcard .score span { background: var(--panel); width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text); }
.score span { background: var(--panel); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text); }
.jobcard.clickable { cursor: pointer; }
.jobcard[data-occ]:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--text); }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--panel-2); color: var(--text); font-size: 11.5px; font-weight: 600; margin: 2px 4px 0 0; }
.breakdown { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; font-size: 11px; color: var(--muted); }
.breakdown b { color: var(--text); }

.joblist { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 900px) {
  .joblist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
}
@media (min-width: 1440px) {
  .joblist { grid-template-columns: 1fr 1fr 1fr; }
}
.jobcard {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px 16px 21px;
  background: var(--panel); box-shadow: none;
  transition: box-shadow 0.2s ease, transform 0.15s cubic-bezier(.16,.84,.44,1), border-color 0.2s ease;
}
.jobcard::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px;
  background: var(--accent, var(--border));
}
.jobcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #d1d1d6; }
.jobcard .jtitle { font-weight: 700; margin-bottom: 3px; font-size: 15px; letter-spacing: -0.01em; }
.jobcard .jmeta { color: var(--muted); font-size: 12.5px; margin-bottom: 9px; }
.jobcard .jdesc { font-size: 13.5px; color: var(--muted); margin-bottom: 11px; line-height: 1.55; }
.jobcard .jactions { display: flex; gap: 8px; flex-wrap: wrap; }

.muted { color: var(--muted); }
.error { color: var(--red); font-size: 13px; margin-top: 8px; font-weight: 500; }
.success { color: var(--green); font-size: 13px; margin-top: 8px; font-weight: 500; }
.center { text-align: center; }
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--text); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hidden { display: none !important; }
.linklist { display: flex; flex-direction: column; gap: 2px; }
.linklist a { padding: 10px 4px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); transition: background 0.12s ease, padding-left 0.12s ease; }
.linklist a:hover { background: var(--panel-2); padding-left: 8px; text-decoration: none; color: var(--blue); }
.divider { height: 1px; background: var(--border); margin: 18px 0; }

#searchingOverlay {
  position: fixed; inset: 0; background: rgba(29, 29, 31, 0.7); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px;
  animation: fadein 0.2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.overlay-card {
  background: var(--panel); border-radius: var(--radius); padding: 36px 28px; max-width: 340px;
  text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.overlay-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 700; color: var(--text); }
.overlay-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }

/* ---------- Guided onboarding tour ---------- */
/* backdrop: an invisible full-screen layer that just eats clicks so the
   rest of the app isn't interactive mid-tour; the spotlight is the visual
   vignette-with-a-hole effect, drawn as a separate decorative layer so its
   box-shadow "cutout" isn't blocked by the backdrop intercepting clicks. */
.tour-backdrop {
  position: fixed; inset: 0; z-index: 1999; background: transparent;
}
.tour-spotlight {
  position: fixed; z-index: 2000; border-radius: 14px; pointer-events: none;
  box-shadow: 0 0 0 9999px rgba(20, 16, 30, 0.6);
  transition: left 0.35s cubic-bezier(.16,.84,.44,1), top 0.35s cubic-bezier(.16,.84,.44,1),
    width 0.35s cubic-bezier(.16,.84,.44,1), height 0.35s cubic-bezier(.16,.84,.44,1);
}
.tour-card {
  position: fixed; z-index: 2001; background: var(--panel); border-radius: var(--radius-sm);
  padding: 20px 22px; width: 300px; max-width: calc(100vw - 24px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transition: left 0.35s cubic-bezier(.16,.84,.44,1), top 0.35s cubic-bezier(.16,.84,.44,1), opacity 0.2s ease;
  animation: tourin 0.25s cubic-bezier(.16,.84,.44,1);
}
@keyframes tourin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.tour-card .tour-bar { height: 4px; border-radius: 4px; background: var(--line, rgba(0,0,0,.08)); margin: -2px 0 10px; overflow: hidden; }
.tour-card .tour-bar span { display: block; height: 100%; background: var(--accent, #0b7f64); border-radius: 4px; }
.tour-card .tstep { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.tour-card h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.tour-card p { margin: 0 0 16px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.tour-card .tactions { display: flex; justify-content: space-between; align-items: center; gap: 8px; }

/* ---------- AI assistant chat widget ---------- */
.assist-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 1500;
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: var(--text); color: white; font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s cubic-bezier(.16,.84,.44,1), opacity 0.15s ease;
}
.assist-bubble:hover { transform: translateY(-2px) scale(1.04); opacity: 0.92; }
@media (max-width: 899px) {
  .assist-bubble { bottom: calc(78px + env(safe-area-inset-bottom)); }
}

.assist-panel {
  position: fixed; right: 20px; bottom: 88px; z-index: 1500;
  width: 360px; max-width: calc(100vw - 24px); height: 480px; max-height: 70vh;
  background: var(--panel); border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  display: flex; flex-direction: column; overflow: hidden;
  animation: tourin 0.2s cubic-bezier(.16,.84,.44,1);
}
@media (max-width: 899px) {
  .assist-panel { right: 12px; left: 12px; width: auto; bottom: calc(146px + env(safe-area-inset-bottom)); }
}
.assist-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 16px 16px 12px; border-bottom: 1px solid var(--border);
}
.assist-title { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.assist-sub { font-size: 12px; margin-top: 2px; }
.assist-messages { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.assist-empty { font-size: 13.5px; line-height: 1.5; padding: 8px 2px; }
.assist-msg { max-width: 85%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.assist-msg.u { align-self: flex-end; background: var(--text); color: white; border-bottom-right-radius: 4px; }
.assist-msg.a { align-self: flex-start; background: var(--panel-2); color: var(--text); border-bottom-left-radius: 4px; }
.assist-msg.assist-typing { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.assist-msg.assist-typing span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--muted); display: inline-block;
  animation: assistTypingBounce 1.2s ease-in-out infinite;
}
.assist-msg.assist-typing span:nth-child(2) { animation-delay: 0.15s; }
.assist-msg.assist-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes assistTypingBounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.assist-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.assist-input-row input {
  flex: 1; background: var(--panel-2); border: 1.5px solid transparent; border-radius: 999px;
  padding: 10px 14px; font-size: 13.5px; font-family: inherit; color: var(--text);
}
.assist-input-row input:focus { outline: none; border-color: var(--text); background: var(--panel); }
.assist-input-row .btn { border-radius: 999px; }

/* ---------- Application tracker (Saved page pipeline) ---------- */
.pipeline-section { margin-bottom: 22px; }
.pipeline-heading { font-size: 14px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 10px 2px; }
.status-select { font-size: 12.5px; font-weight: 600; padding: 7px 10px; border-radius: 999px; }

/* ---------- Notifications ---------- */
.notif-bell {
  position: relative; background: transparent; border: 1px solid var(--border); border-radius: 999px;
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 15px;
}
.notif-badge {
  position: absolute; top: -4px; right: -4px; background: var(--red); color: white; font-size: 10px; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.notif-panel {
  position: fixed; top: 64px; right: 20px; z-index: 1600; width: 320px; max-width: calc(100vw - 24px);
  max-height: 70vh; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); overflow: hidden; display: flex; flex-direction: column;
  animation: tourin 0.2s cubic-bezier(.16,.84,.44,1);
}
.notif-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 14px; }
.notif-list { overflow-y: auto; }
.notif-item { padding: 12px 16px; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.12s ease; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--panel-2); }
.notif-item.unread { background: rgba(91, 79, 242, 0.05); }
.notif-item.unread .notif-item-title::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 6px; }
.notif-item-title { font-size: 13.5px; font-weight: 600; }
.notif-item-body { font-size: 12px; margin-top: 3px; }
.notif-empty { padding: 24px 16px; text-align: center; font-size: 13px; }

/* ---------- Assistant interview-mode bar ---------- */
.assist-mode-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 16px; background: var(--panel-2); border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 600;
}

/* ---------- Admin dashboard bars ---------- */
.admin-bar-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.admin-bar-label { width: 130px; flex-shrink: 0; font-size: 12.5px; color: var(--muted); text-transform: capitalize; }
.admin-bar-track { flex: 1; height: 10px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.admin-bar-fill { height: 100%; background: var(--text); border-radius: 999px; }
.admin-bar-num { width: 30px; text-align: right; font-size: 12.5px; font-weight: 700; }

/* ---------- PWA install pill ---------- */
.install-pill {
  position: fixed; left: 20px; bottom: 20px; z-index: 1400;
  background: var(--panel); color: var(--text); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}
@media (max-width: 899px) {
  .install-pill { bottom: calc(78px + env(safe-area-inset-bottom)); }
}


/* ---------- Account settings ---------- */
.acct-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 14px; }
.acct-summary > div { background: var(--panel-2); border-radius: 14px; padding: 14px 16px; }
.acct-label { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.acct-value { font-size: 15px; font-weight: 600; color: var(--text); word-break: break-word; }
.danger-zone { border: 1px solid rgba(220, 38, 38, 0.35); }
.danger-zone h2 { color: #b91c1c; }
.btn.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.btn.danger:hover { background: #b91c1c; }
a.userlink { color: inherit; text-decoration: none; }
a.userlink:hover { text-decoration: underline; }

.sidebar-ver { font-size: 11px; font-weight: 500; opacity: 0.55; margin-left: 4px; }

/* ---------- Career direction + match explanations ---------- */
.dir-setup { border: 1.5px solid var(--text); }
.dir-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-top: 12px; }
.dir-option { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid var(--border); background: var(--panel-2); cursor: pointer; font: inherit; color: var(--text); transition: transform .12s ease, border-color .12s ease, background .12s ease; }
.dir-option:hover { transform: translateY(-2px); border-color: var(--text); background: var(--panel); }
.dir-ic { font-size: 24px; }
.dir-label { font-weight: 700; font-size: 15px; }
.dir-sub { font-size: 12.5px; color: var(--muted); }
.dir-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--panel-2); border-radius: 12px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg-btn { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); padding: 7px 12px; border-radius: 9px; cursor: pointer; }
.seg-btn:hover { color: var(--text); }
.seg-btn.active { background: var(--text); color: #fff; }
.why { margin-top: 12px; background: var(--panel-2); border-radius: 12px; padding: 10px 14px; }
.why-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 4px; }
.why ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.bd-group { font-weight: 700; color: var(--text); }
.tag-current, .tag-hidden { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.tag-current { background: #e8eefc; color: #2848a8; }
.tag-hidden { background: #fdf1d8; color: #8a5a00; }
.hiddenfit { border: 1px solid #f1d59a; }
.hidden-intro { background: linear-gradient(135deg, #fff8e8, var(--panel)); }

/* ---------- Jobs: equal-size grid / list toggle ---------- */
.joblist.view-grid { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: stretch; }
@media (min-width: 700px) { .joblist.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .joblist.view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.joblist.view-grid .jobcard { display: flex; flex-direction: column; height: 100%; min-height: 250px; }
.joblist.view-grid .jbody { flex: 1; min-width: 0; }
.joblist.view-grid .jactions { margin-top: auto; padding-top: 10px; }
.jobcard .jtitle, .jobcard .jmeta, .jobcard .jdesc { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; word-break: break-word; }
.jobcard .jtitle { -webkit-line-clamp: 2; }
.jobcard .jmeta { -webkit-line-clamp: 2; }
.joblist.view-grid .jobcard .jdesc { -webkit-line-clamp: 4; }
.joblist.view-list { display: flex; flex-direction: column; gap: 10px; }
.joblist.view-list .jobcard { display: flex; align-items: center; gap: 18px; }
.joblist.view-list .jbody { flex: 1; min-width: 0; }
.joblist.view-list .jobcard .jdesc { -webkit-line-clamp: 2; margin-bottom: 0; }
.joblist.view-list .jactions { flex-shrink: 0; flex-wrap: nowrap; }
@media (max-width: 699px) {
  .joblist.view-list .jobcard { flex-direction: column; align-items: stretch; }
}
/* Fix: the mobile tab bar was showing on desktop over the content because a
   later .bottomnav rule overrode the hide-on-desktop rule. */
@media (min-width: 900px) { .bottomnav { display: none !important; } }

/* List view: every row full width and the same height. */
.joblist.view-list { align-items: stretch; }
.joblist.view-list .jobcard { width: 100%; min-height: 140px; }
.joblist.view-list .jobcard .jtitle { -webkit-line-clamp: 1; }
.joblist.view-list .jobcard .jdesc { min-height: calc(2 * 1.55em); }
/* 3 columns only when there's room for them next to the sidebar. */
@media (min-width: 1100px) and (max-width: 1279px) { .joblist.view-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .joblist.view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Phone: top bar was ~8px wider than the screen (name + 2 buttons). */
@media (max-width: 599px) {
  .topbar .userbit { gap: 8px; min-width: 0; }
  .topbar .userbit > a.userlink { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar { flex-wrap: nowrap; }
  .topbar .brand { min-width: 0; }
}

.cred-note { font-size: 12.5px; background: #fff4e5; color: #7a4b00; border-radius: 10px; padding: 7px 11px; margin: 4px 0 8px; }
.cred-note a { color: inherit; font-weight: 600; }

/* ---------- Profile: searchable multi-select, salary ---------- */
.msel { position: relative; }
.msel-box { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-height: 46px; padding: 6px 10px; border-radius: 12px; background: var(--panel-2); border: 1px solid transparent; cursor: text; }
.msel-box:focus-within { border-color: var(--text); background: var(--panel); }
.msel-chips { display: contents; }
.msel-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--text); color: #fff; font-size: 12.5px; font-weight: 600; padding: 5px 6px 5px 11px; border-radius: 999px; max-width: 100%; }
.msel-chip button { border: 0; background: rgba(255,255,255,.18); color: #fff; width: 18px; height: 18px; border-radius: 50%; cursor: pointer; font-size: 13px; line-height: 1; padding: 0; }
.msel-chip button:hover { background: rgba(255,255,255,.35); }
.msel-input { flex: 1; min-width: 160px; border: 0 !important; background: transparent !important; padding: 6px 2px !important; margin: 0 !important; box-shadow: none !important; outline: none; font: inherit; }
.msel-menu { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.14); max-height: 280px; overflow-y: auto; padding: 6px; }
.msel-opt { padding: 9px 11px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.msel-opt:hover, .msel-opt.active { background: var(--panel-2); }
.msel-custom { font-weight: 600; }
.msel-empty { padding: 9px 11px; font-size: 12.5px; color: var(--muted); }
.field-hint { font-size: 12px; color: var(--muted); margin: 6px 0 4px; }
.salary-row { display: flex; gap: 8px; }
.salary-row select { width: 120px; flex-shrink: 0; }
.salary-row input { flex: 1; min-width: 0; }

.tag-chosen { display: inline-block; vertical-align: middle; margin-left: 8px; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #efe9ff; color: #4b2fa8; }
.chosen-intro { background: linear-gradient(135deg, #f3efff, var(--panel)); }

.top-intro { background: linear-gradient(135deg, #fff6d6, var(--panel)); border: 1.5px solid #f0cf6b; }
.matchcard.topfit { border: 1.5px solid #f0cf6b; box-shadow: 0 8px 24px rgba(240, 190, 60, 0.18); }

/* Admin: system health */
.health-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.health-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: var(--panel-2); border-radius: 12px; }
.health-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: #22a06b; }
.health-dot.failing { background: #dc2626; } .health-dot.recovered, .health-dot.notice { background: #e0a100; }
.health-main { min-width: 0; flex: 1; }
.health-name { font-weight: 700; font-size: 14px; }
.health-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; margin-left: 6px; background: #e3f5ec; color: #146c43; }
.health-status.failing { background: #fde8e8; color: #b91c1c; } .health-status.recovered { background: #fdf3d8; color: #8a5a00; }
.health-err { font-size: 12.5px; margin-top: 4px; word-break: break-word; }
.health-meta { font-size: 11.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Jobs: filters + fit % ---------- */
.job-filters { margin: 6px 0 14px; background: var(--panel-2); border-radius: 14px; padding: 12px 16px; }
.job-filters summary { cursor: pointer; font-weight: 700; font-size: 14px; list-style: none; }
.job-filters summary::-webkit-details-marker { display: none; }
.job-filters summary::after { content: '▾'; margin-left: 6px; color: var(--muted); }
.job-filters[open] summary::after { content: '▴'; }
.filter-badge:not(:empty) { font-size: 11px; font-weight: 700; background: var(--text); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.jf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 16px; margin-top: 12px; }
.jf-grid label { font-size: 12px; }
.jf-grid input[type=text], .jf-grid select { background: var(--panel); }
.jf-check { display: flex !important; align-items: center; gap: 6px; font-weight: 500; margin-top: 6px; cursor: pointer; }
.jf-check input { width: 15px; height: 15px; }
.jf-sites { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 12px; }
.jf-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.jf-chip { display: inline-flex; align-items: center; gap: 5px; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; font-weight: 600; margin: 0; }
.jf-chip input { width: 14px; height: 14px; margin: 0; }
.fit-pill { display: inline-block; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.fit-pill.hi { background: #dcf5e8; color: #0f6b3f; }
.fit-pill.mid { background: #fdf1d3; color: #8a5a00; }
.fit-pill.lo { background: #eeeef2; color: #55555f; }

/* Application follow-ups */
.app-dates { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.app-dates label { font-size: 12px; font-weight: 600; color: var(--muted); display: flex; flex-direction: column; gap: 4px; margin: 0; }
.app-dates input { width: auto; min-width: 170px; margin: 0; font-size: 13px; padding: 8px 10px; }
.app-badge { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--panel-2); color: var(--text); margin-right: 4px; }
.app-badge.due { background: #fde8e8; color: #b91c1c; }
.app-badge.interview { background: #e8eefc; color: #2848a8; }
.due-banner { background: #fdf1d3; color: #7a4b00; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 10px; margin: 10px 0 0; }
.saved-flash { outline: 2px solid #22a06b; outline-offset: 1px; transition: outline 0.2s; }

/* Email + legal */
.verify-banner { background: #e8eefc; color: #1e3a8a; border-radius: 14px; padding: 10px 14px; margin-bottom: 14px; font-size: 13.5px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.consent { display: flex !important; gap: 8px; align-items: flex-start; font-size: 12.5px; font-weight: 500; margin-top: 12px; line-height: 1.45; }
.consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }
.legal h3 { font-size: 15px; margin: 22px 0 6px; }
.legal p, .legal li { font-size: 14px; line-height: 1.6; }
.legal ul { padding-left: 20px; }
.legal-draft { display: inline-block; background: #fdf1d3; color: #7a4b00; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin: 0 0 8px; }
.legal-footer { text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 0 30px; }
.legal-footer a { color: var(--muted); }
.outbox-item { background: var(--panel-2); border-radius: 10px; padding: 8px 12px; margin-top: 8px; font-size: 13px; }
.outbox-item summary { cursor: pointer; }
.outbox-item pre { white-space: pre-wrap; font-family: inherit; font-size: 12.5px; margin: 8px 0 0; }
.outbox-status { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #eeeef2; }
.outbox-status.ok { background: #dcf5e8; color: #0f6b3f; } .outbox-status.bad { background: #fde8e8; color: #b91c1c; }

/* Pro */
.modal-backdrop { position: fixed; inset: 0; background: rgba(20,20,25,.45); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal-card { background: var(--panel); border-radius: 20px; padding: 26px 24px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.pro-list { text-align: left; display: inline-block; margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.pro-badge { display: inline-block; background: linear-gradient(135deg, #ffd76a, #f5a524); color: #3d2600; font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; }
.plan-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.plan-table th, .plan-table td { padding: 10px 8px; border-bottom: 1px solid var(--border); text-align: center; }
.plan-table th:first-child, .plan-table td:first-child { text-align: left; }
.plan-table td:nth-child(3) { font-weight: 700; color: #0f6b3f; }
.au-row { display: flex; gap: 8px; flex-wrap: wrap; }
.au-row input, .au-row select { width: auto; flex: 1; min-width: 150px; margin: 0; }

/* Coach view */
.client-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; }
.client-row:hover { border-color: var(--text); }
.invite-link { display: flex; gap: 8px; margin-top: 6px; }
.invite-link input { flex: 1; margin: 0; font-size: 13px; }
.coach-pick { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.coach-note { background: var(--panel-2); border-radius: 10px; padding: 10px 12px; margin-top: 8px; font-size: 13.5px; }
.coach-access { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }

/* Skills gap */
.gap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 12px; }
.gap-box { background: var(--panel-2); border-radius: 14px; padding: 12px 14px; font-size: 14px; }
.gap-ok { color: #0f6b3f; font-weight: 800; } .gap-no { color: #d97706; font-size: 11px; }
.skill-chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin: 3px 4px 0 0; }
.skill-chip.have { background: #dcf5e8; color: #0f6b3f; } .skill-chip.miss { background: #fdf1d3; color: #7a4b00; }
.gap-steps { padding-left: 20px; } .gap-steps li { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }

/* Assessment scale legend + source credit */
.likert-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--muted); background: var(--panel-2); border-radius: 10px; padding: 8px 12px; margin: 6px 0 12px; }
.likert-legend b { color: var(--text); }
.assess-source { font-size: 11.5px; margin-top: 14px; line-height: 1.5; }

/* Admin: usage analytics */
.an-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 10px 0 6px; }
.an-tiles > div { background: var(--panel-2); border-radius: 12px; padding: 12px 14px; }
.an-tiles b { display: block; font-size: 22px; }
.an-tiles span { font-size: 12px; color: var(--muted); }
.an-h { font-size: 13px; margin: 18px 0 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.an-row { display: grid; grid-template-columns: 170px 1fr 90px; gap: 10px; align-items: center; margin: 6px 0; font-size: 13px; }
.an-track { height: 12px; background: var(--panel-2); border-radius: 999px; overflow: hidden; }
.an-fill { display: block; height: 100%; background: var(--text); border-radius: 999px; }
.an-num { text-align: right; font-weight: 700; }
.an-days { display: flex; align-items: flex-end; gap: 3px; height: 80px; background: var(--panel-2); border-radius: 10px; padding: 8px; }
.an-days span { flex: 1; background: var(--text); border-radius: 3px 3px 0 0; min-height: 3px; }
.an-days span.zero { background: var(--border); }
.an-days-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.an-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.an-table th, .an-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--border); }
.an-table th:not(:first-child), .an-table td:not(:first-child) { text-align: right; }
@media (max-width: 600px) { .an-row { grid-template-columns: 1fr 70px; } .an-track { grid-column: 1 / -1; grid-row: 2; } }

/* Assessments: honesty note, sections, missing-answer highlight */
.integrity-note { display: flex; gap: 12px; align-items: flex-start; background: #fff7e6; border: 1px solid #f3d9a4; color: #5c3d00; border-radius: 14px; padding: 12px 16px; margin: 8px 0 14px; font-size: 14px; line-height: 1.5; }
.integrity-note .in-ic { font-size: 20px; line-height: 1.2; }
.q-section { margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--border); }
.q-section:first-child { margin-top: 4px; padding-top: 0; border-top: 0; }
.q-section h3 { margin: 0 0 4px; font-size: 16px; }
.q-section p { margin: 0 0 6px; font-size: 13.5px; }
.qitem.q-missing { outline: 2px solid #dc2626; outline-offset: 4px; border-radius: 10px; transition: outline-color .3s; }

/* Jobs: "Why this job?" */
.fit-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.fit-row .fit-pill { margin-bottom: 0; }
.why-btn { border: 0; background: none; padding: 2px 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.why-btn:hover { opacity: .75; }
.job-why-line { font-size: 12.5px; color: #0f6b3f; background: #eefaf3; border-radius: 8px; padding: 5px 9px; margin: 2px 0 8px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.joblist.view-grid .jobcard { min-height: 290px; }
.joblist.view-grid .jobcard .jdesc { -webkit-line-clamp: 3; }
.why-modal-backdrop { position: fixed; inset: 0; background: rgba(20, 20, 24, 0.45); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.why-modal { position: relative; background: var(--panel); border-radius: 18px; padding: 22px 22px 18px; width: 100%; max-width: 540px; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
.why-close { position: absolute; top: 12px; right: 12px; border: 0; background: var(--panel-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 14px; }
.why-list { margin: 12px 0; padding-left: 18px; font-size: 14px; line-height: 1.55; }

/* =====================================================================
   FIG theme layer (v3.6.0) -- restyles the components above for the dark
   glass look. Kept as one block at the end so the older rules stay intact.
   ===================================================================== */
html { background: #140a24; }
body { font-weight: 500; }
::selection { background: rgba(95, 232, 194, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
h1, h2, h3, .hero h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.card h2 { font-weight: 800; }
a { color: var(--mint); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }

/* Eyebrow chip with a glowing lime dot (FIG signature) */
.eyebrow, .herokicker {
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  font: 600 11px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
  border: 1px solid var(--border); background: var(--panel-2); border-radius: 999px; padding: 6px 12px;
}
.eyebrow::before, .herokicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); flex-shrink: 0; }

/* Glass surfaces */
.card, .stat-tile, .jobcard, .herowrap {
  background: var(--panel); border: 1px solid var(--border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card.feature:hover, .jobcard:hover, .jobcard[data-occ]:hover, .client-row:hover {
  border-color: var(--line-strong); box-shadow: 0 0 40px rgba(95, 232, 194, 0.16), 0 10px 40px rgba(0, 0, 0, 0.3);
}
.card.feature.tint-violet, .card.feature.tint-teal, .card.feature.tint-coral, .card.feature.tint-blue { background: var(--panel); }
.badge-ic { background: var(--mint-soft) !important; border: 1px solid var(--line-strong); box-shadow: 0 0 18px rgba(95, 232, 194, 0.15); }

/* Brand mark: gradient tile with glow, gradient word */
.brand, .sidebar-brand { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }
.brand .dot, .sidebar-brand .dot { background: var(--grad); border-radius: 9px; box-shadow: 0 0 18px rgba(95, 232, 194, 0.45); }
.brand .dot::after, .sidebar-brand .dot::after { inset: 8px; border-radius: 50%; background: var(--ink-dark); }
.brand-accent { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sidebar-ver { font: 500 10.5px var(--mono); }

/* Chrome: sidebar, top bar, bottom nav */
.sidebar { background: rgba(18, 12, 36, 0.55); border-right: 1px solid var(--border); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.sitem { border: 1px solid transparent; }
.sitem:hover { background: var(--panel-2); color: var(--text); }
.sitem.active { background: var(--mint-soft); color: var(--text); border-color: var(--line-strong); text-shadow: 0 0 14px rgba(95, 232, 194, 0.5); }
.topbar { background: rgba(20, 10, 36, 0.6); border-bottom: 1px solid var(--border); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.bottomnav { background: rgba(18, 12, 36, 0.86); border: 1px solid var(--border); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.bottomnav .nitem { color: var(--muted); }
.bottomnav .nitem:hover { color: var(--text); }
.bottomnav .nitem.active { background: var(--grad); color: var(--ink-dark); }
.notif-bell { background: var(--panel-2); color: var(--text); }

/* Buttons: gradient pill primary, glass secondary */
.btn { background: var(--grad); color: var(--ink-dark); font-weight: 800; letter-spacing: 0.01em; box-shadow: 0 6px 24px rgba(95, 232, 194, 0.28); }
.btn:hover { opacity: 1; filter: brightness(1.07); }
.btn.secondary { background: var(--panel-2); color: var(--text); border: 1px solid var(--line-strong); box-shadow: none; }
.btn.secondary:hover { background: var(--mint-soft); border-color: var(--mint); }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); box-shadow: none; font-weight: 700; }
.btn.ghost:hover { color: var(--red); border-color: var(--red); background: var(--red-soft); }
.btn.danger { background: #c42f48; color: #fff; border-color: #c42f48; box-shadow: none; }
.btn.danger:hover { background: #a82539; }
.btn:disabled { filter: grayscale(0.6); }
.btn-link { color: var(--text); }
.btn-link:hover { color: var(--mint); }

/* Forms */
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=time], input[type=datetime-local], input[type=search], input[type=url], input[type=tel], textarea, select {
  background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); color: var(--text);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
input:focus, textarea:focus, select:focus { border-color: var(--mint); background: rgba(0, 0, 0, 0.34); box-shadow: 0 0 0 3px rgba(95, 232, 194, 0.18); }
select option, select optgroup { background: var(--panel-solid); color: var(--text); }
input[type=checkbox], input[type=radio] { accent-color: var(--mint); }
label { color: var(--muted); }
.jf-grid input[type=text], .jf-grid select { background: rgba(0, 0, 0, 0.28); }

/* Tabs / segmented / answer buttons */
.tabs { background: var(--panel-2); border: 1px solid var(--border); }
.tab.active { background: var(--mint-soft); color: var(--mint); box-shadow: inset 0 0 0 1px var(--line-strong); }
.seg { background: var(--panel-2); border: 1px solid var(--border); }
.seg-btn.active { background: var(--grad); color: var(--ink-dark); }
.likert button, .optlist button { background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); }
.optlist button { color: var(--text); }
.likert button:hover, .optlist button:hover { border-color: var(--line-strong); color: var(--text); }
.likert button.selected, .optlist button.selected { background: var(--grad); color: var(--ink-dark); border-color: transparent; box-shadow: 0 0 16px rgba(95, 232, 194, 0.25); }
.dir-setup { border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 0 60px rgba(95, 232, 194, 0.12); }
.dir-option { background: var(--panel-2); border-color: var(--border); }
.dir-option:hover { border-color: var(--line-strong); background: var(--mint-soft); }

/* Progress, scores, bars */
.progressbar { background: rgba(255, 255, 255, 0.08); }
.progressbar > div, .hero-panel .progressbar > div { background: var(--grad); box-shadow: 0 0 12px rgba(95, 232, 194, 0.4); }
.matchcard .score { background: conic-gradient(var(--mint) calc(var(--pct) * 1%), rgba(255, 255, 255, 0.08) 0); box-shadow: 0 0 18px rgba(95, 232, 194, 0.18); }
.matchcard .score span, .score span { background: var(--panel-solid); color: var(--text); font-family: var(--mono); font-size: 14px; }
.stat-tile .stat-num { font-family: var(--mono); font-weight: 600; color: var(--mint); font-variant-numeric: tabular-nums; }
.stat-tile .stat-label, .acct-label, .why-head, .an-h, .tour-card .tstep, .jf-label, .health-meta { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; font-size: 11px; }
.admin-bar-fill, .an-fill, .an-days span { background: var(--grad); }
.an-days span.zero { background: var(--border); }
.an-tiles b, .an-num, .admin-bar-num { font-family: var(--mono); color: var(--mint); }
.spinner { border-color: rgba(255, 255, 255, 0.15); border-top-color: var(--mint); }
.pill, .app-badge { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
.breakdown b, .bd-group { color: var(--text); }

/* Landing hero */
.herowrap { overflow: hidden; }
.herowrap::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -260px; right: -160px; background: radial-gradient(circle, rgba(95, 232, 194, 0.22), transparent 65%); pointer-events: none; }
.herowrap::after { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; bottom: -280px; left: -160px; background: radial-gradient(circle, rgba(224, 139, 196, 0.2), transparent 65%); pointer-events: none; }
.hero.hero-split { text-align: left; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 64px 44px; }
.hero.hero-split p { margin: 0; max-width: 56ch; }
.hero.hero-split .herokicker { margin-bottom: 20px; }
.hero-cta { margin-top: 30px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hero-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.hero-pills span { font: 600 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; color: var(--muted); background: var(--panel-2); }
.readout { position: relative; background: rgba(12, 8, 28, 0.55); border: 1px solid var(--line-strong); border-radius: 20px; padding: 20px 22px; font: 13px/1.6 var(--mono); box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 0 60px rgba(95, 232, 194, 0.14); }
.readout-head { display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.readout-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.readout-row:last-child { border-bottom: 0; }
.readout-row span:first-child { color: var(--muted); }
.readout-row span:last-child { color: var(--text); text-align: right; }
.readout-row .hi { color: var(--mint); font-weight: 600; }
@media (max-width: 860px) { .hero.hero-split { grid-template-columns: 1fr; padding: 48px 22px; } }

/* Dashboard welcome panel */
.hero-panel { background: linear-gradient(135deg, rgba(40, 22, 70, 0.85), rgba(12, 58, 58, 0.75)); border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(95, 232, 194, 0.12); }
.hero-panel::before { background: radial-gradient(circle, rgba(224, 139, 196, 0.35), transparent 70%); }
.hero-panel p.muted { color: var(--muted); }
.hero-panel .btn.secondary { background: rgba(255, 255, 255, 0.06); border-color: var(--line-strong); }

/* Popovers and modals: solid so text stays readable over content */
.msel-menu, .notif-panel, .tour-card, .assist-panel, .overlay-card, .why-modal, .modal-card {
  background: var(--panel-solid); border: 1px solid var(--line-strong); color: var(--text);
  box-shadow: 0 0 0 1px rgba(224, 139, 196, 0.12), 0 24px 70px rgba(0, 0, 0, 0.55), 0 0 60px rgba(95, 232, 194, 0.12);
}
.modal-backdrop, .why-modal-backdrop, #searchingOverlay { background: rgba(10, 6, 22, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.why-close { background: var(--panel-2); color: var(--text); border: 1px solid var(--border); }
.msel-box { background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); }
.msel-box:focus-within { border-color: var(--mint); background: rgba(0, 0, 0, 0.34); box-shadow: 0 0 0 3px rgba(95, 232, 194, 0.18); }
.msel-chip { background: var(--mint-soft); color: var(--text); border: 1px solid var(--line-strong); }
.msel-chip button { background: rgba(255, 255, 255, 0.12); color: var(--text); }
.msel-opt:hover, .msel-opt.active { background: var(--mint-soft); }
.notif-item.unread { background: var(--mint-soft); }
.notif-badge { background: var(--orchid); color: var(--ink-dark); }

/* Career Coach */
.assist-bubble { background: var(--grad); color: var(--ink-dark); box-shadow: 0 0 0 4px rgba(95, 232, 194, 0.12), 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(95, 232, 194, 0.35); }
.assist-msg.u { background: var(--grad); color: var(--ink-dark); font-weight: 600; }
.assist-msg.a { background: var(--panel-2); border: 1px solid var(--border); }
.assist-input-row input { background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border); }
.assist-input-row input:focus { border-color: var(--mint); background: rgba(0, 0, 0, 0.34); }
.assist-mode-bar { background: var(--mint-soft); }
.install-pill { background: var(--panel-solid); border-color: var(--line-strong); }
.filter-badge:not(:empty) { background: var(--grad); color: var(--ink-dark); }
.job-filters { background: var(--panel); border: 1px solid var(--border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.jf-chip { background: var(--panel-2); color: var(--text); }

/* Status colors re-tuned for dark (soft tint + bright text) */
.tag-current { background: var(--mint-soft); color: var(--mint); }
.tag-hidden, .legal-draft { background: var(--gold-soft); color: var(--gold); }
.tag-chosen { background: var(--orchid-soft); color: var(--orchid); }
.hiddenfit { border: 1px solid rgba(242, 207, 91, 0.35); }
.hidden-intro { background: linear-gradient(135deg, rgba(242, 207, 91, 0.10), var(--panel)); }
.chosen-intro { background: linear-gradient(135deg, rgba(224, 139, 196, 0.14), var(--panel)); }
.top-intro { background: linear-gradient(135deg, rgba(95, 232, 194, 0.14), rgba(184, 243, 107, 0.06) 60%, var(--panel)); border: 1px solid var(--line-strong); }
.matchcard.topfit { border: 1px solid var(--line-strong); box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 0 40px rgba(95, 232, 194, 0.14); }
.cred-note, .due-banner { background: var(--gold-soft); color: #f5dd8c; border: 1px solid rgba(242, 207, 91, 0.3); }
.integrity-note { background: linear-gradient(0deg, rgba(242, 207, 91, 0.07), rgba(242, 207, 91, 0.07)), var(--panel); border: 1px solid rgba(242, 207, 91, 0.4); color: #efe6c4; }
.verify-banner { background: var(--mint-soft); color: var(--text); border: 1px solid var(--line-strong); }
.job-why-line { background: var(--mint-soft); color: #bff5e4; }
.why-btn { color: var(--mint); }
.fit-pill { font-family: var(--mono); letter-spacing: 0.02em; border: 1px solid transparent; }
.fit-pill.hi { background: rgba(123, 234, 154, 0.13); color: var(--green); border-color: rgba(123, 234, 154, 0.3); }
.fit-pill.mid { background: var(--gold-soft); color: var(--gold); border-color: rgba(242, 207, 91, 0.3); }
.fit-pill.lo { background: var(--panel-2); color: var(--muted); border-color: var(--border); }
.app-badge.due, .health-status.failing, .outbox-status.bad { background: var(--red-soft); color: var(--red); }
.app-badge.interview { background: var(--mint-soft); color: var(--mint); }
.health-status, .outbox-status.ok { background: rgba(123, 234, 154, 0.13); color: var(--green); }
.health-status.recovered, .health-status.notice { background: var(--gold-soft); color: var(--gold); }
.health-dot { background: var(--green); } .health-dot.failing { background: var(--red); } .health-dot.recovered, .health-dot.notice { background: var(--gold); }
.outbox-status { background: var(--panel-2); }
.skill-chip.have { background: rgba(123, 234, 154, 0.13); color: var(--green); }
.skill-chip.miss { background: var(--gold-soft); color: var(--gold); }
.gap-ok, .plan-table td:nth-child(3) { color: var(--lime); }
.gap-no { color: var(--gold); }
.danger-zone { border: 1px solid rgba(255, 122, 138, 0.4); }
.danger-zone h2 { color: var(--red); }
.ok-text { color: var(--green); font-weight: 700; }
.bad-text { color: var(--red); font-weight: 700; }
.legal-footer, .legal-footer a { color: var(--faint); }
.linklist a { color: var(--text); }
.linklist a:hover { color: var(--mint); }
.jobcard:hover { border-color: var(--line-strong); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.brand-word { white-space: nowrap; }
.btn { white-space: nowrap; }
.brand .dot, .sidebar-brand .dot { flex-shrink: 0; }
@media (max-width: 599px) {
  .topbar { padding: 14px 16px; }
  .topbar .brand .sidebar-ver { display: none; }
  .topbar .brand { font-size: 17px; gap: 8px; }
  .topbar .btn.small { padding: 7px 11px; }
  .topbar #tourBtnTopbar { display: none; }
}

/* =====================================================================
   v4.0: effectiveness, Move plan, My Plan, check-ins, feedback, admin
   ===================================================================== */
a.sitem, a.nitem { text-decoration: none; }
a.sitem:hover, a.nitem:hover { text-decoration: none; }
.sitem:focus-visible, .nitem:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 3000; background: var(--panel-solid); color: var(--text); border: 1px solid var(--line-strong); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }
@media (min-width: 900px) { .fb-mobile { display: none !important; } }

/* Home */
.stat-row-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .stat-row-4 { grid-template-columns: repeat(2, 1fr); } }
.next-card .eyebrow { margin-bottom: 10px; }
.next-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.next-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.next-item:hover { text-decoration: none; border-color: var(--line-strong); background: var(--mint-soft); transform: translateX(2px); }
.next-item .next-ic { font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
.next-item span:nth-child(2) { flex: 1; min-width: 0; }
.next-go { color: var(--mint); font-family: var(--mono); }
.next-checkin { border-color: rgba(242, 207, 91, 0.45); background: var(--gold-soft); }

/* Match cards: market data + ratings */
.market { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.22); border: 1px solid var(--border); display: grid; gap: 6px; font-size: 13.5px; }
.mk-label { display: inline-block; min-width: 118px; font: 600 10.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }
.mk-src { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.mk-src a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.pill-data { background: rgba(123, 234, 154, 0.12); color: var(--green); border-color: rgba(123, 234, 154, 0.3); }
.rate-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; }
.rate-btn { border: 1px solid var(--border); background: var(--panel-2); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.rate-btn:hover { border-color: var(--line-strong); }
.rate-btn.on { background: var(--grad); color: var(--ink-dark); border-color: transparent; }
.rate-btn[data-rate="-1"].on { background: var(--red-soft); color: var(--red); border-color: rgba(255, 122, 138, 0.4); }
.reason-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; font-size: 12.5px; }
.jf-chip.on, .jf-chip[aria-pressed="true"] { background: var(--mint-soft); border-color: var(--line-strong); color: var(--mint); }
.matchcard.dismissing { opacity: 0; transform: translateX(20px); transition: opacity .3s ease, transform .3s ease; }
.dismissed-card summary { cursor: pointer; font-weight: 700; }
.dismissed-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.data-credit { font-size: 11.5px; color: var(--faint); text-align: center; margin: 6px 12px 20px; line-height: 1.5; }

/* Scales (quick survey, check-ins, outcome) */
.quick-card { border-color: rgba(242, 207, 91, 0.4); }
.scale { display: flex; gap: 6px; flex-wrap: wrap; }
.scale-btn { min-width: 44px; height: 42px; padding: 0 10px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: 600 14px var(--mono); cursor: pointer; transition: all .12s ease; }
.scale-btn:hover { border-color: var(--line-strong); }
.scale-btn.on { background: var(--grad); color: var(--ink-dark); border-color: transparent; box-shadow: 0 0 16px rgba(95, 232, 194, 0.25); }
.scale-wide .scale-btn { min-width: 38px; flex: 1; }
.scale-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--faint); margin-top: 4px; max-width: 520px; }
.outcome-ask { margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--mint-soft); border: 1px solid var(--line-strong); }
.survey-q { border: 0; padding: 0; margin: 18px 0 0; }
.survey-q legend, .survey-q > label { font-weight: 700; color: var(--text); font-size: 14.5px; margin-bottom: 8px; padding: 0; display: block; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice .jf-chip { padding: 7px 12px; font-size: 13px; }
.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 3000; background: var(--panel-solid); border: 1px solid var(--line-strong); color: var(--text); padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); max-width: calc(100vw - 32px); text-align: center; animation: tourin .2s ease; }
@media (min-width: 900px) { .toast { bottom: 28px; } }

/* Move plan */
.mp-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-top: 14px; }
.mp-summary > div { background: var(--panel-2); border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.mp-summary b { font-size: 15px; }
.mp-list { padding-left: 20px; margin: 6px 0 10px; } .mp-list li { margin-bottom: 6px; font-size: 14px; line-height: 1.5; }
.pay-bars { display: grid; gap: 6px; }
.pay-bars > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); font-size: 14px; }
.pay-bars b { font-family: var(--mono); color: var(--mint); }
.pay-bars .pay-you { border: 1px dashed var(--line-strong); }
.pay-bars .pay-you b { color: var(--gold); }
.mp-steps { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.mp-step { display: flex !important; align-items: flex-start; gap: 10px; margin: 0 !important; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border); color: var(--text) !important; font-weight: 500 !important; font-size: 14px !important; cursor: pointer; }
.mp-step input { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; }
.step-kind { font: 600 10.5px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-right: 8px; white-space: nowrap; }
.people { display: flex; flex-direction: column; gap: 10px; }
.person { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); }
.quick-contact { margin: 6px 0 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--mint-soft); }
.tmpl { border-top: 1px solid var(--border); padding: 10px 0; }
.tmpl summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.tmpl-body { white-space: pre-wrap; font: 13.5px/1.6 var(--font); background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; margin: 8px 0; color: var(--text); }

/* My Plan */
.plan-group { font: 600 11px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin: 16px 0 6px; }
.plan-step { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--border); }
.plan-step input[type=checkbox] { width: 18px; height: 18px; flex-shrink: 0; }
.plan-text { flex: 1; margin: 0 !important; color: var(--text) !important; font-weight: 500 !important; font-size: 14.5px !important; cursor: pointer; min-width: 0; }
.plan-step.done .plan-text { text-decoration: line-through; color: var(--muted) !important; }
.plan-date { width: auto !important; padding: 6px 8px !important; font-size: 12.5px !important; }
.plan-date.overdue { border-color: rgba(255, 122, 138, 0.6) !important; color: var(--red); }
.icon-btn { border: 0; background: transparent; color: var(--faint); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; flex-shrink: 0; }
.icon-btn:hover { background: var(--red-soft); color: var(--red); }
.add-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.add-row input[type=text] { flex: 1; min-width: 200px; }
.contact { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 4px; border-bottom: 1px solid var(--border); }
.contact.due { background: var(--gold-soft); border-radius: 12px; padding: 12px; }
.contact-main { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: min(100%, 260px); flex: 1 1 320px; }
.contact-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; align-self: flex-start; }
.contact-ctl select, .contact-ctl input { width: auto; padding: 7px 10px; font-size: 13px; margin: 0; }
.contact-ctl label { display: flex; align-items: center; gap: 6px; }
.contact-form { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--border); }

/* Admin */
.tbl-wrap { overflow-x: auto; }
.cohort-row { padding: 12px 0; border-bottom: 1px solid var(--border); }
.fb-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.fb-item.done { opacity: 0.55; }
.comment-list { padding-left: 18px; margin: 4px 0; } .comment-list li { font-size: 13.5px; margin-bottom: 6px; color: var(--muted); }
.scale-wrap { display: inline-flex; flex-direction: column; max-width: 100%; }
.scale-wrap .scale-ends { max-width: none; }
.scale-wrap .scale.scale-wide { min-width: min(560px, 100%); }

/* =====================================================================
   v4.2 polish: icons, simpler navigation, account menu, landing page,
   compact cards, collapsible sections, light theme
   ===================================================================== */
.i { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.btn .i, .btn-link .i, .rate-btn .i, .jf-chip .i, .pill .i, .app-badge .i, .tag-hidden .i, .tag-chosen .i { width: 15px; height: 15px; vertical-align: -2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.pro-tag { display: inline-block; font: 700 9.5px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(242, 207, 91, 0.35); vertical-align: 1px; }

/* Sidebar */
.sidebar-brand { text-decoration: none; color: var(--text); }
.sidebar-brand:hover { text-decoration: none; }
.sitem { gap: 12px; padding: 11px 14px; font-size: 14.5px; }
.sitem .i { width: 19px; height: 19px; opacity: 0.85; }
.sitem.active .i { opacity: 1; color: var(--mint); }
.nav-sep { height: 1px; background: var(--border); margin: 10px 8px; }
.sidebar-foot { border-top: 0; gap: 8px; }
.pro-card { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; background: linear-gradient(135deg, rgba(224, 139, 196, 0.14), rgba(95, 232, 194, 0.12)); border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; }
.pro-card:hover { text-decoration: none; filter: brightness(1.08); }
.pro-card .i { color: var(--mint); margin-top: 2px; }
.pro-card b { display: block; font-size: 13.5px; }
.pro-card small { display: block; color: var(--muted); font-size: 12px; line-height: 1.4; margin-top: 2px; }
.side-link { display: flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--muted); font: 600 13px var(--font); padding: 8px 6px; cursor: pointer; border-radius: 10px; }
.side-link:hover { color: var(--text); background: var(--panel-2); }

/* Top bar */
.topbar { padding: 12px 24px; }
.topbar .brand { text-decoration: none; color: var(--text); }
.userbit { gap: 10px !important; }
.icon-round { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-round:hover { border-color: var(--line-strong); }
.icon-round .i { width: 18px; height: 18px; }
.acct-wrap { position: relative; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: 600 13.5px var(--font); cursor: pointer; }
.acct-btn:hover { border-color: var(--line-strong); }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--ink-dark); display: inline-flex; align-items: center; justify-content: center; font: 800 12px var(--display); }
.acct-btn .chev { width: 15px; height: 15px; color: var(--muted); }
.acct-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1700; min-width: 240px; background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 16px; padding: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.acct-head { padding: 10px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; display: flex; flex-direction: column; gap: 2px; }
.acct-head span { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.acct-menu [role=menuitem] { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; background: none; border: 0; font: 600 14px var(--font); cursor: pointer; text-align: left; }
.acct-menu [role=menuitem]:hover, .acct-menu [role=menuitem]:focus { background: var(--mint-soft); outline: none; text-decoration: none; }
.acct-menu .i { width: 17px; height: 17px; color: var(--muted); }
@media (min-width: 900px) { .acct-menu .acct-extra { display: none; } }
@media (max-width: 599px) { .acct-name { display: none; } .acct-btn { padding: 3px; } .acct-btn .chev { display: none; } }
.notif-badge { top: -3px; right: -3px; }

/* Email reminder + section tabs */
.notice-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px 10px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); font-size: 13.5px; margin-bottom: 14px; color: var(--muted); }
.notice-bar > span { flex: 1; min-width: 200px; }
.notice-bar > .i { color: var(--mint); }
.subnav { display: flex; gap: 4px; margin: 0 0 16px; padding: 4px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); width: fit-content; max-width: 100%; overflow-x: auto; }
.subnav a { padding: 8px 16px; border-radius: 999px; color: var(--muted); font-weight: 700; font-size: 13.5px; text-decoration: none; white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a.on { background: var(--mint-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Bottom nav: five items */
.bottomnav { max-width: 420px; }
.bottomnav .nitem { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; padding: 8px 2px 7px; }
.bottomnav .nitem .i { width: 20px; height: 20px; }
.assist-bubble .i { width: 24px; height: 24px; }

/* Assessments tabs as real buttons */
.tab { font: inherit; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.tab-done { width: 14px !important; height: 14px !important; color: var(--green); }

/* Icon badges */
.badge-ic { color: var(--mint); }
.badge-ic .i { width: 22px; height: 22px; }
.dir-ic .i { width: 26px; height: 26px; color: var(--mint); }
.integrity-note .in-ic .i { width: 22px; height: 22px; color: var(--gold); }
.upsell-ic .i { width: 34px; height: 34px; color: var(--mint); }
.next-item .next-ic .i { width: 19px; height: 19px; color: var(--mint); }
.next-go .i { width: 16px; height: 16px; }
.step-box { display: inline-flex; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border); align-items: center; justify-content: center; flex-shrink: 0; }
.step-box.on { background: var(--mint-soft); border-color: var(--line-strong); color: var(--mint); }
.step-box .i { width: 13px; height: 13px; }

/* Compact match cards */
.matchcard { align-items: flex-start; }
.mc-main { flex: 1; min-width: 0; }
.mc-title { margin: 0; font-size: 18px; display: flex; align-items: baseline; gap: 10px; }
.mc-rank { font: 600 13px var(--mono); color: var(--faint); }
.mc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.mc-tags:empty { display: none; }
.mc-tags span { margin-left: 0 !important; }
.mc-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.mc-facts span { display: inline-flex; align-items: center; gap: 6px; }
.mc-facts .i { width: 16px; height: 16px; color: var(--faint); }
.mc-data { color: var(--green) !important; }
.mc-data .i { color: var(--green) !important; }
.mc-why { display: flex; gap: 8px; margin: 12px 0 0; font-size: 14px; color: var(--text); line-height: 1.5; }
.mc-why .i { color: var(--mint); margin-top: 2px; }
.mc-more { margin-top: 10px; }
.mc-more > summary, .acc > summary, .faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.mc-more > summary::-webkit-details-marker, .acc > summary::-webkit-details-marker, .faq > summary::-webkit-details-marker { display: none; }
.mc-more > summary { font-size: 13px; font-weight: 700; color: var(--mint); width: fit-content; }
.chev { transition: transform .2s ease; }
details[open] > summary .chev { transform: rotate(180deg); }
.mc-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.mc-actions .rate-row { margin-top: 0; }
.mc-cta { display: flex; gap: 8px; flex-wrap: wrap; }
.matchcard .score { width: 64px; height: 64px; }
.matchcard .score span { width: 52px; height: 52px; font-size: 15px; }
@media (max-width: 560px) {
  .matchcard { flex-direction: column-reverse; }
  .matchcard .score { align-self: flex-start; width: 52px; height: 52px; }
  .matchcard .score span { width: 42px; height: 42px; font-size: 13px; }
  .mc-cta { width: 100%; } .mc-cta .btn { flex: 1; }
}

/* Collapsible cards (Move plan) */
.acc > summary { justify-content: space-between; }
.acc > summary h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.acc[open] > summary { margin-bottom: 12px; }
.acc > summary .chev { width: 20px; height: 20px; color: var(--muted); }
.card h2 .i { color: var(--mint); }

/* First look after a test */
.first-look h2 { font-size: 22px; }
.fl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; counter-reset: fl; }
.fl-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); counter-increment: fl; }
.fl-list li::before { content: counter(fl); font: 600 13px var(--mono); color: var(--faint); }
.fl-title { flex: 1; font-weight: 700; }
.fl-score { font: 600 15px var(--mono); color: var(--mint); }

/* Landing page */
.demo-card { background: var(--panel-solid); border: 1px solid var(--line-strong); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 30px 70px rgba(0, 0, 0, 0.35), 0 0 60px rgba(95, 232, 194, 0.12); }
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.demo-card h3 { margin: 0 0 2px; font-size: 20px; }
.demo-score { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--mint) calc(var(--pct) * 1%), var(--panel-3) 0); }
.demo-score span { width: 44px; height: 44px; border-radius: 50%; background: var(--panel-solid); display: flex; align-items: center; justify-content: center; font: 600 13px var(--mono); }
.demo-why { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; font-size: 13.5px; }
.demo-why li { display: flex; gap: 8px; line-height: 1.45; }
.demo-why .i { color: var(--mint); width: 16px; height: 16px; margin-top: 2px; }
.demo-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--border); }
.demo-facts span { display: inline-flex; align-items: center; gap: 6px; }
.demo-facts .i { width: 15px; height: 15px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 8px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); }
.trust-item > .i { width: 22px; height: 22px; color: var(--mint); margin-top: 2px; }
.trust-item b { display: block; font-size: 14px; }
.trust-item span { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust-strip { grid-template-columns: 1fr; } }
.land-section { margin: 54px 0 0; }
.land-layoffs { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 18px; }
.land-layoffs li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.land-layoffs:empty { display: none; }
.ej-site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 12px; margin: 4px 0; font-size: 13.5px; }
.pill.muted { opacity: .7; }
.land-h { font-size: clamp(24px, 3.4vw, 34px); margin: 12px 0 22px; max-width: 26ch; }
.how { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.how-step { position: relative; padding: 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); }
.how-num { position: absolute; top: 16px; right: 18px; font: 600 12px var(--mono); color: var(--faint); }
.how-ic { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--mint-soft); border: 1px solid var(--line-strong); color: var(--mint); margin-bottom: 12px; }
.how-step h3 { margin: 0 0 6px; font-size: 16px; }
.how-step p { margin: 0; font-size: 13.5px; line-height: 1.55; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how { grid-template-columns: 1fr; } }
.land-for { grid-template-columns: repeat(3, 1fr) !important; margin-top: 12px; }
.land-for h3 { margin: 0 0 6px; font-size: 16px; }
.land-for p { margin: 0; }
@media (max-width: 760px) { .land-for { grid-template-columns: 1fr !important; } }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; }
.price-card { padding: 24px; border-radius: 20px; background: var(--panel); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.price-card.pro { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(95, 232, 194, 0.08), 0 0 50px rgba(95, 232, 194, 0.12); }
.price-card h3 { margin: 0; font-size: 18px; }
.price { font: 700 28px var(--display); }
.price-card ul { list-style: none; padding: 0; margin: 4px 0 10px; display: grid; gap: 8px; font-size: 14px; flex: 1; }
.price-card li { display: flex; gap: 8px; }
.price-card li .i { color: var(--mint); width: 16px; height: 16px; margin-top: 3px; }
@media (max-width: 640px) { .price-grid { grid-template-columns: 1fr; } }
.faq-list { display: grid; gap: 8px; max-width: 860px; margin-top: 12px; }
.faq { padding: 14px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--border); }
.faq > summary { justify-content: space-between; font-weight: 700; font-size: 15px; }
.faq > summary .chev { width: 18px; height: 18px; color: var(--muted); }
.faq p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
.cta-band { margin: 54px 0 20px; padding: 40px 24px; text-align: center; border-radius: 24px; background: linear-gradient(135deg, rgba(224, 139, 196, 0.16), rgba(95, 232, 194, 0.14) 60%, rgba(184, 243, 107, 0.10)); border: 1px solid var(--line-strong); }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(22px, 3vw, 30px); }
.cta-band p { margin: 0 0 18px; }
.site-footer { max-width: 1220px; margin: 0 auto; padding: 30px 20px 40px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; border-top: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.sf-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 800 17px var(--display); color: var(--text); }
.sf-brand .dot { width: 22px; height: 22px; border-radius: 8px; background: var(--grad); }
.sf-brand p { flex-basis: 100%; margin: 4px 0 0; font: 500 13px var(--font); color: var(--muted); }
.sf-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-content: flex-start; justify-content: flex-end; }
.sf-links a { color: var(--muted); }
.sf-links a:hover { color: var(--text); }
.sf-small { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--faint); }
@media (max-width: 640px) { .site-footer { grid-template-columns: 1fr; } .sf-links { justify-content: flex-start; } }
.hero-cta .btn-link { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f3fb;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #ffffff;
  --panel-2: rgba(30, 20, 60, 0.04);
  --panel-3: rgba(30, 20, 60, 0.08);
  --border: rgba(40, 30, 80, 0.13);
  --line-strong: rgba(14, 140, 110, 0.42);
  --text: #1b1530;
  --muted: #554f68;
  --faint: #6f6a82;
  --mint: #0b7f64;
  --lime: #4d8a0e;
  --orchid: #a3427f;
  --gold: #8a5b00;
  --mint-soft: rgba(16, 170, 130, 0.10);
  --orchid-soft: rgba(177, 77, 143, 0.10);
  --gold-soft: rgba(214, 160, 20, 0.13);
  --red: #b4233b;
  --red-soft: rgba(196, 47, 72, 0.10);
  --green: #127a43;
  --blue: #0b7f64;
  --ink-dark: #120c22;
  --wash-1: rgba(95, 232, 194, 0.22);
  --wash-2: rgba(224, 139, 196, 0.20);
  --wash-3: rgba(184, 243, 107, 0.16);
  --shadow-md: 0 14px 40px rgba(40, 30, 80, 0.12);
}
:root[data-theme="light"], :root[data-theme="light"] body { background-color: #f6f3fb; }
:root[data-theme="light"] body {
  background:
    radial-gradient(1100px 650px at 88% -10%, var(--wash-1), transparent 60%),
    radial-gradient(900px 650px at -10% 20%, var(--wash-2), transparent 60%),
    radial-gradient(1000px 700px at 45% 110%, var(--wash-3), transparent 62%),
    radial-gradient(circle, rgba(30, 20, 60, 0.05) 1px, transparent 1px) 0 0/22px 22px,
    linear-gradient(115deg, #f8f4fc 0%, #f4f1fb 45%, #eaf7f2 100%);
  background-attachment: fixed;
}
:root[data-theme="light"] .card, :root[data-theme="light"] .stat-tile, :root[data-theme="light"] .jobcard, :root[data-theme="light"] .herowrap { box-shadow: 0 10px 30px rgba(40, 30, 80, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
:root[data-theme="light"] .sidebar { background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] .topbar { background: rgba(250, 248, 253, 0.8); }
:root[data-theme="light"] .bottomnav { background: rgba(255, 255, 255, 0.92); box-shadow: 0 16px 40px rgba(40, 30, 80, 0.18); }
:root[data-theme="light"] input[type=text], :root[data-theme="light"] input[type=email], :root[data-theme="light"] input[type=password], :root[data-theme="light"] input[type=number], :root[data-theme="light"] input[type=date], :root[data-theme="light"] input[type=time], :root[data-theme="light"] input[type=datetime-local], :root[data-theme="light"] input[type=search], :root[data-theme="light"] input[type=url], :root[data-theme="light"] input[type=tel], :root[data-theme="light"] textarea, :root[data-theme="light"] select, :root[data-theme="light"] .msel-box, :root[data-theme="light"] .assist-input-row input, :root[data-theme="light"] td input, :root[data-theme="light"] .jf-grid input[type=text], :root[data-theme="light"] .jf-grid select { background: #ffffff; }
:root[data-theme="light"] input:focus, :root[data-theme="light"] textarea:focus, :root[data-theme="light"] select:focus { background: #ffffff; box-shadow: 0 0 0 3px rgba(16, 170, 130, 0.18); }
:root[data-theme="light"] .hero-panel { background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(234, 247, 242, 0.92)); box-shadow: 0 20px 50px rgba(40, 30, 80, 0.12); }
:root[data-theme="light"] .hero-panel h2 { color: var(--text); }
:root[data-theme="light"] .market, :root[data-theme="light"] .readout, :root[data-theme="light"] .tmpl-body { background: rgba(30, 20, 60, 0.035); }
:root[data-theme="light"] .integrity-note { color: #5c3d00; background: #fff7e3; }
:root[data-theme="light"] .cred-note, :root[data-theme="light"] .due-banner { color: #6b4300; }
:root[data-theme="light"] .job-why-line { color: #0b5c47; }
:root[data-theme="light"] .spinner { border-color: rgba(0, 0, 0, 0.1); border-top-color: var(--mint); }
:root[data-theme="light"] .progressbar { background: rgba(0, 0, 0, 0.07); }
:root[data-theme="light"] .matchcard .score { background: conic-gradient(var(--mint) calc(var(--pct) * 1%), rgba(0, 0, 0, 0.07) 0); }
:root[data-theme="light"] .acct-menu, :root[data-theme="light"] .msel-menu, :root[data-theme="light"] .notif-panel, :root[data-theme="light"] .tour-card, :root[data-theme="light"] .assist-panel, :root[data-theme="light"] .why-modal, :root[data-theme="light"] .modal-card, :root[data-theme="light"] .overlay-card { box-shadow: 0 24px 60px rgba(40, 30, 80, 0.18); }
:root[data-theme="light"] .demo-card { box-shadow: 0 30px 70px rgba(40, 30, 80, 0.14); }
:root[data-theme="light"] .skip-link { background: #fff; }
:root[data-theme="light"] .pill-data, :root[data-theme="light"] .fit-pill.hi, :root[data-theme="light"] .skill-chip.have { color: var(--green); }
:root[data-theme="light"] .tag-current { color: #0b6f57; }
:root[data-theme="light"] .tag-chosen { color: #8e2f6c; }
:root[data-theme="light"] .tag-hidden, :root[data-theme="light"] .legal-draft, :root[data-theme="light"] .fit-pill.mid, :root[data-theme="light"] .skill-chip.miss, :root[data-theme="light"] .pro-tag { color: #7a5200; }
:root[data-theme="light"] .data-credit { color: var(--faint); }
.topbar .userbit { margin-left: auto; }
:root[data-theme="light"] .topbar { background: rgba(250, 248, 253, 0.95); }
.topbar { background: rgba(20, 10, 36, 0.86); }
.hero-panel, .hero-panel h2 { color: var(--text); }
.hero-panel .btn.secondary { color: var(--text); }
:root[data-theme="light"] .hero-panel .btn.secondary { background: rgba(255, 255, 255, 0.7); }
:root[data-theme="light"] ::selection { color: var(--text); background: rgba(16, 170, 130, 0.25); }
.hero.hero-split > * { min-width: 0; }
@media (max-width: 860px) {
  .hero.hero-split { grid-template-columns: minmax(0, 1fr); padding: 36px 20px; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 48px); overflow-wrap: anywhere; }
  .herokicker { white-space: normal; }
}

/* v4.2 logos: brand files in public/brand. Dark-ink logo on light, reversed on dark. */
.logo { display: block; height: 32px; width: auto; }
.logo-on-dark { display: none; }
:root:not([data-theme="light"]) .logo-on-light { display: none; }
:root:not([data-theme="light"]) .logo-on-dark { display: block; }
.brand, .sidebar-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.sidebar-brand .logo { height: 34px; }
.sf-brand .logo { height: 30px; margin-bottom: 10px; }

/* v4.3 plans: Pro, Career Coach, Organizations */
.price-grid + .price-sub, .price-sub { margin: 30px 0 4px; font-size: 18px; }
.price-sub-p { margin: 0 0 14px; font-size: 14px; }
.price-card { position: relative; }
.price .amt { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.price .per { font-size: 14px; color: var(--muted); margin-left: 2px; }
.price-tag { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--mint-soft); color: var(--mint); }
.price-for { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.price-for .i { width: 15px; height: 15px; }
.price-alt { margin: -4px 0 0; font-size: 13.5px; color: var(--muted); }
.price-alt b { color: var(--mint); }
.price-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.price-btns .btn { flex: 1 1 140px; }
.muted-badge { background: var(--panel-2) !important; color: var(--muted) !important; }
.plan-now { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 4px; font-size: 13.5px; }
.notice-inline { font-size: 13px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--text); margin: 10px 0 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.table-scroll { overflow-x: auto; margin-top: 14px; }
.org-table th, .org-table td { white-space: nowrap; }
.org-table td .i { width: 16px; height: 16px; color: var(--mint); }
.org-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; margin: 0; }
.inline-check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.inline-check input { width: auto; margin: 0; }
.org-pill { display: inline-flex; align-items: center; gap: 4px; }
.org-pill .i { width: 12px; height: 12px; }
#proPlans .price-grid, #seekerPlans .price-grid { max-width: 860px; }
.price-card ul { align-content: start; }
.invite-link { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.invite-link input { flex: 1; min-width: 0; margin: 0; font-size: 13px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); }
:root[data-theme="light"] .invite-link input { background: #ffffff; }

/* v5 jobs: quality screening and reports */
.quality-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; margin: 0 0 10px; }
.quality-note .i { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--mint); }
.stale-tag { display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--gold); margin-top: 6px; }
.stale-tag .i { width: 13px; height: 13px; }
.report-btn { padding-left: 10px; padding-right: 10px; }
.report-btn .i { width: 15px; height: 15px; }
.rep-choices { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.rep-choices label { display: flex; gap: 8px; align-items: center; font-size: 14px; margin: 0; }
.rep-choices input { width: auto; margin: 0; }
.freq-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* v5 skills profile */
.sk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 6px 18px; margin-top: 12px; }
.sk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.sk-name { margin: 0; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sk-src { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.sk-sel { width: auto; min-width: 116px; margin: 0; padding: 6px 10px; font-size: 13px; }
.sk-sel.lvl-3, .sk-sel.lvl-4 { border-color: var(--line-strong); }
.sk-legend { font-size: 12px; margin-top: 12px; }
.sk-save { position: sticky; bottom: 12px; display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--panel-solid); border: 1px solid var(--border); box-shadow: var(--shadow-md); z-index: 5; }
.skill-table { display: grid; gap: 6px; }
.skill-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); font-size: 13.5px; }
.skill-row .skill-name { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.skill-row .i { width: 16px; height: 16px; }
.skill-row.have .i { color: var(--mint); }
.skill-row.close .i { color: var(--gold); }
.skill-row.gap .i { color: var(--orchid); }
.skill-need { color: var(--muted); font-size: 12.5px; }
@media (max-width: 860px) { .sk-save { bottom: 86px; } }
.mil-entry { padding: 12px 0; border-top: 1px solid var(--border); }
.mil-entry:first-of-type { border-top: 0; }
.mil-career { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 12px; border-radius: 12px; background: var(--panel-2); margin-top: 6px; font-size: 14px; }
.mil-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-links { display: flex; gap: 8px 18px; flex-wrap: wrap; margin: 4px 0 14px; font-size: 13.5px; font-weight: 600; }
.profile-links a { display: inline-flex; align-items: center; gap: 6px; }
.profile-links .i { width: 15px; height: 15px; }
.train-h { font-size: 14px; margin: 14px 0 6px; }
.train-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--panel-2); margin-top: 6px; font-size: 14px; }
#trainBox .linklist { display: flex; flex-wrap: wrap; gap: 6px 18px; }
#trainBox .linklist a { display: inline-flex; align-items: center; gap: 6px; padding: 0; }
#trainBox .linklist .i { width: 14px; height: 14px; }

/* v5 application kit */
.rb-entry { padding: 14px 0; border-top: 1px solid var(--border); }
.rb-entry:first-of-type { border-top: 0; }
.rb-row-acts { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.rb-dl { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.kit-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 14px 0 0; list-style: none; counter-reset: ks; font-size: 13px; color: var(--muted); }
.kit-steps li { counter-increment: ks; }
.kit-steps li::before { content: counter(ks); display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--mint-soft); color: var(--mint); font-weight: 700; font-size: 11.5px; margin-right: 6px; }
.kit-preview { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); font-size: 13.5px; }
.kit-preview ul { margin: 2px 0 0; padding-left: 18px; }
.ats-top { display: flex; gap: 14px; align-items: center; }
.ats-score { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; border: 5px solid var(--gold); flex-shrink: 0; line-height: 1; }
.ats-score b { font-family: 'Sora', sans-serif; font-size: 22px; }
.ats-score span { font-size: 10px; color: var(--muted); }
.ats-score.hi { border-color: var(--mint); }
.ats-score.lo { border-color: var(--red); }
.ats-checks { list-style: none; padding: 0; margin: 14px 0 8px; display: grid; gap: 8px; font-size: 13.5px; }
.ats-checks li { display: flex; gap: 8px; align-items: flex-start; }
.ats-checks .i { width: 17px; height: 17px; flex-shrink: 0; margin-top: 1px; }
.ats-checks li.ok .i { color: var(--mint); }
.ats-checks li.no .i { color: var(--gold); }
.qa { border-top: 1px solid var(--border); padding: 10px 0; }
.qa summary { cursor: pointer; display: flex; justify-content: space-between; gap: 10px; list-style: none; font-size: 14px; }
.qa summary::-webkit-details-marker { display: none; }
.qa[open] summary .chev { transform: rotate(180deg); }
.qa p { font-size: 13.5px; margin: 6px 0 0; }
.neg-bar { position: relative; height: 12px; margin: 34px 4px 6px; border-radius: 999px; background: linear-gradient(90deg, var(--red-soft), var(--gold-soft) 40%, var(--mint-soft)); }
.neg-mark { position: absolute; top: -6px; width: 4px; height: 24px; border-radius: 2px; background: var(--text); transform: translateX(-2px); }
.neg-mark span { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-weight: 700; font-size: 13px; white-space: nowrap; }
.neg-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 8px; flex-wrap: wrap; }
.neg-script { white-space: pre-wrap; font-family: inherit; font-size: 14px; line-height: 1.6; background: var(--panel-2); padding: 14px 16px; border-radius: 12px; margin: 10px 0 0; }

/* v5 sharing, employers, messages, approvals */
.share-parts { border: 0; padding: 0; margin: 14px 0 4px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.share-parts legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.share-parts label { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 14px; }
.share-parts input { width: auto; margin: 0; }
.share-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); }
.share-row.off { opacity: .6; }
.share-match { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); }
.share-score { text-align: right; flex-shrink: 0; display: flex; flex-direction: column; }
.share-score b { font-family: 'Sora', sans-serif; font-size: 18px; color: var(--mint); }
.share-score span { font-size: 12px; color: var(--muted); }
.vis-never { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--mint-soft); font-size: 13.5px; margin: 10px 0 14px; }
.vis-never .i { width: 18px; height: 18px; color: var(--mint); flex-shrink: 0; margin-top: 1px; }
.switch-row { display: flex; gap: 10px; align-items: center; font-size: 15px; margin: 6px 0 12px; }
.switch-row input { width: 20px; height: 20px; margin: 0; accent-color: var(--mint); }
.inbox-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); margin-top: 8px; color: var(--text); text-decoration: none; }
.inbox-row:hover { border-color: var(--line-strong); }
.inbox-row.unread { background: var(--mint-soft); }
.thread { display: grid; gap: 10px; margin: 16px 0; }
.msg { padding: 12px 14px; border-radius: 14px; background: var(--panel-2); max-width: 85%; }
.msg.mine { margin-left: auto; background: var(--mint-soft); }
.msg-meta { font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.msg-body { font-size: 14px; line-height: 1.55; }
.cand-card { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--border); }
.cand-card > div:first-child { flex: 1 1 360px; min-width: 0; }
.appr-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.appr-acts { display: flex; gap: 6px; }
.rej-note { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; }
.rej-note label { width: 100%; margin: 0; }
.rej-note input { flex: 1 1 240px; margin: 0; }
.notif-badge.inline { position: static; display: inline-grid; margin-left: 6px; vertical-align: middle; }
.price-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1180px !important; }
@media (min-width: 1101px) { .price-grid.three:has(> .price-card:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1320px !important; } } /* v5.24.1: four plans on one row */
@media (max-width: 1100px) { .price-grid.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .price-grid.three { grid-template-columns: 1fr; } }
.student-verify .sv-opt { padding: 14px 16px; border-radius: 14px; background: var(--panel-2); }
.student-verify h3 { font-size: 15px; margin: 0 0 8px; display: flex; gap: 8px; align-items: center; }
.q-img { display: block; max-width: min(420px, 100%); margin: 8px 0; border-radius: 10px; background: #fff; }
.optlist.img-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.optlist.img-opts button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px; }
.optlist.img-opts img { max-width: 100%; height: auto; background: #fff; border-radius: 6px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 8px 0; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 8px; border-bottom: 1px solid var(--border); }
@media (max-width: 640px) { .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; } .legal-table thead { display: none; } .legal-table tr { padding: 8px 0; border-bottom: 1px solid var(--border); } .legal-table td { border: 0; padding: 2px 0; } .legal-table td:first-child { font-weight: 700; } }

/* ---- v5: language switch ---- */
.lang-btn { font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.sf-lang { border: 1px solid var(--border); background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; border-radius: 8px; padding: 1px 8px; cursor: pointer; }
.sf-lang:hover { color: var(--text); border-color: var(--text); }
.price-grid > * { min-width: 0; }
.price-card { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .topbar .userbit { gap: 5px !important; }
  .topbar .icon-round { width: 34px; height: 34px; }
  .topbar .userbit .btn.small { padding-left: 10px; padding-right: 10px; }
  .topbar .userbit .btn-link { font-size: 12.5px; }
}
.train-outcomes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.train-outcomes span { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); }
.optlist.img-opts.opt-rotation { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.optlist.img-opts.opt-rotation img { width: 150px; }
.optlist.img-opts.opt-matrix img { width: 104px; }
@media (max-width: 480px) { .optlist.img-opts.opt-rotation { grid-template-columns: repeat(2, 1fr); } .optlist.img-opts.opt-rotation img { width: 100%; } .optlist.img-opts.opt-matrix { grid-template-columns: repeat(3, 1fr); } .optlist.img-opts.opt-matrix img { width: 100%; } }

/* Employer plan pricing note */
.em-price { background: var(--panel-2); border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 12px; padding: 12px 14px; margin: 4px 0 14px; font-size: 14px; line-height: 1.5; }

/* Aptly Mail */
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: auto; border-radius: 999px; background: var(--orchid); color: var(--ink-dark, #0d0a1c); font-size: 11px; font-weight: 800; }
.bottomnav .nav-badge { margin-left: 3px; min-width: 15px; height: 15px; font-size: 9.5px; }
.linkish { background: none; border: 0; padding: 0; color: var(--mint); font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; gap: 4px; align-items: center; }
.linkish:hover { text-decoration: underline; }
.mail-addr { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.mail-addr > span { font-family: var(--mono); font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid var(--line, rgba(127,127,127,.25)); overflow-wrap: anywhere; }
.mail-wrap { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: start; }
.mail-folders { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 80px; }
.mail-folder { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.mail-folder:hover { background: var(--panel-2); color: var(--text); }
.mail-folder.active { background: var(--panel-solid); color: var(--text); box-shadow: 0 1px 0 rgba(0,0,0,.04); border: 1px solid var(--line, rgba(127,127,127,.2)); }
.mail-folder .notif-badge { margin-left: auto; }
.mail-list { padding: 14px; }
.mail-row { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 10px; border-radius: 10px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line, rgba(127,127,127,.15)); font-size: 14px; }
.mail-row:hover { background: var(--panel-2); }
.mail-row.unread .mail-from, .mail-row.unread .mail-subj b { font-weight: 800; }
.mail-row.unread { background: color-mix(in srgb, var(--mint) 7%, transparent); }
.mail-row.risky { border-left: 3px solid var(--red); }
.mail-from { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.mail-subj { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mail-subj b { font-weight: 600; }
.mail-when { color: var(--muted); font-size: 12.5px; white-space: nowrap; display: inline-flex; gap: 4px; align-items: center; }
.mail-when svg, .mail-pill svg { width: 13px; height: 13px; }
.mail-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: var(--panel-2); color: var(--text); text-decoration: none; vertical-align: 1px; }
.mail-pill.cat-interview { background: color-mix(in srgb, var(--mint) 22%, transparent); }
.mail-pill.cat-offer { background: color-mix(in srgb, var(--lime) 30%, transparent); }
.mail-pill.cat-assessment, .mail-pill.cat-due { background: color-mix(in srgb, var(--gold) 26%, transparent); }
.mail-pill.cat-recruiter, .mail-pill.cat-employer { background: color-mix(in srgb, var(--orchid) 20%, transparent); }
.mail-pill.cat-risk { background: color-mix(in srgb, var(--red) 18%, transparent); color: var(--red); }
.mail-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 14px 0; }
.mail-cat-sel { width: auto; padding: 6px 10px; font-size: 13px; }
.mail-body { white-space: normal; line-height: 1.6; font-size: 15px; padding: 16px; border-radius: 12px; background: var(--panel-2); overflow-wrap: anywhere; }
.mail-body a { color: var(--mint); }
.mail-html { width: 100%; min-height: 520px; border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 12px; background: #fff; }
.mail-risk { border: 1px solid var(--red); background: color-mix(in srgb, var(--red) 9%, transparent); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.mail-risk ul { margin: 6px 0 0 18px; padding: 0; }
.mail-atts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mail-att { display: inline-flex; gap: 6px; align-items: center; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line, rgba(127,127,127,.3)); background: var(--panel-solid); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.mail-att.blocked { cursor: default; color: var(--muted); }
@media (max-width: 760px) {
  .mail-wrap { grid-template-columns: 1fr; }
  .mail-folders { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .mail-folder { white-space: nowrap; }
  .mail-row { grid-template-columns: minmax(0, 1fr) auto; }
  .mail-row .mail-subj { grid-column: 1 / -1; grid-row: 2; white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Show / hide password */
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 70px; width: 100%; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: var(--panel-2); border: 1px solid var(--line, rgba(127,127,127,.25)); border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 12.5px; font-weight: 700; color: var(--text); cursor: pointer; }
.pw-toggle:hover { background: var(--panel-solid); }
.mail-addr-inline { font-family: var(--mono); font-weight: 600; font-size: 15px; }
.ms-change { margin-top: 10px; }
.ms-change summary { cursor: pointer; color: var(--mint); font-weight: 600; font-size: 13.5px; }

/* Networking */
.net-tools { display: grid; grid-template-columns: minmax(0, 1fr) 170px 170px; gap: 8px; margin: 8px 0 10px; }
.contact-name { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; font-size: 15px; color: var(--mint); cursor: pointer; text-align: left; }
.contact-name:hover { text-decoration: underline; }
.contact-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.contact-notes { font-size: 13px; color: var(--muted); margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--panel-2); white-space: normal; max-width: 640px; align-self: stretch; }
.due-pill { background: color-mix(in srgb, var(--gold) 26%, transparent); }
@media (max-width: 640px) { .net-tools { grid-template-columns: 1fr 1fr; } .net-tools input { grid-column: 1 / -1; } }

/* v5.2: Coach links and action chips */
.assist-msg a.assist-link { font-weight: 600; text-decoration: underline; }
.assist-msg.a { white-space: pre-wrap; }
.assist-action { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -2px 0 10px; padding: 8px 10px; border-radius: 10px; font-size: 13px; background: var(--teal-soft, rgba(11,127,100,.1)); }
.assist-action svg { width: 16px; height: 16px; }
.assist-action span { flex: 1; min-width: 120px; }
.assist-action a, .assist-action .btn-link { font-weight: 600; font-size: 13px; }
.assist-action.done { opacity: .7; }
.assist-tries { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.assist-tries .chip { cursor: pointer; font: inherit; font-size: 12.5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line, rgba(0,0,0,.12)); background: var(--card, #fff); color: inherit; text-align: left; }

/* v5.2: feature overview (home page and Home) */
.feat-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.feat-how h3 { font-size: 15px; margin: 8px 0 4px; }
.feat-how h3 a { color: inherit; text-decoration: none; }
.feat-how h3 a:hover { text-decoration: underline; }
.feat-how p { font-size: 13px; margin: 0 0 6px; line-height: 1.5; }
.feat-how .feat-how-line { font-size: 12.5px; color: var(--text); opacity: .85; margin: 0; }
.feat-card > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; }
.feat-card > summary::-webkit-details-marker { display: none; }
.feat-card[open] > summary .chev { transform: rotate(180deg); }
.feat-card .feat-tour { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 14px 0; padding: 12px 14px; border-radius: 12px; background: var(--violet-soft, rgba(110,80,200,.08)); }

/* v5.2: saved practice interviews */
.practice-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); }
.practice-acts { display: flex; gap: 6px; align-items: center; }
.assist-mode-bar .btn-link svg { width: 14px; height: 14px; vertical-align: -2px; }

/* v5.3: free tries of Pro */
.pro-tag.try-tag { background: color-mix(in srgb, var(--mint, #0b7f64) 18%, transparent); color: var(--mint, #0b7f64); }
.assist-trial { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 14px; font-size: 12.5px; background: var(--violet-soft, rgba(110,80,200,.08)); border-bottom: 1px solid var(--border); }
.assist-trial svg { width: 14px; height: 14px; vertical-align: -2px; }
.assist-trial .btn-link, .assist-trial a { font-weight: 700; font-size: 12.5px; }

/* v5.3: weekly game plan */
.game-plan .eyebrow svg { width: 14px; height: 14px; vertical-align: -2px; }
.gp-list { margin: 10px 0 0; padding-left: 20px; line-height: 1.55; }
.gp-list li { margin: 6px 0; }
.gp-list a { color: inherit; text-decoration: none; border-bottom: 1px dashed var(--border); }
.gp-list a:hover { border-bottom-color: currentColor; }
.seg-btn .pro-tag { font-size: 9px; padding: 1px 5px; margin-left: 3px; }

/* v5.3: AI drafts in compose */
.cm-ai { margin: 12px 0 4px; padding: 10px 12px; border-radius: 12px; background: var(--violet-soft, rgba(110,80,200,.08)); }
.cm-ai > summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.cm-ai > summary svg { width: 15px; height: 15px; vertical-align: -2px; }
.cm-ai-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cm-ai-row select { flex: 0 1 230px; }
.cm-ai-row input { flex: 1 1 220px; }

/* v5.3: company brief and job practice in the kit */
.kit-sub { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); }
.kit-sub h3 { font-size: 15px; margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.kit-sub h3 svg { width: 16px; height: 16px; }
.brief { margin-top: 12px; font-size: 14px; }
.brief h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 14px 0 4px; }
.brief ul { margin: 0; padding-left: 20px; line-height: 1.55; }

.offer-terms { margin-top: 12px; width: 100%; }
.offer-terms th { text-align: left; width: 40%; font-weight: 600; }

.li-row { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; padding: 8px 10px; margin: 6px 0; border-radius: 10px; background: var(--panel-2); }
.li-row p { margin: 0; font-size: 14px; }

/* v5.3: application insights */
.ins-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 12px 0; }
.ins-stat { padding: 10px 12px; border-radius: 12px; background: var(--panel-2); }
.ins-stat b { display: block; font-size: 22px; }
.ins-stat span { font-size: 12px; color: var(--muted); }
.ins-h { font-size: 13px; margin: 16px 0 6px; }
.ins-row { display: grid; grid-template-columns: minmax(140px, 1.3fr) 2fr 44px; gap: 10px; align-items: center; margin: 5px 0; font-size: 13px; }
.ins-bar { height: 8px; border-radius: 8px; background: var(--panel-2); overflow: hidden; }
.ins-bar span { display: block; height: 100%; background: var(--mint, #0b7f64); border-radius: 8px; }
.ins-pct { text-align: right; font-size: 13px; }
.ins-tips { margin: 6px 0 4px; padding-left: 20px; line-height: 1.55; font-size: 14px; }
@media (max-width: 520px) { .ins-row { grid-template-columns: 1fr 44px; } .ins-bar { grid-column: 1 / -1; grid-row: 2; } }

.cand-card.featured { border-color: color-mix(in srgb, var(--gold, #c99a2e) 55%, transparent); }
.feat-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: color-mix(in srgb, var(--gold, #c99a2e) 22%, transparent); }
.feat-badge svg { width: 11px; height: 11px; }

.pro-card.trial { border-color: color-mix(in srgb, var(--mint, #0b7f64) 50%, transparent); }

/* v5.3: jobs posted on Aptly */
.aptly-post-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--mint, #0b7f64); margin-bottom: 4px; }
.aptly-post-tag svg { width: 13px; height: 13px; }
.jobcard.aptly-post { border-color: color-mix(in srgb, var(--mint, #0b7f64) 45%, transparent); }
.jd-full { white-space: pre-wrap; margin-top: 16px; font-size: 14.5px; line-height: 1.6; }

/* v5.3: employer job posts */
.ej-row { padding: 12px 0; border-top: 1px solid var(--border); }
.ej-row:first-child { margin-top: 10px; }
.ej-row.closed { opacity: .7; }
.ej-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.ej-acts, .ej-app-acts { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.ej-acts .nav-badge { position: static; margin-left: 4px; }
.ej-panel:not(:empty) { margin-top: 8px; }

.ej-new { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; background: #9f1239; color: #fff; }

/* v5.3: LinkedIn import */
.li-import { border-color: color-mix(in srgb, #0a66c2 35%, transparent); }
.li-import h2 svg { width: 18px; height: 18px; vertical-align: -3px; color: #0a66c2; }
.li-how { margin-top: 10px; font-size: 13.5px; }
.li-how summary { cursor: pointer; font-weight: 600; }
.li-how ol { margin: 8px 0 0; padding-left: 20px; line-height: 1.6; }
.li-found-list { display: grid; gap: 6px; margin-top: 8px; font-size: 14px; }
.li-found { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.li-found > span { color: var(--muted); font-size: 13px; }

/* v5.3: Aptly on your phone */
.ph-h { font-size: 14px; margin: 14px 0 6px; }
.ph-steps { margin: 0; padding-left: 20px; font-size: 13.5px; line-height: 1.6; }
.ph-kinds { border: 0; padding: 0; margin: 14px 0 0; }
.ok-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13.5px; margin: 0; }
.ok-line svg { width: 16px; height: 16px; color: var(--mint, #0b7f64); }
.phone-nudge { display: flex; align-items: center; gap: 12px; }
.phone-nudge > svg { width: 22px; height: 22px; flex-shrink: 0; }
.phone-nudge > div { display: flex; flex-direction: column; flex: 1; font-size: 13.5px; }

/* v5.3: referrals */
.invite-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; border-radius: 12px; font-size: 14px; background: color-mix(in srgb, var(--mint, #0b7f64) 14%, transparent); margin-bottom: 12px; }
.invite-banner svg { width: 18px; height: 18px; flex-shrink: 0; }
.invite-banner.land { margin: 0 auto 14px; max-width: 1100px; }
.invite-banner span { flex: 1; min-width: 200px; }
.invite-hero h2 { font-size: 22px; }
.invite-link { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.invite-link input { flex: 1 1 260px; font-family: var(--mono, ui-monospace, monospace); font-size: 13.5px; }
.invite-share { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.invite-list { margin: 10px 0 0; padding-left: 18px; line-height: 1.7; font-size: 14px; }
.invite-card { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.invite-card > svg:first-child { width: 22px; height: 22px; flex-shrink: 0; }
.invite-card > div { flex: 1; display: flex; flex-direction: column; font-size: 14px; }
.invite-card > svg:last-child { width: 18px; height: 18px; }
.invite-prompt { position: fixed; left: 50%; transform: translateX(-50%); bottom: 90px; z-index: 60; display: flex; gap: 10px; align-items: center; max-width: min(560px, calc(100vw - 24px)); padding: 12px 14px; border-radius: 14px; background: var(--card, #fff); border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 13.5px; }
.invite-prompt > svg { width: 22px; height: 22px; flex-shrink: 0; }
.invite-prompt > div { display: flex; flex-direction: column; flex: 1; }

/* Analytics consent notice */
.ga-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 560px; margin: 0 auto; background: var(--panel-solid, #fff); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow-md); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
/* v5.25.0: an open dialog sits above the analytics choice so its buttons can be clicked. */
body:has(.modal-backdrop) .ga-banner { z-index: 150; }
.ga-banner p { margin: 0; font-size: 13px; line-height: 1.5; }
.ga-banner a { color: inherit; text-decoration: underline; }
.ga-actions { display: flex; gap: 8px; justify-content: flex-end; }

/* Admin: job data schedule (v5.4) */
.pill-warn { background: var(--red-soft); color: var(--red); }
.scr-src { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-top: 12px; background: var(--panel-2); }
.scr-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; align-items: baseline; }
.scr-when { font-size: 12.5px; }
.scr-about { font-size: 12.5px; margin: 6px 0 10px; }
.scr-err { font-size: 12.5px; color: var(--red); margin: 0 0 10px; overflow-wrap: anywhere; }
.scr-grid { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.scr-grid > div { flex: 0 1 230px; min-width: 0; }
.scr-grid select, .scr-params input { width: 100%; margin: 4px 0 0; }
.scr-on { flex: 1 1 100%; margin: 0; font-size: 14px; }
.scr-times { margin-top: 10px; }
.scr-label { font-size: 12.5px; font-weight: 600; margin-bottom: 4px; padding: 0; }
.scr-time-list { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.scr-time { display: inline-flex; gap: 4px; align-items: center; }
.scr-time input { width: auto; margin: 0; }
.scr-days { border: 0; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.scr-days label { display: inline-flex; gap: 5px; align-items: center; font-size: 13.5px; font-weight: 500; margin: 0; }
.scr-days input { width: 17px; height: 17px; margin: 0; accent-color: var(--mint); }
.scr-params { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 230px)); gap: 10px 16px; margin-top: 12px; }
@media (max-width: 560px) { .scr-params { grid-template-columns: 1fr 1fr; } .scr-grid > div { flex: 1 1 140px; } }
.scr-params label { font-size: 12.5px; }
.scr-usage { font-size: 12.5px; margin-top: 10px; }
.scr-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.scr-msg { font-size: 12.5px; }
.scr-st { font-weight: 600; }
.scr-st.failed { color: var(--red); }
.scr-src [hidden] { display: none !important; }
/* Aptly Guide answers in the Coach panel (v5.4) */
.assist-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12px; color: var(--muted); margin: -2px 0 10px 4px; }
.assist-guide > span:first-of-type { display: inline-flex; align-items: center; gap: 4px; }
.assist-guide svg { width: 13px; height: 13px; }
.assist-guide .btn-link { font-size: 12px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 0; min-height: 24px; }
/* Admin: AI usage + Aptly Guide (v5.4) */
.ai-days { display: flex; gap: 6px; margin: 4px 0 12px; flex-wrap: wrap; }
.ai-bars { display: flex; align-items: flex-end; gap: 2px; height: 52px; margin: 6px 0 4px; padding: 2px 0; border-bottom: 1px solid var(--border); }
.ai-bars span { flex: 1; min-width: 2px; background: var(--mint); border-radius: 2px 2px 0 0; opacity: .8; }
.guide-cand { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; margin-top: 10px; background: var(--panel-2); }
.guide-cand label { font-size: 12.5px; margin-top: 8px; }
.guide-cand input, .guide-cand textarea { width: 100%; margin: 4px 0 0; }
/* Admin: cost vs revenue calculator (v5.4) */
.calc-table th, .calc-table td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-table tr.calc-sum th, .calc-table tr.calc-sum td { border-top: 2px solid var(--border); }
.calc-neg { color: var(--red); }
.calc-inputs select { width: 100%; margin: 4px 0 0; }
.plan-table.calc-table td:nth-child(3) { color: inherit; font-weight: inherit; }
/* v5.10.5: a profit-and-loss layout -- every number right-aligned so +/- line up with the bottom line. */
.plan-table.calc-table th[scope=col], .plan-table.calc-table td { text-align: right; padding-left: 14px; }
.plan-table.calc-table th[scope=col]:first-child { text-align: left; }
.calc-table tr.calc-section th { text-align: left; padding-top: 16px; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b7280); border-bottom: 1px solid var(--border); }
.calc-table tr.calc-info td, .calc-table tr.calc-info th { color: var(--muted, #6b7280); }
.calc-table tr.calc-bottom th, .calc-table tr.calc-bottom td { border-top: 3px double var(--text, #111); border-bottom: none; padding-top: 12px; font-size: 15px; }
.calc-pos { color: #0f6b3f; }
@media (max-width: 560px) { .calc-table th[scope=row] { white-space: normal; min-width: 130px; max-width: 150px; } }

/* v5.5 military price */
.price-card.mil-price { flex-direction: row; align-items: center; justify-content: space-between; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.mil-price-main { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.mil-price-main h3, .mil-price-main .price, .mil-price-main .price-alt { margin: 0; }
.mil-price-act { flex: 0 1 300px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.mil-form { margin-top: 16px; }
.mil-attest { align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.45; }
.mil-attest input { margin-top: 3px; flex: none; }
.mil-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); }
.mil-row.flagged { background: color-mix(in srgb, var(--amber) 9%, transparent); border-radius: 10px; padding: 10px; }
.mil-flags { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 4px; font-size: 12.5px; color: var(--text); }
.mil-flags span { display: inline-flex; align-items: center; gap: 4px; }
.mil-flags svg { width: 14px; height: 14px; }
.mil-settings { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.mil-settings > div { flex: 0 1 130px; }
.mil-settings input[type=text] { margin: 0; }
@media (max-width: 640px) { .mil-price-act { flex-basis: 100%; } }

/* v5.6 two scores: Qualified and Satisfaction */
.score-duo { display: flex; gap: 10px; align-items: flex-start; flex-shrink: 0; }
.duo-item { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 64px; }
.matchcard .score.duo, .score.duo { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.matchcard .score.duo span, .score.duo span { width: 44px; height: 44px; font-size: 13px; }
.matchcard .score.duo.q, .score.duo.q { background: conic-gradient(var(--teal) calc(var(--pct) * 1%), rgba(127, 127, 127, 0.16) 0); box-shadow: none; }
.matchcard .score.duo.s, .score.duo.s { background: conic-gradient(var(--orchid) calc(var(--pct) * 1%), rgba(127, 127, 127, 0.16) 0); box-shadow: none; }
.duo-label { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }
.fit-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fit-row .why-btn { margin-left: 2px; }
.pill-stack { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; flex-shrink: 0; }
.pill-stack .fit-pill, .fl-score .fit-pill, .coach-pick .fit-pill { margin-bottom: 0; }
@media (max-width: 640px) {
  .score-duo { align-self: flex-start; gap: 6px; }
  .duo-item { width: 56px; }
  .matchcard .score.duo, .score.duo { width: 46px; height: 46px; }
  .matchcard .score.duo span, .score.duo span { width: 37px; height: 37px; font-size: 11.5px; }
}

/* v5.7 jobs straight from employers: posting badges, company pages, followed employers, hiring demand */
.post-badges { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.post-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.01em; padding: 2px 8px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); white-space: nowrap; vertical-align: middle; }
.post-badge.verified { color: var(--mint, #0b7f64); border-color: color-mix(in srgb, var(--mint, #0b7f64) 40%, transparent); }
.post-badge .i, .post-badge svg { width: 12px; height: 12px; }
.company-link { color: inherit; font-weight: 600; text-decoration: underline dotted; text-underline-offset: 2px; }
.company-link:hover { color: var(--mint, #0b7f64); }
.mc-demand { display: inline-flex; align-items: center; gap: 5px; color: var(--text); font-weight: 600; }
.mc-demand .i, .mc-demand svg { width: 14px; height: 14px; }
.gap-demand { font-size: 13.5px; }
.emp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.emp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.emp-chip:hover { border-color: var(--mint, #0b7f64); }
.emp-chip .muted { font-weight: 500; font-size: 12px; }
.jf-grid .jf-check + .jf-check { margin-top: 4px; }
.us-flag { font-size: 18px; line-height: 1; margin-right: 2px; }
.signup-note { line-height: 1.45; }

/* ---- v5.8: Aptly Career, mentors, alumni ---- */
.hire-modal { max-width: 620px; }
.hire-modal h4 { font-size: 14.5px; }
.hire-offers { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hire-offers .btn { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; white-space: normal; height: auto; }
.hire-offers .btn small { font-weight: 500; font-size: 12px; opacity: .85; }
@media (max-width: 560px) { .hire-offers { grid-template-columns: 1fr; } }
.career-gate { position: relative; border: 1px dashed var(--border); border-radius: 14px; padding: 12px 14px; }
.career-gate > :not(.career-gate-cta):not(p:first-child) { opacity: .55; pointer-events: none; filter: blur(.4px); max-height: 180px; overflow: hidden; }
.career-gate-cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ob-items { display: grid; gap: 6px; }
.ob-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel-2); font-size: 14px; cursor: pointer; margin: 0; }
.ob-item input { margin-top: 3px; width: 16px; height: 16px; flex: none; }
.ob-item.done span { text-decoration: line-through; opacity: .6; }
.ob-item .btn-link.small, .btn-link.small { font-size: 12.5px; padding: 0 4px; text-decoration: underline; }
.ob-kind { font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-right: 4px; }
.next-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.next-role { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; background: var(--panel-2); display: flex; flex-direction: column; gap: 4px; }
.next-role .btn { align-self: flex-start; margin-top: 6px; }
.mentor-card .mentor-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.mentor-meta { display: flex; gap: 6px 10px; flex-wrap: wrap; align-items: center; font-size: 12.5px; margin-top: 6px; }
.mentor-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; background: var(--gold-soft, #fff4d6); color: var(--text); border: 1px solid rgba(214, 160, 40, .45); vertical-align: middle; }
.mentor-badge .i { width: 12px; height: 12px; }
.mentor-badge.senior { background: rgba(95, 232, 194, .18); border-color: rgba(95, 232, 194, .5); }
.mentor-badge.lead { background: var(--grad, linear-gradient(90deg, #5fe8c2, #7beaa9)); color: var(--ink-dark, #0b1a16); border-color: transparent; }
.stars { color: #d6a028; font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.stars small { color: var(--muted); letter-spacing: 0; font-size: 12px; }
.spotlight { border-color: rgba(214, 160, 40, .5); }
.rec-list { padding-left: 20px; margin: 8px 0 0; display: grid; gap: 6px; font-size: 14px; }
.elig-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.elig-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.elig-list li .i { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.elig-list li.ok .i { color: var(--green, #1b9d6b); }
.elig-list li.no .i { color: var(--muted); }
.elig-list.compact { gap: 2px; font-size: 12.5px; margin-top: 6px; }
.elig-list.compact li { font-size: 12.5px; }
.field-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow-y: auto; padding: 4px 0; }
.legal-box { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; background: var(--panel-2); font-size: 13px; margin-top: 8px; }
.legal-box ol li, .legal-box ul li { margin-bottom: 4px; }
.rep-choices { border: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.session-row { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.session-row .jactions { align-items: flex-start; }
.agenda { font-size: 13px; }
.agenda ul, .agenda ol { margin: 2px 0 8px 18px; padding: 0; }
.msg-thread { display: grid; gap: 8px; max-height: 420px; overflow-y: auto; padding: 4px 2px; }
.msg-thread.small { max-height: 220px; }
.msg { max-width: 80%; padding: 8px 12px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--border); font-size: 14px; white-space: pre-wrap; }
.msg.me { margin-left: auto; background: var(--mint-soft, #e3f7f0); }
.msg small { display: block; margin-top: 2px; font-size: 11px; }
.alumni-post { padding: 10px 0; border-bottom: 1px solid var(--border); }
.alumni-post:last-child { border-bottom: none; }
.reply { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; white-space: pre-wrap; }
.notif-badge.inline { display: inline-block; position: static; margin-left: 4px; }
.emp-chip.muted { opacity: .5; }

/* In-app footer (logged in) */
.app-footer { width: 100%; max-width: 860px; margin: 0 auto; padding: 14px 20px 110px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; }
.app-footer .sf-links { justify-content: flex-start; gap: 6px 16px; }
.app-footer .sf-small { grid-column: auto; margin: 0; }
@media (min-width: 900px) { .app-footer { padding-bottom: 30px; } }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table td { padding: 5px 8px 5px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table td:first-child { white-space: nowrap; width: 170px; }

/* ---- v5.10: profile card, compare, payouts ---- */
.card-preview { position: relative; margin-top: 14px; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(20, 18, 28, .10); }
.card-preview img { display: block; width: 100%; height: auto; }
.card-preview.off img { filter: grayscale(1) opacity(.45); }
.card-off-label { position: absolute; inset: auto 12px 12px auto; background: var(--panel); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; font-size: 12.5px; font-weight: 700; }
.card-toggles { display: grid; gap: 6px; }
.share-tile { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.share-tile .i { width: 18px; height: 18px; vertical-align: -3px; color: var(--mint); }
.fl-card-nudge { margin: 14px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--mint-soft, #e3f7f0); font-size: 14px; }
.fl-card-nudge .i { width: 16px; height: 16px; vertical-align: -3px; }
.cmp-head .cmp-people { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; }
.cmp-arch { font: 800 20px/1.2 var(--display, Sora, sans-serif); margin: 2px 0; }
.cmp-sim { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 50%; background: var(--grad); color: var(--ink-dark, #0b1a16); }
.cmp-sim b { font-size: 26px; line-height: 1; }
.cmp-sim .muted { color: inherit; opacity: .75; font-size: 12px; }
.cmp-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.cmp-dot.you, .cmp-bar.you i { background: #19b38a; }
.cmp-dot.them, .cmp-bar.them i { background: #8f6ad8; }
.cmp-dims { display: grid; gap: 10px; }
.cmp-dim { display: grid; grid-template-columns: 170px 1fr 1fr; gap: 6px 14px; align-items: center; font-size: 14px; }
.cmp-label small { display: block; font-size: 12px; }
.cmp-pair { display: flex; align-items: center; gap: 8px; }
.cmp-pair b { font-size: 13px; width: 26px; text-align: right; font-variant-numeric: tabular-nums; }
.cmp-bar { flex: 1; height: 10px; border-radius: 999px; background: var(--border); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; border-radius: 999px; }
.cmp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cmp-cols > .card { margin: 0; }
.cmp-cols ol { margin: 6px 0 0 18px; padding: 0; font-size: 14px; }
.cmp-careers { margin: 0; padding-left: 18px; font-size: 14.5px; display: grid; gap: 4px; }
@media (max-width: 640px) {
  .cmp-head .cmp-people { grid-template-columns: 1fr 1fr; }
  .cmp-head .cmp-sim { grid-column: 1 / -1; grid-row: 1; margin: 0 auto 6px; }
  .cmp-dim { grid-template-columns: 1fr 1fr; } .cmp-dim .cmp-label { grid-column: 1 / -1; }
  .cmp-cols { grid-template-columns: 1fr; }
}
.payout-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--border); }
.payout-status.ready { background: rgba(27, 157, 107, .12); border-color: rgba(27, 157, 107, .35); }
.payout-status.restricted { background: rgba(214, 120, 40, .14); border-color: rgba(214, 120, 40, .4); }
.payout-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 8px; }
.payout-table td, .payout-table th { text-align: left; padding: 6px 6px 6px 0; border-bottom: 1px solid var(--border); }
.payout-table th { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.payout-table td.n { text-align: right; font-variant-numeric: tabular-nums; }

main:has(+ .app-footer) { padding-bottom: 28px; }

/* ---------- v5.12: public home page header links, testimonials, visitor chat, AI checker ---------- */
.topbar .land-nav { display: flex; gap: 2px; align-items: center; flex: 1; justify-content: center; margin: 0 12px; min-width: 0; }
.land-nav a { font-size: 13.5px; font-weight: 600; color: var(--muted); padding: 7px 11px; border-radius: 999px; white-space: nowrap; text-decoration: none; }
.land-nav a:hover, .land-nav a:focus-visible { color: var(--text); background: var(--panel-2); }
.land-nav a.land-nav-ai { color: var(--mint); border: 1px solid var(--line-strong, var(--border)); margin-left: 6px; }
.land-nav a[hidden] { display: none; }
@media (max-width: 1080px) {
  .topbar:has(.land-nav) { flex-wrap: wrap; row-gap: 8px; }
  .topbar .land-nav { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 0 -8px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .land-nav::-webkit-scrollbar { display: none; }
}
.land-section, #how, #features, #built-for, #pricing, #testimonials { scroll-margin-top: 120px; }
.land-section:focus { outline: none; }
.ai-check-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 9px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--border); color: var(--text); font-size: 13.5px; text-decoration: none; }
.ai-check-pill b { color: var(--mint); }
.ai-check-pill .i { width: 16px; height: 16px; color: var(--mint); }
.ai-check-pill:hover { border-color: var(--mint); }

.testi-section { margin-top: 34px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testi-grid { grid-template-columns: 1fr; } }
.testi { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.testi blockquote { margin: 0; font-size: 15px; line-height: 1.6; flex: 1; }
.testi figcaption { display: flex; gap: 10px; align-items: center; font-size: 13.5px; }
.testi figcaption small { display: block; color: var(--muted); font-size: 12.5px; }
.testi .avatar { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 700 12px var(--mono, monospace); background: var(--mint-soft, var(--panel-2)); color: var(--mint); flex: none; }
.testi-stars { color: #e3a008; letter-spacing: 2px; font-size: 15px; }
.testi-stars span { color: var(--border); }

.vchat-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 1500; display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px 13px 15px; border: 0; border-radius: 999px; background: var(--text); color: #fff; font: 700 14.5px Manrope, system-ui, sans-serif; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28); transition: transform 0.15s cubic-bezier(.16,.84,.44,1); }
.vchat-bubble .i { width: 19px; height: 19px; }
.vchat-bubble:hover { transform: translateY(-2px); }
:root[data-theme="light"] .vchat-bubble { background: #0b7f64; }
:root:not([data-theme="light"]) .vchat-bubble { background: #0b7f64; color: #fff; } /* v5.24.1: readable in dark mode too */
.vchat-panel { position: fixed; right: 20px; bottom: 82px; z-index: 1500; width: 370px; max-width: calc(100vw - 24px); height: 520px; max-height: calc(100vh - 110px); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius, 18px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); overflow: hidden; }
.vchat-panel.hidden { display: none; }
.vchat-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--border); }
.vchat-head b { display: block; font-size: 15px; }
.vchat-head small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.vchat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.vchat-body .assist-msg a { color: var(--mint); font-weight: 600; }
.vchat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.vchat-chips button { border: 1px solid var(--border); background: var(--panel-2); color: var(--text); border-radius: 999px; padding: 7px 11px; font: 600 12.5px Manrope, system-ui, sans-serif; cursor: pointer; }
.vchat-chips button:hover { border-color: var(--mint); }
.vchat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--border); }
.vchat-form input { flex: 1; min-width: 0; margin: 0; }
.vchat-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 14px 10px; font-size: 12px; }
@media (max-width: 600px) {
  .vchat-bubble span { display: none; }
  .vchat-bubble { padding: 15px; }
  .vchat-panel { right: 12px; left: 12px; width: auto; bottom: 80px; }
}

.aic-h { font-size: clamp(26px, 4vw, 36px); margin: 6px 0 0; }
.aic-verdict { border-radius: 18px; padding: 20px 22px; margin: 14px 0; border: 1px solid var(--border); background: var(--panel); }
.aic-verdict h2 { font-size: 26px; margin: 6px 0; }
.aic-verdict p { margin: 0; font-size: 15px; line-height: 1.6; }
.aic-low, .aic-lowmod { border-color: rgba(11, 127, 100, 0.35); background: rgba(11, 127, 100, 0.07); }
.aic-mod { border-color: rgba(200, 170, 40, 0.4); background: rgba(200, 170, 40, 0.07); }
.aic-high, .aic-vhigh { border-color: rgba(226, 96, 79, 0.35); background: rgba(226, 96, 79, 0.07); }
.aic-gauge { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #3fbf8f, #c8d65a 45%, #f0a64a 70%, #e2604f); margin: 16px 0 6px; }
.aic-gauge i { position: absolute; top: -5px; width: 4px; height: 22px; border-radius: 3px; background: var(--text); box-shadow: 0 0 0 3px var(--panel); }
.aic-gauge-l { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.aic-cols { grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .aic-cols { grid-template-columns: 1fr; } }
.aic-cols h3, .aic-tips + h3 { font-size: 15px; margin: 0 0 8px; }
.card h3 { font-size: 15px; }
.aic-chips span { display: inline-block; margin: 0 6px 6px 0; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); font-size: 13px; }
.aic-tips { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; }
.pill.ok-pill { background: rgba(11, 127, 100, 0.12); color: #0b7f64; border-color: rgba(11, 127, 100, 0.3); }
.pill.warn-pill { background: rgba(240, 166, 74, 0.16); color: #a35a00; border-color: rgba(240, 166, 74, 0.4); }
.tm-form label { margin-top: 8px; }
.ly-row { align-items: flex-start; }
.vchat-panel { background: #1b1030; }
:root[data-theme="light"] .vchat-panel { background: #ffffff; }
@media (max-width: 1080px) {
  .topbar:has(.land-nav) { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 8px; }
  .topbar:has(.land-nav) .userbit { justify-self: end; min-width: 0; }
  .topbar:has(.land-nav) .land-nav { grid-column: 1 / -1; }
}
.topbar .userbit a { white-space: nowrap; }

/* Coach: Get the best answers (v5.14.0) */
.assist-tips { margin: 0 12px 6px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-2); font-size: 13px; line-height: 1.45; max-height: 45vh; overflow-y: auto; }
.assist-tips.in-empty { margin: 10px 0 0; max-height: none; overflow: visible; }
.assist-tips .tips-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.assist-tips .tips-meter { height: 6px; border-radius: 3px; background: var(--panel-3); margin: 6px 0 8px; overflow: hidden; }
.assist-tips .tips-meter span { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.assist-tips .tips-sub { font-size: 12.5px; margin: 6px 0 4px; }
.assist-tips .tips-missing, .assist-tips .tips-how { margin: 4px 0 6px; padding-left: 18px; }
.assist-tips .tips-missing li, .assist-tips .tips-how li { margin: 2px 0; }
.assist-tips .tips-how { color: var(--muted); font-size: 12.5px; }

/* Coach answer ratings (v5.15.0) */
.assist-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12.5px; margin: -2px 0 10px 4px; }
.assist-rate .chip { font-size: 12px; padding: 3px 9px; }
.assist-typing .assist-wait { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; font-style: normal; }


/* ---------- Plan comparison table (Plans page, public home) ---------- */
.pc-wrap { max-width: 1040px; }
.pc-wrap > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pc-wrap > summary::-webkit-details-marker { display: none; }
.pc-wrap > summary h3 { display: flex; align-items: center; gap: 8px; }
.pc-toggle { font-size: 13px; font-weight: 600; }
.plan-compare { position: relative; overflow-x: auto; margin-top: 12px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel-solid); }
.plan-compare table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 760px; font-size: 14px; }
.plan-compare th, .plan-compare td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: middle; }
.plan-compare thead th { position: sticky; top: 0; z-index: 2; background: var(--panel-solid); border-bottom: 2px solid var(--line-strong); }
.plan-compare thead th b { display: block; font-size: 15px; font-family: var(--display, inherit); }
.plan-compare thead th small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 2px; }
.plan-compare th.pc-feat, .plan-compare tbody th[scope="row"] { text-align: left; position: sticky; left: 0; z-index: 1; background: var(--panel-solid); min-width: 220px; max-width: 300px; font-weight: 600; }
.plan-compare tbody th[scope="row"] small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 2px; }
.plan-compare tr.pc-group th { text-align: left; background: var(--panel-3); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; padding-block: 8px; position: static; }
.plan-compare td.pc-yes svg { width: 18px; height: 18px; color: var(--mint); stroke-width: 3; }
.plan-compare td.pc-yes .pc-note { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan-compare .pc-dash { display: inline-block; width: 12px; height: 2px; background: var(--faint); border-radius: 1px; vertical-align: middle; opacity: .7; }
.plan-compare .pc-pill { display: inline-block; background: color-mix(in srgb, var(--gold) 22%, transparent); color: var(--gold); font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: 999px; line-height: 1.3; }
.plan-compare tbody tr:last-child td, .plan-compare tbody tr:last-child th { border-bottom: 0; }
.pc-foot { font-size: 12.5px; padding: 10px 12px 12px; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pc-career { color: var(--orchid); } .pc-pro { color: var(--mint); } .pc-coach { color: var(--lime); } .pc-org { color: var(--gold); }

/* ---------- Admin: plan features editor ---------- */
.pf-wrap { overflow-x: auto; margin-top: 8px; }
.pf-table { border-collapse: collapse; width: 100%; min-width: 860px; font-size: 13px; }
.pf-table th, .pf-table td { padding: 6px 8px; border-bottom: 1px solid var(--border); text-align: center; vertical-align: top; }
.pf-table thead th { font-size: 12.5px; }
.pf-table tbody th[scope="row"] { text-align: left; font-weight: 600; min-width: 220px; }
.pf-table tbody th[scope="row"] small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-weight: 500; font-size: 11.5px; margin-top: 2px; }
.pf-table tbody th[scope="row"] small svg { width: 11px; height: 11px; }
.pf-table tr.pf-group th { text-align: left; background: var(--panel-3); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.pf-table tr.pf-hidden th, .pf-table tr.pf-hidden td { opacity: .45; }
.pf-cell { width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.pf-cell:hover { border-color: var(--line-strong); }
.pf-cell.yes { background: color-mix(in srgb, var(--mint) 20%, transparent); border-color: var(--mint); color: var(--mint); }
.pf-cell.yes svg { width: 16px; height: 16px; stroke-width: 3; }
.pf-cell.limited { background: color-mix(in srgb, var(--gold) 22%, transparent); border-color: var(--gold); color: var(--gold); width: auto; padding: 0 8px; }
.pf-lim { font-size: 11px; font-weight: 800; }
.pf-dash { display: inline-block; width: 10px; height: 2px; background: var(--faint); }
.pf-note { display: block; width: 110px; margin: 4px auto 0; font-size: 11.5px; padding: 3px 6px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel-2); color: inherit; }
.pf-hide { font-size: 11.5px; white-space: nowrap; justify-content: center; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; }

/* v5.17.0: Coach quality tables wrap (long issues no longer run off the edge) */
.cq-table { table-layout: auto; }
.cq-table th, .cq-table td { white-space: normal; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cq-table td:nth-child(3) { color: inherit; font-weight: inherit; }
.cq-table td:first-child { min-width: 220px; max-width: 420px; }
.cq-table td.cq-issues { min-width: 220px; font-size: 12.5px; }
/* v5.19.0: Watchdog tables: short columns stay on one line; the table scrolls sideways if it must. */
.wd-table { table-layout: auto; width: 100%; }
.wd-table th, .wd-table td { text-align: left; vertical-align: top; white-space: nowrap; }
.wd-table td:first-child { white-space: normal; min-width: 110px; }
.wd-table td:last-child { white-space: normal; }
.wd-table td:nth-child(3) { color: inherit; font-weight: inherit; }
.cq-reply { white-space: pre-wrap; font-size: 12.5px; margin-top: 6px; }
.cq-src { font-size: 11.5px; margin-top: 2px; }
/* v5.17.0: the Coach's memory, and answers that appear as they are written */
.tips-memory { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); }
.memory-list { margin: 6px 0; padding-left: 18px; }
.memory-list li { margin: 3px 0; }
.memory-kind { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-right: 4px; }
.memory-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.assist-live { white-space: pre-wrap; }
/* v5.22.0: Founding Pro offer and seats */
.founding-box{background:#e3f7f0;border:1px solid #bfe9da;border-radius:12px;padding:10px 12px;margin:10px 0;font-size:13.5px;line-height:1.45;color:#0b3d2e}
.founding-box span{color:#3d5a50}
.seats-cta{margin-top:16px}

/* v5.24.1 (QA): phone fixes. The coach bubble sits above the bottom menu instead of on the Profile tab,
   and score badges can wrap under a match title instead of squeezing it to "1 …". */
@media (max-width: 899px) { .assist-bubble { bottom: calc(112px + env(safe-area-inset-bottom)) !important; } }
@media (max-width: 520px) { .pill-stack { flex-shrink: 1; min-width: 0; } }

/* v5.29.0: recruiter stages and the candidate's video interview */
.stage-sel { border-radius: 999px; border: 1px solid var(--border); background: var(--panel, #fff); }
.stage-sel.st-submitted { border-color: #2563eb; color: #1d4ed8; }
.stage-sel.st-interviewing { border-color: #d97706; color: #b45309; }
.stage-sel.st-offer { border-color: #7c3aed; color: #6d28d9; }
.stage-sel.st-placed { border-color: #0b7f64; color: #0b7f64; font-weight: 600; }
.stage-sel.st-passed { border-color: var(--border); color: var(--muted); }
.iv-stage { max-width: 760px; margin: 0 auto; }
.iv-video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; object-fit: cover; transform: scaleX(-1); }
.iv-video.playback { transform: none; object-fit: contain; }
.iv-q { font-size: 20px; font-weight: 700; margin: 14px 0 6px; line-height: 1.3; }
.iv-timer { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--muted); }
.iv-timer b { font-variant-numeric: tabular-nums; }
.iv-bar { height: 6px; border-radius: 9px; background: var(--border); overflow: hidden; margin: 6px 0 12px; }
.iv-bar i { display: block; height: 100%; background: #0b7f64; transition: width .5s linear; }
.iv-bar i.warn { background: #d97706; }
.iv-rec { display: inline-flex; align-items: center; gap: 6px; color: #b91c1c; font-weight: 600; font-size: 13px; }
.iv-rec::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: #dc2626; animation: ivblink 1s steps(2, start) infinite; }
@keyframes ivblink { to { visibility: hidden; } }

/* v5.29.3: recruiter tables become stacked cards on a phone, so names, scores and every button stay on screen */
@media (max-width: 640px) {
  .subnav { flex-wrap: wrap; border-radius: 16px; width: auto; overflow-x: visible; }
  .subnav a { padding: 7px 12px; }
  .rec-table thead { display: none; }
  .rec-table, .rec-table tbody, .rec-table tr, .rec-table td { display: block; width: 100%; }
  .rec-table tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .rec-table td { border: 0 !important; padding: 3px 0 !important; text-align: left !important; white-space: normal !important; }
  .rec-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
  .rec-table td.rec-actions { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px !important; }
  .rec-table td.rec-actions .btn { margin: 0; }
  .card .btn { max-width: 100%; white-space: normal; }
}
/* v5.29.3: the chat button never covers a dialog, and pages leave room for it at the bottom */
body:has(.modal-backdrop) .vchat-bubble, body:has(.why-modal-backdrop) .vchat-bubble { display: none; }
main#main { padding-bottom: 84px; }
@media (max-width: 640px) {
  .vchat-bubble span { display: none; }
  .vchat-bubble { padding: 13px; }
  input, select, textarea { font-size: 16px !important; } /* iPhone zooms in on fields under 16px */
  .modal-backdrop { align-items: flex-start; overflow-y: auto; }
  .modal-card { max-height: none !important; }
}

/* v5.29.4: plan choice on the sign-up page */
.su-wrap { max-width: 1180px; margin: 24px auto 0; padding: 0 4px; }
.su-head { text-align: center; margin-bottom: 16px; }
.su-plans-wrap { border: 0; padding: 0; margin: 0; }
.su-group { font-size: 24px; font-weight: 800; margin: 26px 0 12px; letter-spacing: -0.01em; }
.su-plans-wrap .su-group:first-of-type { margin-top: 6px; }
.su-plans { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.su-plan { position: relative; background: var(--panel); border: 2px solid var(--border); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 6px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.su-plan:hover { border-color: var(--line-strong, #9aa); }
.su-plan.on { border-color: #0b7f64; box-shadow: 0 0 0 3px rgba(11,127,100,.15); }
.su-plan.best { border-color: var(--line-strong, #9aa); }
.su-plan.best.on { border-color: #0b7f64; }
.su-tag { position: absolute; top: -11px; left: 16px; background: #0b7f64; color: #fff; font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.su-plan h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.su-price .amt { font-size: 28px; font-weight: 800; }
.su-price .per { color: var(--muted); font-size: 13px; margin-left: 2px; }
.su-who { font-size: 13.5px; color: var(--muted); }
.su-more summary { cursor: pointer; font-size: 13px; font-weight: 600; color: #0b7f64; margin: 0 0 6px; }
.su-more .su-feats { margin-top: 0; }
.su-feats { list-style: none; padding: 0; margin: 6px 0; font-size: 13px; line-height: 1.45; flex: 1; }
.su-feats li { display: flex; gap: 6px; align-items: flex-start; margin: 4px 0; }
.su-feats li svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 2px; color: #0b7f64; }
.su-opts { border-top: 1px solid var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.su-opt { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 600; cursor: pointer; margin: 0; }
.su-opt input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; }
@media (max-width: 640px) { .su-plans { grid-template-columns: 1fr; } .su-head h1 { font-size: 26px; } .su-group { font-size: 21px; } }

/* v5.29.12: recruiter pipeline board */
.rec-board { display: grid; grid-template-columns: repeat(6, minmax(148px, 1fr)); gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.rec-col { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 8px; min-height: 120px; }
.rec-col h3 { font-size: 13.5px; margin: 2px 2px 8px; font-weight: 700; }
.rec-card { background: var(--panel-solid); border: 1px solid var(--border); border-radius: 8px; padding: 8px; margin-bottom: 8px; font-size: 13px; }
@media (max-width: 700px) { .rec-board { grid-template-columns: 1fr; } }

/* v5.29.12: job page */
a.jtitle.job-open { color: inherit; text-decoration: none; }
a.jtitle.job-open:hover { text-decoration: underline; }
.job-desc p { line-height: 1.6; margin: 0 0 10px; font-size: 15px; }

/* v5.29.12: Most used resources and the quick menu */
.qm-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 10px; }
.qm-head h2 { font-size: 19px; font-weight: 800; margin: 0; display: flex; align-items: center; gap: 8px; }
.qm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.qm-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; min-height: 76px; }
.qm-tile:hover, .qm-tile:focus-visible { border-color: var(--line-strong); }
.qm-tile svg { width: 20px; height: 20px; }
.qm-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 12px; }
.qm-pick { display: flex; align-items: center; gap: 8px; font-size: 14px; padding: 6px 0; cursor: pointer; }
.qm-pick input { width: 18px; height: 18px; }
.qm-pick svg { width: 16px; height: 16px; }
.side-quick-h { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 4px 12px; }
.sidebar .sitem.small { font-size: 13px; padding-top: 6px; padding-bottom: 6px; }

/* v5.29.12: recruiter plans, clearer */
.recruiter-cta h2.rc-title, .rc-title { font-size: 26px; font-weight: 800; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.rc-lead { font-size: 16px; margin: 0 0 12px; }
.rc-points { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.rc-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; }
.rc-points li svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: #0b7f64; }
.recruiter-cta h3.rc-step, .rc-step { font-size: 21px; font-weight: 800; margin: 18px 0 10px; display: flex; align-items: center; gap: 10px; }
.rc-step span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #0b7f64; color: #fff; font-size: 15px; }
.rp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 12px; }
.rp-card { position: relative; display: flex; flex-direction: column; gap: 4px; border: 2px solid var(--border); border-radius: 14px; padding: 14px 14px 14px 44px; cursor: pointer; background: var(--panel); margin: 0; font-weight: 400; }
.rp-card.static { padding-left: 14px; cursor: default; }
.rp-card input { position: absolute; left: 14px; top: 17px; width: 20px; height: 20px; margin: 0; }
.rp-card:has(input:checked) { border-color: #0b7f64; box-shadow: 0 0 0 3px rgba(11,127,100,.15); }
.rp-name { font-size: 19px; font-weight: 800; }
.rp-who { font-size: 13px; color: var(--muted); }
.rp-price { font-size: 24px; font-weight: 800; margin-top: 4px; }
.rp-price small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.rp-inc { font-size: 13.5px; }
.rp-count label { max-width: 220px; font-weight: 600; }
.rp-total { font-size: 15px; margin: 4px 0 4px; }
.rc-firm { max-width: 420px; display: block; }
.rc-go { margin-top: 12px; font-size: 16px; padding: 12px 22px; }
.rc-more { margin-top: 16px; border-top: 1px solid var(--border); padding-top: 10px; }
.rc-more summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.rc-more ul { font-size: 13.5px; line-height: 1.5; margin: 8px 0 0; padding-left: 18px; }
.rec-card .pl-sel { margin-top: 6px; font-size: 13px; padding: 4px 6px; width: 100%; }
@media (max-width: 700px) { .rec-card .pl-sel { font-size: 16px; } }

.rec-card { overflow-wrap: anywhere; } /* v5.29.18: long emails stay inside the card */

/* v5.29.19: recruiter side menu */
.side-sub { margin: -2px 0 4px 18px; border-left: 1px solid var(--border); padding-left: 6px; }
.side-more { margin-top: 6px; }
.side-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.side-more > summary::-webkit-details-marker { display: none; }
.side-more > summary svg { width: 14px; height: 14px; transform: rotate(-90deg); transition: transform .15s; }
.side-more[open] > summary svg { transform: none; }

/* v5.29.19: recruiter Home */
.rh-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 14px; }
.rh-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--panel); color: var(--text); text-decoration: none; }
.rh-tile b { font-size: 28px; font-weight: 800; line-height: 1; }
.rh-tile b small { font-size: 14px; font-weight: 600; color: var(--muted); }
.rh-tile span { font-size: 13px; color: var(--muted); }
.rh-tile:hover { border-color: var(--line-strong); }
.rh-h { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.rh-acts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.rh-act { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 14px; background: var(--bg); }
.rh-act:hover { border-color: var(--line-strong); }
.rh-act svg { width: 18px; height: 18px; }
.rh-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; margin-bottom: 14px; }
.rh-list { list-style: none; padding: 0; margin: 0; }
.rh-list li { display: flex; gap: 8px; align-items: flex-start; padding: 7px 0; border-top: 1px solid var(--border); font-size: 14px; }
.rh-list li:first-child { border-top: 0; }
.rh-list li svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; color: #0b7f64; }

.rh-pipe th, .rh-pipe td { text-align: left; }
.rh-pipe td:not(:first-child), .rh-pipe th:not(:first-child) { width: 13%; }
.rh-list .btn-link { font-size: inherit; padding: 0; }
.rh-left th, .rh-left td { text-align: left; vertical-align: top; }

/* v5.29.22: Role check */
.rc-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 0 0 14px; }
.rc-chip { border-radius: var(--radius-sm, 12px); padding: 12px 14px; border: 1px solid var(--line, rgba(0,0,0,.08)); background: var(--panel-solid, #fff); display: flex; flex-direction: column; gap: 2px; border-left-width: 5px; }
.rc-chip b { font-size: 18px; }
.rc-chip-h { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.rc-chip-s { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.rc-good { border-left-color: var(--green, #1f9d55); }
.rc-warn { border-left-color: var(--amber, #d69e2e); }
.rc-bad { border-left-color: var(--red, #d64545); }
.rc-h { font-size: 18px; font-weight: 800; }
.rc-mark { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 800; background: var(--panel-3, #eee); }
.rc-law-ok .rc-mark, .rc-checks li.ok .rc-mark { background: var(--green, #1f9d55); color: #fff; }
.rc-law-fix .rc-mark, .rc-checks li.no .rc-mark { background: var(--red, #d64545); color: #fff; }
.rc-law-upcoming .rc-mark { background: var(--amber, #d69e2e); color: #fff; }
.rc-law-not-covered { opacity: .7; }
.rc-notes { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.rc-pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 6px 0 10px; }
.rc-pay-grid > div { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; background: var(--panel-2, rgba(0,0,0,.03)); }
.rc-pay-grid span { font-size: 12px; }
.rc-pay-grid b { font-size: 17px; }
.rc-bar { position: relative; height: 18px; border-radius: 9px; background: var(--panel-3, rgba(0,0,0,.06)); margin: 8px 0 6px; }
.rc-band { position: absolute; top: 0; bottom: 0; background: var(--mint-soft, #cdeee3); border-radius: 9px; }
.rc-med { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1px; background: var(--teal, #138a72); border-radius: 2px; }
.rc-pay { position: absolute; top: 5px; height: 8px; background: var(--orchid, #8e5bd6); border-radius: 4px; min-width: 6px; }
.rc-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.rc-legend i { display: inline-block; width: 14px; height: 8px; border-radius: 4px; vertical-align: middle; margin-right: 4px; }
.rc-k-band { background: var(--mint-soft, #cdeee3); } .rc-k-med { background: var(--teal, #138a72); width: 3px !important; } .rc-k-pay { background: var(--orchid, #8e5bd6); }
.rc-ex { margin: 4px 0 0; padding-left: 18px; font-size: 13px; line-height: 1.55; }
.rc-word { border-left: 4px solid var(--line-strong, #ccc); padding: 8px 10px; margin: 0 0 8px; border-radius: 0 10px 10px 0; background: var(--panel-2, rgba(0,0,0,.02)); font-size: 13.5px; }
.rc-word.rc-high { border-left-color: var(--red, #d64545); }
.rc-word.rc-medium { border-left-color: var(--amber, #d69e2e); }
.rc-lvl { font-size: 11px; }
.rc-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 16px; font-size: 13.5px; }
.rc-checks li { line-height: 1.4; }
.rc-ai { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 6px 18px; }
.rc-ai-block h3 { font-size: 14px; margin: 8px 0 4px; }
.rc-ai-block ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.5; }
.rc-quote { margin: 4px 0 8px; padding: 10px 14px; border-left: 4px solid var(--teal, #138a72); background: var(--panel-2, rgba(0,0,0,.03)); border-radius: 0 10px 10px 0; font-size: 14px; line-height: 1.5; }
.rc-br { display: none; }
@media (max-width: 760px) { .rc-chip b { font-size: 16px; } .rc-br { display: inline; } }
@media print {
  .sidebar, .topbar, .bottom-nav, .rc-noprint, footer, .site-footer, #toast, .assist-bubble, #assistBubble, .vchat-bubble { display: none !important; }
  .app-shell { display: block !important; }
  .rc-page { max-width: none !important; }
  .rc-page .card { box-shadow: none !important; border: 1px solid #ddd !important; break-inside: avoid; background: #fff !important; }
  body { background: #fff !important; color: #000 !important; }
}

.rc-laws { display: flex; flex-direction: column; gap: 0; font-size: 13.5px; }
.rc-law { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line, rgba(0,0,0,.08)); }
.rc-law:first-child { border-top: 0; }
@media (max-width: 700px) { .rc-law { grid-template-columns: 1fr; gap: 6px; } }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* v5.29.25: fixes from the round-3 run */
.price-card .btn { white-space: normal; line-height: 1.25; height: auto; min-height: 44px; text-align: center; }
@media print { .bottomnav, .subnav, .bottom-nav, .assist-bubble, #assistBubble, .vchat-bubble { display: none !important; } }
@media (max-width: 700px) { .field-row > label:has(#plRole), .field-row > label:has(#plWho), .field-row > label:has(#plFind) { flex: 1 1 100% !important; max-width: none !important; min-width: 0 !important; } }
.rec-card .pl-sel { max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 700px) {
  /* v5.29.25: the test tabs wrap on a phone instead of hiding "Work Values" and "Reasoning" off the edge */
  .tabs { flex-wrap: wrap; border-radius: 18px; width: auto; }
  /* the open Coach panel has its own Close; hide the round button under it */
  body:has(#assistPanel) .assist-bubble, body:has(#assistPanel) #assistBubble { display: none; }
}

/* v5.29.34: score columns in Find candidates */
.rec-table th.num, .rec-table td.num { text-align: center; white-space: nowrap; min-width: 92px; padding-left: 14px; padding-right: 14px; }

/* v5.29.38: test protection — no selecting or copying, a faint name watermark, a pause screen, no printing */
.test-protected { position: relative; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.test-protected img { -webkit-user-drag: none; user-select: none; }
.test-watermark { position: absolute; inset: 0; pointer-events: none; z-index: 4; background-repeat: repeat; border-radius: inherit; }
.test-paused .art-q, .test-paused #assessForm { filter: blur(12px); pointer-events: none; }
.test-pause { position: absolute; inset: 0; z-index: 6; display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; background: color-mix(in srgb, var(--panel, #fff) 55%, transparent); border-radius: inherit; }
.test-pause > div { background: var(--panel, #fff); border: 1px solid var(--line, #e5e7eb); border-radius: 14px; padding: 18px 20px; max-width: 360px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.test-pause p { margin: 6px 0 12px; font-size: 13.5px; color: var(--muted, #6b7280); }
.print-only { display: none; }
@media print { .test-protected { display: none !important; } .print-only { display: block !important; font-size: 16px; padding: 40px; } }

/* v5.29.39: calendar card, events and placements */
.cal-wrap { display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 18px; margin-top: 12px; }
@media (max-width: 760px) { .cal-wrap { grid-template-columns: 1fr; } }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.cal-head .btn-link { font-size: 20px; padding: 0 8px; text-decoration: none; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal-dow { font-size: 11px; color: var(--muted); padding: 2px 0; }
.cal-day { position: relative; border: 0; background: transparent; border-radius: 8px; padding: 6px 0 9px; font: inherit; font-size: 13px; color: var(--text, inherit); cursor: pointer; }
.cal-day:hover { background: var(--panel-2, rgba(0,0,0,.04)); }
.cal-day.today { font-weight: 800; color: var(--accent, #0b7f64); }
.cal-day.picked { background: var(--accent, #0b7f64); color: #fff; }
.cal-day i { position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--accent, #0b7f64); }
.cal-day.picked i { background: #fff; }
.ev-list { list-style: none; margin: 0; padding: 0; }
.ev { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line, #e5e7eb); }
.ev:first-child { border-top: 0; }
.ev-ic { flex: 0 0 auto; color: var(--accent, #0b7f64); margin-top: 2px; }
.ev-main { flex: 1; min-width: 0; }
.ev-title { font-weight: 600; font-size: 14px; }
.ev-meta { font-size: 12.5px; }
.ev-act { display: flex; flex-wrap: wrap; gap: 4px 10px; justify-content: flex-end; font-size: 12.5px; max-width: 220px; }
.ev-done .ev-title { text-decoration: line-through; color: var(--muted); }
.ev-anniversary .ev-ic { color: #c2410c; }
.ev-mark .ev-ic { color: #7c3aed; }
.pill.ok { background: color-mix(in srgb, #10b981 18%, transparent); }
.pill.warn { background: color-mix(in srgb, #f59e0b 22%, transparent); }

/* v5.29.41: military match tags for recruiters */
.mil-pill { display: inline-flex; align-items: center; gap: 4px; }
.mil-pill svg { width: 12px; height: 12px; }
.mil-pill.mil-direct { background: color-mix(in srgb, #10b981 18%, transparent); }
