:root {
  color-scheme: light;
  --ink: #14231f;
  --ink-soft: #384943;
  --paper: #f4f0e6;
  --white: #fffdf7;
  --signal: #ad3f1b;
  --acid: #c6df4a;
  --blue: #1f5a68;
  --line: rgba(20, 35, 31, 0.22);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.5; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

main { min-height: 100vh; padding: clamp(0.75rem, 2vw, 2rem); }
.table-wrap {
  max-width: 1800px;
  min-height: calc(100vh - clamp(1.5rem, 4vw, 4rem));
  margin: 0 auto;
  overflow: auto;
  background: var(--white);
  border: 1px solid var(--ink);
  box-shadow: 12px 12px 0 rgba(20, 35, 31, 0.12);
}

table { width: 100%; min-width: 1260px; border-collapse: separate; border-spacing: 0; font-size: 0.86rem; }
caption { padding: 0; text-align: left; background: var(--ink); color: var(--paper); }
.caption-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.5rem); }
.eyebrow, .checked-date {
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow { margin-bottom: 0.55rem; color: var(--acid); }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 4rem); font-weight: 400; line-height: 0.95; letter-spacing: -0.045em; }
.checked-date { flex: 0 0 auto; padding-bottom: 0.25rem; color: #b9c5bf; }

th, td { padding: 1.2rem 1rem; text-align: left; vertical-align: top; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
tr > :last-child { border-right: 0; }
tbody tr:last-child > * { border-bottom: 0; }
thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--paper);
  background: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
tbody th { min-width: 150px; position: sticky; left: 0; z-index: 1; background: var(--white); font-size: 1rem; }
tbody tr:hover td, tbody tr:hover th { background: #f2eee2; }
.provider-code {
  width: 2rem;
  height: 2rem;
  display: inline-grid;
  place-items: center;
  margin-right: 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.66rem;
}
.status {
  display: inline-block;
  padding: 0.28rem 0.5rem;
  border: 1px solid currentColor;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.status-request { color: #a53c1d; }
.status-likely { color: #585f11; }
.status-na { color: #5b6863; }
.status-commercial { color: var(--blue); }

@media (max-width: 720px) {
  main { padding: 0; }
  .table-wrap { min-height: 100vh; border: 0; box-shadow: none; }
  .caption-bar { align-items: flex-start; flex-direction: column; gap: 1rem; }
  h1 { font-size: 2.5rem; }
  th, td { padding: 1rem 0.85rem; }
}
