/* DitchBook free tools — shared styles for /tools/** pages.
   Builds on ../styles.css tokens; does not redefine .btn / .btn-primary /
   .btn-secondary or the color/type variables. Load alongside /styles.css. */

.breadcrumb {
  font-size: var(--step--1);
  color: var(--ink-soft);
  margin: 1.75rem 0 0;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  padding: 0;
  margin: 0;
  max-width: none;
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.breadcrumb li + li::before {
  content: "/";
  color: var(--border-strong);
}

.breadcrumb a {
  color: var(--ink-soft);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb a:focus {
  color: var(--water-deep);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--ink-mid);
}

/* ---------- Intro / hero block ---------- */

.tool-article {
  padding: clamp(2.25rem, 3vw, 3.5rem) 0 var(--space-section);
}

.tool-kicker {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--water-deep);
  font-weight: 600;
  margin: 1.25rem 0 0.75em;
}

.tool-article h1 {
  max-width: 26ch;
  margin-bottom: 0.5em;
}

.tool-dek {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink-mid);
  max-width: 52ch;
  margin: 0 0 1.5rem;
  border-left: 2px solid var(--water);
  padding-left: 1.15rem;
}

.privacy-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--water-deep);
  background: var(--water-tint);
  border: 1px solid var(--water-line);
  border-radius: 5px;
  padding: 0.6em 1em;
  margin: 0 0 2.25rem;
  max-width: fit-content;
}

.privacy-note::before {
  content: "\1F512";
  font-size: 0.95em;
}

/* Prominent honest-framing callout (Ditch Finder). Same visual language as
   directory.css's .court-mentions box — left-accent border, dim paper — so
   a caveat that matters reads as load-bearing, not fine print. */
.honest-framing {
  max-width: var(--measure);
  margin: 0 0 2rem;
  padding: 1.1rem 1.4rem;
  background: var(--paper-dim);
  border: 1px solid var(--border);
  border-left: 3px solid var(--water-deep);
  border-radius: 6px;
}

.honest-framing p {
  margin: 0 0 0.6em;
  max-width: none;
}

.honest-framing p:last-child {
  margin-bottom: 0;
}

/* Ditch Finder puts the task before the methodology. The address field and
   primary action stay together as one clear search surface; privacy and
   coverage remain visible without delaying the first useful interaction. */
.finder-workspace {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 0;
}

.finder-search-card {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  background: var(--paper);
  border-color: var(--water-line);
  border-top: 4px solid var(--water-deep);
}

.finder-search-field > label {
  color: var(--water-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.finder-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: stretch;
}

.finder-search-row input[type="text"] {
  min-height: 3.35rem;
  padding: 0.75em 0.9em;
  font-size: var(--step-0);
}

.finder-search-submit {
  min-width: 13rem;
  min-height: 3.35rem;
  padding: 0.7em 1.25em;
  font-size: 0.95rem;
  white-space: nowrap;
}

.finder-support-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.8fr);
  gap: 0.8rem 1.5rem;
  align-items: start;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

.privacy-note.finder-privacy {
  align-items: flex-start;
  margin: 0;
  padding: 0;
  max-width: none;
  color: var(--ink-mid);
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.5;
}

.finder-coverage-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: right;
}

/* Parcel-native entry sits beside the address search rather than replacing
   it: rural parcels the address geocoder cannot find still need a way in. */
.finder-parcel-card {
  margin-top: 0.9rem;
  border-top-color: var(--water-line);
}

/* Inline in the support copy, but still a real tap target: the 44px floor
   outranks compactness on this phone-first site. */
.finder-map-pick {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  color: var(--water-deep);
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.finder-map-pick:hover,
.finder-map-pick:focus-visible {
  color: var(--ink);
}

/* Parcel picking is a mode, not a permanent state of the map: while it is
   armed the map is visibly different, so an ordinary click on results can
   never be mistaken for a parcel selection. */
.finder-results-map.is-picking {
  outline: 3px solid var(--water-deep);
  outline-offset: -3px;
}

.finder-results-map.is-picking,
.finder-results-map.is-picking .leaflet-grab,
.finder-results-map.is-picking .leaflet-interactive {
  cursor: crosshair;
}

/* Ambiguity is shown, never resolved for the user: one row per surviving
   public record, each an explicit choice. */
.parcel-choices[hidden] {
  display: none;
}

.parcel-choices h3 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.parcel-choice-list {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.parcel-choice-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.parcel-choice-list li > span {
  color: var(--ink-mid);
  font-size: 0.85rem;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .parcel-choice-list li {
    grid-template-columns: minmax(0, 1fr);
  }
}

.finder-results-card details > summary {
  cursor: pointer;
  list-style: none;
}

.finder-results-card details > summary::-webkit-details-marker {
  display: none;
}

.finder-results-card details > summary > span {
  display: flex;
  gap: 0.35rem;
  align-items: baseline;
  justify-content: space-between;
}

.finder-results-card details > summary > span::after {
  content: "+";
  color: var(--water-deep);
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
}

.finder-results-card details[open] > summary > span::after {
  content: "−";
}

.finder-results-card summary small {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.finder-results-card summary strong {
  margin-right: auto;
  font-size: var(--step-1);
}

.finder-regional-note {
  margin: 0.85rem 0;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* ---------- Ditch Finder results map ---------- */

.finder-map-panel[hidden] {
  display: none;
}

.finder-map-panel {
  padding: clamp(1.1rem, 2.5vw, 1.65rem);
  background: var(--paper);
  border-color: var(--border-strong);
}

.finder-map-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 1rem;
}

.finder-map-head h2 {
  margin: 0;
  font-size: var(--step-2);
}

.finder-map-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--water-deep);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#finder-map-caption {
  margin: 0.25rem 0 0;
  color: var(--ink-mid);
  font-size: var(--step--1);
}

.finder-map-full-link {
  flex: 0 0 auto;
}

.finder-map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

#finder-map-focus-parcel[hidden],
#finder-map-focus-all[hidden],
#finder-key-parcel-row[hidden],
#finder-key-nearby-row[hidden] {
  display: none !important;
}

.finder-results-map {
  position: relative;
  z-index: 0;
  width: 100%;
  height: clamp(22rem, 50vw, 32rem);
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--paper-dim);
  overflow: hidden;
}

.finder-results-map.leaflet-container {
  font-family: var(--font-sans);
  color: var(--ink);
}

.finder-results-map .leaflet-popup-content {
  line-height: 1.5;
}

.finder-structure-pin {
  border: 0;
  background: transparent;
}

.finder-structure-pin span,
.finder-key-structure,
.result-rank {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--water-deep);
  box-shadow: 0 1px 4px rgba(15, 30, 42, 0.35);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.finder-map-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
  margin-top: 0.9rem;
  color: var(--ink-mid);
  font-family: var(--font-sans);
  font-size: 0.76rem;
}

.finder-map-key > span {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.finder-map-key > span[hidden] {
  display: none;
}

.finder-key-address {
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #20252b;
  box-shadow: 0 0 0 1px #20252b;
}

.finder-key-parcel {
  width: 1.35rem;
  height: 0.95rem;
  border: 2px dashed #0b6b58;
  background: rgba(103, 191, 168, 0.18);
}

.finder-key-structure {
  width: 1.35rem;
  height: 1.35rem;
  font-size: 0.62rem;
  box-shadow: none;
}

.finder-key-ditch {
  width: 1.7rem;
  height: 0;
  border-top: 3px solid #c25100;
  box-shadow: 0 -1px 0 #fff, 0 1px 0 #fff;
}

.finder-key-nearby {
  width: 1.7rem;
  height: 0;
  border-top: 3px dotted #8e6b24;
}

.finder-key-reservoir {
  width: 1.5rem;
  height: 0.8rem;
  border: 1.5px solid #003e64;
  border-radius: 45% 55% 50% 40%;
  background: rgba(26, 87, 128, 0.35);
}

.finder-key-hydro-line {
  width: 1.7rem;
  height: 0;
  border-top: 3px solid #1675a6;
}

.finder-key-hydro-area {
  width: 1.5rem;
  height: 0.8rem;
  border: 2px solid #18769e;
  border-radius: 3px;
  background: rgba(88, 181, 216, 0.26);
}

.finder-map-note,
.finder-map-status {
  max-width: none;
  font-size: 0.78rem;
  line-height: 1.55;
}

/* ---------- Statewide parcel-water screen ---------- */

.parcel-pilot {
  position: relative;
  overflow: hidden;
  border-color: #9dbdb4;
  background: #f7faf8;
}

.parcel-pilot::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: #0b6b58;
}

.parcel-pilot[hidden] {
  display: none;
}

.parcel-pilot.is-loading {
  min-height: 8.5rem;
}

.parcel-pilot.is-loading::after {
  content: "";
  position: absolute;
  top: 1.7rem;
  right: 1.7rem;
  width: 1rem;
  height: 1rem;
  border: 2px solid #b9d6ce;
  border-top-color: #0b6b58;
  border-radius: 50%;
  animation: parcel-pilot-spin 0.8s linear infinite;
}

@keyframes parcel-pilot-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .parcel-pilot.is-loading::after { animation: none; }
}

.parcel-pilot-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 2rem;
}

.parcel-pilot-head h2 {
  margin: 0;
  font-size: var(--step-2);
}

.parcel-pilot-summary {
  max-width: 72ch;
  margin: 0.45rem 0 0;
  color: var(--ink-mid);
  font-size: var(--step-0);
  line-height: 1.55;
}

.pilot-badge {
  flex: 0 0 auto;
  padding: 0.45rem 0.7rem;
  border: 1px solid #9dbdb4;
  border-radius: 999px;
  color: #075044;
  background: #e7f3ef;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.parcel-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.35rem 0 0;
  border: 1px solid #cbdcd7;
  border-radius: 6px;
  background: var(--paper);
}

.parcel-facts[hidden],
.evidence-ladder[hidden],
.parcel-hydrography[hidden],
.parcel-candidates[hidden],
.parcel-handoff[hidden],
.parcel-source-note[hidden] {
  display: none;
}

.parcel-facts > div {
  min-width: 0;
  padding: 0.9rem 1rem;
  border-right: 1px solid #dce8e4;
}

.parcel-facts > div:last-child {
  border-right: 0;
}

.parcel-facts span,
.parcel-handoff-kicker {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parcel-facts strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.evidence-ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 1.25rem 0 0;
}

.evidence-step {
  position: relative;
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr);
  gap: 0.65rem;
  padding: 1rem 1rem 1rem 0;
}

.evidence-step::after {
  content: "";
  position: absolute;
  top: 1.85rem;
  left: 1.75rem;
  right: 0;
  height: 1px;
  background: #bdd1cb;
}

.evidence-step:last-child::after {
  display: none;
}

.evidence-step > span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 2px solid #86aa9f;
  border-radius: 50%;
  color: #075044;
  background: #f7faf8;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
}

.evidence-step.is-crossing > span {
  border-color: #c25100;
  color: #8b3b00;
  background: #fff7ef;
}

.evidence-step.is-unknown > span {
  border-color: #9b8f77;
  color: #6a5c42;
  background: #f5f1e9;
}

.evidence-step strong {
  display: block;
  margin: 0.18rem 0 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
}

.evidence-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.5;
}

.parcel-hydrography {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border: 1px solid #bdd5e0;
  border-top: 4px solid #1675a6;
  border-radius: 7px;
  background: #f3f9fc;
}

.parcel-hydrography-head {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
}

.parcel-hydrography-head h3 {
  margin: 0;
  font-size: var(--step-1);
}

.parcel-hydrography-count {
  color: #24566c;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
}

.parcel-hydrography-summary,
.report-hydrography-summary {
  max-width: none;
  margin: 0.65rem 0 0.9rem;
  color: var(--ink-mid);
  font-size: 0.8rem;
  line-height: 1.55;
}

.parcel-hydrography-grid,
.report-hydrography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.7rem;
}

.parcel-hydrography-card,
.report-hydrography-card {
  padding: 0.9rem;
  border: 1px solid #c9dde6;
  border-left: 4px dashed #5b9fbe;
  border-radius: 5px;
  background: var(--paper);
}

.parcel-hydrography-card.is-at-parcel,
.report-hydrography-card.is-at-parcel {
  border-left-style: solid;
  border-left-color: #1675a6;
}

.hydrography-card-label {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hydrography-card-label span {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  color: #174e66;
  background: #e4f2f8;
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hydrography-card-label span:last-child {
  color: #5f4d24;
  background: #fff6dc;
}

.parcel-hydrography-card h4,
.report-hydrography-card h4 {
  margin: 0.55rem 0 0.2rem;
  font-size: var(--step-0);
}

.parcel-hydrography-card p,
.report-hydrography-card p {
  margin: 0.25rem 0;
  font-size: 0.74rem;
  line-height: 1.45;
}

.hydrography-card-relation {
  color: #174e66;
  font-weight: 700;
}

.parcel-hydrography-card dl,
.report-hydrography-card dl {
  margin: 0.65rem 0;
  padding: 0.55rem 0;
  border-top: 1px solid #dce9ee;
  border-bottom: 1px solid #dce9ee;
  font-size: 0.69rem;
}

.parcel-hydrography-card dl > div,
.report-hydrography-card dl > div {
  display: grid;
  grid-template-columns: 5.7rem minmax(0, 1fr);
  gap: 0.45rem;
  padding: 0.14rem 0;
}

.parcel-hydrography-card dt,
.report-hydrography-card dt { color: var(--ink-soft); font-weight: 700; }
.parcel-hydrography-card dd,
.report-hydrography-card dd { margin: 0; overflow-wrap: anywhere; }
.parcel-hydrography-card > a,
.report-hydrography-card > a { font-size: 0.71rem; font-weight: 700; }

.parcel-hydrography-boundary,
.report-hydrography-boundary {
  max-width: none;
  margin: 0.85rem 0 0;
  padding-top: 0.7rem;
  border-top: 1px solid #cfe0e7;
  color: var(--ink-soft);
  font-size: 0.71rem;
  line-height: 1.5;
}

.parcel-candidates {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #cbdcd7;
}

.parcel-candidates > h3 {
  margin: 0 0 0.75rem;
  font-size: var(--step-1);
}

.parcel-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.8rem;
}

.parcel-candidate {
  padding: 1rem;
  border: 1px solid #cbdcd7;
  border-radius: 6px;
  background: var(--paper);
}

.parcel-candidate.is-crossing {
  border-top: 4px solid #c25100;
}

.parcel-candidate.is-nearby {
  border-top: 4px dotted #8e6b24;
}

.parcel-candidate-status {
  margin: 0 0 0.45rem;
  color: #075044;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.parcel-candidate.is-crossing .parcel-candidate-status {
  color: #8b3b00;
}

.parcel-candidate h3 {
  margin: 0 0 0.35rem;
  font-size: var(--step-0);
}

.parcel-candidate p {
  margin: 0.3rem 0;
  font-size: 0.8rem;
  line-height: 1.45;
}

.parcel-candidate-distance {
  color: var(--ink);
  font-weight: 700;
}

.parcel-candidate-limit {
  color: var(--ink-soft);
}

.parcel-candidate-proof {
  margin: 0.8rem 0;
  padding: 0.7rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.74rem;
}

.parcel-candidate-proof > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.2rem 0;
}

.parcel-candidate-proof dt {
  color: var(--ink-soft);
  font-weight: 700;
}

.parcel-candidate-proof dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.parcel-handoff {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(15rem, 0.75fr);
  gap: 1rem 2rem;
  align-items: center;
  margin-top: 1.35rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #b7c7d1;
  border-radius: 6px;
  background: #eef5f8;
}

.parcel-handoff h3 {
  margin: 0;
  font-size: var(--step-1);
}

.parcel-handoff p {
  margin: 0.4rem 0 0;
  font-size: 0.82rem;
}

.parcel-handoff-kicker {
  color: var(--water-deep);
}

.parcel-handoff-actions {
  display: grid;
  gap: 0.6rem;
}

.parcel-handoff-actions .btn {
  justify-content: center;
  text-align: center;
}

.parcel-source-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.5;
}

.finder-map-note {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
}

.finder-map-status {
  margin: 0.45rem 0 0;
  color: var(--water-deep);
  font-weight: 600;
}

.result-structure-cell {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.result-rank {
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-width: 1.5px;
  box-shadow: none;
  font-size: 0.68rem;
}

.result-map-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--water-deep);
  background: transparent;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  cursor: pointer;
}

.result-map-link:hover,
.result-map-link:focus {
  color: var(--water);
}

#results-body tr.is-map-active td {
  background: var(--water-tint);
}

/* ---------- Tool index page ---------- */

.tool-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: none;
  border-top: 1px solid var(--border);
}

.tool-index-list li {
  margin: 0;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}

.tool-index-list h2 {
  font-size: var(--step-1);
  margin-bottom: 0.35em;
}

.tool-index-list p {
  color: var(--ink-mid);
  margin-bottom: 0.6em;
}

.tool-index-list a.tool-link {
  font-weight: 600;
  text-decoration: none;
}

.tool-index-list a.tool-link:hover,
.tool-index-list a.tool-link:focus {
  text-decoration: underline;
}

/* ---------- Section scaffolding ---------- */

.tool-section {
  margin: 0 0 clamp(2.25rem, 4vw, 3rem);
  padding-bottom: clamp(2.25rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.tool-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tool-section h2 {
  font-size: var(--step-2);
  margin-bottom: 0.3em;
}

.tool-section-note {
  color: var(--ink-mid);
  max-width: var(--measure);
  margin: 0 0 1.5rem;
}

.tool-card {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--paper-dim);
  padding: clamp(1.25rem, 3vw, 2rem);
  max-width: none;
}

.tool-card + .tool-card {
  margin-top: 1.5rem;
}

/* ---------- Forms ---------- */

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.field label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink-mid);
}

.field .hint {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 400;
}

input[type="text"],
input[type="number"],
input[type="date"],
select,
textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  padding: 0.6em 0.75em;
  width: 100%;
  line-height: 1.3;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2.5px solid var(--water);
  outline-offset: 1px;
  border-color: var(--water);
}

textarea {
  min-height: 9rem;
  font-family: var(--font-sans);
  resize: vertical;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.55em 1.1em;
}

button.btn {
  cursor: pointer;
  font: inherit;
  font-family: var(--font-sans);
  font-weight: 600;
}

button.btn-secondary {
  background: transparent;
}

.remove-row {
  background: none;
  border: none;
  color: var(--ink-soft);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0.3em 0.5em;
}

.remove-row:hover {
  color: var(--water-deep);
}

/* ---------- Result readouts ---------- */

.result-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-strong);
}

.result-item .result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-bottom: 0.25em;
}

.result-item .result-value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--water-deep);
  font-variant-numeric: tabular-nums;
}

.result-item.result-total .result-value {
  font-size: var(--step-2);
}

/* ---------- Tables (billing roll) ---------- */

.table-scroll {
  /* position: relative so this is the containing block for any
     position:absolute descendant (e.g. styles.css's .visually-hidden
     table-header spans) — otherwise such a descendant escapes this
     container's overflow-x clipping and widens the whole page. */
  position: relative;
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
}

table.calc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 30rem;
  background: var(--paper);
}

table.calc-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  padding: 0.9rem 1rem 0;
  font-family: var(--font-serif);
}

table.calc-table th,
table.calc-table td {
  padding: 0.65em 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: var(--step--1);
  white-space: nowrap;
}

table.calc-table th {
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--ink-mid);
  background: var(--paper-dim);
}

table.calc-table td.num,
table.calc-table th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

table.calc-table tfoot td {
  font-weight: 700;
  border-bottom: none;
  border-top: 2px solid var(--border-strong);
}

/* ---------- Ditch Finder property report ---------- */

.property-report {
  margin-top: 1.5rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--border-strong);
  border-top: 4px solid var(--water-deep);
  border-radius: 8px;
  background: var(--paper);
}

.property-report[hidden] {
  display: none;
}

.property-report-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: start;
}

.property-report-head h2 {
  margin: 0 0 0.25em;
  font-size: var(--step-2);
}

.report-brand {
  margin: 0 0 0.5rem;
  color: var(--water-deep);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.report-address {
  margin: 0;
  color: var(--ink-mid);
  font-size: var(--step-1);
}

.report-meta {
  margin: 0;
  min-width: 13rem;
  font-size: var(--step--1);
}

.report-meta > div {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.report-meta dt {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.report-meta dd {
  margin: 0.15rem 0 0;
  font-variant-numeric: tabular-nums;
}

.report-warning {
  margin: 1.35rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--water-line);
  border-left: 4px solid var(--water-deep);
  background: var(--water-tint);
  line-height: 1.55;
}

.report-finding {
  display: grid;
  grid-template-columns: 12rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  align-items: start;
  margin: 1.4rem 0 1rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid #b7c7d1;
  border-left: 5px solid var(--water-deep);
  border-radius: 6px;
  background: #f6f9fa;
}

.report-finding.is-crossing {
  border-color: #dfb78f;
  border-left-color: #c25100;
  background: #fff8f1;
}

.report-finding.is-nearby {
  border-color: #d8c899;
  border-left-color: #8e6b24;
  background: #fffbef;
}

.report-finding.is-no-hit {
  border-color: #b8d1ca;
  border-left-color: #0b6b58;
  background: #f5faf8;
}

.report-finding-status {
  display: inline-flex;
  justify-content: center;
  padding: 0.45rem 0.65rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--water-deep);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.report-finding.is-crossing .report-finding-status { color: #8b3b00; }
.report-finding.is-nearby .report-finding-status { color: #72530f; }
.report-finding.is-no-hit .report-finding-status { color: #075044; }

.report-finding-kicker,
.report-section-kicker {
  margin: 0 0 0.28rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.report-finding h3 {
  margin: 0 0 0.35rem;
  font-size: var(--step-1);
}

.report-finding p:last-child {
  max-width: none;
  margin: 0;
  color: var(--ink-mid);
}

.report-scope-note {
  margin-top: 1rem;
  background: #f4f7f8;
}

.report-parcel-screen {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #b8d1ca;
  border-radius: 6px;
  background: #f7faf8;
}

.report-parcel-screen[hidden] {
  display: none;
}

.report-parcel-screen h3 {
  margin: 0 0 0.45rem;
  font-size: var(--step-1);
}

.report-parcel-screen p {
  max-width: none;
  margin: 0.3rem 0;
  font-size: var(--step--1);
}

.report-evidence-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0.8rem 0;
  border: 1px solid #d5e2de;
  border-radius: 5px;
  background: var(--paper);
}

.report-evidence-facts > div {
  padding: 0.75rem;
  border-right: 1px solid #d5e2de;
}

.report-evidence-facts > div:last-child { border-right: 0; }

.report-evidence-facts span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-evidence-facts strong {
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.report-evidence-summary {
  padding-top: 0.55rem;
  border-top: 1px solid #d5e2de;
}

.report-parcel-map {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid #c8d6dd;
  border-radius: 6px;
  background: #fbfcfc;
}

.report-parcel-map[hidden] {
  display: none;
}

.report-map-orientation {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.report-parcel-map figure {
  margin: 0;
}

.report-satellite-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid #b8c8cf;
  border-radius: 7px;
  background: #24362f;
}

.report-satellite-map {
  width: 100%;
  height: clamp(22rem, 48vw, 31rem);
  background: #24362f;
}

.report-imagery-status {
  position: absolute;
  z-index: 500;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(12, 29, 34, 0.82);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}

.report-parcel-id-overlay {
  position: absolute;
  z-index: 500;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #123a35;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.report-satellite-map .leaflet-control-attribution {
  max-width: min(82%, 36rem);
  padding: 0.2rem 0.35rem;
  background: rgba(255, 255, 255, 0.83);
  color: #24343b;
  font-size: 0.54rem;
  line-height: 1.25;
  text-align: right;
}

.report-satellite-map .leaflet-pane > svg {
  max-width: none !important;
  max-height: none !important;
}

.report-map-legend {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1rem;
  margin: 0;
  padding: 0.8rem 0 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 0.7rem;
}

.report-map-legend li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.05rem 0.45rem;
  align-items: center;
}

.report-map-legend li > span:last-child {
  grid-column: 2;
  color: var(--ink-soft);
}

.report-map-legend-parcel {
  width: 1.45rem;
  height: 0.8rem;
  border: 2px dashed #0b6b58;
  background: rgba(121, 198, 178, 0.28);
}

.report-map-legend-line {
  width: 1.45rem;
  border-top: 4px solid #c25100;
}

.report-map-legend-line.is-nearby {
  border-top-color: #8e6b24;
  border-top-style: dashed;
}

.report-map-legend-line.is-screened {
  border-top-color: #7b858b;
  border-top-style: dotted;
}

.report-map-legend-hydro-line {
  width: 1.45rem;
  border-top: 4px solid #1681b3;
}

.report-map-legend-hydro-area {
  width: 1.45rem;
  height: 0.8rem;
  border: 2px solid #16769d;
  background: rgba(88, 181, 216, 0.3);
}

.report-map-legend-point {
  width: 0.72rem;
  height: 0.72rem;
  margin-left: 0.32rem;
  border: 2px solid #c25100;
  border-radius: 50%;
  background: #fff;
}

.report-parcel-map figcaption {
  margin-top: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.5;
}

.report-delivery-graph {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #c8d6dd;
  border-top: 4px solid var(--water-deep);
  border-radius: 6px;
  background: #f8fafb;
}

.report-hydrography {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid #bdd5e0;
  border-top: 4px solid #1675a6;
  border-radius: 6px;
  background: #f5fafc;
}

.report-hydrography[hidden] { display: none; }

.report-delivery-graph[hidden] { display: none; }

.report-delivery-boundary {
  max-width: none;
  margin: 0 0 0.9rem;
  padding: 0.75rem 0.85rem;
  color: var(--ink-mid);
  background: var(--paper);
  border-left: 4px solid #7796a4;
  font-size: 0.76rem;
  line-height: 1.5;
}

.report-delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: 0.9rem;
}

.report-delivery-components {
  display: grid;
  gap: 0.65rem;
}

.report-delivery-component {
  padding: 0.85rem;
  border: 1px solid #d3dde1;
  border-left: 4px solid #688898;
  border-radius: 5px;
  background: var(--paper);
}

.report-delivery-component > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.report-delivery-component > div span {
  padding: 0.22rem 0.42rem;
  color: #22485b;
  background: #e7f0f4;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-delivery-component > div span:last-child {
  color: #72530f;
  background: #fff5d9;
}

.report-delivery-component h4 {
  margin: 0.55rem 0 0.2rem;
  font-size: var(--step-0);
}

.report-delivery-component p,
.report-delivery-component small,
.report-delivery-component > a {
  display: block;
  margin: 0.18rem 0;
  font-size: 0.72rem;
  line-height: 1.45;
}

.report-delivery-component small { color: var(--ink-soft); }
.report-delivery-component > a { margin-top: 0.55rem; font-weight: 700; }

.report-delivery-links,
.report-delivery-empty {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--paper-dim);
}

.report-delivery-links h4 {
  margin: 0 0 0.4rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.report-delivery-links p {
  margin: 0 0 0.95rem;
  color: var(--ink-mid);
  font-size: 0.73rem;
  line-height: 1.45;
}

.report-delivery-links ol {
  margin: 0;
  padding-left: 1.1rem;
}

.report-delivery-links li {
  margin: 0.55rem 0;
  padding-left: 0.15rem;
  font-size: 0.72rem;
}

.report-delivery-links li strong,
.report-delivery-links li span { display: block; }
.report-delivery-links li span { margin-top: 0.15rem; color: var(--ink-soft); line-height: 1.45; }

.report-documented,
.report-sources {
  margin: 1.5rem 0;
}

.report-documented[hidden] { display: none; }

.report-section-head {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.report-section-head h3 {
  margin: 0;
  font-size: var(--step-1);
}

.report-source-count {
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
}

.report-documented-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 0.9rem;
}

.report-evidence-card {
  padding: 1rem;
  border: 1px solid #c8d6dd;
  border-top: 4px solid #8e6b24;
  border-radius: 6px;
  background: var(--paper);
}

.report-evidence-card.is-crossing { border-top-color: #c25100; }

.report-evidence-card header h4 {
  margin: 0.55rem 0 0.15rem;
  font-size: var(--step-0);
}

.report-evidence-card header p,
.report-evidence-measurement {
  margin: 0.2rem 0;
  font-size: 0.8rem;
}

.report-evidence-measurement {
  margin: 0.8rem 0;
  color: var(--ink);
  font-weight: 700;
}

.report-evidence-card dl {
  margin: 0.75rem 0;
  font-size: 0.74rem;
}

.report-evidence-card dl > div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 0.5rem;
  padding: 0.24rem 0;
  border-bottom: 1px solid #edf0f1;
}

.report-evidence-card dt { color: var(--ink-soft); font-weight: 700; }
.report-evidence-card dd { margin: 0; }

.report-evidence-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
}

.report-status-chip {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.48rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1.2;
  text-transform: uppercase;
}

.report-status-chip.is-documented { color: #075044; background: #edf8f4; }
.report-status-chip.is-proximity { color: #72530f; background: #fff9e8; }
.report-status-chip.is-screened { color: #43515a; background: #f2f4f5; }
.report-status-chip.is-unsearched { color: #765b35; background: #faf5ec; }
.report-status-chip.is-open { color: #8b3b00; background: #fff4e9; }

.report-source-table {
  min-width: 46rem !important;
  font-size: 0.78rem;
}

.report-source-table td { vertical-align: top; white-space: normal !important; }
.report-source-table td:first-child { width: 25%; }
.report-source-table td:nth-child(2) { width: 18%; }
.report-source-table small { display: block; color: var(--ink-soft); }

.report-regional-context {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper-dim);
}

.report-regional-context[hidden] { display: none; }
.report-regional-context summary { cursor: pointer; font-weight: 700; }
.report-regional-context > details > p { color: var(--ink-soft); font-size: 0.8rem; }

.report-table-wrap {
  margin: 1.25rem 0;
}

.report-table {
  min-width: 46rem !important;
}

.report-table td {
  white-space: normal !important;
  vertical-align: top;
}

.report-table small {
  color: var(--ink-soft);
}

.report-next-checks {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-strong);
}

.report-next-checks h3 {
  margin: 0 0 0.65rem;
  font-size: var(--step-1);
}

.report-next-checks ol {
  margin: 0;
  padding-left: 1.3rem;
  max-width: var(--measure);
}

.report-open-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.report-open-grid article {
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--paper-dim);
}

.report-open-grid strong {
  display: block;
  margin: 0.55rem 0 0.2rem;
  font-size: 0.82rem;
}

.report-open-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.report-next-checks li {
  margin: 0.45rem 0;
}

.report-source-note {
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.report-action-status {
  align-self: center;
  color: var(--water-deep);
  font-size: var(--step--1);
  font-weight: 700;
}

/* ---------- Individual notices ---------- */

.notices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.notice-card {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--paper);
  padding: 1.5rem;
  max-width: none;
}

.notice-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 0.9rem;
}

.notice-head .notice-company {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: var(--step-0);
}

.notice-head .notice-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.notice-body dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4em 1.25em;
  margin: 0 0 1rem;
}

.notice-body dt {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: var(--step--1);
}

.notice-body dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.notice-amount {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: var(--step-2);
  color: var(--water-deep);
  margin: 0.5rem 0;
}

.notice-payline {
  font-size: var(--step--1);
  color: var(--ink-mid);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.notice-actions {
  margin-top: 1rem;
}

/* ---------- Utility ---------- */

.no-print-inline {
  display: inline;
}

.is-empty-message {
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .no-print {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .tool-article {
    padding-top: 0;
  }

  .breadcrumb,
  .privacy-note {
    display: none;
  }

  .tool-card,
  .notice-card {
    border-color: #999;
    background: #fff;
    box-shadow: none;
  }

  .table-scroll {
    border-color: #999;
    overflow: visible;
  }

  table.calc-table th {
    background: #fff;
  }

  /* Print-mode targeting: which output block is visible on paper is
     controlled by a data attribute the print buttons set on <body>. */
  body[data-print-mode="roll"] .notices-output,
  body[data-print-mode="notices"] .roll-output,
  body[data-print-mode="single-notice"] .roll-output {
    display: none !important;
  }

  body[data-print-mode="single-notice"] .notice-card {
    display: none !important;
  }

  body[data-print-mode="single-notice"] .notice-card.print-target {
    display: block !important;
    break-inside: avoid;
  }

  body[data-print-mode="notices"] .notice-card {
    break-inside: avoid;
    break-after: page;
  }

  body[data-print-mode="notices"] .notice-card:last-child {
    break-after: auto;
  }

  .notices-grid {
    display: block;
  }

  .notices-grid .notice-card + .notice-card {
    margin-top: 1.5rem;
  }

  body[data-print-mode="property-report"] .tool-article > .container > :not(.tool-section),
  body[data-print-mode="property-report"] #how-it-works,
  body[data-print-mode="property-report"] .tool-section > :not(#property-report) {
    display: none !important;
  }

  body[data-print-mode="property-report"] .tool-section {
    margin: 0;
    padding: 0;
    border: 0;
  }

  body[data-print-mode="property-report"] .property-report {
    display: block !important;
    margin: 0;
    padding: 0;
    border: 0;
  }

  body[data-print-mode="property-report"] .report-warning {
    background: #fff;
    border-color: #555;
  }

  body[data-print-mode="property-report"] .report-table {
    min-width: 0 !important;
    font-size: 8.5pt;
  }

  body[data-print-mode="property-report"] .report-source-table {
    min-width: 0 !important;
    font-size: 8pt;
  }

  body[data-print-mode="property-report"] .report-finding,
  body[data-print-mode="property-report"] .report-parcel-map,
  body[data-print-mode="property-report"] .report-hydrography,
  body[data-print-mode="property-report"] .report-hydrography-card,
  body[data-print-mode="property-report"] .report-delivery-graph,
  body[data-print-mode="property-report"] .report-delivery-component,
  body[data-print-mode="property-report"] .report-evidence-card,
  body[data-print-mode="property-report"] .report-open-grid article {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body[data-print-mode="property-report"] .report-table tr {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  body[data-print-mode="property-report"] a {
    color: #000;
    text-decoration: none;
  }

  body[data-print-mode="property-report"] .report-parcel-map {
    padding: 0.12in;
    background: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body[data-print-mode="property-report"] .report-satellite-map {
    height: 3.35in;
  }

  body[data-print-mode="property-report"] .report-imagery-status {
    font-size: 6pt;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 820px) {
  .parcel-facts,
  .evidence-ladder {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parcel-facts > div:nth-child(2) {
    border-right: 0;
  }

  .parcel-facts > div:nth-child(-n + 2) {
    border-bottom: 1px solid #dce8e4;
  }

  .evidence-step:nth-child(2)::after {
    display: none;
  }

  .parcel-handoff {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-finding {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-finding-status {
    justify-self: start;
  }

  .report-evidence-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-evidence-facts > div:nth-child(2) { border-right: 0; }
  .report-evidence-facts > div:nth-child(-n + 2) { border-bottom: 1px solid #d5e2de; }

  .report-open-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-map-legend {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-satellite-map {
    height: 17rem;
  }
}

@media (max-width: 520px) {
  .report-imagery-status,
  .report-parcel-id-overlay {
    left: 0.45rem;
    right: auto;
    padding: 0.3rem 0.45rem;
    font-size: 0.56rem;
  }

  .report-imagery-status {
    top: 0.45rem;
  }

  .report-parcel-id-overlay {
    top: 2rem;
  }

  .finder-search-row,
  .finder-support-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .finder-search-submit {
    width: 100%;
  }

  .finder-coverage-note {
    text-align: left;
  }

  .finder-map-head {
    display: block;
  }

  .finder-map-actions {
    justify-content: flex-start;
    margin-top: 0.8rem;
  }

  .finder-map-full-link {
    display: inline-flex;
  }

  .parcel-pilot-head {
    display: block;
  }

  .pilot-badge {
    display: inline-block;
    margin-top: 0.8rem;
  }

  .parcel-facts,
  .evidence-ladder {
    grid-template-columns: minmax(0, 1fr);
  }

  .parcel-facts > div {
    border-right: 0;
    border-bottom: 1px solid #dce8e4;
  }

  .parcel-facts > div:last-child {
    border-bottom: 0;
  }

  .evidence-step::after {
    top: 1.75rem;
    right: auto;
    bottom: -0.75rem;
    left: 0.875rem;
    width: 1px;
    height: auto;
  }

  .evidence-step:nth-child(2)::after {
    display: block;
  }

  .evidence-step:last-child::after {
    display: none;
  }

  .finder-results-map {
    height: 23rem;
  }

  .finder-map-key {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .property-report-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-meta {
    min-width: 0;
  }

  .report-evidence-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-evidence-facts > div,
  .report-evidence-facts > div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #d5e2de;
  }

  .report-evidence-facts > div:last-child {
    border-bottom: 0;
  }

  .report-documented-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-delivery-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .report-evidence-card dl > div,
  .parcel-candidate-proof > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1rem;
  }

  .notice-head {
    flex-direction: column;
    gap: 0.25rem;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
}
