/* FLS Project Intelligence: the one stylesheet every page loads before its own <style>.
   The language is the evaluation page's (public/evaluation.html), one size up: a slim Deep Canopy bar, one white
   sheet on a tinted ground, quiet cards inside it. Three levels only: frame, sheet, card.
   The reader is a project manager who has never been shown this tool. So: running text is 16px in full ink,
   nothing a person must read is under 13px, labels are sentence case, an abbreviation sits beside its meaning,
   a status is said in words as well as colour, and colour appears on data and status only.
   Page styles may add layout; they take every colour, size, radius and space from the tokens here. */

@font-face { font-family: "DM Serif Text"; src: url(/fonts/dm-serif-text-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/fonts/work-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(/fonts/work-sans-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/geist-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  /* surfaces and lines */
  --ground: #edf1ed; --surface: #ffffff; --raised: #f5f7f5; --active: #e5eae5;
  --border: #dfe5df; --rule: #ecefec; --control: #c6cfc7;
  /* text: three tiers, each 4.5:1 or better on every surface above */
  --text: #1b211c; --muted: #535e56; --faint: #667168;
  /* the bar */
  --bar: #2C4C34; --bar-deep: #24402e; --bar-ink: #ffffff; --bar-sub: #cfe0d3;
  /* the one interactive colour: links, focus, the selected control, the primary button */
  --accent: #096553; --accent-ink: #ffffff;
  /* status as pale pairs: a tint with ink of its own hue */
  --critical-bg: #fdecea; --critical-ink: #8a1c1c; --high-bg: #fdeee0; --high-ink: #8f3a05; --medium-bg: #fbf3cf; --medium-ink: #6b5200;
  --info-bg: #e8eef6; --info-ink: #24426e; --positive-bg: #dff5e6; --positive-ink: #0d4a26; --quiet-bg: #eaeeea; --quiet-ink: #47514a;
  /* community readiness (CRI) bands, one set for the whole product */
  --band-support: #1a8448; --band-lean-support: #7fb93c; --band-neutral: #d9b310; --band-lean-opposed: #e57a2e; --band-opposed: #cf3a2e; --band-unknown: #5b84c4;
  --band-passive: #9aa39a; --on-band-dark: #ffffff; --on-band-light: #1b211c;
  /* type */
  --font: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-title: "DM Serif Text", Georgia, serif;
  --font-code: "Geist Mono", ui-monospace, Menlo, monospace;
  --fs-title: 30px; --fs-section: 22px; --fs-card: 17px; --fs-body: 16px; --fs-table: 15px; --fs-small: 14px; --fs-micro: 13px; --fs-figure: 30px;
  /* space and shape */
  --page-width: 1280px; --page-wide: 1640px; --gutter: 24px; --sheet-pad: 32px; --gap: 16px; --block-gap: 32px;
  --radius-sheet: 16px; --radius-card: 8px; --radius-control: 8px; --radius-chip: 6px;
  --control-height: 40px; --row-height: 48px; --bar-height: 60px;
  --shadow-float: 0 12px 32px rgba(20, 30, 22, .16);

  /* names the older page styles still use, pointed at the tokens above so nothing drifts */
  --page: var(--ground); --ink: var(--text); --ink-2: var(--muted); --hairline: var(--border);
  --header: var(--bar); --header-ink: var(--bar-ink); --header-sub: var(--bar-sub); --interactive: var(--accent); --tint: var(--raised);
  --support: var(--band-support); --lean-support: var(--band-lean-support); --neutral: var(--band-neutral);
  --lean-opposed: var(--band-lean-opposed); --opposed: var(--band-opposed); --blue: var(--band-unknown); --na: var(--band-passive);
  --risk-red: #c8362b; --risk-yellow: #c99700; --risk-green: #1f7a3a; --risk-blue: #3f6fb8;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --ground: #0c110d; --surface: #141a15; --raised: #1a221c; --active: #243027;
  --border: #27302a; --rule: #1f2721; --control: #3c4a40;
  --text: #eef2ec; --muted: #b0bab0; --faint: #939d93;
  --bar: #1c2b20; --bar-deep: #16221a; --bar-sub: #a9c3af; --accent: #3cc7b0; --accent-ink: #0c110d;
  --critical-bg: #3a1b1b; --critical-ink: #f4aaa3; --high-bg: #3a2412; --high-ink: #f2b684; --medium-bg: #33290a; --medium-ink: #e6cf70;
  --info-bg: #172640; --info-ink: #a8c4f2; --positive-bg: #14301f; --positive-ink: #8fdcab; --quiet-bg: #232a25; --quiet-ink: #b0bab0;
  --band-unknown: #6d97d8; --band-passive: #6f786f;
  --risk-red: #e0685d; --risk-yellow: #d9b540; --risk-green: #58b877; --risk-blue: #7fa6e6;
  --shadow-float: 0 12px 32px rgba(0, 0, 0, .5);
  color-scheme: dark; } }
:root[data-theme="dark"] {
  --ground: #0c110d; --surface: #141a15; --raised: #1a221c; --active: #243027;
  --border: #27302a; --rule: #1f2721; --control: #3c4a40;
  --text: #eef2ec; --muted: #b0bab0; --faint: #939d93;
  --bar: #1c2b20; --bar-deep: #16221a; --bar-sub: #a9c3af; --accent: #3cc7b0; --accent-ink: #0c110d;
  --critical-bg: #3a1b1b; --critical-ink: #f4aaa3; --high-bg: #3a2412; --high-ink: #f2b684; --medium-bg: #33290a; --medium-ink: #e6cf70;
  --info-bg: #172640; --info-ink: #a8c4f2; --positive-bg: #14301f; --positive-ink: #8fdcab; --quiet-bg: #232a25; --quiet-ink: #b0bab0;
  --band-unknown: #6d97d8; --band-passive: #6f786f;
  --risk-red: #e0685d; --risk-yellow: #d9b540; --risk-green: #58b877; --risk-blue: #7fa6e6;
  --shadow-float: 0 12px 32px rgba(0, 0, 0, .5);
  color-scheme: dark; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 var(--fs-body)/1.5 var(--font); font-variant-numeric: tabular-nums; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font: 400 var(--fs-title)/1.15 var(--font-title); letter-spacing: -.01em; }
h2 { font: 400 var(--fs-section)/1.2 var(--font-title); }
h3 { font: 600 var(--fs-card)/1.3 var(--font); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.num { font-variant-numeric: tabular-nums; }
td.num, th.num { text-align: right; }
.code { font-family: var(--font-code); font-size: .92em; letter-spacing: 0; }   /* real codes only: a project index, a parcel number */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the bar: the same on every page ---------- */
body > header, header.top { background: var(--bar); color: var(--bar-ink); min-height: var(--bar-height); padding: 8px var(--gutter);
  display: flex; align-items: center; gap: 8px 28px; flex-wrap: wrap; }
.lockup { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.lockup img { width: 34px; height: 34px; display: block; }
.lockup .fls { font: 400 19px/1.1 var(--font-title); white-space: nowrap; }
.lockup .app { font: 600 11.5px/1.2 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--bar-sub); margin-top: 3px; white-space: nowrap; }
.tabs { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; min-width: 0; }
.tabs a { color: var(--bar-sub); text-decoration: none; font: 600 15px/1 var(--font); padding: 11px 13px; border-radius: 999px; white-space: nowrap; }
.tabs a:hover { color: var(--bar-ink); background: rgba(255, 255, 255, .09); }
.tabs a.active, .tabs a[aria-current="page"] { color: var(--bar-ink); background: rgba(255, 255, 255, .17); }
header a#fls-settings { font-size: var(--fs-small); padding: 9px 14px; border-color: rgba(255, 255, 255, .3); opacity: 1; }
.gm, .gm-badge, .wordmark { display: inline-flex; align-items: center; gap: 7px; font: 400 var(--fs-micro)/1 var(--font); color: var(--bar-sub); white-space: nowrap; }
.gm { font-size: var(--fs-small); gap: 8px; }
.gm::before { content: ""; width: 18px; height: 20px; background: url(/assets/geomesh-mark.svg) center / contain no-repeat; }
.gm-badge svg { width: 15px; height: 15px; }
.synced { font: 400 var(--fs-micro)/1 var(--font); color: var(--bar-sub); white-space: nowrap; }
header .gm, header .gm-badge, header .wordmark, header .synced { margin-left: auto; }
header .gm ~ a#fls-settings, header .gm-badge ~ a#fls-settings, header .wordmark ~ a#fls-settings, header .synced ~ a#fls-settings { margin-left: 0; }
/* The bar stays one row on a laptop: with the tab row present the credit moves to the foot of the page, and the
   tabs tighten a little below 1500px. Every page carries the credit once, under its sheet. */
header:has(.tabs) .gm, header:has(.tabs) .gm-badge, header:has(.tabs) .wordmark { display: none; }
header:has(.tabs) a#fls-settings { margin-left: auto; }
body > header, header.top { flex-wrap: nowrap; }
.tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
@media (max-width: 1500px) { .tabs a { font-size: 14.5px; padding: 11px 10px; } body > header, header.top { gap: 8px 18px; } }
@media (max-width: 1280px) { .tabs a { font-size: 14px; padding: 10px 8px; } .lockup .app { display: none; } }
/* The GeoMesh credit under every sheet: the mark beside the words, large enough to read (Jon, 2026-11-19). */
main::after { content: "Powered by GeoMesh"; display: block; width: max-content; margin: 30px auto 4px; padding-left: 32px; min-height: 26px; line-height: 26px; background: url(/assets/geomesh-mark.svg) left center / 23px 26px no-repeat; font: 500 var(--fs-body)/26px var(--font); color: var(--muted); }

/* ---------- the frame, the sheet and the page head ---------- */
main { max-width: var(--page-width); margin: 0 auto; padding: 20px var(--gutter) 64px; }
main.wide { max-width: var(--page-wide); }
.sheet { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sheet); padding: var(--sheet-pad); }
.sheet > * + * { margin-top: var(--block-gap); }
.sheet .bleed { margin-left: calc(var(--sheet-pad) * -1); margin-right: calc(var(--sheet-pad) * -1); }
.page-head { display: flex; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; }
.page-head .title { flex: 1 1 420px; min-width: 0; }
.page-head .lede, .lede { font-size: 17px; line-height: 1.55; color: var(--muted); margin-top: 8px; max-width: 72ch; }
.page-head .lede strong, .lede strong { color: var(--text); font-weight: 600; }
.page-head .actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.asof, .stamp { font-size: var(--fs-small); color: var(--faint); white-space: nowrap; }
.section-head { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head .sub, .sub { font-size: var(--fs-small); color: var(--muted); }

/* ---------- controls ---------- */
.btn, button.btn, a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: var(--control-height); padding: 0 16px;
  font: 600 15px/1 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--control); border-radius: var(--radius-control);
  text-decoration: none; white-space: nowrap; cursor: pointer; }
.btn:hover { background: var(--raised); border-color: var(--faint); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.quiet, .btn.ghost { border-color: transparent; background: transparent; color: var(--accent); padding: 0 10px; }
.btn.quiet:hover, .btn.ghost:hover { background: var(--raised); }
.btn.danger { color: var(--critical-ink); border-color: var(--critical-ink); }
.btn:disabled, .btn[aria-disabled="true"] { color: var(--faint); background: var(--raised); border-color: var(--border); cursor: not-allowed; }
input[type="text"], input[type="search"], input[type="email"], input[type="url"], input[type="password"], input[type="date"], input[type="number"], select, textarea {
  font: 400 var(--fs-body)/1.3 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--control); border-radius: var(--radius-control);
  min-height: var(--control-height); padding: 8px 12px; max-width: 100%; }
textarea { min-height: 88px; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: var(--faint); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field { display: grid; gap: 6px; }
.field > label, label.label { font: 600 var(--fs-small)/1.3 var(--font); color: var(--text); }
.field .help { font-size: var(--fs-small); color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-height: var(--control-height); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.controls, .toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.toolbar .grow, .controls .grow { flex: 1 1 280px; min-width: 200px; }
.count { font-size: var(--fs-small); color: var(--muted); margin-left: auto; white-space: nowrap; }
/* a file picker: the real input hidden inside a button-style label, the chosen file's name beside it */
.filepick { position: relative; }
.filepick input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.filepick:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.filename { font-size: var(--fs-small); color: var(--muted); overflow-wrap: anywhere; flex: 1 1 120px; min-width: 0; }

/* a segmented choice: as wide as its options, the chosen one a white plate on a grey track */
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--active); border-radius: var(--radius-control); flex-wrap: wrap; }
.seg button, .seg a { display: inline-flex; align-items: center; justify-content: center; height: calc(var(--control-height) - 6px); font: 600 15px/1 var(--font); color: var(--muted); background: transparent; border: 0; border-radius: 6px; padding: 0 14px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.seg button:hover, .seg a:hover { color: var(--text); }
.seg button.active, .seg a.active, .seg button[aria-pressed="true"], .seg button[aria-selected="true"] { color: var(--text); background: var(--surface); box-shadow: 0 0 0 1px var(--border); }
.seg .n { font-weight: 400; color: var(--faint); margin-left: 6px; }

/* section tabs inside a sheet: a name and what it holds */
.viewtabs { display: flex; gap: 6px; flex-wrap: wrap; }
.viewtabs button, .viewtabs a { text-align: left; font: 600 15px/1.2 var(--font); color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-control); padding: 8px 14px; cursor: pointer; text-decoration: none; }
.viewtabs small { display: block; font: 400 var(--fs-micro)/1.3 var(--font); color: var(--muted); margin-top: 2px; }
.viewtabs .active, .viewtabs [aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); border-color: var(--control); }

/* ---------- figures: one strip, divided, never a wall of tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--surface); overflow: hidden; }
.kpi { padding: 16px 20px; border-left: 1px solid var(--rule); min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi .label { font: 400 var(--fs-small)/1.3 var(--font); color: var(--muted); }
.kpi .value { font: 600 var(--fs-figure)/1.15 var(--font); color: var(--text); margin-top: 4px; }
.kpi .value small, .kpi .value .unit { font: 400 var(--fs-small)/1 var(--font); color: var(--muted); margin-left: 4px; }
.kpi .foot { font-size: var(--fs-small); color: var(--muted); margin-top: 4px; }
.kpi.lead .value { font-size: 36px; }
.kpi.active { box-shadow: inset 0 -3px 0 var(--accent); background: var(--raised); }   /* a figure that filters the list below it: the chosen one */

/* ---------- cards: quiet, flat, one radius ---------- */
.card, .panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 20px; }
.sheet .card, .sheet .panel { background: var(--surface); }
.card > h2, .panel > h2, .card > h3, .panel > h3 { font: 600 var(--fs-card)/1.3 var(--font); margin-bottom: 4px; }
.card > .sub, .panel > .sub { margin-bottom: 14px; }
.cols { display: grid; gap: var(--gap); }
.rail { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }

/* facts: a label over its value, in full ink, never capitals */
.facts, dl.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px 28px; margin: 0; }
.fact .k, .facts dt { font: 400 var(--fs-small)/1.3 var(--font); color: var(--muted); letter-spacing: 0; text-transform: none; }
.fact .v, .facts dd { font: 600 var(--fs-body)/1.35 var(--font); color: var(--text); margin: 2px 0 0; overflow-wrap: anywhere; }
.fact .v.empty, .facts dd.empty { font-weight: 400; color: var(--faint); }
.rows { display: grid; }
.rows > .row { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 16px; padding: 11px 0; border-top: 1px solid var(--rule); }
.rows > .row:first-child { border-top: 0; }
.rows > .row > .k { color: var(--muted); font-size: 15px; }

/* ---------- tables: rules and alignment, no bands, no zebra ---------- */
table.data, table.t { width: 100%; border-collapse: collapse; font-size: var(--fs-table); }
table.data th, table.t th { font: 600 var(--fs-small)/1.3 var(--font); color: var(--muted); text-align: left; text-transform: none; letter-spacing: 0; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: bottom; background: transparent; }
table.data td, table.t td { padding: 13px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.4; }
table.data tr:last-child > td, table.t tr:last-child > td { border-bottom: 0; }
table.data tbody tr:hover > td { background: var(--raised); }
table.data td.name a, table.data a.name { font-weight: 600; color: var(--text); text-decoration: none; }
table.data td.name a:hover, table.data a.name:hover { color: var(--accent); text-decoration: underline; }
table.data .sub2, .sub2 { display: block; font-size: var(--fs-small); color: var(--muted); font-weight: 400; margin-top: 2px; }
.table-wrap { overflow-x: auto; }
/* a long or wide table scrolling inside its own box: the header row and the name column stay in view
   (a sticky header cannot stick to the page through an overflow container, so the box is bounded) */
.scrollbox { max-height: calc(100vh - 110px); overflow: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }
.scrollbox thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); }
.scrollbox th:first-child, .scrollbox td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--rule); }
.scrollbox thead th:first-child { z-index: 3; }
.dash { color: var(--faint); }

/* ---------- status and tags ---------- */
/* a status: pale tint, ink of the same hue, always carrying its word */
.pill, .status { display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; font: 600 var(--fs-micro)/1 var(--font); padding: 5px 9px; border-radius: 999px; background: var(--quiet-bg); color: var(--quiet-ink); }
.pill.critical, .pill.bad, .pill.red { background: var(--critical-bg); color: var(--critical-ink); }
.pill.high, .pill.orange { background: var(--high-bg); color: var(--high-ink); }
.pill.medium, .pill.warn, .pill.yellow { background: var(--medium-bg); color: var(--medium-ink); }
.pill.good, .pill.positive, .pill.green { background: var(--positive-bg); color: var(--positive-ink); }
.pill.info, .pill.blue { background: var(--info-bg); color: var(--info-ink); }
/* a tag: a neutral fact about the thing (its type, its priority), outlined */
/* a status too long for a pill (several statuses joined) reads as plain text */
.status-long { font-size: var(--fs-table); line-height: 1.4; color: var(--text); }
.chip, .tag { display: inline-flex; align-items: center; gap: 6px; flex: none; white-space: nowrap; font: 400 var(--fs-micro)/1 var(--font); padding: 4px 8px; border-radius: var(--radius-chip); border: 1px solid var(--border); background: var(--surface); color: var(--muted); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--band-passive); flex: none; }
.dot.red { background: var(--risk-red); } .dot.yellow { background: var(--risk-yellow); } .dot.green { background: var(--risk-green); } .dot.blue { background: var(--risk-blue); }
/* a community readiness score: the number on its band colour, with the band said in words beside it where there is room */
.score { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 28px; padding: 0 8px; border-radius: var(--radius-chip); font: 600 15px/1 var(--font); color: var(--on-band-dark); background: var(--band-passive); }
.score.support { background: var(--band-support); } .score.lean-support { background: var(--band-lean-support); color: var(--on-band-light); }
.score.neutral { background: var(--band-neutral); color: var(--on-band-light); } .score.lean-opposed { background: var(--band-lean-opposed); color: var(--on-band-light); }
.score.opposed { background: var(--band-opposed); } .score.unknown { background: var(--band-unknown); }
.score.big { min-width: 60px; height: 40px; font-size: 21px; }
.score.suggested { background: transparent; color: var(--text); border: 2px dashed var(--band, var(--band-passive)); }   /* provisional: a model's suggestion, never filled until a person confirms it */
/* the readiness pair: the score, then its band in words */
.ready { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ready .bw { font-size: var(--fs-small); color: var(--muted); }
/* an abbreviation with its meaning: "Community readiness (CRI)" is written out; this marks a term the glossary explains */
abbr[title], .term { text-decoration: underline dotted var(--faint); text-underline-offset: 3px; cursor: help; }

/* ---------- notes, empties, folds ---------- */
.note { font-size: 15px; color: var(--muted); max-width: 80ch; }
.empty { font-size: 15px; color: var(--muted); border: 1px dashed var(--control); border-radius: var(--radius-card); padding: 14px 16px; }
.banner { font-size: 15px; background: var(--medium-bg); color: var(--medium-ink); border-radius: var(--radius-card); padding: 10px 14px; }
details.fold { border-top: 1px solid var(--rule); }
details.fold > summary { cursor: pointer; padding: 12px 0; font: 600 15px/1.3 var(--font); list-style: none; display: flex; align-items: center; gap: 8px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--faint); border-bottom: 2px solid var(--faint); transform: rotate(-45deg); transition: transform .15s; flex: none; }
details.fold[open] > summary::before { transform: rotate(45deg); }

/* ---------- what floats: the only shadows ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(15, 22, 17, .5); display: flex; align-items: flex-start; justify-content: center; padding: 5vh 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal > .window, .modal > .box { background: var(--surface); color: var(--text); border-radius: var(--radius-sheet); width: 100%; max-width: 1100px; box-shadow: var(--shadow-float); overflow: hidden; }
.modal .window-head { display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.modal .window-head h2 { flex: 1; }
.modal .window-body { padding: 24px; }
.modal .close { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-control); border: 1px solid var(--control); background: var(--surface); color: var(--text); font-size: 20px; line-height: 1; cursor: pointer; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 60; background: var(--text); color: var(--surface); font: 600 15px/1.3 var(--font); padding: 12px 18px; border-radius: var(--radius-control); box-shadow: var(--shadow-float); }
.menu, .pop { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-card); box-shadow: var(--shadow-float); }

/* ---------- the Community Outreach tile on the project page (public/assets/outreach-tile.js) ---------- */
.ot-stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 12px; }
.ot-stat { flex: 1; min-width: 80px; }
.ot-stat .v { font: 600 22px/1.15 var(--font); }
.ot-stat .k { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }
.ot-event { font-size: 15px; border-top: 1px solid var(--rule); padding: 8px 0; }
.ot-event .d { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 4px; }
.ot-open { display: inline-block; margin-top: 10px; font-weight: 600; }

footer.page-foot, main + footer { max-width: var(--page-width); margin: 0 auto; padding: 0 var(--gutter) 40px; font-size: var(--fs-small); color: var(--faint); }

/* ---------- the phone ---------- */
@media (max-width: 900px) { .rail { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  :root { --gutter: 14px; --sheet-pad: 18px; --block-gap: 24px; --fs-title: 26px; --fs-figure: 26px; }
  body > header, header.top { padding: 8px var(--gutter); gap: 6px 12px; }
  .tabs { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  header .gm, header .gm-badge, header .wordmark, header .synced { display: none; }
  .rows > .row { grid-template-columns: 1fr; gap: 2px; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi { border-top: 1px solid var(--rule); } .kpi:nth-child(-n+2) { border-top: 0; } .kpi:nth-child(odd) { border-left: 0; }
}
@media print {
  body { background: #fff; } body > header .tabs, header.top .tabs, a#fls-settings { display: none; }
  .sheet { border: 0; padding: 0; }
}
