:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #6d7479;
  --line: #e5e7e6;
  --paper: #f6f7f5;
  --card: #ffffff;
  --teal: #007c78;
  --teal-dark: #005d5b;
  --amber: #efb344;
  --red: #b64e43;
  font-family: "Manrope", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.topbar { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--ink); color: var(--amber); font: 500 16px "DM Mono", monospace; letter-spacing: -1px; }
.brand-kicker, .brand-title { display: block; }
.brand-kicker { margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.brand-title { font-size: 15px; font-weight: 800; }
.topbar-meta { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px #d9efeb; }
.ghost-button { margin-left: 11px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 800; }
.ghost-button:hover:not(:disabled) { border-color: var(--ink); }
.ghost-button:disabled { opacity: .55; cursor: wait; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 76px 0 42px; }
.eyebrow { margin: 0 0 9px; color: var(--teal); font: 500 11px "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -.045em; }
h1 { max-width: 680px; font-size: clamp(38px, 5vw, 70px); line-height: .98; }
h2 { font-size: 25px; }
.intro-copy { max-width: 530px; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.last-updated { min-width: 155px; padding-bottom: 5px; text-align: right; }
.last-updated strong { display: block; font-size: 12px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric-card { min-height: 160px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.metric-primary { background: var(--ink); color: white; border-color: var(--ink); }
.metric-label, .metric-note { display: block; font-size: 12px; font-weight: 700; }
.metric-label { color: var(--muted); }
.metric-primary .metric-label, .metric-primary .metric-note { color: #b6c1c2; }
.metric-card strong { display: block; margin: 28px 0 5px; font-size: 40px; letter-spacing: -.06em; }
.metric-note { color: var(--muted); font-weight: 500; }
.data-section { margin: 86px 0 64px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 28px; }
.search-box { display: flex; align-items: center; gap: 8px; width: min(300px, 100%); padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.search-box svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 1.7; }
.search-box input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 0 0 13px; border: 0; background: none; color: var(--muted); font-size: 12px; font-weight: 800; }
.tab.is-active { color: var(--ink); }
.tab.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--teal); content: ""; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th { padding: 16px 14px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { padding: 16px 14px; border-top: 1px solid var(--line); white-space: nowrap; }
td:first-child, th:first-child { padding-left: 0; }
td:last-child, th:last-child { padding-right: 0; }
td strong { display: block; font: 500 12px "DM Mono", monospace; }
.cell-subtitle { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.vacancy-pill { display: inline-block; min-width: 28px; padding: 4px 7px; border-radius: 99px; background: #fff0df; color: #9b5e14; font: 500 11px "DM Mono", monospace; text-align: center; }
.vacancy-pill.is-full { background: #ddf2eb; color: var(--teal-dark); }
.progress-cell { display: flex; align-items: center; gap: 10px; min-width: 130px; font: 500 11px "DM Mono", monospace; }
.progress { display: block; width: 78px; height: 5px; overflow: hidden; border-radius: 99px; background: #e8edeb; }
.progress i { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.person-name { font-weight: 700; }
.empty-state { padding: 28px 0; color: var(--muted); font-size: 13px; }
.error-panel { display: flex; gap: 8px; margin: 0 0 18px; padding: 13px 15px; border: 1px solid #efc9c4; border-radius: 10px; background: #fff4f2; color: var(--red); font-size: 12px; }
.error-panel span { color: #80534d; }
.footer { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font: 10px "DM Mono", monospace; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .shell { width: min(100% - 30px, 620px); }
  .topbar { min-height: 76px; }
  .topbar-meta { font-size: 0; }
  .ghost-button { font-size: 11px; }
  .intro { display: block; padding: 54px 0 32px; }
  .intro-copy { font-size: 14px; }
  .last-updated { margin-top: 30px; text-align: left; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card { min-height: 135px; padding: 17px; }
  .metric-card strong { margin-top: 22px; font-size: 32px; }
  .data-section { margin-top: 60px; }
  .section-heading { display: block; }
  .search-box { margin-top: 20px; width: 100%; }
  th, td { padding-right: 12px; }
  .footer { display: block; line-height: 1.7; }
}
