/* GradPlus design system. Self-hosted fonts (no third-party requests), no inline styles (strict CSP). */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --evergreen: #0E3B2E; --evergreen-2: #164C3C; --evergreen-3: #0B2F25;
  --mint: #5BE3A0; --mint-soft: #E3F6EC; --mint-ink: #145C3E;
  --coral: #E8553A; --coral-dot: #FF6B4A; --blush: #FFE3DA; --coral-ink: #7A2412; --coral-ink-2: #5C2A1E;
  --paper: #FBF7F2; --sand: #F4EFE8; --sand-2: #F2ECE4; --line: #ECE6DE; --line-2: #D9D1C6;
  --ink: #13201B; --ink-2: #3D4A44; --muted: #4E5B55; --white: #FFFFFF; --danger: #A12622;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px; --r-xl: 36px;
  --shadow: 0 12px 40px rgba(14, 59, 46, 0.12);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.55; font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--evergreen); text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--evergreen); letter-spacing: -0.02em; line-height: 1.1; }
h1 { font-size: clamp(30px, 4vw, 40px); margin: 0.3em 0 0.4em; font-weight: 800; }
h2 { font-size: clamp(22px, 2.6vw, 28px); margin: 1.1em 0 0.5em; font-weight: 700; }
h3 { font-size: 19px; margin: 0 0 6px; font-weight: 700; }
p { margin: 0 0 0.8em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 10; background: var(--mint); color: var(--evergreen); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* Header */
.site-header { background: var(--paper); }
.site-header.solid { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-word { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--evergreen); }
.logo-reversed .logo-word { color: var(--white); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; font-size: 15px; font-weight: 500; }
.site-nav a, .site-nav .link { text-decoration: none; color: var(--evergreen); }
.site-nav a:hover, .site-nav .link:hover { color: var(--coral); }

/* Buttons and pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; background: var(--evergreen); color: var(--white); transition: transform .15s ease, background .15s ease; }
.btn:hover { color: var(--white); background: var(--evergreen-2); transform: translateY(-1px); }
.btn-coral { background: var(--coral); } .btn-coral:hover { background: #D4472D; }
.btn-mint { background: var(--mint); color: var(--evergreen); } .btn-mint:hover { background: #4BD491; color: var(--evergreen); }
.btn-secondary, .btn-ghost { background: var(--white); color: var(--evergreen); border: 1.5px solid var(--line-2); }
.btn-secondary:hover, .btn-ghost:hover { background: var(--sand); color: var(--evergreen); }
.btn-danger { background: var(--danger); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-big { min-height: 56px; font-size: 17px; border-radius: 18px; width: 100%; }
.link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--mint); cursor: pointer; }
form.inline { display: inline; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #CFE3D8; background: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--evergreen); }
.pill:hover, .pill.on { background: var(--evergreen); border-color: var(--evergreen); color: var(--white); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-2); }
.tag-fresh, .tag-mint { background: var(--mint-soft); color: var(--mint-ink); }
.tag-coral { background: var(--blush); color: var(--coral-ink); }
.tag-plain { background: none; color: var(--muted); font-weight: 500; padding-left: 2px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--mint-soft); color: var(--evergreen); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; margin: 0 0 20px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #1F9D63; }
.kicker { margin: 0 0 12px; color: var(--mint); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

/* Layout bits */
main { padding-bottom: 56px; min-height: 60vh; }
.page-pad { padding-top: 28px; }
.card { background: var(--white); border-radius: var(--r); padding: 22px 24px; margin: 14px 0; border: 1px solid var(--line); }
.card > h2:first-child, .card > h3:first-child { margin-top: 0; }
.notice, .fresh-start, .cv-box { background: var(--mint-soft); border-color: transparent; }
.cv-box.has-cv { background: var(--white); border-color: var(--line); }
.narrow { max-width: 560px; margin: 0 auto; }
.form-wide { max-width: 780px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lead { font-size: 19px; color: var(--ink-2); }
.meta { color: var(--muted); font-size: 14px; margin: 2px 0; }
.salary { font-weight: 600; color: var(--evergreen); margin: 4px 0; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; margin-top: 8px; }

/* Messages */
.messages { margin-top: 16px; }
.msg { padding: 12px 16px; border-radius: 14px; background: var(--mint-soft); color: var(--evergreen); margin: 0 0 8px; font-weight: 500; }
.msg-error { background: #FDE2DE; color: #7A1D16; }
.msg-warning { background: var(--blush); color: var(--coral-ink); }

/* Forms */
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; background: var(--white); }
input:focus, select:focus, textarea:focus { border-color: var(--evergreen); outline: none; box-shadow: 0 0 0 4px rgba(91, 227, 160, 0.35); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; padding: 0; accent-color: var(--evergreen); flex: 0 0 auto; margin-top: 2px; }
input[type=file] { padding: 10px; background: var(--paper); border-style: dashed; }
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check label { font-weight: 500; font-size: 15px; }
.field div > div { display: flex; gap: 8px; align-items: flex-start; margin: 6px 0; }
.field div > div label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.optional { font-weight: 400; color: var(--muted); }
.help { color: var(--muted); font-size: 13px; margin: 6px 0 0; }
.error { color: var(--danger); font-weight: 600; font-size: 14px; margin: 6px 0 0; }
.has-error input, .has-error textarea, .has-error select { border-color: var(--danger); }
.form-card { background: var(--white); border-radius: var(--r-lg); padding: 28px; border: 1px solid var(--line); }

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); }
.table { width: 100%; border-collapse: collapse; background: var(--white); }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--paper); }
.table tr:last-child td { border-bottom: 0; }
.stage { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--sand); font-size: 13px; font-weight: 600; }
.stage-reviewed { background: var(--mint-soft); color: var(--mint-ink); }
.stage-shortlisted, .stage-interview, .stage-offer, .stage-hired { background: var(--mint); color: var(--evergreen); }
.stage-not_progressed { background: var(--sand); color: var(--muted); }

/* Home */
.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding: 40px 0 72px; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.03em; margin: 0; }
.hero h1 em { font-style: normal; color: var(--coral); }
.hero .lead { font-size: 20px; margin: 24px 0 32px; max-width: 560px; }
.search-box { display: flex; flex-wrap: wrap; gap: 8px; background: var(--white); padding: 8px; border-radius: 20px; box-shadow: var(--shadow); max-width: 700px; }
.search-box label { flex: 1 1 200px; display: flex; flex-direction: column; padding: 6px 14px; gap: 2px; }
.search-box label + label { border-left: 1px solid var(--line); }
.search-box label span { font-size: 12px; font-weight: 600; color: var(--muted); }
.search-box input { border: 0; padding: 4px 0; font-size: 16px; box-shadow: none; border-radius: 6px; }
.search-box .btn { border-radius: 14px; min-height: 56px; padding: 0 26px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cv-drop { background: var(--evergreen); color: var(--white); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.cv-drop:hover { color: var(--white); background: var(--evergreen-2); }
.cv-drop .big { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.15; margin: 0; }
.cv-drop .zone { border: 2px dashed #3C6B5C; border-radius: 18px; padding: 20px; display: flex; align-items: center; gap: 14px; color: var(--white); }
.cv-drop .zone .icon { width: 32px; height: 32px; color: var(--mint); }
.promise-row { display: flex; gap: 14px; }
.promise { flex: 1; border-radius: 22px; padding: 20px; }
.promise h3 { font-size: 20px; margin: 0 0 6px; }
.promise p { margin: 0; font-size: 14px; }
.promise.coral { background: var(--blush); } .promise.coral h3 { color: var(--coral-ink); } .promise.coral p { color: var(--coral-ink-2); }
.promise.mint { background: var(--mint-soft); } .promise.mint p { color: #2E4A3F; }
.band { padding: 72px 0; }
.band-white { background: var(--white); }
.band-blush { background: var(--blush); }
.band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.band-head h2, .section-title { font-size: clamp(30px, 4vw, 40px); margin: 0; letter-spacing: -0.03em; }
.section-title { text-align: center; margin-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.step { background: var(--white); border-radius: 26px; padding: 30px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0 0 18px; }
.step-num.n1 { background: var(--mint); color: var(--evergreen); } .step-num.n2 { background: #FFB59F; color: var(--coral-ink); } .step-num.n3 { background: var(--evergreen); color: var(--mint); }
.step p { color: var(--muted); margin: 0; }
.fresh-panel { background: var(--evergreen); border-radius: var(--r-xl); padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; color: var(--white); }
.fresh-panel h2 { color: var(--white); font-size: clamp(30px, 4vw, 44px); line-height: 1.05; margin: 0 0 16px; }
.fresh-panel p { color: #CFE3D8; font-size: 18px; }
.fresh-copy { flex: 999 1 420px; min-width: 0; }
.fresh-list { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fresh-item { background: var(--evergreen-2); border-radius: 20px; padding: 18px 20px; display: flex; gap: 14px; align-items: center; color: var(--white); text-decoration: none; }
.fresh-item:hover { color: var(--white); background: #1C5A47; }
.fresh-item .icon { width: 28px; height: 28px; color: var(--mint); }
.fresh-item strong { display: block; }
.fresh-item span { font-size: 14px; color: #CFE3D8; }
.employer-band { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.employer-band h2 { color: var(--coral-ink); margin: 0 0 12px; font-size: clamp(30px, 4vw, 40px); }
.employer-band p { color: var(--coral-ink-2); font-size: 18px; max-width: 620px; margin: 0; }
.btn-brick { background: var(--coral-ink); } .btn-brick:hover { background: #5E1B0D; }

/* Job cards */
.job-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 22px; background: var(--paper); text-decoration: none; color: var(--ink); border: 1.5px solid #F0EAE2; transition: transform .15s ease, box-shadow .15s ease; }
.band-white .job-card { background: var(--paper); }
.job-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); }
.job-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--evergreen); background: #CDEFE0; }
.avatar.t1 { background: #FFD9CC; } .avatar.t2 { background: #CDEFE0; } .avatar.t3 { background: #FBE7B5; } .avatar.t4 { background: #E1E8D5; }
.avatar.lg { width: 56px; height: 56px; flex-basis: 56px; border-radius: 16px; font-size: 22px; font-weight: 800; }
.avatar.round { border-radius: 50%; width: 36px; height: 36px; flex-basis: 36px; font-size: 13px; }
.job-card .title { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 4px 0 0; color: var(--ink); }

/* Search */
.search-head { background: var(--white); border-bottom: 1px solid var(--line); }
.search-head .header-inner { flex-wrap: wrap; }
.search-inline { flex: 1 1 480px; display: flex; flex-wrap: wrap; gap: 6px; background: var(--sand); border-radius: 16px; padding: 6px; }
.search-inline label { flex: 1 1 180px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); }
.search-inline label + label { border-left: 1px solid #E2DBD1; }
.search-inline input { border: 0; background: transparent; padding: 10px 0; min-height: 44px; border-radius: 0; box-shadow: none; }
.search-inline .btn { border-radius: 12px; min-height: 44px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; }
.filter-bar select { width: auto; min-height: 42px; padding: 8px 36px 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.filter-bar .count { margin-left: auto; font-size: 14px; color: var(--muted); }
.results-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; padding-top: 20px; }
.results { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.result { display: flex; flex-direction: column; gap: 8px; padding: 20px; background: var(--white); border-radius: var(--r); text-decoration: none; color: var(--ink); border: 2px solid transparent; }
.result:hover { color: var(--ink); border-color: var(--line-2); }
.result.selected { border-color: var(--evergreen); }
.result .row { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.result .who { display: flex; gap: 12px; align-items: center; }
.result .title { margin: 0; font-family: var(--display); font-weight: 700; font-size: 19px; }
.result .when { font-size: 12px; color: var(--muted); white-space: nowrap; }
.preview { flex: 1.3 1 520px; min-width: 0; background: var(--white); border-radius: 24px; padding: 32px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.preview h1 { margin: 2px 0 0; font-size: 32px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.fact { background: var(--paper); border-radius: 16px; padding: 14px; }
.fact span { display: block; font-size: 12px; color: var(--muted); }
.fact strong { display: block; margin-top: 4px; font-size: 15px; }
.match { background: var(--mint-soft); border-radius: 18px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; color: var(--evergreen); margin: 0 0 18px; }
.match .icon { color: var(--mint-ink); }
.job-body h2 { font-size: 20px; margin: 22px 0 8px; }
.job-body { color: var(--ink-2); }
.empty { background: var(--white); border-radius: var(--r); padding: 40px; text-align: center; }
.pager { display: flex; gap: 14px; justify-content: center; align-items: center; padding: 12px 0; }

/* Job detail and apply */
.job-hero { display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.job-hero p { margin: 0; }
.apply-shell { max-width: 560px; margin: 24px auto 0; }
.apply-sheet { background: var(--white); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.apply-sheet h2 { margin: 0; font-size: 22px; }
.who-card { display: flex; gap: 12px; align-items: center; background: var(--paper); border-radius: 18px; padding: 14px; }
.who-card .grow { flex: 1; }
.who-card p { margin: 0; }
.sheet-note { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); margin: 0; }
.sheet-note .icon { color: #1F9D63; width: 18px; height: 18px; }

/* Auth */
.auth { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 32px; }
.auth-copy { flex: 1 1 320px; }
.auth-copy h1 { font-size: clamp(34px, 4.5vw, 52px); letter-spacing: -0.03em; }
.auth-form { flex: 1 1 420px; max-width: 560px; }
.role-pick ul, .role-pick div > div { display: flex; gap: 10px; }

/* Employer area */
.employer-shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side-nav { flex: 1 1 230px; max-width: 260px; background: var(--evergreen); color: var(--white); padding: 22px 14px; display: flex; flex-direction: column; gap: 4px; }
.side-nav .logo { padding: 0 8px 18px; }
.side-nav a, .side-nav .link { color: #CFE3D8; text-decoration: none; padding: 11px 12px; border-radius: 12px; font-weight: 500; text-align: left; }
.side-nav a:hover, .side-nav .link:hover { color: var(--white); background: var(--evergreen-2); }
.side-nav a.on { color: var(--evergreen); background: var(--mint); font-weight: 600; }
.side-nav .spacer { flex: 1; }
.employer-main { flex: 999 1 560px; min-width: 0; padding: 24px 32px 48px; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.page-head h1 { margin: 4px 0 0; }
.page-head p { margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 18px; }
.stat { background: var(--white); border-radius: 18px; padding: 16px; }
.stat span { display: block; font-size: 13px; color: var(--muted); }
.stat .num { display: block; font-family: var(--display); font-size: 28px; font-weight: 700; margin-top: 4px; }
.stat.alert { background: var(--blush); } .stat.alert span, .stat.alert .num, .stat.alert a { color: var(--coral-ink); }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 10px; }
.column { background: var(--sand-2); border-radius: var(--r); padding: 12px; min-height: 380px; display: flex; flex-direction: column; gap: 10px; }
.column h2 { margin: 4px 6px; font-family: var(--body); font-size: 14px; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; letter-spacing: 0; }
.count { background: var(--white); border-radius: 999px; padding: 0 8px; font-size: 12px; line-height: 22px; }
.candidate-card { display: flex; flex-direction: column; gap: 6px; background: var(--white); border-radius: 16px; padding: 14px; text-decoration: none; color: var(--ink); }
.candidate-card:hover { color: var(--ink); box-shadow: 0 6px 20px rgba(14, 59, 46, 0.1); }
.candidate-card .who { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.candidate-card .line { font-size: 13px; color: var(--ink-2); margin: 0; }
.candidate-card .meta { font-size: 12px; }
.waiting { color: var(--coral-ink); font-weight: 600; }
.message { background: var(--paper); border-radius: 14px; padding: 10px 14px; margin: 8px 0; }
.message.mine { background: var(--mint-soft); }
.note { border-bottom: 1px solid var(--line); padding: 8px 0; }

/* Footer */
.site-footer { background: var(--evergreen-3); color: #CFE3D8; padding: 44px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.site-footer p { margin: 0; }
.site-footer a { color: #CFE3D8; }

@media (max-width: 900px) {
  .preview { display: none; }
  .preview.picked { display: block; order: -1; position: static; max-height: none; }
  .two-col { grid-template-columns: 1fr; }
  .fresh-panel { padding: 32px 24px; }
  .employer-main { padding: 20px 18px 40px; }
  .side-nav { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .side-nav .logo { padding: 0 8px; }
  .side-nav .spacer { display: none; }
}
@media (max-width: 600px) {
  .search-box label + label, .search-inline label + label { border-left: 0; }
  .search-box .btn { width: 100%; }
  .promise-row { flex-direction: column; }
  .facts { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.narrow-plus { max-width: 820px; margin: 0 auto; }
.preview.detail { position: static; max-height: none; display: block; margin-top: 12px; }
.job-panel-tags { margin-top: 14px; }
.filter-bar .pill input { width: 16px; height: 16px; margin: 0; accent-color: var(--mint); }
.layout-search { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.filters { background: var(--white); border-radius: var(--r); padding: 20px; border: 1px solid var(--line); }
@media (max-width: 800px) { .layout-search { grid-template-columns: 1fr; } }
.site-nav a.btn, .nav-mobile-panel a.btn { color: var(--white); }
.result .title, .result .meta { display: block; }
.nav-mobile { display: none; position: relative; }
.nav-mobile summary { list-style: none; cursor: pointer; }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; background: var(--white); border-radius: var(--r); box-shadow: var(--shadow); padding: 10px; min-width: 230px; display: flex; flex-direction: column; gap: 2px; }
.nav-mobile-panel a, .nav-mobile-panel .link { padding: 12px 14px; border-radius: 12px; text-decoration: none; text-align: left; font-weight: 500; color: var(--evergreen); }
.nav-mobile-panel a:hover, .nav-mobile-panel .link:hover { background: var(--sand); }
.nav-mobile-panel a.btn { justify-content: center; margin-top: 6px; }
.nav-mobile-panel form { display: block; }
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
  .search-head .header-inner { position: relative; }
  .search-head .search-inline { order: 3; flex-basis: 100%; }
  .filter-bar { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .filter-bar > * { flex: 0 0 auto; }
  .filter-bar .count { margin-left: 8px; }
}
@media (max-width: 600px) { .result .when { display: none; } .result { padding: 16px; } }
/* Maintenance page and staff banner */
.maintenance-body { min-height: 100vh; display: flex; }
.maintenance { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 40px 20px; text-align: center; }
.maintenance-card { background: var(--white); border-radius: var(--r-xl); padding: 48px 40px; max-width: 640px; box-shadow: var(--shadow); }
.maintenance-card h1 { font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; }
.maintenance-card .lead { margin: 0 auto; max-width: 480px; }
.back-by { margin: 22px 0 0; background: var(--mint-soft); color: var(--evergreen); border-radius: 14px; padding: 12px 16px; display: inline-block; }
.staff-banner { background: var(--coral); color: var(--white); text-align: center; padding: 10px 16px; font-weight: 600; font-size: 14px; }
.staff-banner a { color: var(--white); }

/* Home page CV drop zone */
.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; }
form.cv-drop { margin: 0; }
.cv-drop .zone { cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.cv-drop .zone:hover, .cv-drop .zone:focus-within { border-color: var(--mint); background: var(--evergreen-2); }
.cv-drop input[type=file]:focus-visible + noscript, .cv-drop:focus-within .zone { outline: 3px solid var(--mint); outline-offset: 3px; }
.cv-drop.is-dragging .zone { border-color: var(--mint); border-style: solid; background: #1C5A47; transform: scale(1.02); }
.cv-drop.is-busy .zone { opacity: .75; cursor: progress; }
.cv-drop .zone > span { display: flex; flex-direction: column; gap: 4px; }
.cv-drop .zone-title { font-weight: 700; font-size: 17px; color: var(--white); }
.cv-drop .zone-help { font-size: 14px; color: #CFE3D8; }
.cv-scratch:link, .cv-scratch:visited { color: var(--mint); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.cv-scratch:hover { color: var(--white); }
.cv-ready { display: flex; gap: 12px; align-items: center; background: var(--mint-soft); border: 0; }
.cv-ready .icon { width: 28px; height: 28px; color: var(--evergreen); flex: 0 0 auto; }
.cv-ready p { margin: 0; color: var(--evergreen); }
