:root {
  color-scheme: light;
  --navy: #192c3a;
  --green: #21604d;
  --surface: #fff;
  --line: #d6dfda;
  --muted: #50636b;
  font: 16px/1.55 system-ui, sans-serif;
  color: var(--navy);
  background: #f2f6f3;
}

* { box-sizing: border-box; }
body { margin: 0; }
.frame { width: min(980px, calc(100% - 2rem)); margin-inline: auto; }
.masthead { background: var(--navy); color: white; }
.brand { padding-block: 1rem; font-weight: 750; }
.brand span { margin-inline-start: .9rem; font-weight: 450; color: #d3e4dc; }
main { padding-block: clamp(2rem, 5vw, 4rem); }
h1 { margin: 0 0 1.3rem; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.12; }
h2 { margin: 0; line-height: 1.2; }
form, article { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: clamp(1rem, 4vw, 2rem); }
article { margin-block: 1rem; }
label { display: block; font-weight: 650; margin-bottom: .5rem; }
.search-row { display: flex; flex-wrap: wrap; gap: .6rem; }
input, button { font: inherit; border-radius: 9px; padding: .7rem .95rem; }
input { flex: 1 1 14rem; min-width: 0; border: 1px solid #8ca298; }
button { border: 1px solid var(--green); background: var(--green); color: white; cursor: pointer; font-weight: 650; }
button:hover { filter: brightness(.92); }
button:disabled { opacity: .65; cursor: progress; }
:focus-visible { outline: 3px solid #287c64; outline-offset: 3px; }
.hint { color: var(--muted); margin: .55rem 0 0; }
.scroll { overflow-x: auto; margin-block: 1.2rem; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
caption { text-align: left; margin-bottom: .4rem; font-weight: 650; }
th, td { padding: .65rem; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead { background: #e8f1ec; }
th:first-child { text-align: left; }
.secondary { background: #fff; color: var(--green); }
.analysis { white-space: pre-wrap; overflow-wrap: anywhere; }
.analysis:empty, #status:empty { display: none; }
