:root {
  color-scheme: light;
  --forest: #204235;
  --ink: #20302b;
  --muted: #52635a;
  --paper: #f7f8f3;
  --surface: #fff;
  --line: #cbd6cc;
  --error: #982f24;
  font: 16px/1.5 "Aptos", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--forest); }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #a36918; outline-offset: 3px; }
.masthead { color: white; background: var(--forest); }
.masthead-inner { width: min(100% - 32px, 960px); margin: auto; min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { color: inherit; text-decoration: none; font-size: 1.2rem; }
.wordmark strong { letter-spacing: .075em; }
.main { width: min(100% - 32px, 960px); margin: clamp(24px, 6vw, 72px) auto; }
.auth { max-width: 425px; }
h1 { margin: 0 0 24px; font-size: clamp(1.75rem, 5vw, 2.85rem); line-height: 1.08; letter-spacing: -.025em; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); }
.title-row { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; }
.tool-list { border-block: 1px solid var(--line); }
.tool-list a { padding: clamp(16px, 3.2vw, 30px) 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; }
.tool-list a + a { border-top: 1px solid var(--line); }
.tool-list a:hover, .report-dates a:hover { background: #e8eee6; }
.tool-list strong { display: block; font-size: clamp(1.12rem, 4vw, 1.6rem); }
.tool-list small { display: block; color: var(--muted); font-size: .9rem; }
.open-label { white-space: nowrap; font-size: .88rem; font-weight: 650; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 5px; font-weight: 600; }
input:not([type=checkbox]) { width: 100%; padding: 9px 10px; min-height: 44px; border: 1px solid #8e9e93; border-radius: 5px; background: var(--surface); color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 400; }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--forest); }
button { min-height: 44px; padding: 8px 14px; border-radius: 5px; cursor: pointer; border: 1px solid transparent; }
.primary { justify-self: start; font-weight: 650; color: white; background: var(--forest); }
.secondary { color: white; border-color: #b6cabc; background: transparent; }
.error { border-left: 3px solid var(--error); padding-left: 10px; color: var(--error); }
.qr { width: min(100%, 210px); margin: 0 0 8px; }
.qr svg { display: block; width: 100%; height: auto; background: white; }
summary { cursor: pointer; color: var(--forest); font-weight: 650; }
.auth details { margin: 0 0 18px; }
.seed { display: block; overflow-wrap: anywhere; padding: 8px 0; }
.upload { border-block: 1px solid var(--line); margin-bottom: 20px; padding: 12px 0; }
.upload form { max-width: 440px; margin: 12px 0; }
.report-dates { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.report-dates a { padding: 7px 10px; text-decoration: none; }
.report-dates [aria-current=page] { background: var(--forest); color: white; }
.report-frame { width: 100%; min-height: 68vh; border: 1px solid var(--line); background: white; }
