/* Отклик — приложение соискателя: оболочка, базовые элементы, карточка вакансии, главная, поиск.
   Цвета, шрифты и тёмная тема — только из /shared/tokens.css; кирпичики (.btn, .chip, .card, .st…) — /shared/ui.css.
   Экраны остальных разделов — pages.css. Телефон в первую очередь (390 px); с 900 px — шапка сверху и раскладка для ПК. */

:root { --hdr: 0px; --hero: var(--brand-800); --hero-ink: #fff; --hero-soft: rgba(255,255,255,.14); --hero-line: rgba(255,255,255,.22); }
@media (min-width: 900px) { :root { --hdr: 64px; } }

html { scroll-padding-top: calc(var(--hdr) + 64px); }
html.no-scroll { overflow: hidden; }
body { min-height: 100dvh; overflow-x: hidden; }
#app { min-height: 100dvh; }
a { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--surface); padding: 10px 14px; border-radius: 10px; box-shadow: var(--sh-2); }
.skip:focus { left: 12px; }
.d-only { display: none !important; }
@media (min-width: 900px) { .d-only { display: flex !important; } .m-only { display: none !important; } }
.dot-sep::before { content: '·'; margin: 0 6px; color: var(--faint); }
.nowrap { white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-lg { display: flex; flex-direction: column; gap: 20px; }

/* ───────── раскладка ───────── */
.main { padding-bottom: calc(78px + env(safe-area-inset-bottom)); outline: none; }
.app.bare .main { padding-bottom: 0; }
.pad { padding-inline: 16px; max-width: 1200px; margin-inline: auto; }
.narrow { max-width: 760px; }
.page { min-height: 60vh; }
@media (min-width: 900px) {
  .pad { padding-inline: 32px; }
  .main, .app.bare .main { padding-bottom: 56px; }
}
.route { animation: page-in .24s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } }

/* шапка ПК */
.hdr { display: none; }
@media (min-width: 900px) {
  .hdr { display: block; position: sticky; top: 0; z-index: 50; height: 64px; background: color-mix(in oklab, var(--bg) 88%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
  .hdr-in { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 22px; padding: 0 32px; }
  .hdr-nav { display: flex; gap: 2px; min-width: 0; }
  .hdr-a { padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none !important; white-space: nowrap; }
  .hdr-a:hover { background: var(--surface-2); }
  .hdr-a.on { color: var(--ink); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--brand); }
  .hdr-r { margin-left: auto; display: flex; align-items: center; gap: 2px; flex: none; }
  .hdr-biz { color: var(--muted); font-weight: 600; margin-right: 10px; font-size: 14px; white-space: nowrap; }
  .hdr-me { border-radius: 50%; margin-left: 6px; display: block; }
}
@media (min-width: 900px) and (max-width: 1080px) { .hdr-biz { display: none; } .hdr-in { gap: 14px; } .hdr-a { padding: 8px 9px; } }

/* нижнее меню телефона */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 4px 4px env(safe-area-inset-bottom); background: color-mix(in oklab, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none !important; border-radius: 14px; }
.tab-ic { position: relative; display: grid; place-items: center; width: 52px; height: 30px; border-radius: 15px; transition: background var(--t) var(--ease); }
.tab.on { color: var(--primary-soft-ink); }
.tab.on .tab-ic { background: var(--primary-soft); }
.tab:active .tab-ic { transform: scale(.92); }
.tab-n { position: absolute; top: -4px; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-strong); color: #1a1205; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; border: 2px solid var(--surface); box-sizing: content-box; }
@media (min-width: 900px) { .tabbar { display: none; } }

/* заголовок страницы */
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 4px; min-height: 56px;
  padding: calc(4px + env(safe-area-inset-top)) 8px 4px; background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.tb-title { flex: 1; min-width: 0; padding-inline: 4px; }
.tb-title h1 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-title p { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb-gap { width: 8px; flex: none; }
.tb-gap + .tb-title h1 { font-size: 26px; letter-spacing: -.02em; font-weight: 800; }
.tb-act { display: flex; gap: 2px; align-items: center; }
@media (min-width: 900px) {
  .topbar { position: static; max-width: 1200px; margin: 0 auto; padding: 22px 24px 6px; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .page:has(> .narrow) > .topbar, .topbar.narrow { max-width: 776px; }
  .tb-title h1 { font-size: 28px; letter-spacing: -.02em; font-weight: 800; white-space: normal; }
  .tb-title p { font-size: 14px; white-space: normal; }
  .tb-gap + .tb-title h1 { font-size: 30px; }
}

.offline { position: sticky; top: 0; z-index: 60; display: flex; gap: 8px; align-items: center; justify-content: center; padding: 6px 12px; background: var(--ink); color: var(--bg); font-size: 13px; }

/* ───────── кнопки и мелочи ───────── */
.btn-t { overflow: hidden; text-overflow: ellipsis; }
.btn-white { background: #fff; color: #0b4f2b; }
.btn-white:hover { background: #eefbf1; }
.bspin { display: inline-block; width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: ot-spin .7s linear infinite; flex: none; }
@keyframes ot-spin { to { transform: rotate(360deg); } }
.row-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); flex: none; text-decoration: none !important; transition: background var(--t) var(--ease), color var(--t-fast); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn[aria-pressed="true"] { color: var(--danger); }
.icon-btn[aria-pressed="true"] svg { fill: currentColor; }
.ib-badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent-strong); color: #1a1205; font-size: 11px; font-weight: 800; display: grid; place-items: center; line-height: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hscroll { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { flex: none; scroll-snap-align: start; }
@media (min-width: 900px) { .hscroll { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; overflow: visible; } }
.chip.sm { min-height: 30px; padding: 0 10px; font-size: 12.5px; }
.list { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 760px) { .grid2 { grid-template-columns: 1fr 1fr; } }

.stars { position: relative; display: inline-block; font-size: var(--s); line-height: 1; letter-spacing: 1px; white-space: nowrap; }
.stars-bg { color: var(--surface-3); }
.stars-fg { position: absolute; inset: 0; width: var(--v); overflow: hidden; color: var(--star); }
.star-input { display: flex; gap: 2px; }
.star-btn { border: 0; background: none; color: var(--surface-3); line-height: 1; padding: 2px; min-width: 46px; min-height: 46px; transition: transform var(--t-fast) var(--ease), color var(--t-fast); }
.star-btn.on { color: var(--star); }
.star-btn:active { transform: scale(.88); }

.seg { display: inline-flex; background: var(--surface-2); border-radius: 13px; padding: 3px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg-i { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 0; background: transparent; border-radius: 10px; font-weight: 650; color: var(--muted); white-space: nowrap; font-size: 14px; }
.seg-i.on { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.seg-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 800; }
.seg-i.on .seg-n { background: var(--primary-soft); color: var(--primary-soft-ink); }
.seg.block { display: flex; } .seg.block .seg-i { flex: 1; justify-content: center; }

.blank { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 44px 16px; }
.blank-ic { width: 72px; height: 72px; border-radius: 50% 50% 50% 14px; background: var(--primary-soft); color: var(--primary-soft-ink); display: grid; place-items: center; margin-bottom: 6px; }
.blank h3 { font-size: 19px; }
.blank p { color: var(--muted); max-width: 380px; text-wrap: pretty; }
.blank-act { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }

.note { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--info-soft); color: var(--ink); font-size: 14px; line-height: 1.4; }
.note > .ic { color: var(--info); margin-top: 1px; }
.note b { display: block; }
.note-warn { background: var(--warn-soft); } .note-warn > .ic { color: var(--warn); }
.note-danger { background: var(--danger-soft); } .note-danger > .ic { color: var(--danger); }
.note-ok { background: var(--ok-soft); } .note-ok > .ic { color: var(--ok); }

.toggle { position: relative; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; cursor: pointer; }
.toggle b { display: block; font-weight: 600; }
.toggle small { display: block; color: var(--muted); font-size: 13px; }
.toggle input { position: absolute; z-index: 1; opacity: 0; right: 0; top: 50%; width: 46px; height: 28px; margin: -14px 0 0; cursor: pointer; }
.toggle-ui { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--surface-3); position: relative; transition: background var(--t) var(--ease); }
.toggle-ui::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--sh-1); transition: transform var(--t) var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--primary); }
.toggle input:checked + .toggle-ui::after { transform: translateX(18px); }
.toggle input:focus-visible + .toggle-ui { box-shadow: var(--ring); }
.toggle.off { opacity: .55; }

/* ───────── листы ───────── */
.sheet-wrap { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.sheet-bg { position: absolute; inset: 0; background: rgba(8, 16, 12, .5); animation: ot-fade .2s var(--ease); }
.sheet { position: relative; width: 100%; max-height: 92dvh; background: var(--surface); border-radius: 24px 24px 0 0; display: flex; flex-direction: column;
  box-shadow: var(--sh-3); animation: ot-sheet .32s var(--ease); outline: none; padding-bottom: env(safe-area-inset-bottom); }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line-strong); margin: 8px auto 0; flex: none; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 2px 20px; flex: none; }
.sheet-head h2 { font-size: 19px; }
.sheet-body { padding: 8px 20px 20px; overflow: auto; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.sheet-foot { padding: 12px 20px; border-top: 1px solid var(--line); display: flex; gap: 10px; flex: none; }
.sheet-foot > .btn { flex: 1; }
@keyframes ot-fade { from { opacity: 0; } }
@keyframes ot-sheet { from { transform: translateY(40px); opacity: 0; } }
@media (min-width: 700px) {
  .sheet-wrap { align-items: center; padding: 24px; }
  .sheet { max-width: 520px; border-radius: 24px; max-height: min(86dvh, 820px); padding-bottom: 0; animation-name: ot-pop; }
  .sheet.wide { max-width: 720px; }
  .sheet-grip { display: none; }
  .sheet-head { padding: 14px 10px 4px 24px; }
  .sheet-body { padding: 8px 24px 24px; }
  .sheet-foot { padding: 14px 24px; }
}
@keyframes ot-pop { from { transform: scale(.96); opacity: 0; } }
.acts { display: flex; flex-direction: column; margin: -4px -8px 0; }
.act { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 8px 12px; border: 0; background: none; border-radius: 12px; text-align: left; color: var(--ink); text-decoration: none !important; }
.act:hover { background: var(--surface-2); }
.act b { display: block; font-weight: 600; }
.act small { display: block; color: var(--muted); font-size: 13px; }
.act .ic { color: var(--muted); }
.act.danger, .act.danger .ic { color: var(--danger); }
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; background: var(--surface); }
.radio:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.radio input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.radio b { display: block; font-weight: 600; }
.radio small { display: block; color: var(--muted); font-size: 13px; }

/* всплывающие сообщения — над нижним меню */
.bm-toasts { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .bm-toasts { bottom: 28px; } }

/* ───────── разделы ───────── */
.sec { margin-top: 28px; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.sec-h h2 { font-size: 20px; letter-spacing: -.015em; }
.sec-sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.sec-more { display: inline-flex; align-items: center; gap: 2px; font-weight: 650; font-size: 14px; white-space: nowrap; min-height: 32px; }
@media (min-width: 900px) { .sec { margin-top: 40px; } .sec-h h2 { font-size: 24px; } }

/* ───────── доля ответов компании (главная примета сервиса) ───────── */
.resp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 650; color: var(--ink-2); white-space: nowrap; }
.resp svg { flex: none; transform: rotate(-90deg); }
.resp .rg-bg { stroke: var(--surface-3); }
.resp .rg-fg { stroke: var(--ok); transition: stroke-dashoffset .6s var(--ease); }
.resp.mid .rg-fg { stroke: var(--accent-strong); } .resp.low .rg-fg { stroke: var(--danger); }
.resp.none { color: var(--muted); font-weight: 500; }
.resp.none .rg-bg { stroke-dasharray: 2 3; }
.resp.big { font-size: 15px; gap: 10px; white-space: normal; }
.resp.big b { display: block; font-size: 17px; line-height: 1.15; }
.resp.big small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }

/* ───────── карточка вакансии ───────── */
.vc { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t); }
.vc:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.vc:focus-within { border-color: var(--primary); }
.vc-top { display: flex; gap: 8px; align-items: flex-start; }
.vc-title { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); text-decoration: none !important; overflow-wrap: anywhere; }
.vc-title::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }      /* вся карточка — ссылка */
.vc-title:focus-visible { box-shadow: none; }
.vc-fav { position: relative; z-index: 1; margin: -10px -10px -10px 0; }
.vc-sal { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.vc-sal .salary { font-size: 20px; }
.vc-sal small { color: var(--muted); font-size: 13px; }
.vc-co { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; row-gap: 4px; }
.vc-co-name { display: inline-flex; align-items: center; gap: 4px; min-width: 0; font-weight: 600; color: var(--ink-2); font-size: 14px; }
.vc-co-name .ic { color: var(--primary); }
.vc-facts { display: flex; flex-wrap: wrap; gap: 6px; }
.vc-facts .tag { min-height: 24px; font-size: 12.5px; gap: 4px; }
.vc-facts .tag .ic { color: var(--muted); }
.vc-snip { color: var(--muted); font-size: 14px; }
.vc-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; min-height: 22px; }
.vc.closed .vc-title, .vc.closed .salary { color: var(--muted); }
.vc-new { position: absolute; top: -1px; left: 16px; height: 4px; width: 44px; border-radius: 0 0 4px 4px; background: var(--accent-strong); }
.vc.compact { padding: 14px; gap: 6px; }
.vc.compact .vc-title { font-size: 15.5px; }
.vc.compact .vc-sal .salary { font-size: 17px; }

/* ───────── город ───────── */
.city-list { display: flex; flex-direction: column; margin: 0 -8px; }
.city-i { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 12px; border: 0; background: none; border-radius: 12px; text-align: left; }
.city-i:hover { background: var(--surface-2); }
.city-i.on { background: var(--primary-soft); color: var(--primary-soft-ink); font-weight: 650; }
.city-i small { color: var(--muted); font-size: 13px; }

/* ───────── главная ───────── */
.hero { background: var(--hero); color: var(--hero-ink); padding: calc(12px + env(safe-area-inset-top)) 0 26px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -70px; top: -60px; width: 300px; height: 300px; border-radius: 50% 50% 50% 18%; border: 44px solid rgba(255,255,255,.045); pointer-events: none; }
.hero-in { position: relative; z-index: 1; }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-bottom: 18px; }
.hero-bar .logo { color: #fff; }
.hero-bar .logo-mark .bubble { fill: #fff; }
.hero-bar .logo-mark .check { stroke: var(--brand-500); }
.hero-bar .icon-btn { color: #fff; }
.hero-bar .icon-btn:hover { background: var(--hero-soft); }
.hero h1 { font-size: 30px; line-height: 1.08; letter-spacing: -.025em; font-weight: 800; max-width: 13em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--brand-300); }
.hero-sub { margin-top: 10px; color: rgba(255,255,255,.78); max-width: 34em; text-wrap: pretty; }
.hero-city { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--hero-line); background: var(--hero-soft); color: #fff; font-weight: 600; font-size: 14px; }
.hero-city:hover { background: rgba(255,255,255,.2); }
.ask { margin-top: 18px; display: flex; gap: 8px; align-items: stretch; background: #fff; border-radius: 18px; padding: 6px; box-shadow: 0 14px 34px -14px rgba(0,0,0,.45); }
.ask-ic { display: grid; place-items: center; width: 40px; color: #5b6a62; flex: none; }
.ask input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: #121a16; font-size: 16px; padding: 0; min-height: 48px; }
.ask input::placeholder { color: #7c8a83; }
.ask:focus-within { box-shadow: 0 0 0 3px rgba(133,214,158,.7), 0 14px 34px -14px rgba(0,0,0,.45); }
.ask .btn { border-radius: 13px; min-height: 48px; background: var(--brand-600); color: #fff; }
.ask .btn:hover { background: var(--brand-700); }
.ask-hint { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,.72); }
.ask-hint button { border: 0; background: none; padding: 0; color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; font-size: 13px; }
.hero-quick { margin-top: 16px; }
.hero-quick .chip { background: var(--hero-soft); border-color: var(--hero-line); color: #fff; }
.hero-quick .chip:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); }
.promise { display: grid; gap: 10px; margin-top: 18px; }
.promise-i { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.promise-i .ic { color: var(--primary); margin-top: 2px; }
.promise-i b { display: block; }
.promise-i span { color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .hero { padding: 44px 0 44px; }
  .hero-bar { display: none; }
  .hero h1 { font-size: 46px; }
  .hero-sub { font-size: 17px; }
  .ask { max-width: 760px; margin-top: 26px; padding: 8px; border-radius: 22px; }
  .ask input { font-size: 17px; }
  .ask .btn { min-height: 52px; padding: 0 26px; border-radius: 15px; }
  .hero-city-d { position: absolute; right: 0; top: 4px; }
}
.for-you { display: grid; gap: 12px; }
@media (min-width: 760px) { .for-you { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .for-you { grid-template-columns: repeat(3, 1fr); } }
.fy { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: border-color var(--t-fast), box-shadow var(--t); }
.fy:hover { border-color: var(--line-strong); box-shadow: var(--sh-2); }
.fy-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.fy.invite .fy-ic { background: var(--st-invited-bg); color: var(--st-invited); }
.fy b { display: block; line-height: 1.25; }
.fy small { display: block; color: var(--muted); font-size: 13px; }
.picks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .picks { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .picks { grid-template-columns: repeat(6, 1fr); } }
.pick { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-height: 104px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; font-weight: 650; line-height: 1.2; transition: border-color var(--t-fast), box-shadow var(--t), transform var(--t); }
.pick:hover { border-color: var(--primary); box-shadow: var(--sh-2); transform: translateY(-2px); }
.pick .ic { color: var(--primary); }
.pick small { font-weight: 500; color: var(--muted); font-size: 12.5px; margin-top: auto; }
.areas { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.area { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; color: var(--ink); text-decoration: none !important; border-top: 1px solid var(--line); }
.area:first-child { border-top: 0; }
.area:hover { background: var(--surface-2); }
.area .ic { color: var(--muted); }
.area > span:not(.ic) { flex: 1; min-width: 0; font-weight: 600; }
.area small { color: var(--muted); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .areas { grid-template-columns: 1fr 1fr; } .area:nth-child(2) { border-top: 0; } .area:nth-child(odd) { border-right: 1px solid var(--line); } }
@media (min-width: 1100px) { .areas { grid-template-columns: repeat(3, 1fr); } .area:nth-child(3) { border-top: 0; } .area:nth-child(odd) { border-right: 0; } .area:not(:nth-child(3n)) { border-right: 1px solid var(--line); } }
.near-ask { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-lg); border: 1px dashed var(--line-strong); }
.near-ask .ic { color: var(--primary); }
.vgrid { display: grid; gap: 12px; }
@media (min-width: 760px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .vgrid.three { grid-template-columns: repeat(3, 1fr); } }
.foot { margin-top: 44px; padding: 20px 0 8px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14px; }
.foot a { font-weight: 600; }

/* ───────── поиск ───────── */
.sbar { position: sticky; top: var(--hdr); z-index: 30; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: calc(8px + env(safe-area-inset-top)) 0 8px; }
.sbar-row { display: flex; gap: 8px; align-items: center; }
.sfield { position: relative; flex: 1; min-width: 0; }
.sfield .input { padding-left: 42px; padding-right: 40px; border-radius: 14px; min-height: 48px; }
.sfield > .ic { position: absolute; left: 14px; top: 14px; color: var(--muted); pointer-events: none; }
.sfield-x { position: absolute; right: 2px; top: 2px; }
.sug { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-3); padding: 6px; max-height: 60dvh; overflow: auto; }
.sug-h { padding: 8px 10px 4px; font-size: 12px; font-weight: 700; color: var(--muted); }
.sug-i { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 42px; padding: 6px 10px; border: 0; background: none; border-radius: 10px; text-align: left; color: var(--ink); text-decoration: none !important; }
.sug-i:hover, .sug-i.on { background: var(--surface-2); }
.sug-i .ic { color: var(--muted); }
.fbtn { position: relative; flex: none; }
.fbtn .count { position: absolute; top: -4px; right: -4px; }
.sline { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 12px; flex-wrap: wrap; }
.sline h1 { font-size: 15px; font-weight: 650; color: var(--ink-2); }
.sline .select { width: auto; min-height: 38px; padding: 6px 30px 6px 12px; border-radius: 11px; font-size: 14px; font-weight: 600; }
.sline-r { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
@media (max-width: 559px) { .hide-t-m .btn-t { display: none; } .hide-t-m { padding: 0 10px; } .sline .select { max-width: 200px; } }
.understood { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; margin-bottom: 12px; border-radius: var(--r); background: var(--primary-soft); color: var(--primary-soft-ink); font-size: 14px; }
.understood b { font-weight: 650; }
.slayout { display: block; }
.sside { display: none; }
@media (min-width: 900px) {
  .sbar { padding-top: 16px; }
  .slayout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
  .sside { display: block; position: sticky; top: calc(var(--hdr) + 84px); max-height: calc(100dvh - var(--hdr) - 100px); overflow: auto; padding: 4px 6px 16px 2px; scrollbar-width: thin; }
  .fbtn { display: none !important; }
  .sline h1 { font-size: 17px; }
}
.fgroup { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup:first-child { border-top: 0; padding-top: 0; }
.fgroup > h3 { font-size: 14px; font-weight: 700; }
.fsal { display: flex; gap: 8px; align-items: center; }
.fsal .input { min-width: 0; }
.fsal .select { width: 84px; flex: none; }
.fcity { justify-content: flex-start; font-weight: 600; padding: 0 12px; }
.fcity .ic:first-child { color: var(--muted); }
.fgroup .toggle { min-height: 44px; padding: 4px 0; }
.fmulti > summary { display: flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; border-radius: 8px; }
.fmulti > summary::-webkit-details-marker { display: none; }
.fmulti > summary > span:first-child { flex: 1; }
.fmulti > summary .ic { color: var(--muted); transition: transform var(--t) var(--ease); }
.fmulti[open] > summary .ic { transform: rotate(180deg); }
.fmulti-list { display: flex; flex-direction: column; padding-top: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 38px; cursor: pointer; font-size: 14.5px; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--primary); flex: none; }
.check small { color: var(--muted); font-variant-numeric: tabular-nums; }
.more { display: flex; justify-content: center; margin-top: 16px; }
.save-search { display: flex; align-items: center; gap: 14px; padding: 16px; margin-top: 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px dashed var(--line-strong); }
.save-search .ic { color: var(--primary); }
