/* HR jobs v2 — «бумага, чернила и маркер»: белый лист, тёмно-зелёные чернила для действий,
   жёлтый маркер — тем, на что смотреть (как эйчар выделяет главное в резюме). */
:root {
  --paper: #ffffff;
  --page: #f7f8f6;
  --ink: #1e2724;
  --ink-2: #44504b;
  --muted: #66716c;
  --line: #e4e7e3;
  --line-2: #d3d8d3;
  --pen: #0f5c4d;
  --pen-2: #0b4a3e;
  --pen-tint: #edf5f2;
  --marker: #fce38a;
  --marker-soft: #fdf1c2;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --top-h: 64px;
  --roles-h: 44px;
  --bar-h: 48px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--page); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow: hidden; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
svg.lucide { width: 17px; height: 17px; stroke-width: 1.9; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--pen); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

mark, .hl { background: var(--marker); color: inherit; border-radius: 3px; padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { border-color: var(--ink-2); }
.btn.primary { background: var(--pen); border-color: var(--pen); color: #fff; }
.btn.primary:hover { background: var(--pen-2); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink-2); padding: 0 10px; }
.btn.quiet:hover { background: var(--page); }
.btn.on { background: var(--pen-tint); border-color: #b9d6cd; color: var(--pen-2); }

/* шапка с поиском */
.top { height: var(--top-h); display: flex; align-items: center; gap: 22px; padding: 0 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
.wordmark { font-weight: 700; font-size: 20px; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.wordmark .hl { padding: 0 .18em; }
.search { flex: 1; max-width: 760px; display: flex; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper);
  padding: 0 4px 0 0; }
.search:focus-within { border-color: var(--pen); box-shadow: 0 0 0 3px var(--pen-tint); }
.search label { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); height: 100%; }
.search input, .search select { border: 0; outline: none; background: transparent; height: 100%; color: var(--ink); font-size: 15px; }
.s-q { flex: 1; min-width: 0; }
.s-q input { width: 100%; }
.s-where { border-left: 1px solid var(--line); width: 200px; }
.s-where select { width: 100%; cursor: pointer; appearance: none; }
.search .btn { height: 36px; padding: 0 16px; border-radius: 9px; font-size: 14px; }
.insights-link { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.insights-link span { background: var(--marker); color: var(--ink); border-radius: 5px; padding: 0 6px; font-size: 11.5px; font-weight: 600; line-height: 18px; }
.insights-link + .shortlist-link { margin-left: 18px; }
.shortlist-link { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.shortlist-link span:not(:empty) { background: var(--ink); color: #fff; font-size: 12px; border-radius: 999px; padding: 0 7px; line-height: 19px; }
.shortlist-link.on { color: var(--pen); }

/* направления — текстовые вкладки */
.roles { height: var(--roles-h); display: flex; align-items: stretch; gap: 22px; padding: 0 24px; background: var(--paper); border-bottom: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none; }
.roles::-webkit-scrollbar { display: none; }
.role { display: flex; align-items: center; border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); font-weight: 500; font-size: 14px;
  white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.role:hover { color: var(--ink); }
.role.on { color: var(--ink); border-bottom-color: var(--pen); }

/* строка фильтров */
.bar { height: var(--bar-h); display: flex; align-items: center; gap: 8px; padding: 0 24px; border-bottom: 1px solid var(--line); background: var(--page); }
.fbtn { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--paper); font-size: 13.5px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.fbtn:hover { border-color: var(--ink-2); }
.fbtn.active { border-color: var(--pen); color: var(--pen-2); background: var(--pen-tint); }
.fbtn svg.lucide { width: 15px; height: 15px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 6px 0 10px; border-radius: 8px; background: var(--paper);
  border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.chip button { border: 0; background: none; cursor: pointer; padding: 2px; display: grid; place-items: center; color: var(--muted); border-radius: 5px; }
.chip button:hover { background: var(--page); color: var(--ink); }
.chip svg.lucide { width: 14px; height: 14px; }
.bar .count { margin-left: auto; color: var(--muted); font-size: 13.5px; white-space: nowrap; }
.bar .count b { color: var(--ink); font-weight: 600; }
.bar select.sort { border: 0; background: transparent; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 250px; max-height: 360px; overflow: auto; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 32px -12px rgba(30, 39, 36, .28); padding: 6px; text-align: left; cursor: default; }
.pop .grp { padding: 8px 8px 4px; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.pop label { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font-weight: 400; color: var(--ink); font-size: 14px; }
.pop label:hover { background: var(--page); }
.pop input { accent-color: var(--pen); width: 16px; height: 16px; margin: 0; }
.pop .n { margin-left: auto; color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pop .empty-n { opacity: .5; }

/* две панели: список и документ */
.panes { display: grid; grid-template-columns: minmax(340px, 440px) minmax(0, 1fr); height: calc(100vh - var(--top-h) - var(--roles-h) - var(--bar-h)); }
.list { overflow-y: auto; border-right: 1px solid var(--line); background: var(--paper); scrollbar-width: thin; }
.doc { overflow-y: auto; background: var(--page); scrollbar-width: thin; outline: none; }

.row { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 12px; width: 100%; text-align: left; padding: 14px 20px 14px 17px;
  border: 0; border-left: 3px solid transparent; border-bottom: 1px solid var(--line); background: var(--paper); cursor: pointer; }
.row:hover { background: #fafbfa; }
.row.sel { border-left-color: var(--pen); background: var(--pen-tint); }
.row .t { font-weight: 600; font-size: 15.5px; line-height: 1.3; letter-spacing: -.005em; }
.row .c { color: var(--ink-2); font-size: 13.5px; margin-top: 3px; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.row .c .loc { color: var(--muted); display: inline-flex; align-items: center; gap: 3px; }
.row .c svg.lucide { width: 13px; height: 13px; }
.row .side { text-align: right; font-size: 13px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; align-items: flex-end; white-space: nowrap; }
.row .money { color: var(--ink); font-weight: 600; }
.row .new { background: var(--marker); color: var(--ink); border-radius: 4px; padding: 0 5px; font-size: 12px; font-weight: 600; }
.fmt { display: inline-block; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 6px; font-size: 12px; color: var(--ink-2); line-height: 18px; }

.logo { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; overflow: hidden;
  font-weight: 700; font-size: 14px; color: #fff; flex-shrink: 0; }
.logo img { width: 100%; height: 100%; object-fit: contain; }
.logo.lg { width: 48px; height: 48px; border-radius: 12px; font-size: 18px; }

.list-foot { padding: 18px 20px 28px; }
.list-foot .legal { display: flex; gap: 14px; margin: 18px 0 0; font-size: 12px; }
.list-foot .legal a { color: var(--muted); }
.more { width: 100%; }
.alert-box { margin-top: 16px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 12px; background: var(--page); }
.alert-box p { margin: 0 0 10px; font-weight: 600; }
.alert-box form { display: flex; gap: 8px; }
.alert-box input { flex: 1; min-width: 0; height: 40px; border: 1px solid var(--line-2); border-radius: 9px; padding: 0 12px; background: #fff; }
.alert-box .note { margin: 8px 0 0; font-weight: 400; color: var(--muted); font-size: 13px; }
.alert-box .err { color: #b42318; font-weight: 400; font-size: 13px; margin: 8px 0 0; }
.review-note { display: flex; gap: 12px; align-items: flex-start; margin: 14px 16px 6px; padding: 14px 16px; border-radius: 12px;
  background: var(--marker-soft); border: 1px solid var(--marker); color: var(--ink-2); font-size: 14px; }
.review-note b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.review-note svg.lucide { margin-top: 2px; color: var(--pen); }
.review-note.no { background: var(--page); border-color: var(--line-2); }
.review-note .linklike { font-size: inherit; }
.empty { padding: 48px 28px; text-align: center; color: var(--ink-2); }
.empty h2 { font-size: 18px; margin: 0 0 6px; color: var(--ink); }
.empty p { margin: 0 0 16px; color: var(--muted); }

/* документ вакансии */
.sheet { max-width: 760px; margin: 22px auto 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.dhead { padding: 28px 36px 22px; }
.dco { display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 14px; }
.dco a { font-weight: 600; color: var(--ink); text-decoration: none; }
.dco a:hover { text-decoration: underline; }
.dco .about { color: var(--muted); }
.dtitle { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; margin: 16px 0 8px; }
.dwhere { color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dwhere svg.lucide { width: 15px; height: 15px; color: var(--muted); }
.dactions { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px 24px; margin: 0; padding: 18px 36px; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line); background: #fbfcfb; }
.facts div { min-width: 0; }
.facts dt { font-size: 13px; color: var(--muted); margin: 0 0 2px; }
.facts dd { margin: 0; font-weight: 600; font-size: 15px; }
.dbody { padding: 26px 36px 34px; }
.dbody h2 { font-size: 17px; font-weight: 650; letter-spacing: -.01em; margin: 0 0 12px; }
.ask { margin-bottom: 30px; }
.ask .keys { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.ask .key { background: var(--marker-soft); border: 1px solid #f2dd8b; border-radius: 8px; padding: 3px 10px; font-size: 14px; font-weight: 500; }
.prose { font-family: var(--serif); font-size: 16.5px; line-height: 1.72; color: #26302c; max-width: 68ch; overflow-wrap: anywhere; }
.prose p { margin: 0 0 12px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 1.2em; }
.prose li { margin: 4px 0; padding-left: .2em; }
.prose li p { margin: 0; }
.prose li::marker { color: var(--pen); }
.prose h3, .prose h4 { font-family: var(--sans); font-size: 16px; font-weight: 650; margin: 22px 0 8px; color: var(--ink); }
.prose a { color: var(--pen); }
.prose strong { font-weight: 600; color: var(--ink); }
.fold { position: relative; max-height: 560px; overflow: hidden; }
.fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.unfold { margin-top: 8px; }
.nodesc { color: var(--ink-2); background: var(--page); border-radius: 12px; padding: 16px 18px; }
.cblock { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; }
.cblock .cn { font-weight: 650; font-size: 16px; }
.cblock .cm { color: var(--muted); font-size: 14px; margin-top: 2px; }
.cblock .cl { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 14px; }
.cblock .cl a { color: var(--pen); text-decoration: none; font-weight: 500; }
.cblock .cl a:hover { text-decoration: underline; }
.similar { margin-top: 30px; }
.similar .row { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
.stuck { position: sticky; top: 0; z-index: 5; height: 57px; margin-bottom: -57px; display: flex; align-items: center; gap: 12px; padding: 10px 20px; background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .18s, opacity .18s; }
.stuck.show { transform: none; opacity: 1; pointer-events: auto; }
.stuck .st { font-weight: 650; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.stuck .btn { height: 36px; font-size: 14px; }
.back { display: none; }
.report { margin: 34px 0 0; font-size: 13px; color: var(--muted); }
.linklike { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; }
.linklike:hover { color: var(--ink); }
.welcome { max-width: 520px; margin: 80px auto; text-align: center; color: var(--ink-2); padding: 0 24px; }
.welcome h1 { font-size: 26px; letter-spacing: -.02em; margin: 0 0 10px; color: var(--ink); }

.skel { background: linear-gradient(90deg, #f0f2ef 25%, #f7f8f6 50%, #f0f2ef 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 6px; }
@keyframes sk { to { background-position: -200% 0; } }

/* телефон: список на весь экран, вакансия — отдельным экраном с кнопкой снизу */
@media (max-width: 900px) {
  body { overflow: auto; }
  .top { height: auto; flex-wrap: wrap; gap: 10px; padding: 12px 16px; }
  .search { order: 3; flex-basis: 100%; max-width: none; height: auto; flex-wrap: wrap; padding: 0; }
  .search label { height: 44px; }
  .s-q { flex-basis: 100%; }
  .s-where { flex: 1; border-left: 0; border-top: 1px solid var(--line); width: auto; }
  .search .btn { margin: 4px; }
  .roles { padding: 0 16px; }
  .bar { padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
  .bar .count { display: none; }
  .panes { display: block; height: auto; }
  .list { border-right: 0; overflow: visible; }
  .doc { position: fixed; inset: 0; z-index: 50; display: none; background: var(--paper); }
  .doc.open { display: block; }
  .sheet { margin: 0; border: 0; border-radius: 0; padding-bottom: 84px; }
  .dhead, .dbody { padding-left: 18px; padding-right: 18px; }
  .facts { padding: 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dtitle { font-size: 25px; }
  .back { display: inline-flex; margin: 10px 0 0 8px; }
  .stuck { position: fixed; top: auto; bottom: 0; left: 0; right: 0; height: auto; margin: 0; transform: none; opacity: 1; pointer-events: auto; border-top: 1px solid var(--line);
    border-bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .stuck .st { display: none; }
  .stuck .btn.primary { flex: 1; height: 46px; }
  .btn { min-height: 44px; }
  .row { grid-template-columns: 36px minmax(0, 1fr); padding: 13px 16px 13px 13px; row-gap: 6px; }
  .row .side { grid-column: 2; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 10px; }
}

/* ---------------------------------------------------------------- аккаунт: вход, профиль, подбор
   Всё тихое — одно громкое: маркер. Им подсвечено то, чем вакансия совпала с профилем (в списке «For you» и в требованиях). */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.acct { position: relative; display: flex; align-items: center; margin-left: 18px; }
.acct-in { height: 38px; padding: 0 12px; color: var(--pen); }
.acct-in:hover { background: var(--pen-tint); }
.acct-me { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 4px; border: 1px solid transparent; border-radius: 10px;
  background: none; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.acct-me:hover, .acct-me[aria-expanded="true"] { background: var(--page); border-color: var(--line); }
.acct-me svg.lucide { width: 15px; height: 15px; color: var(--muted); }
.ava { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--pen); color: #fff; display: inline-flex; align-items: center;
  justify-content: center; font-size: 12.5px; font-weight: 650; letter-spacing: .02em; }
.ava.lg { width: 56px; height: 56px; font-size: 20px; }
.menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 200px; padding: 6px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(30, 39, 36, .12); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-size: 14.5px; text-align: left; color: var(--ink); }
.menu button:hover, .menu button:focus-visible { background: var(--page); outline: none; }
.menu svg.lucide { width: 16px; height: 16px; color: var(--muted); }
.role.foryou { color: var(--pen); font-weight: 600; }
.role.foryou.on { color: var(--ink); }

/* окно входа: лист бумаги посреди затемнения */
dialog.auth { width: min(440px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--paper);
  color: var(--ink); box-shadow: 0 24px 64px rgba(30, 39, 36, .28); }
dialog.auth::backdrop { background: rgba(30, 39, 36, .38); }
.auth-form { position: relative; display: grid; gap: 14px; padding: 28px 28px 22px; }
.auth-form h2 { margin: 0; padding-right: 36px; font-size: 25px; line-height: 1.15; letter-spacing: -.02em; }
.auth-form .lede { margin: -6px 0 2px; color: var(--ink-2); }
.auth-form .x { position: absolute; top: 14px; right: 14px; display: inline-flex; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.auth-form .x:hover { background: var(--page); color: var(--ink); }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field > legend { padding: 0; font-weight: 600; font-size: 14px; }
.field > legend { margin-bottom: 8px; }
.field input, .field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 15px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--pen); box-shadow: 0 0 0 3px var(--pen-tint); }
.field small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.li-input { display: flex; align-items: center; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.li-input .pre { padding-left: 12px; color: var(--muted); white-space: nowrap; }
.li-input input { flex: 1; min-width: 0; height: 42px; padding: 0 12px 0 1px; border: 0; box-shadow: none !important; }
.li-input:focus-within { border-color: var(--pen); box-shadow: 0 0 0 3px var(--pen-tint); }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--pen); }
.form-err { margin: 0; color: #b42318; font-size: 14px; }
.form-err:empty { display: none; }
.btn.wide { width: 100%; height: 46px; }
.switch { margin: 0; text-align: center; color: var(--ink-2); font-size: 14px; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--pen); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.li-btn { width: 100%; height: 46px; gap: 10px; }
.li-btn .in { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 4px; background: #0a66c2; color: #fff;
  font-weight: 700; font-size: 13px; letter-spacing: -.02em; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.fine { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: 13.5px; line-height: 1.5; }
.fine li { margin: 3px 0; }
.fine li::marker { color: var(--muted); }
.soon { margin: -6px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.li-btn[disabled] { opacity: .55; cursor: not-allowed; }
a.li-btn { color: var(--ink); }
.devbox { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border: 1px dashed var(--line-2); border-radius: 12px;
  color: var(--muted); font-size: 13px; }
.devbox .btn { height: 36px; font-size: 14px; color: var(--pen); }

/* «For you»: под строкой — чем подходит, маркером */
.why { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 7px; }
.why mark { padding: 1px 7px; border-radius: 5px; background: var(--marker-soft); font-size: 12.5px; font-weight: 500; line-height: 18px; color: var(--ink-2); }
.row.sel .why mark { background: var(--marker); color: var(--ink); }
.fit-basis { color: var(--ink-2); font-size: 14px; font-weight: 500; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ask .key.fit { display: inline-flex; align-items: center; gap: 5px; background: var(--marker); border-color: #e3c24e; }
.ask .key.fit svg.lucide { width: 14px; height: 14px; stroke-width: 2.6; color: var(--pen-2); }
.fit-note { margin: -4px 0 14px; color: var(--ink-2); font-size: 14px; }

/* профиль: лист с шапкой, импорт PDF и «резюме, как мы его прочитали» */
.pro-who { display: flex; align-items: center; gap: 16px; }
.pro-who .dtitle { margin: 0 0 2px; font-size: 26px; }
.pro-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 0; color: var(--ink-2); font-size: 14.5px; }
.pro-meta a { display: inline-flex; align-items: center; gap: 5px; color: var(--pen); text-decoration: none; font-weight: 500; }
.pro-meta a:hover { text-decoration: underline; }
.pro-meta svg.lucide { width: 15px; height: 15px; }
.pro-note { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--pen-tint); color: var(--pen-2); font-weight: 500; }
.pro-note svg.lucide { width: 16px; height: 16px; }
.pro section + section { margin-top: 32px; }
.pro .setup { padding: 18px 20px; border: 1px solid #f2dd8b; border-radius: 14px; background: var(--marker-soft); }
.pro .setup p { margin: -4px 0 14px; color: var(--ink-2); }
.pro .setup form { display: grid; gap: 12px; }
.pro .setup .btn { justify-self: start; }
.steps { margin: 0 0 16px; padding-left: 1.4em; color: var(--ink-2); }
.steps li { margin: 4px 0; padding-left: .2em; }
.steps li::marker { color: var(--pen); font-weight: 600; }
.steps a { color: var(--pen); }
.drop { display: grid; justify-items: center; gap: 4px; padding: 26px 18px; border: 2px dashed var(--line-2); border-radius: 14px; background: var(--page);
  color: var(--ink-2); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over, .drop:focus-within { border-color: var(--pen); background: var(--pen-tint); }
.drop svg.lucide { width: 28px; height: 28px; margin-bottom: 4px; color: var(--pen); }
.drop b { color: var(--ink); font-size: 16px; }
.drop span { font-size: 14px; }
.drop-status { margin: 10px 0 0; color: var(--ink-2); font-size: 14px; }
.drop-status:empty { display: none; }
.drop-status.err { color: #b42318; }
.mine-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.mine-head h2 { margin: 0; }
.cv { margin-bottom: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cv h3 { margin: 0 0 2px; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.25; }
.cv .where { margin: 0 0 16px; font-family: var(--serif); color: var(--ink-2); }
.cv dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 10px 16px; margin: 0; font-size: 14.5px; }
.cv dt { color: var(--muted); }
.cv dd { margin: 0; }
.cv .src { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 1px 8px; border-radius: 6px; background: var(--page); border: 1px solid var(--line); font-size: 13.5px; }
.none, .none-yet { color: var(--muted); }
.none-yet { margin: 0 0 16px; }
.pf { display: grid; gap: 16px; margin-bottom: 8px; }
.pf-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff;
  font-size: 14px; color: var(--ink-2); }
.pill input:checked + span { border-color: var(--pen); background: var(--pen-tint); color: var(--pen-2); font-weight: 600; }
.pill input:focus-visible + span { outline: 2px solid var(--pen); outline-offset: 2px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.danger { padding-top: 18px; border-top: 1px solid var(--line); }
.danger p { margin: 0 0 12px; color: var(--ink-2); }
.btn.danger-btn { background: #b42318; border-color: #b42318; color: #fff; }
.btn.danger-btn:hover { background: #912018; }

@media (max-width: 900px) {
  .acct { margin-left: auto; }
  .acct-me .nm { display: none; }
  .pf-two { grid-template-columns: 1fr; }
  .cv dl { grid-template-columns: 1fr; gap: 2px; }
  .cv dd { margin-bottom: 10px; }
  .auth-form { padding: 24px 20px 18px; }
}

/* профиль: составляющие резюме, роли, зарплата */
.parts { display: grid; gap: 22px; margin: 4px 0 22px; }
.part h3 { margin: 0 0 8px; font-size: 14.5px; font-weight: 650; }
.chips-edit { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.echip { display: inline-flex; align-items: center; gap: 2px; min-height: 30px; padding: 0 2px 0 10px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--page); font-size: 13.5px; }
.echip button, .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: none; color: var(--muted); cursor: pointer; }
.echip button:hover, .icon-btn:hover { background: var(--line); color: var(--ink); }
.echip svg.lucide, .icon-btn svg.lucide { width: 14px; height: 14px; }
.addsel select, .lang-add select, .lang-row select { height: 34px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-size: 14px; }
.addsel select { color: var(--pen); font-weight: 500; }
.langs { display: grid; gap: 6px; margin-bottom: 10px; }
.lang-row { display: grid; grid-template-columns: minmax(0, 160px) 90px 30px; align-items: center; gap: 8px; }
.lang-row .ln { font-weight: 500; }
.lang-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.lang-add .btn { height: 34px; color: var(--pen); }
.lang-only small { display: block; margin-top: 3px; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.fit h2 { margin-bottom: 4px; }
.fit-lede { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.role-fit { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.role-fit.best { border-color: #b9d6cd; background: var(--pen-tint); }
.rf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rf-head span { color: var(--ink-2); font-size: 14px; }
.rf-head .rf-pct { margin-left: auto; color: var(--pen-2); font-weight: 650; font-size: 14px; }
.rf-bar { height: 6px; margin: 8px 0 10px; border-radius: 3px; background: var(--line); overflow: hidden; }
.rf-bar i { display: block; height: 100%; background: var(--pen); border-radius: 3px; }
.rf-line { margin: 4px 0 0; font-size: 13.5px; line-height: 1.6; }
.rf-line mark { background: var(--marker-soft); padding: 0 5px; border-radius: 4px; }
.rf-line.muted { color: var(--muted); }
.pay-h { margin-top: 26px; }
.pay-where { max-width: 320px; margin: 8px 0 10px; }
.pay-est { padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; }
.pay-big { margin: 0; font-size: 26px; font-weight: 650; letter-spacing: -.02em; }
.pay-big span { font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.pay-bar { position: relative; height: 10px; margin: 12px 0; border-radius: 5px; background: var(--line); }
.pay-bar i { position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--marker); }
.pay-bar b { position: absolute; top: -3px; width: 3px; height: 16px; margin-left: -1px; border-radius: 2px; background: var(--ink); }
.pay-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.pay-range { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.pay-why { margin: 14px 0 6px; font-size: 13px; font-weight: 650; color: var(--ink); }
.pay-drivers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.pay-drivers .drv { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.pay-drivers .drv small { display: block; color: var(--muted); font-size: 12.5px; }
.pay-drivers .drv b { flex: none; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.rf-pay b { font-weight: 650; color: var(--ink); }
.rf-pay span { color: var(--muted); }
@media (max-width: 900px) { .lang-row { grid-template-columns: minmax(0, 1fr) 84px 30px; } }

/* без входа: компания скрыта — размытая болванка вместо названия, пустая плитка вместо логотипа */
.co-blur { filter: blur(5px); user-select: none; color: var(--ink-2); letter-spacing: .02em; }
.logo.hid { background: linear-gradient(135deg, var(--page), var(--line)); }
.co-gate { border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.co-gate .gate-hint { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--pen); font-weight: 500; }
.co-gate .gate-hint svg.lucide { width: 13px; height: 13px; }
.co-gate:hover .gate-hint { text-decoration: underline; text-underline-offset: 3px; }
