:root {
  color-scheme: light;
  --desk: oklch(92.8% .012 85);
  --paper: oklch(97.6% .008 95);
  --surface: oklch(99.4% .004 95);
  --ink: oklch(24% .02 160);
  --muted: oklch(43% .018 160);
  --accent: oklch(37% .072 158);
  --line: oklch(88.5% .012 95);
  --rule: oklch(78% .016 95);
  --wash: oklch(93.6% .028 145);
  --warning: oklch(44% .09 65);
  --warning-wash: oklch(95.2% .032 80);
  --salary-col: 11rem;
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--desk);
  line-height: 1.75;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
.sheet {
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  outline: 1px solid var(--line);
  outline-offset: -1px;
  padding-bottom: env(safe-area-inset-bottom);
}
.page-header, main, footer { padding-inline: 32px; }
main { flex: 1 0 auto; }
.page-header { padding-top: max(22px, env(safe-area-inset-top)); }
.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-inline: -32px;
  padding: 0 32px 12px;
  border-bottom: 3px double var(--ink);
}
.edition { font-size: 12px; color: var(--muted); }
.mast-tools { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.dateline { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.dateline:empty { display: none; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 750;
  font-size: 15px;
  letter-spacing: .14em;
  line-height: 1;
  min-height: 32px;
}
.brand-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--accent);
  transform: rotate(45deg);
}
.page-title { padding-block: 20px 16px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 32px; line-height: 1.25; font-weight: 700; }
h1::after {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
}
.page-title p, .missing > p { margin-top: 8px; color: var(--muted); font-size: 13px; }
button, select {
  font: inherit;
  color: inherit;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
button { cursor: pointer; padding: 8px 14px; font-size: 13px; font-weight: 650; }
button, .actions a {
  transition: transform 140ms var(--ease), background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}
.quiet-button, #clear, #more {
  border: 0;
  border-radius: 0;
  background: transparent;
}
.quiet-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 32px;
  padding: 0 2px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.quiet-button::before { content: ""; position: absolute; inset: -8px -10px; }
.refresh-mark { margin-inline-start: 6px; }
button:disabled { opacity: .55; cursor: wait; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
button, summary, a, select { touch-action: manipulation; }
.notice {
  color: var(--warning);
  font-size: 13px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: var(--warning-wash);
  border-radius: var(--radius);
}
.notice:empty { display: none; }
.notice::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
  margin: 0 8px 2px 0;
}
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms var(--ease);
  flex: 0 0 7px;
}
details[open] > summary .chevron { transform: translateY(2px) rotate(225deg); }
.filter-panel { margin-inline: -32px; padding-inline: 32px; border-block: 1px solid var(--line); }
.filter-panel > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 13px;
}
.filter-panel > summary > span:first-child { font-weight: 650; }
#filter-state { color: var(--muted); margin-left: auto; text-align: right; min-width: 0; }
.is-filtered #filter-state { color: var(--accent); font-weight: 650; }
.filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px 16px;
  align-items: end;
  padding: 4px 0 18px;
}
.filters-demo { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; }
.field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 650;
  color: var(--muted);
  min-width: 0;
}
.field::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 16px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}
select {
  appearance: none;
  width: 100%;
  min-width: 0;
  padding: 8px 22px 8px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  font-weight: 450;
  color: var(--ink);
}
#clear {
  padding-inline: 0;
  color: var(--accent);
  justify-self: start;
}
.results-bar {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 10px;
}
#count { font-size: 15px; font-weight: 600; }
.count-num { font-variant-numeric: tabular-nums; font-weight: 750; }
.results-bar > span, .when, .dateline, .source-time, .salary { font-variant-numeric: tabular-nums; }
.results-bar > span {
  flex: none;
  width: var(--salary-col);
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}
#message:empty, #jobs:empty { display: none; }
#message {
  padding: 22px 0 26px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
#jobs { margin-inline: -32px; border-top: 1px solid var(--ink); }
.job { overflow-wrap: anywhere; scroll-margin-top: 16px; padding-inline: 32px; border-bottom: 1px solid var(--line); }
.job > summary { padding-block: 18px 16px; }
.job-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 20px;
  align-items: baseline;
}
.job-heading h2 { min-width: 0; font-size: 18px; font-weight: 650; line-height: 1.5; }
.salary {
  width: var(--salary-col);
  color: var(--accent);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
  text-align: right;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.salary-unknown { color: var(--muted); font-weight: 600; }
.job-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 0;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
.job-facts span + span::before { content: "·"; margin-inline: 8px; color: oklch(62% .02 150); }
.location { color: var(--ink); font-weight: 600; }
.job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.status { display: inline-flex; align-items: center; gap: 5px; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status-active, .cue-call { color: var(--accent); }
.status-unverified, .is-stale .source-age { color: var(--warning); }
.cue-call { font-weight: 650; }
.disclosure {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 650;
  white-space: nowrap;
}
.when-open, .job[open] > summary .when-closed { display: none; }
.job[open] > summary .when-open { display: inline; }
.job[open] { background: var(--wash); }
.job-body { padding-bottom: 8px; }
.contact-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 14px -32px 0;
  padding: 16px 32px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.eyebrow { font-size: 12px; font-weight: 650; color: var(--muted); }
h3 { font-size: 16px; font-weight: 650; line-height: 1.5; }
.contact-block h3 { margin-top: 2px; }
.contact-block .contact-hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 9px 14px;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.action-primary { background: var(--accent); color: white; border: 1px solid var(--accent); }
.action-secondary { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.job-fields, .evidence dl { margin: 0; }
.job-fields > div, .evidence dl > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  column-gap: 16px;
  align-items: baseline;
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.job-fields dt, .evidence dt { color: var(--muted); }
.job-fields dd, .evidence dd { margin: 0; white-space: pre-wrap; }
.missing-fields { font-size: 12px; color: var(--muted); padding-top: 12px; }
.description { margin-top: 16px; }
.description h3 { font-size: 14px; }
.description p { max-width: 62ch; margin-top: 6px; font-size: 14px; line-height: 1.8; white-space: pre-wrap; }
.evidence { margin-top: 8px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.evidence > summary, .source-panel > summary {
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.evidence dl > div { font-size: 12px; }
.evidence > a { display: inline-block; padding: 10px 0 12px; }
.related-list { margin-top: 8px; padding-bottom: 8px; }
.related-list h3 { font-size: 14px; }
.meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.related {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
}
.related::after { content: "↗"; color: var(--accent); flex: none; }
#more {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline: -32px;
  padding: 14px 32px 16px;
  text-align: left;
  color: var(--accent);
  border-bottom: 1px solid var(--line);
}
#more .chevron { color: var(--accent); }
.source-panel {
  margin: 28px -32px 0;
  padding-inline: 32px;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.source-panel > summary { font-weight: 650; min-height: 52px; color: var(--ink); }
.source-body { padding-bottom: 16px; }
#snapshot { color: var(--ink); padding-bottom: 8px; }
#sources { list-style: none; margin: 0; padding: 0; }
.source-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 8rem) minmax(5rem, 7rem) minmax(8rem, 1fr) auto;
  gap: 4px 16px;
  align-items: baseline;
  padding-block: 10px;
  border-top: 1px solid var(--line);
}
.source-name { color: var(--ink); font-weight: 650; }
.source-note { margin-top: 12px; max-width: 62ch; }
footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 16px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
footer > span { font-weight: 750; letter-spacing: .14em; font-size: 12px; }
footer p { text-align: right; }
.missing { padding-top: 28px; padding-bottom: 48px; }
.missing .actions { margin-top: 22px; }
.skip { position: absolute; top: -100px; background: var(--surface); padding: 12px; z-index: 1; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }
@media (hover: hover) {
  .job:not([open]) > summary:hover { background: oklch(95.4% .012 95); }
  .field:hover select, .quiet-button:hover, #clear:hover, #more:hover, .action-secondary:hover { border-color: var(--accent); }
  .action-primary:hover { background: var(--ink); border-color: var(--ink); }
  .related:hover { color: var(--accent); }
  #clear:hover, #more:hover { color: var(--ink); }
}
button:active:not(:disabled):not(:focus-visible),
.actions a:active:not(:focus-visible) { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) {
  .chevron, button, .actions a { transition: none; }
}
@media (max-width: 900px) {
  .filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-block { align-items: flex-start; flex-direction: column; gap: 14px; }
  .source-row { grid-template-columns: minmax(5rem, 8rem) minmax(5rem, 1fr); }
  .source-time { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .page-header, main, footer { padding-inline: 18px; }
  .page-header { padding-top: max(16px, env(safe-area-inset-top)); }
  .masthead, .filter-panel, .source-panel { margin-inline: -18px; padding-inline: 18px; }
  .masthead { padding-bottom: 10px; }
  #jobs { margin-inline: -18px; }
  .job { padding-inline: 18px; }
  .contact-block { margin-inline: -18px; padding-inline: 18px; }
  #more { margin-inline: -18px; padding-inline: 18px; }
  .page-title { padding-block: 16px 12px; }
  .mast-tools { gap: 12px; }
  .results-bar > span, .salary { width: auto; }
  h1 { font-size: 24px; }
  h1::after { margin-top: 8px; }
  .page-title p { font-size: 12px; }
  .quiet-button { font-size: 12px; }
  .notice { font-size: 12px; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #clear { grid-column: 1 / -1; }
  select { font-size: 16px; }
  .results-bar { padding-top: 14px; }
  .job > summary { padding-block: 16px 14px; }
  .job-heading { grid-template-columns: 1fr; gap: 4px; }
  .job-heading h2, .salary { font-size: 17px; }
  .salary { max-width: none; text-align: left; padding-left: 0; border-left: 0; }
  .job-facts { flex-direction: column; gap: 2px; }
  .job-facts span + span::before { content: none; margin: 0; }
  .job-meta { gap: 5px 10px; margin-top: 10px; }
  .contact-block { padding-block: 14px; }
  .job-fields > div, .evidence dl > div { grid-template-columns: 1fr; row-gap: 2px; }
  .source-row { grid-template-columns: 1fr 1fr; }
  footer { flex-direction: column; gap: 8px; }
  footer p { text-align: left; }
}
