@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,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: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Robota Tut: «рабочая табличка». Правила — в docs/design.md.
   Один яркий элемент — жёлтая бирка суммы. Зелёный — только кнопка звонка. Тени почти нигде. */

/* ───────── Токены (единственный блок цветов) ───────── */
:root {
  --ink: #14233F;          /* текст, заголовки */
  --paper: #FFFFFF;        /* фон страницы и списков */
  --mist: #EEF1F4;         /* поля, подложки */
  --signal: #FFD23F;       /* ТОЛЬКО бирка суммы и метка Топ */
  --on-signal: #14233F;    /* текст на жёлтом (в обеих темах тёмный) */
  --action: #1F55D6;       /* ссылки, кнопки, активный пункт */
  --on-action: #FFFFFF;
  --call: #178A4C;         /* ТОЛЬКО кнопка телефона / звонка */
  --on-call: #FFFFFF;
  --line: #D9DEE5;         /* разделители */
  --muted: #566176;        /* второстепенный текст */
  --danger: #C42B2B; --danger-soft: #FCE9E9;   /* ошибки, удаление */
  --good: #12703F; --good-soft: #E4F4EB;       /* статусы «принято / проверено» в кабинете */
  --scrim: rgba(10, 20, 35, .45);
  --r-field: 10px; --r-panel: 14px; --r-tag: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E8ECF3; --paper: #0F1522; --mist: #182132; --signal: #FFD23F; --on-signal: #14233F;
    --action: #7AA2FF; --on-action: #0F1522; --call: #2FB56A; --on-call: #0F1522; --line: #263043; --muted: #9AA6BA;
    --danger: #FF8A8A; --danger-soft: #3A1A1F; --good: #5ED398; --good-soft: #12301F; --scrim: rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E8ECF3; --paper: #0F1522; --mist: #182132; --signal: #FFD23F; --on-signal: #14233F;
  --action: #7AA2FF; --on-action: #0F1522; --call: #2FB56A; --on-call: #0F1522; --line: #263043; --muted: #9AA6BA;
  --danger: #FF8A8A; --danger-soft: #3A1A1F; --good: #5ED398; --good-soft: #12301F; --scrim: rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ───────── База ───────── */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.5 Inter, system-ui, sans-serif; background: var(--paper); color: var(--ink); display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > header, body > main, body > section, body > footer, body > .wrap { width: 100%; }
.footer { margin-top: auto; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
h1 { font-weight: 800; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.full { width: 100%; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
body.no-scroll { overflow: hidden; }
.only-mobile, .btn.only-mobile, .icon-btn.only-mobile { display: none; }
.show-sm { display: none; }

.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ───────── Кнопки и поля ───────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid transparent; border-radius: var(--r-field); padding: 10px 18px; font-weight: 600; line-height: 1.2; cursor: pointer; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--mist); }
.btn-call { background: var(--call); color: var(--on-call); font-weight: 700; }
.btn-call:hover { filter: brightness(1.08); }
.btn-danger { background: none; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--paper); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-big { display: flex; width: 100%; font-size: 19px; padding: 14px 18px; }
.btn-google { background: var(--paper); color: var(--ink); border-color: var(--line); min-height: 50px; font-weight: 600; }
.btn-google:hover { background: var(--mist); }

.link { display: inline-flex; align-items: center; gap: .35em; min-height: 40px; background: none; border: 0; padding: 0; color: var(--action); cursor: pointer; font-weight: 500; }
.link.small { font-size: 13px; }
.icon-btn { min-width: 40px; min-height: 40px; display: inline-grid; place-items: center; background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; }
.icon-btn .ico { width: 20px; height: 20px; }
.pill { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: var(--r-tag); background: var(--mist); color: var(--ink); font-size: 12px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.pill:empty { display: none; }
.pill.alert, .badge.alert { background: var(--danger); color: var(--paper); }

input, select, textarea { font-size: 16px; }
.field { display: block; margin-bottom: 12px; font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 44px; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--mist); }
.field textarea { resize: vertical; }
.field input:disabled { opacity: .7; }
.select, #sort { min-height: 44px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--paper); padding: 9px 10px; }
.field[aria-invalid] input, .field[aria-invalid] select, .field[aria-invalid] textarea { border-color: var(--danger); }
.field.compact { margin-bottom: 8px; font-size: 13px; color: var(--muted); }
.field.compact select, .field.compact input { margin-top: 4px; padding: 8px 10px; min-width: 150px; }
.field.grow { flex: 1; min-width: 200px; }
.field-narrow { max-width: 280px; }
.field-label { font-weight: 500; font-size: 14px; margin: 4px 0 6px; }
.field-msg { color: var(--danger); font-size: 14px; font-weight: 500; margin: 4px 0 0; }
.form-error { color: var(--danger); font-weight: 500; min-height: 1.2em; margin: 4px 0 10px; }
.bad-text, .warn-text { color: var(--danger); font-weight: 500; }
.ok-text { color: var(--good); font-size: 13px; }
[data-field][aria-invalid] .field-label, .consent[aria-invalid] { color: var(--danger); }
.hint { font-size: 13px; color: var(--muted); margin: -8px 0 12px; }
.hint.counter { margin-top: -6px; }
.note { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.radios { border: 0; padding: 0; margin: 0 0 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.consent { align-items: flex-start; margin: 4px 0 8px; }
.consent input { margin-top: 3px; flex: none; }
.consent a, .note a, .legal a { color: var(--action); text-decoration: underline; text-underline-offset: 2px; }
.opt { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 0; cursor: pointer; font-size: 15px; }
.opt input { accent-color: var(--action); width: 18px; height: 18px; }
.opt .n { margin-left: auto; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.opt.zero { opacity: .45; }
.range { width: 100%; accent-color: var(--action); }
.range-val { font-weight: 700; font-variant-numeric: tabular-nums; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 1px solid var(--line); background: var(--mist); color: var(--ink); border-radius: var(--r-field); padding: 4px 12px; font-size: 14px; font-weight: 500; cursor: pointer; }
.chip .ico-x { width: 14px; height: 14px; opacity: .7; }
.chip[aria-pressed="true"] { border-color: var(--ink); }
.dim { opacity: .55; }

/* ───────── Шапка ───────── */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; gap: 20px; height: 62px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.logo b { color: var(--action); }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.logo-mark .ico { width: 18px; height: 18px; }
.nav { display: flex; gap: 18px; margin-left: 12px; font-weight: 500; color: var(--muted); }
.nav a { white-space: nowrap; }
.nav a:hover, .nav .link:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--action); font-weight: 600; }
.lang { margin-left: auto; display: flex; border: 1px solid var(--line); border-radius: var(--r-field); overflow: hidden; }
.lang[hidden] + * { margin-left: auto; }
.lang button, .lang a { min-height: 40px; min-width: 40px; display: inline-grid; place-items: center; border: 0; background: none; padding: 5px 9px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; cursor: pointer; }
.lang button[aria-pressed="true"], .lang a[aria-current="true"] { background: var(--ink); color: var(--paper); }
#themeBtn { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--r-field); }
.nav + #themeBtn { margin-left: auto; } /* язык один: .lang нет, кнопку темы прижимаем вправо сами */
.saved-btn { color: var(--muted); white-space: nowrap; min-height: 40px; padding: 0 6px; }
.saved-btn:hover, .saved-btn[aria-pressed="true"] { color: var(--ink); }
.saved-btn[aria-pressed="true"] .ico { fill: currentColor; }
#postBtn { min-height: 40px; }
.user-box { display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* ───────── Главная: заголовок, поиск, отрасли ───────── */
.list-top { padding-top: 4px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-size: 14px; color: var(--muted); margin: 14px 0 12px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.list-top h1, .page-h1 { font-size: 32px; margin: 2px 0 6px; }
.list-stats { margin: 0 0 16px; color: var(--muted); font-size: 16px; }
.list-stats b { color: var(--ink); font-variant-numeric: tabular-nums; }

.search { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 8px; max-width: 880px; }
.search-field { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 0 12px; background: var(--mist); border-radius: var(--r-field); }
.search-field > .ico { width: 20px; height: 20px; color: var(--muted); }
.search-field input { flex: 1; width: 100%; min-width: 0; min-height: 48px; padding: 10px 4px; border: 0; background: transparent; outline: none; }
.search-field:focus-within { outline: 2px solid var(--action); outline-offset: 2px; }
.search .btn { min-height: 48px; padding: 10px 28px; font-size: 16px; }
.where-hint { min-height: 22px; margin: 8px 2px 0; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.where-hint:empty { display: none; }
.place-hint { font-size: 14px; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.place-hint.ok { color: var(--good); font-weight: 600; }
.place-hint.bad { color: var(--danger); }
.place-hint .ico { width: 16px; height: 16px; }

/* отрасли: текст + число, без «пилюль»; активная подчёркнута */
.ichips { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; margin-top: 16px; border-bottom: 1px solid var(--line); }
.ichips::-webkit-scrollbar { display: none; }
.ichip { flex: none; display: inline-flex; align-items: baseline; gap: 6px; min-height: 44px; padding: 8px 0 10px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--muted); font-size: 16px; font-weight: 500; white-space: nowrap; cursor: pointer; }
.ichip b { font-weight: 500; font-size: 14px; font-variant-numeric: tabular-nums; }
.ichip:hover { color: var(--ink); }
.ichip[aria-pressed="true"] { color: var(--ink); font-weight: 700; border-bottom-color: var(--action); }

/* ───────── Фильтры и список ───────── */
.layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding: 20px 16px 40px; }
.results { min-width: 0; }
.filters { position: sticky; top: 78px; max-height: calc(100vh - 94px); overflow: auto; padding: 0 4px 0 0; }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.filters-head h2 { font-size: 18px; }
.fgroup { border-top: 1px solid var(--line); padding: 12px 0; }
.fgroup h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.filter-word { display: block; margin: 0 0 4px; }
.filter-word input { width: 100%; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.results-head h2 { font-size: 16px; font-weight: 500; color: var(--muted); }
.results-tools { display: flex; gap: 8px; }
.dist { color: var(--action); font-weight: 600; white-space: nowrap; }

/* карточка (кабинет, подработки, резюме) */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px 18px; display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.card h3 { font-size: 17px; }
.card h3 a:hover { color: var(--action); }
.card h3 button { all: unset; cursor: pointer; }

/* список вакансий: одна панель, строки через тонкую линию */
.cards { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 12px; }
.vcards, .ag-list { gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.vcards > li + li, .ag-list > li + li { border-top: 1px solid var(--line); }
.vcards > .empty { border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
.vcards > .skeleton { height: 112px; border: 0; border-radius: 0; }
.vcards > .skeleton + .skeleton { border-top: 1px solid var(--line); }

.vcard { position: relative; border: 0; border-radius: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title pay" "place pay" "foot foot"; column-gap: 20px; row-gap: 4px; align-items: start; padding: 16px 20px 12px 24px; background: var(--paper); cursor: pointer; }
.vcard:hover { background: var(--mist); }
.vcard.top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--signal); }
.vcard h3 { grid-area: title; font-size: 18px; line-height: 1.3; }
.vcard h3 a { color: var(--ink); }
.vcard h3 a::after { content: ""; position: absolute; inset: 0; }
.vcard h3 .badge { position: relative; z-index: 1; margin-left: 10px; }
.vc-pay { grid-area: pay; justify-self: end; text-align: right; max-width: 260px; }
.vc-pay b { display: inline-block; padding: 3px 10px; border-radius: var(--r-tag); background: var(--signal); color: var(--on-signal); font-size: 22px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.vc-pay span { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.vc-pay span.vc-neg { margin: 0; font-size: 15px; font-weight: 600; color: var(--muted); }
.vc-place { grid-area: place; display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; font-size: 15px; }
.vc-place .ico { width: 16px; height: 16px; margin-right: -4px; color: var(--muted); }
.vc-tag { font-size: 14px; font-weight: 600; color: var(--ink); }
.vc-foot { grid-area: foot; display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 4px; font-size: 14px; color: var(--muted); }
.vc-agency { position: relative; z-index: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.vc-agency:hover { color: var(--ink); text-decoration: underline; }
.vc-date { margin-left: auto; flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vc-save { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin: -8px -10px -8px 0; border: 0; border-radius: var(--r-field); background: none; color: var(--muted); cursor: pointer; }
.vc-save .ico { width: 18px; height: 18px; }
.vc-save:hover { color: var(--ink); }
.vc-save[aria-pressed="true"] { color: var(--action); }
.vc-save[aria-pressed="true"] .ico, .save-btn[aria-pressed="true"] .ico { fill: currentColor; }
.verified-inline { position: relative; z-index: 1; display: inline-flex; color: var(--action); white-space: nowrap; }
.verified-inline .ico { width: 17px; height: 17px; vertical-align: -3px; }

/* метки: без заглавных, без цветных плашек */
.badge { font-size: 13px; font-weight: 700; color: var(--ink); vertical-align: 1px; }
.badge.new { color: var(--action); font-weight: 600; }
.badge.mine { color: var(--action); }
.badge .ico { width: 12px; height: 12px; vertical-align: -1px; }
.badge.alert { padding: 1px 7px; border-radius: var(--r-tag); }
.who { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--muted); }
.who .ico { width: 15px; height: 15px; }

/* ───────── Карточки кабинета, объявления, резюме ───────── */
.meta { color: var(--muted); font-size: 14px; }
.meta .ico { width: 15px; height: 15px; vertical-align: -2px; }
.pay { text-align: right; font-weight: 800; font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pay small { font-weight: 500; color: var(--muted); font-size: 13px; }
.pay.big { text-align: left; font-size: 24px; margin: 12px 0 16px; }
.tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 3px 9px; border-radius: var(--r-tag); background: var(--mist); }
.tag .ico { width: 14px; height: 14px; }
.tag.good { font-weight: 600; }
.card-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.card-foot .sp { margin-left: auto; }
.card-foot .danger-link { margin-left: 0; }
.save-btn.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-field); }
.save-btn { padding: 0 8px; }
.save-btn[aria-pressed="true"] { color: var(--action); }
.resume-card .desc, .gig-card .desc, .resume-card > .meta { grid-column: 1 / -1; margin: 6px 0 0; }
.gig-card.focus { border-color: var(--action); outline: 2px solid var(--action); outline-offset: -2px; }
.contacts { font-weight: 600; }
.contacts a { color: var(--action); }
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.desc { white-space: pre-line; margin: 12px 0; }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); background: var(--paper); border-radius: var(--r-panel); border: 1px solid var(--line); }
/* Кнопка в пустом состоянии: отдельной строкой под текстом */
.empty .btn { display: flex; align-items: center; justify-content: center; width: fit-content; margin: 16px auto 0; }
.empty br { display: none; }
.big-empty h1 { font-size: 48px; margin-bottom: 8px; }
.big-empty h1.h-msg { font-size: 20px; }
.big-ico { line-height: 0; margin-bottom: 8px; }
.big-ico .ico { width: 64px; height: 64px; stroke-width: 1.5; color: var(--muted); }
.skeleton { height: 120px; background: linear-gradient(90deg, var(--paper) 25%, var(--mist) 50%, var(--paper) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

.faq { padding: 24px 16px 48px; }
.faq h2 { margin-bottom: 14px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 8px 0 0; }
.about-sec { padding: 8px 16px; }
.about-sec h2 { font-size: 22px; margin-bottom: 8px; }
.about-sec p { color: var(--muted); max-width: 860px; line-height: 1.6; }
.popular { padding: 8px 16px; }
.popular h2 { margin-bottom: 12px; }
.popular h3 { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.popular p a { color: var(--action); font-weight: 600; }
.link-cloud { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.link-cloud li { background: var(--mist); border-radius: var(--r-field); padding: 10px 14px; font-size: 14px; }
.link-cloud a { color: var(--action); font-weight: 500; }
.link-cloud a:hover { text-decoration: underline; }

/* ───────── Подвал ───────── */
.footer { border-top: 1px solid var(--line); padding: 20px 0; color: var(--muted); font-size: 13px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 4px 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 4px 16px; flex-wrap: wrap; }
.footer-links a { display: inline-flex; align-items: center; min-height: 32px; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.legal p { max-width: 70ch; }

/* ───────── Окна, уведомления ───────── */
dialog { border: 0; border-radius: var(--r-panel); padding: 0; width: min(560px, calc(100vw - 32px)); background: var(--paper); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
dialog::backdrop { background: var(--scrim); }
.modal { padding: 24px; }
.modal h2 { font-size: 22px; padding-right: 30px; }
.modal .x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 16px 0; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions-minor { margin-top: 14px; gap: 16px; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: var(--r-field); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-weight: 500; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { background: var(--good); color: var(--paper); }
.toast.bad { background: var(--danger); color: var(--paper); }
.toast[popover] { inset: auto; left: 50%; bottom: 24px; margin: 0; border: 0; overflow: visible; }
.toast[popover]:popover-open { display: block; }

/* ───────── Страница вакансии ───────── */
.page { padding: 28px 16px 48px; min-height: 60vh; }
.vp { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; padding-bottom: 32px; }
.vp-main { min-width: 0; max-width: 760px; }
.vp-card { padding: 22px 0; border-top: 1px solid var(--line); }
.vp-card h2 { font-size: 20px; margin-bottom: 12px; }
.vp-head { padding-top: 0; border-top: 0; }
.vp-head h1 { font-size: 32px; margin: 8px 0 6px; }
.vp-company { font-size: 18px; font-weight: 600; }
.vp-loc { display: flex; align-items: center; gap: 6px; font-size: 16px; margin-top: 4px; color: var(--muted); }
.vp-loc .ico { width: 18px; height: 18px; }
.vp-meta { display: flex; gap: 18px; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* сумма: крупная жёлтая бирка, под ней строка со ставкой */
.vp-salary { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0 18px; }
.vp-salary #calcBox, .vp-salary .money { display: contents; }
.vp-salary-lbl { order: 0; }
.vp-salary-big, .vp-salary .money-big { order: 1; }
.vp-salary .money-how { order: 2; }
.vp-salary-sub { order: 3; }
.vp-salary .money-housing { order: 4; }
.vp-salary .calc { order: 5; }
.vp-salary-lbl { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 6px; }
.vp-salary .money-label { display: none; }
.vp-salary .money { padding: 0; margin: 0; background: none; }
.vp-salary-big, .vp-salary .money-big { display: block; padding: 4px 16px; border-radius: var(--r-tag); background: var(--signal); color: var(--on-signal); font-size: 34px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; }
.vp-salary-big small { font-size: 18px; font-weight: 700; }
.vp-salary .money-big { margin: 0; }
.vp-salary .money-how, .vp-salary-sub, .vp-salary .money-housing { margin-top: 8px; font-size: 15px; color: var(--muted); }
.vp-salary .money-housing { font-weight: 600; color: var(--ink); }
.vp-salary .calc { margin: 6px 0 0; padding: 0; border: 0; background: none; }
.vp-salary .calc summary { color: var(--action); font-weight: 500; font-size: 15px; min-height: 40px; display: flex; align-items: center; }
.calc { border: 1px solid var(--line); border-radius: var(--r-panel); padding: 12px 14px; margin: 0 0 18px; background: var(--mist); }
.calc summary { font-weight: 600; cursor: pointer; }
.calc[open] summary { margin-bottom: 10px; }
.calc-inputs { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; }
.calc-inputs label { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); gap: 4px; }
.calc-inputs input, .calc-inputs select { width: 120px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-field); background: var(--paper); }
.calc-out { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; margin: 0; font-size: 14px; }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.calc-out dd.big { font-size: 18px; font-weight: 800; }
.calc .note { margin: 10px 0 0; }

.vp-contact { padding-top: 0; border-top: 0; }
.vp-contact h2 { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vp-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.vp-phone .btn-call { flex: 1 1 260px; min-height: 56px; font-size: 19px; }
.vp-masked { font-size: 20px; font-weight: 700; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.vp-phone:has(.vp-masked) { padding: 8px 8px 8px 16px; background: var(--mist); border-radius: var(--r-panel); justify-content: space-between; }
.vp-phone:has(.vp-masked) .btn-call { flex: none; }
.vp-tel { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.vp-messengers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.vp-contact .note { margin: 10px 0 0; }
.vp-sub { font-size: 16px; margin: 18px 0 8px; }
.vp-warn { display: flex; gap: 10px; align-items: flex-start; background: var(--mist); border-radius: var(--r-panel); padding: 12px 14px; margin-top: 16px; font-size: 14px; }
.vp-warn p { margin: 0; }
.vp-warn .ico { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--danger); }
.vp-emp { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.vp-emp .ico { width: 16px; height: 16px; color: var(--action); vertical-align: -2px; }
.vp-avatar { flex: none; width: 48px; height: 48px; border-radius: var(--r-field); background: var(--mist); color: var(--ink); display: grid; place-items: center; font-weight: 800; }
.vp-avatar.big { width: 64px; height: 64px; border-radius: var(--r-panel); font-size: 22px; }
.vp-actions { display: flex; gap: 18px; flex-wrap: wrap; margin: 14px 0 0; }
.vp-side { position: sticky; top: 84px; display: grid; gap: 12px; }
.vp-side h2 { font-size: 18px; }
.vp-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.vp-links a { color: var(--action); }
.vp-sticky { display: none; }
/* условия: «название — значение» с тонкими линиями, иконки приглушены */
.facts { list-style: none; padding: 0; margin: 0 0 12px; }
.facts li { display: grid; grid-template-columns: 28px minmax(110px, 38%) 1fr; align-items: baseline; gap: 0 8px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts li:first-child { border-top: 1px solid var(--line); }
.fi { color: var(--muted); line-height: 1; }
.fi .ico { width: 20px; height: 20px; vertical-align: -4px; }
.fk { color: var(--muted); font-size: 14px; }
.facts b { font-weight: 600; }
.perk-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 16px; }
.perk-list li { display: flex; align-items: flex-start; gap: 6px; font-weight: 500; }
.perk-list .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--muted); }
.vp-side .vcard { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "pay" "place" "foot"; padding: 14px 16px 10px 20px; }
.vp-side .vc-pay { justify-self: start; text-align: left; margin: 4px 0 2px; }
.vp-side .vc-pay b { font-size: 20px; }
.vp-side .vc-place { margin-top: 2px; }
.vp-side .vcards { margin: 0; }
.desc-title { font-size: 16px; margin: 10px 0 0; }

/* ───────── Агентства и отзывы ───────── */
.ag-list { list-style: none; padding: 0; margin: 0 0 32px; display: block; }
.ag-row { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 0; border: 0; }
.ag-info { display: grid; gap: 2px; min-width: 0; }
.ag-info a { color: var(--ink); font-size: 17px; font-weight: 600; }
.ag-rate { text-align: right; font-size: 14px; }
.stars { color: var(--line); white-space: nowrap; display: inline-flex; gap: 1px; vertical-align: -2px; }
.stars .ico { width: 16px; height: 16px; }
.stars .ico.on { color: var(--ink); fill: currentColor; }
.ag-head { display: flex; gap: 16px; align-items: flex-start; }
.ag-head h1 { font-size: 32px; margin: 2px 0 8px; }
.ag-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.ag-rev-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ag-rev-head h2 { margin: 0; }
.rev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.rev-list li { border-top: 1px solid var(--line); padding-top: 12px; }
.rev-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.rev-list p { margin: 6px 0 0; white-space: pre-line; }
.rev-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.rev-form [data-field="rating"] { display: block; }
.rate-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-top: 4px; }
.rate-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-pick label { line-height: 0; color: var(--line); cursor: pointer; padding: 4px; }
.rate-pick label .ico { width: 34px; height: 34px; }
.rate-pick input:checked ~ label, .rate-pick label:hover, .rate-pick label:hover ~ label { color: var(--ink); }
.rate-pick input:checked ~ label .ico, .rate-pick label:hover .ico, .rate-pick label:hover ~ label .ico { fill: currentColor; }
.rate-pick input:focus-visible + label { outline: 2px solid var(--action); border-radius: var(--r-tag); }
.ag-jobs-h { font-size: 20px; margin: 6px 0 10px; }
.ag-page { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* ───────── Посадочные /robota/…: та же строка, что и на главной ───────── */
.landing h1 { font-size: 32px; margin-bottom: 8px; }
.landing h2 { font-size: 19px; margin: 28px 0 10px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 16px; max-width: 70ch; }
.landing .cards { margin-top: 16px; }
.job-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; row-gap: 4px; align-items: start; padding: 16px 20px 16px 24px; border: 0; border-radius: 0; }
.job-card > * { grid-column: 1; min-width: 0; }
.job-card.top::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--signal); }
.job-card h3 { font-size: 18px; line-height: 1.3; }
.job-card h3 a { display: inline-block; color: var(--ink); }
.job-card h3 a:hover { text-decoration: underline; }
.job-card h3 .badge { margin-left: 10px; }
.job-card > .jc-pay { grid-column: 2; grid-row: 1 / span 4; justify-self: end; }
.job-card > .jc-open { grid-column: 2; grid-row: 5; justify-self: end; }
.jc-who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 15px; color: var(--muted); }
.jc-company { color: var(--ink); font-weight: 600; }
.jc-workplace, .jc-place, .jc-perks, .jc-date { display: flex; align-items: flex-start; gap: 6px; font-size: 15px; }
.jc-workplace .ico, .jc-place .ico, .jc-perks .ico, .jc-date .ico, .jc-facts .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.jc-date { font-size: 14px; color: var(--muted); }
.jc-perks { font-weight: 600; }
.jc-facts { list-style: none; padding: 0; margin: 2px 0; display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: 14px; }
.jc-facts li { display: flex; align-items: flex-start; gap: 6px; min-width: 0; color: var(--muted); }
.jc-facts li.good { color: var(--ink); font-weight: 600; }
.jc-pay { display: grid; justify-items: end; text-align: right; gap: 3px; }
.money-net { display: inline-block; padding: 3px 10px; border-radius: var(--r-tag); background: var(--signal); color: var(--on-signal); font-size: 22px; font-weight: 800; line-height: 1.25; font-variant-numeric: tabular-nums; white-space: nowrap; }
.money-sub { font-size: 13px; color: var(--muted); }

/* ───────── Реклама (только платные места, когда включены) ───────── */
.ad { position: relative; display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 16px 18px 14px; margin: 0 0 12px; }
.ad-label { position: absolute; top: 6px; right: 10px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ad-logo { width: 48px; height: 48px; border-radius: var(--r-field); object-fit: cover; flex: none; background: var(--mist); }
.ad-body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ad-body span { color: var(--muted); font-size: 14px; }
.ad-partner { background: var(--mist); }
.ad-empty { border-style: dashed; background: transparent; }
.ad-li { list-style: none; }
.vcards > .ad-li .ad { margin: 0; border: 0; border-radius: 0; background: var(--mist); }
.ad-li .ad { margin: 0; }
.partner-wrap { margin-top: -8px; margin-bottom: 8px; }
.partner-wrap:empty { display: none; }
.home .partner-wrap { margin: 0 auto 24px; }
.home .partner-wrap:not(:empty) { display: block; }

/* ───────── Кабинет, админка, формы ───────── */
.auth { max-width: 440px; margin: 0 auto; }
.auth h1 { margin-bottom: 6px; }
.auth .auth-card { max-width: 440px; margin: 24px auto; padding: 24px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card > .muted { margin: 0 0 18px; font-size: 15px; }
.auth-card .btn-big { display: flex; align-items: center; justify-content: center; gap: 8px; }
.auth-card .btn-big .ico { width: 18px; height: 18px; }
.auth-card .switch { margin: 14px 0 0; }
.auth-card .note.center { margin-top: 10px; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0 6px; color: var(--muted); font-size: 14px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.input-ico { position: relative; display: flex; align-items: center; }
.input-ico > .ico { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.input-ico input { padding-left: 40px; width: 100%; }
.input-ico .pw-toggle { position: absolute; right: 4px; width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.input-ico:has(.pw-toggle) input { padding-right: 46px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 20px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 18px 0 16px; overflow-x: auto; }
.tabs > * { background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.tabs > [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--action); }
.dash-head { margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.stats { display: flex; gap: 28px; color: var(--muted); }
.stats b { display: block; font-size: 24px; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-row { margin: 12px 0 0; flex-wrap: wrap; }
.status { font-size: 13px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-tag); vertical-align: 2px; margin-left: 6px; white-space: nowrap; background: var(--mist); color: var(--ink); }
.st-approved { background: var(--good-soft); color: var(--good); }
.st-rejected { background: var(--danger-soft); color: var(--danger); }
.st-archived, .st-expired { color: var(--muted); border: 1px solid var(--line); background: none; }
.reject-note { background: var(--danger-soft); color: var(--danger); border-radius: var(--r-field); padding: 8px 12px; margin: 10px 0 0; font-size: 14px; }
.my-job .actions, .mod-card .actions, .app-item .actions { grid-column: 1 / -1; }
.app-item.unseen { border-left: 4px solid var(--action); }
.lang-text { margin-top: 12px; }
.job-form fieldset { border: 0; border-top: 1px solid var(--line); padding: 16px 0 4px; margin: 0; }
.job-form legend { font-weight: 700; padding-right: 8px; }
.lang-block { border: 1px solid var(--line); border-radius: var(--r-field); padding: 10px 14px; margin-bottom: 10px; }
.lang-block summary { font-weight: 600; cursor: pointer; }
.lang-block[open] summary { margin-bottom: 10px; }
.grid2, .grid3 { display: grid; gap: 0 16px; }
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.table-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-panel); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: 13px; }
.table tr.blocked td { opacity: .55; }
#statusFilter { margin-bottom: 12px; }
.verified { color: var(--good); background: var(--good-soft); border-radius: var(--r-field); padding: 8px 12px; margin: 10px 0; font-size: 14px; font-weight: 500; }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--mist); color: var(--ink); border-radius: var(--r-field); padding: 12px 16px; margin-bottom: 18px; font-weight: 500; }
.banner > .ico { width: 20px; height: 20px; flex: none; }
.banner.warn { justify-content: flex-start; flex-wrap: nowrap; }
.right { text-align: right; margin: -4px 0 8px; }
.center { text-align: center; margin: 14px 0 0; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.profile-grid .panel + .panel, .profile-grid > div > .panel + .panel { margin-top: 16px; }
.profile-grid h2 { font-size: 17px; margin-bottom: 12px; }
.danger-zone summary { color: var(--danger); cursor: pointer; font-weight: 600; }
.danger-zone form { margin-top: 10px; }
.danger-link { color: var(--danger); margin-left: auto; }
.pay-left { text-align: left; margin-top: 10px; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 14px; background: var(--mist); border-radius: var(--r-panel); padding: 14px 16px 6px; margin: 16px 0; }
.filter-bar .opt { margin-bottom: 10px; }
.filter-bar .field.compact { flex: 1 1 200px; max-width: 320px; }
.filter-bar .field.compact select, .filter-bar .field.compact input { min-width: 0; }
.found { font-size: 18px; margin: 4px 0 12px; }
.links-form { margin-top: 16px; max-width: 520px; }
.links-form summary, .promo summary { cursor: pointer; font-weight: 600; color: var(--action); }
.links-form form { margin-top: 10px; }
.promo { margin-top: 10px; }
.promo summary { font-size: 14px; }
.promo-form { margin-top: 8px; }
.promo-on { color: var(--ink); font-weight: 600; margin: 8px 0 0; font-size: 14px; }
.section-title { font-size: 18px; margin: 26px 0 10px; }
.adv-points { padding-left: 20px; line-height: 1.8; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.adv-card h3 { font-size: 16px; margin-bottom: 4px; }
.adv-card p { margin: 4px 0; }
.adv-price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.adv-form { max-width: 720px; }
.notice { margin-top: 0; }
.perks-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 4px 20px; }
.perk-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); }
.perk-row .opt { flex: 1; min-height: 44px; }
.perk-val { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.perk-val input { width: 90px; padding: 8px 10px; }
.perk-row[aria-invalid] { border-bottom-color: var(--danger); }
.perk-row .field-msg { flex-basis: 100%; }
.perk-row:has(.field-msg) { flex-wrap: wrap; }
.perk-plus { width: 10px; text-align: right; }
.perk-val .muted { min-width: 66px; }

/* ───────── Нижнее меню (телефон) ───────── */
.bottom-nav { display: none; }

/* ───────── Планшет и телефон ───────── */
@media (max-width: 900px) {
  .layout { grid-template-columns: 1fr; padding-top: 8px; }
  .only-mobile, .btn.only-mobile { display: inline-flex; }
  .icon-btn.only-mobile { display: inline-grid; }
  .nav { display: none; }
  .partner-wrap { display: none; }
  .vp { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .vp-main { max-width: none; }
  .vp-side { position: static; }
  .popular-grid { grid-template-columns: 1fr; }
  /* фильтры: нижняя шторка */
  .filters { position: fixed; left: 0; right: 0; top: auto; bottom: 0; height: 88vh; max-width: 100vw; max-height: none; overflow-x: hidden; z-index: 50; padding: 16px 16px 0; background: var(--paper); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .22s; }
  .filters.open { transform: none; box-shadow: 0 -10px 40px rgba(0, 0, 0, .25); }
  .filters #applyFilters { position: sticky; bottom: 0; margin: 8px 0 12px; }
  body.no-scroll::before { content: ""; position: fixed; inset: 0; background: var(--scrim); z-index: 45; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--paper); border-top: 1px solid var(--line); padding: 4px 4px calc(4px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; min-height: 52px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; border-radius: var(--r-field); }
  .bottom-nav a .ico { width: 22px; height: 22px; margin-bottom: 1px; }
  .bottom-nav a[aria-current="page"] { color: var(--action); }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .toast, .toast[popover] { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .vp-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
  body:has(.vp-sticky) .bottom-nav { display: none; }
  body:has(.vp-sticky) { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 901px) { .list-top h1, .page-h1, .landing h1 { font-size: 40px; } .vp-head h1 { font-size: 36px; } }
@media (max-width: 700px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
}
@media (max-width: 800px) { .profile-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .search { grid-template-columns: 1fr; }
  .search .btn { width: 100%; }
}
@media (max-width: 560px) {
  .topbar-in { gap: 10px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  #postBtn { padding: 6px 12px; font-size: 18px; line-height: 1; }
  .results-head { flex-wrap: wrap; }
  .results-tools { width: 100%; }
  .results-tools #sort { flex: 1; min-width: 0; }
  .stats { gap: 18px; }
  .footer-in { flex-direction: column; align-items: flex-start; }
  .list-top h1, .page-h1 { font-size: 30px; }
  .ichips { gap: 18px; margin-left: -16px; margin-right: -16px; padding: 0 16px; }
  /* строка вакансии: бирка под названием */
  .vcard { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "pay" "place" "foot"; padding: 14px 16px 8px 20px; }
  .vc-pay { justify-self: start; text-align: left; max-width: none; margin: 4px 0 2px; }
  .vcard h3 { font-size: 17px; }
  .job-card { grid-template-columns: minmax(0, 1fr); padding: 14px 16px 14px 20px; }
  .job-card > * { order: 3; }
  .job-card > h3 { order: 1; }
  .job-card > .jc-pay { grid-column: 1; grid-row: auto; justify-self: start; justify-items: start; text-align: left; order: 2; margin: 4px 0 2px; }
  .job-card > .jc-open { grid-column: 1; grid-row: auto; justify-self: stretch; order: 9; margin-top: 8px; }
  .vp-head h1 { font-size: 28px; }
  .vp-salary-big, .vp-salary .money-big { font-size: 30px; }
  .vp-phone:has(.vp-masked) { display: grid; grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .vp-phone:has(.vp-masked) .btn-call { width: 100%; }
  .facts li { grid-template-columns: 24px 1fr; }
  .facts li .fk { grid-column: 2; }
  .facts li b { grid-column: 2; }
  .ad { flex-wrap: wrap; }
  .ad .btn { width: 100%; }
  .ag-row { grid-template-columns: 44px 1fr; }
  .ag-rate { grid-column: 2; text-align: left; }
  .card:not(.vcard):not(.job-card) { grid-template-columns: 1fr; }
  .pay { text-align: left; }
  .card-foot { flex-wrap: wrap; }
}
@media (max-width: 400px) {
  .logo { font-size: 0; gap: 0; }
  .lang button, .lang a { min-width: 36px; padding: 5px 6px; }
  .topbar-in, .user-box { gap: 6px; }
  .user-box .btn-sm { padding: 6px 10px; }
}

/* Главная без вакансий: только пустое состояние с кнопкой */
.no-jobs .filters, .no-jobs #industryBar, .no-jobs .results-head, .no-jobs .chips, .no-jobs #more { display: none; }
.no-jobs .layout { grid-template-columns: 1fr; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
