/* findjobs.ky - one stylesheet. Tokens first, then base, layout, components, pages. */

/* Find brand, 18/11/2026 (brand/2026-11-18, spec PDF page 4): pink #EF4770, teal #1B9AA9,
   navy #14266B, off-white #F7F5F8, Plus Jakarta Sans. Brand pink and teal are below 4.5:1 for
   small text (3.34 and 3.10 on off-white), so text and buttons use darkened versions: --accent
   #BF3659 (4.98 on off-white, 5.40 under white) and --badge-a #136F7A. Full brand colours are
   --pink and --teal, for marks, fills and decoration only. */
:root {
  --pink: #ef4770;
  --teal: #1b9aa9;
  --navy: #14266b;
  --ink: #14266b;
  --ink-2: #4a5478;
  --ink-3: #5c6584;
  --field: #8a8fa6;
  --bg: #f7f5f8;
  --surface: #ffffff;
  --surface-2: #efecf2;
  --line: #e4e0e9;
  --line-2: #d2cdda;
  --accent: #bf3659;
  --accent-hover: #a12c4a;
  --accent-ink: #ffffff;
  --accent-soft: #fde8ee;
  --sun: #f0a81c;
  --sun-soft: #fff3d6;
  --sun-ink: #6b4a00;
  --hero: #14266b;
  --hero-ink: #ffffff;
  --hero-muted: #c3c9e0;
  --urgent: #b4401a;
  --urgent-soft: #fdeae2;
  --danger: #b42330;
  --badge-a: #136f7a; --badge-a-soft: #e2f3f5;
  --badge-b: #2f4fa8; --badge-b-soft: #e7ebf8;
  --badge-c: #7a5200; --badge-c-soft: #fff1d1;
  --staff: #3b4fa8; --staff-soft: #e8ebf8;
  --focus: #1f6feb;
  --shadow: 0 1px 2px rgba(20, 38, 107, .06), 0 4px 16px rgba(20, 38, 107, .06);
  --shadow-lg: 0 2px 4px rgba(20, 38, 107, .06), 0 12px 32px rgba(20, 38, 107, .10);
  --r: 12px;
  --r-sm: 8px;
  --display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #f1eef5; --ink-2: #b8bfd8; --ink-3: #9ea7c6; --field: #6c79a8;
    --bg: #0c1430; --surface: #131d42; --surface-2: #0f1838; --line: #222e5a; --line-2: #2f3c6e;
    --accent: #ff7f9c; --accent-hover: #ff9db3; --accent-ink: #2a0712; --accent-soft: #3a1626;
    --sun: #f5b93f; --sun-soft: #3a2c0c; --sun-ink: #f5d48a;
    --hero: #0a1128; --hero-ink: #ffffff; --hero-muted: #b8bfd8;
    --urgent: #ff9b73; --urgent-soft: #3d1d12; --danger: #ff7b86;
    --badge-a: #5fc9d5; --badge-a-soft: #12333c;
    --badge-b: #8fb2ff; --badge-b-soft: #172a4d;
    --badge-c: #f5c76a; --badge-c-soft: #3a2c0c;
    --staff: #9aaaf0; --staff-soft: #1c2140;
    --focus: #79b0ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 16px rgba(0, 0, 0, .25);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -0.02em; text-wrap: balance; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.eyebrow { font: 700 .75rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.spacer { flex: 1; }

/* ---------- Header and footer ---------- */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 40; }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { height: 32px; width: auto; }
.brand .on-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .on-light { display: none; }
  :root:not([data-theme="light"]) .brand .on-dark { display: block; }
}
.site-foot .brand .on-light { display: none; }
.site-foot .brand .on-dark { display: block; }

.nav-main { display: flex; gap: 4px; }
.nav-main a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.head-actions .link { color: var(--ink-2); font-weight: 600; text-decoration: none; padding: 8px 10px; font-size: .95rem; }
.head-actions .link:hover { color: var(--ink); }
@media (max-width: 860px) {
  .nav-main { display: none; }
  .head-actions .link.hide-sm { display: none; }
}

.site-foot { margin-top: 64px; background: var(--hero); color: var(--hero-muted); padding: 48px 0 32px; }
.site-foot a { color: var(--hero-ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: var(--hero-ink); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { color: var(--hero-ink); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; font-family: var(--body); }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.foot-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; font-size: .85rem; display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Buttons and form controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 .95rem/1 var(--body); padding: 12px 18px; min-height: 44px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sun { background: var(--sun); color: #1d1400; }
.btn-sun:hover { background: #e09a10; color: #1d1400; }
.btn-danger { background: var(--surface); color: var(--danger); border-color: var(--line-2); }
.btn-danger:hover { border-color: var(--danger); color: var(--danger); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; min-height: 36px; font-size: .875rem; border-radius: 8px; }
.btn-lg { padding: 16px 22px; min-height: 52px; font-size: 1.02rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

label { font-weight: 600; font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field .hint { font-size: .85rem; color: var(--ink-2); font-weight: 400; }
.field .err { font-size: .875rem; color: var(--danger); font-weight: 600; }
input:not([type]), input[type=text], input[type=email], input[type=tel], input[type=url], input[type=search], input[type=number], input[type=date], input[type=password], select, textarea {
  font: 400 1rem/1.4 var(--body); color: var(--ink); background: var(--surface);
  border: 1px solid var(--field); border-radius: 10px; padding: 11px 14px; min-height: 46px; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
input[aria-invalid=true], select[aria-invalid=true] { border-color: var(--danger); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236b7d8f' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.check strong { font-weight: 600; }
.radio-list { display: grid; gap: 8px; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; cursor: pointer; font-weight: 500; background: var(--surface); }
.radio-card:hover { border-color: var(--ink-3); }
.radio-card input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---------- Hero and search ---------- */
.hero { background: var(--hero); color: var(--hero-ink); padding: 56px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(239,71,112,.24), rgba(239,71,112,0) 65%); pointer-events: none; }
.hero h1 { color: var(--hero-ink); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); max-width: 18ch; }
.hero .lede { color: var(--hero-muted); font-size: 1.125rem; margin-top: 12px; max-width: 52ch; }
.hero .stats { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 20px; color: var(--hero-muted); font-size: .95rem; }
.hero .stats strong { color: var(--hero-ink); font-family: var(--display); font-size: 1.15rem; }
.search {
  margin-top: 28px; display: flex; gap: 8px; background: var(--surface); border-radius: 14px; padding: 8px;
  box-shadow: var(--shadow-lg); max-width: 760px; position: relative; z-index: 1;
}
.search .in { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 12px; min-width: 0; }
.search .in svg { width: 20px; height: 20px; color: var(--ink-3); flex: none; }
.search input { border: 0; box-shadow: none !important; padding: 10px 0; min-height: 48px; font-size: 1.05rem; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.search .btn { min-height: 52px; padding: 0 26px; font-size: 1rem; }
@media (max-width: 560px) {
  .hero { padding: 36px 0 44px; }
  .search .btn { padding: 0 16px; }
  .search .btn .lbl { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head p { color: var(--ink-2); margin-top: 6px; }
.section-head .more { font-weight: 700; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section-head .more svg, .band .links svg, .crumbs svg { width: 18px; height: 18px; flex: none; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; }
svg.flip { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 22px; backdrop-filter: blur(4px); }
.hero-card h2 { color: var(--hero-ink); font-size: 1.05rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.hero-card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 4px; }
.hero-card a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--hero-ink); text-decoration: none; font-weight: 600; }
.hero-card a:hover { background: rgba(255,255,255,.1); color: var(--hero-ink); }
.hero-card a .n { color: var(--hero-muted); font-weight: 500; font-size: .9rem; white-space: nowrap; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 0; } .hero-card { display: none; } }

/* Family tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile {
  display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow); color: var(--ink); transform: translateY(-1px); }
.tile .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.tile .ic svg { width: 22px; height: 22px; }
.tile .t { font-weight: 700; line-height: 1.25; font-size: .98rem; }
.tile .n { color: var(--ink-2); font-size: .875rem; margin-top: 2px; }
.tile.empty { opacity: .62; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .tile .ic { width: 38px; height: 38px; }
}

/* ---------- Job cards ---------- */
.cards { display: grid; gap: 10px; }
.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards.two { grid-template-columns: 1fr; } }
.card {
  position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 4px 16px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.card .logo { grid-row: span 3; }
.card h3 { font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
.card-link { color: var(--ink); text-decoration: none; }
.card-link:focus-visible { outline: none; }
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card-link:hover { color: var(--accent); }
.card .co { color: var(--ink-2); font-weight: 500; font-size: .95rem; }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-size: .9rem; margin-top: 8px; grid-column: 2 / -1; }
.card .facts span { display: inline-flex; align-items: center; gap: 6px; }
.card .facts svg { width: 16px; height: 16px; color: var(--ink-3); }
.card .pay { font-weight: 700; color: var(--ink); }
.card .side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.card .when { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--ink-3); margin-top: 6px; }
.card .when .soon { color: var(--urgent); font-weight: 600; }
.card.featured { border-color: color-mix(in srgb, var(--sun) 60%, var(--line)); background: linear-gradient(180deg, var(--sun-soft), var(--surface) 70%); box-shadow: var(--shadow); }
.card.featured .logo { width: 60px; height: 60px; }
@media (max-width: 560px) {
  .card { grid-template-columns: 44px minmax(0, 1fr); padding: 16px; gap: 2px 12px; }
  .card .side { grid-column: 2; grid-row: auto; flex-direction: row; align-items: center; justify-content: flex-start; order: 5; margin-top: 8px; text-align: left; }
  .card .logo { grid-row: span 2; width: 44px; height: 44px; font-size: .85rem; }
  .card.featured .logo { width: 44px; height: 44px; }
  .card .facts, .card .when { grid-column: 1 / -1; }
}

.logo {
  width: 52px; height: 52px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; font: 800 .95rem/1 var(--display); color: var(--ink-2); letter-spacing: 0;
}
.logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.logo.lg { width: 72px; height: 72px; font-size: 1.25rem; border-radius: 14px; }

.tag { display: inline-flex; align-items: center; gap: 5px; font: 700 .75rem/1 var(--body); padding: 5px 8px; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; }
.tag-featured { background: var(--sun); color: #1d1400; }
.tag-urgent { background: var(--urgent-soft); color: var(--urgent); }
.tag-new { background: var(--accent-soft); color: var(--accent); }
.tag-source { background: var(--surface-2); color: var(--ink-2); font-weight: 600; border: 1px solid var(--line); }
.tag-direct { background: var(--accent-soft); color: var(--accent); }
.badge { display: inline-flex; align-items: center; font: 700 .78rem/1 var(--body); padding: 6px 9px; border-radius: 6px; white-space: nowrap; }
.badge-a { background: var(--badge-a-soft); color: var(--badge-a); }
.badge-b { background: var(--badge-b-soft); color: var(--badge-b); }
.badge-c { background: var(--badge-c-soft); color: var(--badge-c); }

/* ---------- Listing page (family / search) ---------- */
.page-head { padding: 32px 0 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .875rem; color: var(--ink-3); margin-bottom: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.page-head h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem); }
.tile .n, .page-head .count b { white-space: nowrap; }
.page-head .count { color: var(--ink-2); margin-top: 6px; font-size: 1.02rem; }
.page-head .search { box-shadow: none; border: 1px solid var(--line-2); margin-top: 20px; max-width: none; padding: 6px; }
.page-head .search .btn { min-height: 46px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.chip {
  white-space: nowrap; flex: none;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; min-height: 38px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.chip .n { color: var(--ink-3); font-weight: 500; }
.chip:hover { border-color: var(--accent); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.chip[aria-current="true"] .n { color: color-mix(in srgb, var(--surface) 70%, transparent); }
@media (max-width: 560px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
}

.listing { display: grid; grid-template-columns: 272px minmax(0, 1fr); gap: 28px; padding-top: 28px; align-items: start; }
.filters { position: sticky; top: 84px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 6px 18px 18px; max-height: calc(100vh - 100px); overflow: auto; }
.filters h2 { font-size: 1.05rem; padding: 14px 0 4px; }
.fgroup { border-top: 1px solid var(--line); padding: 14px 0 4px; }
.fgroup:first-of-type { border-top: 0; }
.fgroup h3 { font: 700 .78rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 8px; }
.fopts { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.fopt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; margin: 0 -10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.fopt:hover { background: var(--surface-2); color: var(--ink); }
.fopt .n { color: var(--ink-3); font-size: .85rem; }
.fopt .box { width: 18px; height: 18px; border: 1.5px solid var(--line-2); border-radius: 5px; flex: none; display: grid; place-items: center; }
.fopt[aria-current="true"] .box { background: var(--accent); border-color: var(--accent); }
.fopt[aria-current="true"] .box::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.fopt .lbl { display: flex; align-items: center; gap: 10px; }
.fopt.zero { color: var(--ink-3); }
.filters-toggle { display: none; }
.active-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.active-filters a.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.active-filters a.pill:hover { background: var(--accent); color: var(--accent-ink); }
.results-bar { display: flex; align-items: center; gap: 12px; justify-content: space-between; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar .sort { display: flex; gap: 4px; font-size: .9rem; align-items: center; }
.results-bar .sort a { padding: 6px 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.results-bar .sort a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; gap: 0; padding-top: 16px; }
  .filters-toggle { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 85vh; border-radius: 18px 18px 0 0; z-index: 60; transform: translateY(105%); transition: transform .25s ease; box-shadow: var(--shadow-lg); padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .filters.open { transform: none; }
  .filters .close-sheet { display: inline-flex; }
}
.close-sheet { display: none; }
.scrim { position: fixed; inset: 0; background: rgba(5, 15, 25, .45); z-index: 55; display: none; }
.scrim.open { display: block; }

.alert-box { display: flex; gap: 16px; align-items: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 16px 18px; flex-wrap: wrap; }
.alert-box .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--sun-soft); color: var(--sun-ink); display: grid; place-items: center; flex: none; }
.alert-box .ic svg { width: 20px; height: 20px; }
.alert-box .txt { flex: 1 1 280px; min-width: 220px; }
.prose p + ul, .prose ul + ul { margin-top: 8px; }
.alert-box .txt strong { display: block; }
.alert-box form { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 340px; }
.alert-box form input { flex: 1; min-width: 180px; }
.alert-box.solid { background: var(--accent-soft); border: 0; }

.empty-state { text-align: center; padding: 48px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.empty-state h2 { font-size: 1.3rem; }
.empty-state p { color: var(--ink-2); margin: 8px auto 18px; max-width: 46ch; }

/* ---------- Job page ---------- */
.job-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0 28px; }
.job-head .top { display: flex; gap: 20px; align-items: flex-start; }
.job-head .top > * { min-width: 0; }
.job-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); }
.job-head .co { font-size: 1.1rem; color: var(--ink-2); margin-top: 6px; font-weight: 500; }
.job-head .co a { color: var(--ink); font-weight: 700; text-decoration: none; }
.job-head .co a:hover { color: var(--accent); text-decoration: underline; }
.job-head .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.keyfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 24px; }
.keyfacts > div { background: var(--surface); padding: 14px 16px; }
.keyfacts dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); font-weight: 700; }
.keyfacts dd { margin: 4px 0 0; font-weight: 700; font-size: 1.02rem; }
.keyfacts dd.soon { color: var(--urgent); }
.keyfacts dd small { display: block; font-weight: 400; color: var(--ink-2); font-size: .85rem; }
@media (max-width: 760px) { .keyfacts { grid-template-columns: 1fr 1fr; } .job-head .top .logo { display: none; } }

.job-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; padding-top: 32px; align-items: start; }
.job-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 32px; }
.job-body h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.job-body h2:first-child { margin-top: 0; }
.prose { font-size: 1.02rem; line-height: 1.7; color: var(--ink); }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 12px; }
.prose ul { padding-left: 1.25em; margin: 0; display: grid; gap: 6px; }
.req-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.req-list li { display: flex; gap: 12px; align-items: flex-start; }
.req-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.source-note { margin-top: 24px; padding: 16px 18px; background: var(--surface-2); border-radius: 10px; font-size: .95rem; color: var(--ink-2); display: flex; gap: 12px; align-items: flex-start; }
.source-note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--ink-3); }
.ref-note { padding: 12px 14px; background: var(--surface-2); border-radius: 10px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: space-between; }
.ref-note p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.ref-note strong { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; color: var(--ink); }
.job-aside { position: sticky; top: 84px; display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.apply-panel { box-shadow: var(--shadow); }
.apply-panel h2 { font-size: 1.15rem; }
.apply-panel .btn { width: 100%; }
.apply-panel .or { font-size: .85rem; color: var(--ink-3); text-align: center; }
.apply-panel .fine { font-size: .85rem; color: var(--ink-2); }
.apply-panel .where { font-size: .85rem; color: var(--ink-2); display: grid; gap: 6px; }
.apply-panel .where a { font-weight: 600; }
.cv-panel { background: linear-gradient(135deg, var(--sun-soft), var(--surface) 80%); border-color: color-mix(in srgb, var(--sun) 40%, var(--line)); }
.cv-panel .cv-mark { font: 800 1rem/1 var(--display); letter-spacing: -0.02em; display: inline-flex; gap: 0; }
.cv-panel .cv-mark span { color: var(--sun-ink); }
.cv-panel p { font-size: .95rem; color: var(--ink-2); margin-top: 6px; }
.co-panel .row { flex-wrap: nowrap; }
.co-panel .name { font-weight: 700; }
.co-panel p { font-size: .93rem; color: var(--ink-2); margin-top: 10px; }
.sticky-apply { display: none; }
@media (max-width: 960px) {
  .job-layout { grid-template-columns: 1fr; }
  .job-aside { position: static; }
  .job-body { padding: 22px 20px; }
  .sticky-apply {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface);
    border-top: 1px solid var(--line); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(15,44,74,.08);
  }
  .sticky-apply .btn { flex: 1; }
  body.has-sticky { padding-bottom: 76px; }
}

/* ---------- Apply form ---------- */
.narrow { max-width: 720px; margin: 0 auto; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 22px; }
.form-card h2 { font-size: 1.15rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 20px 16px; } }
.apply-job { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.apply-job .t { font-weight: 700; }
.apply-job .s { color: var(--ink-2); font-size: .9rem; }
.cv-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .cv-choice { grid-template-columns: 1fr; } }
.dropzone { border: 1.5px dashed var(--line-2); border-radius: 10px; padding: 18px; text-align: center; background: var(--surface-2); cursor: pointer; display: grid; gap: 6px; justify-items: center; }
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropzone svg { width: 28px; height: 28px; color: var(--accent); }
.dropzone input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dropzone .fname { font-weight: 600; color: var(--accent); }
.consents { display: grid; gap: 12px; }
.consent { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--surface); }
.consent.required { border-color: var(--line-2); }
.consent .why { display: block; font-size: .87rem; color: var(--ink-2); margin-top: 4px; font-weight: 400; }
.fineprint { font-size: .85rem; color: var(--ink-2); }
.notice { border-radius: 10px; padding: 14px 16px; font-size: .95rem; display: flex; gap: 12px; align-items: flex-start; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice-ok { background: var(--accent-soft); color: var(--ink); }
.notice-ok svg { color: var(--accent); }
.notice-warn { background: var(--sun-soft); color: var(--ink); }
.notice-err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--ink); }
.notice-err svg { color: var(--danger); }

.done-hero { text-align: center; padding: 40px 0 8px; }
.done-hero .tick { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; }
.done-hero .tick svg { width: 32px; height: 32px; }

/* ---------- Get ready / content ---------- */
.band { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.band.sun { background: linear-gradient(120deg, var(--sun-soft), var(--surface) 75%); border-color: color-mix(in srgb, var(--sun) 35%, var(--line)); }
.band h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
.band p { color: var(--ink-2); margin-top: 10px; font-size: 1.05rem; }
.band .links { display: grid; gap: 10px; }
.band .links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; }
.band .links a:hover { border-color: var(--accent); color: var(--accent); }
.band .links svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; } }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.guide { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink); }
.guide:hover { border-color: var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.guide .ic { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.guide .ic svg { width: 22px; height: 22px; }
.guide p { color: var(--ink-2); font-size: .95rem; }
.guide .go { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 700; font-size: .93rem; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; }
.article h2 { margin: 28px 0 10px; font-size: 1.3rem; }
.article h2:first-child { margin-top: 0; }
@media (max-width: 640px) { .article { padding: 22px 18px; } }

.employers { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.employer { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); }
.employer:hover { border-color: var(--accent); color: var(--ink); }
.employer .logo { width: 44px; height: 44px; }
.employer .name { font-weight: 700; line-height: 1.25; font-size: .95rem; }
.employer .n { color: var(--ink-2); font-size: .85rem; }

/* ---------- Employer and admin app ---------- */
.app { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: calc(100vh - 64px); }
.app-nav { background: var(--surface); border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column; gap: 2px; }
.app-nav .who { padding: 4px 12px 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.app-nav .who .co { font-weight: 800; font-family: var(--display); }
.app-nav .who .me { font-size: .85rem; color: var(--ink-2); }
.app-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.app-nav a svg { width: 19px; height: 19px; }
.app-nav a:hover { background: var(--surface-2); color: var(--ink); }
.app-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.app-nav .count { margin-left: auto; background: var(--accent); color: var(--accent-ink); font-size: .75rem; padding: 2px 7px; border-radius: 999px; }
.app-main { padding: 28px 32px 64px; min-width: 0; }
.app-main .head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.app-main .head h1 { font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.app-main .head p { color: var(--ink-2); margin-top: 4px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .n { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.staff-bar { background: var(--staff); color: #fff; font-size: .9rem; padding: 8px 0; }
.staff-bar a { color: #fff; font-weight: 700; }
@media (max-width: 900px) {
  .app { grid-template-columns: 1fr; }
  .app-nav { position: fixed; bottom: 0; left: 0; right: 0; flex-direction: row; z-index: 40; border-right: 0; border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  .app-nav .who, .app-nav .hide-sm { display: none; }
  .app-nav a { flex-direction: column; gap: 3px; font-size: .7rem; padding: 6px 8px; }
  .app-nav .count { position: absolute; margin: -4px 0 0 18px; font-size: .65rem; }
  .app-main { padding: 20px var(--gutter) 96px; }
}

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.table th { text-align: left; font: 700 .75rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.unseen td:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.table tr:hover td { background: color-mix(in srgb, var(--surface-2) 60%, var(--surface)); }
.table .name a { font-weight: 700; color: var(--ink); text-decoration: none; }
.table .name a:hover { color: var(--accent); text-decoration: underline; }
.table .sub { font-size: .85rem; color: var(--ink-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.stage-select { min-height: 38px; padding: 6px 34px 6px 12px; font-size: .9rem; font-weight: 600; width: auto; border-radius: 8px; }
@media (max-width: 760px) {
  .table.stackable thead { display: none; }
  .table.stackable, .table.stackable tbody, .table.stackable tr, .table.stackable td { display: block; width: 100%; }
  .table.stackable tr { padding: 12px 14px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; }
  .table.stackable tr:last-child { border-bottom: 0; }
  .table.stackable td { padding: 0; border: 0; }
  .table.stackable td.wide { grid-column: 1 / -1; }
}
.app-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.app-filters select { width: auto; min-height: 40px; padding: 6px 36px 6px 12px; font-size: .9rem; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.stat .v { font: 800 1.6rem/1.1 var(--display); }
.stat .l { color: var(--ink-2); font-size: .9rem; margin-top: 4px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; } }
.cv-frame { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); }
.worc-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .93rem; }
.worc-check li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.worc-check li .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); flex: none; display: grid; place-items: center; margin-top: 1px; }
.worc-check li.ok { color: var(--ink); }
.worc-check li.ok .dot { background: var(--accent); border-color: var(--accent); }
.worc-check li.ok .dot::after { content: ""; width: 8px; height: 4px; border: 2px solid var(--accent-ink); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.note-item { border-top: 1px solid var(--line); padding: 12px 0; font-size: .93rem; }
.note-item .by { color: var(--ink-3); font-size: .8rem; margin-top: 4px; }
.kv { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; font-size: .95rem; }
.kv dt { color: var(--ink-3); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.price-card { display: grid; gap: 12px; }
.price { display: flex; align-items: flex-start; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.price:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.price .p { margin-left: auto; font: 800 1.15rem/1 var(--display); white-space: nowrap; }
.price .d { color: var(--ink-2); font-size: .9rem; margin-top: 4px; }
.price input { width: 20px; height: 20px; accent-color: var(--accent); margin-top: 2px; flex: none; }
.review-banner { background: var(--sun-soft); border: 1px solid color-mix(in srgb, var(--sun) 50%, var(--line)); border-radius: 10px; padding: 12px 16px; font-size: .93rem; }

.flash { margin: 16px 0 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-head, .site-foot, .job-aside, .sticky-apply { display: none !important; } }
@media (max-width: 1000px) { .split.aside-first > aside.stack { order: -1; } }
.app + .site-foot, .app-main > :last-child { margin-bottom: 0; }

/* ---- Design review r1 fixes ---- */
.mm { display: none; }
.mm > summary { list-style: none; cursor: pointer; }
.mm > summary::-webkit-details-marker { display: none; }
.mobile-menu { display: none; }
@media (max-width: 860px) {
  .mm { display: block; }
  .menu-btn { display: inline-flex; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .mm[open] .mobile-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 50; }
  .mobile-menu nav { display: grid; padding: 8px var(--gutter) 16px; }
  .mobile-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; min-height: 48px; }
  .mobile-menu a:last-child { border-bottom: 0; }
  .site-head .wrap { position: static; }
  .site-head { position: sticky; }
}
.email-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; }
.email-link svg { width: 16px; height: 16px; }
/* Job cards: closing date and apply route on the right at desktop */
.card .side { grid-row: 1 / span 3; align-self: start; grid-column: 3; }
.card .side .closes { font-size: .88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.card .side .closes.soon { color: var(--urgent); }
.card .side .route { font-size: .82rem; color: var(--ink-3); white-space: nowrap; }
.card .when .w-closes { display: none; }
@media (max-width: 560px) {
  .card .side { grid-column: 3; grid-row: 1; order: 0; margin-top: 0; flex-direction: column; align-items: flex-end; }
  .card { grid-template-columns: 44px 1fr auto; }
  .card .side .closes, .card .side .route { display: none; }
  .card .when .w-closes { display: inline; }
  .card .facts, .card .when { grid-column: 1 / -1; }
}
.cards.no-co .card .co, .cards.no-co .card .logo { display: none; }
.cards.no-co .card { grid-template-columns: 1fr auto; }
.cards.no-co .card .facts, .cards.no-co .card .when { grid-column: 1 / -1; }
/* Home tiles on phones: compact one-column list, first 8 */
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; gap: 6px; }
  .tile { flex-direction: row; align-items: center; padding: 10px 14px; min-height: 52px; }
  .tile .ic { width: 34px; height: 34px; }
  .tile .ic svg { width: 18px; height: 18px; }
  .tile .t { font-size: .95rem; }
  .tile .n { margin: 0; }
  .tile > span:last-child { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex: 1; }
  .tiles .tile:nth-child(n+9) { display: none; }
  .tiles-more { display: inline-flex !important; }
}
.tiles-more { display: none !important; margin-top: 10px; }
/* Employer app: full-width header aligned with the sidebar; capped content */
.is-app .site-head .wrap { max-width: none; padding-left: 24px; padding-right: 24px; }
.is-app .head-actions .btn-primary { display: none; }
.app-main { max-width: 1440px; }
.table .zero { color: var(--ink-3); font-weight: 400; }
.table col.c-name { width: 40%; }
@media (max-width: 760px) {
  .table.stackable tr.unseen { box-shadow: inset 3px 0 0 var(--accent); }
  .table.stackable tr.unseen td:first-child { box-shadow: none; }
  .table.stackable td.num { text-align: left; }
}
.split aside .kv { grid-template-columns: 1fr; gap: 2px; }
.split aside .kv dd { margin-bottom: 8px; }
.consent .req { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); background: var(--surface-2); border-radius: 4px; padding: 2px 6px; vertical-align: 2px; }
.consent .rec { display: inline-block; margin-left: 6px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); background: var(--accent-soft); border-radius: 4px; padding: 2px 6px; vertical-align: 2px; }
.popular { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 18px; }

/* Real-data fix: facts and dates stay in the middle column beside the right-hand stack */
@media (min-width: 561px) { .card .facts, .card .when { grid-column: 2 / 3; } .cards.no-co .card .facts, .cards.no-co .card .when { grid-column: 1 / 2; } .cards.no-co .card .side { grid-column: 2; } }

.guide .go { display: inline-flex; align-items: center; gap: 6px; }
.guide .go svg { width: 16px; height: 16px; }

.app-nav .more-sm { display: none; }
@media (max-width: 900px) { .app-nav .more-sm { display: flex; } }

.tag-test { background: #6d28d9; color: #fff; letter-spacing: .06em; }

/* ---- Find-family header standard (MC 18/11): logo 40 px desktop, 32 px phone; 16 px menu text;
   rounded primary action with hover; search beside the logo where the page has none of its own. ---- */
.site-head .wrap { min-height: 76px; gap: 20px; }
.site-head .brand img { height: 40px; }
.nav-main a { font-size: 1rem; padding: 10px 12px; }
.head-actions .link { font-size: 1rem; }
.head-cta { border-radius: 999px; padding: 11px 22px; min-height: 44px; font-size: 1rem; box-shadow: 0 1px 2px rgba(20, 38, 107, .12); }
.head-cta:hover { box-shadow: 0 4px 14px rgba(191, 54, 89, .28); transform: translateY(-1px); }
.head-cta:active { transform: none; }
.head-search { position: relative; flex: 0 1 240px; min-width: 0; }
.head-search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--ink-3); pointer-events: none; }
.head-search input { width: 100%; height: 44px; padding: 0 14px 0 38px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface-2); color: var(--ink); font: 400 1rem var(--body); }
.head-search input::placeholder { color: var(--ink-3); }
.head-search input:focus { background: var(--surface); border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
@media (max-width: 1180px) { .head-search { display: none; } }
@media (max-width: 860px) {
  .site-head .wrap { min-height: 64px; gap: 12px; }
  .site-head .brand img { height: 32px; }
  .head-cta { padding: 10px 16px; font-size: .95rem; }
}
@media (max-width: 360px) { .head-cta { padding: 10px 12px; } }

/* Cookie choice (consent.mjs; same contract as the Grow titles). Shown only when GA_ID is set. */
.gm-cookie { position: fixed; z-index: 1000; left: 16px; right: 16px; bottom: 16px; max-width: 44rem; margin: 0 auto; padding: 16px 18px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: var(--shadow-lg);
  font-size: .9rem; line-height: 1.5; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.gm-cookie[hidden] { display: none; }
.gm-cookie__text { margin: 0; flex: 1 1 22rem; }
.gm-cookie__text a { color: inherit; text-decoration: underline; }
.gm-cookie__actions { display: flex; gap: 10px; flex: 0 0 auto; }
/* Equal weight: one style for both answers. */
.gm-cookie__btn { min-width: 6.5rem; min-height: 44px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer;
  background: var(--navy); color: #fff; border: 0; border-radius: 999px; }
.gm-cookie__btn:hover { opacity: .9; }
.gm-cookie__btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@media (max-width: 480px) { .gm-cookie { left: 8px; right: 8px; bottom: 8px; } .gm-cookie__actions { width: 100%; } .gm-cookie__btn { flex: 1 1 0; } }
.gm-cookie-link { background: none; border: 0; padding: 0; margin: 0; font: inherit; color: var(--hero-ink); cursor: pointer; }
.gm-cookie-link:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { .gm-cookie__btn { background: var(--accent); } }

/* About, Privacy, Terms, Contact */
.legal h2 { font-size: 1.2rem; margin: 28px 0 8px; }
.legal p, .legal li { line-height: 1.7; color: var(--ink-2); }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 16px 20px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal .contact-list { list-style: none; margin-left: 0; }
.legal .contact-list li { margin-bottom: 16px; }
.legal .gm-cookie-inline { color: var(--accent); text-decoration: underline; }
