:root {
  color-scheme: light;
  --bg: #f5f6f8;
  --surface: #fff;
  --ink: #142033;
  --muted: #536277;
  --line: #dce2e9;
  --accent: #175bd4;
  --soft: #edf3ff;
  --danger: #a32730;
  --success: #146c4a;
  --warning: #805314;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 5; padding: 10px 18px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header, main, footer { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 27px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.3px; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; background: var(--ink); color: var(--surface); border-radius: 9px; font-size: 23px; }
.source-link { font-size: .86rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.intro { padding-block: 63px 33px; max-width: 780px; }
.eyebrow { margin: 0 0 17px; text-transform: uppercase; font-size: .72rem; font-weight: 750; letter-spacing: 1.6px; color: var(--muted); }
.intro .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); }
.intro .eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.08; letter-spacing: -2.5px; margin: 0 0 25px; font-weight: 750; }
h1 em { color: var(--accent); font-style: normal; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 590px; margin: 0; }
.lede strong { color: var(--ink); font-weight: 600; }
.scope-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 23px; }
.scope-tags span { font-size: .76rem; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 3px 11px; color: var(--muted); }
.search-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 27px 30px; box-shadow: 0 8px 35px #14203304; }
.search-panel h2 { font-size: 1.05rem; margin: 0 0 17px; }
label { display: block; font-size: .85rem; font-weight: 650; margin-bottom: 7px; }
.form-row { display: flex; gap: 12px; }
.input-wrap { flex: 1; position: relative; min-width: 0; }
.input-wrap > span { position: absolute; top: 12px; left: 16px; color: var(--muted); font-size: 1.1rem; }
input { width: 100%; height: 51px; border: 1px solid #a7b3c2; border-radius: 8px; padding: 11px 14px 11px 42px; color: var(--ink); background: var(--surface); }
input::placeholder { color: var(--muted); opacity: .8; }
input[aria-invalid="true"] { border-color: var(--danger); }
button { border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: #fff; padding: 11px 21px; font-weight: 650; font-size: .9rem; min-height: 44px; }
button:hover { filter: brightness(.94); }
#search-button { display: flex; align-items: center; justify-content: center; gap: 22px; }
.help { margin: 10px 0 0; font-size: .79rem; color: var(--muted); }
.form-error { color: var(--danger); font-size: .86rem; margin: 12px 0 0; }
.results-panel { margin-top: 43px; }
.results-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.results-header .eyebrow { margin-bottom: 6px; font-size: .67rem; }
.results-header h2 { font-size: 1.5rem; line-height: 1.3; letter-spacing: -.6px; margin: 0; }
.controls { display: flex; gap: 8px; }
.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); padding-inline: 14px; }
.status { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 21px 23px; }
#status-marker { flex: 0 0 9px; height: 9px; border-radius: 50%; background: var(--muted); margin-top: 8px; }
.status strong { font-size: .94rem; font-weight: 650; }
.status p { color: var(--muted); margin: 3px 0 0; font-size: .86rem; overflow-wrap: anywhere; }
[data-state="loading"] #status-marker { background: var(--accent); box-shadow: 0 0 0 5px var(--soft); }
[data-state="complete"] #status-marker, [data-state="empty"] #status-marker { background: var(--success); }
[data-state="paused"] #status-marker, [data-state="partial"] #status-marker { background: var(--warning); }
[data-state="error"] #status-marker { background: var(--danger); }
.retrieval-meta { font-size: .76rem; color: var(--muted); overflow-wrap: anywhere; margin: 15px 0; }
.table-region { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.table-hint { display: none; }
table { border-collapse: collapse; width: 100%; min-width: 660px; text-align: left; font-size: .87rem; }
caption { text-align: left; padding: 12px 19px; font-size: .75rem; color: var(--muted); border-bottom: 1px solid var(--line); }
th { font-size: .74rem; font-weight: 650; color: var(--muted); background: var(--bg); padding: 12px 19px; white-space: nowrap; }
th span { font-weight: 400; }
td { padding: 17px 19px; border-top: 1px solid var(--line); vertical-align: top; }
td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
td:nth-child(2) { white-space: nowrap; }
td:nth-child(3) { min-width: 180px; overflow-wrap: anywhere; }
td:last-child { width: 48%; min-width: 220px; overflow-wrap: anywhere; }
td a { text-decoration: none; font-weight: 600; }
td a:hover { text-decoration: underline; }
tbody tr:hover { background: var(--soft); }
.coverage { margin-block: 33px 55px; display: flex; gap: 14px; color: var(--muted); max-width: 900px; }
.coverage-icon { display: grid; place-items: center; border: 1px solid #8c9aab; border-radius: 50%; width: 19px; height: 19px; font: 700 12px Georgia, serif; flex-shrink: 0; margin-top: 3px; }
.coverage h2 { font-size: .84rem; margin: 0 0 6px; color: var(--ink); }
.coverage p { margin: 0 0 9px; font-size: .79rem; line-height: 1.7; }
footer { border-top: 1px solid var(--line); padding-block: 23px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .72rem; color: var(--muted); }
.noscript { padding: 20px; color: var(--danger); text-align: center; }
@media (max-width: 600px) {
  .site-header, main, footer { width: calc(100% - 32px); }
  .site-header { padding-block: 19px; }
  .brand { font-size: .82rem; gap: 7px; }
  .source-link { font-size: .73rem; }
  .brand-mark { width: 26px; height: 26px; font-size: 19px; }
  .intro { padding-block: 40px 28px; }
  h1 { letter-spacing: -1.5px; }
  .lede { font-size: 1rem; }
  .search-panel { padding: 21px 19px; }
  .form-row { flex-direction: column; }
  #search-button { width: 100%; }
  .results-header { align-items: flex-start; flex-direction: column; }
  .results-header h2 { font-size: 1.3rem; }
  .status { padding: 17px; }
  .table-hint { display: block; color: var(--muted); font-size: .74rem; margin: 0; padding: 10px 17px; border-bottom: 1px solid var(--line); }
  .coverage { margin-bottom: 35px; }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --bg: #101720; --surface: #182330; --ink: #e6edf5; --muted: #aab8cb; --line: #344254; --accent: #84b4ff; --soft: #22364e; --danger: #ff9c9c; --success: #67d7aa; --warning: #ebc079; }
  button:not(.secondary) { background: #246bdd; color: #fff; }
}
@media (forced-colors: active) {
  .brand-mark, #status-marker { border: 1px solid CanvasText; }
}
