/* Jobs in Dynamics — ink / teal / amber. Fonts: Space Grotesk (display), Inter (text), self-hosted (SIL OFL). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("/fonts/space-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
  --ink: #10212a; --ink-2: #33454d; --muted: #55666e; --line: #e3e9e7; --bg: #f4f6f5; --card: #fff;
  --night: #0e1d24; --night-2: #142a33; --night-line: #2b414a; --on-night: #cfdcdf; --on-night-muted: #b9c8cc;
  --teal: #0f766e; --teal-hover: #0b5c56; --teal-bright: #14b8a6; --teal-soft: #e3f3f0; --teal-glow: #5eead4;
  --amber: #f59e0b; --amber-ink: #1c1206; --amber-soft: #fffbf2; --amber-line: #f59e0b;
  --radius: 14px; --radius-sm: 10px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --text: Inter, ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --shadow: 0 18px 40px rgba(14, 29, 36, 0.14);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--text); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--teal); }
a:hover { color: var(--teal-hover); }
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.15; }
h1, h2, .display { font-family: var(--display); letter-spacing: -0.02em; }
p { margin: 0 0 .75rem; }
:focus-visible { outline: 3px solid var(--teal-bright); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; padding-top: 48px; padding-bottom: 72px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-sm); border: 0; font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; background: var(--teal); color: #fff; }
.btn:hover { background: var(--teal-hover); color: #fff; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: #e48f06; color: var(--amber-ink); }
.btn-bright { background: var(--teal-bright); color: #06201d; }
.btn-bright:hover { background: #2dd4bf; color: #06201d; }
.btn-ghost { background: transparent; color: var(--teal); border: 1.5px solid currentColor; }
.btn-ghost:hover { background: var(--teal-soft); color: var(--teal-hover); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-large { min-height: 54px; font-size: 16.5px; padding: 0 24px; }

/* Header */
.site-header { color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand img { height: 32px; width: auto; display: block; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand-name em, .accent-word { font-style: normal; color: var(--teal-glow); }
.nav { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav > a:not(.btn) { color: var(--on-night); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav > a:not(.btn):hover { color: #fff; }

/* Hero */
/* Network-of-nodes motif from the Canva logo sheet, on the dark top band */
.site-header { background: var(--night) url("/network-bg.svg?v=2") no-repeat center top / 1600px auto; }
.hero, .job-hero, .emp-hero { background: var(--night) url("/network-bg.svg?v=2") no-repeat center -70px / 1600px auto; }
.hero { color: #fff; padding: 48px 0 92px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--teal-glow); font-weight: 600; font-size: 13.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 99px; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, .18); }
.eyebrow.amber { color: #fbbf24; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.04; max-width: 840px; margin: 0; }
.hero .lead { margin: 18px 0 0; color: var(--on-night-muted); font-size: 19px; max-width: 660px; }
.hero .lead strong { color: #fff; }

/* Search */
.search-wrap { margin-top: -56px; }
.search { background: var(--card); border: 1px solid #dfe7e5; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.search .field { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 12px; border-radius: var(--radius-sm); background: var(--bg); flex: 1 1 150px; }
.search .field.grow { flex: 3 1 280px; padding: 0 14px; }
.search input[type=search], .search select { border: 0; background: transparent; font: inherit; font-size: 15.5px; width: 100%; color: var(--ink); outline: none; min-height: 44px; }
.search .btn { min-height: 52px; padding: 0 26px; font-size: 16px; flex: 0 0 auto; }
.quick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.quick-label { font-size: 14px; color: var(--muted); font-weight: 500; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid #dfe7e5; border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.pill:hover { border-color: var(--teal); color: var(--ink); }
.pill.active { background: var(--night); border-color: var(--night); color: #fff; }
.pill .count { color: var(--teal); }
.pill.active .count { color: var(--teal-glow); }
.toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.toggle input, .check input { width: 18px; height: 18px; accent-color: var(--teal); }

/* Layout */
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 32px; padding-bottom: 72px; }
.layout > .results-col, .layout > article { flex: 999 1 560px; min-width: 0; }
.layout > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.results-head h2 { font-size: 24px; margin: 0; }
.results-head .hint { font-size: 14px; color: var(--muted); }

/* Job cards */
.job-card { position: relative; display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 12px; transition: border-color .15s, box-shadow .15s; }
.job-card:hover { border-color: #c5d6d2; box-shadow: 0 6px 18px rgba(14, 29, 36, .06); }
.job-card.featured { border: 1.5px solid var(--amber-line); background: var(--amber-soft); }
.avatar { flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; background: var(--teal-soft); color: var(--teal); }
.avatar.agency { background: #eef1f2; color: var(--ink-2); }
.avatar.direct { background: #fde7c2; color: #92400e; }
.avatar.has-logo { background: #fff; border: 1px solid var(--line); padding: 6px; }
.avatar.has-logo .logo { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; display: block; }
.avatar.large.has-logo { padding: 8px; }
.avatar.large { flex-basis: 64px; height: 64px; border-radius: 16px; font-size: 24px; background: var(--teal-bright); color: #06201d; }
.job-body { flex: 1 1 auto; min-width: 0; }
.job-title { margin: 0; font-family: var(--text); font-size: 18px; font-weight: 700; letter-spacing: 0; line-height: 1.3; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-title a { color: var(--ink); text-decoration: none; }
.job-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.job-title a:hover { color: var(--teal); }
.job-source { margin: 4px 0 10px; font-size: 14px; color: var(--ink-2); }
.job-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; }
.meta svg { flex: none; }
.salary { color: var(--ink); font-weight: 600; }
.chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.2; background: var(--teal-soft); color: var(--teal-hover); }
.chip.muted { background: #eef1f2; color: var(--ink-2); }
.badge-featured { background: var(--amber); color: var(--amber-ink); }
.ago { font-size: 13px; color: var(--muted); white-space: nowrap; }
.empty { background: var(--card); border: 1px dashed #c9d5d2; border-radius: var(--radius); padding: 32px; }
.pager { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; color: var(--muted); font-size: 14px; }
.pager a { font-weight: 600; text-decoration: none; }

/* Side panels */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 19px; margin: 0 0 6px; }
.panel p { color: var(--ink-2); font-size: 15px; }
.panel-dark { background: var(--night); color: #fff; border-radius: var(--radius); padding: 24px; }
.panel-dark h2 { font-size: 22px; margin: 10px 0 6px; }
.panel-dark p { color: var(--on-night-muted); font-size: 15px; }
.panel-dark .fine, .panel-dark .fine a { color: #93a7ad; }
.panel-dark .fine a { color: var(--teal-glow); }
.panel-dark label.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--on-night); margin-bottom: 6px; }
.panel-dark input[type=email] { width: 100%; border: 1px solid var(--night-line); background: var(--night-2); color: #fff; border-radius: var(--radius-sm); padding: 12px 14px; font: inherit; font-size: 15px; }
.panel-dark input[type=email]::placeholder { color: #7f959c; }
.area-picks { border: 0; padding: 0; margin: 14px 0 0; min-width: 0; }
.area-list { display: flex; flex-wrap: wrap; gap: 8px; }
.area-picks legend { font-size: 13px; font-weight: 600; color: var(--on-night); margin-bottom: 8px; padding: 0; }
.area-picks label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--night-line); border-radius: 999px; padding: 6px 12px; font-size: 13px; cursor: pointer; }
.area-picks input { accent-color: var(--teal-bright); }
.panel-dark .btn { margin-top: 18px; }
.cf-turnstile { margin: 14px 0 0; }
.trust { list-style: none; margin: 0; padding: 4px 6px; display: flex; flex-direction: column; gap: 12px; }
.trust li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.trust svg { flex: none; margin-top: 2px; }
.fine { color: var(--muted); font-size: 13px; margin-top: 12px; }

/* Job page */
.job-hero { color: #fff; padding: 28px 0 40px; }
.back { color: var(--teal-glow); text-decoration: none; font-size: 14px; font-weight: 600; }
.back:hover { color: #fff; }
.job-hero .head { display: flex; gap: 20px; align-items: flex-start; margin-top: 22px; flex-wrap: wrap; }
.job-hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 0; }
.job-hero .source { margin: 10px 0 0; color: var(--on-night-muted); font-size: 17px; }
.job-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.job-hero .chip { background: #1b333c; color: #e6f0f1; padding: 5px 11px; font-size: 13px; }
.job-hero .chip.teal { background: #134e4a; color: #99f6e4; }
.job-detail { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; }
.job-detail h2 { font-size: 22px; margin-bottom: 14px; }
.description { font-size: 16.5px; line-height: 1.7; color: #22343c; max-width: 700px; }
.description p { margin: 0 0 14px; }
.description h3 { font-family: var(--display); font-size: 18px; letter-spacing: -0.01em; margin: 26px 0 10px; color: var(--ink); }
.description h3:first-child { margin-top: 0; }
.description ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.description li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.description li::before { content: ""; position: absolute; left: 4px; top: 0.7em; width: 7px; height: 7px; border-radius: 2px; background: var(--teal-bright); }
.detail-foot { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.detail-foot p { margin: 0; font-size: 14px; color: var(--muted); max-width: 440px; }
.facts { margin: 18px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.similar-list a { display: block; padding: 12px 0; border-top: 1px solid #eef2f1; text-decoration: none; }
.similar-list .t { display: block; color: var(--ink); font-weight: 600; font-size: 15px; line-height: 1.35; }
.similar-list .m { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.similar-list a:hover .t { color: var(--teal); }

/* Employers */
.emp-hero { color: #fff; padding: 48px 0 64px; }
.emp-hero .inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.emp-hero .copy { flex: 3 1 520px; min-width: 0; }
.emp-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.05; margin: 0; }
.emp-hero .lead { margin: 18px 0 0; color: var(--on-night-muted); font-size: 18px; max-width: 600px; }
.emp-stats { flex: 2 1 320px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.emp-stat { background: var(--night-2); border: 1px solid #22404a; border-radius: var(--radius); padding: 18px; }
.emp-stat strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 700; color: var(--teal-glow); line-height: 1.1; }
.emp-stat span { color: var(--on-night); font-size: 14px; }
.founding { grid-column: 1 / -1; background: #fbbf24; color: var(--amber-ink); border-radius: var(--radius); padding: 16px 18px; font-weight: 600; font-size: 15px; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 48px; }
.benefit h3 { font-size: 17px; margin: 10px 0 6px; font-family: var(--text); letter-spacing: 0; }
.benefit p { color: #44555e; font-size: 15px; margin: 0; }
.pricing-section { padding-top: 40px; padding-bottom: 72px; }
.pricing-section h2 { font-size: 32px; margin: 0 0 6px; }
.pricing { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.plan h3 { font-family: var(--text); font-size: 17px; letter-spacing: 0; margin: 0; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .amount { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.plan .cadence { font-size: 15px; color: var(--muted); }
.plan .blurb { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
.plan .btn { margin-top: auto; }
.plan.highlight { background: var(--night); color: #fff; border-color: var(--night); }
.plan.highlight .cadence, .plan.highlight .blurb { color: var(--on-night); }

/* Forms */
.page { padding-top: 40px; padding-bottom: 72px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; max-width: 640px; }
.form label { display: block; font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.form input[type=email], .form input[type=text], .form select, .form textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfdad7; border-radius: var(--radius-sm); font: inherit; font-size: 15.5px; margin-bottom: 14px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--teal); outline: 3px solid rgba(20, 184, 166, .25); outline-offset: 0; }
.form .check { display: flex; gap: 10px; align-items: center; font-weight: 400; }
.field-error { color: #b42318; font-size: 13.5px; margin: -8px 0 12px; }
.notice { background: var(--teal-soft); color: #0b3f3a; border-radius: var(--radius); padding: 18px 20px; font-size: 16px; }

/* Legal pages */
.narrow h1 { font-size: 36px; margin-bottom: 18px; }
.narrow h2 { font-size: 20px; margin: 28px 0 8px; }
.narrow ul { padding-left: 20px; }
.narrow li { margin-bottom: 8px; }

/* Admin */
.admin-hero { padding: 28px 0 36px; }
.admin-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.admin-title h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; }
.admin-who { color: var(--on-night-muted); font-size: 14px; margin: 8px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 24px; }
.kpi { background: rgba(20, 42, 51, .85); border: 1px solid #22404a; border-radius: var(--radius); padding: 16px 18px; }
.kpi strong { display: block; font-family: var(--display); font-size: 34px; font-weight: 700; color: var(--teal-glow); line-height: 1.1; }
.kpi span { color: var(--on-night); font-size: 13.5px; }
.kpi.accent { background: #fbbf24; border-color: #fbbf24; }
.kpi.accent strong, .kpi.accent span { color: var(--amber-ink); }
.admin-body { padding-top: 28px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.admin-body > .fine { margin: -8px 2px 0; }
.funnels { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.funnel h2 { font-size: 18px; margin-bottom: 14px; }
.funnel ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.funnel-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.funnel-value { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.funnel-track { height: 10px; background: #eef2f1; border-radius: 99px; overflow: hidden; }
.funnel-bar { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-bright)); border-radius: 99px; }
.funnel-conv { display: block; font-size: 12.5px; color: var(--muted); margin-top: 5px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-head h2 { margin: 0; font-size: 18px; }
.count-pill { background: var(--teal-soft); color: var(--teal-hover); border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 20px; align-items: start; }
.admin .scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.admin table { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.admin th, .admin td { padding: 9px 12px; text-align: right; white-space: nowrap; border-bottom: 1px solid #eef2f1; }
.admin th { background: #f7f9f8; font-weight: 600; color: var(--ink-2); font-size: 12.5px; position: sticky; top: 0; }
.admin th:first-child, .admin td:first-child { text-align: left; position: sticky; left: 0; background: inherit; }
.admin tbody tr:nth-child(even) { background: #fbfcfc; }
.admin tbody tr { background: #fff; }
.admin tr.total td { font-weight: 700; background: var(--teal-soft); }
.admin td.err { color: #b42318; white-space: normal; max-width: 280px; text-align: left; }
.empty-cell { color: var(--muted); font-size: 14px; text-align: left !important; padding: 14px 12px; }
.status { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 700; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 99px; background: currentColor; }
.status.ok { background: #dcfce7; color: #166534; }
.status.bad { background: #fee4e2; color: #b42318; }
.status.idle { background: #eef1f2; color: var(--ink-2); }
.lead-list, .featured-list { list-style: none; margin: 0; padding: 0; }
.lead-list li { padding: 14px 0; border-top: 1px solid #eef2f1; }
.lead-list li:first-child { border-top: 0; padding-top: 2px; }
.lead-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lead-meta { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.lead-role { margin-top: 6px; font-size: 14.5px; }
.lead-notes { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.lead-utm { margin-top: 4px; font-size: 12.5px; color: var(--muted); font-family: ui-monospace, monospace; }
.featured-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef2f1; }

.health { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.health-card h3 { font-family: var(--text); letter-spacing: 0; font-size: 13px; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.health-card strong { display: block; font-family: var(--display); font-size: 22px; }
.health-card p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-2); }
.health-card { border-left-width: 4px; }
.health-card.ok { border-left-color: #16a34a; } .health-card.warn { border-left-color: var(--amber); }
.health-card.bad { border-left-color: #dc2626; } .health-card.idle { border-left-color: #cbd5d3; }
.status.warn { background: #fef3c7; color: #92400e; }
.seg { display: inline-flex; background: #eef2f1; border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg a { padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.seg a.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.activity { max-height: 520px; overflow-y: auto; }
.admin td.what { text-align: left; white-space: normal; min-width: 220px; }
.admin td.muted { color: var(--muted); }
.admin tr.lvl-error td { background: #fff5f4; }

/* Consent banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 1040px; margin: 0 auto; background: var(--night); color: #fff; border: 1px solid #22404a; border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.35); padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.consent-text { flex: 1 1 460px; min-width: 0; }
.consent h2 { font-size: 18px; margin: 0 0 6px; }
.consent p { color: var(--on-night-muted); font-size: 14px; margin: 0; }
.consent a { color: var(--teal-glow); }
.consent-choose { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; font-size: 14px; }
.consent-choose[hidden] { display: none; }
.consent-choose input { accent-color: var(--teal-bright); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-consent { background: #fff; color: var(--ink); min-width: 120px; }
.btn-consent:hover { background: #e6f0ef; color: var(--ink); }

/* Mobile: pinned apply button on job pages */
.apply-bar { display: none; }
@media (max-width: 900px) {
  .apply-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 246, 245, 0.96); border-top: 1px solid var(--line); backdrop-filter: blur(6px); }
  .has-apply-bar { padding-bottom: 96px; }
}
@media (max-width: 600px) {
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-inner { padding: 16px; gap: 12px; }
  .consent-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
  .btn-consent { min-width: 0; padding: 0 6px; font-size: 14px; }
}

/* Footer */
.site-footer { background: var(--night); color: #93a7ad; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 44px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 26px; }
.disclaimer { margin: 10px 0 0; font-size: 13px; max-width: 540px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; align-items: flex-start; }
.footer-links a { color: var(--on-night); text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefits { grid-template-columns: 1fr; }
  .toggle { margin-left: 0; }
}
@media (max-width: 600px) {
  .nav > a:not(.btn) { display: none; }
  .nav { gap: 10px; flex-wrap: nowrap; }
  .header-inner { gap: 10px; }
  .hero { padding: 36px 0 84px; }
  .search .btn { width: 100%; }
  .job-card { padding: 16px; }
  .ago { position: absolute; top: 16px; right: 16px; }
  .job-card .job-title { padding-right: 52px; }
  .avatar { flex-basis: 40px; height: 40px; font-size: 15px; }
  .job-detail { padding: 22px; }
  .pricing { grid-template-columns: 1fr; }
}

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; color: var(--on-night); font-weight: 600; font-size: 14px; padding: 6px 10px; border: 1px solid var(--night-line); border-radius: 8px; }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch[open] summary { color: #fff; border-color: var(--teal-bright); }
.lang-switch ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); min-width: 140px; }
.lang-switch li a { display: block; padding: 8px 10px; border-radius: 6px; color: var(--ink) !important; text-decoration: none; font-size: 14px; }
.lang-switch li a:hover, .lang-switch li a[aria-current] { background: var(--teal-soft); }
@media (max-width: 600px) {
  .nav .lang-switch { display: block; }
  .lang-switch summary { min-height: 40px; display: flex; align-items: center; }
}
@media (max-width: 420px) {
  .brand img { height: 26px; }
  .brand-name { font-size: 16px; }
  .brand { gap: 8px; }
  .nav .btn-small { padding: 0 12px; font-size: 13.5px; min-height: 40px; }
}
