@import url("/water-actions.css");
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #163d40;
  background: #f6f8f5;
  font-size: 18px;
  line-height: 1.6;
  --green: #15584f;
  --muted: #4d6466;
  --line: #d4dfd9;
  --cream: #eaf2ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
.button {
  min-height: 50px;
  border-radius: 10px;
  padding: 11px 19px;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.4;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
button.quiet,
.button.quiet {
  background: transparent;
  color: var(--green);
  border-color: var(--line);
}
a {
  color: #15584f;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid #c07819;
  outline-offset: 4px;
}
.top {
  max-width: 1120px;
  padding: 22px 28px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.8px;
  text-decoration: none;
  white-space: nowrap;
}
.tools,
.row,
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.tools {
  gap: 8px;
}
.tools select {
  width: auto;
  max-width: 180px;
}
.language-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.tools button {
  font-size: 0.85rem;
}
main {
  max-width: 920px;
  min-height: 65vh;
  margin: 0 auto;
  padding: 44px 26px 72px;
}
main:focus {
  outline: none;
}
h1 {
  font-size: clamp(32px, 5.3vw, 54px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  max-width: 760px;
  margin: 18px 0;
}
h2 {
  font-size: 1.45rem;
  line-height: 1.3;
  margin: 0 0 10px;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 8px;
}
p {
  margin: 10px 0 18px;
}
.lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 680px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--green);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}
.tile {
  display: flex;
  align-items: flex-start;
  text-align: start;
  flex-direction: column;
  gap: 8px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  box-shadow: 0 3px 0 #142f3510;
  border-radius: 16px;
  font-weight: 400;
  position: relative;
  min-height: 165px;
  text-decoration: none;
}
.tile strong {
  font-size: 1.18rem;
  line-height: 1.3;
}
.tile .hint {
  font-size: 0.88rem;
  color: var(--muted);
  padding-inline-end: 18px;
}
.tile .arrow {
  position: absolute;
  inset-inline-end: 22px;
  bottom: 22px;
  color: var(--green);
}
.tile .number {
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
}
.tile:hover {
  border-color: var(--green);
  background: #fafffb;
}
.card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin: 22px 0;
}
.soft {
  background: var(--cream);
}
.warning {
  background: #fff7e7;
  border-color: #dfbf88;
}
.muted,
.fine {
  color: var(--muted);
  font-size: 0.88rem;
}
.fine {
  font-size: 0.78rem;
}
.stack {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 7px;
  margin: 18px 0;
  font-weight: 700;
}
.field small {
  font-weight: 400;
  color: var(--muted);
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #93a9a4;
  border-radius: 8px;
  background: white;
  color: #163d40;
  padding: 12px;
  min-height: 50px;
}
textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 18px 0;
}
.check input {
  width: 24px;
  min-width: 24px;
  height: 24px;
  min-height: 24px;
  margin: 4px 0;
  accent-color: var(--green);
}
.check span {
  font-size: 0.94rem;
}
.actions {
  margin-top: 22px;
}
.back {
  padding: 0;
  min-height: 44px;
  background: none;
  border: 0;
  color: var(--green);
  font-size: 0.9rem;
}
.step {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 12px 0;
}
.money {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 0;
}
.price-grid span {
  display: block;
}
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--cream);
  padding: 3px 9px;
  border-radius: 6px;
  margin: 5px 4px 5px 0;
}
.source {
  font-size: 0.8rem;
}
.result-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}
.result-grid .field {
  margin: 8px 0;
}
.line {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.save {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 28px;
}
details {
  margin: 18px 0;
}
summary {
  cursor: pointer;
  min-height: 44px;
  font-weight: 700;
}
blockquote {
  margin: 12px 0;
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font: inherit;
}
footer {
  max-width: 920px;
  margin: auto;
  padding: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--line);
}
#notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 10px;
  background: #143d3b;
  color: #fff;
  z-index: 10;
  max-width: 90%;
  box-shadow: 0 4px 20px #0002;
}
#notice:empty {
  display: none;
}
.skip {
  position: absolute;
  top: -90px;
  left: 10px;
  padding: 16px;
  background: white;
  z-index: 20;
}
.skip:focus {
  top: 10px;
}
html.large {
  font-size: 22px;
}
.danger {
  color: #803b28 !important;
  border-color: #c89989 !important;
}
.offscreen {
  position: absolute;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
}
.empty {
  padding: 30px 0;
}
ul {
  padding-inline-start: 24px;
}
li {
  margin: 8px 0;
}
@media (max-width: 600px) {
  .top {
    padding: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .tools {
    width: 100%;
  }
  .tools select {
    flex: 1;
    max-width: none;
  }
  .tools button {
    padding: 8px 12px;
  }
  main {
    padding: 28px 18px 50px;
  }
  .tiles {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 22px 0;
  }
  .tile {
    min-height: 120px;
    padding: 20px;
  }
  .tile .number {
    display: none;
  }
  h1 {
    letter-spacing: -1px;
  }
  .card {
    padding: 20px;
  }
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
  .result-grid .field:first-child {
    grid-column: 1/-1;
  }
  .actions > * {
    flex: 1 1 auto;
  }
  .price-grid {
    gap: 10px;
  }
  .row > * {
    flex: 1;
  }
  .tools {
    flex-wrap: nowrap;
  }
}
@media print {
  .top,
  .back,
  .tools,
  .actions,
  .save,
  #notice,
  footer {
    display: none;
  }
  main {
    max-width: none;
    padding: 0;
  }
  body {
    background: white;
  }
  .card {
    break-inside: avoid;
    border: 1px solid #aaa;
  }
  textarea {
    border: 0;
    min-height: 300px;
  }
  details {
    display: block;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
.context-help { float: inline-end; margin-bottom: 12px; font-size: .85rem; }
.home-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); }
.home-tiles .tile { padding: 20px; min-height: 145px; }
.home-tiles .tile strong { font-size: 1rem; }
main > h1 { clear: both; }
main > .lead { font-size: 1rem; }
main { padding-top: 26px; }
h1 { font-size: clamp(30px,4.5vw,42px); }
.card > dl { overflow-wrap: anywhere; }
dt { font-weight: 700; margin-top: 12px; }
dd { margin-inline-start:0; white-space:pre-wrap; }
@media(max-width:750px) { .home-tiles {grid-template-columns:repeat(2,minmax(0,1fr));} }
@media(max-width:480px) { .home-tiles {grid-template-columns:1fr;} .context-help {float:none;} }
.preview-notice { max-width:1064px; margin:12px auto 0; padding:9px 18px; border:1px solid #d7d8cc; background:#fffcef; border-radius:8px; font-size:13px; color:#625d3f; }
.directory-links { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.directory-links button { justify-content:flex-start; text-align:start; }
@media(max-width:540px) {.directory-links {grid-template-columns:1fr;}}

.official-route{margin-block:1rem}.search-attribution{border:0;width:100%;min-height:160px}.local-results blockquote{margin:1rem 0;border-inline-start:3px solid #a3c4ba;padding-inline-start:1rem;overflow-wrap:anywhere}
