/* ==================================================================================================
 * seeker.css — the job seeker area in Candidate B, "the living board".
 * Pages: landing (/jobseeker), dashboard, profile + resume, apply (5 states), applications, saved, alerts,
 * notifications. Loaded after theme.css and /css/b-foundation.css (layout.ejs), so every --b-* token and
 * .b-board / .b-jobrow / .b-btn / .b-audkey primitive is available here and is USED, not restated.
 *
 * SCOPE. Every rule hangs off .sk (the seeker shell: .container.dash.sk and the apply page .container.sk) or
 * .sk-land (the landing). Nothing here can leak into the portal, which shares .dash / .app-head with us.
 *
 * THE SYSTEM ON THESE PAGES
 *   • One dark object per page, and it is the page's subject: the matched-jobs board (dashboard), the saved-jobs
 *     board (saved), the applications board (applications), the job summary (apply), the preview board (landing).
 *   • Everything else is light: white panels with one hairline, hairline rules between rows, no shadows.
 *   • Red: the one .b-btn--primary per view. theme.css's red eyebrow, red .req and the red unread pill are
 *     re-pointed to ink/navy here. The one red that stays is .badge--danger on a real state ("Rejected",
 *     "Applications closed") — that is meaning, not decoration.
 *   • Numbers wear .b-tab: counts, dates, percentages, posting IDs and wages line up like a ledger.
 *   • 44px targets everywhere (--b-tap); focus rings from b-foundation (outside on light, inside on the board).
 * ================================================================================================= */

/* ==================================================================================================
   1. SHELL — page head + side nav (shared by every signed-in seeker page)
   ================================================================================================= */
.sk { --sk-pad: 20px; }
.sk .eyebrow,
.sk-land .eyebrow { font: 700 var(--b-t-xs)/1 var(--b-disp); letter-spacing: var(--b-track-caps); text-transform: uppercase; color: var(--b-ink-3); margin: 0 0 10px; }
.sk h1 { font-family: var(--b-disp); font-weight: 800; letter-spacing: -.03em; color: var(--b-navy); line-height: 1.08; font-size: clamp(1.75rem, 5vw, 2.25rem); text-wrap: balance; }
.sk .h3 { font: 700 var(--b-t-h3)/1.25 var(--b-disp); letter-spacing: -.012em; color: var(--b-navy); margin: 0; }
.sk .muted { color: var(--b-ink-3); }
.sk .req { color: var(--b-navy); }
.sk .nowrap { white-space: nowrap; }
.sk a:not(.b-btn):not(.kds-btn) { text-underline-offset: 3px; }

.app-head { display: grid; gap: 14px; align-items: end; padding: 4px 0 20px; border-bottom: var(--b-hair); }
.app-head > div:first-child { min-width: 0; }
.app-head h1 { margin: 0 0 8px; overflow-wrap: anywhere; }
.app-head .breadcrumb { margin-bottom: 12px; }
.app-head__context { margin: 0; color: var(--b-ink-2); max-width: 64ch; font-size: var(--b-t-body); line-height: 1.55; }
.app-head__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.app-head__actions > .b-btn, .app-head__actions > .inline-form { flex: 1 1 auto; }
.app-head__actions .inline-form .b-btn { width: 100%; }
@media (min-width: 640px) { .app-head__actions > .b-btn, .app-head__actions > .inline-form { flex: 0 0 auto; } }
@media (min-width: 768px) { .app-head { grid-template-columns: minmax(0, 1fr) auto; } .app-head__actions { justify-content: flex-end; } }

/* side nav: an underlined tab strip below 1024 (scrolls; seeker.js centres the active tab and drives the fades),
   a quiet column at ≥1024. The active tab is navy ink + a navy rule — never a pill, never red. */
.seeker-side-wrap { position: relative; min-width: 0; border-bottom: var(--b-hair); }
.seeker-side-wrap::before, .seeker-side-wrap::after { content: ""; position: absolute; top: 0; bottom: 1px; width: 36px; pointer-events: none; transition: opacity .2s var(--b-e); z-index: 1; }
.seeker-side-wrap::after { right: 0; background: linear-gradient(90deg, rgba(255,255,255,0), #fff 85%); }
.seeker-side-wrap::before { left: 0; background: linear-gradient(270deg, rgba(255,255,255,0), #fff 85%); opacity: 0; }
.seeker-side-wrap.is-scrolled-end::after { opacity: 0; }
.seeker-side-wrap.is-scrolled-start::before { opacity: 1; }
.sk .dash__side { gap: 2px; padding: 0; }
.sk .dash__side a {
  position: relative; display: inline-flex; align-items: center; min-height: var(--b-tap); padding: 0 12px;
  border: 0; border-radius: 8px 8px 0 0; background: none;
  font: 500 var(--b-t-ui)/1 var(--b-sans); color: var(--b-ink-2); text-decoration: none; white-space: nowrap;
  transition: color .14s var(--b-e), background .14s var(--b-e);
}
.sk .dash__side a:hover { color: var(--b-navy); background: var(--b-navy-50); }
.sk .dash__side a.is-active { color: var(--b-navy); font-weight: 600; background: none; }
.sk .dash__side a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 2px; background: var(--b-navy); }
.side-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 8px; border-radius: 999px; background: var(--b-navy); color: #fff; font-size: var(--b-t-sm); font-weight: 700; }
@media (min-width: 1024px) {
  .sk.dash { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-top: 32px; }
  .seeker-side-wrap { position: sticky; top: calc(var(--cc-header-h) + 24px); align-self: start; border-bottom: 0; }
  .seeker-side-wrap::before, .seeker-side-wrap::after { display: none; }
  .sk .dash__side { position: static; flex-direction: column; gap: 2px; border-top: var(--b-hair); padding-top: 10px; }
  .sk .dash__side a { display: flex; border-radius: 8px; padding: 0 12px; }
  .sk .dash__side a.is-active { background: var(--b-navy-50); }
  .sk .dash__side a.is-active::after { display: none; }
  .side-badge { margin-left: auto; }
}

/* ==================================================================================================
   2. SURFACES — the light panel, the ledger, lists, badges, empty states
   ================================================================================================= */
/* The light panel: white, ONE hairline, no shadow. Never nested. */
.sk-panel { background: #fff; border: var(--b-hair); border-radius: var(--b-r); padding: var(--sk-pad); min-width: 0; }
@media (min-width: 768px) { .sk { --sk-pad: 24px; } }
.sk .card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin: 0 0 14px; }
.sk .stack { display: grid; gap: 16px; }
.sk .stack > .card__head { margin-bottom: 0; }
.sk-link { font-weight: 600; color: var(--b-navy); }
.sk-link:hover { color: var(--b-red-700); }

/* The ledger: four counts in one ruled box, the number big and tabular, the label under it (dt first in source). */
.sk-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--b-line); border: var(--b-hair); border-radius: 12px; overflow: hidden; }
.sk-ledger .stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 16px; background: #fff; border: 0; border-radius: 0; }
.sk-ledger .stat__value { margin: 0; font: 800 1.625rem/1.1 var(--b-disp); letter-spacing: -.022em; color: var(--b-navy); }
.sk-ledger .stat__label { margin: 0; font-size: var(--b-t-md); color: var(--b-ink-3); }
@media (min-width: 768px) { .sk-ledger { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sk-ledger .stat__value { font-size: 1.875rem; } }

/* Ruled lists (recent applications, notifications, closed saved jobs) */
.list-plain { list-style: none; margin: 0; padding: 0; display: grid; }
.list-plain__item { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px 12px; padding: 14px 0; border-top: var(--b-hair); }
.list-plain__item:first-child { border-top: 0; padding-top: 0; }
.list-plain__item:last-child { padding-bottom: 0; }
.list-plain__item > div:first-child { min-width: 0; flex: 1 1 200px; }
.list-plain__item a, .list-plain__t { font-weight: 600; color: var(--b-ink); text-decoration: none; }
.list-plain__item a:hover { color: var(--b-navy); text-decoration: underline; }
.list-plain__item .small { margin-top: 2px; }
.list-plain__item .badge { flex: none; }
.row-stack { display: grid; gap: 2px; }

/* Badges: quieter than theme's pills — small radius, hairline, semantic tint kept. */
.sk .badge { border-radius: var(--b-r-sm); padding: 3px 8px; font-size: var(--b-t-sm); font-weight: 600; border: 1px solid transparent; }
.sk .badge:not([class*="badge--"]) { background: var(--b-bg-2); border-color: var(--b-line-2); color: var(--b-ink-2); }
.sk .sk-count.badge { background: var(--b-navy); color: #fff; border-color: var(--b-navy); vertical-align: 2px; margin-left: 6px; }

/* Empty states on the light page: a ruled box, not a dashed one. */
.sk .empty { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 32px 20px; border: var(--b-hair); border-radius: var(--b-r); background: var(--b-bg-2); color: var(--b-ink-2); }
.sk .empty p { margin: 0; max-width: 56ch; }
.sk .empty strong { color: var(--b-ink); }
.sk .empty .b-btn { margin-top: 10px; }

/* ==================================================================================================
   3. THE BOARD, AS THE SEEKER USES IT — matched jobs, saved jobs, applications
   The row itself is b-foundation's .b-jobrow in row mode (.b-board .b-jobrow). This only adds the seeker's
   action strip on the dark surface and the board's empty state.
   ================================================================================================= */
.sk-boardsec { display: grid; gap: 14px; min-width: 0; }
.sk-board .b-board__bar { flex-wrap: wrap; row-gap: 4px; }
.sk-board .b-board__note { margin-left: auto; }
@media (max-width: 639px) {
  .sk-board .b-board__bar { padding: 14px 16px; }
  .sk-board .b-board__note { margin-left: 0; flex-basis: 100%; }
  .sk-board .b-board__foot { padding: 8px 16px; }
  .sk-board .b-jobrow { padding: 14px 16px; }
}
.sk-rows { display: block; }
.sk-rows > .b-jobrow + .b-jobrow { border-top: var(--b-hair-on); }

/* actions on the dark surface: Apply = white, Save/Unsave = quiet outline. Same buttons, same forms. */
.sk-board .b-jobrow__actions { gap: 8px 10px; padding-top: 12px; }
.sk-board .b-jobrow__actions .b-btn--brand { background: #fff; color: var(--b-bd); border-color: #fff; }
.sk-board .b-jobrow__actions .b-btn--brand:hover { background: var(--b-navy-50); color: var(--b-bd); }
.sk-board .b-jobrow__actions .b-btn--ghost { background: transparent; color: var(--b-bd-fg); border-color: var(--b-bd-line-2); }
.sk-board .b-jobrow__actions .b-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--b-bd-fg-2); color: #fff; }
.sk-board .b-jobrow__actions .inline-form { margin: 0; }
.sk-board .b-jobrow__score,
.sk-board .match-score { margin-left: auto; font-size: var(--b-t-xs); font-weight: 600; letter-spacing: var(--b-track-caps); text-transform: uppercase; color: var(--b-bd-fg-2); }

/* status badges on the board: tints re-pointed for the dark surface, all ≥ 7:1 */
.b-board .badge { border-radius: var(--b-r-sm); padding: 3px 8px; font-size: var(--b-t-sm); font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid var(--b-bd-line-2); color: var(--b-bd-fg-2); }
.b-board .badge--positive { background: rgba(127,181,66,.16); border-color: rgba(127,181,66,.45); color: #CFEAB0; }
.b-board .badge--teal { background: rgba(53,168,176,.14); border-color: rgba(53,168,176,.45); color: #BFE6EA; }
.b-board .badge--warning { background: rgba(244,166,42,.14); border-color: rgba(244,166,42,.45); color: #F8D9A6; }
.b-board .badge--danger { background: rgba(212,46,46,.16); border-color: rgba(212,46,46,.5); color: #F7C9C9; }
.b-board .badge:not([class*="badge--"]) { background: rgba(255,255,255,.07); border-color: var(--b-bd-line-2); color: var(--b-bd-fg-2); }

/* the board's own empty state */
.sk-board__empty { display: grid; gap: 6px; justify-items: start; padding: 24px 20px 26px; color: var(--b-bd-fg-2); font-size: var(--b-t-ui); }
.sk-board__empty p { margin: 0; max-width: 62ch; }
.sk-board__empty strong { color: var(--b-bd-fg); font-size: var(--b-t-body); }
.sk-board__empty .b-btn { margin-top: 10px; }
@media (min-width: 1024px) { .sk-board__empty { padding: 28px 24px 30px; } }

/* links inside the board */
.b-board a:not(.b-btn) { color: var(--b-bd-fg); }
.b-board .muted { color: var(--b-bd-fg-3); }

.sk-audkey { padding-top: 14px; }

/* ==================================================================================================
   4. FORMS — profile, apply, alerts
   ================================================================================================= */
.sk .form { display: grid; gap: 16px; }
.sk .field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.sk .field label, .sk .field legend { font-weight: 600; font-size: var(--b-t-base); color: var(--b-ink); }
.sk .field .hint { font-size: var(--b-t-md); color: var(--b-ink-3); }
.sk .field .error, .sk .error { font-size: var(--b-t-md); color: var(--kds-danger); font-weight: 600; }
.sk .error[role="alert"] { margin: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.sk .field legend { padding: 0; margin-bottom: 8px; }
.sk .field legend .hint { font-weight: 400; }
.sk .input { min-height: var(--b-tap); border: var(--b-hair-2); border-radius: var(--b-r-md); background: #fff; color: var(--b-ink); font-size: var(--b-t-body); transition: border-color .16s var(--b-e), box-shadow .16s var(--b-e); }
.sk textarea.input { line-height: 1.5; }
.sk .input:hover { border-color: #AFC0D4; }
.sk .input:focus { outline: 2px solid transparent; border-color: var(--b-navy); box-shadow: 0 0 0 3px rgba(31,58,95,.18); }
.sk .input::placeholder { color: var(--b-ink-3); }
.sk .form-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .sk .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* choices: quiet chips that turn navy when picked */
.sk .checks { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); align-content: start; }
@media (min-width: 640px) { .sk .checks--3, .sk .sk-checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .sk .checks--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sk .check { display: flex; align-items: center; gap: 10px; min-height: var(--b-tap); padding: 9px 12px; border: var(--b-hair); border-radius: var(--b-r-md); background: #fff; cursor: pointer; font-size: var(--b-t-ui); color: var(--b-ink); transition: border-color .14s var(--b-e), background .14s var(--b-e); }
.sk .check:hover { border-color: var(--b-line-2); background: var(--b-bg-2); }
.sk .check:has(input:checked) { border-color: var(--b-navy); background: var(--b-navy-50); }
.sk .check:has(input:focus-visible) { outline: var(--b-ring); outline-offset: 2px; }
.sk .check input { width: 18px; height: 18px; margin: 0; accent-color: var(--b-navy); flex: none; }
.check > span { min-width: 0; }
.check--multi { align-items: flex-start; }
.check--multi input { margin-top: 3px; }

/* file inputs + the upload area */
.input--file { padding: 8px 10px; cursor: pointer; font-size: var(--b-t-base); color: var(--b-ink-2); }
.input--file::file-selector-button { font: 600 var(--b-t-base)/1 var(--b-sans); min-height: 34px; margin-right: 12px; padding: 0 14px; border: var(--b-hair-2); border-radius: 8px; background: #fff; color: var(--b-navy); cursor: pointer; transition: border-color .14s var(--b-e), background .14s var(--b-e); }
.input--file:hover::file-selector-button { border-color: var(--b-navy); background: var(--b-navy-50); }
.upload-box { padding: 14px; border: 1px dashed var(--b-line-2); border-radius: var(--b-r-md); background: var(--b-bg-2); min-width: 0; }
.upload-box--error { border-color: var(--kds-danger); border-style: solid; }
.apply-note { margin: 0; }

/* fieldsets styled exactly like the panel: the legend renders as the panel head */
fieldset.sk-panel { margin: 0; min-width: 0; }
fieldset.sk-panel > legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
fieldset.sk-panel > legend + * { clear: both; }
fieldset.sk-panel > legend .small { font-family: var(--b-sans); font-weight: 500; }

/* the sticky action bar (theme .sticky-bar): full-bleed on phones/tablets, a plain row at ≥1024. The form gets
   bottom padding so the bar never sits on the last field, and anchored/focused fields scroll clear of it. */
.sk .sticky-bar { margin: 0 -16px; flex-wrap: wrap; gap: 8px 12px; background: rgba(255,255,255,.94); border-top: var(--b-hair); }
.sk .sticky-bar .b-btn--primary { flex: 1 1 auto; }
.sk .sticky-bar .small { flex: 1 1 100%; color: var(--b-ink-3); }
.form:has(> .sticky-bar) { padding-bottom: 8px; }
html:has(.sticky-bar) { scroll-padding-bottom: 88px; }
@media (min-width: 768px) { .sk .sticky-bar { margin: 0 -24px; } }
@media (min-width: 1024px) {
  .sk .sticky-bar { margin: 0; padding-top: 4px; background: none; border: 0; }
  .sk .sticky-bar .b-btn--primary { flex: 0 0 auto; }
  .sk .sticky-bar .small { flex: 0 1 auto; }
  .form:has(> .sticky-bar) { padding-bottom: 0; }
  html:has(.sticky-bar) { scroll-padding-bottom: 0; }
}
.sk .form-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sk .form-actions .b-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .sk .form-actions .b-btn { flex: 0 0 auto; } }

/* ==================================================================================================
   5. DASHBOARD
   ================================================================================================= */
.dash-cols { align-items: start; }
.meter-card__pct { font: 800 1.5rem/1 var(--b-disp); letter-spacing: -.02em; color: var(--b-navy); }
.meter { height: 6px; border-radius: 3px; background: #EDF2F8; overflow: hidden; margin: 0 0 16px; }
.meter > span { display: block; height: 100%; border-radius: 3px; background: var(--b-navy); transition: width .4s var(--b-e); }
.meter-card__done { margin: 0; }
.meter-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 4px 20px; grid-template-columns: minmax(0, 1fr); font-size: var(--b-t-ui); }
@media (min-width: 640px) { .meter-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .meter-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.meter-list li { display: flex; align-items: center; gap: 10px; min-height: 32px; color: var(--b-ink-3); }
.meter-list li.is-done { color: var(--b-ink); }
.meter-list__tick { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: var(--b-hair-2); font-size: .625rem; font-weight: 700; flex: none; }
.meter-list li.is-done .meter-list__tick { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
.meter-list a { font-weight: 600; color: var(--b-navy); }
.sk .meter-card .b-btn { justify-self: start; }

/* ==================================================================================================
   6. PROFILE
   ================================================================================================= */
.profile-form .form-row > fieldset.field { align-self: start; }
.profile-form .checks { align-content: start; }
.resume-box { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; padding: 14px 16px; border: var(--b-hair); border-radius: var(--b-r-md); background: var(--b-bg-2); }
.resume-box__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #fff; border: var(--b-hair); color: var(--b-navy); flex: none; }
.resume-box__meta { display: grid; gap: 2px; flex: 1 1 160px; min-width: 0; }
.resume-box__meta strong { overflow-wrap: anywhere; color: var(--b-ink); }
.resume-box__actions { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.resume-box__actions .b-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .resume-box__actions { flex: 0 0 auto; } .resume-box__actions .b-btn { flex: 0 0 auto; } }

/* ==================================================================================================
   7. APPLY — form | the job summary (a small board)
   ================================================================================================= */
.apply-page { padding-top: 24px; padding-bottom: 40px; display: grid; gap: 24px; align-content: start; }
.apply-page .app-head { padding-bottom: 20px; }
.apply-page .app-head p.muted { margin: 0; color: var(--b-ink-2); max-width: 64ch; }
.apply-page__grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
.apply-main { min-width: 0; }
.apply-form { gap: 16px; }
.apply-who { margin: 0; display: grid; gap: 2px; }
.apply-who strong { color: var(--b-ink); }
.resume-choice .check { align-items: flex-start; }
.auto-attach { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: var(--b-r-md); background: var(--b-navy-50); border: var(--b-hair); }
.auto-attach__icon { display: grid; place-items: center; color: var(--b-navy); flex: none; padding-top: 1px; }
.auto-attach > span { min-width: 0; overflow-wrap: anywhere; }
.apply-or { display: flex; align-items: center; gap: 12px; color: var(--b-ink-3); font-size: var(--b-t-xs); text-transform: uppercase; letter-spacing: var(--b-track-caps); font-weight: 600; }
.apply-or::before, .apply-or::after { content: ""; flex: 1; height: 1px; background: var(--b-line); }

/* the job summary: the page's dark object */
.apply-job.b-board { display: grid; gap: 12px; align-content: start; align-self: start; padding: 20px; }
.apply-job .eyebrow { margin: 0; color: var(--b-bd-fg-3); }
.sk .apply-job .apply-job__title { overflow-wrap: anywhere; color: var(--b-bd-fg); font: 700 1.1875rem/1.25 var(--b-disp); letter-spacing: -.014em; margin: 0; }
.apply-job__company { display: grid; gap: 2px; }
.apply-job__company strong { color: var(--b-bd-fg); font-weight: 600; }
.apply-job__company .muted, .apply-job .muted { color: var(--b-bd-fg-3); }
.apply-job__loc { display: grid; gap: 2px; overflow-wrap: anywhere; color: var(--b-bd-fg-2); font-size: var(--b-t-base); }
.apply-job__more { font-weight: 600; color: var(--b-bd-fg-2); }
.apply-job__facts { margin: 0; display: grid; border-top: var(--b-hair-on); font-size: var(--b-t-base); }
.apply-job__facts > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: var(--b-hair-on); }
.apply-job__facts dt { color: var(--b-bd-fg-3); font-weight: 500; }
.apply-job__facts dd { margin: 0; overflow-wrap: anywhere; color: var(--b-bd-fg); text-align: right; }
.apply-job__pay dd strong { font-size: var(--b-t-body); font-weight: 650; color: var(--b-bd-fg); }
.apply-job .cluster { display: flex; flex-wrap: wrap; gap: 6px; }
.apply-job .aud { background: rgba(255,255,255,.05); border-color: var(--b-bd-line-2); color: var(--b-bd-fg-2); }
.apply-job .aud::before { box-shadow: 0 0 0 1px rgba(255,255,255,.55); }
.apply-job__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; padding-top: 4px; font-size: var(--b-t-base); }
.apply-job__foot a { display: inline-flex; align-items: center; min-height: var(--b-tap); font-weight: 600; color: var(--b-bd-fg); text-decoration: underline; text-decoration-color: var(--b-bd-line-2); text-underline-offset: 4px; }
.apply-job__foot a:hover { text-decoration-color: currentColor; color: #fff; }
@media (min-width: 1024px) {
  .apply-page { padding-top: 32px; }
  .apply-page__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
  .apply-page__grid .apply-job { position: sticky; top: calc(var(--cc-header-h) + 24px); }
  .apply-job.b-board { padding: 24px; }
}

/* interstitials (guest, wrong role, applications closed) and the "already applied" state: one panel + the summary */
.apply-narrow { display: grid; gap: 20px; }
.apply-gate { display: grid; gap: 12px; }
.apply-gate .eyebrow, .apply-gate p { margin: 0; }
.apply-gate .badge { justify-self: start; }
.apply-gate .card__head { margin: 0; }
.apply-gate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.apply-gate__actions .b-btn, .apply-gate__actions .inline-form { flex: 1 1 200px; }
.apply-gate__actions .inline-form .b-btn { width: 100%; }
.apply-gate__points { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: var(--b-hair); display: grid; gap: 4px; color: var(--b-ink-2); font-size: var(--b-t-base); }
.apply-gate__points li { display: flex; align-items: center; gap: 10px; min-height: 28px; }
.apply-gate__points li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--b-navy); color: #fff; font-size: .625rem; font-weight: 700; flex: none; }
.apply-gate__note { margin: 0; }
@media (min-width: 640px) { .apply-gate__actions .b-btn, .apply-gate__actions .inline-form { flex: 0 0 auto; } .apply-gate__actions .inline-form .b-btn { width: auto; } }
@media (max-width: 479px) {
  .apply-page { padding-top: 16px; }
  .sk { --sk-pad: 16px; }
  .apply-job.b-board { padding: 16px; }
  .input--file::file-selector-button { margin-right: 8px; padding: 0 10px; }
}

/* what was sent (applications board + the "already applied" panel) */
.sent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--b-t-base); }
.sent-list > div { display: flex; flex-wrap: wrap; gap: 0 6px; }
.sent-list dt, .sent-list dd { margin: 0; display: inline; }
.sent-list__k { color: var(--b-ink-3); }
.sent-list__k::after { content: ":"; }
.sent-list__v { overflow-wrap: anywhere; }
.sent-list a { font-weight: 600; }
.b-board .sent-list__k { color: var(--b-bd-fg-3); }
.b-board .sent-list__v { color: var(--b-bd-fg-2); }

/* ==================================================================================================
   8. APPLICATIONS — the table, set on the board
   ================================================================================================= */
.sk-board.card--table { padding: 0; }
.sk-board .card__head { margin: 0; }
.sk-board .table-wrap { overflow-x: auto; }
.sk-board .table { width: 100%; border-collapse: collapse; font-size: var(--b-t-ui); color: var(--b-bd-fg-2); }
.sk-board .table th { padding: 12px 12px 10px; font-size: var(--b-t-xs); font-weight: 600; letter-spacing: var(--b-track-caps); text-transform: uppercase; color: var(--b-bd-fg-3); border-bottom: var(--b-hair-on); text-align: left; white-space: nowrap; }
.sk-board .table td { padding: 14px 12px; border-bottom: var(--b-hair-on); vertical-align: top; }
.sk-board .table tbody tr { transition: background .16s var(--b-e); }
.sk-board .table tbody tr:hover { background: var(--b-bd-2); }
.sk-board .table tr:last-child td { border-bottom: 0; }
.sk-board .table th:first-child, .sk-board .table td:first-child { padding-left: 20px; }
.sk-board .table th:last-child, .sk-board .table td:last-child { padding-right: 20px; }
.sk-board .table .num { text-align: right; }
.seeker-table .row-title a, .seeker-table .row-title__text { font-weight: 600; font-size: var(--b-t-body); color: var(--b-bd-fg); text-decoration: none; }
.seeker-table .row-title a:hover { text-decoration: underline; text-decoration-color: var(--b-bd-line-2); text-underline-offset: 4px; }
.seeker-table .row-title__sub { display: block; margin-top: 2px; }
.seeker-table .row-title__sub:empty { display: none; }
.seeker-table .row-stack > span:first-child { color: var(--b-bd-fg-2); font-weight: 600; }
.seeker-table .row-actions { text-align: right; }
.seeker-table .row-actions .b-btn { white-space: nowrap; }
.seeker-table .row-actions .inline-form { margin: 0; }
@media (min-width: 1024px) { .sk-board .table th:first-child, .sk-board .table td:first-child { padding-left: 24px; } .sk-board .table th:last-child, .sk-board .table td:last-child { padding-right: 24px; } }
/* phones/tablets: each row stacks inside the same board — hairlines between rows, labels left */
@media (max-width: 767px) {
  .sk-board .table--stack thead { display: none; }
  .sk-board .table--stack tbody { display: block; }
  .sk-board .table--stack tr { display: block; margin: 0; padding: 14px 16px 16px; border: 0; border-radius: 0; background: none; }
  .sk-board .table--stack tr + tr { border-top: var(--b-hair-on); }
  .sk-board .table--stack td { display: flex; gap: 12px; justify-content: flex-start; align-items: flex-start; padding: 5px 0 !important; border: 0; text-align: left; }
  .sk-board .table--stack td::before { content: attr(data-label); min-width: 84px; flex: none; font-size: var(--b-t-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--b-bd-fg-3); padding-top: 2px; }
  .seeker-table .row-title { display: grid !important; gap: 2px; padding-bottom: 8px !important; }
  .seeker-table .row-title::before { display: none; }
  .seeker-table .row-actions { display: block !important; padding-top: 10px !important; }
  .seeker-table .row-actions::before { display: none; }
  .seeker-table .row-actions .inline-form, .seeker-table .row-actions .b-btn { display: flex; width: 100%; }
  .seeker-table .row-actions .small { display: block; }
}

/* ==================================================================================================
   9. SAVED — the "no longer available" list
   ================================================================================================= */
.gone-list__intro { margin: 0 0 12px; }
.gone-item__main { display: grid; gap: 2px; }
.gone-item__title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-weight: 600; color: var(--b-ink-2); }
.gone-item__action { flex: 1 1 100%; }
.gone-item__action .b-btn { width: 100%; }
@media (min-width: 640px) { .gone-item__action { flex: none; } .gone-item__action .b-btn { width: auto; } }

/* ==================================================================================================
   10. ALERTS — the switch, and the criteria as a ledger
   ================================================================================================= */
.switch-row { align-items: center; }
.switch-row input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 44px !important; height: 26px !important; border-radius: 999px; background: var(--b-line-2); position: relative; margin: 0; cursor: pointer; transition: background .2s var(--b-e); flex: none; }
.switch-row input[type="checkbox"]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(14,29,49,.3); transition: transform .2s var(--b-e); }
.switch-row input[type="checkbox"]:checked { background: var(--b-navy); }
.switch-row input[type="checkbox"]:checked::after { transform: translateX(18px); }
.crit { display: grid; margin: 0; border-top: var(--b-hair); }
.crit > div { display: grid; gap: 4px; padding: 12px 0; border-bottom: var(--b-hair); }
.crit dt { font-size: var(--b-t-xs); text-transform: uppercase; letter-spacing: var(--b-track-caps); color: var(--b-ink-3); font-weight: 600; }
.crit dd { margin: 0; color: var(--b-ink); overflow-wrap: anywhere; }
@media (min-width: 640px) { .crit > div { grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: baseline; } }

/* ==================================================================================================
   11. NOTIFICATIONS
   ================================================================================================= */
.notif-list.sk-panel { padding-top: 8px; padding-bottom: 8px; }
.notif-list .list-plain__item, .notif-list .list-plain__item:first-child, .notif-list .list-plain__item:last-child { padding: 14px 0; }
.notif { align-items: center; }
.notif .notif__body > a, .notif > div:first-child > a { font-weight: 500; color: var(--b-ink-2); }
.notif.is-unread .notif__body > a, .notif.is-unread > div:first-child > a { font-weight: 700; color: var(--b-ink); }
.notif__main { display: flex; gap: 12px; min-width: 0; flex: 1 1 240px; }
.notif__body { min-width: 0; overflow-wrap: anywhere; display: grid; gap: 2px; }
.notif__when strong { color: var(--b-navy); }
/* one mark, read or unread — the audience hues are reserved for audience dots (b-foundation §7) */
.notif__type { width: 8px; height: 8px; border-radius: 50%; margin-top: 8px; flex: none; background: transparent; box-shadow: inset 0 0 0 1.5px var(--b-line-2); }
.notif.is-unread .notif__type { background: var(--b-navy); box-shadow: none; }
.notif__action { flex: none; margin: 0; }
@media (max-width: 639px) { .notif__action { flex: 1 1 100%; padding-left: 20px; } .notif__action .b-btn { width: 100%; } }

/* ==================================================================================================
   12. LANDING (/jobseeker) — scoped to .sk-land so it wins over landing.css, which loads after this file
   ================================================================================================= */
.sk-land .landing-head { background: none; border-bottom: var(--b-hair); padding: 40px 0 44px; }
.sk-land .landing-head h1 { font-family: var(--b-disp); font-size: var(--b-t-h1); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; color: var(--b-navy); text-wrap: balance; }
.sk-land .landing-head .lead { color: var(--b-ink-2); font-size: var(--b-t-lead); line-height: 1.6; }
.sk-land .landing-head__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sk-land .landing-head__cta .b-btn { flex: 1 1 auto; }
.sk-land .landing-head__note { color: var(--b-ink-3); font-size: var(--b-t-md); margin-top: 14px; }
@media (min-width: 640px) { .sk-land .landing-head__cta .b-btn { flex: 0 0 auto; } }
@media (min-width: 1024px) { .sk-land .landing-head { padding: 64px 0 64px; } }

/* the preview board (decorative, aria-hidden) */
.sk-land .mock.b-board { max-width: 420px; display: block; gap: 0; padding: 0; }
.sk-land .mock .b-board__bar { justify-content: space-between; }
.sk-land .mock__h { font: 700 var(--b-t-ui)/1.2 var(--b-disp); color: var(--b-bd-fg); }
.sk-land .mock__pct { font-size: var(--b-t-md); font-weight: 600; color: var(--b-bd-fg-2); }
.sk-land .mock__meter { height: 4px; margin: 0; border-radius: 0; background: rgba(255,255,255,.08); }
.sk-land .mock__meter span { background: var(--b-bd-fg-2); border-radius: 0; }
.sk-land .mock__job { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t m" "s s"; gap: 4px 12px; padding: 14px 20px; border: 0; border-radius: 0; border-bottom: var(--b-hair-on); font-size: var(--b-t-md); }
.sk-land .mock__job strong { grid-area: t; color: var(--b-bd-fg); font-size: var(--b-t-body); font-weight: 600; }
.sk-land .mock__job span { grid-area: s; color: var(--b-bd-fg-2); font-size: var(--b-t-md); }
.sk-land .mock__job span b { color: var(--b-bd-fg); font-weight: 650; }
.sk-land .mock__job em { grid-area: m; align-self: baseline; font-size: var(--b-t-xs); font-weight: 600; letter-spacing: var(--b-track-caps); text-transform: uppercase; color: var(--b-bd-fg-3); }
.sk-land .mock__btn { margin: 16px 20px 20px; padding: 0; min-height: var(--b-tap); display: grid; place-items: center; border-radius: var(--b-r-md); background: #fff; color: var(--b-bd); font-size: var(--b-t-ui); font-weight: 600; }

/* sections: hairline rules, no tinted bands, no cards */
.sk-land .section { padding: 56px 0; }
.sk-land .section--alt { background: none; border-top: var(--b-hair); }
@media (min-width: 1024px) { .sk-land .section { padding: 80px 0; } }
.sk-land .section__head h2, .sk-land .cta-band h2 { font-family: var(--b-disp); font-size: var(--b-t-h2); font-weight: 800; letter-spacing: -.026em; color: var(--b-navy); text-wrap: balance; }
.sk-land .feature--rule { border-top: var(--b-hair-2); padding-top: 18px; }
.sk-land .feature h3, .sk-land .landing-step h3 { font: 700 var(--b-t-h3)/1.3 var(--b-disp); letter-spacing: -.012em; color: var(--b-navy); }
.sk-land .feature p, .sk-land .landing-step p { color: var(--b-ink-2); }
.sk-land .landing-step__n { background: #fff; color: var(--b-navy); border: var(--b-hair-2); font: 700 var(--b-t-ui)/1 var(--b-sans); }
.sk-land .cta-band { padding: 28px 0 0; border-top: 0; background: none; }
.sk-land .cta-band .muted { color: var(--b-ink-2); }
.sk-land .cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sk-land .cta-band__actions .b-btn { flex: 1 1 auto; }
@media (min-width: 640px) { .sk-land .cta-band__actions .b-btn { flex: 0 0 auto; } }

/* quiet (outline) buttons on any seeker board: beat .kds-btn--ghost's white fill, which the markup keeps as the fallback */
.sk .b-board .b-btn--quiet, .sk .b-board .kds-btn.b-btn--quiet { background: transparent; color: var(--b-bd-fg); border-color: var(--b-bd-line-2); }
.sk .b-board .b-btn--quiet:hover { background: rgba(255,255,255,.08); border-color: var(--b-bd-fg-2); color: #fff; }
@media (max-width: 767px) { .sk-board .table--stack td.num { text-align: left; } }
