:root {
  --bg: #F4F2EC;
  --surface: #FFFFFF;
  --surface-alt: #FAF7F0;
  --text: #201D16;
  --muted: #857E70;
  --soft: #6F695E;
  --edge: #E5E0D5;
  --edge-strong: #201D16;
  --rule: color-mix(in oklch, #857E70 55%, transparent);
  --ink: #16140E;
  --ink-fg: #F3EFE6;
  --ink-muted: rgba(243, 239, 230, .62);
  --ink-line: rgba(243, 239, 230, .14);
  --accent: #35618E;
  --accent-dk: #28496A;
  --accent-soft: rgba(53, 97, 142, .10);
  --accent-out: rgba(53, 97, 142, .30);
  --on-accent: #FFFFFF;
  --d-red: #B9695E;
  --d-gold: #BC9152;
  --d-teal: #5E93A1;
  --d-green: #5D9375;
  --d-plum: #8571A8;
  --d-blue: #6E869E;
  --d-grey: #8C8A87;
  --c-gold: #E0991C;
  --good: #1F9A86;
  --alert: #D23B2C;
  --text-body: color-mix(in srgb, #201D16 86%, #F4F2EC);
  --display: 'Schibsted Grotesk', sans-serif;
  --body: 'Figtree', sans-serif;
  --mono: 'IBM Plex Mono', monospace;
  --cv: 'Roboto', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.signed-in { min-width: 1280px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }
input, select, textarea { font: inherit; color: inherit; }
button:disabled, input:disabled { cursor: not-allowed; }
button:disabled { opacity: .4; }
input:disabled { color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); text-decoration: underline; }
h1, h2 { font-family: var(--display); font-weight: 700; }
input, select { border: 1px solid var(--edge); background: var(--surface); border-radius: 8px; padding: 0 10px; height: 32px; font-size: 13.5px; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.error { color: var(--alert); }
.gold { color: var(--c-gold); }
.text-accent { color: var(--accent); font-weight: 600; }
.eyebrow { display: block; font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.control-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.separator { flex: none; width: 1px; height: 20px; background: var(--edge); margin: 0 4px; }
.key-hint { font-family: var(--mono); font-size: 10px; font-weight: 500; border: 1px solid currentColor; border-radius: 4px; padding: 0 4px; opacity: .6; }
.chip { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 30px; padding: 0 12px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--text); }
.primary, .accent-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; white-space: nowrap; }
.primary { background: var(--text); color: var(--bg); padding: 9px 18px; font-size: 13.5px; }
.accent-button { background: var(--accent); color: var(--on-accent); padding: 6px 12px; font-size: 12.5px; }
.outline-accent, .chip.text-accent { color: var(--accent); }
.chip.error { color: var(--alert); }
.selected, .chip.selected, .segmented [aria-selected=true] { background: var(--text); color: var(--bg); }
.chip.selected { border-color: var(--text); }
.segmented { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); }
.segmented button, .segmented a { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; white-space: nowrap; color: var(--soft); }
.segmented .selected, .segmented [aria-selected=true] { color: var(--bg); }
.compact button, .compact a { height: 26px; padding: 0 10px; }
.toolbar-spacer { flex: 1; }
.chevron { font-size: 9px; color: var(--muted); }
.navbar { height: 52px; display: flex; align-items: center; gap: 28px; background: var(--ink); padding: 0 24px; color: var(--ink-fg); }
.brand { font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--ink-fg); }
.navbar .brand:hover, .nav-tab:hover { color: var(--ink-fg); text-decoration: none; }
.navbar nav { display: flex; gap: 4px; }
.nav-tab { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.nav-tab.active { background: var(--ink-line); color: var(--ink-fg); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 12.5px; }
.nav-right a { color: var(--ink-fg); }
.nav-right button { color: var(--ink-fg); }
.search-control { flex: 1 1 220px; max-width: 380px; min-width: 172px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--edge); border-radius: 999px; padding: 0 12px; height: 32px; background: var(--surface-alt); }
.search-control > span { color: var(--muted); font-size: 14px; }
.search-control input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 13.5px; height: 100%; padding: 0; outline: none; }
.search-control:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.toolbar-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.review-toolbar, .applied-toolbar { background: var(--surface); padding: 10px 24px; display: grid; gap: 8px; }
.review-search .search-control { max-width: 380px; }
.search-submit, .advanced-toggle { height: 32px; font-size: 13px; }
.view-switch { margin-left: auto; }
.view-switch .compact a { height: 28px; padding: 0 12px; }
.bucket-row { flex-wrap: wrap; }
.bucket-row > .control-label { min-width: 47px; }
.bucket-row > .text-accent { padding: 0 8px; font-size: 12.5px; }
.advanced { background: var(--surface); }
.advanced > summary { display: none; }
.filter-row { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; padding: 10px 12px; background: var(--surface-alt); border-radius: 10px; }
.filter-row label { display: grid; gap: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filter-row input, .filter-row select { width: 100%; font-weight: 400; letter-spacing: 0; text-transform: none; }
.description-filter { grid-column: span 2; }
.description-filter input { font-family: var(--mono); font-size: 12.5px; }
.filter-row .checkbox-label { display: flex; align-items: center; gap: 6px; font-size: 12px; text-transform: none; letter-spacing: 0; }
.checkbox-label input { width: 15px; height: 15px; }
.filter-row .primary { justify-self: start; }
.filter-row > a { align-self: center; font-size: 12.5px; }
.filter-help { grid-column: 1/-1; }
.review-status { border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); padding: 0 24px; height: 42px; display: flex; align-items: center; gap: 6px; background: var(--surface-alt); font-size: 12.5px; }
.review-status > a { margin-left: auto; }
.notice { margin: 16px 24px; padding: 14px; border: 1px solid var(--edge); border-radius: 10px; background: var(--surface-alt); font-size: 14px; }
.empty-page, .search-empty { max-width: 560px; margin: 40px auto; background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; padding: 28px; }
.empty-page h2 { font-size: 22px; letter-spacing: -.02em; }
.empty-page p { margin-top: 6px; font-size: 14px; color: var(--soft); }
.pagination { display: flex; align-items: center; gap: 14px; padding: 0 24px; height: 42px; border-bottom: 1px solid var(--edge); font-size: 12.5px; }
.review-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 392px; min-height: calc(100vh - 228px); }
.left-panel, .role-panel { background: var(--surface-alt); padding: 16px; overflow: auto; font-size: 12.5px; }
.left-panel { border-right: 1px solid var(--edge); }
.role-panel { border-left: 1px solid var(--edge); }
.listing-panel { margin: 28px 32px; padding: 32px 44px; background: var(--surface); border: 1px solid var(--edge); border-radius: 18px; overflow: auto; }
.listing-head { display: flex; justify-content: space-between; gap: 14px; font-size: 12.5px; }
#listing-title { font-size: 32px; letter-spacing: -.025em; line-height: 1.12; margin-top: 10px; text-wrap: balance; }
.listing-facts { display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; font-size: 14px; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px dotted var(--rule); }
.listing-facts dt { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
dd { margin: 0; }
.listing-panel > h2 { margin-top: 24px; font-size: 18px; letter-spacing: -.02em; }
.listing-panel > ul { padding-left: 20px; font-size: 15px; line-height: 1.55; }
.jd-text, .jd-html { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--text-body); }
.jd-text { white-space: pre-wrap; }
.jd-html p { margin-bottom: 14px; }
.jd-html ul, .jd-html ol { padding-left: 20px; }
.jd-html h1, .jd-html h2, .jd-html h3 { margin: 14px 0 6px; font-size: 17px; }
.job-card { display: grid; gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--edge); }
.bucket { display: inline-block; width: max-content; border-radius: 999px; padding: 2px 9px; font-size: 11px; border: 1px solid var(--edge); }
.top_picks { color: #245943; background: #e6f0e9; }
.in_lane { color: var(--accent); background: var(--accent-soft); }
.less_interested { color: #80622f; background: #f6ecda; }
.ineligible { color: #984d44; background: #f5e5e0; }
.not_sorted { color: var(--muted); }
.context-block { padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--edge); }
.context-block h2 { font-family: var(--body); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--soft); margin-bottom: 6px; }
.context-block dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 7px 10px; font-size: 12.5px; }
.context-block dt { color: var(--soft); }
.context-block dd { text-align: right; }
.context-item { display: grid; gap: 4px; padding: 8px 0; border-bottom: 1px solid var(--edge); }
details > summary { cursor: pointer; color: var(--accent); }
.diff { white-space: pre-wrap; font-size: 12px; }
.diff del { background: #f5dfda; }
.diff ins { background: #e1efe5; text-decoration: none; }
.quote-line { padding: 9px 0; border-bottom: 1px solid var(--edge); }
.quote-link { color: var(--accent); font-size: 12px; }
.quote-hit { background: #fff0b8; }
.current-card { border-left: 3px solid var(--accent); padding-left: 10px; }
.listing-navigation { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--edge); font-size: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.jobs-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 13px; font-variant-numeric: tabular-nums; }
.jobs-table th { text-align: left; font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 9px 12px; background: var(--surface-alt); color: var(--muted); border-bottom: 1px solid var(--edge); }
.jobs-table td { padding: 9px 12px; border-bottom: 1px solid var(--edge); }
.queue-content { overflow: auto; }
.application-shell { display: grid; grid-template-columns: 288px minmax(0, 1fr); height: calc(100vh - 52px); min-height: 0; }
.application-rail { display: flex; flex-direction: column; min-height: 0; background: var(--surface); border-right: 1px solid var(--edge); }
.rail-tabs { padding: 12px 14px 8px; }
.rail-tabs .segmented { display: grid; grid-template-columns: 1fr 1fr; }
.rail-tabs button { padding: 5px 0; }
.rail-tabs [aria-selected=true] { font-weight: 700; }
.rail-controls { display: flex; gap: 6px; }
.application-rail .rail-controls { padding: 0 14px 10px; border-bottom: 1px solid var(--edge); }
.application-rail .chip { height: 26px; padding: 0 10px; gap: 5px; font-size: 12px; }
.application-rail .control-label { font-size: 9.5px; }
.rail-empty { flex: 1; overflow: auto; padding: 24px 16px; font-size: 12.5px; color: var(--soft); }
.rail-empty p + p { margin-top: 8px; }
.rail-footer { padding: 10px 16px; border-top: 1px solid var(--edge); font-size: 11.5px; color: var(--muted); }
.run-selection { border-top: 1px solid var(--edge-strong); padding: 12px 16px; gap: 8px; font-size: 12.5px; color: var(--soft); }
.run-selection .control-label { font-size: 10px; letter-spacing: .14em; }
.run-selection .accent-button { margin-top: 2px; font-size: 13px; padding: 8px 0; width: 100%; }
[data-application-view=submit] .prepare-controls, [data-application-view=prepare] .submit-controls { display: none; }
[data-application-view=prepare] .run-selection { display: grid; }
.application-body { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; }
.application-header { display: flex; align-items: center; gap: 14px; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--edge); min-width: 0; }
.application-star { font-size: 20px; line-height: 1; color: var(--c-gold); }
.application-heading { flex: 1 1 auto; min-width: 0; }
.application-heading h1 { font-size: 19px; letter-spacing: -.02em; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.apply-links { flex: none; display: flex; align-items: center; gap: 6px; }
.application-header .control-label { letter-spacing: .14em; }
.application-header .chip { font-size: 12.5px; font-weight: 700; height: auto; padding: 5px 12px; }
.application-header .separator { margin: 0; height: 22px; }
.header-fact { display: flex; align-items: center; gap: 6px; font-size: 12.5px; white-space: nowrap; }
.header-fact button { font-weight: 700; }
.application-position { flex: none; display: flex; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.application-panes { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 10px; padding: 10px 10px 0; min-height: 0; }
.cv-pane { display: grid; grid-template-rows: auto minmax(0, 1fr); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; background: #E9E5DB; min-height: 0; }
.pane-toolbar { display: flex; align-items: center; gap: 8px 10px; padding: 6px 12px; background: var(--surface); border-bottom: 1px solid var(--edge); min-height: 42px; }
.cv-tabs button { font-size: 12px; padding: 3px 12px; }
.history-control { font-size: 12.5px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.download-control { height: auto; padding: 3px 12px; font-size: 12.5px; font-weight: 700; color: var(--accent); border-color: var(--accent); }
.cv-scroll { overflow: auto; min-height: 0; }
.paper-empty { padding: 56px 36px 0; display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; }
.paper-empty .control-label { letter-spacing: .16em; }
.paper-empty h2 { font-size: 19px; letter-spacing: -.02em; }
.paper-empty > p:last-child { font-size: 12.5px; color: var(--soft); max-width: 380px; }
.application-jd { display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--surface); border: 1px solid var(--edge); border-radius: 12px; overflow: hidden; min-height: 0; }
.jd-toolbar { display: flex; align-items: center; gap: 10px; padding: 0 14px; min-height: 42px; border-bottom: 1px solid var(--edge); }
.jd-toolbar .control-label { letter-spacing: .16em; }
.jd-toolbar .eyebrow { font-size: 11px; color: var(--soft); }
.jd-unavailable { padding: 16px 22px; overflow: auto; }
.jd-unavailable h2 { font-size: 18px; letter-spacing: -.02em; }
.jd-unavailable p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.application-footer { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; }
.log-label { font-size: 11.5px; color: var(--muted); }
.application-footer input { flex: 1; min-width: 0; height: 38px; border-radius: 999px; padding: 0 16px; font-size: 13px; }
.skip-control { height: auto; padding: 8px 14px; font-size: 13px; color: var(--soft); }
.discard-control { height: auto; padding: 8px 12px; font-size: 13px; }
.applied-page { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - 52px); }
.applied-toolbar { border-bottom: 1px solid var(--edge); }
.applied-toolbar .toolbar-row { flex-wrap: wrap; }
.applied-toolbar .search-control { max-width: 340px; }
.stage-row { align-items: flex-start; }
.stage-row > .control-label { min-width: 47px; height: 30px; display: flex; align-items: center; }
.stage-filters { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot-blue { background: var(--d-blue); }
.dot-gold { background: var(--d-gold); }
.dot-teal { background: var(--d-teal); }
.dot-green { background: var(--d-green); }
.dot-red { background: var(--d-red); }
.dot-grey { background: var(--d-grey); }
.applied-shell { display: grid; grid-template-columns: minmax(0, 1fr) 460px; min-height: 0; }
.applied-table-panel { background: var(--surface); overflow: auto; min-height: 0; }
.applied-table { font-size: 13.5px; }
.applied-table th { font-size: 10px; padding: 14px 12px 10px 0; border-bottom: 1px solid var(--edge-strong); background: var(--surface); white-space: nowrap; }
.applied-table th:first-child { width: 40px; padding: 14px 8px 10px 24px; }
.applied-table th:last-child { padding-right: 24px; }
.applied-table td { padding: 12px 12px 12px 0; }
.applied-table td:first-child { padding-left: 24px; padding-right: 8px; }
.applied-table td:last-child { padding-right: 24px; }
.applied-empty { padding: 28px 24px; font-size: 14px; color: var(--muted); }
.applied-empty p + p { margin-top: 6px; }
.application-detail { border-left: 1px solid var(--edge); background: var(--surface-alt); overflow: auto; min-height: 0; }
.inspector-header { padding: 20px 24px 14px; background: var(--surface); border-bottom: 1px solid var(--edge); }
.inspector-header .eyebrow { font-size: 11px; }
.inspector-header h2 { font-size: 22px; letter-spacing: -.02em; line-height: 1.15; margin-top: 6px; }
.inspector-tabs { margin-top: 12px; border: 0; padding: 0; gap: 4px; }
.inspector-tabs button { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; padding: 5px 10px; text-transform: uppercase; }
.inspector-record { padding: 16px 24px; display: grid; gap: 12px; font-size: 13.5px; background: var(--surface); border-bottom: 1px solid var(--edge); }
.inspector-record dl { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px 10px; align-items: baseline; }
.inspector-record dt { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.inspector-log { padding: 16px 24px; border-bottom: 1px solid var(--edge); }
.inspector-log .control-label, .inspector-people .control-label { font-size: 10.5px; letter-spacing: .18em; }
.inspector-log input { margin-top: 10px; width: 100%; height: 36px; padding: 0 12px; font-size: 13.5px; }
.inspector-log p { margin-top: 14px; font-size: 13px; }
.inspector-people { padding: 16px 24px; }
.inspector-people p { margin-top: 8px; font-size: 13px; }
.inspector-actions { padding: 14px 24px 20px; border-top: 1px solid var(--edge); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inspector-actions .chip { height: 32px; padding: 0 14px; }
.taxonomy { max-width: 1080px; margin: 0 auto; padding: 56px 40px 120px; }
.taxonomy-top { display: flex; align-items: center; gap: 16px; }
.taxonomy-top p { font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.taxonomy-top a { margin-left: auto; font-size: 13px; font-weight: 600; }
.taxonomy h1 { font-size: 44px; letter-spacing: -.03em; line-height: 1.05; margin-top: 12px; }
.taxonomy .notice { margin: 24px 0; }
.taxonomy .notice h2 { font-size: 22px; }
.taxonomy .notice p { margin-top: 8px; }
.section-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.section-links span { font-size: 13px; font-weight: 600; padding: 5px 12px; border: 1px solid var(--edge); border-radius: 999px; background: var(--surface); }
.front-door { min-height: calc(100vh - 52px); display: flex; align-items: center; justify-content: center; gap: 28px; padding: 24px; }
.login-card { width: 400px; flex: none; background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; padding: 36px 36px 32px; display: grid; gap: 24px; }
.login-heading { display: grid; gap: 6px; }
.login-heading h1 { font-weight: 800; font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.login-heading p { font-size: 14px; color: var(--soft); }
.login-form { display: grid; gap: 24px; }
.login-form label { display: grid; gap: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.login-form label + label { margin-top: -8px; }
.login-form input { height: 44px; border-radius: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; padding: 0 14px; }
.password-field { display: flex; align-items: center; height: 44px; border: 1px solid var(--edge); border-radius: 10px; padding: 0 6px 0 14px; background: var(--surface); }
.password-field input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; padding: 0; letter-spacing: .04em; }
.password-field button { height: 30px; padding: 0 10px; font-size: 12px; font-weight: 600; color: var(--soft); letter-spacing: 0; text-transform: none; }
.login-enter { height: 44px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; }
.login-enter .key-hint { font-size: 11px; border-color: rgba(255, 255, 255, .4); opacity: 1; }
.front-divider { align-self: stretch; max-height: 420px; margin: auto 0; height: 420px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.front-divider span { flex: 1; width: 1px; background: var(--edge); }
.front-divider p { font-size: 12px; color: var(--muted); }
.jd-drop-card { width: 340px; flex: none; border: 1.5px dashed var(--rule); border-radius: 16px; padding: 28px 28px 26px; display: grid; gap: 14px; }
.jd-drop-card .control-label { font-size: 10.5px; letter-spacing: .14em; }
.jd-drop-card h2 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.jd-drop-card > p:not(.control-label) { font-size: 14px; color: var(--soft); text-wrap: pretty; }
.drop-jd { height: 44px; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 800px) {
  .front-door { flex-direction: column; gap: 20px; }
  .front-divider { flex-direction: row; width: 340px; max-width: 100%; height: auto; margin: 0; }
  .front-divider span { width: auto; height: 1px; }
  .login-card, .jd-drop-card { width: 100%; max-width: 400px; }
}

.to-apply-page .nav-tab.active { background: var(--ink-fg); color: var(--ink); }
.dot-soft { background: var(--soft); }
.dot-good { background: var(--good); }
.dot-accent { background: var(--accent); }
.dot-offer { background: #9A6A10; }
.stage-help { flex: none; height: 30px; display: flex; align-items: center; font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
/* The empty shell retains the populated design frame's column proportions. */
.applied-table { table-layout: fixed; }
.applied-star-col { width: 4.8%; }
.applied-role-col { width: 16.3%; }
.applied-date-col { width: 6.1%; }
.applied-stage-col { width: 30.5%; }
.applied-latest-col { width: 24.2%; }
.applied-cv-col { width: 7.2%; }
.applied-link-col { width: 10.9%; }

.search-control > button { color: var(--muted); font-size: 14px; }
.basic-filter { display: inline-flex; align-items: center; gap: 6px; flex: none; }
.basic-filter select { height: 30px; border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 0 8px 0 10px; }
.bucket-dot { width: 7px; height: 7px; border-radius: 50%; }
.bucket-dot.dot-green { background: var(--d-green); }
.bucket-dot.dot-teal { background: var(--d-teal); }
.bucket-dot.dot-gold { background: var(--d-gold); }
.bucket-dot.dot-plum { background: var(--d-plum); }
.bucket-dot.dot-grey { background: var(--d-grey); }
.scope-chips { flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 1px 2px 1px 1px; border: 1px dashed var(--edge-strong); border-radius: 999px; }
.scope-label { display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.scope-chips .chip { height: 24px; padding: 0 10px; font-size: 12px; }
.stage-filters .dot-red { background: var(--alert); }
.stage-filters .dot-grey { background: var(--muted); }

.applied-toolbar .stage-row { flex-wrap: nowrap; }

.review-toolbar > .advanced:not([open]) { display: none; }
.advanced-toggle[aria-expanded=true] { background: var(--surface-alt); }

/* Review controls retain the prototype's independent selections and count slots. */
.review-search { flex-wrap: wrap; row-gap: 8px; }
.review-search .search-control { flex: 1 1 220px; }
.market-controls { flex: none; display: flex; align-items: center; gap: 6px; }
.market-chip { padding: 0 10px; }
.market-name { font-family: var(--mono); font-size: 12px; }
.filter-count { font-variant-numeric: tabular-nums; font-weight: 500; color: var(--muted); }
.selected .filter-count { color: rgba(243,239,230,.6); }
.first-seen-controls { flex: none; align-items: center; }
.first-seen-controls a:not(.selected) { background: var(--surface-alt); }
.first-seen-controls select { flex: none; height: 26px; padding: 0 6px 0 10px; border: 0; border-radius: 999px; background: transparent; font-size: 12.5px; font-weight: 600; color: var(--soft); }
.scope-label { color: var(--text); }
.scope-label[aria-pressed=false] { color: var(--muted); }
.filter-summary { color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 600; margin-right: 6px; }
.hollow-dot { background: transparent; box-shadow: inset 0 0 0 1.5px var(--soft); }
.selected .hollow-dot { box-shadow: inset 0 0 0 1.5px var(--bg); }

.review-shell .view-switch { display: flex; align-items: center; gap: 8px; flex: none; }
.review-shell .view-key { font-size: 10.5px; color: var(--muted); border-color: var(--edge); padding: 0 5px; opacity: 1; }
.market-chip[aria-pressed=false] { color: var(--muted); }

.review-toolbar a.chip:hover, .review-toolbar a.scope-label:hover { color: var(--text); text-decoration: none; }
.review-toolbar a.market-chip[aria-pressed=false]:hover, .review-toolbar a.scope-label[aria-pressed=false]:hover { color: var(--muted); }
.review-toolbar .segmented a:hover { color: var(--soft); text-decoration: none; }
.review-toolbar a.chip.selected:hover, .review-toolbar .segmented a.selected:hover { color: var(--bg); }
