/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .table {
    display: table;
  }
  .rounded {
    border-radius: 0.25rem;
  }
}
:root {
  color-scheme: dark;
  --ink: #06151a;
  --ink-raised: #0b2026;
  --ink-soft: #102a31;
  --line: rgba(182, 220, 220, 0.16);
  --line-strong: rgba(182, 220, 220, 0.28);
  --cream: #f4eddf;
  --muted: #9ab0ad;
  --water: #46d6ca;
  --water-soft: #1d8e8e;
  --sand: #e6a66d;
  --coral: #ff6b5b;
  --positive: #7be0ac;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--ink);
}
body {
  margin: 0;
  background: radial-gradient(circle at 82% -10%, rgba(32, 130, 135, 0.2), transparent 32rem),
    linear-gradient(180deg, #071a20 0%, var(--ink) 38rem);
  color: var(--cream);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  min-width: 320px;
}
button,
a {
  font: inherit;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 4px;
}
main {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 0 30px 54px;
}
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.brand-mark {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding: 8px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(70, 214, 202, 0.08);
}
.brand-mark span {
  flex: 1;
  min-width: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--water);
}
.brand-mark span:nth-child(1) {
  height: 38%;
  opacity: 0.58;
}
.brand-mark span:nth-child(2) {
  height: 82%;
}
.brand-mark span:nth-child(3) {
  height: 60%;
  opacity: 0.72;
}
.brand-mark span:nth-child(4) {
  height: 28%;
  opacity: 0.44;
}
.header-status {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  min-height: 36px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.72rem;
}
.refresh-meta {
  display: grid;
  gap: 3px;
  text-align: right;
}
.refresh-meta span {
  display: block;
}
.last-refreshed {
  color: #c2cfcc;
  font-size: 0.61rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.refresh-button {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.025);
  padding: 8px 13px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}
.refresh-button:hover:not(:disabled) {
  border-color: rgba(70, 214, 202, 0.55);
  background: rgba(70, 214, 202, 0.08);
}
.refresh-button:disabled {
  cursor: wait;
  opacity: 0.82;
}
.refresh-button[aria-busy="true"] > span:first-child {
  animation: refresh-spin 800ms linear infinite;
}
.refresh-progress {
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 100%;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(182, 220, 220, 0.12);
  box-shadow: 0 0 0 1px rgba(182, 220, 220, 0.04);
}
.refresh-progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--water-soft), var(--water));
  box-shadow: 0 0 12px rgba(70, 214, 202, 0.5);
  transition: width 180ms ease-out;
}
@keyframes refresh-spin {
  to {
    transform: rotate(360deg);
  }
}
.data-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 107, 91, 0.36);
  border-radius: 12px;
  background: rgba(255, 107, 91, 0.085);
  color: #d8e2df;
  font-size: 0.78rem;
  line-height: 1.45;
}
.data-alert strong,
.data-alert span {
  display: block;
}
.data-alert strong {
  margin-bottom: 3px;
  color: var(--coral);
  font-size: 0.8rem;
}
.data-alert-age {
  flex: 0 0 auto;
  color: #f1b3aa;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.65rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(510px, 1.14fr);
  gap: clamp(50px, 7vw, 118px);
  align-items: end;
  padding: 72px 0 68px;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--water);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.3rem, 6.6vw, 7.25rem);
  font-weight: 540;
  letter-spacing: -0.075em;
  line-height: 0.91;
}
.hero-deck {
  max-width: 500px;
  margin-bottom: 0;
  color: #b5c4c1;
  font-size: clamp(1.04rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}
.system-pulse {
  padding: 26px 0 4px;
  border-top: 1px solid var(--line-strong);
}
.pulse-topline,
.system-storage,
.threshold-heading,
.scale-labels,
.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pulse-topline {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.observation-date {
  color: #c2cfcc;
}
.pulse-value {
  margin: 18px 0 8px;
  font-size: clamp(3.25rem, 5.9vw, 6.55rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.95;
  white-space: nowrap;
}
.pulse-value small {
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.15em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pulse-gallons {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pulse-gallons strong {
  color: #d7e2df;
  font-size: 0.84rem;
  font-weight: 560;
  letter-spacing: 0.02em;
}
.negative {
  color: var(--coral);
}
.positive {
  color: var(--positive);
}
.pulse-sentence {
  max-width: 650px;
  color: #bdc9c6;
  font-size: 0.92rem;
  line-height: 1.55;
}
.change-breakdown {
  display: grid;
  gap: 11px;
  margin: 29px 0 25px;
}
.change-row {
  display: grid;
  grid-template-columns: 74px minmax(80px, 1fr) 104px;
  gap: 13px;
  align-items: center;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.69rem;
}
.change-row > span:first-child {
  color: var(--muted);
}
.change-row strong {
  text-align: right;
  font-weight: 520;
}
.change-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
}
.change-bar {
  display: block;
  width: var(--change-width);
  height: 100%;
  border-radius: inherit;
  transition: width 420ms ease;
}
.change-bar.down {
  background: var(--coral);
}
.change-bar.up {
  background: var(--positive);
}
.system-storage {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
}
.system-storage strong {
  margin-left: auto;
  color: var(--cream);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.92rem;
}
.critical-capacity,
.days-to-critical {
  margin-top: 18px;
  flex-wrap: wrap;
}
.reservoirs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.reservoir-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: radial-gradient(circle at 110% 2%, rgba(70, 214, 202, 0.11), transparent 42%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}
.reservoir-card::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -15%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(230, 166, 109, 0.12);
  border-radius: 49% 51% 43% 57% / 58% 34% 66% 42%;
  box-shadow: 0 0 0 24px rgba(230, 166, 109, 0.026),
    0 0 0 49px rgba(230, 166, 109, 0.018),
    0 0 0 77px rgba(230, 166, 109, 0.012);
  pointer-events: none;
}
.reservoir-header,
.primary-reading,
.threshold {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.reservoir-header {
  position: relative;
  z-index: 1;
  align-items: flex-start;
}
.reservoir-header .eyebrow {
  margin-bottom: 9px;
  color: var(--muted);
  letter-spacing: 0.1em;
}
.reservoir-header h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  font-weight: 550;
  letter-spacing: -0.045em;
}
.source-pill {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.63rem;
  text-transform: uppercase;
}
.source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand);
}
.source-pill.live .source-dot {
  background: var(--water);
  box-shadow: 0 0 0 4px rgba(70, 214, 202, 0.1);
}
.primary-reading {
  position: relative;
  z-index: 1;
  align-items: flex-end;
  margin: 43px 0 24px;
}
.reading-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.reading-value {
  margin-bottom: 10px;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(2.05rem, 3.5vw, 3.65rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
  white-space: nowrap;
}
.reading-value small {
  color: var(--muted);
  font-size: 0.28em;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.storage-reading {
  text-align: right;
}
.storage-value {
  margin-bottom: 10px;
  color: #cbd5d2;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(0.92rem, 1.45vw, 1.16rem);
}
.direction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.69rem;
}
.direction-down {
  color: var(--coral);
}
.direction-up {
  color: var(--positive);
}
.direction-flat {
  color: var(--muted);
}
.record-low-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  padding: 14px 16px;
  border: 1px solid rgba(230, 166, 109, 0.2);
  border-radius: 11px;
  background: rgba(230, 166, 109, 0.055);
}
.record-low-label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.record-low-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
  box-shadow: 0 0 0 5px rgba(230, 166, 109, 0.09);
}
.record-low-indicator.new-low {
  border-color: rgba(255, 107, 91, 0.38);
  background: rgba(255, 107, 91, 0.07);
}
.record-low-indicator.new-low .record-low-dot {
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(255, 107, 91, 0.1);
}
.record-low-indicator.new-low .record-low-label strong,
.record-low-values dd.below-low {
  color: var(--coral);
}
.record-low-label strong,
.record-low-label span {
  display: block;
}
.record-low-label strong {
  margin-bottom: 4px;
  font-size: 0.73rem;
  font-weight: 590;
}
.record-low-label span,
.record-low-values dt {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.record-low-values {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0;
  text-align: right;
}
.record-low-values div {
  min-width: 85px;
}
.record-low-values dt {
  margin-bottom: 4px;
}
.record-low-values dd {
  margin: 0;
  color: var(--sand);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.76rem;
  font-weight: 560;
  white-space: nowrap;
}
.level-scale {
  position: relative;
  z-index: 1;
  margin-bottom: 33px;
}
.scale-track {
  position: relative;
  height: 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
}
.scale-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--water-soft), var(--water));
  box-shadow: inset -10px 0 18px rgba(255, 255, 255, 0.18);
}
.current-marker,
.threshold-marker {
  position: absolute;
  top: 50%;
  width: 1px;
  transform: translate(-50%, -50%);
}
.current-marker {
  z-index: 2;
  height: 30px;
  background: var(--cream);
  box-shadow: 0 0 8px rgba(244, 237, 223, 0.4);
}
.marker-label {
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.threshold-marker {
  height: 22px;
  background: var(--sand);
}
.scale-labels {
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.62rem;
}
.threshold-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
}
.threshold-heading h3 {
  margin-bottom: 0;
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.threshold-heading span {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.61rem;
}
.thresholds {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
}
.threshold {
  align-items: center;
  min-height: 67px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.threshold > div:first-child {
  min-width: 0;
}
.threshold strong,
.threshold span {
  display: block;
}
.threshold strong {
  margin-bottom: 5px;
  font-size: 0.78rem;
  font-weight: 560;
}
.threshold span {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
}
.threshold-distance {
  flex: 0 0 auto;
  min-width: 118px;
  text-align: right;
}
.threshold-distance strong {
  color: var(--sand);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.71rem;
}
.threshold.crossed .threshold-distance strong,
.threshold.crossed .threshold-distance span {
  color: var(--coral);
}
footer {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 30px 60px;
  margin-top: 62px;
  padding-top: 27px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.65;
}
footer strong,
footer div > span {
  display: block;
}
footer strong {
  margin-bottom: 6px;
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
footer p {
  margin-bottom: 0;
}
footer a {
  color: var(--cream);
  text-underline-offset: 3px;
}
.footer-meta {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.61rem;
  text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .change-bar {
    transition: none;
  }
  .refresh-button[aria-busy="true"] > span:first-child {
    animation: none;
  }
  .refresh-progress > span {
    transition: none;
  }
}
@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 52px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .system-pulse {
    max-width: 860px;
  }
  .reservoirs {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  main {
    padding: 0 18px 34px;
  }
  .site-header {
    min-height: 74px;
  }
  .header-message {
    display: none;
  }
  .header-status {
    gap: 11px;
  }
  .last-refreshed {
    font-size: 0.56rem;
  }
  .header-status.refreshing {
    min-width: 96px;
  }
  .refresh-progress {
    width: 96px;
  }
  .data-alert {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .hero {
    padding: 52px 0 50px;
  }
  h1 {
    font-size: clamp(3.05rem, 15.5vw, 5.2rem);
  }
  .pulse-value {
    white-space: normal;
  }
  .pulse-value small {
    display: block;
    margin-top: 11px;
    font-size: 0.18em;
  }
  .pulse-gallons {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
  .system-storage {
    flex-wrap: wrap;
  }
  .system-storage strong {
    margin-left: 0;
  }
  .system-storage span:last-child {
    flex-basis: 100%;
  }
  .reservoir-card {
    border-radius: 15px;
  }
  .primary-reading {
    align-items: flex-start;
    flex-direction: column;
    margin: 35px 0 24px;
  }
  .storage-reading {
    text-align: left;
  }
  .record-low-indicator {
    align-items: flex-start;
    flex-direction: column;
  }
  .record-low-values {
    width: 100%;
    justify-content: space-between;
    padding-left: 18px;
    text-align: left;
  }
  .threshold {
    align-items: flex-start;
  }
  .threshold-distance {
    min-width: 108px;
  }
  footer {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
@media (max-width: 430px) {
  .brand > span:last-child {
    font-size: 0.77rem;
  }
  .refresh-button {
    padding: 8px 10px;
  }
  .refresh-button span + * {
    display: none;
  }
  .refresh-button[aria-busy="true"] .refresh-button-label {
    display: inline;
  }
  .pulse-topline,
  .threshold-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .change-row {
    grid-template-columns: 56px minmax(60px, 1fr) 90px;
    gap: 8px;
  }
  .reservoir-header {
    gap: 12px;
  }
  .source-pill {
    padding: 6px 8px;
    font-size: 0.57rem;
  }
  .reading-value {
    font-size: 2.1rem;
  }
  .record-low-values {
    gap: 12px;
    padding-left: 0;
  }
  .record-low-values div {
    min-width: 0;
  }
  .threshold {
    gap: 12px;
  }
  .threshold span {
    font-size: 0.61rem;
  }
  .threshold-distance {
    min-width: 100px;
  }
}
.hero {
  display: block;
  padding: 28px 0 24px;
}
.hero h1 {
  max-width: none;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  letter-spacing: -.045em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.hero .eyebrow {
  margin-bottom: 10px;
}
.hero-deck {
  max-width: none;
  font-size: 1rem;
  line-height: 1.5;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.section-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}
.section-heading > span {
  font-size: .875rem;
  color: var(--muted);
}
.overview-list {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.overview-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr .8fr 1.15fr 1.3fr;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  text-decoration: none;
  background: var(--ink-raised);
  font-size: .875rem;
}
.overview-row + .overview-row {
  border-top: 1px solid var(--line);
}
.overview-row:hover, .overview-row:focus-visible {
  background: var(--ink-soft);
}
.overview-row > span {
  font-family: var(--font-geist-mono), monospace;
}
.overview-row small {
  display: block;
  color: var(--muted);
  font: .75rem var(--font-geist-sans), sans-serif;
  margin-bottom: 4px;
}
.overview-row .direction {
  font-size: .875rem;
}
.system-pulse {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.system-pulse .pulse-value {
  font-size: 2.75rem;
}
.system-pulse .change-breakdown {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
  margin: 20px 0;
}
.reservoir-card {
  scroll-margin-top: 20px;
}
.header-status, .last-refreshed, .eyebrow, .source-pill, .reading-label, .direction, .scale-labels, .threshold-heading span, .footer-meta, .record-low-label span, .record-low-values dt {
  font-size: .75rem;
}
.threshold strong, .threshold span, .threshold-distance strong, .record-low-label strong, .record-low-values dd, .change-row, .system-storage, .pulse-topline, footer {
  font-size: .875rem;
}
.threshold-heading {
  flex-wrap: wrap;
}
.threshold-heading h3 {
  font-size: .875rem;
}
@media (max-width: 700px) {
  main {
    padding: 0 16px 32px;
  }
  .site-header {
    min-height: 74px;
    gap: 12px;
  }
  .refresh-meta .header-message {
    display: none;
  }
  .refresh-meta {
    max-width: 130px;
  }
  .last-refreshed {
    font-size: .75rem;
    text-transform: none;
    letter-spacing: 0;
  }
  .hero {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .overview-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    padding: 14px;
  }
  .overview-row > strong {
    grid-column: 1 / -1;
    font-size: 1rem;
  }
  .system-pulse {
    padding: 18px;
  }
  .system-pulse .change-breakdown {
    grid-template-columns: 1fr;
  }
  .system-storage {
    flex-wrap: wrap;
  }
  .system-storage > span:last-child {
    width: 100%;
  }
  .reservoirs {
    grid-template-columns: 1fr;
  }
  .reservoir-card {
    padding: 20px;
  }
  .threshold {
    flex-wrap: wrap;
    gap: 8px;
  }
  .threshold-distance {
    text-align: left;
  }
}
.observation-meta {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.5;
  margin: 16px 0 0;
}
.primary-reading {
  margin: 22px 0;
}
.history-section {
  position: relative;
  z-index: 1;
  padding: 22px 0 32px;
  border-top: 1px solid var(--line);
  margin-bottom: 12px;
}
.history-section h3 {
  font-size: 1rem;
  margin: 0;
}
.chart-controls {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.range-buttons {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 9px;
}
.range-buttons button {
  border: 0;
  border-radius: 5px;
  color: var(--muted);
  background: transparent;
  padding: 10px 12px;
  font-size: .875rem;
  cursor: pointer;
  min-height: 44px;
}
.range-buttons button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--water);
}
.metric-picker {
  display: grid;
  gap: 5px;
  font-size: .75rem;
  color: var(--muted);
}
.metric-picker select {
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  font: inherit;
  font-size: .875rem;
  min-height: 44px;
  padding: 8px;
  max-width: 100%;
}
select:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--water);
  outline-offset: 4px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 8px 20px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
  font-size: .75rem;
}
.chart-legend label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  cursor: pointer;
}
.chart-legend input {
  accent-color: var(--water);
  width: 16px;
  height: 16px;
}
.legend-current {
  color: var(--water);
}
.legend-current::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--water);
  vertical-align: middle;
  margin-right: 8px;
}
.legend-prior {
  color: var(--sand);
}
.chart-caption, .threshold-note, .system-method {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.6;
}
.chart-caption {
  margin: 0 0 12px;
}
.chart-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
.history-chart {
  width: 100%;
  min-width: 470px;
  display: block;
  overflow: visible;
}
.history-chart text {
  font-family: var(--font-geist-mono), monospace;
  font-size: 18px;
  fill: #b5c4c1;
}
.chart-grid {
  stroke: var(--line);
  stroke-width: 1;
}
.chart-axis {
  stroke: var(--line-strong);
  stroke-width: 1;
}
.chart-band {
  fill: #b5c4c1;
  fill-opacity: .12;
  stroke: #b5c4c1;
  stroke-opacity: .3;
  stroke-width: 1;
}
.chart-current, .chart-prior {
  fill: none;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.chart-current {
  stroke: var(--water);
}
.chart-prior {
  stroke: var(--sand);
  stroke-dasharray: 8 6;
}
.chart-cursor {
  stroke: var(--cream);
  stroke-opacity: .6;
  stroke-width: 1;
  stroke-dasharray: 3 4;
}
.chart-point {
  fill: var(--water);
  stroke: var(--ink);
  stroke-width: 2;
}
.chart-slider {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .875rem;
}
.chart-slider input {
  width: 100%;
  min-width: 80px;
  min-height: 44px;
  accent-color: var(--water);
}
.chart-readout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  font-size: .875rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #b5c4c1;
  font-variant-numeric: tabular-nums;
}
.chart-readout strong {
  color: var(--cream);
}
.history-record {
  display: grid;
  gap: 6px;
  margin: 18px 0 0;
  padding: 14px;
  border-left: 3px solid var(--sand);
  background: rgba(230,166,109,.04);
  font-size: .875rem;
  line-height: 1.5;
}
.history-record span {
  color: var(--muted);
}
.history-record.new-low {
  border-left-color: var(--coral);
}
.history-record.new-low strong {
  color: var(--coral);
}
.history-status {
  min-height: 130px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .875rem;
}
.evidence-details {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 6px;
  font-size: .875rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.evidence-details summary {
  color: var(--water);
  padding: 12px 0;
  cursor: pointer;
  min-height: 44px;
}
.evidence-details p {
  margin-bottom: 12px;
  color: #b5c4c1;
}
.evidence-details a, .threshold-context a {
  color: var(--water);
  text-underline-offset: 3px;
}
.source-facts {
  display: grid;
  gap: 8px;
  margin-top: 0;
}
.source-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
}
.source-facts dt {
  color: var(--muted);
}
.source-facts dd {
  margin: 0;
}
.threshold-context {
  flex: 1;
}
.threshold-context summary {
  color: var(--water);
  font-size: .875rem;
  cursor: pointer;
  padding: 8px 0;
}
.threshold-context p {
  font-size: .875rem;
  line-height: 1.6;
  color: #b5c4c1;
}
.threshold {
  align-items: flex-start;
}
.threshold-note {
  margin: 14px 0 0;
}
.system-method {
  margin: 24px 0 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--water);
  text-decoration: underline;
  cursor: pointer;
}
.reservoir-card::after {
  display: none;
}
@media (max-width: 700px) {
  .range-buttons button {
    padding: 8px 10px;
  }
  .chart-slider {
    gap: 8px;
  }
  .reservoir-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .primary-reading {
    flex-wrap: wrap;
    gap: 14px;
  }
  .storage-reading {
    text-align: left;
  }
  .pulse-gallons {
    flex-wrap: wrap;
  }
  .overview-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
  }
  .overview-row .overview-threshold {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .overview-row > strong {
    grid-column: 1;
  }
  .overview-row > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  .overview-row > span:nth-child(2) small {
    display: none;
  }
}

:root{--font-geist-sans:"Geist";--font-geist-mono:"Geist Mono"}
