/* Water Policy & Regulation Landscape — one stylesheet, no build step.
   Palette and family from the PFAS map exhibit's white version (values
   copied, not imported; the repo stays self-contained): off-white
   ground, ink scale, hairlines, the validated blue accent, system
   type. The SCALE is this page's own — the map's 14px annotation scale
   was built for a page dominated by a national map; this page is
   entirely text and reads as a document (Eric, 2026-09-10):

     base            16px desktop / 17px <= 640px (never smaller on
                     mobile; a phone reader is further from the screen)
     body copy       1em / 1.6 line-height, 65ch measure
     card titles     19px / 650
     section heads   23px / 700
     group heads     14px / 700 uppercase, ink-2 (not muted)
     secondary       14px at ink-2; mono details 13px
     disclosures     tappable bordered chips, not a 9px caret

   Document scrolling: no viewport locks, no internal vertical scroll
   regions; only wide tables scroll horizontally inside .scrollwrap. */

:root { color-scheme: light; }

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: #f9f9f7;
  color: #0b0b0b;
}

:root {
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --ink-muted: #898781;
  --hairline: #e1e0d9;
  --border: rgba(11, 11, 11, 0.10);
  --accent: #256abf;
  --alert: #eb6834;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

a { color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
a:hover { text-decoration: underline; }

#app-header {
  padding: 18px 24px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
#app-header h1 { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
#app-header .meta { margin: 0; color: var(--ink-2); font-size: 15px; }

#app-main { max-width: 52rem; margin: 0 auto; padding: 8px 24px 64px; }
#app-footer { padding: 8px 24px; }
.boot-note { color: var(--ink-2); padding: 2rem; }

#refusal-banner {
  background: #fdf1ec;
  color: #8a3416;
  border-bottom: 1px solid var(--alert);
  padding: 10px 24px;
  font-family: var(--mono);
  font-size: 14px;
}

section { margin-top: 40px; }
section > h2 {
  font-size: 23px;
  font-weight: 700;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--hairline);
}
/* group headings: clearly present, not map-legend whispers */
section h2[style] {
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 26px 0 10px;
  padding: 0;
  border: none;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 12px 0;
}
.itemcard h3 {
  margin: 4px 0 8px;
  font-size: 19px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.itemcard h3 .mono { font-weight: 400; }

/* boxed Items In Motion entries: same card weight as the board */
.sop-card { font-size: 1em; line-height: 1.55; }
.sop-card .sop-detail { margin-top: 5px; }

.sop-entry {
  padding: 10px 2px;
  border-bottom: 1px solid var(--hairline);
  font-size: 1em;
  line-height: 1.55;
}
.sop-detail { font-size: 15px; color: var(--ink-2); margin-top: 3px; max-width: 65ch; }

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 9px;
  vertical-align: middle;
}
.b-open { color: var(--surface); background: var(--accent); border-color: var(--accent); }
.b-closed, .b-nowindow, .b-stage { color: var(--ink-2); }

table { border-collapse: collapse; width: 100%; font-size: 15px; }
th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 1px solid var(--hairline);
  padding: 6px 10px;
}
td { border-bottom: 1px solid var(--hairline); padding: 8px 10px; vertical-align: top; }
.scrollwrap { overflow-x: auto; }

.mono { font-family: var(--mono); font-size: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.prov { font-family: var(--mono); font-size: 13px; color: var(--ink-2); line-height: 1.55; overflow-wrap: anywhere; }
.absent { color: var(--ink-2); font-style: italic; }

/* the card paragraph is the point: body copy, comfortable measure */
.judgment {
  border-left: 3px solid var(--hairline);
  padding: 4px 0 4px 14px;
  margin: 10px 0;
  font-size: 1em;
  line-height: 1.6;
  max-width: 65ch;
  color: var(--ink);
}

.loudnote {
  background: #fdf1ec;
  border: 1px solid var(--alert);
  border-radius: 8px;
  padding: 12px 16px;
  color: #8a3416;
  font-size: 15px;
  margin: 12px 0;
}

.kv { margin: 8px 0; font-size: 1em; line-height: 1.55; max-width: 65ch; overflow-wrap: anywhere; }
.kv .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-right: 3px;
}

details > summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  color: var(--ink-2);
}
details > summary:hover { color: var(--ink); }
details[open] > summary { margin-bottom: 8px; }

/* source disclosures: a real target, not a caret */
.prov-d { display: block; margin-top: 6px; }
.prov-d > summary {
  display: inline-block;
  list-style: none;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.03em;
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  background: var(--page);
}
.prov-d > summary::-webkit-details-marker { display: none; }
.prov-d > summary { text-transform: capitalize; }
.prov-d[open] > summary { background: var(--surface); color: var(--ink); }
.prov-d > div {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  background: var(--page);
  border-left: 3px solid var(--hairline);
  padding: 10px 14px;
  margin: 8px 0;
  max-width: 60rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.limits { padding-left: 1.3rem; }
.limits li { font-size: 14px; color: var(--ink-2); margin: 6px 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  #app-header { padding: 14px 16px 12px; }
  #app-header h1 { font-size: 22px; }
  #app-main { padding: 6px 16px 48px; }
  section > h2 { font-size: 21px; }
  .panel { padding: 13px 14px; border-radius: 10px; }
  .prov-d > summary { padding: 7px 16px; }   /* comfortable tap target */
  table { font-size: 15px; }
}
