/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
    --bg: #f6f7f9;
    --surface: #ffffff;
    --surface-2: #f1f3f6;
    --ink: #121722;
    --ink-2: #3d4554;
    --muted: #646d7c;
    --line: #e3e6eb;
    --line-strong: #d3d8e0;
    --accent: #0e7a6d;
    --accent-hover: #0a6359;
    --accent-ink: #ffffff;
    --accent-soft: #e6f4f1;
    --important: #c3321f;
    --important-soft: #fcefed;
    --change: #8f6200;
    --change-soft: #fbf3e0;
    --new: #1d7a46;
    --new-soft: #e8f5ee;
    --src-0: #2450c8;
    --src-1: #7c4ddb;
    --src-2: #d1830f;
    --src-3: #0f8c80;
    --src-4: #d0457a;
    --src-5: #4b7bec;
    --src-6: #8a6d3b;
    --src-7: #2f9e44;
    --salary: #0b6b3a;
    --salary-soft: #e5f5ec;
    --shadow: 0 1px 2px rgba(18, 23, 34, .04), 0 1px 3px rgba(18, 23, 34, .06);
    --shadow-lg: 0 12px 32px -12px rgba(18, 23, 34, .18);
    --radius: 14px;
    --radius-sm: 9px;
    --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0c0f14;
        --surface: #141921;
        --surface-2: #1a2029;
        --ink: #e9ecf1;
        --ink-2: #c3c9d3;
        --muted: #949dab;
        --line: #232a35;
        --line-strong: #2e3744;
        --accent: #5fd3c1;
        --accent-hover: #86e0d2;
        --accent-ink: #0c0f14;
        --accent-soft: #0f2b28;
        --important: #ff8b7a;
        --important-soft: #361b18;
        --change: #f0c062;
        --change-soft: #31270f;
        --new: #6fd69a;
        --new-soft: #14301f;
        --src-0: #86a6f7;
        --src-1: #b597f5;
        --src-2: #f0b04a;
        --src-3: #4fd1c2;
        --src-4: #f37fab;
        --src-5: #8fb0ff;
        --src-6: #d6b57a;
        --src-7: #74d68a;
        --salary: #74dba0;
        --salary-soft: #13301f;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3);
        --shadow-lg: 0 12px 32px -12px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}

/* ─── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--ink);
    font: 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; letter-spacing: -.015em; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding-inline: 20px; }
.page { padding-block: 28px 56px; flex: 1 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
.icon { width: 1em; height: 1em; flex: none; }
code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px/1 var(--font);
    padding: 11px 18px;
    border-radius: 10px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow); }
.btn-secondary:hover { border-color: var(--muted); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.btn-ghost:hover { color: var(--important); border-color: var(--important); }
.btn-danger { background: var(--important); color: #fff; }
.btn-danger:hover { color: #fff; filter: brightness(.95); }
.btn-sm { padding: 8px 13px; font-size: 14px; border-radius: 9px; }
.btn-sm .icon { width: 15px; height: 15px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ─── Top bar ────────────────────────────────────────────────────────── */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
    background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow);
}
.brand-mark .icon { width: 19px; height: 19px; }
.brand-text strong { display: block; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; }
.brand-text span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.topnav { display: flex; align-items: center; gap: 6px; }
.topnav > a:not(.btn) { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.topnav > a:not(.btn):hover { background: var(--surface-2); color: var(--ink); }
.topnav > a:not(.btn)[aria-current="page"] { color: var(--ink); }

/* ─── Banner ─────────────────────────────────────────────────────────── */
.banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 15px; }
.banner p { margin: 0; }
.banner .icon { width: 20px; height: 20px; margin-top: 2px; }
.banner-warn { background: var(--important-soft); color: var(--ink); border: 1px solid color-mix(in srgb, var(--important) 35%, transparent); }
.banner-warn .icon { color: var(--important); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end;
    padding: 32px 36px;
    margin-bottom: 28px;
    border-radius: 20px;
    background:
        radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent) 0%, transparent 55%),
        var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 13px; font-weight: 500; color: var(--muted); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--new); box-shadow: 0 0 0 4px color-mix(in srgb, var(--new) 18%, transparent); }
.hero h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 650; margin: 0 0 12px; max-width: 22ch; }
.hero-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 22px; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 4px; margin: 0; }
.stats div { padding: 12px 18px; border-radius: 12px; background: color-mix(in srgb, var(--surface-2) 70%, transparent); min-width: 104px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 2px 0 0; font-size: 26px; font-weight: 500; line-height: 1.2; }

/* ─── Hero search ───────────────────────────────────────────────────── */
.hero-search { position: relative; display: flex; gap: 8px; max-width: 560px; }
.hero-search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.hero-search input {
    flex: 1; min-width: 0;
    font: 16px var(--font); color: var(--ink);
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
    padding: 11px 14px 11px 42px; box-shadow: var(--shadow);
}
.hero-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }

/* ─── Layout: filters + list ─────────────────────────────────────────── */
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters > summary { display: none; list-style: none; }
.filters > summary::-webkit-details-marker { display: none; }
.sidebar { position: sticky; top: 88px; display: grid; gap: 22px; max-height: calc(100vh - 104px); overflow-y: auto; padding: 2px 6px 16px 2px; scrollbar-width: thin; }

.search { position: relative; }
.search .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.search input, .fselect select {
    width: 100%;
    font: 15px var(--font); color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    padding: 10px 12px 10px 38px;
    box-shadow: var(--shadow);
}
.fselect select { padding-left: 12px; appearance: auto; }
.search input::placeholder { color: var(--muted); }
.search input:focus, .fselect select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }

.fgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 6px; }
.fgroup legend { padding: 0; margin: 0 0 8px 2px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.checks { display: grid; gap: 1px; }
.scrolly { max-height: 320px; overflow-y: auto; scrollbar-width: thin; }
.check {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 8px; border-radius: 8px;
    font-size: 15px; color: var(--ink-2); cursor: pointer;
}
.check:hover { background: var(--surface-2); color: var(--ink); }
.check input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); flex: none; }
.check > span:not(.count) { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.check:has(input:checked) { color: var(--ink); font-weight: 500; }
.check .count { font-size: 13px; color: var(--muted); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--muted); }
.src-0 { background: var(--src-0); } .src-1 { background: var(--src-1); } .src-2 { background: var(--src-2); } .src-3 { background: var(--src-3); }
.src-4 { background: var(--src-4); } .src-5 { background: var(--src-5); } .src-6 { background: var(--src-6); } .src-7 { background: var(--src-7); }

/* ─── Telegram alert ─────────────────────────────────────────────────── */
.alert-box {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px 12px 16px; border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
}
.alert-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--surface); color: var(--accent); }
.alert-icon .icon { width: 18px; height: 18px; }
.alert-box p { margin: 0; flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; }
.alert-box p strong { display: block; color: var(--ink); }
.alert-box p span { color: var(--ink-2); font-size: 14px; }
.alert-box .btn { flex: none; }

/* ─── List ───────────────────────────────────────────────────────────── */
.feed { min-width: 0; display: grid; gap: 16px; }
.feed-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; color: var(--ink-2); font-size: 15px; }
.feed-head p { margin: 0; }
.feed-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.clear { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
.clear .icon { width: 15px; height: 15px; }
.sort { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; }
.sort a { padding: 5px 10px; border-radius: 7px; font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; }
.sort a:hover { color: var(--ink); }
.sort a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 8px 4px 12px; border-radius: 999px;
    background: var(--accent-soft); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
.chip .icon { width: 14px; height: 14px; color: var(--muted); }
.chip:hover { color: var(--ink); border-color: var(--accent); }
.chip:hover .icon { color: var(--ink); }

.jobs {
    list-style: none; margin: 0; padding: 0;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.job + .job { border-top: 1px solid var(--line); }
.job > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 20px; padding: 18px 22px; color: inherit; text-decoration: none; transition: background-color .15s; }
.job > a:hover { background: color-mix(in srgb, var(--surface-2) 70%, var(--surface)); }
.job > a:hover h3 { color: var(--accent); }
.job h3 { margin: 0 0 4px; font-size: 17px; line-height: 1.4; font-weight: 600; transition: color .15s; overflow-wrap: anywhere; }
.job-sub { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 10px; font-size: 15px; color: var(--ink-2); }
.job-sub span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.job-sub .icon { width: 15px; height: 15px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); line-height: 1.5; }
.tag .icon { width: 13px; height: 13px; }
.tag-remote { color: var(--accent); }
.tag-deadline { color: var(--important); background: var(--important-soft); border-color: transparent; }
.job-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; text-align: right; }
.salary { display: inline-block; padding: 4px 10px; border-radius: 8px; background: var(--salary-soft); color: var(--salary); font-size: 14px; font-weight: 500; white-space: nowrap; }
.job-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.source { display: inline-flex; align-items: center; gap: 7px; font-weight: 500; color: var(--ink-2); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.badge-new { background: var(--new-soft); color: var(--new); }
.badge-closed { background: var(--important-soft); color: var(--important); }
.badge-count { background: var(--accent); color: var(--accent-ink); padding: 0 7px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.empty { text-align: center; padding: 56px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.empty h1, .empty h2 { color: var(--ink); font-size: 20px; margin: 0 0 6px; }
.empty p { margin: 0 0 18px; }
.empty p:last-child { margin-bottom: 0; }

/* ─── Detail ─────────────────────────────────────────────────────────── */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--accent); }
.crumbs .icon { width: 15px; height: 15px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.article { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 36px 40px; box-shadow: var(--shadow); min-width: 0; }
.article-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.article-head h1 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 650; margin: 14px 0 0; }

.prose { font-size: 17px; line-height: 1.7; color: var(--ink-2); max-width: 68ch; overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.05em; }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose h2, .prose h3, .prose h4, .prose h5 { color: var(--ink); font-size: 18px; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.05em; }
.prose li + li { margin-top: .3em; }
.prose a { font-weight: 500; }
.prose blockquote { margin: 0 0 1em; padding-left: 16px; border-left: 3px solid var(--line-strong); color: var(--muted); }
.prose table { border-collapse: collapse; display: block; overflow-x: auto; font-size: 15px; margin: 0 0 1em; }
.prose td, .prose th { border: 1px solid var(--line); padding: 7px 11px; text-align: left; }
.hint { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.hint .icon { width: 15px; height: 15px; }

.detail-side { position: sticky; top: 88px; display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.panel-accent { background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 22%, var(--line)); box-shadow: none; }
.panel-accent p { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink) !important; margin-bottom: 4px !important; }
.panel-title .icon { color: var(--accent); width: 18px; height: 18px; }
.side-title { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }

.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.files a {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .15s, background-color .15s;
}
.files a:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.file-icon { position: relative; display: grid; place-items: center; width: 36px; height: 40px; flex: none; color: var(--important); }
.file-icon .icon { width: 36px; height: 40px; stroke-width: 1.4; }
.file-icon span { position: absolute; bottom: 7px; font: 700 8.5px/1 var(--mono); letter-spacing: .02em; }
.file-name { overflow-wrap: anywhere; }
.copies { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.copies a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; }
.copies a:hover { color: var(--accent); }

.article-company { margin: 8px 0 0; font-size: 18px; color: var(--ink-2); font-weight: 500; }
.salary-big { display: inline-flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 8px 14px; border-radius: 10px; background: var(--salary-soft); color: var(--salary); font-size: 18px; font-weight: 500; }
.salary-big .icon { width: 20px; height: 20px; }
.prose-text { white-space: normal; }
.facts { display: grid; gap: 14px; margin: 20px 0 0; }
.facts div { display: grid; gap: 2px; }
.facts dt { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.facts dt .icon { width: 14px; height: 14px; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.copies .icon { width: 13px; height: 13px; color: var(--muted); }

/* ─── Salary stats ───────────────────────────────────────────────────── */
.page-head { max-width: 720px; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.15; font-weight: 650; margin: 0 0 12px; }
.page-head .lead { font-size: 17px; color: var(--ink-2); margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 19px; margin: 0 0 4px; }
.card > p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.scroll { overflow-x: auto; }
.bars { width: 100%; border-collapse: collapse; font-size: 15px; }
.bars th { text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 0 10px 10px 0; white-space: nowrap; }
.bars td { padding: 9px 10px 9px 0; border-top: 1px solid var(--line); vertical-align: middle; }
.bars td.num { text-align: right; white-space: nowrap; }
.bars th.num { text-align: right; }
.bars a { color: var(--ink); text-decoration: none; font-weight: 500; }
.bars a:hover { color: var(--accent); }
.bar { position: relative; height: 10px; min-width: 120px; border-radius: 999px; background: var(--surface-2); }
.bar i { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 35%, transparent); border-radius: 999px; }
.bar b { position: absolute; top: -3px; bottom: -3px; width: 3px; margin-left: -1px; border-radius: 2px; background: var(--accent); }

/* ─── Footer ─────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-block: 32px 40px; font-size: 14px; color: var(--muted); }
.footer-title { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.footer-sources { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-sources li { display: inline-flex; align-items: center; gap: 8px; }
.footer a { color: var(--ink-2); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-meta p { margin: 0 0 10px; max-width: 52ch; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .detail { grid-template-columns: minmax(0, 1fr); }
    .detail-side { position: static; }
    .hero { grid-template-columns: minmax(0, 1fr); }
    .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
    .layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .filters > summary { display: flex; }
    .filters[open] > summary { margin-bottom: 16px; }
    .sidebar { position: static; max-height: none; overflow: visible; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
    .scrolly { max-height: 260px; }
}

@media (max-width: 560px) {
    .container { padding-inline: 16px; }
    .page { padding-top: 20px; }
    .brand-text span { display: none; }
    .topnav > a span { display: none; }
    .hero { padding: 24px 20px; border-radius: 16px; }
    .hero-search .btn { padding-inline: 14px; }
    .stats div { min-width: 0; padding: 10px 12px; }
    .stats dd { font-size: 22px; }
    .job > a { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .alert-box { flex-wrap: wrap; }
    .alert-box .btn { width: 100%; }
    .job-side { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; }
    .job-meta { justify-content: flex-start; }
    .article { padding: 24px 20px; border-radius: 16px; }
    .card { padding: 18px; }
    .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
.topnav .icon { width: 17px; height: 17px; }
