:root {
  color-scheme: dark;
  --bg: #191a17;
  --panel: #22231f;
  --panel-soft: #1e1f1b;
  --border: #3c3d34;
  --text: #f1efe7;
  --muted: #b1b1a5;
  --gold: #d6bc7c;
  --gold-soft: #c9bb96;
  --danger: #e8aaa0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.7; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
input:focus-visible, select:focus-visible { outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, p, dl, dd { margin: 0; }
button:disabled, select:disabled { cursor: default; opacity: .55; }
.shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px 18px; z-index: 10; color: var(--bg); background: var(--gold); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); font-weight: 400; }

.site-header { display: flex; align-items: center; gap: 40px; min-height: 94px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; gap: 12px; align-items: center; flex-shrink: 0; }
.brand > span { font-size: 18px; font-weight: 650; letter-spacing: 2px; line-height: 1.3; }
.brand small { display: block; margin-top: 5px; font-size: 8px; letter-spacing: 2.4px; color: var(--muted); font-weight: 500; }
.site-header nav { display: flex; gap: 28px; margin-left: auto; color: var(--muted); font-size: 13px; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .hero-link:hover { color: var(--gold); }
.snapshot-label { font-size: 11px; color: var(--gold-soft); border: 1px solid #4b4636; padding: 5px 12px; border-radius: 99px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr 316px; gap: 80px; align-items: center; padding-block: 70px 56px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--gold-soft); font-size: 11px; letter-spacing: 1.8px; font-weight: 500; }
.hero .eyebrow { letter-spacing: 1.4px; }
.eyebrow > span { display: inline-block; height: 5px; width: 5px; background: var(--gold); border-radius: 50%; }
h1 { font-size: clamp(34px, 3.7vw, 50px); font-weight: 600; line-height: 1.4; letter-spacing: -1.2px; margin-block: 18px 20px; }
h1 span { color: var(--gold); }
.hero-description { color: var(--muted); line-height: 1.9; }
.hero-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 24px; font-size: 13px; padding-block: 5px; }
.hero-link span { color: var(--gold); font-size: 18px; }
.snapshot-card { border: 1px solid #4a4536; border-radius: 14px; padding: 24px 27px 19px; background: radial-gradient(ellipse at top right, #b69a5420, transparent 70%), var(--panel-soft); }
.snapshot-card-top { display: flex; justify-content: space-between; align-items: center; color: var(--gold-soft); font-size: 12px; }
.small-label { font-size: 9px; letter-spacing: 2px; color: var(--muted); }
.total-count { display: flex; align-items: baseline; gap: 12px; margin-top: 7px; }
.total-count strong { font-size: 64px; line-height: 1.3; letter-spacing: -3px; font-weight: 500; font-variant-numeric: tabular-nums; }
.total-count > span { font-size: 12px; color: var(--muted); }
.new-summary { color: var(--muted); font-size: 12px; }
.new-summary strong { color: var(--gold); font-weight: 500; }
.collection-counts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; padding-top: 16px; border-top: 1px solid #454133; }
.collection-counts > div { display: flex; align-items: baseline; gap: 10px; }
.collection-counts strong { font-size: 19px; font-weight: 500; }
.collection-counts span { font-size: 11px; color: var(--muted); }
.metric-note { color: var(--muted); font-size: 10px; margin-top: 12px; }
.snapshot-meta { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; padding: 20px 24px; background: var(--panel-soft); border: 1px solid var(--border); border-radius: 9px; font-size: 12px; }
.snapshot-meta > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.meta-label { color: var(--muted); font-size: 10px; letter-spacing: 1px; }
.automation-panel { margin-top: 16px; padding: 21px 24px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.automation-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.automation-heading h2 { font-size: 14px; font-weight: 550; }
.automation-status { color: var(--gold-soft); font-size: 10px; }
.automation-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 18px; margin-block: 17px; }
.automation-grid > div { min-width: 0; overflow-wrap: anywhere; }
.automation-grid dt { color: var(--muted); font-size: 10px; }
.automation-grid dd { font-size: 12px; margin-top: 4px; }
.automation-grid strong { color: var(--gold); font-size: 21px; font-weight: 500; font-variant-numeric: tabular-nums; }
.automation-sources { color: #d3d4c8; font-size: 12px; margin-bottom: 12px; }
.automation-note { color: var(--muted); font-size: 11px; margin-top: 7px; }
.automation-warning { color: var(--danger); font-size: 12px; padding: 10px 13px; border-left: 2px solid var(--danger); background: #e8aaa008; margin-bottom: 12px; }
.shortlist-section { margin-top: 58px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { font-size: 25px; font-weight: 550; letter-spacing: .5px; margin-top: 6px; }
.section-heading > p { color: var(--muted); font-size: 11px; padding-bottom: 4px; }
.section-heading a { text-decoration: underline; text-underline-offset: 3px; }
.shortlist-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters-panel { position: sticky; top: 20px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel-soft); }
.shortlist-layout aside { position: sticky; top: 20px; }
.filters-panel > summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 19px; list-style: none; font-weight: 550; }
summary::-webkit-details-marker { display: none; }
.disclosure-icon { color: var(--muted); transition: transform .15s; }
.filters-panel[open] .disclosure-icon { transform: rotate(180deg); }
.filter-indicator { color: var(--gold); font-size: 10px; margin-left: 7px; font-weight: 400; }
fieldset { border: 0; margin: 0; padding: 0 18px 19px; min-width: 0; }
fieldset > label, .field-label { display: block; font-size: 11px; font-weight: 500; margin-bottom: 7px; }
fieldset > label:not(:first-of-type) { margin-top: 18px; }
input:not([type="checkbox"]):not([type="radio"]), select { width: 100%; min-width: 0; color: var(--text); border: 1px solid #47483e; border-radius: 6px; background: #191a16; padding: 10px; line-height: 1.5; font-size: 12px; min-height: 42px; }
input::placeholder { color: #a2a396; opacity: 1; }
select { padding-right: 24px; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.field-label { display: flex; justify-content: space-between; }
.salary-inputs { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; color: var(--muted); }
.salary-inputs input { padding-inline: 8px; }
.salary-inputs input:disabled { opacity: .45; }
.field-help, .local-note { color: var(--muted); font-size: 10px; line-height: 1.8; margin-top: 10px; }
.field-error { color: var(--danger); font-size: 11px; margin-top: 9px; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.filter-divider { height: 1px; background: var(--border); margin-block: 21px; }
fieldset > .checkbox-label { display: flex; align-items: center; gap: 9px; margin: 0; cursor: pointer; min-height: 32px; font-size: 12px; }
input[type="checkbox"] { width: 16px; height: 16px; margin: 0; accent-color: var(--gold); flex-shrink: 0; }
.reset-button { width: 100%; border: 1px solid var(--border); border-radius: 6px; min-height: 39px; padding: 8px; background: transparent; color: var(--muted); font-size: 11px; margin-top: 15px; }
.reset-button:hover { background: #ffffff05; color: var(--text); border-color: var(--gold-soft); }
.local-note { text-align: center; }
.results-area { min-width: 0; }
.date-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; border: 1px solid var(--border); border-radius: 9px; background: var(--panel-soft); }
.date-views > .date-view-option { position: relative; margin: 0; min-width: 0; cursor: pointer; }
.date-view-option input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.date-view-option > span { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 7px; min-height: 44px; padding: 8px 5px; border-radius: 5px; color: var(--muted); font-size: 12px; }
.date-view-option input:checked + span { color: var(--text); background: #d6bc7c13; box-shadow: inset 0 0 0 1px #74633d; }
.date-view-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.date-view-option input:disabled { cursor: default; }
.date-views:disabled { opacity: .55; }
.date-view-count { color: var(--gold); font-variant-numeric: tabular-nums; }
.date-view-help { color: var(--muted); font-size: 11px; line-height: 1.85; margin-top: 11px; }
.view-count { color: var(--gold-soft); font-size: 11px; margin-top: 17px; margin-bottom: 4px; }
.results-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 17px; min-height: 40px; }
#result-count { color: var(--muted); font-size: 12px; }
.sort-control { display: flex; align-items: center; gap: 10px; }
.sort-control label { white-space: nowrap; color: var(--muted); font-size: 11px; }
.sort-control select { width: auto; min-height: 36px; padding-block: 7px; background: var(--panel-soft); font-size: 11px; }
.job-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 19px; align-items: start; }
.job-groups { display: grid; gap: 28px; }
.date-group { min-width: 0; }
.date-group-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 15px; padding-block: 4px 12px; margin-bottom: 15px; border-bottom: 1px solid var(--border); }
.date-group-heading h3 { color: var(--gold-soft); font-size: 15px; font-weight: 500; }
.date-group-heading p { color: var(--muted); font-size: 11px; }
.job-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: var(--panel); border: 1px solid var(--border); border-radius: 11px; overflow-wrap: anywhere; }
.job-card:hover { border-color: #67604a; }
.job-card.is-candidate { border-left: 2px solid #67757a; }
.visibility-tag { color: var(--gold); border: 1px solid #756341; padding: 2px 7px; border-radius: 4px; }
.visibility-tag.is-candidate { color: #c1d0d4; border-color: #53666d; }
.candidate-evidence { color: #c1d0d4; font-size: 11px; margin-block: 8px 15px; padding: 10px 12px; background: #b3d2de08; border-radius: 5px; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; font-size: 10px; }
.card-labels { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.category-tag { background: #ffffff06; border: 1px solid #494a40; border-radius: 4px; padding: 2px 7px; color: #d2d3c7; }
.assessment-tag { color: var(--muted); border: 1px solid #45463c; border-radius: 4px; padding: 2px 6px; }
.assessment-tag.is-rules { color: var(--gold); border-color: #665c41; background: #d6bc7c08; }
.new-tag { color: var(--gold); font-size: 9px; padding: 2px 4px; }
.priority-tag { color: var(--gold-soft); flex-shrink: 0; max-width: 45%; }
.card-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; }
.card-heading h4 { font-size: 21px; font-weight: 550; line-height: 1.5; letter-spacing: -.25px; }
.match-score { flex-shrink: 0; text-align: right; }
.match-score > span { display: block; color: var(--muted); font-size: 9px; line-height: 1.4; }
.match-score strong { font-size: 27px; font-weight: 500; color: var(--gold); line-height: 1.4; font-variant-numeric: tabular-nums; }
.match-score.is-unknown strong { color: var(--muted); font-size: 13px; line-height: 2; }
.match-score small { color: var(--muted); font-size: 9px; margin-left: 2px; }
.company-name { color: #cbcbbf; margin-top: 8px; font-size: 13px; }
.assessment-note { color: var(--gold-soft); font-size: 11px; margin-top: 8px; }
.salary-label { color: var(--muted); font-size: 10px; margin-top: 18px; }
.salary-text { color: var(--gold); font-size: 20px; font-weight: 550; margin-top: 3px; line-height: 1.5; }
.salary-text.is-unknown { color: #c0c1b5; font-size: 17px; font-weight: 500; }
.salary-unavailable { color: var(--muted); font-size: 11px; margin-top: 3px; }
.job-facts { display: flex; flex-wrap: wrap; gap: 7px 15px; margin-top: 12px; }
.job-facts > div { display: flex; align-items: baseline; gap: 6px; font-size: 12px; }
.job-facts dt { color: var(--muted); flex-shrink: 0; }
.job-facts dd { color: #ddded3; }
.card-section { margin-top: 20px; }
.card-section h5, .detail-body h5 { font-size: 12px; font-weight: 550; margin-bottom: 6px; }
.card-section ul, .detail-body ul { list-style: none; margin: 0; padding: 0; color: #c0c1b4; font-size: 13px; line-height: 1.85; }
.card-section li + li, .detail-body li + li { margin-top: 5px; }
.reasons-section, .concerns-section { padding-left: 12px; border-left: 2px solid #696247; }
.reasons-section h5 { color: #d0c49f; }
.concerns-section { border-color: #55564a; }
.concerns-section h5 { color: #d3cfbc; }
.job-details { margin-top: 23px; border-top: 1px solid var(--border); }
.job-details summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px; padding-block: 13px; list-style: none; color: var(--muted); font-size: 11px; }
.details-toggle { color: var(--gold-soft); font-size: 14px; }
.job-details[open] .details-toggle { transform: rotate(45deg); }
.detail-body { padding-bottom: 17px; }
.record-facts { margin-top: 16px; }
.record-facts > div { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; font-size: 11px; margin-top: 8px; }
.record-facts dt { color: var(--muted); }
.record-facts dd { color: #cbcbbf; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }
.card-source { display: block; color: #d3d4c8; font-size: 10px; }
.source-retention { display: block; color: var(--muted); font-size: 10px; margin-top: 4px; }
.first-seen { display: block; color: var(--muted); font-size: 10px; margin-top: 3px; }
.source-link { display: flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; color: var(--gold); background: #d6bc7c08; border: 1px solid #655a3e; border-radius: 5px; padding: 9px 11px; font-size: 11px; min-height: 40px; }
.source-link:hover { background: #d6bc7c15; border-color: var(--gold); }
.state-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; min-height: 330px; padding: 40px 24px; background: var(--panel-soft); border: 1px dashed #4d4d40; border-radius: 10px; }
.state-symbol { display: grid; place-items: center; height: 46px; width: 46px; color: var(--gold); font-size: 25px; background: #d6bc7c09; border: 1px solid #55503c; border-radius: 12px; margin-bottom: 20px; }
.state-panel h3 { font-size: 17px; font-weight: 500; }
.state-panel p { max-width: 370px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.state-action { background: transparent; border: 1px solid #665c41; border-radius: 6px; color: var(--gold); padding: 9px 20px; margin-top: 20px; min-height: 42px; }
.state-action:hover { background: #d6bc7c0a; }
.state-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.state-action.secondary { border-color: var(--border); color: var(--text); }
.state-panel .state-context { font-size: 11px; color: var(--gold-soft); }
.results-footnote { color: var(--muted); font-size: 10px; line-height: 1.9; text-align: center; padding: 24px 14px 0; }
.reading-notes { margin-top: 66px; padding-block: 31px 37px; border-block: 1px solid var(--border); }
.notes-heading h2 { font-size: 20px; font-weight: 500; margin-top: 9px; }
.notes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 50px; margin-top: 28px; }
.note-number { color: var(--gold); font-size: 10px; letter-spacing: 1px; }
.notes-grid h3 { font-size: 13px; font-weight: 500; margin-block: 5px 8px; }
.notes-grid p { color: var(--muted); font-size: 11px; line-height: 1.95; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px 32px; color: var(--muted); font-size: 10px; }
.footer-dot { margin-inline: 12px; color: #696b5d; }
.noscript-notice { position: fixed; inset: auto 16px 16px; background: #3e3521; padding: 18px; border: 1px solid var(--gold); border-radius: 8px; text-align: center; z-index: 5; }

@media (max-width: 1120px) {
  .job-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 40px; }
  .job-card { padding: 26px; }
  .card-heading h4 { font-size: 23px; }
  .notes-grid { gap: 32px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 18px; }
  .shell { width: calc(100% - 36px); }
  .site-header { min-height: 77px; gap: 14px; }
  .brand { gap: 9px; }
  .brand img { width: 33px; height: 33px; }
  .brand > span { font-size: 16px; }
  .brand small { font-size: 7px; letter-spacing: 1.8px; }
  .site-header nav { gap: 18px; font-size: 11px; }
  .snapshot-label { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 38px 28px; gap: 29px; }
  .hero .eyebrow { font-size: 10px; }
  h1 { font-size: clamp(31px, 6.9vw, 43px); margin-block: 17px; letter-spacing: -.6px; }
  .hero-description { font-size: 12px; }
  .hero-link { margin-top: 15px; font-size: 12px; }
  .snapshot-card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 15px; padding: 18px 20px; border-radius: 10px; }
  .snapshot-card-top { grid-column: 1 / -1; }
  .total-count { grid-row: 2 / 4; gap: 10px; margin-top: 6px; }
  .total-count strong { font-size: 51px; }
  .total-count > span { font-size: 11px; }
  .new-summary { grid-column: 2; font-size: 10px; margin-top: 13px; }
  .collection-counts { grid-column: 2; gap: 10px; margin-top: 7px; padding-top: 9px; }
  .collection-counts > div { align-items: flex-start; flex-direction: column; gap: 2px; }
  .collection-counts strong { font-size: 18px; }
  .collection-counts span { font-size: 10px; white-space: nowrap; }
  .metric-note { grid-column: 1 / -1; font-size: 10px; margin-top: 11px; }
  .snapshot-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; padding: 17px 18px; font-size: 11px; }
  .scope-meta { grid-column: 1 / -1; }
  .meta-label { font-size: 9px; }
  .automation-panel { padding: 17px 18px; }
  .automation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 18px; }
  .automation-schedule { grid-column: 1 / -1; }
  .shortlist-section { margin-top: 36px; }
  .section-heading { flex-direction: column; align-items: start; gap: 8px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 23px; }
  .section-heading > p { font-size: 10px; }
  .shortlist-layout { grid-template-columns: minmax(0, 1fr); gap: 17px; }
  .shortlist-layout aside, .filters-panel { position: static; }
  .filters-panel > summary { padding: 14px 17px; font-size: 12px; }
  fieldset { padding-inline: 17px; }
  input:not([type="checkbox"]):not([type="radio"]), fieldset select { font-size: 16px; }
  .date-view-option > span { font-size: 11px; gap: 5px; }
  .results-toolbar { gap: 10px; align-items: start; margin-bottom: 14px; }
  #result-count { font-size: 11px; padding-block: 8px; }
  .sort-control { gap: 7px; }
  .sort-control select { font-size: 10px; padding-left: 7px; max-width: 178px; }
  .sort-control label { font-size: 10px; padding-block: 8px; }
  .job-grid { gap: 16px; }
  .job-card { padding: 21px; }
  .card-heading h4 { font-size: 21px; }
  .card-section ul, .detail-body ul { font-size: 14px; }
  .record-facts > div { font-size: 12px; }
  .source-link { min-height: 44px; }
  .state-panel { min-height: 285px; padding-inline: 22px; }
  .reading-notes { margin-top: 42px; padding-block: 26px 30px; }
  .notes-heading h2 { font-size: 18px; }
  .notes-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 22px; }
  .notes-grid > div { position: relative; padding-left: 30px; }
  .note-number { position: absolute; top: 4px; left: 0; }
  .notes-grid h3 { margin-top: 0; }
  .site-footer { flex-direction: column; align-items: start; gap: 7px; padding-block: 23px; }
}

@media (max-width: 380px) {
  .shell { width: calc(100% - 28px); }
  .site-header nav { gap: 12px; }
  .snapshot-card { padding-inline: 16px; grid-template-columns: .8fr 1fr; }
  .collection-counts > div { flex-direction: column; gap: 0; }
  .total-count strong { font-size: 45px; }
  .job-card { padding: 17px; }
  .card-heading { gap: 10px; }
  .card-heading h4 { font-size: 20px; }
  .sort-control label { display: none; }
  .source-link { padding-inline: 8px; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
