@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #0f1512;
  --muted: #4f5b54;
  --tint: #f1f4ee;
  --line: #d7dcd3;
  --green: #17603a;
  --green-dark: #0e3f26;
  --grass: #2f8a4a;
  --yellow: #ffd84a;
  --yellow-dark: #f4c319;
  --water: #1a6fa3;
  --soil: #8a5220;
  --other: #5d5290;
  --warn-bg: #fff6d1;
  --warn-line: #e3b54a;
  --ok-bg: #e6f3ea;
  --err: #a52a1c;
  --radius: 5px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* older names, kept so nothing that still refers to them breaks */
  --serif: var(--sans);
  --sand: var(--tint);
  --paper: #fff;
  --clay: var(--yellow);
  --clay-dark: var(--yellow-dark);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: #fff; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--green-dark); }
h1, h2, h3, legend { font-family: var(--sans); font-stretch: 78%; font-weight: 800; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.15; }
p { margin: 0 0 1em; }
mark { background: var(--yellow); color: var(--ink); padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { width: min(1100px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); margin-inline: auto; }
.section { padding: 4rem 0; }
.section--paper { background: var(--tint); }
.section--green { background: var(--ink); color: #f2f5f1; }
.section--green a:not(.btn) { color: #fff; }
.section--tight { padding: 2.4rem 0 3.5rem; }
.eyebrow { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.lede { font-size: 1.16rem; line-height: 1.5; color: var(--muted); }
.small { font-size: 0.9rem; color: var(--muted); }
.center { text-align: center; }
.narrow-text { max-width: 44rem; }
.on-dark { color: #cdd5cf; }

/* ---------- header and footer */
.site-header { background: #fff; border-bottom: 2px solid var(--ink); position: sticky; top: 0; z-index: 1100; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.45rem 0; }
.brand { display: flex; align-items: center; gap: 0.55rem; min-height: 44px; font: 800 1.2rem/1 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.site-nav { display: flex; align-items: center; gap: 0.5rem; }
.site-nav a { gap: 0; }
.nav-long { white-space: pre; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.6rem; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 0.98rem; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--yellow-dark); text-underline-offset: 6px; }
.site-footer { background: var(--ink); color: #c5cdc7; padding: 2.4rem 0; font-size: 0.92rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.5em; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-height: 48px; padding: 0.65rem 1.25rem; border-radius: var(--radius); border: 2px solid var(--ink); font: 700 1rem/1.15 var(--sans); text-align: center; text-decoration: none; cursor: pointer; background: var(--ink); color: #fff; }
.btn:hover { background: #2a362f; color: #fff; }
.btn--clay { background: var(--yellow); color: var(--ink); }
.btn--clay:hover { background: var(--yellow-dark); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #e7ece6; color: var(--ink); }
.btn--danger { background: #fff; color: var(--err); border-color: var(--err); }
.btn--danger:hover { background: var(--err); color: #fff; }
.btn--small { min-height: 44px; padding: 0.4rem 0.85rem; font-size: 0.94rem; }
.btn--big { min-height: 54px; padding: 0.85rem 1.6rem; font-size: 1.1rem; }
.btn--on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.btn-row.centered { justify-content: center; }

/* ---------- home: top of the page */
.hero { display: grid; grid-template-columns: 1fr min(580px, 52% - 1.25rem) min(520px, 48% - 1.25rem) 1fr; background: var(--ink); color: #fff; }
.hero__text { grid-column: 2; padding: clamp(2.6rem, 6vw, 4.8rem) 2.6rem clamp(2.6rem, 6vw, 4.4rem) 0; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 0.98; font-stretch: 72%; margin-bottom: 1.2rem; }
.hero .lede { color: #dfe5e0; max-width: 33rem; margin-bottom: 1.5rem; }
.hero__more { margin: 1.1rem 0 0; font-weight: 600; }
.hero__more a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.hero__photo { grid-column: 3 / -1; margin: 0; position: relative; min-height: 24rem; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 0; bottom: 0; margin: 0; background: rgba(15, 21, 18, 0.86); color: #fff; padding: 0.4rem 0.75rem; font-size: 0.82rem; }
figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.5rem; }

.flash { display: block; background: var(--yellow); color: var(--ink); text-decoration: none; }
.flash:hover { background: var(--yellow-dark); color: var(--ink); }
.flash__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.2rem 1.5rem; min-height: 54px; padding: 0.7rem 0; }
.flash b { font-weight: 800; }
.flash__go { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem 1.6rem; margin: 0; padding: 0; list-style: none; }
.stat { border-top: 4px solid var(--ink); padding-top: 0.7rem; }
.stat b { display: block; font: 800 clamp(2.7rem, 6vw, 4.1rem) / 1 var(--sans); font-stretch: 72%; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.95rem; color: var(--muted); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }
.howto { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.howto li { display: grid; grid-template-columns: 2.7rem 1fr; gap: 0.9rem; align-items: start; counter-increment: step; }
.howto li::before { content: counter(step); display: grid; place-items: center; width: 2.7rem; height: 2.7rem; background: var(--ink); color: var(--yellow); font: 800 1.5rem/1 var(--sans); font-stretch: 75%; border-radius: var(--radius); }
.howto b { display: block; font-size: 1.1rem; }
.howto span { color: var(--muted); }

/* ---------- swipe strips */
.strip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.7rem 1.2rem; margin: 1.2rem 0 0.9rem; }
.jumps { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.jump { min-height: 44px; padding: 0.35rem 0.9rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); font: 700 0.95rem/1.2 var(--sans); cursor: pointer; }
.jump[aria-current="true"] { background: var(--ink); color: #fff; }
.strip__nav { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.strip__count { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 6.2rem; text-align: center; }
.strip__arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.strip__arrow:hover:not([disabled]) { background: var(--yellow); }
.strip__arrow[disabled] { opacity: 0.28; cursor: default; }
.strip__track { position: relative; display: flex; gap: 1rem; margin: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 0.25rem max(1.25rem, calc((100% - 1100px) / 2)) 1.2rem; scroll-padding-inline: max(1.25rem, calc((100% - 1100px) / 2)); }
.slide { flex: 0 0 min(82vw, 340px); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.slide__photo { display: block; position: relative; cursor: zoom-in; background: var(--tint); }
.slide__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.slide--pair .slide__photo img { aspect-ratio: 16 / 9; }
.slide--pair .slide__photo + .slide__photo { border-top: 3px solid #fff; }
.slide__tag { position: absolute; left: 0.5rem; top: 0.5rem; background: var(--ink); color: #fff; font: 700 0.8rem/1 var(--sans); padding: 0.38rem 0.55rem; border-radius: 3px; }
.slide__tag--now { background: var(--yellow); color: var(--ink); }
.slide__text { padding: 0.8rem 0.95rem 1rem; font-size: 0.94rem; }
.slide__text b { display: block; font-size: 1rem; line-height: 1.3; }
.slide__text p { margin: 0.25rem 0 0; color: var(--muted); }
.slide__text .credit { font-size: 0.8rem; margin-top: 0.45rem; }
.slide--card { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: center; padding: 1.5rem 1.3rem; }
.slide--card h3 { font-size: 1.7rem; }
.slide--card p { color: #dfe5e0; }
.strip__note { margin-top: 0.4rem; }

/* ---------- home: the rules */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin: 1.6rem 0 0; }
.doc { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.doc__scroll { overflow-x: auto; }
.doc__scroll img { min-width: 620px; width: 100%; }
.doc figcaption { margin: 0; padding: 0.75rem 0.95rem 0.9rem; border-top: 1px solid var(--line); color: var(--ink); font-size: 0.95rem; }
.doc figcaption span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.found { margin: 1.3rem 0 0; padding: 1rem 1.2rem; border-left: 6px solid var(--yellow); background: #fff; }
.found h3 { margin-bottom: 0.3rem; }
.found p:last-child { margin-bottom: 0; }
.ground { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin: 2.2rem 0 0; }
.ground figure { margin: 0; }
.ground svg { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #eef4f6; }
.ground text { font-family: var(--sans); font-weight: 700; font-size: 15px; }
.ground figcaption b { color: var(--ink); }
.chain { list-style: none; margin: 1.6rem 0 0; padding: 0; counter-reset: chain; max-width: 50rem; }
.chain > li { counter-increment: chain; position: relative; padding: 0 0 1.9rem 3.7rem; }
.chain > li::before { content: counter(chain); position: absolute; left: 0; top: 0; z-index: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); font: 800 1.4rem/1 var(--sans); font-stretch: 75%; }
.chain > li::after { content: ""; position: absolute; left: calc(1.3rem - 1px); top: 2.6rem; bottom: 0; width: 2px; background: var(--ink); }
.chain > li:last-child { padding-bottom: 0; }
.chain > li:last-child::after { display: none; }
.chain h3 { margin: 0.45rem 0 0.5rem; }
.chain img { border: 1px solid var(--line); border-radius: var(--radius); margin: 0.7rem 0; }
.chain p:last-child { margin-bottom: 0; }
.quote { margin: 0.6rem 0 0.8rem; padding: 0.75rem 1rem; border-left: 5px solid var(--yellow); background: var(--tint); font-size: 1.03rem; }
.section--paper .quote { background: #fff; }
.quote cite { display: block; margin-top: 0.35rem; font-style: normal; font-size: 0.86rem; color: var(--muted); }
.source { font-size: 0.86rem; color: var(--muted); margin-top: 0.45rem !important; }
.plan { margin: 2rem 0 0; }
.plan-img { border: 1px solid var(--line); border-radius: var(--radius); margin-top: 0.6rem; background: #fff; }

/* ---------- home: December 3 */
.deadline { display: grid; grid-template-columns: auto 1fr; gap: 2.4rem; align-items: start; }
.deadline__date { background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: 0.8rem 1.1rem 0.9rem; text-align: center; min-width: 7.6rem; font: 800 1rem/1.1 var(--sans); font-stretch: 75%; text-transform: uppercase; letter-spacing: 0.08em; }
.deadline__date b { display: block; font-size: 4.4rem; line-height: 0.95; letter-spacing: 0; }
.message { display: block; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; font: 0.95rem/1.55 var(--sans); white-space: pre-wrap; margin: 1.2rem 0; border: 0; width: 100%; max-height: 19rem; overflow: auto; }
.sendto { margin: 1rem 0 0; padding: 0; list-style: none; font-size: 0.93rem; color: #cdd5cf; }
.sendto li { margin-bottom: 0.3rem; overflow-wrap: anywhere; }
.sendto b { color: #fff; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { border-top: 4px solid var(--ink); padding-top: 0.85rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p:last-child { margin-bottom: 0; }
.steps { display: grid; gap: 0.7rem; }
.step { display: block; border: 2px solid var(--ink); border-radius: var(--radius); padding: 0.9rem 1.1rem; text-decoration: none; color: var(--ink); background: #fff; }
.step:hover { background: var(--yellow); color: var(--ink); }
.step b { display: block; font-size: 1.1rem; }
.step span { font-size: 0.95rem; color: var(--muted); }
.claims { padding-left: 1.2rem; margin: 0; }
.claims li { margin-bottom: 0.6em; }
details.why { margin-top: 1rem; border-top: 2px solid var(--ink); }
details.why summary { cursor: pointer; font-weight: 700; padding: 0.8rem 0; min-height: 44px; }
details.why p { max-width: 44rem; }

/* ---------- notices */
.notice { border-radius: var(--radius); padding: 0.9rem 1.1rem; border: 1px solid var(--line); background: #fff; margin: 0 0 1.2rem; }
.notice--warn { background: var(--warn-bg); border-color: var(--warn-line); }
.notice--ok { background: var(--ok-bg); border-color: #9cc5a6; }
.notice--err { background: #fbe6e2; border-color: #dba097; color: #6d1a10; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- tags */
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.5rem; padding: 0; list-style: none; }
.tag { display: inline-block; border-radius: 3px; padding: 0.14rem 0.5rem; font: 700 0.78rem/1.5 var(--sans); color: #fff; background: var(--other); }
.tag--irrigation { background: var(--water); }
.tag--soil { background: var(--soil); }
.tag--owner { background: var(--green); }
.tag--neighbor { background: #e4e9e1; color: var(--ink); }

/* ---------- map */
.map { height: min(68vh, 620px); border: 2px solid var(--ink); border-radius: var(--radius); background: #e6e9e2; z-index: 0; }
.map--small { height: 300px; margin: 0.8rem 0 0.4rem; }
.map--preview { height: 400px; cursor: pointer; }
.map-note { margin-top: 0.6rem; }
.map-key { display: flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.55rem; background: rgba(255, 255, 255, 0.92); border: 1px solid var(--line); border-radius: 3px; font: 700 0.78rem/1.2 var(--sans); color: var(--ink); }
.map-key::before { content: ""; width: 26px; border-top: 3px dashed var(--green); }
.pin { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #fff; font: 700 0.95rem/1 var(--sans); border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5); background: var(--other); }
.map--far .pin { transform: scale(0.74); }
.pin--irrigation { background: var(--water); }
.pin--soil { background: var(--soil); }
.pin--irrigation.pin--soil { background: linear-gradient(135deg, var(--water) 50%, var(--soil) 50%); }
.pin--place { background: var(--ink); border-color: var(--yellow); width: 26px; height: 26px; }

.filters { display: flex; flex-wrap: wrap; gap: 1.1rem 2.2rem; align-items: flex-end; margin: 1.2rem 0; }
.filters__group { display: flex; flex-direction: column; gap: 0.4rem; }
.filters__label { font-weight: 700; font-size: 0.9rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; border: 2px solid var(--line); background: #fff; border-radius: var(--radius); padding: 0.35rem 0.85rem; font: 700 0.94rem/1.2 var(--sans); color: var(--muted); cursor: pointer; }
.chip::before { content: ""; width: 0.85rem; height: 0.85rem; border-radius: 50%; background: #c5cbc2; }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.chip--irrigation[aria-pressed="true"]::before { background: var(--water); }
.chip--soil[aria-pressed="true"]::before { background: var(--soil); }
.chip--other[aria-pressed="true"]::before { background: var(--other); }
.chip--plain::before { display: none; }
.chip--plain[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.count-line { font-weight: 700; margin: 0 0 0.8rem; }

.leaflet-popup-content { margin: 0.9rem 1rem; font: 0.92rem/1.5 var(--sans); color: var(--ink); }
.leaflet-container { font-family: var(--sans); }
.leaflet-popup-content-wrapper { border-radius: var(--radius); }
.popup h3 { margin: 0 0 0.15rem; font-size: 1.2rem; }
.popup__count { color: var(--muted); margin: 0 0 0.6rem; font-size: 0.86rem; }
.entry { border-top: 1px solid var(--line); padding: 0.65rem 0 0.2rem; }
.entry__meta { font-size: 0.84rem; color: var(--muted); margin: 0 0 0.35rem; }
.entry__comment { margin: 0 0 0.5rem; white-space: pre-line; overflow-wrap: anywhere; }
.thumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.5rem; }
.thumbs button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; overflow: hidden; }
.thumbs img { width: 76px; height: 76px; object-fit: cover; }

.list-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.4rem; }
.list-head h2 { margin: 0; }
.report-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; margin-top: 1rem; }
.report-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: 1rem 1.2rem; }
.report-card h3 { margin-bottom: 0.3rem; font-size: 1.25rem; }
.report-card .thumbs img { width: 104px; height: 104px; }
.linkish { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; color: var(--green); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.empty { background: var(--tint); border: 1px dashed #aab3a8; border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); }
.rules__next { margin-top: 3.2rem; }
.addbar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.2rem; margin: 1.3rem 0 0.4rem; padding: 0.9rem 1.1rem; background: var(--tint); border-left: 6px solid var(--yellow); }
.addbar p { margin: 0; flex: 1 1 16rem; font-weight: 600; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; }
.lightbox::backdrop { background: rgba(8, 12, 10, 0.9); }
.lightbox img { max-width: 94vw; max-height: 82vh; border-radius: 4px; margin: 0 auto; }
.lightbox__bar { display: flex; justify-content: center; align-items: center; gap: 0.6rem; margin-top: 0.7rem; color: #fff; }

/* ---------- forms */
form fieldset { border: 0; border-top: 4px solid var(--ink); padding: 1.1rem 0 0.4rem; margin: 0 0 1.5rem; min-width: 0; }
form legend { font-size: 1.45rem; padding: 0 0.7rem 0 0; }
.field { margin: 0 0 1rem; position: relative; }
.field > label:not(.check), .label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.optional { font-weight: 400; color: var(--muted); font-stretch: 100%; letter-spacing: 0; font-size: 1rem; }
input[type="text"], input[type="email"], input[type="date"], input[type="password"], textarea, select { width: 100%; min-height: 48px; font: inherit; color: inherit; padding: 0.6rem 0.75rem; border: 2px solid #8c978f; border-radius: var(--radius); background: #fff; }
input[type="text"]:focus, input[type="email"]:focus, input[type="date"]:focus, input[type="password"]:focus, textarea:focus { border-color: var(--ink); }
textarea { min-height: 7.5rem; resize: vertical; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: 0.92rem; color: var(--muted); margin: 0.3rem 0 0; }
.hint.above { margin: 0 0 0.7rem; }
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; min-height: 44px; margin: 0 0 0.6rem; padding: 0.5rem 0; font-weight: 700; cursor: pointer; }
.check input { width: 1.5rem; height: 1.5rem; margin-top: 0.05rem; flex: none; accent-color: var(--green); }
.check small { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.check--box { border: 2px solid var(--line); border-radius: var(--radius); padding: 0.8rem 0.9rem; background: #fff; }
.check--box:has(input:checked) { border-color: var(--ink); background: #fffbe6; }
.suggest { position: absolute; z-index: 1200; left: 0; right: 0; margin: 2px 0 0; padding: 0.25rem; list-style: none; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); max-height: 17rem; overflow: auto; }
.suggest li { display: flex; align-items: center; min-height: 44px; padding: 0.45rem 0.65rem; border-radius: 3px; cursor: pointer; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--yellow); }
.previews { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0.9rem 0 0; padding: 0; list-style: none; }
.previews li { position: relative; }
.previews img { width: 108px; height: 108px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.previews button { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; background: var(--ink); color: #fff; font: 700 1rem/1 var(--sans); cursor: pointer; }
.form-status { margin-top: 1rem; }
.spaced { margin-top: 1rem; }
input.short { max-width: 13rem; }
textarea.short-area { min-height: 4.5rem; }
.privacy-note { margin: 0.4rem 0 1rem; }
.done { padding: 1.4rem 1.5rem; }
.done h2 { font-size: 1.6rem; }
.gate { max-width: 30rem; }
/* The chosen photos are shown as previews below, so the browser's own "No file chosen" text is hidden. */
input[type="file"] { font: inherit; max-width: 100%; color: transparent; }
input[type="file"]::file-selector-button { min-height: 48px; font: inherit; font-weight: 700; color: var(--ink); background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); padding: 0.5rem 1rem; margin-right: 0.75rem; cursor: pointer; }

.petition-text { background: var(--tint); border-left: 6px solid var(--yellow); padding: 1.4rem 1.6rem; margin: 0 0 1.8rem; }
.petition-text ol { padding-left: 1.2rem; margin: 0 0 1em; }
.petition-text li { margin-bottom: 0.5em; }
.petition-text p:last-child { margin-bottom: 0; }
.signers-title { margin-top: 2.4rem; }
.signers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
.signers li { border-top: 1px solid var(--line); padding: 0.6rem 0; }
.signers q { display: block; color: var(--muted); font-size: 0.92rem; }
.prose h2 { margin-top: 1.7em; font-size: 1.55rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45em; }

/* ---------- review page */
.admin-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin: 1rem 0 1.5rem; }
.admin-item { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.admin-item dl { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.25rem 1rem; margin: 0 0 0.8rem; font-size: 0.95rem; }
.admin-item dt { color: var(--muted); }
.admin-item dd { margin: 0; overflow-wrap: anywhere; }
.admin-item .thumbs img { width: 130px; height: 130px; }
.flag { color: var(--err); font-weight: 700; }

/* ---------- page furniture */
.skip { position: absolute; left: 0.6rem; top: -5rem; z-index: 2000; background: var(--yellow); color: var(--ink); padding: 0.7rem 1rem; border: 2px solid var(--ink); border-radius: 0 0 var(--radius) var(--radius); font-weight: 700; }
.skip:focus { top: 0; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The bar of three links pinned to the bottom of a phone screen. */
.tabbar { display: none; }

@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { grid-column: 1; padding: 2.2rem 1.25rem 2rem; }
  .hero__photo { grid-column: 1; min-height: 0; aspect-ratio: 3 / 2; }
  .two-col, .deadline, .two-up, .docs, .ground { grid-template-columns: 1fr; }
  .ground text { font-size: 22px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards, .report-list, .signers { grid-template-columns: 1fr; }
  .section { padding: 2.8rem 0; }
  .deadline { gap: 1.4rem; }
  .deadline__date { justify-self: start; display: flex; align-items: baseline; gap: 0.5rem; min-width: 0; padding: 0.5rem 0.9rem; }
  .deadline__date b { font-size: 2.4rem; }
  .admin-item dl { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .has-tabbar { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .has-tabbar .site-nav { display: none; }
  .has-tabbar .site-header__in { justify-content: center; }
  .tabbar { display: grid; grid-template-columns: 1fr 1.35fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1150; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.25); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 62px; color: #fff; text-decoration: none; font: 700 0.82rem/1.1 var(--sans); }
  .tabbar a[aria-current="page"] { color: var(--yellow); }
  .tabbar a.tabbar__main, .tabbar a.tabbar__main[aria-current="page"] { background: var(--yellow); color: var(--ink); }
  .tabbar svg { width: 22px; height: 22px; }
  /* Out of the way while someone is typing, so it never covers the field or the keyboard's Done bar. */
  body:has(input:not([type="checkbox"], [type="radio"], [type="file"]):focus, textarea:focus, select:focus) .tabbar { display: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .nav-long { display: none; }
  .cards--4 { grid-template-columns: 1fr; }
  .list-head { flex-wrap: wrap; }
  .hero .btn-row .btn, .addbar .btn, .howto + .btn-row .btn { width: 100%; }
  .strip__bar { gap: 0.6rem; }
  .jump { padding-inline: 0.7rem; }
  .petition-text { padding: 1.1rem 1.1rem; }
  .chain > li { padding-left: 3.2rem; }
}
/* The narrowest phones. */
@media (max-width: 350px) {
  .brand { font-size: 1.05rem; }
  .hero h1 { font-size: 2.3rem; }
  .strip__count { min-width: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
