:root {
  --bg: #f6f7f9; --card: #fff; --ink: #1b1f24; --muted: #667085; --line: #e3e6ea;
  --accent: #2f6fed; --accent-soft: #e8f0fe; --good: #1a7f4b; --warn: #b26a00; --bad: #c0362c;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #111418; --card: #1a1e24; --ink: #e8eaed; --muted: #9aa3ad; --line: #2a3038;
          --accent: #6b9bff; --accent-soft: #1f2a40; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); }
a { color: var(--accent); }
h1 { font-size: 22px; margin: 0 0 4px; } h2 { font-size: 17px; margin: 0 0 8px; } h3 { font-size: 15px; margin: 0 0 6px; }
.muted { color: var(--muted); } .center { text-align: center; } .small { font-size: 13px; }
main { max-width: 1180px; margin: 0 auto; padding: 20px 16px 60px; }

.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 16px; padding: 10px 16px;
  background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brand { font-weight: 700; text-decoration: none; color: var(--ink); } .brand span { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 4px; flex: 1; flex-wrap: wrap; }
nav a { padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--ink); }
nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

button, .btn { font: inherit; border: 1px solid var(--accent); background: var(--accent); color: #fff; padding: 7px 14px;
  border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: transparent; color: var(--accent); }
button.danger { background: transparent; border-color: var(--bad); color: var(--bad); }
button:disabled { opacity: .5; cursor: default; }
input, select, textarea { font: inherit; width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--card); color: var(--ink); }
textarea { min-height: 70px; resize: vertical; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
.pw { display: flex; gap: 6px; }
.pw input { flex: 1; }
.pw button { flex: none; padding: 7px 10px; }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--ink); font-size: 14px; }
.check input { width: auto; margin-top: 3px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.auth { max-width: 400px; margin: 48px auto; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > * { flex: 1; min-width: 140px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.span2 { grid-column: 1 / -1; margin-top: 8px; }
.span2[hidden] { display: none; }
.upcoming { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 2px 0; }
.pagehead { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.err { color: var(--bad); font-size: 13px; min-height: 18px; margin-top: 8px; }

.board { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: transparent; }
.col h3 { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; text-transform: uppercase; font-size: 12px; letter-spacing: .04em; }
.app-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; cursor: pointer; transition: transform .18s ease; }
/* Quick delete: trash icon on hover, or drag the card to the trash zone on the left */
.swipe-wrap { position: relative; margin-bottom: 8px; border-radius: var(--radius); }
.swipe-wrap[hidden] { display: none; }
.app-card { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.app-card.lifted { opacity: .35; }
.drag-ghost { position: fixed; z-index: 40; margin: 0; pointer-events: none; transform: rotate(-2deg) scale(1.03);
  box-shadow: 0 12px 28px rgba(0,0,0,.22); border-color: var(--accent); }
.trashzone { position: fixed; left: 0; width: 120px; z-index: 35; display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; text-align: center; padding: 10px; border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bad); color: #fff; box-shadow: 4px 0 18px rgba(0,0,0,.18); transform: translateX(-105%);
  visibility: hidden; pointer-events: none; transition: transform .16s ease, visibility 0s linear .16s; }
.trashzone.on { transform: none; visibility: visible; pointer-events: auto; transition: transform .16s ease; }
.trashzone .ti-big { font-size: 32px; }
.trashzone small { font-size: 12px; line-height: 1.35; }
.trashzone.asking { width: min(260px, 72vw); background: var(--card); color: var(--ink); border: 2px solid var(--bad); border-left: 0; }
.trashzone.asking button { width: 100%; }
.col.drop { background: var(--accent-soft); }
.card-del { position: absolute; top: 6px; right: 6px; background: transparent; border: 0; padding: 2px 6px; font-size: 14px; line-height: 1;
  opacity: 0; cursor: pointer; border-radius: 6px; }
.card-del:hover, .card-del:focus-visible { background: #fde8e6; opacity: 1; }
.app-card:hover .card-del, .card-del:focus-visible { opacity: .75; }
.app-card .co { padding-right: 22px; }
.colnav { display: none; }
@media (hover: none) { .card-del { opacity: .45; } }
.toast { display: flex; align-items: center; gap: 12px; }
.toast[hidden] { display: none; }
.toast-btn { background: transparent; border: 0; color: var(--accent-soft, #9cc3ff); font-weight: 700; padding: 0; cursor: pointer; }
.consult-req .actions { gap: 6px; }
.small-btn { padding: 4px 10px; font-size: 13px; }
.danger-text { color: var(--bad) !important; }
.app-card:hover { border-color: var(--accent); }
.board .app-card { cursor: grab; }
.app-card.dragging { opacity: .45; }
.app-card.picked { border-color: var(--accent); background: var(--accent-soft); }
.app-card .pick { float: right; width: auto; margin: 2px 0 0 8px; pointer-events: none; }
.col { min-height: 140px; border-radius: var(--radius); }
.col.drop { outline: 2px dashed var(--accent); outline-offset: 2px; }
.bulkbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; position: sticky; top: 58px; z-index: 4; }
.app-card .co { font-weight: 600; } .app-card .ti { font-size: 13px; }
.badge { display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 99px; background: var(--line); color: var(--ink); margin: 4px 4px 0 0; }
.badge.bad { background: #fde8e6; color: var(--bad); } .badge.good { background: #e3f4ea; color: var(--good); } .badge.warn { background: #fff1d6; color: var(--warn); }

.list { display: grid; gap: 8px; }
.item { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 14px; flex-wrap: wrap; }
.item .meta { font-size: 13px; color: var(--muted); }
.actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }

.drawer { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 10; display: flex; justify-content: flex-end; }
.drawer[hidden] { display: none; }
.drawer.modal-open { justify-content: center; align-items: center; padding: 16px; }
.modal { width: min(480px, 100%); }
.modal .dots { display: flex; gap: 6px; margin-bottom: 12px; }
.modal .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.modal .dots span.on { background: var(--accent); }
.guide-body ul { padding-left: 18px; } .guide-body li { margin-bottom: 6px; }
.drawer .panel { width: min(560px, 100%); height: 100%; overflow-y: auto; background: var(--bg); padding: 20px; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { padding: 0 0 12px 14px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline .when { font-size: 12px; color: var(--muted); }

.progress { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: var(--good); }
.lesson-body { line-height: 1.6; } .lesson-body h1, .lesson-body h2 { margin-top: 16px; }

.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg);
  padding: 10px 16px; border-radius: 8px; z-index: 20; font-size: 14px; }

@media (max-width: 720px) {
  .board { grid-template-columns: repeat(5, 78vw); scroll-snap-type: x mandatory; }
  .board .col { scroll-snap-align: start; }
  .colnav { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 8px; }
  .colnav button { flex: 0 0 auto; padding: 4px 10px; font-size: 13px; white-space: nowrap; }
  .grid2 { grid-template-columns: 1fr; }
  nav { order: 3; flex: 0 0 100%; flex-wrap: nowrap; overflow-x: auto; }
  #consult { margin-left: auto; }
}

/* Directions dropdown with collapsible groups */
.dd { position: relative; width: 100%; }
.dd-btn { width: 100%; display: flex; justify-content: space-between; gap: 8px; align-items: center;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; text-align: left; }
.dd-btn span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-panel { position: absolute; z-index: 30; top: calc(100% + 4px); left: 0; right: 0; max-height: 60vh; overflow: auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); padding: 4px; }
.dd-item { width: 100%; display: flex; justify-content: space-between; gap: 8px; background: transparent; color: var(--ink);
  border: 0; border-radius: 6px; padding: 7px 10px; text-align: left; }
.dd-item:hover, .dd-item:focus-visible { background: var(--accent-soft); }
.dd-item.on { color: var(--accent); font-weight: 600; }
.dd-item.sub { padding-left: 28px; font-size: 14px; }
.dd-group .chev { display: inline-block; width: 12px; color: var(--muted); }
/* Jobs filters: search | directions | seniority | date in one row on desktop */
.filters > #q { flex: 2 1 220px; }
.filters > .dd { flex: 1 1 170px; }

/* Floating help button */
.help-fab { position: fixed; right: 16px; bottom: 16px; z-index: 9; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.help-fab[hidden] { display: none; }
.fab { width: 44px; height: 44px; border-radius: 50%; padding: 0; font-size: 20px; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.fabmenu { width: 260px; padding: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
/* Tips («Поради») */
.consult-hero { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  margin-bottom: 12px; background: var(--accent-soft); border-color: transparent; }
.consult-hero > div { flex: 1 1 320px; } .consult-hero h2 { margin-top: 0; } .consult-hero p { margin-bottom: 0; }
.tips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.tip { display: flex; flex-direction: column; } .tip h2 { margin-top: 0; }
.tip .tip-cta { margin-top: auto; padding-top: 12px; }
.consult-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.consult-cta p { margin: 4px 0 0; }
@media (max-width: 640px) { .tips-grid { grid-template-columns: 1fr; } }
.lesson-body pre { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; white-space: pre-wrap; font-size: 13px; }
.lesson-body code { font-size: 13px; }

/* Profile */
.chk-row { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.chk-row .check, .dir-group .check { margin: 4px 0; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 18px; }
.dir-group { padding: 6px 0; border-bottom: 1px solid var(--line); }
.dir-subs { padding-left: 24px; }
.dir-subs .check { font-size: 13px; }
/* Floating action bar: save buttons stay on screen while the form scrolls (r25). Every form whose last block holds a
   submit button gets it automatically; non-form panels use .savebar. Short inline forms opt out below. */
.savebar, form:not(#authform, .addcol-form, .cbmeta, #inv) > :last-child:has(> button[type=submit]) {
  position: sticky; bottom: 0; z-index: 3; margin-top: 12px; padding: 10px 0; background: var(--bg); border-top: 1px solid var(--line); }
.card .savebar, .card form:not(#authform, .addcol-form, .cbmeta, #inv) > :last-child:has(> button[type=submit]),
form.card:not(#inv) > :last-child:has(> button[type=submit]) { background: var(--card); }
.persona .savebar { margin: 14px -16px -16px; padding: 10px 16px 12px; bottom: -16px; }
/* Inside a scrolling drawer the panel's own padding would leave a strip of content showing under the bar. */
.drawer .panel .savebar, .drawer .panel form > :last-child:has(> button[type=submit]) { bottom: -20px; padding-bottom: 20px; }
@media (max-width: 960px) { .persona .savebar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 6;
  box-shadow: 0 -4px 14px rgba(0,0,0,.12); } .screen { padding-bottom: 110px; } }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); text-decoration: underline; font-size: inherit; }
.row.nowrap { flex-wrap: nowrap; }
.row.nowrap > select { flex: 0 0 90px; min-width: 0; }

/* CV · Самопрезентація */
.subtabs a.btn { text-decoration: none; }
.pitch-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
#pitch-out { position: sticky; top: 72px; display: grid; gap: 12px; }
.out-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.out-head h3 { margin: 0; }
.out-text { white-space: pre-wrap; } .out-text p { margin: 6px 0; }
.small-btn { padding: 4px 10px; font-size: 13px; }
.win { margin-top: 10px; } .win summary { cursor: pointer; }
.hint { border-color: var(--warn); } .hint ul { margin: 6px 0 0; padding-left: 18px; }
ul.star { margin: 4px 0 8px; padding-left: 18px; }
@media (max-width: 900px) { .pitch-layout { grid-template-columns: 1fr; } #pitch-out { position: static; } }

/* Admin */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.tile-n { font-size: 28px; font-weight: 700; line-height: 1.1; }
.tile-l { font-size: 14px; margin-top: 2px; }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 90px; margin: 10px 0 4px; }
.bar { flex: 1; height: 100%; display: flex; align-items: flex-end; background: var(--accent-soft); border-radius: 3px; }
.bar span { display: block; width: 100%; background: var(--accent); border-radius: 3px; min-height: 0; }
.table-wrap { overflow-x: auto; margin-top: 10px; }
table.adm { width: 100%; border-collapse: collapse; font-size: 14px; }
table.adm th, table.adm td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.adm th { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }

/* Legal links */
.legal-foot { max-width: 1180px; margin: 24px auto 0; padding: 16px 16px 80px; text-align: center; }
.legal-foot a { color: var(--muted); }

/* Recommended jobs + first-visit survey */
.reco { margin-bottom: 16px; border-left: 3px solid var(--accent); }
.reco-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.reco-head h2 { margin: 0; }
.reco-list { margin-top: 8px; }
.pool-title { margin: 8px 0 10px; }
.survey { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.survey h3 { margin: 14px 0 6px; }
.survey-dirs { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 16px; }
.survey-dirs .check { margin: 4px 0; }
.reco-head .row { gap: 16px; }
.reco-head .row > * { flex: none; width: auto; }

/* Onboarding wizard, LinkedIn PDF import, profile completeness */
.wiz-steps { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; font-size: 12px; }
.wiz-steps span { padding: 3px 9px; border-radius: 999px; background: var(--line); color: var(--muted); }
.wiz-steps span.on { background: var(--accent); color: #fff; }
.wiz-steps span.done { color: var(--ink); }
.wiz-nav { margin-top: 8px; justify-content: flex-end; }
.wiz-nav [data-back], .wiz-nav [data-cancel] { margin-right: auto; }
.radio-col .check { display: flex; margin: 6px 0; }
.li-drop { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px dashed var(--line); border-radius: 10px; cursor: pointer; margin: 8px 0 4px; }
.li-drop:hover, .li-drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.li-drop-icon { flex: none; width: 34px; height: 34px; border-radius: 6px; background: #0a66c2; color: #fff; font-weight: 700; display: grid; place-items: center; font-family: Arial, sans-serif; }
.li-msg { margin: 4px 0; min-height: 0; }
.li-msg.ok { color: #1a7f37; }
.or-line { text-align: center; margin: 10px 0 0; }
.howto { margin: 4px 0 6px; font-size: 14px; }
.howto summary { cursor: pointer; color: var(--accent); }
.howto ol { padding-left: 20px; margin: 8px 0; }
.howto img { width: 100%; max-width: 520px; border: 1px solid var(--line); border-radius: 8px; display: block; margin: 6px 0; }
.completeness { margin-bottom: 16px; }
.meter { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 8px; }
.meter span { display: block; height: 100%; background: var(--accent); }
.li-summary summary { cursor: pointer; }
.li-summary ul { margin: 6px 0; padding-left: 20px; }
.choice { display: grid; gap: 10px; margin: 8px 0 4px; }
.choice-card { display: flex; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 14px; background: var(--card); color: var(--ink); border: 1.5px solid var(--line); border-radius: 10px; font-weight: 400; }
.choice-card:hover, .choice-card:focus-visible { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--card)); }
.choice-icon { flex: none; width: 34px; height: 34px; border-radius: 6px; background: var(--line); display: grid; place-items: center; font-size: 18px; }
.li-steps { padding-left: 20px; margin: 10px 0; font-size: 14px; }
.li-steps li { margin: 4px 0; }
.li-shot { width: 100%; max-width: 520px; border: 1px solid var(--line); border-radius: 8px; display: block; margin: 6px 0; }

/* «Відгукнутися» assistant */
.apply-step { margin-top: 12px; }
.apply-step h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; }
.step-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; flex: none; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { background: transparent; color: var(--muted); border: 0; border-radius: 0; padding: 4px 12px; }
.seg button.on { background: var(--accent); color: #fff; }
.copy-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.copy-row:first-of-type { border-top: 0; }
.copy-row .muted { word-break: break-all; }
.apply-howto { margin: 0 0 12px; padding-left: 20px; }
.apply-howto li { margin: 2px 0; }
#ap-already { margin-left: 12px; }
.apply-confirm { margin-top: 12px; border: 2px solid var(--accent); }
.apply-confirm.flash { animation: apply-flash 1.2s ease 2; }
@keyframes apply-flash { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); } }
.apply-step .row select { flex: 1 1 auto; min-width: 0; }
#ap-dl { flex: 0 0 auto; }

/* Wizard: «Чи є у вас LinkedIn?» + step-by-step guide + what the PDF gave */
.li-ask { font-size: 16px; font-weight: 600; margin: 4px 0 10px; }
.choice.two { grid-template-columns: 1fr 1fr; }
.choice-card.big { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 16px; }
.choice-card.big b { font-size: 17px; }
@media (max-width: 520px) { .choice.two { grid-template-columns: 1fr; } }
.li-guide-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.li-guide .dots { display: flex; gap: 6px; margin: 0; }
.modal .dots span.done { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.li-art { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 12px; min-height: 150px; display: grid; place-items: center; }
.li-art .li-shot { max-width: 100%; margin: 0; }
.mock-browser { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.mb-bar { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--line) 40%, var(--card)); }
.mb-dots { display: flex; gap: 4px; } .mb-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); display: block; }
.mb-url { flex: 1; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 12px; color: var(--muted); }
.mb-nav { margin-left: auto; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.mb-nav i { width: 16px; height: 12px; border-radius: 3px; background: var(--line); display: block; }
.mb-body { padding: 16px; display: flex; align-items: center; gap: 12px; min-height: 90px; }
.mb-body.right { justify-content: flex-end; align-items: flex-start; }
.mb-body.col { flex-direction: column; align-items: flex-start; }
.mb-logo { width: 34px; height: 34px; border-radius: 6px; background: #0a66c2; color: #fff; font-weight: 700; display: grid; place-items: center; }
.mb-logo.sm { width: 20px; height: 20px; font-size: 11px; border-radius: 4px; }
.mb-tag { font-size: 13px; color: var(--muted); }
.mb-menu { border: 1px solid var(--line); border-radius: 8px; padding: 10px; display: grid; gap: 8px; min-width: 190px; background: var(--card); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.mb-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.mb-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--line); flex: none; }
.mb-ava.big { width: 44px; height: 44px; }
.mb-lines { display: grid; gap: 5px; } .mb-lines i { display: block; width: 110px; height: 8px; border-radius: 4px; background: var(--line); } .mb-lines i.short { width: 70px; }
.mb-btn { font-size: 12px; border: 1px solid var(--muted); color: var(--muted); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.mb-btn.fill { background: #0a66c2; border-color: #0a66c2; color: #fff; }
.mb-or { font-size: 11px; color: var(--muted); }
.hl { outline: 2.5px solid #f59e0b; outline-offset: 2px; border-radius: 999px; animation: hl-pulse 1.6s ease infinite; color: var(--ink) !important; font-weight: 600; }
@keyframes hl-pulse { 50% { outline-color: color-mix(in srgb, #f59e0b 35%, transparent); } }
.li-found { border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.lf-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.lf-ava { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; display: grid; place-items: center; flex: none; }
.lf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.lf-list li { display: grid; grid-template-columns: 24px 110px 1fr; align-items: center; gap: 6px; font-size: 14px; }
.lf-list li b { font-weight: 500; overflow-wrap: anywhere; }
.lf-list li.miss b { color: var(--warn); font-weight: 400; font-size: 13px; }
.lf-chips, .tour-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.lf-chips span, .tour-chips span { font-size: 12px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 3px 10px; }
@media (max-width: 520px) { .lf-list li { grid-template-columns: 24px 1fr; } .lf-list li b { grid-column: 2; } }

/* Tab tour */
.tour { position: fixed; inset: 0; z-index: 40; }
.tour-hole { position: fixed; border-radius: 10px; box-shadow: 0 0 0 9999px rgba(10, 14, 20, .62); pointer-events: none; transition: all .25s ease; outline: 2px solid #fff; }
.tour-tip { position: fixed; z-index: 41; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: top .25s ease, left .25s ease; }
.tour-tip p { margin: 6px 0; font-size: 14px; }
.tour-head { display: flex; gap: 10px; align-items: center; }
.tour-head h3 { margin: 0; font-size: 17px; }
.tour-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; flex: none; }
.tour-hint { margin-top: 10px !important; }
.tour-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.tour-nav .dots { display: flex; gap: 5px; }
.tour-nav .dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.tour-nav .dots span.on { background: var(--accent); }
@media (max-width: 420px) { .tour-nav .dots { display: none; } }
.page-info { margin-left: 8px; width: 22px; height: 22px; padding: 0; border-radius: 50%; font: italic 700 13px/20px Georgia, serif; vertical-align: middle;
  background: var(--accent-soft); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.page-note { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 16px; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.page-note p { margin: 4px 0 0; }
.page-note .tour-chips { margin-top: 8px; }

/* Recruiter ------------------------------------------------------------------ */
.ws-switch { width: auto; padding: 5px 8px; font-size: 13px; }
.stage-board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(176px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.stage-board .col { background: var(--card); border: 1px solid var(--line); padding: 8px; min-height: 200px; }
.stage-board .col h3 { margin: 2px 4px 8px; }
.stage-board .col .cards { display: grid; gap: 8px; }
.stage-board .app-card .co { color: var(--muted); font-size: 13px; }
.stage-board .app-card .age { font-size: 11px; color: var(--muted); margin-top: 4px; }
.stage-board .app-card[draggable="true"] { cursor: grab; }
.stage-board .app-card.dragging { opacity: .4; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters > input { flex: 1 1 220px; width: auto; }
.filters > select { flex: 0 1 180px; width: auto; }
table.adm tr.click { cursor: pointer; }
table.adm tr.click:hover td { background: var(--accent-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.vac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.vac-card { text-decoration: none; color: var(--ink); display: block; }
.vac-card:hover { border-color: var(--accent); }
.vac-card .nums { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.vac-card .nums b { color: var(--ink); font-size: 16px; display: block; }
.dup { border: 1px solid var(--warn); background: #fff7e6; color: #5c3b00; border-radius: 8px; padding: 10px; margin-top: 10px; font-size: 14px; }
@media (prefers-color-scheme: dark) { .dup { background: #3a2c10; color: #ffe2a8; } }
.section { margin-top: 18px; }
.section > h3 { display: flex; justify-content: space-between; align-items: center; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; overflow-wrap: anywhere; }
.stage-row { display: grid; grid-template-columns: 1fr 130px auto auto auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.stage-row button { padding: 6px 9px; }
.closed-list { margin-top: 16px; }
.empty { padding: 24px; text-align: center; color: var(--muted); }
details > summary { cursor: pointer; color: var(--accent); }
@media (max-width: 640px) {
  .grid2 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .stage-row { grid-template-columns: 1fr 1fr; }
  .hide-sm { display: none; }
}
main.wide { max-width: none; }
.dup { margin: 0 0 10px; }

/* 2026-11-17: vacancy project, client page, materials, import */
.vac-tabs { border-bottom: 1px solid var(--line); gap: 2px; margin-bottom: 14px; flex-wrap: wrap; }
.vac-tabs .tab { padding: 8px 12px; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vac-tabs .tab.on { border-bottom-color: var(--accent); color: var(--accent); font-weight: 600; }
.brief-grid, .client-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.stack { display: grid; gap: 12px; }
.crit { border-top: 1px solid var(--line); padding: 8px 0; display: grid; gap: 6px; }
.crit:first-child { border-top: 0; }
.crit-score { display: grid; gap: 4px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.crit-score:last-child { border-bottom: 0; }
.row.nowrap { flex-wrap: nowrap; }
.score { display: inline-block; min-width: 26px; text-align: center; font-weight: 700; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 0 5px; font-size: 13px; }
.mat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.mat-body { white-space: pre-wrap; font-size: 14px; margin-top: 6px; }
.proc { margin: 0; padding-left: 20px; } .proc li { margin-bottom: 6px; }
.src-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.src { display: flex; flex-direction: column; gap: 6px; cursor: pointer; }
.src input { display: none; }
.src.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.nums { display: flex; gap: 18px; flex-wrap: wrap; margin: 8px 0; }
.nums div { font-size: 12px; color: var(--muted); display: flex; flex-direction: column; }
.nums b { font-size: 18px; color: var(--ink); }
table.map select { min-width: 170px; }
@media (max-width: 760px) {
  .brief-grid, .client-grid, .src-grid { grid-template-columns: 1fr; }
}
.brief-grid > *, .client-grid > *, .stack > * { min-width: 0; }
.row.nowrap > * { min-width: 0; }
.crit .row.nowrap > input { flex: 1; }
@media (max-width: 760px) {
  .pagehead > .row { flex: 1 1 100% !important; }
  .topbar { flex-wrap: wrap; }
  #nav { order: 3; flex: 1 1 100%; min-width: 0; flex-wrap: nowrap; overflow-x: auto; }
  #nav a { flex: none; }
  .pagehead > .row > * { min-width: 0; }
}

/* 2026-11-19: company links + "do not hunt" */
.link-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 4px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.link-row a { overflow-wrap: anywhere; min-width: 0; }
.link-row .badge { margin: 0; }
.link-row [data-dellink] { margin-left: auto; }
#linkform input { min-width: 0; }
.nohunt-banner { background: #fde8e6; color: var(--bad); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.nohunt-banner.ok { background: #fff1d6; color: var(--warn); }
.nohunt-banner .small { display: block; margin-top: 4px; color: var(--ink); }
tr.nohunt td { background: #fff8f7; }
@media (max-width: 520px) { #linkform { flex-wrap: wrap; } #linkform select { flex: 1 1 100% !important; } }

/* 2026-11-19b: work history + donors */
.jobs .job { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.jobs .job:last-child { border-bottom: 0; }
.jobs .job.past { opacity: .75; }
.job-edit { padding: 10px; }
.donors { display: flex; flex-wrap: wrap; gap: 6px; }
.donor { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 4px 4px 4px 10px; font-size: 13px; max-width: 100%; flex-wrap: wrap; }
.donor.off { opacity: .5; text-decoration: line-through; }
.donor.off button { text-decoration: none; }

/* 2026-11-21: priorities, «Завдання», plan, outreach hooks */
.prio { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px 1px 6px; border-radius: 99px; vertical-align: middle; white-space: nowrap; }
.prio::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 5px; background: currentColor; vertical-align: 1px; }
.p-high { background: #fde8e6; color: var(--bad); } .p-mid { background: #fff1d6; color: var(--warn); } .p-low { background: var(--line); color: var(--muted); }
h1 .prio { font-size: 12px; }
.tablewrap { overflow-x: auto; }
.pace { font-weight: 600; white-space: nowrap; } .pace.good { color: var(--good); } .pace.bad { color: var(--bad); } .pace .muted { font-weight: 400; }
.task-grid, .ov-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 12px; }
.ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.task-grid h2, .ov-grid h2 { margin-top: 0; }
.steps { display: grid; gap: 8px; }
.step { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.step-main { flex: 1 1 240px; min-width: 0; } .step > .row { margin-left: auto; gap: 6px; } .step .small-btn { min-width: 0; width: auto; } .step-main a { color: var(--ink); }
.cap .progress { margin-top: 8px; } .cap.over { border-color: var(--bad); } .cap.over .progress > div { background: var(--bad); }
.done-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; } .done-list li { padding: 3px 0; }
.desc { white-space: pre-wrap; font-size: 14px; max-height: 340px; overflow: auto; }
.score-list { list-style: none; padding: 0; margin: 0; } .score-list li { padding: 5px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.hooks { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.hook textarea { margin-top: 8px; font-size: 14px; }
.hook .row { margin-top: 6px; gap: 8px; }
.hook .row.nowrap > select { flex: 1 1 0; min-width: 0; }
.hook .row.nowrap > select[data-f="lang"] { flex: 0 0 76px; }
.hook-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.hook-actions { display: flex; gap: 8px; margin-top: 8px; }
.hook-actions > button { flex: none; white-space: nowrap; }
table.bench input { width: 64px; }
@media (max-width: 760px) {
  .task-grid, .ov-grid, .hooks { grid-template-columns: minmax(0, 1fr); }
  .step { flex-wrap: wrap; }
}
@media (prefers-color-scheme: dark) {
  .p-high { background: #3a1d1b; } .p-mid { background: #3a2c12; }
}
.more summary { cursor: pointer; color: var(--muted); padding: 4px 0; } .more .steps { margin-top: 8px; }
.step > .row > * { flex: none; }

/* 2026-11-24: vacancy kanban, time allocation, question bank */
.vboard { display: grid; grid-template-columns: repeat(var(--vcols, 4), minmax(190px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; }
.vcol { background: var(--line); background: color-mix(in srgb, var(--line) 45%, transparent); border-radius: var(--radius); padding: 10px; min-height: 160px; }
.vcol.drop { outline: 2px dashed var(--accent); }
.vcol h3 { display: flex; justify-content: space-between; margin: 0; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; }
.vcol > p { margin: 2px 0 8px; }
.vcards { display: grid; gap: 8px; }
.vcard { padding: 10px 12px; cursor: grab; }
.vcard.dragging { opacity: .5; }
.vcard .vtitle { color: var(--ink); font-weight: 600; text-decoration: none; }
.vcard .vtitle:hover { color: var(--accent); }
.vnums { display: flex; gap: 10px; margin-top: 6px; } .vnums b { color: var(--ink); }
.vbtns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; } .vbtns .small-btn { flex: none; min-width: 0; width: auto; }
.alloc { display: flex; height: 30px; border-radius: 8px; overflow: hidden; margin-top: 10px; gap: 2px; }
.alloc .seg { display: flex; align-items: center; padding: 0 8px; font-size: 12px; color: #fff; min-width: 0; }
.alloc .seg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.alloc .s0 { background: #2f6fed; } .alloc .s1 { background: #7a4fd6; } .alloc .s2 { background: #1a8f7a; } .alloc .s3 { background: #c46a12; }
.alloc .ovh { background: var(--line); color: var(--muted); }
.qgroup h3 { margin: 14px 0 6px; }
.qitem { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin: 0 0 6px; justify-content: flex-start; }
.qitem > span { display: flex; flex-direction: column; gap: 2px; }
.qitem .qtext { font-size: 14px; }
.qitem.in { opacity: .65; }
.crit > .badge { margin: 0 0 4px; }
@media (max-width: 760px) {
  .vboard { grid-template-columns: minmax(0, 1fr); }
}

/* Interview script (2026-11-24) */
a.btnlike { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
a.btnlike.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
.crit-stage { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 14px 0 2px; }
.crit-stage:first-child { margin-top: 0; }
.small-sel { flex: 0 1 220px !important; font-size: 13px; padding: 4px 6px; }
.stagenav { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 10px; position: sticky; top: 0; z-index: 4; background: var(--bg); }
.stagenav a { flex: none; font-size: 13px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); background: var(--card); }
.screen { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.persona { position: sticky; top: 50px; max-height: calc(100vh - 64px); overflow-y: auto; }
.persona h2 { margin: 14px 0 4px; font-size: 17px; } .persona h3 { margin: 12px 0 4px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.persona .check { margin: 4px 0; }
.sstage { scroll-margin-top: 50px; margin-bottom: 18px; } .sstage h2 { font-size: 18px; margin: 6px 0 8px; }
.talk { margin: 6px 0; padding-left: 18px; } .talk li { margin: 3px 0; }
.sq { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; display: grid; gap: 6px; }
.sq.r3 { border-left-color: var(--good); } .sq.r2 { border-left-color: var(--warn); } .sq.r1 { border-left-color: var(--bad); }
.sq-text { font-size: 16px; line-height: 1.4; }
.sq textarea { resize: none; overflow: hidden; min-height: 36px; }
.rate { display: flex; gap: 4px; flex: none; }
.rate button { padding: 4px 9px; font-size: 13px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.rate button.good.on { background: var(--good); border-color: var(--good); color: #fff; }
.rate button.mid.on { background: var(--warn); border-color: var(--warn); color: #fff; }
.rate button.bad.on { background: var(--bad); border-color: var(--bad); color: #fff; }
.probes { display: flex; flex-wrap: wrap; gap: 4px; }
.probe { font-size: 12px; padding: 3px 8px; background: var(--accent-soft); color: var(--accent); border: 1px solid transparent; border-radius: 99px; font-weight: 400; }
.probe.on { background: transparent; color: var(--muted); border-color: var(--line); text-decoration: line-through; }
.pscale { margin: 6px 0 8px; }
.chipset { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 3px; }
.chip { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: transparent; color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
.chip.on.t-g, .chip.on.d-good { background: #e3f4ea; color: var(--good); border-color: var(--good); }
.chip.on.t-m, .chip.on.d-warn { background: #fff1d6; color: var(--warn); border-color: var(--warn); }
.chip.on.t-b, .chip.on.d-bad { background: #fde8e6; color: var(--bad); border-color: var(--bad); }
.sumbox { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .sumbox .big { font-size: 26px; font-weight: 700; }
.good-text { color: var(--good); }
.timer { font-variant-numeric: tabular-nums; color: var(--muted); font-size: 14px; align-self: center; }
.pchips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.pchip { font-size: 12px; padding: 2px 8px; border-radius: 99px; background: var(--line); }
.pchip.t-g { background: #e3f4ea; color: var(--good); } .pchip.t-m { background: #fff1d6; color: var(--warn); } .pchip.t-b { background: #fde8e6; color: var(--bad); }
@media (max-width: 960px) { .screen { grid-template-columns: 1fr; } .persona { position: static; max-height: none; } .rate button span { display: none; } }
/* Candidate presets (2026-11-24) */
.presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.preset { display: inline-flex; gap: 6px; align-items: baseline; padding: 7px 12px; border-radius: 10px; background: var(--card); color: var(--ink); border: 1px solid var(--line); font-weight: 400; }
.preset b { font-weight: 700; } .preset.on { border-color: var(--accent); background: var(--accent-soft); }
.preset-box { margin-bottom: 10px; } .preset-box select { flex: 1; min-width: 0; }
#savepreset summary { cursor: pointer; color: var(--accent); font-size: 14px; }
.bcol-row { padding: 8px 10px; margin-bottom: 8px; } .bcol-row input { min-width: 0; }
.bcol-row .row.nowrap > input, .bcol-row .row.nowrap > select { flex: 1; }

/* Question bank tiles + grouped list */
.qtiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
a.qtile { display: block; color: inherit; text-decoration: none; padding: 14px 16px; transition: border-color .15s, box-shadow .15s; }
a.qtile:hover { border-color: var(--accent); box-shadow: 0 2px 10px rgba(0, 0, 0, .06); }
.qtile-l { font-weight: 600; font-size: 15px; }
.qtile-n { font-size: 26px; font-weight: 700; margin-top: 10px; line-height: 1.1; }
a.qtile.empty-tile { opacity: .6; }
a.qtile.empty-tile .qtile-n { font-size: 18px; }
.qitem { display: flex; gap: 14px; justify-content: space-between; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); margin-bottom: 6px; }
.qitem:hover { border-color: var(--accent); }
.qitem-main { flex: 1; min-width: 0; }
.qitem-meta { flex: 0 0 170px; text-align: right; }
.qitem.qgen { background: transparent; border-style: dashed; }
@media (max-width: 640px) { .qitem { flex-direction: column; gap: 4px; } .qitem-meta { flex: none; text-align: left; } }
.good-text { color: var(--good); }

/* Overview funnel by the vacancy's own stages (pastel, wide at the top, narrow at the bottom) */
.sfunnel { display: flex; flex-direction: column; gap: 3px; }
a.sf-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.sf-band { background: var(--sc); color: #1b1f24; height: 40px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; transition: filter .15s; }
a.sf-row:hover .sf-band { filter: saturate(1.6) brightness(.97); }
.sf-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.sf-n { font-weight: 700; font-size: 15px; flex: none; }
.sf-conv { font-size: 14px; font-weight: 600; text-align: center; transform: translateY(-21px); color: var(--muted); }
.sf-conv:not(:empty)::before { content: '↓ '; font-weight: 400; }
.sf-now { font-size: 14px; font-weight: 600; text-align: center; }
.sf-head { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; gap: 8px; font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; margin-bottom: 2px; }
.stage-board .col h3 { border-top: 4px solid var(--sc, transparent); padding-top: 8px; }

/* Remove a candidate from a vacancy: drop zone at the left edge while dragging a card */
.rmzone { position: fixed; left: 0; width: 150px; z-index: 35; display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center;
  text-align: center; padding: 14px 12px; background: #fde8e6; color: var(--bad); border: 2px dashed var(--bad); border-left: 0; border-radius: 0 var(--radius) var(--radius) 0;
  transform: translateX(-110%); visibility: hidden; pointer-events: none; }
.rmzone.on { transform: none; visibility: visible; pointer-events: auto; transition: transform .16s ease; }
.rmzone.hot { background: var(--bad); color: #fff; border-style: solid; }
.rmzone .rm-big { font-size: 30px; }
.rmzone small { font-size: 12px; line-height: 1.35; }
.rmzone.asking { width: min(280px, 80vw); background: var(--card); color: var(--ink); border: 2px solid var(--bad); border-left: 0; }
.rmzone.asking button { width: 100%; }
.app-card[hidden] { display: none; }
button.linklike { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
button.linklike:hover { color: var(--bad); }

/* «Завдання» widgets: 2-column grid, a widget can span both; edit mode with drag, arrows, width, hide */
.widgets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.widget { min-width: 0; display: flex; flex-direction: column; }
.widget > section { flex: 1 1 auto; margin: 0; }
.widget.w-full { grid-column: 1 / -1; }
.widget.editing { outline: 2px dashed var(--line); outline-offset: 3px; border-radius: var(--radius); cursor: grab; }
.widget.editing.dragging { opacity: .4; }
.widget.editing.wdrop { outline-color: var(--accent); }
.wbar { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.wgrip { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wtray { margin-bottom: 14px; border-color: var(--accent); }
.wadd { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
@media (max-width: 760px) { .widgets { grid-template-columns: minmax(0, 1fr); } .widget.w-full { grid-column: auto; } }
.widgets h2 { margin-top: 0; }
.wbtns { display: flex; gap: 6px; flex: none; }
.wbtns > button { flex: none; white-space: nowrap; min-width: 32px; }
.wtray > .row > span:first-child { flex: 1 1 260px; }
/* Page header actions: one height, one line, no stretching (Taras 2026-11-24) */
.pagehead > .row, .pagehead > div > .row { gap: 8px; }
.pagehead > button, .pagehead > a.btnlike, .pagehead .row > button, .pagehead .row > a.btnlike {
  flex: none; min-width: 0; white-space: nowrap; height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
@media (max-width: 640px) { .pagehead .row { flex-wrap: wrap; } .pagehead > button, .pagehead .row > button, .pagehead .row > a.btnlike { height: 38px; padding: 0 12px; } }
/* One button system on every screen: regular 40px, small 30px, text on one line, buttons in a row keep their natural width */
button:not([class]), button.ghost, button.danger, .btn, a.btnlike {
  min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1.2; white-space: nowrap; font-size: 15px; font-weight: 500; box-sizing: border-box; }
button.small-btn, a.btnlike.small-btn { min-height: 30px; padding: 0 10px; font-size: 13px; }
a.btnlike { border: 1px solid var(--accent); }
.row > button:not([class]), .row > button.ghost, .row > button.danger, .row > a.btnlike, .row > .btn { flex: none; min-width: 0; }
form .row > button[type=submit] { min-width: 140px; }
@media (max-width: 640px) {
  button:not([class]), button.ghost, button.danger, .btn, a.btnlike { white-space: normal; text-align: center; min-height: 38px; padding: 6px 12px; }
}
@media (max-width: 640px) { button.small-btn, a.btnlike.small-btn { white-space: nowrap; min-height: 30px; padding: 0 10px; } }

/* Interviews widget */
.weekstrip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin: 12px 0; }
.wday { border: 1px solid var(--line); border-radius: 10px; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: var(--muted); }
.wday b { font-size: 18px; color: var(--ink); }
.wday.busy { background: #e8f0fe; border-color: #c6d8fb; }
.wday.busy small { color: var(--accent); font-weight: 600; }
.wday.today { outline: 2px solid var(--accent); outline-offset: -1px; }
.agenda { display: flex; flex-direction: column; gap: 10px; }
.aday-h { font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.aitem { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 4px; }
.atime { font-weight: 700; font-variant-numeric: tabular-nums; }
.awho { min-width: 0; display: flex; flex-direction: column; }
@media (max-width: 640px) { .aitem { grid-template-columns: 1fr; } .weekstrip small { display: none; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wday.busy { background: #1c2a44; border-color: #2c4370; } }

/* Session report + team effectiveness */
.report { margin-top: 4px; }
.rep-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.rep-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.rep-tile.main { background: var(--accent-soft); border-color: transparent; }
.rep-n { font-size: 22px; font-weight: 700; line-height: 1.15; }
.rep-l { font-size: 14px; font-weight: 600; margin-top: 2px; }
.rep-h { font-size: 14px; margin: 14px 0 6px; }
.rep-conv { display: grid; gap: 6px; }
.rep-cv { display: grid; grid-template-columns: 200px 1fr 120px; gap: 10px; align-items: center; font-size: 14px; }
.rep-bar { height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.rep-bar span { display: block; height: 100%; background: var(--accent); border-radius: 5px; }
.rep-counts { margin-top: 10px; }
.eff-tiles { margin-bottom: 12px; }
.eff-tiles .tile-n { font-size: 24px; }
table.eff td { white-space: nowrap; }
table.eff tr.eff-total td { background: var(--accent-soft); font-weight: 600; }
@media (max-width: 640px) { .rep-cv { grid-template-columns: 1fr 70px; } .rep-cv .rep-bar { grid-column: 1 / -1; grid-row: 2; } }
.eff-tiles { grid-template-columns: repeat(4, 1fr); }
table.eff th { white-space: normal; min-width: 64px; }
table.eff td, table.eff th { padding: 8px 8px; }
@media (max-width: 640px) { .eff-tiles { grid-template-columns: repeat(2, 1fr); } }

/* Report funnel, pace, weekly activity, warm candidates */
.rep-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; margin-top: 6px; }
.rep-funnel .sf-row { display: grid; grid-template-columns: minmax(0, 1fr) 76px 76px; align-items: center; gap: 8px; }
.sf-bench { color: var(--muted); font-weight: 500; transform: translateY(-21px); }
.sf-conv.up { color: var(--good); } .sf-conv.down { color: var(--bad); }
.pace { display: grid; gap: 8px; }
.pace-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px; gap: 10px; align-items: center; font-size: 14px; }
.pace-track { position: relative; height: 14px; background: var(--line); border-radius: 7px; }
.pace-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 7px; }
.pace-bm { position: absolute; top: -4px; bottom: -4px; width: 3px; margin-left: -1px; background: var(--ink); opacity: .55; border-radius: 2px; }
.pace-axis { font-size: 11px; color: var(--muted); }
.pace-track-axis { display: flex; justify-content: space-between; }
.good-t { color: var(--good); } .bad-t { color: var(--bad); }
.wk-cols { display: flex; gap: 6px; align-items: flex-end; height: 96px; }
.wk-col { flex: 1; min-width: 14px; display: flex; flex-direction: column; height: 100%; }
.wk-bars { flex: 1; display: flex; align-items: flex-end; gap: 2px; }
.wk-b { flex: 1; min-height: 2px; border-radius: 2px 2px 0 0; }
.s0 { background: #a9c7ff; } .s1 { background: var(--accent); } .s2 { background: #1a7f4b; }
.wk-x { font-size: 11px; color: var(--muted); text-align: center; margin-top: 2px; }
.wk-legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.wk-dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; vertical-align: -1px; }
.rep-bench { margin-top: 12px; padding: 8px 10px; border: 1px dashed var(--line); border-radius: var(--radius); }
.warm-card { margin-bottom: 12px; border-color: #f0c36d; }
@media (max-width: 900px) { .rep-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .pace-row { grid-template-columns: 1fr 90px; } .pace-row .pace-track { grid-column: 1 / -1; grid-row: 2; } .pace-axis { display: none; } }
@media (max-width: 640px) { .rep-funnel .sf-row, .rep-funnel .sf-head { grid-template-columns: minmax(0, 1fr) 54px 54px; gap: 4px; } .rep-funnel .sf-band { font-size: 12px; } }
/* Calendar widget: candidate interviews stand out, own events are quieter */
.aitem.iv { border-color: var(--accent, #3b6cf6); border-left-width: 3px; }
.aitem.own { background: transparent; }
.aitem.own .awho b { font-weight: 500; }
/* Calendar widget: week as 7 day columns */
.calnav { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; }
.calweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cday { border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-height: 120px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cday.today { outline: 2px solid var(--accent); outline-offset: -1px; }
.cday.wknd { background: color-mix(in srgb, var(--line) 35%, transparent); }
.cday-h { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 2px; }
.cday-h b { font-size: 16px; color: var(--ink); }
.cday-empty { color: var(--muted); text-align: center; font-size: 12px; margin-top: 8px; }
.cev { border-radius: 8px; padding: 5px 6px; background: color-mix(in srgb, var(--line) 55%, transparent); font-size: 12px; line-height: 1.3; min-width: 0; }
.cev.iv { background: #e8f0fe; border-left: 3px solid var(--accent); }
.cev.allday { background: #fff1d6; }
.cev-t { font-weight: 700; font-variant-numeric: tabular-nums; }
.cev-n { overflow-wrap: anywhere; }
.cev-n a { font-weight: 600; }
.cev-s { color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.cev-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; font-size: 11px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cev.iv { background: #1c2a44; } :root:not([data-theme="light"]) .cev.allday { background: #3a2f17; } }
@media (max-width: 900px) { .calweek { grid-template-columns: repeat(7, minmax(130px, 1fr)); overflow-x: auto; padding-bottom: 4px; } }
/* Gear settings button + menu */
.icon-btn { width: 40px; height: 40px; padding: 0; font-size: 19px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.tip { position: relative; }
.tip[data-tip]:hover::after, .tip[data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--card); font-size: 12px; font-weight: 500; padding: 4px 8px; border-radius: 6px; white-space: nowrap; pointer-events: none; z-index: 30; }
.smenu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); padding: 6px; min-width: 260px; display: flex; flex-direction: column; }
.smenu button { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.smenu button:hover, .smenu button:focus-visible { background: var(--accent-soft); }
/* First-visit tour */
.tour { position: fixed; inset: 0; z-index: 100; }
.tour-hole { position: fixed; border-radius: 12px; box-shadow: 0 0 0 9999px rgba(10, 14, 20, .55); transition: all .2s ease; pointer-events: none; outline: 2px solid var(--accent); }
.tour-pop { position: fixed; background: var(--card); color: var(--ink); border-radius: 12px; padding: 14px 16px; box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.tour-pop p { margin: 6px 0 12px; font-size: 14px; }
.tour-step { margin-bottom: 2px; }
*:has(> .smenu) > .tip::after { display: none !important; }
/* Vacancy archive zone (reuses the left-edge drop zone) */
.rmzone.arch.hot { background: var(--accent); }
.rmzone.arch.asking { border-color: var(--accent); }
.arch-ask { display: flex; flex-direction: column; gap: 8px; } .arch-ask small { color: var(--muted); }
.arch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.vcard.arch { opacity: .9; }
.rmzone.arch { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
.rmzone.arch.hot { color: #fff; }
.rmzone.arch.asking { background: var(--card); color: var(--ink); }

/* Job posting tab (публікація вакансії) */
.post-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-top: 12px; align-items: start; }
.post-grid > div:last-child { position: sticky; top: 70px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } .post-grid > div:last-child { position: static; } }
.post-sec { margin-bottom: 10px; }
.post-sec .post-sec-title { font-weight: 600; border: 0; border-bottom: 1px dashed var(--line); border-radius: 0; padding: 4px 0; background: transparent; }
.post-sec textarea { margin-top: 4px; }
.post-q { border: 1px solid var(--line); border-radius: 8px; padding: 8px; margin-bottom: 8px; }
.post-q .ghost, .post-q .danger { padding: 4px 8px; flex: none; }
.app-answers { margin-bottom: 12px; }
dl.answers { margin: 8px 0 0; }
dl.answers dt { font-weight: 600; font-size: 13px; margin-top: 8px; }
dl.answers dd { margin: 2px 0 0; white-space: pre-wrap; word-break: break-word; }
dl.answers dd.ko { color: var(--bad, #b42318); }
.post-preview h3 { margin: 18px 0 6px; }
.post-preview p { margin: 4px 0; }
.post-preview ul, .post-preview ol { margin: 4px 0; padding-left: 20px; }
#poststatus .badge { flex: none; }
.tscroll { overflow-x: auto; max-width: 100%; }

/* Job board: analytics and look editor */
.js-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 1000px) { .js-grid { grid-template-columns: minmax(0, 1fr); } }
.funnel { display: grid; gap: 6px; }
.fn-row { display: grid; grid-template-columns: minmax(120px, 210px) minmax(0, 1fr) 82px; gap: 10px; align-items: center; font-size: 14px; }
.fn-bar { height: 14px; background: var(--line); border-radius: 4px; overflow: hidden; }
.fn-bar span { display: block; height: 100%; background: var(--accent); border-radius: 0 4px 4px 0; }
.fn-n { text-align: right; white-space: nowrap; }
@media (max-width: 560px) { .fn-row { grid-template-columns: 1fr 70px; } .fn-bar { grid-column: 1 / -1; grid-row: 2; } }
.dc { margin-bottom: 14px; }
.dc svg { width: 100%; height: 110px; display: block; margin: 6px 0 2px; }
.dc-bar { fill: var(--accent); } .dc-g.on .dc-bar { fill: var(--ink); }
.dc-axis { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.dc-tip { position: fixed; z-index: 60; background: var(--ink); color: var(--card); font-size: 12px; padding: 4px 8px; border-radius: 6px; pointer-events: none; }
.look-grid { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .look-grid { grid-template-columns: minmax(0, 1fr); } .look-prev { position: static; } }
.look-prev { position: sticky; top: 12px; }
.prev-frame { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; position: relative; }
.prev-frame iframe { border: 0; transform-origin: 0 0; display: block; background: #fff; }
.blk-ed { padding: 10px 12px; margin-bottom: 8px; }
.blk-ed.off .blk-name { opacity: .55; }
.blk-name { background: none; border: 0; color: var(--ink); text-align: left; padding: 4px 0; cursor: pointer; min-width: 0; }
.blk-name .small { display: block; font-weight: 400; }
.blk-fields { margin-top: 6px; }
.switch { position: relative; display: inline-block; width: 36px; height: 20px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: var(--line); border-radius: 20px; transition: .15s; cursor: pointer; }
.switch span::before { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .15s; }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::before { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.badge.acc { background: var(--accent-soft); color: var(--accent); }
.vmore { position: relative; margin-left: auto; flex: none; }
.vdots { width: 30px; height: 30px; padding: 0; border: 0; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--muted); }
.vdots:hover, .vdots:focus-visible { background: var(--accent-soft); color: var(--accent); }
.vcol h3 { align-items: center; gap: 6px; }
.vc-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vc-name[title] { cursor: text; border-radius: 6px; padding: 1px 3px; margin: -1px -3px; }
.vc-name[title]:hover { background: var(--card); }
.vc-input { font: inherit; font-size: 14px; text-transform: none; letter-spacing: 0; padding: 3px 6px; min-height: 0; height: 28px; }
.vc-right { display: inline-flex; align-items: center; gap: 2px; flex: none; }
.vcol .vdots { width: 26px; height: 26px; font-size: 18px; }
.vcol-add { display: flex; align-items: flex-start; justify-content: center; background: transparent; border: 2px dashed var(--line); }
.vcol-add > button { width: 100%; }
.addcol-form { width: 100%; }
.vcol h3 .smenu { text-transform: none; letter-spacing: 0; font-weight: 400; }
/* staged import */
.imp-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 6px; }
.imp-f { padding: 4px 10px; font-size: 13px; }
.imp-f b { margin-left: 4px; }
.imp-f.on { border-color: var(--accent); color: var(--accent); }
.imp-run { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.notice { background: var(--bg-soft, #f4f6f8); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; margin-bottom: 8px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); cursor: pointer; font: inherit; text-decoration: underline; }
ul.plain { padding-left: 18px; margin: 6px 0; } ul.plain li { margin: 3px 0; }
.qitem.check { justify-content: flex-start; } .qitem.check > span { flex: 1; min-width: 0; text-align: left; align-items: flex-start; }
/* country multi-select */
.cpick { position: relative; }
.cp-box { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; background: var(--card, #fff); min-height: 40px; cursor: text; }
.cp-chips { display: contents; }
.cp-chip { display: inline-flex; align-items: center; gap: 2px; margin: 0; }
.cp-chip button { background: none; border: 0; padding: 0 2px; color: var(--muted); cursor: pointer; font-size: 15px; line-height: 1; min-height: 0; }
.cp-chip button:hover { color: var(--bad); }
.cp-in { flex: 1 1 140px; border: 0 !important; outline: none; box-shadow: none !important; padding: 4px !important; margin: 0 !important; min-width: 120px; background: transparent; }
.cp-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: var(--card, #fff); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.12); max-height: 260px; overflow: auto; }
.cp-opt { padding: 7px 10px; cursor: pointer; font-size: 14px; }
.cp-opt.on, .cp-opt:hover { background: var(--bg-soft, #eef3fb); }
.cp-none { padding: 8px 10px; }
.js-gear { text-decoration: none; flex: none; display: inline-flex; gap: 6px; align-items: center; } .js-gear span { font-size: 17px; line-height: 1; }
/* rich text editor for posting sections */
.rt { border: 1px solid var(--line); border-radius: 8px; margin-top: 4px; background: var(--card, #fff); }
.rt:focus-within { border-color: var(--accent); }
.rt-bar { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; padding: 4px; border-bottom: 1px solid var(--line); background: var(--bg-soft, #f6f8fb); border-radius: 8px 8px 0 0; }
.rt-btn { background: transparent; color: var(--ink); border: 1px solid transparent; padding: 3px 8px; min-width: 30px; font-size: 13px; line-height: 1.3; border-radius: 6px; }
.rt-btn:hover { background: var(--card, #fff); border-color: var(--line); }
.rt-btn.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.rt-sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.rt-size { width: auto !important; padding: 2px 6px !important; font-size: 13px; min-height: 0; height: 28px; margin: 0 !important; }
.rt-ed { min-height: 64px; padding: 8px 10px; outline: none; font-size: 15px; line-height: 1.55; }
.rt-ed:empty::before { content: attr(data-placeholder); color: var(--muted); }
.rt-ed h1, .rt-view h1 { font-size: 24px; margin: 10px 0 6px; } .rt-ed h2, .rt-view h2 { font-size: 20px; margin: 10px 0 6px; } .rt-ed h3, .rt-view h3 { font-size: 17px; margin: 8px 0 4px; }
.rt-ed p, .rt-view p { margin: 0 0 8px; } .rt-ed ul, .rt-ed ol, .rt-view ul, .rt-view ol { margin: 4px 0 8px; padding-left: 24px; }
.rt-ed .ac, .rt-view .ac, .rt-ed [style*="text-align: center"], .rt-ed [align=center] { text-align: center; }
.rt-ed .fs-sm, .rt-view .fs-sm, .rt-ed font[size="1"], .rt-ed font[size="2"] { font-size: 13px; } .rt-ed .fs-lg, .rt-view .fs-lg, .rt-ed font[size="5"] { font-size: 19px; }
.rt-btn svg { display: block; } .rt-btn[data-rt=ol] { display: inline-flex; align-items: center; gap: 1px; }
/* Talent Pool card on the Job Board tab */
.pool-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; border-left: 3px solid var(--accent, #2f9e74); }
.pool-card h3 { margin: 0 0 4px; } .pool-card p { margin: 0; } .pool-card .badge { vertical-align: middle; margin: 0 0 0 6px; }
.autonote-b { background: var(--accent-soft, #ecf8f3); border-radius: 6px; padding: 8px 10px; margin: 0 0 10px; }

/* LinkedIn message history */
.li-sum { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); margin-bottom: 8px; }
.li-thread { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-top: 6px; background: var(--card); }
.li-thread summary { cursor: pointer; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.li-msgs { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 8px; }
.li-msgs li { max-width: 88%; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.li-msgs li.me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 10%, var(--card)); }
.li-msgs li.them { align-self: flex-start; }
.li-msgs .when { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
/* boolean search hint under the candidate filters */
.qinfo { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin: -4px 0 10px; }
.qinfo code { background: var(--accent-soft); padding: 0 4px; border-radius: 4px; font-size: 12px; }
.qinfo #xray { margin-left: auto; }

.board-tools { gap: 8px; align-items: center; }
.board-tools #bfind { flex: 1 1 260px; max-width: 420px; margin: 0; }
.board-tools #bfound { flex: 1 1 auto; }
.find-off { display: none !important; }
.stage-board .col.find-empty { opacity: .55; }

/* Stage board (desktop): columns narrow down to fit the screen width (min 176px) and stretch to the screen bottom
   (--cards-h, set in JS); cards scroll inside a column.
   The board's own horizontal scrollbar is replaced by a floating one pinned to the bottom of the screen (#board-hs). */
@media (min-width: 721px) {
  .stage-board { scrollbar-width: none; padding-bottom: 0; }
  .stage-board::-webkit-scrollbar { display: none; }
  .stage-board .col .cards { height: var(--cards-h, 600px); max-height: var(--cards-h, 600px); overflow-y: auto; align-content: start; padding-right: 2px; scrollbar-width: thin; scrollbar-color: #c3cad4 transparent; }
}
.board-hs { position: fixed; z-index: 8; height: 16px; overflow-x: auto; overflow-y: hidden; background: rgba(246, 247, 249, .92); border-top: 1px solid var(--line); border-radius: 8px 8px 0 0; box-shadow: 0 -2px 8px rgba(20, 30, 50, .08); scrollbar-width: auto; scrollbar-color: #8f9aab transparent; }
.board-hs > div { height: 1px; }
@media (max-width: 720px) { .board-hs { display: none; } }
.board-nav { display: inline-flex; gap: 4px; flex: none; }
.board-nav button { min-width: 34px; padding-left: 8px; padding-right: 8px; font-size: 18px; line-height: 1; }
.board-nav button:disabled { opacity: .35; cursor: default; }

.li-pdf { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 12px; margin: 4px 0 10px; border: 1px dashed var(--accent); border-radius: var(--radius); background: var(--accent-soft); }
.li-pdf.hot { border-style: solid; box-shadow: 0 0 0 3px var(--accent-soft); }
.dup.ok { background: #e9f7ef; color: #1d5c3a; border-color: #b9e2c8; }
@media (prefers-color-scheme: dark) { .dup.ok { background: #143323; color: #c6f0d6; } }
.donor.stop { border-color: var(--bad, #d64545); }

/* AI autofill of the screening scorecard (draft from Claude / Edge Function scorecard-ai) */
.badge.ai { background: #efe7ff; color: #6b3fd4; font-weight: 600; }
.badge.ai.pending { outline: 1px dashed #6b3fd4; }
.aibox { border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 8px; font-size: 13px; display: grid; gap: 4px; background: #faf8ff; }
.aibox.pending { border-color: #b9a2f0; border-style: dashed; }
.aiquote { font-style: italic; color: var(--ink); white-space: pre-wrap; }
.aibanner { border-color: #b9a2f0; background: #faf8ff; margin-bottom: 12px; }
.aibanner summary { cursor: pointer; }
.aihint { color: #6b3fd4; }
.aiev { margin: -2px 0 6px 26px; color: var(--muted); font-style: italic; }
.chip.ai { box-shadow: 0 0 0 2px #b9a2f0; } .chip.ai.pending { box-shadow: 0 0 0 2px #6b3fd4; }
.ailist { max-height: 260px; overflow-y: auto; margin-top: 6px; }
.linkbtn { background: none; border: 0; padding: 0; min-height: 0; color: var(--accent); font-weight: 400; text-decoration: underline; cursor: pointer; font-size: inherit; }
.aibanner .row > button, .aibox .row > button { flex: none; }
label.btnlike input[type=file] { display: none; }
.crit-score.ai-filled { outline: 2px dashed #b9a2f0; outline-offset: 2px; border-radius: 6px; }

/* Application form: question order number is editable (type the new position) */
.post-q .q-pos { flex: 0 0 52px; width: 52px; padding: 6px 4px; text-align: center; font-weight: 600; }
.post-q.flash { animation: qflash 1.2s ease-out; }
@keyframes qflash { from { box-shadow: 0 0 0 3px var(--accent); } to { box-shadow: 0 0 0 0 transparent; } }

/* Vacancy card: sub-tabs inside a tab, and the brief form split between «Опис вакансії» and «Оцінка кандидатів» */
.subtabs { display: flex; gap: 6px; flex-wrap: wrap; margin: -6px 0 14px; }
.subtab { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 14px; background: var(--card); }
.subtab.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.mode-brief .only-assess, .mode-assess .only-brief { display: none; }
.mode-assess .brief-grid { grid-template-columns: minmax(0, 1fr); }
.ov-todo { margin-bottom: 12px; }
.ov-grid .big { font-size: 24px; font-weight: 700; line-height: 1.1; }

/* «Вставити готовий текст»: blocks without a template heading, and header fields filled from the pasted text */
.post-q.pd-warn { border-color: var(--warn); background: #fff8e8; }
input.flash { animation: qflash 1.6s ease-out 2; }

/* Calm palette (Taras 2026-12-03): tinted, semi-transparent fills like the candidate funnel instead of saturated solid colours,
   so the screens stay easy on the eyes for hours. Primary = soft tint, ghost = thin tinted outline. */
button, .btn, a.btnlike { background: color-mix(in srgb, var(--accent) 14%, var(--card)); color: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent); font-weight: 600; transition: background .15s, border-color .15s; }
button:not(.linklike):not(.ghost):not(.danger):hover:not(:disabled), .btn:hover, a.btnlike:hover { background: color-mix(in srgb, var(--accent) 22%, var(--card)); }
button.ghost, .btn.ghost { background: transparent; border-color: color-mix(in srgb, var(--accent) 28%, transparent); font-weight: 500; }
button.ghost:not(.linklike):hover:not(:disabled), .btn.ghost:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
button.danger { background: transparent; border-color: color-mix(in srgb, var(--bad) 35%, transparent); color: var(--bad); font-weight: 500; }
button.danger:hover:not(:disabled) { background: color-mix(in srgb, var(--bad) 8%, transparent); }
.seg button.on, .rt-btn.on, .wiz-steps span.on { background: color-mix(in srgb, var(--accent) 16%, var(--card)); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 32%, transparent); }
.step-n { background: color-mix(in srgb, var(--accent) 16%, var(--card)); color: var(--accent); font-weight: 600; }
.rate button.good.on { background: color-mix(in srgb, var(--good) 16%, var(--card)); color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, transparent); }
.rate button.mid.on { background: color-mix(in srgb, var(--warn) 16%, var(--card)); color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.rate button.bad.on { background: color-mix(in srgb, var(--bad) 14%, var(--card)); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.mb-btn.fill { background: color-mix(in srgb, #0a66c2 14%, var(--card)); color: #0a66c2; border-color: color-mix(in srgb, #0a66c2 32%, transparent); }
/* «Ваш тиждень»: pastel segments like the funnel; a click opens the vacancy */
.alloc .seg { color: #1b1f24; text-decoration: none; transition: filter .15s; }
.alloc a.seg:hover { filter: saturate(1.6) brightness(.97); }
.alloc .s0 { background: #cfe3ff; } .alloc .s1 { background: #ead9ff; } .alloc .s2 { background: #d4f5e9; } .alloc .s3 { background: #ffe0c7; }
.alloc .ovh { background: color-mix(in srgb, var(--line) 70%, transparent); color: var(--muted); }
.cp-chip button:hover, .seg button:not(.on):hover { background: transparent !important; }
.todo-h { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; margin: 12px 0 6px; color: var(--muted); } .todo-h:first-of-type { margin-top: 4px; }
.st-h { display: flex; align-items: center; gap: 10px; } .st-move { display: inline-flex; gap: 4px; margin-left: auto; } .st-move .small-btn { min-height: 26px; padding: 0 8px; }
/* Interview plan: block goal + time, question order inside a block */
.st-goal { margin: -4px 0 8px; } .crit-stage + .st-goal { margin: 0 0 6px; }
.crit { position: relative; } .crit-move { position: absolute; right: 10px; top: 8px; display: inline-flex; gap: 4px; }
.crit-move .small-btn { min-height: 24px; padding: 0 7px; }
.crit > .row:first-of-type { padding-right: 76px; }
.crit.flash { animation: qflash 1.2s ease-out; }
.crit-add { margin: 4px 0 10px; } .crit-add select { width: auto; max-width: 100%; }
.sq-del { min-height: 28px; padding: 0 8px; color: var(--muted); }
.rate-legend ul { margin: 8px 0; padding-left: 18px; } .rate-legend li { margin: 4px 0; }
.rate-chip { display: inline-block; font-weight: 600; padding: 0 6px; border-radius: 6px; margin-right: 4px; }
.rate-chip.good { color: var(--good); background: color-mix(in srgb, var(--good) 12%, transparent); }
.rate-chip.mid { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, transparent); }
.rate-chip.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 12%, transparent); }
