/* TelehealthHiring v6.0 — "Navy & Teal" identity from sir's logo (09-14).
   Token set derived from the actual mark: navy tile #0C3C6C / brand azure
   #0C549C / teal #3CE4E4 / azure #3C9CFC on cool paper. Favicon set resized
   from sir's file AS-IS (no crop law); header shows the full lockup PNG.
   Light-only (AUD-011 law, meta matches). All 18 color pairs WCAG-AA verified.
   RIG PINS KEPT: .board-tools input[name=q], #board-pager, main article.job,
   .is-dirty, .top-nav a 44px, pager mobile law 34/40/5, all class hooks unchanged. */

:root {
  --paper: #F5F7FA;          /* cool canvas */
  --surface: #FFFFFF;
  --ink: #131C26;            /* near-black, navy cast */
  --ink-2: #3F4E5E;
  --ink-3: #5D6B7A;
  --brand: #0C549C;          /* primary azure-navy (from logo) */
  --brand-ink: #082F5C;
  --brand-mid: #1565C0;      /* gradient partner */
  --brand-soft: #E7F1FB;
  --accent: #3CE4E4;         /* teal — decorative only (borders, hovers) */
  --accent-deep: #0B5F59;    /* text-safe teal, 7.0:1 on paper */
  --line: #E3E9F0;
  --line-strong: #D3DCE6;
  --tint: #EDF1F6;           /* neutral chip/segment bg */
  --ok: #1F7A4D; --ok-bg: #E2F4E8;
  --warn: #8A5A0B; --warn-bg: #FBF0D9;
  --stale: #5F6B76;
  --focus: #0C549C;
  --r-s: 10px; --r-m: 14px; --r-l: 18px;
  --sh-1: 0 1px 2px rgba(15,26,40,.05), 0 1px 3px rgba(15,26,40,.05);
  --sh-2: 0 2px 4px rgba(15,26,40,.06), 0 10px 28px -10px rgba(15,26,40,.16);
  --sh-3: 0 4px 10px rgba(15,26,40,.07), 0 18px 40px -14px rgba(12,84,156,.22);
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--brand); color: #fff; }
img { max-width: 100%; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--brand-ink); text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 .5em; line-height: 1.18; }
h1 { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.6rem); margin: 14px 0 10px; }
h2 { font-size: 1.42rem; margin-top: 1.6em; }
h3 { font-size: 1.08rem; }
p { margin: .5em 0; }
code { background: var(--tint); border-radius: 6px; padding: .1em .35em; font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
blockquote { margin: 1rem 0; padding: .6rem 1rem; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 var(--r-s) var(--r-s) 0; color: var(--ink-2); }

/* ---------- Header: solid, branded, sticky; logo = full lockup PNG ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px -20px rgba(15,26,40,.45);
}
/* W13 fix 5 (sir 09-29): symmetric header — logo centered row 1, nav centered row 2 */
.nav-wrap { max-width: 1200px; margin: 0 auto; padding: 10px 20px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brand-row { display: flex; justify-content: center; }
.top-nav { justify-content: center; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; }
.wordmark .logo-full { display: block; height: 44px; width: auto; filter: drop-shadow(0 1px 2px rgba(15,26,40,.12)); } /* W6b: sir 09-14 "way too small" — brand height 38→44 */
.top-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; }
.top-nav a {
  display: inline-flex; align-items: center; min-height: 44px;   /* b54 tap-target pin */
  padding: 0 11px; border-radius: 10px;
  font-size: .92rem; font-weight: 500; color: var(--ink-2); text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, background-color .15s ease;
}
.top-nav a:hover { color: var(--brand); background: var(--brand-soft); border-bottom-color: var(--accent); }
.top-nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }

/* ---------- Page frame ---------- */
.page-wrap { max-width: 1080px; margin: 0 auto; padding: 8px 20px 56px; }
.breadcrumbs { font-size: .84rem; color: var(--ink-3); margin: 12px 0 4px; }
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--brand); }
.banner {
  background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid #CBDEEF; border-radius: var(--r-m);
  padding: 12px 16px; margin: 14px 0; font-size: .93rem; box-shadow: var(--sh-1);
}
.lede { font-size: 1.02rem; color: var(--ink-2); max-width: 68ch; line-height: 1.65; }
.section-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-deep); margin: 0 0 6px; }

/* ---------- Board toolbar: one integrated control card ---------- */
.board-tools {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-l); padding: 14px; margin: 18px 0 20px; box-shadow: var(--sh-1);
}
.board-tools input[type="search"] {
  flex: 1 1 240px; min-height: 44px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--r-s);
  font: inherit; color: var(--ink); background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.board-tools select {
  min-height: 44px; padding: 0 10px; border: 1px solid var(--line-strong);
  border-radius: var(--r-s); font: inherit; color: var(--ink); background: var(--tint);
}
.board-tools input[type="search"]:focus, .board-tools select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.board-tools button[type="submit"] {
  min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--brand); color: #fff; font: inherit; font-weight: 600; font-size: .92rem;
  box-shadow: var(--sh-1); transition: background-color .15s ease, box-shadow .15s ease;
}
.board-tools button[type="submit"]:hover { background: var(--brand-ink); box-shadow: var(--sh-2); }

/* ---------- Category tab strip: .cat-tabs host + JS-built button.cat-tab ---------- */
/* W5-hotfix (sir 09-14): v5 shipped styles for a phantom .board-tabs class;
   the real markup is the empty .cat-tabs host populated client-side with
   button.cat-tab pills carrying span.cat-n count badges (generate.py
   buildTabs). Styled here at the source of truth. */
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 12px; }
.cat-tab {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2);
  font: inherit; font-size: .9rem; font-weight: 600;
  box-shadow: var(--sh-1);
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.cat-tab:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.cat-tab.is-active, .cat-tab[aria-selected="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--sh-2);
}
.cat-n {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px;
  background: var(--tint); color: var(--ink-2);
  font-size: .74rem; font-weight: 700; letter-spacing: .02em;
}
.cat-tab.is-active .cat-n, .cat-tab[aria-selected="true"] .cat-n {
  background: rgba(255,255,255,.18); color: #fff;
}

/* ---------- Job cards: premium, scannable, layered ---------- */
section[data-board-group] > h2, .stale-zone > h2, .demo-zone > h2 { margin: 1.5em 0 .4em; }
main article.job {
  position: relative;
  display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l);
  padding: 18px 20px; margin: 14px 0; box-shadow: var(--sh-1);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
main article.job:hover, main article.job:focus-within {
  box-shadow: var(--sh-3); border-color: #CBDEEF; transform: translateY(-2px);
}
.job-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #fff; font-weight: 700; font-size: .92rem; letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), var(--sh-1);
}
.job-main { min-width: 0; }
.job-main h3 { margin: 0 0 2px; font-size: 1.06rem; }
.job-main h3 a { color: var(--ink); text-decoration: none; }
.job-main h3 a:hover { color: var(--brand); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.job-main .meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 2px 0 6px; font-size: .865rem; color: var(--ink-3); }
.job-main .meta span { display: inline-flex; align-items: center; gap: 5px; }
.job-main .meta svg { width: 14px; height: 14px; opacity: .75; }
.job-main .desc { margin: 0 0 10px; font-size: .905rem; color: var(--ink-2); line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 11px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .01em;
  background: var(--tint); color: var(--ink-2); text-decoration: none;
}
.chip svg { width: 13px; height: 13px; opacity: .8; }
.chip.salary { background: var(--brand-soft); color: var(--brand-ink); }
a.chip.salary:hover { color: var(--brand-ink); text-decoration: underline; text-decoration-color: var(--accent); }
.chip.chip-date { background: var(--surface); border: 1px solid var(--line); }
.chip.chip-new { background: var(--ok-bg); color: var(--ok); }
.badge {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  color: var(--warn); background: var(--warn-bg); border: 1px dashed var(--warn);
  position: absolute; top: -10px; right: 14px; box-shadow: var(--sh-1);
}
.job-side { display: flex; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 18px; border-radius: 12px; text-decoration: none;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: var(--sh-1);
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-ink); color: #fff; box-shadow: var(--sh-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.pending { font-size: .85rem; color: var(--stale); font-style: italic; }
.job-stale { background: #FAFBFC; border-style: dashed; }
.job-stale .job-main h3 a { color: var(--ink-2); }

/* ---------- Pager: law intact (34/40/5 mobile) ---------- */
#board-pager { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 26px 0 8px; }
#board-pager a, #board-pager button, #board-pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-weight: 600; font-size: .9rem; text-decoration: none; cursor: pointer;
}
#board-pager a:hover, #board-pager button:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
#board-pager .is-dirty, #board-pager [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: var(--sh-1); }
#board-pager span[aria-disabled="true"], #board-pager button:disabled { opacity: .45; cursor: default; }
@media (max-width: 700px) {
  #board-pager a, #board-pager button { min-width: 34px; min-height: 34px; padding: 0 5px; font-size: .8rem; }
  #board-pager button { min-height: 40px; }  /* mobile tap law */
}

/* ---------- W8 (cold-audit): per-job page ---------- */
.job-page-wrap { max-width: 780px; margin: 0 auto; }
.job-page-wrap .crumbs { color: var(--ink-2); font-size: .85rem; margin: 18px 0 6px; }
.job-page-wrap .crumbs a { color: var(--brand); }
.job-page-wrap h1 { font-family: var(--font-display); font-size: 1.9rem; line-height: 1.2; margin: 6px 0 10px; color: var(--ink); }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; color: var(--ink-2); font-size: .92rem; margin: 0 0 12px; }
.job-pay { font-size: 1.05rem; margin: 0 0 18px; color: var(--ink); }
.job-pay .muted, .muted { color: var(--ink-2); font-weight: 400; }
.small { font-size: .85rem; }
.job-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px 24px; box-shadow: var(--sh-1); }
.job-body p { margin: 0 0 14px; line-height: 1.65; }
.apply-card { background: var(--brand-soft); border: 1px solid var(--brand); border-radius: var(--r-m); padding: 20px 24px; margin: 22px 0; }
.apply-card h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.25rem; }
.apply-card .btn-apply { display: inline-block; margin: 10px 0 6px; background: var(--brand); color: #fff; border: none; border-radius: 999px; padding: 12px 26px; font-weight: 700; text-decoration: none; min-height: 44px; }
.apply-card .btn-apply:hover { filter: brightness(1.08); }
.similar { margin: 26px 0; }
.similar h2 { font-family: var(--font-display); font-size: 1.2rem; }
.similar ul { list-style: none; padding: 0; margin: 10px 0 0; }
.similar li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.similar li a { color: var(--brand); font-weight: 600; text-decoration: none; }
.similar li a:hover { text-decoration: underline; }
.job-note { margin-top: 18px; }

/* ---------- Guides: backdrop band + elevated cards ---------- */
.guides-section { background: linear-gradient(180deg, #EEF2F7 0%, #F3F6FA 100%); border-block: 1px solid var(--line); border-radius: var(--r-l); padding: 28px 24px 30px; margin: 34px 0; }
.guides-section > h2 { margin-top: 0; }
.guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.guide-card, .guides-grid > a {
  position: relative; display: block;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 18px 18px 16px; box-shadow: var(--sh-1); text-decoration: none; color: inherit;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.guide-card::before, .guides-grid > a::before {
  content: ""; position: absolute; top: 0; left: 18px; right: 18px; height: 3px;
  border-radius: 0 0 3px 3px; background: var(--accent);
}
.guide-card:hover, .guides-grid > a:hover { box-shadow: var(--sh-3); transform: translateY(-2px); border-color: #CBDEEF; color: inherit; }
.guide-card h3, .guides-grid h3 { font-size: 1.02rem; margin: 6px 0 6px; }
.guide-card p, .guides-grid p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.guide-card .read, .guides-grid .read { margin-top: 10px; font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .02em; }

/* ---------- Role tiles, employers, generic cards ---------- */
.role-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 16px 0; }
.role-grid > a {
  display: block; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 16px 18px; box-shadow: var(--sh-1);
  text-decoration: none; color: inherit; transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.role-grid > a:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #CBDEEF; }
.role-grid strong { font-family: var(--serif); font-size: 1.04rem; color: var(--ink); }
.role-grid .count { font-size: .8rem; color: var(--ink-3); }
.top-employers { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 22px; box-shadow: var(--sh-1); margin: 22px 0; }
.top-employers ol { margin: 8px 0 0; padding-left: 0; list-style: none; counter-reset: emp; }
.top-employers li { counter-increment: emp; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.top-employers li:last-child { border-bottom: 0; }
.top-employers li::before { content: counter(emp, decimal-leading-zero); font-family: var(--serif); font-weight: 700; color: var(--accent-deep); font-size: .9rem; min-width: 26px; }
.empty, .callout {
  background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--r-m);
  padding: 18px 20px; color: var(--ink-2); text-align: center; margin: 14px 0;
}
.state-note, .fact-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; box-shadow: var(--sh-1); margin: 14px 0; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.8em; }
.prose a { text-decoration: underline; text-decoration-color: var(--line-strong); }
.prose a:hover { text-decoration-color: var(--accent); }

/* ---------- Links/nav lists ---------- */
.links { margin: 18px 0; }
.links h2 { margin-bottom: .4em; }
.links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.links a { display: inline-block; padding: 4px 0; }

/* ---------- Footer: dark navy anchor ---------- */
.site-footer {
  margin-top: 48px; padding: 30px 20px 40px;
  background: linear-gradient(180deg, #0B2545 0%, #081E3A 100%);
  color: #C9D8EC; border-radius: var(--r-l) var(--r-l) 0 0;
  /* W15-UI (sir 09-29): centered footer content */
  text-align: center;
}
.site-footer div, .site-footer nav { max-width: none; margin-left: 0; margin-right: 0; }
.site-footer p { margin-left: auto; margin-right: auto; }
.site-footer strong { font-family: var(--serif); font-size: 1.06rem; color: #fff; }
.site-footer p { color: #9FB6D4; max-width: 60ch; margin: 6px auto 0; font-size: .92rem; }
.site-footer nav { margin-top: 14px; font-size: .9rem; }
.site-footer a { color: #9FB6D4; }
.site-footer a:hover { color: #3CE4E4; }

/* ---------- Generic table polish (salary guide etc.) ---------- */
table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-1); font-size: .93rem; }
th { background: var(--brand-soft); color: var(--brand-ink); text-align: left; padding: 10px 14px; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
td { padding: 10px 14px; border-top: 1px solid var(--line); }
tbody tr:hover td { background: #F2F7FC; }

/* ---------- Mobile ---------- */
@media (max-width: 700px) {
  .page-wrap { padding: 6px 14px 40px; }
  .nav-wrap { padding: 8px 14px; }
  .top-nav { overflow-x: auto; max-width: 100%; flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; scrollbar-width: none; }
  .top-nav::-webkit-scrollbar { display: none; }
  main article.job { grid-template-columns: auto 1fr; padding: 14px 14px 16px; gap: 12px; }
  .job-side { grid-column: 1 / -1; }
  .job-side .btn { width: 100%; }
  .guides-section { padding: 22px 16px; }
  .guides-grid, .role-grid { grid-template-columns: 1fr; }
  .board-tools input[type="search"] { flex-basis: 100%; }
  .board-tools select { flex: 1 1 40%; }
  /* wide data tables scroll inside their own box instead of blowing the page out */
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  main article.job:hover, .guide-card:hover, .role-grid > a:hover { transform: none; }
}

/* W11: IMLC calculator */
.imlc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px 18px;margin:14px 0}
.imlc-state{display:flex;align-items:center;gap:7px;padding:6px 4px;border-bottom:1px solid var(--border);font-size:15px}
.imlc-state .src{font-size:12px}
.imlc-fee{width:5.5em;padding:3px 6px;border:1px solid var(--border);border-radius:6px;font:inherit}
.imlc-total{font-size:19px;margin-top:14px}

/* ---------- Part B: build-time snapshot tiles (pay report + per-role pay) ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.stat-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  padding: 16px 18px; box-shadow: var(--sh-1); min-width: 0;
}
.stat-tile .stat-k { display: block; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.stat-tile .stat-v { display: block; font-family: var(--serif); font-size: 1.55rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin-top: 4px; }
.stat-tile .stat-s { display: block; font-size: .8rem; color: var(--ink-2); margin-top: 4px; }
.stat-verified { margin: 14px 0 18px; }
@media (max-width: 700px) { .stat-tiles { grid-template-columns: 1fr; } }


/* =====================================================================
   EMPIRE v7 — board-first reskin (sir 2026-11-09). Appended override:
   keeps every existing class hook and layout contract; changes tokens,
   type, header, search band, job rows, chips, pager and footer.
   ===================================================================== */
:root{
  --paper:#F7F7F5; --surface:#FFFFFF; --ink:#0B0D10; --ink-2:#39414D; --ink-3:#68727F;
  --brand:#1D4ED8; --brand-ink:#1E40AF; --brand-mid:#1D4ED8; --brand-soft:#EEF3FF;
  --accent:#1D4ED8; --accent-deep:#1D4ED8;
  --line:#E5E7EB; --line-strong:#D5D9E0; --tint:#F1F2F4;
  --ok:#0F7B4F; --ok-bg:#E8F5EE; --warn:#8A5A0B; --warn-bg:#FBF0D9; --stale:#68727F;
  --focus:#1D4ED8; --r-s:6px; --r-m:9px; --r-l:12px;
  --sh-1:0 1px 2px rgba(11,13,16,.04); --sh-2:0 2px 10px rgba(11,13,16,.08); --sh-3:0 10px 30px rgba(11,13,16,.12);
  --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --serif:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --mono:"JetBrains Mono",ui-monospace,Consolas,monospace;
}
body{background:var(--paper);font-family:var(--sans);font-size:14px;line-height:1.5;color:var(--ink);font-feature-settings:"cv01","ss03";-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:var(--sans);letter-spacing:-.03em;color:var(--ink)}
h1{font-size:clamp(26px,3vw,32px);font-weight:600;line-height:1.12;margin:16px 0 8px}
h2{font-size:19px;font-weight:600;margin-top:1.3em}
h3{font-size:15px;font-weight:600}
p{margin:.45em 0}
a{color:var(--brand);text-underline-offset:2px}
a:hover{color:var(--brand-ink)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px) saturate(1.2);border-bottom:1px solid var(--line);box-shadow:none}
.nav-wrap{max-width:1180px;padding:0 24px;height:62px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:18px}
.brand-row{justify-content:flex-start;flex:0 0 auto}
.wordmark .logo-full{height:30px;width:auto;filter:none;display:block}
.top-nav{justify-content:flex-end;gap:1px;flex-wrap:wrap;flex:1 1 auto}
.top-nav a{min-height:34px;padding:0 8px;font-size:12.5px;font-weight:500;color:var(--ink-2);border-bottom:0;border-radius:6px;transition:background .12s,color .12s}
.top-nav a:hover{background:var(--brand-soft);color:var(--brand);border-bottom-color:transparent}
.top-nav a[aria-current="page"]{color:var(--brand);font-weight:600}
.page-wrap{max-width:1180px;padding:0 24px 64px}
.crumbs,.breadcrumbs{font-size:11.5px;color:var(--ink-3);margin:14px 0 0}
.crumbs a,.breadcrumbs a{color:var(--ink-3)}
.crumbs a:hover,.breadcrumbs a:hover{color:var(--brand)}
.banner{background:var(--brand-soft);color:var(--brand-ink);border:1px solid #D7E3FF;border-radius:8px;padding:10px 13px;margin:12px 0;font-size:12.5px;box-shadow:none}
.board-head{margin:12px 0 4px}
.board-head h2{font-size:16px;font-weight:600;letter-spacing:-.02em}
.section-kicker{font-family:var(--mono);font-size:10px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin:0 0 5px}
.board-tools{display:grid;grid-template-columns:1.6fr .9fr .9fr auto;gap:8px;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;padding:8px;margin:14px 0 12px;box-shadow:var(--sh-1)}
.board-tools input[type="search"],.board-tools select{height:44px;width:100%;border:1px solid var(--line);border-radius:6px;background:var(--surface);padding:0 12px;font-family:var(--sans);font-size:13.5px;color:var(--ink);box-shadow:none}
.board-tools input[type="search"]:focus,.board-tools select:focus{outline:2px solid var(--brand);outline-offset:1px;border-color:var(--brand)}
.board-tools button[type="submit"]{height:44px;border:0;border-radius:6px;background:var(--brand);color:#fff;font-family:var(--sans);font-weight:600;font-size:13px;padding:0 20px;cursor:pointer;transition:background .12s}
.board-tools button[type="submit"]:hover{background:var(--brand-ink);box-shadow:none;transform:none}
.cat-tabs{display:flex;gap:8px;overflow-x:auto;padding:2px 0 14px;scrollbar-width:none}
.cat-tabs::-webkit-scrollbar{display:none}
.cat-tab{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:100px;padding:7px 12px;font-family:var(--sans);font-size:12px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .12s,color .12s,border-color .12s}
.cat-tab:hover{border-color:var(--ink-2);color:var(--ink)}
.cat-tab.is-active{background:var(--ink);border-color:var(--ink);color:#fff}
.board-status{font-size:12px;color:var(--ink-3);margin:4px 0 10px}
article.job{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:start;padding:14px 8px;margin:0 -8px;border-bottom:1px solid var(--line);border-radius:8px;position:relative;transition:background .12s}
article.job:hover{background:#EEF1F6}
.job-avatar{width:40px;height:40px;border-radius:9px;background:var(--tint);border:1px solid var(--line);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:11px;font-weight:600;color:var(--ink-2);letter-spacing:.02em;flex:0 0 40px}
.job-main{min-width:0}
.job-main h3{font-size:14.5px;font-weight:600;letter-spacing:-.012em;line-height:1.35;margin:0 0 3px}
.job-main h3 a{color:var(--ink);text-decoration:none}
.job-main h3 a:hover{color:var(--brand)}
.job-main .meta{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0;font-size:12px;color:var(--ink-3)}
.job-main .meta span{display:inline-flex;align-items:center;gap:4px}
.job-main .meta svg{width:13px;height:13px;opacity:.55}
.job-main .desc{display:none}
.job-main .tags{display:flex;flex-wrap:wrap;gap:6px;margin:7px 0 0}
.chip{display:inline-flex;align-items:center;gap:4px;background:var(--tint);border:1px solid transparent;border-radius:5px;padding:2px 7px;font-family:var(--sans);font-size:10.5px;font-weight:500;color:var(--ink-2);line-height:1.6}
.chip svg{width:11px;height:11px;opacity:.6}
.chip.salary{background:var(--brand-soft);color:var(--brand-ink)}
.chip.chip-date{background:var(--surface);border-color:var(--line);color:var(--ink-3)}
.chip.chip-new{background:var(--ok-bg);color:var(--ok)}
.job-side{align-self:center;padding-top:2px;text-align:right}
.job-side .btn,.job-side a.btn{display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 11px;border-radius:6px;background:var(--surface);border:1px solid var(--line-strong);color:var(--ink);font-size:11.5px;font-weight:600;text-decoration:none;box-shadow:none;transform:none}
.job-side .btn:hover{border-color:var(--brand);color:var(--brand);background:var(--surface)}
.job-side .pending{font-size:10.5px;color:var(--ink-3)}
.job-stale{opacity:.72}
.stale-zone{margin-top:18px}
.stale-zone > h2,.stale-zone > h3{font-size:13px;color:var(--ink-3);font-weight:600}
.board-pager{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:26px 0 0}
.board-pager a,.board-pager span{min-height:36px;min-width:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:7px;background:var(--surface);font-family:var(--mono);font-size:12px;color:var(--ink-2);text-decoration:none;padding:0 10px}
.board-pager a:hover{border-color:var(--brand);color:var(--brand)}
.board-pager .board-pager-cur,[aria-current="page"].board-pager-cur{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}
.board-pager-gap{color:var(--ink-3)}
.site-footer{background:#0A1020;color:#93A0B4;padding:32px 24px 40px;margin-top:44px;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;max-width:none;border-top:0}
.site-footer strong{color:#fff;font-size:13px;letter-spacing:-.01em}
.site-footer p{color:#93A0B4;font-size:12px;max-width:520px}
.site-footer a{color:#93A0B4;text-decoration:none}
.site-footer a:hover{color:#fff}
.site-footer nav{font-size:11.5px;line-height:1.9;max-width:640px}
.btn{box-shadow:none}
@media(max-width:980px){
  .nav-wrap{height:auto;padding:10px 16px;flex-wrap:wrap;gap:8px}
  .top-nav{justify-content:flex-start;flex:1 1 100%}
  .page-wrap{padding:0 16px 48px}
  .board-tools{grid-template-columns:1fr auto}
  .board-tools select{display:none}
  article.job{grid-template-columns:40px minmax(0,1fr)}
  .job-side{display:none}
  h1{font-size:24px}
}


/* v7b: header single-row at desktop, static on mobile, stronger meta contrast */
.top-nav{flex-wrap:nowrap;gap:0;overflow:hidden}
.top-nav a{font-size:12px;padding:0 6px;white-space:nowrap}
.job-main .meta{color:#4B5563}
.chip.chip-date{color:#4B5563}
@media(max-width:1180px){.top-nav a{font-size:11.5px;padding:0 5px}}
@media(max-width:1080px){.top-nav{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:980px){.site-header{position:static}.top-nav{justify-content:flex-start}}
