@font-face {
  font-family: Bricolage;
  src: url("/fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D;
}

@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D;
}

@font-face {
  font-family: Figtree;
  src: url("/fonts/figtree-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2013-2014, U+2018-2019, U+201C-201D;
}

:root {
  --river: #0a5c78;
  --river-deep: #063a4f;
  --river-bright: #1a8aa8;
  --foam: #7ad4e8;
  --sand: #efe3c4;
  --sand-hot: #f6edcf;
  --bleached: #fff8e4;
  --ink: #16303a;
  --ink-soft: #3d5a66;
  --buoy: #ff5a1f;
  --buoy-hot: #ff8a3d;
  --good: #1f7a4d;
  --stale: #9a5b12;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: clip;
}

body {
  font-family: Figtree, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 40% at 10% 0%, rgba(255, 90, 31, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 30% at 90% 10%, rgba(26, 138, 168, 0.12), transparent 45%),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(10, 92, 120, 0.03) 40px,
      rgba(10, 92, 120, 0.03) 41px
    ),
    var(--sand);
  line-height: 1.5;
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom, 0));
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

#app {
  overflow-x: clip;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: -3rem;
  background: var(--buoy);
  color: #fff;
  padding: 0.4rem 0.7rem;
  z-index: 20;
}

.skip:focus {
  top: 0.8rem;
}

.mast {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem max(0.75rem, env(safe-area-inset-left)) 0.55rem max(0.75rem, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--sand) 92%, white);
  border-bottom: 3px solid var(--buoy);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--river-deep);
  text-decoration: none;
}

.buoy {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--buoy-hot), var(--buoy));
  box-shadow: 0 0 0 3px #fff3, 0 2px 0 var(--river-deep);
}

.nav {
  display: flex;
  gap: 0.35rem;
}

.nav-top {
  display: none;
}

.nav a {
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.45rem 0.55rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--buoy);
}

.offline-bar,
.toast {
  margin: 0;
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

.offline-bar {
  background: var(--river-deep);
  color: var(--sand-hot);
}

.install-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem max(1rem, env(safe-area-inset-right)) 0.75rem max(1rem, env(safe-area-inset-left));
  background: #0d4a5e;
  color: var(--sand-hot);
  border-bottom: 2px solid rgba(122, 212, 232, 0.35);
}

.install-msg {
  flex: 1 1 12rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.35;
}

.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.install-btn,
.install-dismiss {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.install-btn {
  padding: 0.45rem 0.95rem;
  background: var(--buoy);
  color: #1a1208;
  font-weight: 600;
}

.install-dismiss {
  padding: 0.45rem 0.75rem;
  background: transparent;
  color: rgba(243, 234, 216, 0.85);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.install-btn:hover,
.install-btn:focus-visible,
.install-dismiss:hover,
.install-dismiss:focus-visible {
  filter: brightness(1.06);
}

.toast {
  background: #204a2e;
  color: #e8ffe8;
}

.hero {
  position: relative;
  min-height: min(48vh, 400px);
  margin: 0;
  padding: 1.5rem max(1rem, env(safe-area-inset-left)) 2rem max(1rem, env(safe-area-inset-right));
  overflow: hidden;
  color: var(--bleached);
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 214, 110, 0.55), transparent 22%),
    radial-gradient(circle at 78% 18%, rgba(255, 138, 61, 0.28), transparent 34%),
    repeating-radial-gradient(circle at 20% 120%, rgba(122, 212, 232, 0.12) 0 8px, transparent 8px 28px),
    linear-gradient(180deg, var(--river-deep) 0%, var(--river) 42%, #1c9bb4 68%, #d9c48a 92%, var(--sand) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 18% 0;
  height: 90px;
  background:
    radial-gradient(120% 80% at 10% 100%, transparent 40%, rgba(255, 255, 255, 0.12) 41% 43%, transparent 44%),
    radial-gradient(90% 70% at 70% 100%, transparent 42%, rgba(255, 255, 255, 0.1) 43% 45%, transparent 46%);
  animation: wake 9s linear infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 9%;
  top: 12%;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffe38a, #ffb030 55%, #ff7a1a);
  box-shadow: 0 0 0 10px rgba(255, 176, 48, 0.18);
  pointer-events: none;
}

@keyframes wake {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-80px);
  }
}

.eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--foam);
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.7rem;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: clamp(3.4rem, 12vw, 7.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-shadow: 0 8px 0 rgba(6, 58, 79, 0.25);
  max-width: 14ch;
}

.lede,
.hero-note {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.lede {
  margin: 0 0 1.4rem;
  font-size: 1.15rem;
}

.hero-note {
  margin: 0;
  color: #d7f4fb;
  font-weight: 600;
}

.wrap {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: 0 max(1rem, env(safe-area-inset-right)) 3.5rem max(1rem, env(safe-area-inset-left));
}

.region {
  margin: 2.2rem 0 0;
}

.region-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.55rem 1rem;
  margin-bottom: 0.65rem;
}

.region-kicker h2 {
  margin: 0;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.hint {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.current {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 11.5rem), 1fr));
  gap: 0.5rem;
  padding: 0.4rem 0 0.8rem;
}

.current a {
  min-width: 0;
  padding: 1rem 1.1rem 0.95rem;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(180deg, var(--bleached), #f3e6bf);
  border: 0;
  border-left: 5px solid var(--buoy);
  box-shadow: 2px 2px 0 color-mix(in srgb, var(--river) 12%, transparent);
}

.current a:hover,
.current a:focus-visible,
.current a.last {
  background: var(--bleached);
  outline: 2px solid var(--river);
}

.current strong {
  display: block;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.geo-empty {
  margin: 1rem 0 0;
}

.hero-note .back-link {
  color: var(--foam);
}

.docks {
  display: grid;
  gap: 0;
  margin: 1.2rem 0 0;
  border-top: 2px dashed color-mix(in srgb, var(--river) 28%, transparent);
}

.dock {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  padding: 1rem 0 1.1rem;
  border-bottom: 2px dashed color-mix(in srgb, var(--river) 28%, transparent);
}

.dock-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.dock-head h3 {
  margin: 0;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.dock-title {
  min-width: 0;
}

.dock-fuels {
  margin: 0.2rem 0 0;
}

.dock-promo-teaser {
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink-soft);
  font-style: italic;
}

.dock-open-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--river-deep);
}

.dock-name-link {
  color: inherit;
  text-decoration: none;
}

.dock-name-link:hover {
  color: var(--river-deep);
  text-decoration: underline;
}

.dock-detail-page .dock-promo-detail {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 40rem;
}

.dock-promo-banner {
  margin: 1rem 0 0;
  padding: 0;
}

.dock-promo-banner img {
  display: block;
  width: 100%;
  max-width: 48rem;
  height: auto;
  border: 2px solid var(--river);
  background: var(--bleached);
}

.dock-detail-prices {
  margin-top: 1rem;
}

.map-popup-promo {
  margin: 0.35rem 0 0.2rem;
  font-size: 0.82rem;
  line-height: 1.35;
  font-style: italic;
  color: var(--ink-soft);
}

.station-section-title {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.05rem;
}

.station-promo-form textarea {
  min-height: 5rem;
  resize: vertical;
}

.station-promo-preview {
  margin: 0.5rem 0;
}

.station-promo-preview img {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  border: 2px solid color-mix(in srgb, var(--river) 35%, transparent);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}

.price-avg {
  display: block;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.map-popup-fuels {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.dock-empty {
  margin: 0;
  padding: 0.5rem 0;
}

.dock-report {
  flex-shrink: 0;
}

.prices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.price-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--bleached);
  border: 2px solid color-mix(in srgb, var(--river) 22%, transparent);
  border-left: 4px solid var(--buoy);
}

.price-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.price-head span {
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.price-head b {
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-meta {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.price-nudge {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--river);
}

.price-nudge.stale {
  color: var(--stale);
}

.price-nudge.outlier {
  color: var(--buoy);
}

.confidence {
  display: inline-block;
  margin-left: 0.25rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.confidence.high {
  color: var(--good);
  font-weight: 600;
}

.price-card.is-stale {
  border-left-color: var(--stale);
}

.price-card.is-outlier {
  border-left-color: var(--buoy);
}

.stale-banner {
  margin: 0.75rem 0 0;
  padding: 0.75rem 0.9rem;
  background: color-mix(in srgb, var(--stale) 12%, var(--bleached));
  border: 2px solid color-mix(in srgb, var(--stale) 35%, transparent);
  border-radius: 4px;
  font-size: 0.9rem;
}

.map-popup-prices {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.map-popup-prices li {
  margin: 0.2rem 0;
}

.proof-tag {
  color: var(--river);
  font-weight: 600;
}

.grade-photo {
  display: block;
  margin-top: 0.15rem;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--river);
  line-height: 0;
}

.grade-photo img {
  display: block;
  width: 100%;
  max-height: 9rem;
  object-fit: cover;
  object-position: center;
  background: #0001;
}

.dock-cta {
  width: 100%;
  justify-content: center;
  min-height: 3rem;
  font-size: 1rem;
}

.price {
  min-width: 6.5rem;
}

.price b {
  display: block;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price .unverified {
  color: var(--buoy);
  font-weight: 600;
}

.price .official,
.official {
  color: var(--good);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.price span,
.meta {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.fresh {
  color: var(--good);
}

.aging {
  color: var(--stale);
}

.stale {
  color: var(--stale);
  font-weight: 600;
}

.ghost {
  color: var(--ink-soft);
  font-style: italic;
}

.page-head {
  padding: 1.6rem 0 0.4rem;
}

.page-head h1 {
  margin: 0.15rem 0 0.4rem;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: clamp(2.1rem, 7vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.seo-body {
  padding-bottom: 2rem;
}

.seo-body section {
  margin: 1.25rem 0;
}

.seo-body ul {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.seo-intro-text {
  max-width: 42rem;
  line-height: 1.45;
  margin: 0.5rem 0;
}

.breadcrumbs {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.breadcrumbs a {
  color: var(--river);
}

.bc-sep {
  margin: 0 0.25rem;
  opacity: 0.5;
}

.ai-summary {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(10, 92, 120, 0.12);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0 1rem;
}

.dock-comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.75rem 0 1.25rem;
}

.dock-comparison-table th,
.dock-comparison-table td {
  border-bottom: 1px solid rgba(10, 92, 120, 0.1);
  padding: 0.45rem 0.35rem;
  text-align: left;
  vertical-align: top;
}

.dock-comparison-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.seo-faq {
  margin-top: 1.5rem;
}

.faq-item {
  border-top: 1px solid rgba(10, 92, 120, 0.1);
  padding: 0.65rem 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary h2 {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
}

.water-chain {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.price-card {
  padding: 0.35rem 0;
}

.actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.actions .btn {
  width: 100%;
}

.form,
.report-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  max-width: none;
}

.report-page {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0));
}

.field-label {
  font-weight: 600;
}

.photo-field {
  gap: 0.55rem;
}

.camera-btn {
  width: 100%;
  min-height: 3.25rem;
  font-size: 1.05rem;
  background: var(--river);
}

.report-submit-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 11;
  padding: 0.75rem max(1rem, env(safe-area-inset-right)) calc(0.75rem + env(safe-area-inset-bottom, 0)) max(1rem, env(safe-area-inset-left));
  background: color-mix(in srgb, var(--sand) 94%, white);
  border-top: 2px solid color-mix(in srgb, var(--river) 20%, transparent);
}

.submit-btn {
  width: 100%;
  min-height: 3.25rem;
  font-size: 1.05rem;
}

.report-note {
  margin: 0;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  min-height: 3rem;
  background: var(--buoy);
  color: #fff;
  box-shadow: 3px 3px 0 var(--river-deep);
  touch-action: manipulation;
}

.btn.alt {
  background: var(--river);
}

.btn.ghost {
  background: transparent;
  color: var(--river);
  box-shadow: none;
  padding-left: 0;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.turnstile-slot {
  min-height: 4rem;
}

label,
.field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
}

select,
input[type="text"],
input[type="number"],
input[type="datetime-local"],
input[type="password"],
textarea {
  font: inherit;
  font-size: 16px;
  padding: 0.75rem 0.7rem;
  min-height: 3rem;
  border: 2px solid var(--river);
  background: var(--bleached);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}

textarea {
  min-height: 8rem;
  resize: vertical;
  line-height: 1.45;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chips label,
.chips-big label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  min-height: 3rem;
  background: var(--bleached);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  touch-action: manipulation;
}

.chips-big label {
  flex: 1 1 calc(50% - 0.45rem);
  justify-content: center;
}

.chips input {
  accent-color: var(--buoy);
}

.chips-pick label,
.grade-chip {
  position: relative;
  cursor: pointer;
  border: 2px solid color-mix(in srgb, var(--river) 22%, transparent);
  justify-content: center;
}

.chips-pick label {
  flex: 1 1 calc(50% - 0.45rem);
}

.price-grid-note {
  margin: 0 0 0.65rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.price-grid-race {
  margin-top: 0;
}

.more-grades {
  margin-top: 0.75rem;
  border: 2px solid color-mix(in srgb, var(--river) 18%, transparent);
  background: color-mix(in srgb, var(--bleached) 88%, white);
}

.more-grades summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  list-style: none;
  touch-action: manipulation;
}

.more-grades summary::-webkit-details-marker {
  display: none;
}

.more-grades summary::before {
  content: "+ ";
  color: var(--buoy);
  font-weight: 800;
}

.more-grades[open] summary::before {
  content: "− ";
}

.more-grades .price-grid-extra {
  padding: 0 0.85rem 0.85rem;
}

.price-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.price-row-label {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.price-row-hint {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.price-row-input {
  font: inherit;
  font-size: 16px;
  padding: 0.75rem 0.7rem;
  min-height: 3rem;
  border: 2px solid var(--river);
  background: var(--bleached);
  color: var(--ink);
  border-radius: 0;
  width: 100%;
}

.price-row-input:focus {
  outline: 2px solid var(--buoy);
  outline-offset: 1px;
}

.filled-grade-field {
  margin-top: -0.15rem;
}

.chips-grade {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.grade-chip {
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  padding: 0.7rem 0.55rem;
  min-height: 4.1rem;
}

.chips-pick input,
.grade-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.chips-pick label:has(input:checked),
.grade-chip:has(input:checked) {
  border-color: var(--buoy);
  background: color-mix(in srgb, var(--buoy) 14%, var(--bleached));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--buoy) 35%, transparent);
}

.grade-chip-main {
  display: block;
  font-weight: 700;
  line-height: 1.15;
}

.grade-chip-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.2;
}

.grade-chip-sub.muted {
  font-weight: 500;
  opacity: 0.8;
}

.grade-group {
  margin-top: 0.7rem;
}

.grade-group-label {
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.station-solo {
  margin: 0;
  font-weight: 600;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.preview {
  width: 100%;
  max-width: 100%;
  border: 3px solid var(--river);
}

.map-shell {
  position: relative;
  min-height: calc(100dvh - 3.2rem - 4.25rem - env(safe-area-inset-bottom, 0));
  background: var(--river-deep);
}

#map {
  min-height: calc(100dvh - 3.2rem - 4.25rem - env(safe-area-inset-bottom, 0));
}

.map-fallback {
  padding: 1.2rem;
  color: var(--sand);
}

.photo-view {
  padding: 1rem 0 2rem;
}

.photo-view img {
  width: min(720px, 100%);
  height: auto;
  border: 4px solid var(--river);
}

.photo-vote-panel {
  margin-top: 1rem;
  max-width: min(720px, 100%);
}

.photo-vote-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.photo-vote-actions .btn {
  min-width: 3.5rem;
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.55rem 0.85rem;
}

.photo-vote-actions .btn.is-active {
  box-shadow: inset 0 0 0 2px var(--river);
}

.photo-boost-count {
  color: var(--river);
  font-weight: 600;
}

@media (min-width: 720px) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .wrap {
    width: auto;
    max-width: min(1380px, 100%);
    margin: 0;
    padding-inline: clamp(1.25rem, 3.5vw, 3rem);
  }

  .nav-top {
    display: flex;
  }

  .dock-nav {
    display: none;
  }

  .mast {
    padding: 0.7rem clamp(1.25rem, 3.5vw, 3rem);
  }

  .nav {
    gap: 0.9rem;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 0.45rem 0.55rem;
  }

  .hero {
    min-height: min(68vh, 620px);
    padding: 3.2rem clamp(1.25rem, 3.5vw, 3rem) 4rem;
    text-align: left;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .lede,
  .hero-note {
    max-width: 42rem;
  }

  .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-start;
  }

  .actions .btn {
    width: auto;
  }

  .prices {
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  }

  .dock {
    grid-template-columns: minmax(12rem, 1fr) 2fr auto;
    align-items: start;
    gap: 0.55rem;
    padding: 1.05rem 0.15rem 1.15rem;
  }

  .dock-cta {
    width: auto;
  }

  .form,
  .report-form {
    max-width: 42rem;
  }

  .report-submit-bar {
    position: static;
    margin: 0;
    padding: 0;
    background: transparent;
    border-top: 0;
  }

  .submit-btn,
  .camera-btn {
    width: auto;
    min-width: 14rem;
  }

  .grade-photo img {
    max-height: 7rem;
  }

  .site-foot {
    text-align: left;
    padding-inline: clamp(1.25rem, 3.5vw, 3rem);
  }
}

.site-foot {
  margin-top: 2rem;
  padding: 1.2rem 1.1rem 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  border-top: 2px solid color-mix(in srgb, var(--river) 25%, transparent);
}

.site-foot p {
  margin: 0.35rem 0;
}

.site-foot a {
  color: var(--river);
  font-weight: 600;
}

.site-foot-actions {
  margin-top: 0.85rem;
}

.site-foot-feedback {
  width: auto;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  box-shadow: 2px 2px 0 var(--river-deep);
  background: var(--river);
}

.admin-body .admin-app {
  padding-bottom: 2rem;
}

.admin-login {
  max-width: 36rem;
}

.admin-error {
  color: #9a1b1b;
  font-weight: 600;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.admin-stat {
  background: var(--bleached);
  border: 2px solid var(--river);
  padding: 0.75rem 0.9rem;
}

.admin-stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.admin-stat strong {
  font-size: 1.6rem;
  color: var(--river-deep);
}

.admin-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 860px) {
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.admin-panel {
  background: var(--bleached);
  border: 2px solid var(--river);
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

.admin-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.admin-panel-head h2 {
  margin: 0;
}

.admin-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-inline-form {
  margin-top: 1rem;
  max-width: 36rem;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--river) 20%, transparent);
  vertical-align: top;
}

.admin-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.admin-delete {
  padding: 0.2rem 0;
  font-size: 0.9rem;
}

.admin-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.admin-signout {
  font: inherit;
}

.admin-station-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-station-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.admin-station-toolbar .admin-station-filters {
  margin-bottom: 0;
}

.admin-station-table-search {
  min-width: 16rem;
  flex: 1 1 16rem;
  max-width: 24rem;
}

.admin-station-panel .admin-demo-note {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  background: color-mix(in srgb, var(--river) 8%, var(--bleached));
  border-left: 3px solid var(--river);
}

.admin-station-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}

@media (min-width: 1080px) {
  .admin-station-panel {
    max-width: none;
  }

  .admin-dash {
    max-width: 72rem;
  }

  .admin-station-layout {
    grid-template-columns: minmax(0, 1fr) 19rem;
  }
}

.admin-station-aside {
  background: color-mix(in srgb, var(--bleached) 94%, var(--river) 6%);
  border: 2px solid color-mix(in srgb, var(--river) 35%, transparent);
  padding: 0.85rem 1rem;
}

.admin-aside-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.admin-table-wrap-desktop {
  max-height: min(70vh, 42rem);
  overflow: auto;
  border: 1px solid color-mix(in srgb, var(--river) 22%, transparent);
}

.admin-station-table {
  min-width: 56rem;
  table-layout: fixed;
  font-size: 0.88rem;
}

.admin-station-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--bleached);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--river) 20%, transparent);
}

.admin-station-table .admin-num {
  width: 2.5rem;
  color: var(--ink-soft);
}

.admin-station-table th:nth-child(2),
.admin-station-table td:nth-child(2) {
  width: 8.5rem;
}

.admin-station-table th:nth-child(3),
.admin-station-table td:nth-child(3) {
  width: 11rem;
}

.admin-station-table th:nth-child(4),
.admin-station-table td:nth-child(4) {
  width: 14rem;
}

.admin-station-table th:nth-child(5),
.admin-station-table td:nth-child(5) {
  width: 9rem;
}

.admin-station-table th:nth-child(6),
.admin-station-table td:nth-child(6) {
  width: 6.5rem;
}

.admin-station-table th:nth-child(7),
.admin-station-table td:nth-child(7) {
  width: 9rem;
}

.admin-station-table th:nth-child(8),
.admin-station-table td:nth-child(8) {
  width: 11rem;
}

.admin-station-table tbody tr:nth-child(even) {
  background: color-mix(in srgb, var(--river) 4%, var(--bleached));
}

.admin-station-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-actions-col {
  vertical-align: middle;
}

.admin-row-actions {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  align-items: flex-start;
}

.admin-row-actions .btn {
  padding: 0.15rem 0;
  font-size: 0.82rem;
}

.admin-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.84em;
}

.admin-feedback-body {
  max-width: 28rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-weight: 400;
}

.admin-nowrap {
  white-space: nowrap;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: 0.2rem;
}

.badge-ok {
  background: color-mix(in srgb, #1a6b3a 18%, var(--bleached));
  color: #145a2e;
}

.badge-warn {
  background: color-mix(in srgb, #9a1b1b 14%, var(--bleached));
  color: #9a1b1b;
}

.badge-muted {
  background: color-mix(in srgb, var(--ink-soft) 12%, var(--bleached));
  color: var(--ink-soft);
}

.badge-demo {
  background: color-mix(in srgb, var(--river) 16%, var(--bleached));
  color: var(--river-deep);
  text-transform: none;
  font-weight: 600;
}

.admin-station-filter.active {
  background: var(--river);
  color: var(--bleached);
}

.admin-station-search-label {
  margin-bottom: 0.5rem;
}

.admin-credentials {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border: 2px dashed var(--river);
  background: color-mix(in srgb, var(--bleached) 92%, var(--river) 8%);
}

.admin-credentials-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.admin-credentials-body {
  margin: 0;
  padding: 0.75rem;
  background: var(--bleached);
  border: 1px solid color-mix(in srgb, var(--river) 25%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  white-space: pre-wrap;
  overflow-x: auto;
}

.resume-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  margin: 0.5rem 0 0;
  min-height: 3.1rem;
  font-size: 1.05rem;
}

.hero .resume-btn.alt {
  background: var(--river-bright);
}

.btn-sm {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.55rem 0.75rem;
  font-size: 0.92rem;
  box-shadow: 2px 2px 0 var(--river-deep);
}

.report-grade {
  margin-top: 0.35rem;
  background: var(--river);
}

.area-page {
  padding-bottom: 1rem;
}

.dock-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  background: color-mix(in srgb, var(--sand) 96%, white);
  border-top: 3px solid var(--buoy);
  padding: 0.35rem max(0.25rem, env(safe-area-inset-right)) calc(0.35rem + env(safe-area-inset-bottom, 0)) max(0.25rem, env(safe-area-inset-left));
  box-shadow: 0 -4px 20px rgba(6, 58, 79, 0.12);
}

.dock-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-height: 3.25rem;
  padding: 0.4rem 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink-soft);
  touch-action: manipulation;
}

.dock-nav a.on {
  color: var(--river-deep);
  background: color-mix(in srgb, var(--buoy) 12%, transparent);
}

.area-sticky-bar {
  display: none;
}

.actions-secondary .btn.ghost {
  justify-content: flex-start;
  padding-left: 0;
}

.report-context {
  margin-bottom: 0.5rem;
}

.report-context h1 {
  margin: 0.15rem 0 0.35rem;
  font-family: Bricolage, "Trebuchet MS", sans-serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.back-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: var(--river);
  font-weight: 600;
  text-decoration: none;
}

body.report-mode {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.report-mode .dock-nav {
  display: none;
}

body.report-mode .report-submit-bar {
  bottom: env(safe-area-inset-bottom, 0);
}
