/* Talent portal layout. Tokens and shared components (buttons, fields, chips, menus, dialogs) come from app.css. */
body.portal { min-height: 100vh; display: flex; flex-direction: column; }
body.portal #view { flex: 1; }
.portal a { color: var(--carbon-ink); }
.portal h1 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 0; font-weight: 700; }
.portal h2 { font-size: 17px; letter-spacing: -.01em; margin: 0; font-weight: 650; font-weight: 600; }
.lead { font-size: 16px; color: var(--ink-2); max-width: 62ch; margin: 8px 0 20px; }
.muted-note { color: var(--ink-2); font-size: 13px; margin: 4px 0 0; }
.danger-text { color: var(--red) !important; }
.btn.danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn.block { width: 100%; }
.btn .ic, .menu-item .ic { width: 15px; height: 15px; }
a.menu-item { color: var(--ink); text-decoration: none; }

/* ---------- header ---------- */
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 28px; }
.site-nav { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.site-nav a { padding: 8px 12px; border-radius: var(--r); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--panel-2); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--carbon-soft); }
.site-account { margin-left: auto; }

/* ---------- page frame ---------- */
.page { max-width: 1200px; margin: 0 auto; padding: 28px 24px 72px; }
.page.narrow { max-width: 720px; }
.page-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 14px; color: var(--ink-2) !important; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.back:hover { color: var(--ink) !important; }
.with-side { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.with-aside.wide-aside { grid-template-columns: minmax(0, 1fr) 380px; }
.main-col, .aside { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.sticky { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.panel-h { font-size: 15px !important; margin: 0 0 10px !important; }
.panel-h:not(:first-child) { margin-top: 22px !important; }
.form-panel .grid { margin-top: 6px; }
.aside-h { margin: 0; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.stack { display: flex; flex-direction: column; gap: 8px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 12px; flex-wrap: wrap; }
.result-count { margin: 0 0 10px; color: var(--ink-2); font-size: 13.5px; }
.toolbar .result-count { margin: 0; }
.more { display: flex; justify-content: center; margin-top: 20px; }
.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.note { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 8px; background: var(--carbon-soft); color: var(--ink); font-size: 13.5px; margin: 0 0 14px; }
.note .ic { margin-top: 2px; color: var(--carbon-ink); }
a.note.external-link { margin: 16px 0 0; text-decoration: none; color: var(--ink) !important; }
a.note.external-link:hover { filter: brightness(.97); }
.note.warn { background: var(--amber-soft); }
.note.warn .ic { color: var(--amber); }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 13.5px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 80px 0; color: var(--ink-2); }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line); border-top-color: var(--carbon); border-radius: 50%; animation: spin .8s linear infinite; }
.empty-state { text-align: center; padding: 48px 24px; background: var(--panel); border: 1px dashed var(--line); border-radius: 10px; }
.empty-state h2 { margin-bottom: 6px !important; }
.empty-state p { color: var(--ink-2); margin: 0 auto 16px; max-width: 46ch; }

/* ---------- facts, pills, match ---------- */
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 6px 0 0; padding: 0; color: var(--ink-2); font-size: 13.5px; }
.facts li { position: relative; }
.facts li:not(:last-child)::after { content: ''; position: absolute; right: -9.5px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); opacity: .6; }
.portal .field input[type="number"] {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 7px 10px;
  font-size: 14px; line-height: 1.45; transition: border-color .12s, box-shadow .12s;
}
.portal .field input[type="number"]:hover { border-color: var(--ink-3); }
.portal .field input[type="number"]:focus { outline: none; border-color: var(--carbon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--carbon) 22%, transparent); }
.portal .resume a { color: inherit; text-decoration: none; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line); }
.pill.st-applied { background: var(--carbon-soft); color: var(--carbon-ink); border-color: transparent; }
.pill.st-shortlisted, .pill.st-interview { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.pill.st-offer, .pill.st-hired, .pill.job-open, .pill.co-approved { background: var(--green-soft); color: var(--green); border-color: transparent; }
.pill.st-rejected, .pill.co-rejected, .pill.co-suspended { background: var(--red-soft); color: var(--red); border-color: transparent; }
.pill.co-pending { background: var(--amber-soft); color: var(--amber); border-color: transparent; }
.match { display: inline-flex; align-items: baseline; gap: 4px; padding: 3px 10px; border-radius: 6px; font-size: 12.5px; white-space: nowrap; color: var(--ink-2); background: var(--panel-2); }
.match b { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.match.good { background: var(--green-soft); } .match.good b { color: var(--green); }
.match.mid { background: var(--amber-soft); } .match.mid b { color: var(--amber); }
.match.low { background: var(--red-soft); } .match.low b { color: var(--red); }
.match.big { padding: 6px 12px; font-size: 14px; } .match.big b { font-size: 24px; letter-spacing: -.02em; }
.kw.is-plain { background: var(--panel-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.kw.is-more { color: var(--ink-3); }
.kw.is-miss-static { border: 1px dashed color-mix(in srgb, var(--red) 70%, transparent); color: var(--red); }
.mp-h { margin: 14px 0 6px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }

/* ---------- hero (home) ---------- */
.hero { background: var(--panel); border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 48px; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); letter-spacing: -.03em; max-width: 16ch; line-height: 1.05; }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 58ch; margin: 14px 0 28px; }
.job-search { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; max-width: 820px; }
.js-field { flex: 1 1 220px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); min-height: 42px; }
.js-field:focus-within { border-color: var(--carbon); box-shadow: 0 0 0 3px color-mix(in srgb, var(--carbon) 22%, transparent); }
.js-field .ic { color: var(--ink-3); }
.js-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; padding: 9px 0; }
.job-search .btn { min-height: 42px; }
.job-search.big .js-field, .job-search.big .btn { min-height: 50px; }
.job-search.big .btn { padding: 0 22px; font-size: 15px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; }
.door p { color: var(--ink-2); margin: 8px 0 18px; max-width: 52ch; }
.door-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- jobs ---------- */
.job-list { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.job-card { display: block; padding: 18px 20px; color: var(--ink) !important; text-decoration: none; border-top: 1px solid var(--line-2); }
.job-card:first-child { border-top: 0; }
.job-card:hover { background: var(--panel-2); }
.job-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-title { font-size: 16px !important; margin: 0 !important; }
.job-card:hover .job-title { color: var(--carbon-ink); }
.job-co { margin: 2px 0 0; color: var(--ink); font-weight: 500; font-size: 14px; }
.job-card .kws { margin-top: 10px; }
.job-posted { margin: 8px 0 0; color: var(--ink-3); font-size: 12.5px; }
.filters { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 80px; }
.job-detail { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 26px 28px; }
.jd-head { padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.jd-head .kws { margin-top: 14px; }
.jd-co { margin: 4px 0 0; font-weight: 600; font-size: 15px; }
.prose { padding-top: 6px; max-width: 72ch; font-size: 15px; line-height: 1.6; }
.prose h3 { font-size: 15px; margin: 22px 0 6px; }
.prose p { margin: 10px 0; }
.prose ul { margin: 8px 0; padding-left: 20px; }
.prose li { margin: 4px 0; }
.about-co { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.about-co p { color: var(--ink-2); margin: 10px 0 0; }
.about-co a { display: inline-flex; align-items: center; gap: 6px; }
.match-panel { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.apply-form .field textarea { min-height: 90px; }
.apply-done p { margin: 0 0 10px; }

/* ---------- candidate profile ---------- */
.subnav-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.subnav { display: flex; gap: 2px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.subnav-row .subnav { flex: 1; }
.subnav a { padding: 9px 12px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--carbon); }
.quota-chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.quota-chip b { color: var(--ink); font-variant-numeric: tabular-nums; }
.quota-chip.empty { border-color: var(--red); color: var(--red); }
.status-card h2 { margin: 0 0 2px !important; }
.status-row { display: flex; gap: 12px; align-items: flex-start; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); margin-top: 6px; flex: none; }
.dot.good { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.toggles { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.switch { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { position: relative; width: 36px; height: 20px; border-radius: 10px; background: var(--line); flex: none; margin-top: 1px; transition: background .15s; }
.switch-track::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch input:checked + .switch-track { background: var(--carbon); }
.switch input:checked + .switch-track::after { transform: translateX(16px); }
.switch input:focus-visible + .switch-track { outline: 2px solid var(--carbon); outline-offset: 2px; }
.switch-text { display: flex; flex-direction: column; font-size: 14px; }
.switch-text span { color: var(--ink-2); font-size: 13px; }
.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.upload-row .btn { cursor: pointer; }
.file-name { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; }
.form-panel .seg-field { margin-bottom: 12px; }
.form-panel > .field { margin-top: 4px; }
.card-tag { position: absolute; top: -11px; left: 14px; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); font-size: 11.5px; font-weight: 600; color: var(--ink-2); z-index: 1; }
.card-tag .ic { width: 12px; height: 12px; }
.card-tag.good { color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }

/* ---------- candidate cards ---------- */
.cand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px 16px; }
.cand-card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; }
.cand-body { display: block; padding: 18px 18px 14px; flex: 1; border-radius: 10px; }
.cand-link { color: var(--ink) !important; text-decoration: none; }
.cand-link:hover .cand-name { color: var(--carbon-ink); }
.cand-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.cand-id { display: flex; gap: 10px; align-items: center; min-width: 0; }
.avatar-sm { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--carbon-soft); color: var(--carbon-ink); font-weight: 700; flex: none; text-transform: uppercase; }
.cand-name { font-size: 15.5px !important; margin: 0 !important; }
.cand-head { margin: 1px 0 0; color: var(--ink-2); font-size: 13.5px; }
.cand-pitch { margin: 10px 0 0; font-size: 13.5px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cand-roles { list-style: none; margin: 10px 0 0; padding: 0; font-size: 13px; display: flex; flex-direction: column; gap: 3px; }
.cand-roles.big { font-size: 14px; gap: 6px; }
.cand-card .kws { margin-top: 12px; }
.cand-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line-2); }
.cand-title { font-size: 22px !important; }
.contact-list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.contact-list li { display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.contact-list .ic { color: var(--ink-3); }
.locked .kws { margin-bottom: 4px; }
.locked-cta { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px; border-radius: 8px; background: var(--panel-2); border: 1px dashed var(--line); }
.locked-cta > .ic { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
.locked-cta > div { flex: 1; }
.search-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; align-items: end; }
.search-grid .field.wide { grid-column: 1 / -1; margin-top: 0; }
.search-panel .row-actions { margin-top: 12px; }
.search-panel { margin-bottom: 18px; }

/* ---------- applications ---------- */
.app-list { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.app-row { display: flex; gap: 16px; justify-content: space-between; padding: 16px 20px; border-top: 1px solid var(--line-2); }
.app-row:first-child { border-top: 0; }
.app-title { font-weight: 600; font-size: 15.5px; text-decoration: none; }
.app-co { margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; }
.app-side { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; }
.timeline { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--ink); }
.timeline li { display: inline-flex; align-items: center; gap: 6px; }
.panel .timeline { flex-direction: column; margin-top: 14px; }
.tl-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.tl-dot.st-applied { background: var(--carbon); }
.tl-dot.st-shortlisted, .tl-dot.st-interview { background: var(--amber); }
.tl-dot.st-offer, .tl-dot.st-hired { background: var(--green); }
.tl-dot.st-rejected { background: var(--red); }

/* ---------- employer ---------- */
.employer-landing h1 { font-size: 36px; }
.benefits { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 12px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.benefits .ic { color: var(--green); margin-top: 3px; }
.status-screen { padding: 32px 0; }
.status-screen h1 { margin-bottom: 4px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 20px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; color: var(--ink) !important; text-decoration: none; }
a.stat:hover { border-color: var(--ink-3); }
.stat b { font-size: 26px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-2); font-size: 13px; }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li + li { border-top: 1px solid var(--line-2); }
.row-link { display: flex; align-items: center; gap: 12px; padding: 10px 4px; color: var(--ink) !important; text-decoration: none; border-radius: 6px; }
.row-link:hover { background: var(--panel-2); }
.row-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.row-main .muted { font-size: 13px; }
.row-when { font-size: 12.5px; white-space: nowrap; }
.job-rows, .applicant-rows, .company-rows { list-style: none; margin: 0; padding: 0; }
.job-rows, .applicant-rows { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.job-row, .applicant-row { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.job-row:first-child, .applicant-row:first-child { border-top: 0; }
.jr-main, .ar-main { flex: 1; min-width: 0; }
.jr-title, .ar-name { font-weight: 600; font-size: 15px; text-decoration: none; }
.ar-main .muted { margin: 1px 0 0; font-size: 13.5px; }
.jr-counts { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.jr-counts b { color: var(--ink); }
.new-badge { padding: 1px 7px; border-radius: 9px; background: var(--carbon); color: var(--on-carbon); font-size: 11.5px; font-weight: 700; }
.jr-actions { display: flex; gap: 6px; }
.job-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.job-head .row-actions { margin-top: 0; }
.pipeline-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 14px; }
.pipeline-tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--ink-2); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.pipeline-tabs a:hover { border-color: var(--ink-3); color: var(--ink); }
.pipeline-tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--panel); }
.pipeline-tabs .count { font-variant-numeric: tabular-nums; opacity: .75; font-weight: 500; }
.status-select { width: 140px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); padding: 6px 8px; font-size: 13.5px; font-weight: 600; }
.stage-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.stage { padding: 6px 11px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.stage:hover:not(:disabled) { border-color: var(--ink-3); color: var(--ink); }
.stage.is-on { background: var(--ink); border-color: var(--ink); color: var(--panel); cursor: default; }
.quote { margin: 0; padding-left: 12px; border-left: 3px solid var(--line); color: var(--ink); white-space: pre-wrap; }
.sheet-frame { position: relative; overflow: hidden; border-radius: 4px; box-shadow: var(--shadow-sheet); background: #fff; }
.sheet-frame .resume { position: absolute; top: 0; left: 0; transform-origin: top left; }
.file-resume .btn { margin-bottom: 12px; }
.parsed.small { font-size: 12px; padding: 18px 20px; max-height: 70vh; overflow: auto; box-shadow: none; border: 1px solid var(--line-2); border-radius: 6px; }

/* ---------- admin ---------- */
.company-rows { display: flex; flex-direction: column; gap: 12px; }
.cr-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.cr-head .muted { margin: 2px 0 0; font-size: 13.5px; }
.cr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.quota-form { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 13px; color: var(--ink-2); }
.quota-form input { width: 84px; border: 1px solid var(--line); border-radius: var(--r); padding: 5px 8px; background: var(--panel); }
.dialog.ask { width: min(480px, calc(100vw - 24px)); }
.admin-gate .gate-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--carbon-soft); color: var(--carbon-ink); margin-bottom: 10px; }
.admin-gate .gate-icon .ic { width: 20px; height: 20px; }
.admin-gate .door-actions { justify-content: center; }
.setup-steps { text-align: left; max-width: 46ch; margin: 0 auto 4px; padding-left: 22px; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .with-aside, .with-aside.wide-aside { grid-template-columns: 1fr; }
  .sticky, .filters { position: static; }
  .with-side { grid-template-columns: 1fr; }
  .filters { flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
  .filters > * { flex: 1 1 150px; }
  .search-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .subnav-row .subnav { flex: 1 1 100%; }
  .site-header-inner { gap: 12px; padding: 0 14px; }
  .brand span { display: none; }
  .page { padding: 20px 14px 56px; }
  .hero-inner { padding: 36px 14px 32px; }
  .doors { grid-template-columns: 1fr; }
  .job-row, .applicant-row { flex-wrap: wrap; }
  .jr-actions { width: 100%; }
  .app-row { flex-direction: column; }
  .app-side { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .search-grid { grid-template-columns: 1fr; }
  .cand-grid { grid-template-columns: 1fr; }
  .quota-form { margin-left: 0; }
  .job-detail { padding: 20px 18px; }
}