/* ============================================================================
   jobs-corp.css — корпоративный слой для /jobs.html (акцент B, «как Альфа»)
   ----------------------------------------------------------------------------
   2026-10-31 (Alex). Задача: привести «Работу» к стилю сайта как /cloud.html,
   акцент B (белый фон + красный #D4231A), верхнее меню с «бургером», который
   раскрывает функции левого меню. Токены берутся из /css/accents.css
   (html[data-accent="b"]), здесь — каркас шапки, выдвижного меню и правки
   компонентов страницы под корпоративный стиль.
   ========================================================================== */

/* ---------- 1. Подстраховка токенов (если accents.css не загрузился) ------ */
html[data-accent="b"] {
  --bg: #FFFFFF;
  --card: #F3F4F5;
  --card2: #EEF0F1;
  --text: #0B1F35;
  --muted: #333B47;
  --accent: #EF3124;
  --accent-strong: #C4241A;
  --btn-bg: #D4231A;
  --ink: #FFFFFF;
  --border: rgba(11, 31, 53, 0.08);
  --shadow: 0 8px 24px rgba(11, 31, 53, 0.08);
  --maxw: 1160px;
}

body {
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  padding-bottom: 0;
}

/* ---------- 2. Шапка ------------------------------------------------------ */
.jc-hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.jc-hrow {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
}

/* логотип-вордмарк: GRAMATON . Работа */
.jc-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 6px;
}
.jc-brand b {
  font: 800 19px/1 'Golos Text', system-ui, sans-serif;
  letter-spacing: 1.5px;
  color: var(--text);
  text-transform: uppercase;
}
.jc-brand-sub {
  font: 700 13px/1 'Golos Text', system-ui, sans-serif;
  color: var(--accent);
}
.jc-brand:hover b { color: var(--accent); }

/* «бургер» — три полоски */
.jc-burger {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.jc-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.22s ease, opacity 0.18s ease, background 0.18s ease;
}
.jc-burger:hover {
  border-color: rgba(239, 49, 36, 0.45);
  box-shadow: 0 4px 14px rgba(11, 31, 53, 0.08);
}
.jc-burger:hover span,
.jc-burger[aria-expanded="true"] span { background: var(--accent); }
.jc-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.jc-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.jc-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* навигация (десктоп) */
.jc-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: nowrap;
  overflow: hidden;
}
.jc-nav a {
  font: 600 14px/1 'Golos Text', system-ui, sans-serif;
  color: var(--muted);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 99px;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}
.jc-nav a:hover { background: var(--card); color: var(--text); }
.jc-nav a.on { background: rgba(239, 49, 36, 0.1); color: var(--accent-strong); }

/* правая часть */
.jc-acts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}
.jc-acts .uchip { flex: 0 0 auto; }
.jc-cab {
  background: var(--btn-bg) !important;
  color: #fff !important;
  font: 700 14px/1 'Golos Text', system-ui, sans-serif;
  padding: 11px 20px;
  border-radius: 99px;
  text-decoration: none;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  transition: background 0.16s ease, transform 0.16s ease;
}
.jc-cab:hover { background: #B01A12 !important; transform: translateY(-1px); }

/* ---------- 3. Выдвижное меню (левое) ------------------------------------ */
.jc-ov {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 53, 0.44);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  z-index: 1000;
}
.jc-ov.on { opacity: 1; visibility: visible; }

.jc-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 330px);
  max-width: 92vw;
  z-index: 1001;
  background: #fff;
  color: var(--text);
  box-shadow: 8px 0 34px rgba(11, 31, 53, 0.22);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(-104%);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  padding-bottom: 18px;
}
.jc-drawer.on { transform: translateX(0); }

.jc-dhead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.jc-ava {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--btn-bg);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 16px/1 'Golos Text', system-ui, sans-serif;
}
.jc-dname { font: 700 15px/1.2 'Golos Text', system-ui, sans-serif; }
.jc-dsub { font: 500 12px/1.2 'Golos Text', system-ui, sans-serif; color: var(--muted); margin-top: 3px; }
.jc-dclose {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
}
.jc-dclose:hover { color: var(--accent); border-color: rgba(239, 49, 36, 0.4); }

.jc-dgroup {
  font: 700 11px/1 'Golos Text', system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6D7986;
  padding: 16px 16px 8px;
}
.jc-ditem {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  font: 600 14px/1.2 'Golos Text', system-ui, sans-serif;
  border-left: 3px solid transparent;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.jc-ditem i {
  font-style: normal;
  width: 22px;
  text-align: center;
  font-size: 16px;
  flex: 0 0 auto;
}
.jc-ditem:hover { background: var(--card); }
.jc-ditem.on {
  background: rgba(239, 49, 36, 0.08);
  border-left-color: var(--accent);
  color: var(--accent-strong);
}

body.jc-lock { overflow: hidden; }

/* ---------- 4. Контент: корпоративный вид -------------------------------- */
.jc-hdr ~ main, main.wrap { padding-top: 6px; }

.hero { padding: 22px 0 4px !important; }
.hero h1 {
  font: 800 34px/1.15 'Golos Text', system-ui, sans-serif !important;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
  color: var(--text) !important;
}
.hero p { font: 500 16px/1.5 'Golos Text', system-ui, sans-serif !important; color: var(--muted) !important; max-width: 640px; }

.subtabs {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 99px !important;
  padding: 4px !important;
  box-shadow: 0 4px 16px rgba(11, 31, 53, 0.05);
}
.subtabs button {
  border: 0 !important;
  background: transparent !important;
  border-radius: 99px !important;
  padding: 10px 18px !important;
  font: 700 14px/1 'Golos Text', system-ui, sans-serif !important;
  color: var(--muted) !important;
  cursor: pointer;
}
.subtabs button.on {
  background: var(--btn-bg) !important;
  color: #fff !important;
}

.filters {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 24px rgba(11, 31, 53, 0.06);
}
.lbl { font: 700 12px/1 'Golos Text', system-ui, sans-serif; color: #6D7986; text-transform: uppercase; letter-spacing: 0.04em; }
.inp {
  border-radius: 12px !important;
  border: 1px solid rgba(11, 31, 53, 0.14) !important;
  background: #fff !important;
  font: 500 14px/1 'Golos Text', system-ui, sans-serif !important;
}
.inp:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(239, 49, 36, 0.14) !important;
  outline: none;
}

.chip {
  background: #fff !important;
  border: 1px solid rgba(11, 31, 53, 0.14) !important;
  color: var(--muted) !important;
  border-radius: 99px !important;
  font: 600 13px/1 'Golos Text', system-ui, sans-serif !important;
  transition: all 0.16s ease;
}
.chip:hover { border-color: rgba(239, 49, 36, 0.5) !important; color: var(--accent-strong) !important; }
.chip.on {
  background: rgba(239, 49, 36, 0.1) !important;
  border-color: var(--accent) !important;
  color: var(--accent-strong) !important;
}

.card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px !important;
  box-shadow: 0 6px 20px rgba(11, 31, 53, 0.06) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(11, 31, 53, 0.1) !important; }

.btn { border-radius: 99px !important; font: 700 14px/1 'Golos Text', system-ui, sans-serif !important; }
.btn-primary { background: var(--btn-bg) !important; color: #fff !important; }
.btn-primary:hover { background: #B01A12 !important; }

.pill-tag {
  background: rgba(239, 49, 36, 0.1) !important;
  color: var(--accent-strong) !important;
  font: 700 12px/1 'Golos Text', system-ui, sans-serif !important;
  padding: 5px 10px;
  border-radius: 99px;
}

/* футер — как на сайте */
footer { border-top: 1px solid var(--border) !important; margin-top: 32px; background: #fff; }
footer, footer a, footer span { font: 500 13px/1.5 'Golos Text', system-ui, sans-serif !important; color: var(--muted) !important; }
footer a:hover { color: var(--accent-strong) !important; }

/* ---------- 5. Мобильная адаптация --------------------------------------- */
@media (max-width: 900px) {
  .jc-nav { display: none !important; }
  .jc-acts .uchip { display: none !important; }
  .jc-cab { padding: 10px 16px; min-height: 40px; font-size: 13px !important; }
  .jc-brand b { font-size: 17px; letter-spacing: 1px; }
  .jc-brand-sub { font-size: 12px; }
  .jc-hrow { min-height: 58px; gap: 8px; }
  .hero h1 { font-size: 26px !important; }
  .hero p { font-size: 14px !important; }
  .subtabs { width: 100%; }
  .subtabs button { flex: 1 1 0; padding: 10px 8px !important; font-size: 13px !important; }
  .filters { padding: 12px !important; }
  body { padding-bottom: 76px; } /* место под нижние табы */
}

@media (max-width: 420px) {
  .jc-brand b { font-size: 15px; }
  .jc-cab { padding: 9px 14px; }
}

/* ---------- 6. Эмодзи-иконки: без этого в Golos Text они превращаются в □ ---- */
body, .chip, .subtabs button, .card, .jc-ditem, .jc-brand, .btn, .hero h1, .hero p {
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', 'Apple Color Emoji',
               'Segoe UI Emoji', 'Noto Color Emoji', sans-serif !important;
}

/* ---------- 7. Виджет «Документы»: было золото/тёмное → акцент B ------------- */
.gdx-fab {
  background: #D4231A !important;
  color: #fff !important;
  border-radius: 99px !important;
  box-shadow: 0 8px 24px rgba(212, 35, 26, 0.32) !important;
  font-family: 'Golos Text', system-ui, sans-serif !important;
  font-weight: 700 !important;
}
.gdx-fab:hover { background: #B01A12 !important; }
.gdx-panel, .gdx-ov .gdx-panel, .gdx-row, .gdx-note {
  font-family: 'Golos Text', system-ui, sans-serif !important;
}
.gdx-panel { border-radius: 16px !important; }
.gdx-primary { background: #D4231A !important; color: #fff !important; border-radius: 99px !important; }
.gdx-primary:hover { background: #B01A12 !important; }
.gdx-ghost { border-radius: 99px !important; }
.gdx-panel { position: relative !important; background: #fff !important; color: var(--text) !important; }
.gdx-panel h3 { color: var(--text) !important; padding-right: 44px; }
.gdx-panel .gdx-sub, .gdx-panel label { color: var(--muted) !important; }
.gdx-panel select, .gdx-panel input { background: #fff !important; color: var(--text) !important; border: 1px solid var(--border) !important; }
.gdx-panel .gdx-close {
  position: absolute !important; top: 10px !important; right: 10px !important; margin: 0 !important;
  float: none !important; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 999px; background: transparent; border: 0; cursor: pointer; color: var(--muted) !important;
}

/* ---------- 8. Мобильные мелочи ------------------------------------------- */
@media (max-width: 900px) {
  /* виджет «Документы» не должен садиться на нижние табы */
  .gdx-fab { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  /* список вакансий не должен уезжать под фиксированные табы */
  main.wrap { padding-bottom: 8px; }
  .filters .frow { grid-template-columns: 1fr 1fr; gap: 8px; }
  .filters .chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .filters .chips::-webkit-scrollbar { display: none; }
}

/* ---------- 9. Узкие экраны: поля в столбец, чипсы не сжимаются ------------ */
.inp { text-overflow: ellipsis; }
@media (max-width: 900px) {
  .filters .chips .chip { flex: 0 0 auto; }
  .gdx-fab { transform: scale(0.92); transform-origin: bottom right; right: 10px !important; }
}
@media (max-width: 480px) {
  .filters .frow { grid-template-columns: 1fr; }
  .hero h1 { font-size: 23px !important; }
  .card { padding: 14px !important; }
}

/* ---------- 10. Финальный размер виджета «Документы» ----------------------- */
@media (max-width: 900px) {
  .gdx-fab {
    bottom: calc(94px + env(safe-area-inset-bottom)) !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
    scale: 0.86;
  }
}
@media (min-width: 901px) {
  .gdx-fab { bottom: 22px !important; right: 22px !important; }
}

/* ---------- 11. Иконки меню: монохромные SVG вместо эмодзи ---------------- */
.jc-ditem .jc-ic {
  width: 22px; height: 22px; flex: 0 0 22px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
}
.jc-ditem .jc-ic svg { width: 20px; height: 20px; display: block; }
.jc-ditem.on .jc-ic, .jc-ditem:hover .jc-ic { color: var(--accent); }

/* ---------- 12. Чипсы фильтров: переносим, а не обрезаем ------------------ */
@media (max-width: 900px) {
  .filters .chips { flex-wrap: wrap !important; overflow: visible !important; row-gap: 8px; }
}

/* ---------- 13. Нижние табы: монохромные SVG ------------------------------ */
.tabs-mob .i { display: inline-flex; align-items: center; justify-content: center; }
.tabs-mob .i svg { width: 20px; height: 20px; display: block; }
.tabs-mob a { color: var(--muted) !important; }
.tabs-mob a.on, .tabs-mob a:active { color: var(--accent) !important; }

/* ---------- 14. Запас под фиксированными элементами (табы + виджет) ------- */
@media (max-width: 900px) {
  body { padding-bottom: 118px !important; }
  main.wrap { padding-bottom: 24px; }
}

/* ---------- 15. Фокус: акцентная обводка вместо системной чёрной ---------- */
.jc-nav a:focus-visible,
.jc-burger:focus-visible,
.jc-drawer a:focus-visible,
.tabs-mob a:focus-visible,
.jc-cab:focus-visible,
.jc-acts .btn:focus-visible,
.filters .chip:focus-visible,
.inp:focus-visible {
  outline: 2px solid var(--accent) !important;
  outline-offset: 2px;
  border-radius: 10px;
}
.jc-drawer:focus, .jc-drawer:focus-visible { outline: none !important; }

/* ---------- 15. «Документы» — пункт левого меню, плашка скрыта ------------- */
/* 2026-10-31 (Alex): по просьбе Устина плавающая кнопка «Документы» убрана,
   вход — через выдвижное меню (.jc-ditem-btn#jcDocs открывает виджет). */
.gdx-fab { display: none !important; }

.jc-ditem-btn {
  width: 100%;
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.jc-ditem-btn:hover { background: var(--card); }
.jc-ditem-btn:hover .jc-ic { color: var(--accent); }

/* подвала в кабинете нет — убираем лишний запас снизу на десктопе */
@media (min-width: 901px) { body { padding-bottom: 24px !important; } }

/* ---------- 16. Панель «Документы» в светлом корпоративном стиле ----------- */
.gdx-ov { background: rgba(11, 31, 53, 0.44) !important; }
.gdx-panel {
  background: #FFFFFF !important;
  color: var(--text) !important;
  border: 1px solid rgba(11, 31, 53, 0.12) !important;
  border-radius: 16px !important;
  font-family: 'Golos Text', system-ui, sans-serif !important;
  position: relative;
}
.gdx-panel h3 { color: var(--text) !important; font-family: 'Golos Text', system-ui, sans-serif !important; padding-right: 34px; }
.gdx-panel .gdx-sub { color: #5A626B !important; }
.gdx-panel label, .gdx-panel .gdx-row { color: var(--muted) !important; }
.gdx-panel input, .gdx-panel select, .gdx-panel textarea {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid rgba(11, 31, 53, 0.16) !important;
  border-radius: 10px !important;
  font-family: 'Golos Text', system-ui, sans-serif !important;
}
.gdx-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px !important;
  border: 1px solid rgba(11, 31, 53, 0.12) !important;
  background: #fff !important;
  color: var(--muted) !important;
}
.gdx-close:hover { color: var(--accent) !important; border-color: rgba(239, 49, 36, 0.4) !important; }
.gdx-note { background: var(--card) !important; color: var(--muted) !important; border-radius: 12px !important; }
.gdx-ghost { border: 1px solid rgba(11, 31, 53, 0.16) !important; color: var(--text) !important; background: #fff !important; }

/* узкие экраны: поля панели не вылезают за край */
@media (max-width: 480px) {
  .gdx-panel { padding: 16px !important; }
  .gdx-panel .gdx-row { flex-wrap: wrap !important; gap: 8px !important; }
  .gdx-panel .gdx-row > * { min-width: 0; flex: 1 1 100%; }
  .gdx-panel input, .gdx-panel select, .gdx-panel textarea { width: 100% !important; box-sizing: border-box; }
}

/* ---------- 17. Календарь со сменами — как в приложении -------------------- */
.cal-panel { padding: 16px !important; }
.cal-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
}
.cal-head b {
  font: 800 18px/1.2 'Golos Text', system-ui, sans-serif;
  color: var(--text);
  letter-spacing: -0.2px;
}
.cal-hint {
  font: 600 12px/1 'Golos Text', system-ui, sans-serif;
  color: #6D7986;
  background: var(--card2);
  padding: 5px 10px;
  border-radius: 99px;
}
.cal-strip {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.cal-strip::-webkit-scrollbar { display: none; }

.wday {
  flex: 0 0 auto !important;
  width: 58px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 0 12px;
  border: 1px solid rgba(11, 31, 53, 0.10) !important;
  border-radius: 14px !important;
  background: #fff !important;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
  outline: none;
}
.wday:hover { border-color: rgba(239, 49, 36, 0.45) !important; transform: translateY(-1px); }
.wday .dn {
  font: 600 11px/1 'Golos Text', system-ui, sans-serif !important;
  color: #6D7986 !important;
  text-transform: lowercase;
  letter-spacing: .02em;
}
.wday .dd {
  font: 800 20px/1 'Golos Text', system-ui, sans-serif !important;
  color: var(--text) !important;
}
.wday .ct {
  min-width: 24px;
  padding: 4px 8px;
  border-radius: 99px;
  background: #EFF1F3;
  color: #333B47;
  font: 700 11px/1 'Golos Text', system-ui, sans-serif !important;
  text-align: center;
}
.wday.today { border-color: rgba(239, 49, 36, 0.5) !important; }
.wday.on {
  background: var(--btn-bg) !important;
  border-color: var(--btn-bg) !important;
  box-shadow: 0 10px 22px rgba(212, 35, 26, 0.28);
}
.wday.on .dn { color: rgba(255, 255, 255, 0.85) !important; }
.wday.on .dd { color: #fff !important; }
.wday.on .ct { background: rgba(11, 31, 53, 0.82); color: #fff; }

@media (max-width: 900px) {
  .cal-panel { padding: 14px 12px !important; }
  .cal-head b { font-size: 17px; }
  .wday { width: 54px; min-height: 84px; }
  .wday .dd { font-size: 19px !important; }
}

/* ---------- 18. Календарь: докрутка под приложение (мобильные) ------------- */
.cal-strip { position: relative; }
.cal-strip::after {
  content: '';
  position: sticky;
  right: 0;
  flex: 0 0 18px;
  margin-left: -18px;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
}
.wday.on { box-shadow: 0 6px 16px rgba(212, 35, 26, 0.22) !important; }
.wday.on:hover { transform: none; }
.wday { overflow: hidden; }

@media (max-width: 900px) {
  .wday { width: 50px; min-height: 80px; padding: 9px 0 10px; }
  .wday .dd { font-size: 18px !important; }
  .wday .dn { font-size: 10px !important; }
  .wday .ct { min-width: 22px; padding: 3px 7px; font-size: 10px !important; }
  .cal-strip { gap: 6px; }
}

/* ---------- 19. Календарь: финальные детали -------------------------------- */
.wday .ct-zero { background: transparent !important; width: 0; min-width: 0; padding: 0; }
.wday.on .ct { background: #0B1F35 !important; color: #FFFFFF !important; }
.wday .ct { color: #333B47 !important; }

/* подсказка о продолжении ленты: плавное затухание у правого края */
@media (max-width: 900px) {
  .cal-strip {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent 100%);
  }
  .cal-strip::after { display: none; }
}

/* лента: мягче затухание, чтобы выбранный день не «съедался» краем */
@media (max-width: 900px) {
  /* затухание убрано: выбранный день центрируется прокруткой, край не «съедается» */
  .cal-strip { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- 20. Десктоп: лента заполняет ширину, одна главная кнопка -------- */
@media (min-width: 901px) {
  .cal-strip { display: flex !important; }
  .cal-strip .wday { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
}
/* «Войти» — второстепенная кнопка, чтобы не спорить с «Кабинет» */
.jc-acts .uchip .btn {
  background: #fff !important;
  color: var(--text) !important;
  border: 1px solid rgba(11, 31, 53, 0.16) !important;
  border-radius: 99px !important;
  box-shadow: none !important;
}
.jc-acts .uchip .btn:hover { border-color: var(--accent) !important; color: var(--accent) !important; }

/* ---------- 21. Отступ между календарём и блоком поиска -------------------- */
/* 2026-10-31 (Alex): на мобильном календарь «прилипал» к панели фильтров —
   между ними был 0px. Даём воздух и разделяем блоки. */
#cal { margin: 0 0 14px !important; }
#cal .cal-panel { margin: 0 !important; }
main.wrap .filters { margin-top: 0 !important; }

@media (max-width: 900px) {
  #cal { margin-bottom: 12px !important; }
  #cal .cal-panel { padding: 14px 12px 12px !important; }
}

/* ============================================================================
   WP-5 (2026-10-31): экран «Регулярная» — hh-паттерны в акценте B.
   Только токены §0 спеки: --bg/--card/--card2/--text/--muted/--accent/
   --accent-strong/--btn-bg/--ink/--border/--shadow. Никаких тёмных блоков.
   ========================================================================== */

.jr, .jr-view, .jr-detail, .jr-wizard, .jr-modal, .jr-sheet {
  font-family: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
}

.jr { max-width: 860px; margin: 0 auto; }
.jr-city-row { display: none; }

/* ---------- липкая шапка поиска + чипы ---------- */
.jr-sticky {
  position: sticky;
  top: 56px;
  z-index: 22;
  background: var(--bg);
  padding: 4px 0 8px;
}
.jr-search { display: grid; gap: 8px; }
.jr-search-row { display: flex; gap: 8px; align-items: stretch; }

.jr-field { position: relative; flex: 1 1 auto; min-width: 0; }
.jr-lupa {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.jr .jr-input, .jr-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: 500 14px/1.35 'Golos Text', system-ui, sans-serif;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.jr-field .jr-input { height: 52px; padding-left: 42px; padding-right: 42px; text-overflow: ellipsis; }
.jr .jr-input, .jr-input { text-overflow: ellipsis; }
.jr-input::placeholder { color: var(--muted); opacity: .78; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
.jr-input:focus, .jr-field .jr-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 49, 36, 0.14);
}
.jr-input[disabled] { opacity: .55; }
.jr-invalid { border-color: var(--accent-strong) !important; box-shadow: 0 0 0 3px rgba(239,49,36,.12) !important; }
.jr-err { color: var(--accent-strong); font: 600 12px/1.3 'Golos Text', sans-serif; margin: 4px 0 0 2px; }

.jr-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font-size: 14px; cursor: pointer; line-height: 1;
}
.jr-clear:hover { background: var(--card2); color: var(--text); }

.jr-find {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; min-height: 52px; padding: 0 18px;
  border: 0; border-radius: 12px;
  background: var(--btn-bg); color: var(--ink);
  font: 700 14px/1 'Golos Text', sans-serif; cursor: pointer;
  box-shadow: var(--shadow);
}
.jr-find svg { width: 18px; height: 18px; display: none; }
.jr-find:hover { background: var(--accent-strong); }
.jr-find-t { display: none; }

.jr-city-row { display: flex; align-items: center; gap: 8px; }
.jr .jr-city, .jr-city {
  min-height: 40px; padding: 8px 34px 8px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--text); font: 600 13px/1 'Golos Text', sans-serif;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.jr-city-wide { width: 100%; border-radius: 12px; min-height: 44px; }
.jr-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- чипы ---------- */
.jr-chips-wrap { position: relative; margin-top: 10px; }
/* намёк на горизонтальный скролл: мягкий градиент справа */
.jr-chips-wrap::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 44px;
  background: linear-gradient(to right, rgba(255,255,255,0), var(--bg) 72%);
  pointer-events: none; opacity: 0; transition: opacity .18s ease; border-radius: 0 8px 8px 0;
}
.jr-chips-wrap.can-scroll::after { opacity: 1; }
.jr-chips {
  display: flex; gap: 8px; align-items: center;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 2px 2px 4px;
  scroll-snap-type: x proximity;
}
.jr-chips::-webkit-scrollbar { display: none; }
.jr-chip {
  flex: 0 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  box-sizing: border-box;
  height: 40px; min-height: 40px; max-height: 40px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: 999px;
  background: var(--card); color: var(--text);
  font: 600 13px/40px 'Golos Text', sans-serif; cursor: pointer; white-space: nowrap;
  transition: background .14s cubic-bezier(.2,.8,.2,1), color .14s cubic-bezier(.2,.8,.2,1),
              border-color .14s cubic-bezier(.2,.8,.2,1), box-shadow .14s cubic-bezier(.2,.8,.2,1);
}
.jr-chip-t { display: inline-block; line-height: 40px; }
.jr-chip:hover { background: var(--card2); }
.jr-chip.on { background: var(--btn-bg); color: var(--ink); border-color: transparent; padding-right: 10px; }
.jr-chip.on:hover { background: var(--accent-strong); }
.jr-chip-x {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; margin-right: -2px; border-radius: 999px;
  font: 700 11px/1 'Golos Text', sans-serif; opacity: .9;
  cursor: pointer;
}
.jr-chip-x:hover { background: rgba(255,255,255,.22); opacity: 1; }
.jr-chip-more { border-style: dashed; background: #fff; }
.jr-chip-off { opacity: .55; cursor: not-allowed; }
.jr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* ---------- строка результатов ---------- */
.jr-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin: 14px 0 10px;
}
.jr-found { font: 600 14px/1.35 'Golos Text', sans-serif; color: var(--muted); }
.jr-found b { color: var(--text); font-weight: 800; }
.jr-sort { display: inline-flex; align-items: center; gap: 6px; }
.jr-sort select {
  min-height: 34px; padding: 6px 28px 6px 10px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--text); font: 600 13px/1 'Golos Text', sans-serif;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}

/* ---------- карточка ---------- */
.jr-list { display: grid; gap: 12px; padding-bottom: 4px; }
@keyframes jrCardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.jr-card.jr-new { animation: jrCardIn .16s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 20ms); }
.jr-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: box-shadow .16s cubic-bezier(.2,.8,.2,1), transform .16s cubic-bezier(.2,.8,.2,1),
              border-color .16s cubic-bezier(.2,.8,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .jr-card:hover { box-shadow: 0 12px 32px rgba(11, 31, 53, .12); border-color: rgba(11, 31, 53, .14); }
}
.jr-card:active { box-shadow: 0 4px 12px rgba(11, 31, 53, .10); }
.jr-card:focus { outline: none; }
.jr-card-top { display: flex; align-items: flex-start; gap: 12px; }
.jr-title {
  flex: 1 1 auto; margin: 0;
  font: 700 17px/1.25 'Golos Text', sans-serif;
  letter-spacing: -.01em;
}
.jr-title a { color: var(--text); text-decoration: none; }
.jr-title a:hover { color: var(--accent-strong); }
.jr-icons { flex: 0 0 auto; display: flex; gap: 8px; margin: -8px -8px 0 0; }
.jr-icon {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px;
  display: inline-grid; place-items: center;
  border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font-size: 19px; line-height: 1; cursor: pointer;
}
.jr-icon:hover { background: var(--card2); color: var(--accent-strong); }
.jr-icon.on { color: var(--accent); }

.jr-salary { font: 800 16px/1.3 'Golos Text', sans-serif; margin-top: 8px;
  font-variant-numeric: tabular-nums; font-feature-settings: 'tnum'; }
.jr-salary.muted { font-weight: 500; font-size: 14px; color: var(--muted); }

.jr-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.jr-badge {
  font: 600 13px/1.2 'Golos Text', sans-serif;
  padding: 4px 8px; border-radius: 8px; box-sizing: border-box; min-height: 24px;
  background: var(--card2); color: var(--muted);
}

.jr-company {
  margin-top: 12px; font: 600 13px/1.45 'Golos Text', sans-serif; color: var(--text);
}
.jr-cname { font-weight: 700; }
.jr-rate { color: #333B47; color: var(--muted); font-weight: 600; margin-left: 6px; }
.jr-sep { color: var(--muted); margin: 0 6px; }
.jr-revs { color: var(--muted); font-weight: 500; }
.jr-addr { margin-top: 4px; font: 400 13px/1.45 'Golos Text', sans-serif; color: #333B47; color: var(--muted); }
.jr-viewers { font: 500 12px/1.35 'Golos Text', sans-serif; color: #2A333F; color: var(--muted); margin: 0 0 12px; letter-spacing: .1px; font-variant-numeric: tabular-nums; }
.jr-labels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jr-label {
  font: 600 12px/1.2 'Golos Text', sans-serif;
  padding: 4px 10px; border-radius: 999px; box-sizing: border-box; min-height: 24px;
  background: #fff; border: 1px solid var(--border); color: var(--muted);
}
.jr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.jr-btn-primary, .jr-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 132px; padding: 0 20px;
  border-radius: 999px; border: 1px solid transparent;
  font: 700 14px/1 'Golos Text', sans-serif; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .16s cubic-bezier(.2,.8,.2,1), border-color .16s cubic-bezier(.2,.8,.2,1),
              color .16s cubic-bezier(.2,.8,.2,1), transform .12s cubic-bezier(.2,.8,.2,1);
}
.jr-btn-primary { background: var(--btn-bg); color: var(--ink); box-shadow: var(--shadow); }
.jr-btn-primary:hover { background: var(--accent-strong); }
.jr-btn-primary:active { transform: translateY(1px); }
.jr-btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.jr-btn-ghost:hover { background: var(--card2); }
.jr-btn-ghost:active { background: var(--card2); transform: translateY(1px); }
.jr-btn-primary:disabled, .jr-btn-primary[disabled] { background: var(--card2); color: var(--muted); box-shadow: none; }
.jr-btn-done { background: #E7F4EC; color: #1E7A4C; box-shadow: none; border-color: transparent; }
.jr-btn-done:hover { background: #E7F4EC; color: #1E7A4C; }
.jr-btn-primary[disabled], .jr-btn-ghost[disabled] { opacity: .55; cursor: default; }
.jr-btn-ghost.jr-sm, .jr-btn-primary.jr-sm { min-height: 36px; min-width: 0; padding: 0 14px; font-size: 13px; }
.jr-wide { width: 100%; min-width: 0; }
.jr-link {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--accent-strong); font: 600 13px/1.4 'Golos Text', sans-serif;
  text-decoration: underline; text-underline-offset: 2px;
}
.jr-links {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center;
  margin: 22px 0 8px; color: var(--muted); font-size: 13px;
}

/* ---------- скелетоны ---------- */
.jr-skel { cursor: default; }
.jr-sk {
  border-radius: 10px;
  background: linear-gradient(90deg, #EDEFF0 25%, #F6F7F8 37%, #EDEFF0 63%);
  background-size: 400% 100%;
  animation: jr-pulse 1.4s ease infinite;
  height: 14px; margin-bottom: 10px;
}
.jr-sk.l1 { width: 62%; height: 18px; }
.jr-sk.l2 { width: 40%; }
.jr-sk.l3 { width: 78%; }
.jr-sk.l4 { width: 30%; margin-bottom: 0; }
@keyframes jr-pulse { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .jr-sk { animation: none; } }

/* ---------- пустые состояния ---------- */
.jr-empty {
  text-align: center; padding: 32px 16px;
  border: 1px dashed var(--border); border-radius: 16px; background: #fff;
}
.jr-empty-ico {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 999px;
  display: grid; place-items: center; background: var(--card2); color: var(--muted);
}
.jr-empty-ico svg { width: 26px; height: 26px; }
.jr-empty h3 { font: 700 17px/1.25 'Golos Text', sans-serif; margin: 0 0 8px; }
.jr-empty p { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 0 auto 16px; max-width: 40ch; }
.jr-end { text-align: center; color: var(--muted); font-size: 13px; padding: 14px 0 4px; }
.jr-note { color: var(--muted); font-size: 13px; line-height: 1.45; margin: 8px 0; }

/* ---------- детальная ---------- */
.jr-detail {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.jr-detail-in { max-width: 1040px; margin: 0 auto; padding: 0 16px 96px; }
.jr-detail-top {
  position: sticky; top: 0; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.jr-back {
  width: 44px; height: 44px; flex: 0 0 auto;
  display: inline-grid; place-items: center;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--text); font-size: 20px; line-height: 1; cursor: pointer;
}
.jr-back:hover { background: var(--card2); }
.jr-detail-crumb { font: 600 13px/1.3 'Golos Text', sans-serif; color: var(--muted); }
.jr-detail-body { padding: 16px 0; }
.jr-d-top { display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; }
.jr-d-title { flex: 1 1 auto; font: 800 22px/1.25 'Golos Text', sans-serif; margin: 0; }
.jr-d-salary { font: 800 20px/1.3 'Golos Text', sans-serif; margin-top: 8px; }
.jr-d-salary.muted { font-weight: 500; font-size: 15px; color: var(--muted); }
.jr-d-addr { margin-top: 8px; font: 500 14px/1.4 'Golos Text', sans-serif; color: var(--muted); }
.jr-d-actions { display: grid; gap: 8px; margin: 16px 0 8px; }
.jr-d-sec { margin-top: 22px; }
.jr-d-sec h2 { font: 800 17px/1.25 'Golos Text', sans-serif; margin: 0 0 8px; }
.jr-d-sec p { font-size: 14px; line-height: 1.55; margin: 0 0 10px; color: var(--text); }
.jr-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.jr-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 999px;
  background: var(--card2); color: var(--text); font: 600 13px/1.2 'Golos Text', sans-serif;
}
.jr-pill-x {
  border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: 12px; line-height: 1; padding: 0 0 0 2px;
}
.jr-list-ul { margin: 0; padding-left: 18px; }
.jr-list-ul li { margin-bottom: 6px; font-size: 14px; }
.jr-similar { display: grid; gap: 10px; }
.jr-d-side { margin-top: 22px; }
.jr-d-company {
  border: 1px solid var(--border); border-radius: 16px; padding: 16px; background: #fff;
}
.jr-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: var(--card2); }
.jr-logo-ph { display: grid; place-items: center; font: 800 22px/1 'Golos Text', sans-serif; color: var(--muted); }
.jr-d-cname { margin-top: 10px; font: 800 16px/1.3 'Golos Text', sans-serif; }
.jr-d-rate { color: var(--muted); font: 600 13px/1.4 'Golos Text', sans-serif; margin-top: 2px; }
.jr-d-clink { display: inline-block; margin-top: 8px; color: var(--accent-strong); font: 600 13px/1.4 'Golos Text', sans-serif; text-decoration: underline; }
.jr-d-sticky { margin-top: 14px; }

/* ---------- шторка фильтров ---------- */
.jr-sheet-ov {
  position: fixed; inset: 0; background: rgba(11, 31, 53, .38); z-index: 90;
}
.jr-sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 91;
  background: var(--bg);
  border-radius: 18px 18px 0 0;
  max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: 0 -12px 40px rgba(11, 31, 53, .18);
}
.jr-sheet-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 10px; border-bottom: 1px solid var(--border);
}
.jr-sheet-head h2 { font: 800 18px/1.2 'Golos Text', sans-serif; margin: 0; }
.jr-sheet-x {
  width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent;
  color: var(--muted); font-size: 16px; cursor: pointer;
}
.jr-sheet-x:hover { background: var(--card2); }
.jr-sheet-body { overflow-y: auto; padding: 12px 16px 8px; }
.jr-sheet-sec { margin-bottom: 16px; }
.jr-sheet-tt { font: 700 13px/1.2 'Golos Text', sans-serif; color: var(--muted); margin-bottom: 8px; }
.jr-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.jr-opt {
  min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--text); font: 600 13px/1.2 'Golos Text', sans-serif; cursor: pointer;
}
.jr-opt:hover { background: var(--card); }
.jr-opt.on { background: var(--btn-bg); color: var(--ink); border-color: transparent; }
.jr-cnt { opacity: .7; font-weight: 600; margin-left: 2px; }
.jr-opt.on .jr-cnt { opacity: .9; }
.jr-sheet-foot {
  display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--border);
}
.jr-sheet-foot .jr-btn-primary { flex: 1 1 auto; }
.jr-metro { min-height: 44px; }

/* ---------- модалки ---------- */
.jr-lock { overflow: hidden; }
.jr-modal-wrap { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; }
.jr-modal-ov { position: absolute; inset: 0; background: rgba(11, 31, 53, .42); }
.jr-modal {
  position: relative; z-index: 1;
  width: 100%; max-width: 460px;
  background: var(--bg); border-radius: 18px; padding: 20px;
  box-shadow: 0 18px 50px rgba(11, 31, 53, .22);
  max-height: 90vh; overflow-y: auto;
}
.jr-modal-t { font: 800 18px/1.25 'Golos Text', sans-serif; margin: 0 0 8px; }
.jr-modal-p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0 0 16px; }
.jr-modal-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.jr-lbl { display: block; font: 600 12px/1.2 'Golos Text', sans-serif; color: var(--muted); margin: 12px 0 6px 2px; }
.jr-opt-note { font-weight: 500; opacity: .8; }
.jr-req { color: var(--accent-strong); }
.jr-ta { resize: vertical; min-height: 96px; line-height: 1.45; }
.jr-select { min-height: 44px; }
.jr-counter { text-align: right; color: var(--muted); font-size: 12px; margin-top: 4px; }
.jr-check {
  display: flex; align-items: flex-start; gap: 8px;
  font: 500 13px/1.45 'Golos Text', sans-serif; color: var(--text);
  margin: 12px 0; cursor: pointer;
}
.jr-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--btn-bg); flex: 0 0 auto; }

/* ---------- мастер резюме ---------- */
.jr-wizard { position: fixed; inset: 0; z-index: 96; background: var(--bg); overflow-y: auto; }
.jr-wz-in { max-width: 620px; margin: 0 auto; padding: 0 16px 100px; }
.jr-wz-top {
  position: sticky; top: 0; z-index: 2; background: var(--bg);
  display: flex; align-items: center; gap: 10px; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.jr-wz-ttl { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.jr-wz-ttl b { font: 800 17px/1.2 'Golos Text', sans-serif; }
.jr-wz-prog { font: 500 12px/1.3 'Golos Text', sans-serif; color: var(--muted); }
.jr-steps { display: flex; gap: 6px; margin: 14px 0 4px; }
.jr-step { flex: 1 1 0; height: 5px; border-radius: 999px; background: var(--card2); }
.jr-step.on { background: var(--btn-bg); }
.jr-step.done { background: var(--accent); opacity: .55; }
.jr-wz-body { padding: 12px 0; }
.jr-h2 { font: 800 19px/1.25 'Golos Text', sans-serif; margin: 6px 0 12px; }
.jr-wz-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; gap: 10px; max-width: 620px; margin: 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 1px solid var(--border);
}
.jr-wz-foot .jr-btn-primary { flex: 1 1 auto; }
.jr-skips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.jr-exp { border: 1px solid var(--border); border-radius: 14px; padding: 12px; margin: 12px 0; }
.jr-exp-head { display: flex; justify-content: space-between; align-items: center; font: 700 13px/1.2 'Golos Text', sans-serif; }
.jr-del { color: var(--accent-strong); }
.jr-row2 { display: grid; grid-template-columns: 1fr; gap: 8px; }
.jr-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.jr-consent { margin-top: 18px; }

/* ---------- личные разделы ---------- */
.jr-view { max-width: 860px; margin: 0; }
.jr-v-head { display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; }
.jr-v-head .jr-h2 { margin: 0; }
.jr-tabs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  padding-bottom: 4px; margin-bottom: 12px;
}
.jr-tabs::-webkit-scrollbar { display: none; }
.jr-tab {
  flex: 0 0 auto; min-height: 38px; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  color: var(--text); font: 600 13px/1 'Golos Text', sans-serif; cursor: pointer;
}
.jr-tab.on { background: var(--btn-bg); color: var(--ink); border-color: transparent; }
.jr-status {
  font: 700 12px/1.2 'Golos Text', sans-serif; padding: 6px 10px; border-radius: 999px;
  background: var(--card2); color: var(--muted); white-space: nowrap;
}
.jr-status.invited, .jr-status.interview { background: #E8F1FB; color: #1B5D9A; }
.jr-status.offer, .jr-status.hired { background: #E6F3EA; color: #2E7D46; }
.jr-status.declined { background: #FBE9E7; color: #A8322A; }
.jr-status.withdrawn { background: var(--card2); color: var(--muted); }
.jr-appdate { margin-top: 8px; font-size: 12px; color: var(--muted); }
.jr-progress { height: 6px; border-radius: 999px; background: var(--card2); margin: 10px 0 4px; overflow: hidden; }
.jr-progress span { display: block; height: 100%; background: var(--btn-bg); }
.jr-notify { margin: 10px 0 0; }

/* ---------- десктоп ---------- */
@media (min-width: 900px) {
  .jr-sticky { top: 64px; }
  .jr-search { grid-template-columns: 1fr; align-items: center; }
  .jr-chips { flex-wrap: wrap; overflow: visible; }
  .jr-chips-wrap::after { display: none; }
  .jr-find { min-height: 52px; }
  .jr-sort select { min-height: 40px; }
  .jr-find svg { display: none; }
  .jr-find-t { display: inline; }
  .jr-find { padding: 0 22px; }
  .jr-city-wide { width: auto; }
  .jr-d-top { margin-top: 16px; }
  .jr-d-title { font-size: 26px; }
  .jr-detail-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 8px; }
  .jr-d-side { margin-top: 8px; }
  .jr-d-company { position: sticky; top: 76px; }
  .jr-d-actions { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .jr-modal-actions { flex-direction: row; justify-content: flex-end; }
  .jr-row2 { grid-template-columns: 1fr 1fr; }
  .jr-sheet {
    left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%);
    width: 560px; max-height: 80vh; border-radius: 18px;
  }
  .jr-sheet-ov { background: rgba(11, 31, 53, .42); }
}

@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .jr-card:hover { transform: translateY(-1px); }
}

/* на мобиле кнопка «Найти» — иконка в строке поиска */
@media (max-width: 899px) {
  .jr-find { width: 52px; min-width: 52px; height: 52px; padding: 0; }
  .jr-find svg { display: block; }
  .jr-find-t { display: none; }
  .jr-search-row { gap: 8px; }
  /* карточки не упираются в нижний таб-бар */
  .jr, .jr-view { padding-bottom: 76px; }
  .jr-list { padding-bottom: 8px; }
}
@media (max-width: 420px) {
  .jr-chips-wrap::after { width: 34px; }
}

/* приглашение войти (личные разделы) */
.jr-login-invite .jr-actions-center { justify-content: center; margin-top: 14px; }
.jr-login-invite a.jr-btn-primary { text-decoration: none; }
.jr-sub-h { font: 700 15px/1.3 'Golos Text', sans-serif; margin: 18px 0 10px; color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  .jr-card.jr-new { animation: none; }
}

/* доступность: фокус-кольцо */
.jr-chip:focus-visible, .jr-btn-primary:focus-visible, .jr-btn-ghost:focus-visible,
.jr-icon:focus-visible, .jr-tab:focus-visible, .jr-opt:focus-visible,
.jr-back:focus-visible, .jr-find:focus-visible, .jr-clear:focus-visible,
.jr-link:focus-visible, .jr-input:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

/* «Показать на карте» + липкая CTA на мобиле (спека §3) */
.jr-d-map { font: 600 13px/1.4 'Golos Text', sans-serif; color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.jr-d-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
@media (min-width: 900px) { .jr-d-cta { display: none; } }

/* подраздел «Регулярной»: прячем промо-героя, оставляем вкладки режимов */
body.jr-subview .hero { display: none; }
.jr-bar-right { display: inline-flex; align-items: center; gap: 10px; }
.jr-save {
  border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--accent-strong); font: 600 13px/1.35 'Golos Text', sans-serif;
  text-decoration: underline; text-underline-offset: 2px; white-space: nowrap;
}
@media (max-width: 480px) { .jr-save { display: none; } }

/* ============================================================================
   22. PREMIUM PASS (2026-10-31) — состояния, логотип, микроанимации, a11y
   ----------------------------------------------------------------------------
   Дисциплина деталей: единая шкала отступов 4/8/12/16/24/32, типографика
   12/13/15/17/20/24/28, полный набор состояний у каждого интерактивного
   элемента (hover / active / focus-visible / disabled / loading).
   Только токены §0 спеки. Никаких новых цветов и шрифтов.
   ========================================================================== */

.jr, .jr-view {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px;
  --fs-12: 12px; --fs-13: 13px; --fs-15: 15px; --fs-17: 17px; --fs-20: 20px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

/* ---------- 22.1 Логотип компании в карточке (40×40, инициалы) ---------- */
.jr-logo-sm {
  width: 40px; height: 40px; flex: 0 0 auto; margin-top: 0;
  display: inline-grid; place-items: center; overflow: hidden;
  border-radius: 10px;
  background: var(--card2); color: var(--muted);
  font: 800 14px/1 'Golos Text', system-ui, sans-serif; letter-spacing: .02em;
}
.jr-logo-sm img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- 22.2 Табличные цифры в числах ---------- */
.jr-salary, .jr-viewers, .jr-found b, .jr-cnt, .jr-counter,
.jr-status, .jr-appdate, .jr-d-salary { font-variant-numeric: tabular-nums; }

/* ---------- 22.3 Спиннер внутри кнопки (loading) ---------- */
.jr-spin {
  width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .42); border-top-color: var(--ink);
  animation: jrSpin .7s linear infinite;
}
.jr-spin.on-light { border-color: rgba(11, 31, 53, .18); border-top-color: var(--text); }
@keyframes jrSpin { to { transform: rotate(360deg); } }
.jr-btn-primary.is-loading, .jr-btn-ghost.is-loading,
.jr-find.is-loading, .jr-chip.is-loading {
  pointer-events: none; cursor: progress; opacity: .85;
}
.jr-btn-primary.is-loading { background: var(--accent-strong); }

/* ---------- 22.4 Избранное: заполнение с подскоком ---------- */
@keyframes jrFavPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.24); }
  70% { transform: scale(.94); }
  100% { transform: scale(1); }
}
.jr-icon.jr-pop { animation: jrFavPop .28s var(--ease); }
.jr-icon.on { color: var(--accent); }

/* ---------- 22.5 Скелетоны фасетов (чипы) ---------- */
.jr-chip-skel {
  flex: 0 0 auto; height: 40px; width: 96px; border-radius: 999px;
  background: linear-gradient(90deg, #EDEFF0 25%, #F6F7F8 37%, #EDEFF0 63%);
  background-size: 400% 100%; animation: jr-pulse 1.4s ease infinite;
}
.jr-chip-skel:nth-child(2) { width: 112px; }
.jr-chip-skel:nth-child(3) { width: 84px; }
.jr-chip-skel:nth-child(4) { width: 120px; }
.jr-chip-skel:nth-child(5) { width: 92px; }

/* ---------- 22.6 Состояния кнопок-иконок ---------- */
@media (hover: hover) and (pointer: fine) {
  .jr-icon:hover { background: var(--card2); color: var(--accent-strong); }
}
.jr-icon:active { transform: scale(.94); background: var(--card2); }
.jr-icon { transition: background .14s var(--ease), color .14s var(--ease), transform .12s var(--ease); }

/* ---------- 22.7 Фокус-кольцо: 2px accent-strong, offset 2px ---------- */
.jr :is(button, a, [role="button"]):focus-visible,
.jr-view :is(button, a, [role="button"]):focus-visible,
.jr-detail :is(button, a, [role="button"]):focus-visible,
.jr-wizard :is(button, a, [role="button"]):focus-visible,
.jr-sheet :is(button, a, [role="button"]):focus-visible,
.jr-modal-wrap :is(button, a, [role="button"]):focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}
/* поля: кольцо то же, но без двойной тени */
.jr-input:focus-visible, .jr-city:focus-visible, .jr-sort select:focus-visible {
  outline: 2px solid var(--accent-strong); outline-offset: 1px;
}

/* ---------- 22.8 Ошибка поля: иконка + текст ---------- */
.jr-err { display: flex; align-items: center; gap: 4px; }
.jr-err[hidden], .jr-kkv[hidden] { display: none !important; }
.jr-err::before {
  content: ''; width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%;
  background: var(--accent-strong);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 2px, #000 2.5px);
          mask: radial-gradient(circle at 50% 50%, transparent 0 2px, #000 2.5px);
}
.jr-hint {
  font: 500 12px/1.4 'Golos Text', sans-serif; color: var(--muted);
  margin: 4px 0 0 2px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .16s var(--ease), opacity .16s var(--ease);
}
.jr-field:focus-within .jr-hint { max-height: 40px; opacity: 1; }

/* подсказка под полем в мастере резюме — по фокусу */
.jr-wizard .jr-input:focus + .jr-hint { max-height: 48px; opacity: 1; }

/* ---------- 22.9 Индикатор автосохранения черновика ---------- */
.jr-draft {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 12px/1.3 'Golos Text', sans-serif; color: var(--muted);
  opacity: 0; transition: opacity .18s var(--ease);
}
.jr-draft.show { opacity: 1; }
.jr-draft::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1E7A4C;
}

/* ---------- 22.10 Шторка: выезд снизу + drag-хэндл ---------- */
@keyframes jrSheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (max-width: 899px) { .jr-sheet { animation: jrSheetUp 180ms var(--ease); } }
@keyframes jrOvIn { from { opacity: 0; } to { opacity: 1; } }
.jr-sheet-ov { animation: jrOvIn 160ms var(--ease); }
.jr-sheet-grip {
  width: 36px; height: 4px; border-radius: 999px; background: var(--border);
  margin: 8px auto 0; flex: 0 0 auto;
}
@media (min-width: 900px) { .jr-sheet-grip { display: none; } }

/* ---------- 22.11 Мобильная эргономика ---------- */
@media (max-width: 899px) {
  /* чипы и сортировка — под палец */
  .jr-chip { height: 44px; min-height: 44px; max-height: 44px; }
  .jr-chip-t { line-height: 44px; }
  .jr-sort select { min-height: 44px; }
  .jr-bar { gap: 12px; }
  /* запас под таб-бар с учётом safe-area */
  .jr, .jr-view { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .jr-d-cta { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  /* вся карточка ведёт себя как «плоская» кнопка — не даём hover-эффектов */
  .jr-card { -webkit-tap-highlight-color: transparent; }
  .jr-icon, .jr-btn-primary, .jr-btn-ghost { min-height: 44px; }
  .jr-opt { min-height: 44px; }
  .jr-sheet-x { width: 44px; height: 44px; }
}

/* ---------- 22.12 Уважение к prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .jr *, .jr-view *, .jr-detail *, .jr-wizard *, .jr-sheet *, .jr-modal-wrap * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .jr-card.jr-new { animation: none !important; }
  .jr-spin { animation: none !important; border-top-color: transparent; }
}

/* ============================================================================
   2026-10-31: блок «Гарантированное трудоустройство» на доске «Регулярная».
   Условия — Приложение № 23 к Пользовательскому соглашению (5 000 ₽/мес,
   180 дней, трудоустройство с ЗП от 100 000 ₽ либо возврат оплаты).
   Только токены §0 UI-спеки (акцент B). Контраст текста ≥ 4.5:1,
   кликабельные элементы ≥ 44px.
   ========================================================================== */
.jr-guar {
  margin: 12px 0 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.jr-guar[hidden] { display: none !important; }

.jr-guar-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: 700 15px/1.3 'Golos Text', system-ui, -apple-system, sans-serif;
  text-align: left;
  cursor: pointer;
}
.jr-guar-toggle:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: -2px; }
.jr-guar-ic { font-size: 17px; line-height: 1; }
.jr-guar-h { flex: 1 1 auto; }
.jr-guar-chev {
  width: 10px; height: 10px; flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .18s ease;
}
.jr-guar.is-collapsed .jr-guar-chev { transform: rotate(-45deg) translate(-2px, 2px); }

.jr-guar-body { padding: 0 14px 14px; }
.jr-guar-body[hidden] { display: none !important; }

.jr-guar-lead {
  margin: 0 0 8px;
  font: 400 14px/1.45 'Golos Text', system-ui, sans-serif;
  color: var(--text);
}
.jr-guar-meta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 12px;
}
.jr-guar-price {
  font: 800 15px/1.2 'Golos Text', system-ui, sans-serif;
  color: var(--text);
}
.jr-guar-terms {
  font: 600 13px/1 'Golos Text', system-ui, sans-serif;
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex; align-items: center; min-height: 44px;
}
.jr-guar-terms:hover { color: var(--accent); }

.jr-guar-state { margin: 0; }
.jr-guar-note {
  margin: 0 0 10px;
  font: 400 13px/1.45 'Golos Text', system-ui, sans-serif;
  color: var(--muted);
}

.jr-guar-act { display: flex; gap: 10px; flex-wrap: wrap; }
.jr-guar-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--ink);
  font: 700 14px/1 'Golos Text', system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
  transition: background .16s ease, transform .16s ease;
}
.jr-guar-btn:hover { background: var(--accent-strong); }
.jr-guar-btn:active { transform: translateY(1px); }
.jr-guar-btn[disabled], .jr-guar-btn[aria-disabled="true"] {
  background: var(--card2); color: var(--muted);
  border-color: var(--border); cursor: not-allowed;
}
.jr-guar-btn[disabled]:hover { background: var(--card2); }

/* подписка активна */
.jr-guar-on { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.jr-guar-badge {
  display: inline-block; padding: 5px 10px; border-radius: 999px;
  background: #E7F4EC; color: #1E6B41;
  font: 700 12px/1 'Golos Text', system-ui, sans-serif;
}
.jr-guar-on-t { font: 400 13px/1.4 'Golos Text', system-ui, sans-serif; color: var(--text); }

.jr-guar-prog { display: grid; gap: 6px; }
.jr-guar-prog-t { font: 400 13px/1.4 'Golos Text', system-ui, sans-serif; color: var(--muted); }
.jr-guar-bar {
  display: block; height: 8px; border-radius: 999px;
  background: var(--card2); border: 1px solid var(--border); overflow: hidden;
}
.jr-guar-bar > span { display: block; height: 100%; background: var(--btn-bg); border-radius: 999px; }

/* 2026-10-31: подбренд программы «Гарантированное трудоустройство» */
.jr-g-kicker{display:inline-block;font:700 11px/1 'Golos Text',sans-serif;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent-strong,#C4241A);background:rgba(212,35,26,.08);border-radius:999px;padding:5px 10px;margin-right:8px}
