/* =====================================================================
 * Каталог онлайн-заработка — стили. Мобильный first, без внешних шрифтов.
 * Бренд: поменяйте --accent* ниже (и в тёмной теме) — остальное подстроится.
 * ===================================================================== */
:root {
  /* бренд (владелец выберет позже) */
  --accent: #1f6feb;
  --accent-hover: #1858c4;
  --accent-contrast: #ffffff;
  --accent-soft: #e8f0fe;
  --accent-text: #1a5fd0;

  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --text: #15181d;
  --text-2: #444c57;
  --text-3: #5d6571;
  --border: #dde2e8;
  --border-strong: #c3cad4;
  --good: #1a7f37;
  --good-soft: #e5f4e9;
  --warn: #b25e00;
  --reality-bg: #fff7e6;
  --reality-border: #f2c265;
  --bad: #b42318;
  --bad-soft: #fdecec;
  --focus: #1f6feb;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
  --shadow-lg: 0 12px 32px rgba(16, 24, 40, .18);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1200px;
  color-scheme: light;
}
/* 30.09: как hh.ru — всегда светлая тема (тёмная отключена, токены оставлены на будущее) */
@media (prefers-color-scheme: dark) and (min-width: 100000px) {
  :root {
    --accent: #4c8dff;
    --accent-hover: #72a6ff;
    --accent-contrast: #0a1428;
    --accent-soft: #15233b;
    --accent-text: #86b4ff;
    --bg: #0e1116;
    --surface: #161b22;
    --surface-2: #1c222b;
    --text: #e8edf3;
    --text-2: #b8c1cc;
    --text-3: #939eab;
    --border: #2a323c;
    --border-strong: #3b4552;
    --good: #56c776;
    --good-soft: #13291b;
    --warn: #f0b35a;
    --reality-bg: #2a2111;
    --reality-border: #7a5c1c;
    --bad: #ff8f85;
    --bad-soft: #2d1719;
    --focus: #86b4ff;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  font: 16px/1.5 var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
h1, h2, h3 { line-height: 1.25; margin: 0; }
p { margin: 0; }
a { color: var(--accent-text); }
a:hover { color: var(--accent-hover); }
img, svg { flex-shrink: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-contrast); padding: 10px 14px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; color: var(--accent-contrast); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.muted { color: var(--text-3); }

/* иконки из спрайта */
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 28px; height: 28px; }
.i--accent { color: var(--accent-text); }
.i--good { color: var(--good); }
.i--warn { color: var(--warn); }

/* кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: var(--accent-contrast); }
.btn--primary:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.btn--sm { min-height: 44px; padding: 8px 12px; font-size: 14px; font-weight: 500; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--wide { min-width: 240px; }
.btn:disabled { opacity: .6; cursor: default; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--text-2);
}
.icon-btn:hover { background: var(--surface-2); }

.count-pill {
  display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--accent); color: var(--accent-contrast); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center;
}

/* ---------- шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; color: var(--text); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { color: var(--text); }
.brand__logo { width: 32px; height: 32px; color: var(--accent-contrast); }
.brand__approved-logo { display: block; width: 184px; height: auto; max-height: 54px; padding: 7px 10px; border-radius: 12px; background: #28183c; object-fit: contain; box-shadow: 0 8px 22px -14px rgba(52, 26, 82, .85); }
.brand__bg { fill: var(--accent); }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.topnav__link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
  color: var(--text-2); text-decoration: none; font-size: 15px; border-radius: var(--radius-sm);
}
.topnav__link:hover { color: var(--accent-text); background: var(--surface-2); }
.search--compact { flex: 1; max-width: 520px; }

.demo-banner { background: #fff3cd; color: #5c4400; border-bottom: 1px solid #f0d58a; font-size: 14px; padding: 10px 0; }
@media (prefers-color-scheme: dark) { .demo-banner { background: #3a2e0c; color: #f5dc98; border-color: #6b5518; } }

/* ---------- герой + поиск ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 24px 0 16px; }
.hero__title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.hero__sub { margin-top: 8px; color: var(--text-2); max-width: 720px; }
.search {
  position: relative; display: flex; gap: 8px; margin-top: 18px;
}
.search__icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search__input {
  flex: 1; min-width: 0; height: 52px; padding: 0 14px 0 44px;
  border: 2px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface);
  font-size: 17px;
}
.search--compact .search__input { height: 42px; font-size: 15px; border-width: 1px; }
.search--compact .search__btn { min-height: 42px; }
.search__input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.search__input::placeholder { color: var(--text-3); }
.search__btn { min-height: 52px; padding: 0 22px; }

.chips { margin-top: 14px; }
.chips__list {
  list-style: none; margin: 0 -16px; padding: 2px 16px 6px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 6px 12px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap;
}
.chip .i { width: 18px; height: 18px; color: var(--accent-text); }
.chip:hover { border-color: var(--accent); color: var(--text); }
.chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.chip[aria-current="true"] .i { color: inherit; }
.chip__count { color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.chip[aria-current="true"] .chip__count { color: inherit; opacity: .85; }

/* ---------- раскладка ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; padding-bottom: 40px; }
.results { min-width: 0; outline: none; }

/* фильтры: мобильная шторка по умолчанию */
.filters {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  max-height: 88vh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 18px 18px 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
}
.filters.is-open { transform: none; visibility: visible; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .45); }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 16px; border-bottom: 1px solid var(--border); }
.filters__title { font-size: 18px; }
.filters__form { overflow-y: auto; padding: 16px; display: grid; gap: 18px; }
.filters__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }

.toggle-card {
  display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px;
  border: 2px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; background: var(--surface);
}
.toggle-card input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-card small { display: block; color: var(--text-3); font-size: 13px; }
.toggle-card__box {
  display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px;
  border: 2px solid var(--border-strong); border-radius: 6px; color: transparent;
}
.toggle-card__box .i { width: 16px; height: 16px; stroke-width: 2.6; }
.toggle-card:has(input:checked) { border-color: var(--good); background: var(--good-soft); }
.toggle-card input:checked + .toggle-card__box { background: var(--good); border-color: var(--good); color: #fff; }
.toggle-card:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

.fgroup { border: 0; margin: 0; padding: 0; display: grid; gap: 2px; }
.fgroup legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.fgroup > div { display: grid; gap: 2px; }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 2px 6px; margin: 0 -6px;
  border-radius: 6px; cursor: pointer; font-size: 15px;
}
.opt:hover { background: var(--surface-2); }
.opt input[type="radio"], .opt input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; }
.opt__count { margin-left: auto; color: var(--text-3); font-size: 13px; font-variant-numeric: tabular-nums; }
.opt--input { cursor: default; flex-wrap: wrap; }
.opt--input:hover { background: none; }
.opt--input span { color: var(--text-2); font-size: 14px; }
.opt--input input {
  flex: 1; min-width: 100px; height: 38px; padding: 0 10px;
  border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface);
}
.fhint { font-size: 13px; color: var(--text-3); margin-top: 4px; }

/* ---------- заголовок результатов ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 800; letter-spacing: -.01em; }
.section-title--lg { font-size: 24px; }
.link-more { font-size: 14px; white-space: nowrap; }

.featured { margin-bottom: 28px; }
.featured__list {
  list-style: none; margin: 0 -16px; padding: 2px 16px 8px;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%); gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.featured__list > li { scroll-snap-align: start; }

.results__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.results__title { font-size: 22px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.results__count { color: var(--text-3); font-size: 14px; margin-top: 2px; }
.results__tools { display: flex; gap: 8px; align-items: center; }
.sort select {
  min-height: 44px; padding: 0 34px 0 12px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--surface); font-size: 15px; cursor: pointer;
}
.active-filters { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.afilter {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 4px 10px;
  background: var(--accent-soft); color: var(--accent-text); border: 0; border-radius: 999px; font-size: 14px; cursor: pointer;
}
.afilter--reset { background: transparent; text-decoration: underline; }

/* ---------- карточки ---------- */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.vcard { padding: 18px 16px; transition: border-color .15s, box-shadow .15s; }
.vcard:hover { border-color: var(--border-strong); box-shadow: 0 4px 14px rgba(16, 24, 40, .08); }
.vcard__top { display: flex; align-items: flex-start; gap: 8px; }
.vcard__title { font-size: 19px; font-weight: 700; flex: 1; overflow-wrap: anywhere; }
.vcard__title a { color: var(--accent-text); text-decoration: none; }
.vcard__title a:hover { text-decoration: underline; }
.vcard__income { margin-top: 6px; font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vcard__pay { display: block; font-size: 14px; font-weight: 500; color: var(--text-3); }
@media (min-width: 600px) { .vcard__pay { display: inline; } .vcard__pay::before { content: " · "; } }
.vcard__company { margin-top: 4px; color: var(--text-2); display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.vcard__summary { margin-top: 10px; color: var(--text-2); font-size: 15px; }
.vcard__foot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.vcard__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.fav-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin: -8px -8px 0 0;
  border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: var(--text-3);
}
.fav-btn:hover { background: var(--surface-2); color: #d49a00; }
.fav-btn .i { width: 24px; height: 24px; }
.fav-btn[aria-pressed="true"] { color: #e0a100; }
.fav-btn[aria-pressed="true"] .i { fill: currentColor; }
.fav-btn--label { display: inline-flex; width: auto; height: auto; margin: 0; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text); }
.fav-btn--label[aria-pressed="true"] { color: var(--text); }
.fav-btn--label[aria-pressed="true"] .i { color: #e0a100; }
.fav-btn--label .i { width: 20px; height: 20px; }

.tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 3px 10px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); }
.tag--good { background: var(--good-soft); border-color: transparent; color: var(--good); font-weight: 600; }
.tag--muted { background: transparent; }
.badge { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.badge--own { background: var(--accent-soft); color: var(--accent-text); }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--good); font-size: 13px; font-weight: 600; }
.verified .i { width: 16px; height: 16px; }
.ad-mark { margin-top: 12px; font-size: 12px; color: var(--text-3); overflow-wrap: anywhere; }
.ad-mark--inline { margin: 0; }

/* мини-карточки «Проверено нами» */
.mcard { display: flex; flex-direction: column; height: 100%; }
.mcard__link { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 8px; text-decoration: none; color: var(--text); flex: 1; }
.mcard__link:hover .mcard__title { text-decoration: underline; }
.mcard__cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); }
.mcard__cat .i { width: 16px; height: 16px; color: var(--accent-text); }
.mcard__title { font-weight: 700; color: var(--accent-text); font-size: 16px; }
.mcard__income { font-weight: 700; font-variant-numeric: tabular-nums; }
.mcard__company { font-size: 14px; color: var(--text-2); }
.mcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 0 16px 14px; }

.empty { padding: 28px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty h3, .empty h1 { font-size: 19px; }
.empty p { color: var(--text-2); margin: 8px 0 16px; }
.empty--page { border-style: solid; padding: 48px 20px; }

.skeleton { min-height: 190px; position: relative; overflow: hidden; }
.skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--surface-2), transparent);
  animation: shimmer 1.2s infinite; transform: translateX(-100%);
}
.skeleton--tall { min-height: 520px; }
.skeleton--side { min-height: 300px; }
@keyframes shimmer { to { transform: translateX(100%); } }

.more { display: flex; justify-content: center; margin-top: 18px; }
.pager ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.pager__link {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: var(--radius-sm); text-decoration: none; color: var(--text); border: 1px solid transparent;
}
.pager__link:hover { border-color: var(--border-strong); }
.pager__link[aria-current="page"] { background: var(--text); color: var(--surface); }
.pager__gap { display: inline-grid; place-items: center; min-width: 24px; color: var(--text-3); }

/* ---------- доверие / гайд ---------- */
.trust { background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0; }
.trust__grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.trust__item { padding: 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.trust__item h3 { font-size: 17px; margin: 10px 0 6px; }
.trust__item p { color: var(--text-2); font-size: 15px; }
.free-box {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 20px;
  border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--border);
}
.free-box p { margin-top: 8px; color: var(--text-2); }

.guide { padding: 36px 0 44px; }
.guide__lead { margin-top: 8px; color: var(--text-2); }
.guide__cols { display: grid; gap: 14px; margin-top: 18px; }
.guide__col { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.guide__col h3 { font-size: 18px; margin-bottom: 10px; }
.guide__col ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--text-2); }
.guide__col--bad { border-top: 4px solid #d93a3a; }
.guide__col--good { border-top: 4px solid var(--good); }

.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 24px 0 32px; color: var(--text-2); font-size: 14px; }
.footer__in { display: grid; gap: 8px; }
.footer__small { color: var(--text-3); }

/* 19.11: фирменная коллекция «Гибкая работа». */
.work-brand-world{position:relative;padding:clamp(72px,8vw,124px) 0;overflow:hidden;background:radial-gradient(620px 440px at 88% 14%,rgba(247,190,62,.2),transparent 68%),radial-gradient(620px 460px at 6% 84%,rgba(151,76,255,.28),transparent 70%),#28183c;color:#fff}
.work-brand-grid{display:grid;grid-template-columns:minmax(0,.82fr) minmax(410px,1.18fr);gap:clamp(42px,7vw,92px);align-items:center}
.work-brand-copy{position:relative;z-index:1}
.work-brand-kicker{display:flex;align-items:center;gap:10px;margin:0 0 22px;color:#f7c24d;font-size:12px;font-weight:800;line-height:1;letter-spacing:.13em;text-transform:uppercase}
.work-brand-kicker::before{content:"";width:34px;height:2px;background:linear-gradient(90deg,#9c4dff,#f7c24d)}
.work-brand-logo{display:block;width:min(100%,440px);height:auto;margin:0 0 30px}
.work-brand-copy h2{max-width:610px;margin:0 0 20px;color:#fff;font-size:clamp(36px,5vw,66px);font-weight:800;line-height:1;letter-spacing:-.045em}
.work-brand-lead{max-width:570px;margin:0 0 30px;color:#e4dceb;font-size:clamp(17px,1.6vw,21px);line-height:1.58}
.work-brand-tags{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:28px}
.work-brand-tags span{padding:10px 14px;border:1px solid rgba(255,255,255,.17);border-radius:999px;background:rgba(255,255,255,.06);color:#fff;font-size:13px;font-weight:700;line-height:1}
.work-brand-note{max-width:540px;margin:0;padding:18px 20px;border-left:3px solid #f7c24d;background:rgba(255,255,255,.06);color:#d2c5de;font-size:14px;line-height:1.55}
.work-brand-note b{color:#fff}
.work-brand-visual{position:relative;justify-self:end;width:min(100%,650px);margin:0;padding:clamp(12px,2vw,20px);border:1px solid rgba(255,255,255,.12);border-radius:34px;background:rgba(255,255,255,.065);box-shadow:0 36px 100px -42px rgba(0,0,0,.88)}
.work-brand-visual img{display:block;width:100%;height:auto;max-height:790px;object-fit:contain;border-radius:23px}
.work-brand-visual figcaption{display:flex;justify-content:space-between;gap:18px;padding:15px 6px 2px;color:#bdaccb;font-size:12px;line-height:1.4}
.work-brand-visual figcaption b{color:#fff}
@media(max-width:860px){.work-brand-grid{grid-template-columns:1fr;gap:34px}.work-brand-visual{justify-self:stretch;width:100%;max-width:620px;margin:0 auto}.work-brand-logo{width:min(100%,390px)}}
@media(max-width:480px){.work-brand-world{padding:64px 0}.work-brand-visual{padding:9px;border-radius:25px}.work-brand-visual img{border-radius:18px}.work-brand-visual figcaption{flex-direction:column;gap:4px}}
body.has-apply-bar .footer { padding-bottom: 96px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90;
  background: var(--text); color: var(--surface); padding: 12px 18px; border-radius: 10px;
  box-shadow: var(--shadow-lg); font-size: 15px; max-width: calc(100% - 32px);
}
body.has-apply-bar .toast { bottom: 90px; }

/* ---------- страница вакансии ---------- */
.vac { padding-top: 16px; padding-bottom: 40px; outline: none; }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; color: var(--text-3); }
.crumbs li + li::before { content: "›"; margin-right: 4px; }
.crumbs a { color: var(--text-2); }
.crumbs [aria-current] { color: var(--text-3); }
.vac__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.vac__main { display: grid; gap: 14px; min-width: 0; }
.vac__head { padding: 22px 18px; }
.vac__cat { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; }
.vac__cat .i { width: 18px; height: 18px; color: var(--accent-text); }
.vac__title { margin-top: 8px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.vac__income { margin-top: 10px; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.vac__pay { color: var(--text-3); font-size: 14px; }
.vac__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line, #0001); }
.vac__company { margin-top: 6px; color: var(--text-2); font-size: 17px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.vac__summary { margin-top: 14px; color: var(--text-2); }
.vac__cta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.block { padding: 20px 18px; }
.block__title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.prose { color: var(--text); }
.prose p + p, .prose p + ul, .prose ul + p, .prose p + ol, .prose ol + p { margin-top: 10px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; gap: 10px !important; }
.steps li { counter-increment: s; position: relative; padding-left: 40px; min-height: 28px; padding-top: 2px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 14px;
}
.block--reality { background: var(--reality-bg); border: 2px solid var(--reality-border); }
.block--reality .block__title .i { color: var(--warn); }
.reality__note { margin-top: 12px; font-size: 13px; color: var(--text-2); }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { display: flex; gap: 8px; align-items: flex-start; }
.checklist .i { margin-top: 2px; }
.verify-date { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.block--ad { box-shadow: none; background: var(--surface-2); font-size: 14px; }
.block--ad p + p { margin-top: 6px; }

.side { padding: 20px 18px; display: grid; gap: 12px; }
.side__income { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.side__pay { color: var(--text-3); margin-top: -8px; font-size: 14px; }
.side__hint { text-align: center; color: var(--text-3); font-size: 13px; margin-top: -6px; }
.side .verified { justify-content: center; }
.share { border-top: 1px solid var(--border); padding-top: 12px; }
.share__title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.share__row { display: flex; flex-wrap: wrap; gap: 6px; }
.ad-mark--side { margin-top: 0; }
.similar { margin-top: 32px; }
.similar .section-title { margin-bottom: 12px; }
.list--grid { grid-template-columns: minmax(0, 1fr); }

.apply-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}
.apply-bar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: var(--wrap); margin: 0 auto; }
.apply-bar__income { font-weight: 700; font-size: 15px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- адаптив ---------- */
@media (max-width: 959px) {
  .hide-md { display: none !important; }
}
@media (max-width: 599px) {
  .hide-sm { display: none !important; }
  .results__tools { width: 100%; flex-wrap: wrap; }
  .results__tools > * { flex: 1 1 auto; min-width: 0; }
  .sort select { width: 100%; }
  .topnav__fav span:not(.count-pill) { display: none; }
  .search__btn { padding: 0 16px; }
  .vcard__actions { width: 100%; }
  .vcard__actions .btn { flex: 1; }
}
@media (min-width: 600px) {
  .hero { padding: 36px 0 20px; }
  .hero__title { font-size: 34px; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .guide__cols { grid-template-columns: repeat(2, 1fr); }
  .featured__list { grid-auto-columns: minmax(260px, 45%); }
  .list--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vac__title { font-size: 32px; }
  .vcard { padding: 20px 22px; }
}
@media (min-width: 960px) {
  .only-mobile { display: none !important; }
  .layout { grid-template-columns: 272px minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .filters {
    position: sticky; top: 76px; z-index: auto; align-self: start;
    max-height: calc(100vh - 92px); transform: none; visibility: visible; transition: none;
    border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  }
  .filters__close, .filters__foot { display: none; }
  .drawer-backdrop { display: none !important; }
  .chips__list { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 6px; }
  .featured__list { margin: 0; padding: 0; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .vac__grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
  .vac__side { position: sticky; top: 76px; }
  .apply-bar { display: none !important; }
  body.has-apply-bar .footer { padding-bottom: 32px; }
  body.has-apply-bar .toast { bottom: 24px; }
  .vac__head, .block { padding: 26px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* 29.09: доверие фактами, риски, жалоба */
.i--muted { color: var(--text-3); }
.badge--proof { background: var(--good-soft); color: var(--good); }
.badge--direct { background: var(--accent-soft); color: var(--accent); }
.prose .facts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; }
.facts__item { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.facts__item .i { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.facts__item--no, .facts__item--muted { color: var(--text-3); }
.facts__note { font-size: 13px; margin: 4px 0 0; }
.block--risk { border-color: var(--reality-border); background: var(--reality-bg); }
.block--complain { background: var(--surface-2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent-text); font: inherit; text-decoration: underline; cursor: pointer; }
.complain { display: grid; gap: 12px; margin-top: 10px; }
.complain fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.complain legend { font-weight: 700; margin-bottom: 4px; }
.complain__opt { display: flex; gap: 8px; align-items: flex-start; }
.complain__text { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.complain textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); }
.complain__done { display: flex; gap: 8px; align-items: center; color: var(--good); font-weight: 600; }


/* ---------- 29.09: ночное небо в шапке (владелец: «облачко вместо квадрата,
   луна реальная, звёзды сияющие белые или жёлтые, небо тёмное») ---------- */
:root { --night-0: #03040b; --night-1: #070a1a; --night-2: #0d1430; --night-text: #f4f6ff; --night-text-2: rgba(226, 232, 255, .78); --night-gold: #E3AE3C; }
.brand__logo { width: 46px; height: 33px; }
.topbar .brand { font-family: Onest, var(--font); font-weight: 700; font-size: 20px; letter-spacing: -.01em; }
@media (min-width: 720px) { .topbar .brand { font-size: 22px; } .brand__logo { width: 52px; height: 37px; } }
.topbar {
  background: rgba(3, 4, 11, .92);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .brand, .topbar .brand:hover { color: var(--night-text); }
.topbar .topnav__link { color: var(--night-text-2); }
.topbar .topnav__link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.hero {
  position: relative; overflow: hidden; border-bottom: 0; isolation: isolate;
  background: radial-gradient(120% 90% at 78% 0%, var(--night-2) 0%, var(--night-1) 48%, var(--night-0) 100%);
}
.hero::after { /* виньетка + плавный переход в страницу */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(90% 80% at 45% 35%, transparent 55%, rgba(0, 0, 0, .45) 100%);
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__title { color: var(--night-text); padding-right: 64px; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; letter-spacing: -.005em; line-height: 1.1; }
.hero__sub { font-family: Onest, var(--font); }
.hero__sub { color: var(--night-text-2); }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.sky__stars { position: absolute; inset: 0; }
.sky__stars--b { /* несколько ярких звёзд мерцают поверх неподвижного неба */
  background-image:
    radial-gradient(2px 2px at 12% 22%, #fffdf2, transparent 60%), radial-gradient(1.5px 1.5px at 27% 64%, #ffe2a0, transparent 60%),
    radial-gradient(2px 2px at 46% 12%, #fffdf2, transparent 60%), radial-gradient(1.5px 1.5px at 58% 78%, #ffe2a0, transparent 60%),
    radial-gradient(2px 2px at 71% 40%, #fffdf2, transparent 60%), radial-gradient(1.5px 1.5px at 88% 70%, #ffe2a0, transparent 60%),
    radial-gradient(1.5px 1.5px at 35% 36%, #fffdf2, transparent 60%), radial-gradient(2px 2px at 94% 18%, #ffe2a0, transparent 60%);
  animation: skyTwinkle 3.8s ease-in-out infinite alternate;
}
@keyframes skyTwinkle { from { opacity: .2; } to { opacity: 1; } }
.sky__moon-wrap { position: absolute; top: -8px; right: max(-6px, calc((100% - var(--wrap)) / 2 - 6px)); width: 84px; height: 84px; }
.sky__moon { width: 100%; height: 100%; display: block; overflow: visible; transform: rotate(-24deg); }
@media (min-width: 720px) {
  .sky__moon-wrap { width: 128px; height: 128px; top: -12px; }
  .hero__title { padding-right: 140px; font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .sky__stars--b { animation: none; opacity: .7; } }

/* 29.09: удалённые вакансии с «Работа России» */
.rjobs { padding: 28px 0 8px; }
.rjobs__note { color: var(--text-2); margin: 6px 0 14px; max-width: 760px; font-size: 15px; }
.rjobs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .rjobs__list { grid-template-columns: 1fr 1fr; } }
.rjob { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rjob__title { font-weight: 700; font-size: 16px; overflow-wrap: anywhere; }
.rjob__salary { font-weight: 700; color: var(--text); }
.rjob__meta { color: var(--text-3); font-size: 13.5px; overflow-wrap: anywhere; }
.rjob__link { margin-top: 6px; align-self: flex-start; font-size: 14px; font-weight: 600; }
.rjobs__more { margin-top: 12px; }

/* 29.09: иллюстрации в стиле Кодекса (assets/art, STYLE.md) */
.art-how { display: none; width: 100%; height: auto; border-radius: var(--radius); margin: 14px 0 20px; }
@media (min-width: 900px) { .art-how { display: block; } }
.art-safety { display: block; width: 100%; max-width: 520px; height: auto; border-radius: var(--radius); margin: 0 auto 18px; }
.empty__art { display: block; width: 200px; max-width: 70%; height: auto; margin: 0 auto 10px; border-radius: 18px; }

/* 29.09: служебные страницы (безопасность, реклама, соглашение, политика) в стиле сайта */
.doc-page main { padding: 24px 16px 56px; }
.doc-page article { max-width: 760px; margin: 0 auto; font-family: Onest, var(--font); font-size: 17px; line-height: 1.6; color: var(--text); }
.doc-page article h1 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 34px; line-height: 1.15; margin: 8px 0 12px; letter-spacing: -.005em; }
.doc-page article h2 { font-size: 21px; margin: 28px 0 8px; }
.doc-page article p, .doc-page article ul { margin: 0 0 12px; }
.doc-page article ul { padding-left: 22px; display: grid; gap: 6px; }
.doc-page article a { color: var(--accent-text); }
@media (min-width: 720px) { .doc-page article h1 { font-size: 44px; } }
/* 30.09: SEO-страницы (rabota-iz-doma.html): блок «Работа России» и вопросы внутри статьи */
.doc-page article .rjobs { padding: 12px 0 4px; }
.doc-page article .rjobs__list { padding-left: 0; }
.doc-page article .rjob__link { color: var(--accent-text); }
.doc-page article a.btn--primary, html[data-theme] .doc-page article a.btn--primary { color: var(--accent-contrast); text-decoration: none; white-space: normal; text-align: center; }
.faq { display: grid; gap: 8px; margin: 0 0 20px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; background: var(--surface); }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 8px 0 0; }

/* 30.09: плашка «Предпросмотр» (из админки, ?preview=1) */
.preview-bar { position: sticky; top: 0; z-index: 60; background: #fff4cc; color: #3a2e00; border-bottom: 1px solid #e6cf6d; font-size: 14px; line-height: 1.45; }
.preview-bar__in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; overflow-wrap: anywhere; }
.preview-bar a { color: #6a4d00; text-decoration: underline; }
.preview-bar small { color: #6b5a1c; }

/* 30.09: картинки карточек (1200×630) */
.vcard__media, .mcard__media { display: block; margin: -18px -16px 14px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #060914; aspect-ratio: 1200 / 630; }
.vcard__media img, .mcard__media img, .vac__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vcard__media img.is-art, .mcard__media img.is-art, .vac__media img.is-art { object-fit: contain; padding: 8% 0; }
.mcard__media { margin: 0 0 4px; }
.vac__media { margin: -22px -18px 16px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; background: #060914; aspect-ratio: 1200 / 630; }
@media (min-width: 600px) {
  .vcard__media { margin: -20px -22px 16px; }
  /* в длинном списке — картинка слева, текст справа, чтобы не растягивать ленту */
  .list:not(.list--grid) .vcard article { display: grid; grid-template-columns: 240px minmax(0, 1fr); column-gap: 20px; }
  .list:not(.list--grid) .vcard article > * { grid-column: 2; }
  .list:not(.list--grid) .vcard .vcard__media { grid-column: 1; grid-row: 1 / span 20; margin: 0; border-radius: 10px; align-self: start; }
}
@media (min-width: 960px) { .vac__media { margin: -26px -28px 20px; } }

/* 30.09: полоска администратора в режиме «Как на сайте» (?preview=1) */
.admin-bar { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 8px 10px; border-radius: 10px; border: 1px dashed #e0b84a; background: rgba(255, 213, 79, .12); font-size: 14px; }
.admin-bar__status { font-weight: 700; }
.admin-bar--published .admin-bar__status { color: #1f9d55; }
.admin-bar--draft .admin-bar__status, .admin-bar--rejected .admin-bar__status { color: #c0392b; }
.admin-bar__warn { color: #c0392b; font-weight: 600; }
.admin-bar__acts { margin-left: auto; display: flex; gap: 6px; }
.admin-bar__btn { font: inherit; font-size: 13px; padding: 5px 10px; border-radius: 8px; border: 1px solid #e0b84a; background: #fff7d6; color: #3a2e00; cursor: pointer; }
.list:not(.list--grid) .vcard article > .admin-bar { grid-column: 1 / -1; }


/* =====================================================================
 * 30.09 «как hh.ru» (владелец: «ориентируйся на hh — визуал, размеры, растянутость»).
 * Размеры сняты с выдачи hh.ru: карточка белая r24 · отступ 24 · между карточками 16;
 * заголовок 22/32 w500 чёрный; зарплата 18/26; мета 14/20; теги #f1f4f9 r8 4×8;
 * синяя кнопка «Откликнуться». Большие картинки — только на странице вакансии.
 * ===================================================================== */
:root { --bg: #ffffff; --accent: #0070ff; --accent-hover: #005fd9; --accent-text: #0070ff; --text: #000000; --text-2: #2a3137; --text-3: #6a7885; --border: #e7ecf0; }
body { background: #fff; }
.list { gap: 16px; }
.card.vcard { border: 1px solid #e7ecf0; border-radius: 24px; box-shadow: none; padding: 24px; }
.card.vcard:hover { border-color: #d5dde3; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); }
.vcard__title { font-size: 22px; line-height: 32px; font-weight: 500; }
.vcard__title a { color: #000; }
.vcard__title a:hover { color: #0070ff; text-decoration: none; }
.vcard__income { font-size: 18px; line-height: 26px; font-weight: 400; margin-top: 4px; }
.vcard__pay { font-size: 14px; color: var(--text-3); }
.vcard__company, .vcard__summary { font-size: 14px; line-height: 20px; color: #000; }
.vcard__summary { color: var(--text-2); margin-top: 8px; }
.tags { gap: 8px; margin-top: 12px; }
.tag { font-size: 14px; line-height: 20px; padding: 4px 8px; border-radius: 8px; border: 0; background: #f1f4f9; color: #2a3137; }
.tag--good { background: #e3f7e9; color: #0b7a36; font-weight: 400; }
.vcard__foot { margin-top: 16px; }
.btn--primary { background: #0070ff; border-color: #0070ff; color: #fff; border-radius: 12px; font-weight: 500; }
.btn--primary:hover { background: #005fd9; border-color: #005fd9; }
.vcard .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; border-radius: 12px; }
/* картинка в списке — маленький квадрат справа, как логотип работодателя на hh */
.vcard article { position: relative; }
.vcard .vcard__media { position: absolute; top: 0; right: 44px; width: 64px; height: 64px; margin: 0; border-radius: 14px; aspect-ratio: auto; background: #0b1021; }
.vcard .vcard__media img { object-fit: cover; object-position: 88% 50%; }
.vcard .vcard__media img.is-art { object-fit: cover; padding: 0; object-position: 50% 50%; }
.vcard__title { margin-right: 76px; }
@media (min-width: 600px) {
  .card.vcard { padding: 24px; }
  .list:not(.list--grid) .vcard article { display: block; }
  .list:not(.list--grid) .vcard .vcard__media { grid-column: auto; grid-row: auto; margin: 0; border-radius: 14px; }
}

/* 30.09 «как hh.ru»: фильтры не колонкой слева, а панелью по кнопке «Фильтры»; выдача на всю ширину */
@media (min-width: 960px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 24px; }
  #openFilters.only-mobile { display: inline-flex !important; }
  .filters {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 60; width: 440px; max-height: none;
    border: 0; border-radius: 24px 0 0 24px; box-shadow: var(--shadow-lg);
    transform: translateX(105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__close { display: inline-grid; }
  .filters__foot { display: flex; }
  .drawer-backdrop:not([hidden]) { display: block !important; }
}
.results__tools .btn { border-radius: 12px; }
.sort select { border-radius: 12px; border-color: #e7ecf0; background: #f1f4f9; }
.afilter { background: #f1f4f9; color: #000; border-radius: 12px; }
@media (min-width: 960px) { .filters { height: 100vh; height: 100dvh; } .filters__form { flex: 1 1 auto; min-height: 0; overflow-y: auto; } }

/* =====================================================================
 * 29.09 Редизайн «Свой ритм» (концепция B Кодекса, по мотивам работ Студии Лебедева).
 * Владелец: «тёмную, но с возможностью перейти на белую», без чёрной шапки над белым низом,
 * без облака и звёздочки, разделы плитками. Ночь — по умолчанию; светлая — html[data-theme="light"].
 * Блок стоит последним и перекрывает прежние (hh, звёздное небо) через html[data-theme].
 * ===================================================================== */
html[data-theme] {
  --bg: #211E32; --surface: #302B44; --surface-2: #272237; --section: #272237;
  --text: #F8F4EF; --text-2: #D9D3E6; --text-3: #B8B1CB;
  --border: #48405E; --border-strong: #5A5175;
  --accent: #A57BF5; --accent-hover: #B996FF; --accent-contrast: #292038; --accent-soft: #3A3354; --accent-text: #B48CFF;
  --good: #86DDA5; --good-soft: #23392F; --warn: #F5C77A; --bad: #FF9A92; --bad-soft: #402A36;
  --reality-bg: #362F4A; --reality-border: #8C75C9; --moon: #E3AE3C; --focus: #A57BF5;
  --shadow: none; --shadow-lg: 0 16px 40px rgba(0, 0, 0, .45);
  --font: Onest, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F7F5FB; --surface: #FFFFFF; --surface-2: #EFEBF7; --section: #EFEBF7;
  --text: #211E32; --text-2: #4A445C; --text-3: #6E6784;
  --border: #E2DCEE; --border-strong: #CFC6E2;
  --accent: #5B3FD0; --accent-hover: #4A30B8; --accent-contrast: #FFFFFF; --accent-soft: #ECE6FF; --accent-text: #5B3FD0;
  --good: #1A7F37; --good-soft: #E5F4E9; --warn: #B25E00; --bad: #B42318; --bad-soft: #FDECEC;
  --reality-bg: #F4EFFF; --reality-border: #B7A5EE; --moon: #E0B84A; --focus: #5B3FD0;
  --shadow-lg: 0 16px 40px rgba(33, 30, 50, .18);
  color-scheme: light;
}
html[data-theme] body { background: var(--bg); color: var(--text); font-family: var(--font); }

/* шапка — компактная, в цвет страницы */
html[data-theme] .topbar { background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
html[data-theme] .topbar__in { min-height: 56px; }
html[data-theme] .topbar .brand, html[data-theme] .topbar .brand:hover { color: var(--text); font-family: var(--font); font-weight: 750; font-size: 18px; letter-spacing: -.03em; gap: 8px; }
html[data-theme] .brand__logo, html[data-theme] .topbar .brand__logo { width: 26px; height: 26px; color: var(--moon); }
html[data-theme] .topbar .topnav__link { color: var(--text-2); }
html[data-theme] .topbar .topnav__link:hover { color: var(--text); background: var(--surface); }
.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 4px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle svg { width: 18px; height: 18px; }
html[data-theme="dark"] .theme-toggle__moon, html:not([data-theme="light"]) .theme-toggle__moon { display: none; }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; color: var(--moon); }
.topnav { display: flex; align-items: center; gap: 4px; margin-left: auto; }

/* первый экран */
html[data-theme] .hero { background: var(--bg); border: 0; padding: 28px 0 22px; position: relative; overflow: hidden; }
html[data-theme] .hero::after, html[data-theme] .hero .sky { display: none; }
.hero__art { position: absolute; right: max(18px, calc((100% - var(--wrap)) / 2 + 18px)); top: 36px; width: 84px; height: 84px; color: var(--moon); transform: rotate(-15deg); pointer-events: none; }
.hero__art svg { width: 100%; height: 100%; display: block; }
.hero__art::before { content: "✦"; position: absolute; left: -18px; top: -10px; color: var(--accent); font-size: 18px; transform: rotate(15deg); }
.hero__eyebrow { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 11px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
html[data-theme] .hero__title { font-family: var(--font); font-weight: 600; font-size: 44px; line-height: 1.03; letter-spacing: -.045em; color: var(--text); padding-right: 96px; }
html[data-theme] .hero__title em { font-style: normal; color: var(--accent-text); }
html[data-theme] .hero__sub { color: var(--text-3); font-size: 15px; max-width: 520px; margin: 16px 0 20px; }
@media (min-width: 720px) { html[data-theme] .hero__title { font-size: 60px; } .hero__art { width: 120px; height: 120px; top: 30px; } html[data-theme] .hero { padding: 44px 0 30px; } }
html[data-theme] .search { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 6px; box-shadow: none; }
html[data-theme] .search__input { background: transparent; color: var(--text); border: 0; }
html[data-theme] .search__input::placeholder { color: var(--text-3); }
html[data-theme] .search__icon { color: var(--text-3); }
html[data-theme] .search__btn { border-radius: 11px; }

/* разделы — плитками сеткой, без прокрутки вбок */
html[data-theme] .chips { margin-top: 16px; }
html[data-theme] .chips__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; margin: 0; padding: 0; flex-wrap: wrap; }
@media (min-width: 720px) { html[data-theme] .chips__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { html[data-theme] .chips__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
html[data-theme] .chip { width: 100%; min-height: 52px; justify-content: flex-start; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 550; padding: 10px 12px; white-space: normal; line-height: 1.2; }
html[data-theme] .chip .i { color: var(--accent-text); flex: none; }
html[data-theme] .chip__count { margin-left: auto; color: var(--text-3); font-size: 12px; }
html[data-theme] .chip[aria-current="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
html[data-theme] .chip[aria-current="true"] .i, html[data-theme] .chip[aria-current="true"] .chip__count { color: inherit; }

/* выдача и карточки — структура hh, цвета темы */
html[data-theme] .card { background: var(--surface); border-color: var(--border); box-shadow: none; }
html[data-theme] .card.vcard { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
html[data-theme] .card.vcard:hover { border-color: var(--border-strong); box-shadow: none; }
html[data-theme] .vcard__title a, html[data-theme] .vcard__company, html[data-theme] .vcard__income { color: var(--text); }
html[data-theme] .vcard__title a:hover { color: var(--accent-text); }
html[data-theme] .vcard__income { font-weight: 750; letter-spacing: -.02em; }
html[data-theme] .vcard__summary { color: var(--text-3); }
html[data-theme] .tag { background: var(--surface-2); color: var(--text-2); border: 0; }
html[data-theme] .tag--good { background: var(--good-soft); color: var(--good); }
html[data-theme] .btn--primary { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
html[data-theme] .btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-contrast); }
html[data-theme] .btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
html[data-theme] .sort select, html[data-theme] .results__tools .btn { background: var(--surface); border-color: var(--border); color: var(--text); }
html[data-theme] .afilter { background: var(--surface-2); color: var(--text); }
html[data-theme] .filters { background: var(--surface); color: var(--text); }
html[data-theme] .results__count, html[data-theme] .muted { color: var(--text-3); }
html[data-theme] .vcard .vcard__media { background: var(--surface-2); }
/* 29.09: днём — солнце, ночью — луна (логотип и первый экран) */
.brand__logo--sun, .hero__sun { display: none; }
html[data-theme="light"] .brand__logo--moon, html[data-theme="light"] .hero__moon { display: none; }
html[data-theme="light"] .brand__logo--sun, html[data-theme="light"] .hero__sun { display: block; }
html[data-theme="light"] .hero__art { transform: none; }
html[data-theme="light"] { --moon: #E8A93A; }
/* 29.09: меню в шапке; день/ночь — по нажатию на большую луну/солнце («жмяк») */
.menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 44px; height: 44px; padding: 0 12px; margin-left: 6px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.menu-btn span { display: block; height: 2px; border-radius: 2px; background: var(--text); transition: transform .2s ease, opacity .2s ease; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-menu { position: sticky; top: 56px; z-index: 55; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.site-menu__in { display: grid; gap: 2px; padding-top: 8px; padding-bottom: 12px; }
.site-menu a { display: flex; align-items: center; gap: 8px; padding: 12px 4px; color: var(--text); text-decoration: none; font-size: 16px; font-weight: 550; border-bottom: 1px solid var(--border); }
.site-menu a:last-child { border-bottom: 0; }
.site-menu a:hover { color: var(--accent-text); }
.site-menu__secondary[hidden] { display: none !important; }
.site-menu__overview {
  display: flex; align-items: center; gap: 9px; width: 100%; padding: 12px 4px;
  color: var(--text); background: transparent; border: 0; border-bottom: 1px solid var(--border);
  font: inherit; font-size: 16px; font-weight: 650; text-align: left; cursor: pointer;
}
.site-menu__overview:hover,.site-menu__overview[aria-expanded="true"] { color: var(--accent-text); }
.site-menu__overview-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--accent-soft); color: var(--accent-text); }
.site-menu__overview-chevron { margin-left: auto; transition: transform .18s ease; }
.site-menu__overview[aria-expanded="true"] .site-menu__overview-chevron { transform: rotate(180deg); }
@media (max-width: 719px) {
  body.site-menu-open { overflow: hidden; }
  .site-menu {
    position: fixed; top: 60px; right: 0; bottom: 0; left: 0; z-index: 55;
    max-height: calc(100vh - 60px); max-height: calc(100dvh - 60px);
    overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  }
  .site-menu__in { min-height: min-content; padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
@media (min-width: 720px) { .site-menu__in { grid-template-columns: repeat(3, 1fr); column-gap: 24px; } }
button.hero__art { background: none; border: 0; padding: 0; cursor: pointer; z-index: 2; top: 18px; -webkit-tap-highlight-color: transparent; }
button.hero__art svg { transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
button.hero__art:hover svg, button.hero__art:focus-visible svg { transform: scale(1.06) rotate(-6deg); }
button.hero__art:active svg { transform: scale(.94); }
.hero__jmyak { position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%) rotate(15deg); font: 600 13px/1 var(--font); color: var(--text-3); letter-spacing: .06em; white-space: nowrap; }
html[data-theme="light"] .hero__jmyak { transform: translateX(-50%); }
.hero__jmyak::before { content: "↑ "; }
@media (min-width: 720px) { button.hero__art { top: 20px; } }
/* 29.09: человечек «у окна, с котом» под луной/солнцем; цвета — от темы */
html[data-theme] { --ill-skin: #F2C9A5; --ill-hair: #3B2F4A; --ill-shirt: #D7C5FF; --ill-desk: #48405E; --ill-laptop: #B8B1CB; --ill-screen: #E3AE3C; --ill-plant: #86DDA5; --ill-line: #F8F4EF; }
html[data-theme="light"] { --ill-shirt: #5B3FD0; --ill-desk: #CFC6E2; --ill-laptop: #6E6784; --ill-screen: #E0B84A; --ill-line: #211E32; }
.hero__person { position: absolute; right: max(8px, calc((100% - var(--wrap)) / 2 + 8px)); top: 128px; width: 150px; pointer-events: none; z-index: 1; }
.hero__person-svg { display: block; width: 100%; height: auto; }
html[data-theme] .hero__sub { padding-right: 130px; }
@media (min-width: 720px) {
  .hero__person { width: 230px; top: 150px; right: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); }
  html[data-theme] .hero__sub { padding-right: 0; max-width: 520px; }
}
/* 29.09 правки: солнце скрыто ночью (перебиваем .hero__art svg), «жмяк» слева от светила, на ПК — не наезжаем на поиск */
html[data-theme] .hero__sun, html[data-theme] .brand__logo--sun { display: none; }
html[data-theme="light"] .hero__sun, html[data-theme="light"] .brand__logo--sun { display: block; }
html[data-theme="light"] .hero__moon, html[data-theme="light"] .brand__logo--moon { display: none; }
.hero__jmyak { left: auto; right: calc(100% + 4px); bottom: 30%; transform: rotate(15deg); }
html[data-theme="light"] .hero__jmyak { transform: none; }
.hero__jmyak::before { content: none; }
.hero__jmyak::after { content: " →"; }
@media (min-width: 720px) {
  .hero__person { top: 18px; width: 210px; right: max(170px, calc((100% - var(--wrap)) / 2 + 170px)); }
  html[data-theme] .hero .search { max-width: 640px; }
}
/* 29.09 (владелец): светило и человечек — ниже, рядом с текстом «Удалённая работа, подработка…»;
   человечек соразмерен солнцу; нажатие на светило должно работать (было pointer-events:none) */
html[data-theme] .hero__title { padding-right: 0; }
.hero__row { display: flex; align-items: center; gap: 12px; margin: 14px 0 20px; }
html[data-theme] .hero__row .hero__sub { flex: 1 1 auto; margin: 0; padding-right: 0; }
.hero__visual { flex: 0 0 auto; width: 112px; display: flex; flex-direction: column; align-items: center; gap: 2px; position: relative; }
.hero__visual button.hero__art { position: relative; top: auto; right: auto; width: 58px; height: 58px; pointer-events: auto; z-index: 3; }
html[data-theme] .hero__visual .hero__person { position: static; width: 112px; top: auto; right: auto; }
.hero__visual .hero__jmyak { right: calc(100% + 2px); bottom: 40%; font-size: 11px; }
.hero__visual .hero__art::before { left: -12px; top: -6px; font-size: 13px; }
@media (min-width: 720px) {
  .hero__row { gap: 32px; max-width: 900px; }
  .hero__visual { width: 170px; }
  .hero__visual button.hero__art { width: 84px; height: 84px; }
  html[data-theme] .hero__visual .hero__person { width: 170px; }
}
/* нажатие на светило: заголовок больше не перекрывает его */
html[data-theme] .hero__title { position: relative; z-index: 0; }
.hero__visual { z-index: 4; }
/* владелец: «заголовок там же оставь» — прежний вид в три строки */
html[data-theme] .hero__title { padding-right: 96px; }
@media (min-width: 720px) { html[data-theme] .hero__title { padding-right: 0; } }
/* 29.09 (владелец): светило — на прежнем месте, вверху справа; человечек маленький — над «и» после «подработка» */
html[data-theme] .hero button.hero__art { position: absolute; top: 36px; right: max(18px, calc((100% - var(--wrap)) / 2 + 18px)); width: 84px; height: 84px; pointer-events: auto; z-index: 5; }
@media (min-width: 720px) { html[data-theme] .hero button.hero__art { width: 120px; height: 120px; top: 30px; } }
html[data-theme] .hero__art .hero__jmyak { right: auto; left: 50%; bottom: -22px; transform: translateX(-50%) rotate(15deg); font-size: 12px; }
html[data-theme="light"] .hero__art .hero__jmyak { transform: translateX(-50%); }
.hero__art .hero__jmyak::after { content: none; }
.hero__art .hero__jmyak::before { content: "↑ "; }
html[data-theme] .hero__sub { padding-right: 0; margin-top: 18px; }
.hero__i { position: relative; display: inline-block; }
html[data-theme] .hero__i .hero__person { position: absolute; left: 50%; bottom: 100%; top: auto; right: auto; width: 64px; transform: translateX(-50%); margin-bottom: -2px; pointer-events: none; }
@media (min-width: 720px) { html[data-theme] .hero__i .hero__person { width: 84px; } }
/* десктоп: «и» оказывается под «ритме.» — опускаем подзаголовок, чтобы человечек не залезал на заголовок */
@media (min-width:720px){ html[data-theme] .hero__sub { margin-top:78px; } html[data-theme] .hero__i .hero__person { width:72px; } }
/* телефон: человечек над «и»; компьютер: крупнее, справа от кнопки «Найти» */
.hero__find { position:relative; }
.hero__notify { display:flex; align-items:center; flex-wrap:wrap; gap:10px 14px; margin:12px 0 0; color:var(--text-3); font-size:13px; }
.hero__notify .btn { flex:none; }
@media (max-width:719px){ .hero__notify { align-items:stretch; } .hero__notify .btn { width:100%; } }
.hero__person--desk { display:none; }
@media (min-width:720px){
  html[data-theme] .hero__sub { margin-top:18px; }
  html[data-theme] .hero__i .hero__person { display:none; }
  .hero__find { display:flex; align-items:flex-end; gap:16px; }
  html[data-theme] .hero__find .search { flex:0 1 640px; width:640px; }
  html[data-theme] .hero .hero__person--desk { display:block; position:static; inset:auto; transform:none; margin:0; flex:none; width:120px; pointer-events:none; }
  .hero__person--desk svg { width:100%; height:auto; display:block; }
}
/* телефон: больше воздуха между солнцем/луной и человечком — единая картинка, текст ниже */
@media (max-width:719px){ html[data-theme] .hero__sub { margin-top:84px; } }
@media (max-width:719px){ html[data-theme] .hero__i .hero__person { width:76px; margin-bottom:38px; } }
/* логотип «На границе дня»: половина солнца + половина луны (выбран владельцем 29.09) */
html[data-theme] { --logo-sun:#E3AE3C; --logo-ink:#A57BF5; }
html[data-theme="light"] { --logo-sun:#E8A93A; --logo-ink:#5B3FD0; }
html[data-theme] .brand__logo--mark, html[data-theme] .topbar .brand__logo--mark { display:block; width:30px; height:30px; }

/* 03.10: посадочные страницы под запросы (landing.mjs) — список позиций, «скоро», ссылки на подборки */
.doc-page article ol { padding-left: 22px; display: grid; gap: 6px; margin: 0 0 12px; }
.doc-page article .crumbs ol { display: flex; padding-left: 0; gap: 4px; }
.lp-lead { font-size: 18px; color: var(--text-2); }
.doc-page article .lp-list { list-style: none; padding-left: 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .doc-page article .lp-list { grid-template-columns: 1fr 1fr; } }
.lp-item { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 15px; line-height: 1.45; }
.doc-page article .lp-item__title { font-weight: 700; font-size: 16px; color: var(--text); overflow-wrap: anywhere; }
.lp-item__income { font-weight: 700; }
.lp-item__meta { color: var(--text-3); font-size: 13.5px; overflow-wrap: anywhere; }
.lp-item__summary { color: var(--text-2); }
.lp-item .ad-mark { margin: 4px 0 0; }
.lp-soon { padding: 16px 18px; font-size: 16px; }
.lp-soon p:last-child { margin-bottom: 0; }
.doc-page article .lp-links { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc-page article .lp-links a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); text-decoration: none; font-size: 15px; }
.footer__links { line-height: 1.8; }

/* 25.10: страница «Для работодателей» и форма заявки */
.doc-page article.emp { max-width: 820px; }
.emp ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 12px; }
.emp-form { padding: 18px 16px; display: grid; gap: 18px; font-size: 16px; }
.emp-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.emp-form legend { font-weight: 700; font-size: 18px; margin-bottom: 6px; padding: 0; }
.emp-form label { display: grid; gap: 6px; font-weight: 500; font-size: 15px; color: var(--text); min-width: 0; }
.emp-form .emp-opt { font-weight: 400; color: var(--text-3); font-size: 13px; }
.emp-form input:not([type=checkbox]), .emp-form select, .emp-form textarea { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--border-strong, var(--border)); border-radius: var(--radius-sm, 10px); background: var(--surface); color: var(--text); }
.emp-form textarea { resize: vertical; }
.emp-form input:focus, .emp-form select:focus, .emp-form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.emp-row { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .emp-row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } .emp-form { padding: 24px; } }
.emp-form label.emp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.emp-form label.emp-check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
.emp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.emp-bad input, .emp-bad select, .emp-bad textarea { border-color: var(--bad, #d64545) !important; }
.emp-msg { color: var(--bad, #d64545); font-size: 14px; font-weight: 500; }
.emp-errsum { color: var(--bad, #d64545); font-weight: 600; margin: 0; }
.emp-result { padding: 16px; margin: 0 0 16px; overflow-wrap: anywhere; }
.emp-result.review { border-color: var(--accent); }
.emp-result.rejected { border-color: var(--bad, #d64545); }
.emp-result.published { border-color: var(--good, #2e9d5f); }
.emp-st-h { font-weight: 700; margin: 0 0 6px; }

/* 25.10: быстрые подборки на главной и динамические фильтры */
.facets { display: contents; }
.picks { display: grid; gap: 12px; grid-template-columns: 1fr; padding-top: 18px; padding-bottom: 4px; }
@media (min-width: 720px) { .picks { grid-template-columns: 1fr 1fr; } }
.pick { display: grid; gap: 4px; padding: 14px 16px; text-decoration: none; color: var(--text); transition: border-color .15s; }
.pick:hover { border-color: var(--accent); }
.pick strong { font-size: 18px; }
.pick span { color: var(--text-2); font-size: 14px; }
.pick__n { color: var(--accent-text); font-weight: 600; }

/* 30.10: «Мои отклики» и пометка «Вы уже переходили сюда» */
.vac__seen { margin: 10px 0 0; font-size: .92rem; }
.resp { padding: 16px 18px; margin-bottom: 12px; }
.resp__title { margin: 0 0 4px; font-size: 1.1rem; }
.resp__acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.resp__title { font-size: 1.05rem; }
#respClear { min-height: 44px; padding: 8px 4px; }
.empty__choices { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; }

/* ---------- 30.10: кабинет соискателя, отклик внутри сайта, метки доверия (всё за флагом, кроме меток) ---------- */
.vac__unverified, .vac__speed { margin-top: 8px; font-size: 14px; display: flex; gap: 6px; align-items: flex-start; color: var(--text-2); }
.vac__unverified { color: var(--warn); }
.vac__verified { margin-top: 8px; font-size: 14px; display: flex; gap: 6px; align-items: flex-start; color: var(--text-2); }
.kab-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.kab-chip { display: inline-block; width: auto; flex: none; font-size: 13px; font-weight: 500; line-height: 1.3; padding: 6px 10px; border: 1px solid var(--line, #d9d3e6); border-radius: 999px; background: transparent; color: inherit; cursor: pointer; }
.kab-chip:hover { background: rgba(124,92,255,.08); }
.vac__direct { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vac__direct[hidden] { display: none; }
.vac__direct-hint { font-size: 13px; }
.kab-card { padding: 20px; margin-bottom: 14px; max-width: 760px; }
.kab-card h2 { margin: 0 0 8px; font-size: 20px; }
.kab-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; max-width: 760px; margin-bottom: 10px; }
.kab-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.kab-tab { border: 1px solid var(--border); background: var(--surface-2); color: var(--text); padding: 8px 14px; border-radius: 999px; font: inherit; cursor: pointer; min-height: 40px; }
.kab-tab.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.kab-lbl { display: grid; gap: 4px; margin: 0 0 12px; font-size: 14px; color: var(--text-2); }
.kab-lbl input, .kab-lbl textarea, .kab-lbl select { font: inherit; font-size: 16px; padding: 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); width: 100%; box-sizing: border-box; }
.kab-row { display: grid; grid-template-columns: 140px 1fr; gap: 10px; }
.kab-chk { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 14px; }
.kab-chk input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.kab-fs { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 12px; }
.kab-fs legend { font-weight: 700; padding: 0 6px; }
.kab-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.kab-err { color: #b3261e; margin: 0 0 10px; min-height: 0; }
.kab-err:empty { display: none; }
.kab-ok { color: var(--good); margin: 0 0 10px; }
.kab-ok:empty { display: none; }
.kab-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.kab-danger { color: #b3261e; }
.kab-apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kab-apps li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.kab-apps li:last-child { border-bottom: 0; }
.st { flex: none; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.st--viewed { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.st--ok { background: var(--good-soft); color: var(--good); border-color: transparent; }
.st--no { background: var(--bad-soft); color: #b3261e; border-color: transparent; }
.kab-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0; }
.kab-dl dt { color: var(--text-3); }
.kab-dl dd { margin: 0; overflow-wrap: anywhere; }
.kab-dlg { border: 1px solid var(--border); border-radius: var(--radius); padding: 0; max-width: min(560px, 94vw); width: 100%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.kab-dlg::backdrop { background: rgba(10, 14, 22, .55); }
.kab-dlg__in { padding: 20px; max-height: 86vh; overflow: auto; }
.kab-dlg__in h2 { margin: 0 0 4px; font-size: 20px; }
@media (max-width: 520px) { .kab-row { grid-template-columns: 1fr; } .kab-apps li { flex-direction: column; } }

.emp-free { margin: 0 0 14px; padding: 10px 14px; border: 1px solid var(--line, #48405e); border-left: 4px solid #7c5cff; border-radius: 10px; font-size: 15px; }
.emp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.emp-preview { padding: 14px; margin: 0 0 16px; } .emp-ex { margin: 6px 0 10px; } .emp-item { padding: 10px 0; border-top: 1px solid var(--line, rgba(128,128,128,.25)); }

/* 30.10: полнота вакансии и шаблоны (форма работодателя) */
.emp-quality { padding: 14px; margin: 0 0 16px; }
.emp-q__head { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; }
.emp-q__bar { height: 10px; border-radius: 99px; background: var(--surface-2, rgba(128,128,128,.22)); overflow: hidden; }
.emp-q__bar > span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--bad, #d64545); transition: width .25s ease; }
.emp-quality[data-level="mid"] .emp-q__bar > span { background: #d19a1f; }
.emp-quality[data-level="high"] .emp-q__bar > span { background: var(--good, #2e9d5f); }
.emp-q__sub { margin: 8px 0 0; font-size: 14px; }
.emp-q__list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 6px; font-size: 14px; }
.emp-tpl__row { display: grid; gap: 10px; align-items: end; grid-template-columns: 1fr; }
@media (min-width: 620px) { .emp-tpl__row { grid-template-columns: 1fr auto; } }
@media (prefers-reduced-motion: reduce) { .emp-q__bar > span { transition: none; } }

/* 30.10: кабинет — отклики с этапами и перепиской, воронка работодателя, подписка */
.kab-st { display: inline-block; font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); vertical-align: middle; }
.kab-unread { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-contrast); vertical-align: middle; }
.kab-apps--rich > li { display: block; padding: 14px 0; }
.kab-apps .kab-thread .kab-msg { display: grid; justify-content: stretch; align-items: start; border-bottom: 0; padding: 8px 12px; }
.kab-apps .kab-thread .kab-msg--them { border: 1px solid var(--border); }
.kab-app__top { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 16px; }
.kab-app__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kab-reason { margin: 8px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.kab-steps { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; }
.kab-steps li { padding: 3px 10px; border-radius: 999px; border: 1px dashed var(--border-strong, var(--border)); color: var(--text-3); }
.kab-steps li.is-done { border-style: solid; color: var(--text-2); }
.kab-steps li.is-now { border-style: solid; background: var(--accent-soft); color: var(--accent-text); font-weight: 700; }
.kab-h3 { margin: 16px 0 8px; font-size: 16px; }
.kab-chat { margin-top: 12px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); }
.kab-safe { font-size: 13px; color: var(--text-2); margin: 0 0 10px; }
.kab-thread { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.kab-msg { display: grid; gap: 2px; max-width: 88%; padding: 8px 12px; border-radius: 12px; font-size: 15px; overflow-wrap: anywhere; }
.kab-msg--me { justify-self: end; background: var(--accent-soft); color: var(--text); }
.kab-msg--them { justify-self: start; background: var(--surface); border: 1px solid var(--border); }
.kab-msg__who { font-size: 12px; color: var(--text-3); }
.kab-msg__text { white-space: pre-wrap; }
.kab-send textarea { font: inherit; font-size: 16px; padding: 10px; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--text); width: 100%; box-sizing: border-box; }
.kab-send__row { display: flex; gap: 12px; align-items: center; margin: 8px 0 0; }
.kab-note { margin: 0; }
.kab-report { margin-top: 12px; font-size: 14px; }
.kab-report summary { cursor: pointer; color: var(--text-2); min-height: 32px; }
.emp-wide { max-width: 860px; }
.emp-funnel .kab-tab { min-height: 44px; }
.emp-list { list-style: none; margin: 0 0 12px; padding: 0; }
.emp-row2 { display: flex; gap: 10px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.emp-row2__chk { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -8px 0 -8px -8px; }
.emp-row2__chk input { width: 20px; height: 20px; }
.emp-row2__main { min-width: 0; flex: 1; }
.emp-row2__name { font: inherit; font-weight: 700; background: none; border: 0; padding: 4px 0; color: var(--accent-text, var(--accent)); text-decoration: underline; cursor: pointer; min-height: 32px; text-align: left; }
.emp-all { margin: 0 0 8px; }
.emp-bulk { position: sticky; bottom: 8px; margin-top: 12px; padding: 12px; border: 1px solid var(--accent); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-lg); }
.emp-bulk__row { margin: 0 0 8px; }
@media (max-width: 520px) { .kab-msg { max-width: 96%; } .emp-bulk { bottom: 0; } }

#eBack { margin-bottom: 4px; }

/* 30.10 (проход 3): скрытые и просмотренные, подписка на работодателя */
.vcard__tools { display: inline-flex; align-items: center; gap: 2px; margin: -8px -8px 0 0; flex: none; }
.vcard__tools .fav-btn { margin: 0; }
.hide-btn { min-height: 44px; padding: 0 10px; border: 0; background: transparent; color: var(--text-3); font: inherit; font-size: 13px; cursor: pointer; border-radius: var(--radius-sm); }
.hide-btn:hover, .hide-btn:focus-visible { color: var(--text); text-decoration: underline; }
.vcard.is-viewed .vcard__title a { color: var(--text-2); }
.vcard.is-hidden { opacity: .6; }
.vcard__viewed { margin-top: 2px; font-size: 12px; color: var(--text-3); }
.vcard[hidden] { display: none; }
.hidden-bar { margin: 6px 0 0; font-size: 14px; color: var(--text-2); }
.hidden-bar[hidden] { display: none; }
.vac__follow { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.vac__follow .btn.is-on { border-color: var(--accent-text); color: var(--accent-text); }
.vac__follow-hint { font-size: 13px; flex-basis: 100%; }
.vac__same ul { margin: 0; padding-left: 20px; }
.vcard__foot .hide-btn { margin-left: auto; }

/* 30.10 (проход 4): таблица причин отказа, вид отказа и отчёт «что проверено» */
.emp-table-wrap { overflow-x: auto; margin: 12px 0; }
.emp-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.emp-table th, .emp-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.emp-table thead th { font-size: 13px; color: var(--text-3); font-weight: 600; }
.emp-table tbody th { font-weight: 600; width: 20%; }
.emp-table tr[data-kind="final"] td:last-child { color: var(--bad); font-weight: 600; }
.emp-table tr[data-kind="fixable"] td:last-child { color: var(--good, #1a7f37); font-weight: 600; }
.emp-kind { margin: 0 0 6px; }
.emp-kind--final strong { color: var(--bad); }
.emp-kind--fixable strong { color: var(--good, #1a7f37); }
.emp-checks { margin: 12px 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm, 10px); }
.emp-checks__h { margin: 0 0 6px; font-weight: 700; }
.emp-checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.emp-checks li { display: flex; gap: 8px; align-items: baseline; }
.emp-checks li > span:first-child { flex: 0 0 1.2em; text-align: center; }
.emp-checks__ok span:first-child { color: var(--good, #1a7f37); font-weight: 700; }
.emp-checks__fail span:first-child { color: var(--bad); font-weight: 700; }
.emp-checks__wait span:first-child, .emp-checks__skip span:first-child { color: var(--text-3); font-weight: 700; }
.kab-answers { margin: 10px 0; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm, 10px); }
.kab-answers ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 8px; }
@media (max-width: 619px) {
  .emp-table thead { position: absolute; left: -9999px; }
  .emp-table, .emp-table tbody, .emp-table tr, .emp-table th, .emp-table td { display: block; width: auto; }
  .emp-table tr { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .emp-table th, .emp-table td { border: 0; padding: 2px 0; }
  .emp-table tbody th { width: auto; font-size: 16px; }
  .emp-table td:last-child::before { content: "Что дальше: "; color: var(--text-3); font-weight: 400; }
}

/* 30.10 (владелец): в шапке нет «Войти»; на компьютере девушка за столом крупнее и ближе к луне */
.topnav__login { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; display: inline-flex; align-items: center; margin-left: 4px; white-space: nowrap; }
@media (max-width: 380px) { .topnav__login { padding: 0 12px; } }
@media (max-width: 420px) {
  .brand__approved-logo { width: 132px; }
  .topbar__in { gap: 8px; }
}
@media (min-width: 1100px) {
  html[data-theme] .hero .hero__person--desk { position: absolute; right: 150px; bottom: calc(100% + 10px); width: 300px; }
}
/* телефон: «← К каталогу» дублирует логотип и не помещается рядом с «Войти» и меню */
@media (max-width: 560px) { .topnav > .topnav__link[href="/"] { display: none; } }

/* 09.11 (владелица: «меньше текста, больше кнопок и переходов, понятно ребёнку»): страница работодателя — плитки, шаги, раскрывашки */
.emp-lead2 { font-size: 1.15rem; color: var(--text-2); margin: 0 0 16px; }
.emp-tiles { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0 0 16px; }
@media (min-width: 620px) { .emp-tiles { grid-template-columns: 1.4fr 1fr 1fr; } }
.emp-tile { display: grid; gap: 4px; align-content: start; padding: 16px; min-height: 96px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.emp-tile svg { color: var(--accent-text, var(--accent)); }
.emp-tile b { font-size: 1.05rem; }
.emp-tile small { color: var(--text-3); font-size: .9rem; }
.emp-tile:hover, .emp-tile:focus-visible { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); outline: none; }
.emp-tile:active { transform: translateY(0) scale(.99); }
.emp-tile--main { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.emp-tile--main svg, .emp-tile--main small { color: var(--accent-contrast); opacity: .92; }
.emp-steps3 { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 !important; margin: 0 0 18px; color: var(--text-2); font-size: .95rem; }
.emp-steps3 li { display: flex; align-items: center; gap: 8px; }
.emp-steps3 b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text, var(--accent)); font-size: .85rem; }
.emp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.emp-chip { padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; border: 1px solid var(--border); background: var(--surface-2); }
.emp-chip--ok { color: var(--good); background: var(--good-soft); border-color: transparent; }
.emp-chip--no { color: var(--bad); background: var(--bad-soft); border-color: transparent; }
.emp-acc { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 0 0 16px; }
.emp-acc > summary { cursor: pointer; list-style: none; padding: 14px 16px; min-height: 48px; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.emp-acc > summary::-webkit-details-marker { display: none; }
.emp-acc > summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent-text, var(--accent)); transition: transform .2s ease; }
.emp-acc[open] > summary::after { transform: rotate(45deg); }
.emp-acc > :not(summary) { padding-left: 16px; padding-right: 16px; }
.emp-acc[open] { animation: emp-pop .22s ease both; }
.emp-prog { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 !important; margin: 0 0 12px; position: sticky; top: 0; z-index: 3; background: var(--bg); padding-block: 8px !important; }
.emp-prog button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text-2); font: inherit; font-weight: 600; cursor: pointer; transition: background .18s, border-color .18s, color .18s, transform .18s; }
.emp-prog button b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); font-size: .85rem; }
.emp-prog button.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); transform: translateY(-1px); }
.emp-prog button.is-on b { background: rgba(255,255,255,.22); color: inherit; }
.emp-prog button.is-done { border-color: var(--good); color: var(--good); }
.emp-prog button.is-done b { background: var(--good-soft); color: var(--good); }
@media (max-width: 479px) { .emp-prog button span { font-size: .85rem; } }
.emp-form .emp-off { display: none !important; }
.emp-form.emp-in > :not(.emp-off) { animation: emp-slide .26s ease both; }
.emp-nav { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; }
.emp-nav .btn { flex: 1 1 160px; justify-content: center; }
.emp-back3 { margin-bottom: 8px; }
.emp-bad > input, .emp-bad > select, .emp-bad > textarea { border-color: var(--bad) !important; animation: emp-shake .3s ease; }
.emp-form fieldset.emp-more > :not(legend) { display: none; }
.emp-form fieldset.emp-more.is-open > :not(legend) { display: grid; }
.emp-form fieldset.emp-more > legend { cursor: pointer; padding: 10px 14px; border: 1px dashed var(--border-strong); border-radius: 999px; font-size: 1rem; }
.emp-form fieldset.emp-more > legend::before { content: "＋ "; }
.emp-form fieldset.emp-more.is-open > legend::before { content: "－ "; }
@keyframes emp-slide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes emp-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes emp-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .emp-tile, .emp-prog button, .emp-acc > summary::after { transition: none; } .emp-form.emp-in > *, .emp-acc[open], .emp-bad > input, .emp-bad > select, .emp-bad > textarea { animation: none; } }
.emp a.emp-tile, .emp a.emp-tile:hover { color: var(--text); text-decoration: none; }
.emp a.emp-tile--main, .emp a.emp-tile--main b, .emp a.emp-tile--main small, .emp a.emp-tile--main svg { color: var(--accent-contrast); }
.emp ol.emp-steps3 { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.emp-hint { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bad-soft); color: var(--bad); font-weight: 600; animation: emp-pop .2s ease both; }
.emp-bad { color: var(--bad); }
.emp-bad > input, .emp-bad > select, .emp-bad > textarea { border-width: 2px !important; }
.emp-i { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: 6px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--accent-text, var(--accent)); font: 700 .9rem/1 var(--font); cursor: pointer; vertical-align: middle; }
.kab-auth-more { margin: 12px 0 16px; }
.kab-auth-more > summary { cursor:pointer; min-height:44px; display:flex; align-items:center; color:var(--accent-text); font-weight:600; }
.emp-i:hover, .emp-i:focus-visible { background: var(--accent-soft); outline: none; }

/* 10.11: раздел «Направления» (/napravleniya): крупные ступени, цветные рамки «сколько» и «минус» — понятно и ребёнку */
.dir h1 { margin: 0; }
.dir-hero { display: flex; align-items: center; gap: 16px; padding: 18px; margin: 8px 0 14px; }
.dir-hero__icon { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); font-size: 34px; }
.dir-tag { margin: 0 0 4px; font-size: 13.5px; font-weight: 700; color: var(--accent-text); text-transform: uppercase; letter-spacing: .04em; }
.dir-kid { padding: 16px 18px; border-left: 6px solid var(--accent); }
.dir-kid h2 { margin-top: 0; }
.dir-kid p { margin: 0; font-size: 18px; line-height: 1.5; }
.doc-page article .dir-steps { list-style: none; padding-left: 0; display: grid; gap: 10px; counter-reset: none; }
.dir-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; }
.dir-step p { margin: 4px 0 0; color: var(--text-2); }
.dir-step__n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); font-weight: 700; font-size: 20px; }
.doc-page article .dir-check { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.dir-check li { position: relative; padding-left: 32px; }
.dir-check li::before { content: "✓"; position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--good-soft); color: var(--good); font-weight: 700; font-size: 14px; }
.dir-income, .dir-minus { padding: 4px 18px 10px; border-radius: var(--radius); margin: 18px 0; }
.dir-income { background: var(--reality-bg); border: 1px solid var(--reality-border); }
.dir-minus { background: var(--bad-soft); border: 1px solid var(--bad); }
.dir-minus h2, .dir-income h2 { margin-top: 12px; }
.doc-page article .dir-where { list-style: none; padding-left: 0; display: grid; gap: 8px; }
.dir-where li { padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow-wrap: anywhere; }
.dir-card { position: relative; padding-left: 64px; }
.dir-card__icon { position: absolute; left: 14px; top: 14px; font-size: 32px; line-height: 1; }

/* 10.11: два блока списка («Вакансии у нас» / «Площадки, где ещё ищут»), метки «У нас на сайте» и «Чужой сайт», подпись про чужой сайт. Только токены — светлая и тёмная темы. */
.ghead { list-style: none; display: flex; align-items: center; gap: 14px; margin: 8px 0 2px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); border-left: 6px solid var(--accent); background: var(--surface); }
.ghead--here { border-left-color: var(--good); background: var(--good-soft); }
.ghead--ext { border-left-color: var(--warn); }
.ghead__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); color: var(--accent); }
.ghead--here .ghead__ico { color: var(--good); }
.ghead--ext .ghead__ico { color: var(--warn); }
.ghead__ico .i { width: 24px; height: 24px; }
.ghead__title { margin: 0; font-size: 20px; line-height: 1.25; color: var(--text); }
.ghead__text { margin: 2px 0 0; font-size: 14.5px; line-height: 1.4; color: var(--text-2); }
.ghead-empty { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 2px dashed var(--good); border-radius: var(--radius); color: var(--text); }
.ghead-empty p { margin: 0; flex: 1 1 260px; }
.badge--here { background: var(--good-soft); color: var(--good); }
.badge--ext { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-strong); }
.vcard__ext { display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0; font-size: 13.5px; line-height: 1.4; color: var(--text-2); }
.vcard__ext .i { flex: none; margin-top: 2px; }
.vac__ext { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--warn); font-size: 14.5px; line-height: 1.45; color: var(--text); }
.vac__ext .i { flex: none; margin-top: 2px; }
.btn.is-off { opacity: .65; pointer-events: none; }
.ghead__link { display: inline-block; margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent-text); }
.plat { padding: 16px 18px; }
.plat__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.plat__name { margin: 0; font-size: 22px; }
.plat__verdict--warn { background: var(--surface-2); color: var(--warn); border: 1px solid var(--warn); }
.plat__verdict--muted { background: var(--surface-2); color: var(--text-2); border: 1px solid var(--border-strong); }
.plat__verdict--bad { background: var(--bad-soft); color: var(--bad); }
.plat__what { margin: 8px 0 12px; font-size: 16px; color: var(--text); }
.plat__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plat__col { padding: 10px 14px; border-radius: var(--radius-sm); }
.plat__col h3 { margin: 0 0 4px; font-size: 15px; }
.plat__col ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }
.plat__col--plus { background: var(--good-soft); }
.plat__col--minus { background: var(--bad-soft); }
.plat__go { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (max-width: 640px) { .plat__cols { grid-template-columns: 1fr; } }

/* 10.11: «Кто берёт удалённо» (/kto-beryot-udalenno). Зелёный = подтверждено, серый = не установлено (не только цветом: есть знак и слово). */
.ghead__link + .ghead__link { margin-left: 14px; }
.rem { padding: 16px 18px; min-width: 0; }
.rem__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.rem__name { margin: 0; font-size: 24px; }
.rem__format { background: var(--good-soft); color: var(--good); border: 1px solid var(--good); }
.rem__what { margin: 6px 0 4px; font-size: 17px; }
.rem__score { margin: 0 0 10px; font-weight: 700; color: var(--text); }
.rem__crit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rem__c { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 10px 6px; border-radius: var(--radius-sm); font-size: 13.5px; line-height: 1.25; }
.rem__c--ok { background: var(--good-soft); border: 2px solid var(--good); color: var(--text); }
.rem__c--unk { background: var(--surface-2); border: 2px dashed var(--border-strong); color: var(--text-2); }
.rem__c--unk .rem__ico { filter: grayscale(1); opacity: .6; }
.rem__ico { font-size: 26px; line-height: 1.1; }
.rem__cname { font-weight: 700; }
.rem__c--ok .rem__state { color: var(--good); font-weight: 700; }
.rem__note { margin: 8px 0 0; font-size: 14px; }
.rem__h { margin: 14px 0 4px; font-size: 16px; }
.rem__vac { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.rem__minus { margin: 12px 0 0; padding: 10px 14px; border-radius: var(--radius-sm); background: var(--bad-soft); border: 1px solid var(--bad); font-size: 15px; }
.rem__src { margin: 10px 0 0; font-size: 13.5px; }
.rem__go { margin: 12px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rem__legend { font-weight: 700; padding: 1px 8px; border-radius: 8px; }
.rem__legend--ok { background: var(--good-soft); color: var(--good); border: 1px solid var(--good); }
.rem__legend--unk { background: var(--surface-2); color: var(--text-2); border: 1px dashed var(--border-strong); }
.rem-check, .rem-employer { padding: 4px 18px 14px; margin: 18px 0; }
.rem-employer { border-left: 6px solid var(--good); }
.rem-chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rem-chip { padding: 6px 12px; border-radius: 999px; background: var(--surface-2); border: 1px dashed var(--border-strong); font-size: 14.5px; }
@media (max-width: 640px) { .rem__crit { grid-template-columns: 1fr; } .rem__c { flex-direction: row; justify-content: flex-start; text-align: left; gap: 10px; } .rem__cname { flex: 1; } .rem__ico { font-size: 22px; } }
@media (min-width: 720px) { .doc-page article .rem-list { grid-template-columns: minmax(0, 1fr); } }
