:root {
  --ink: #08232c;
  --ink-2: #173944;
  --muted: #61747b;
  --paper: #f5f9f7;
  --white: #ffffff;
  --aqua: #69e3d0;
  --aqua-deep: #0b8f8a;
  --blue: #176f8a;
  --line: #d8e6e3;
  --orange: #ff9f43;
  --red: #c54b35;
  --shadow: 0 24px 80px rgba(5, 37, 48, .1);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.page-shell { min-height: 100vh; overflow: hidden; }
.topbar { width: min(1180px, calc(100% - 40px)); height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; font-size: 1.15rem; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: var(--ink); background: var(--aqua); }
.brand-mark svg { width: 23px; height: 23px; fill: currentColor; }
.brand-mark svg path:last-child { fill: none; stroke: white; stroke-width: 2; stroke-linecap: round; }
.beta { padding: 4px 8px; border: 1px solid #bfd3ce; border-radius: 999px; color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a { color: var(--ink-2); font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--aqua-deep); }
.lookup { position: relative; padding: 58px 20px 120px; text-align: center; color: white; background: var(--ink); isolation: isolate; }
.lookup::before, .lookup::after { content: ""; position: absolute; inset: auto; border-radius: 50%; filter: blur(1px); z-index: -1; }
.lookup::before { width: 480px; height: 480px; left: -180px; top: -250px; border: 1px solid rgba(105,227,208,.18); box-shadow: 0 0 0 55px rgba(105,227,208,.025), 0 0 0 110px rgba(105,227,208,.02); }
.lookup::after { width: 390px; height: 390px; right: -130px; bottom: -250px; background: radial-gradient(circle, rgba(23,111,138,.38), transparent 65%); }
.lookup-copy { max-width: 720px; margin: 0 auto 30px; }
.eyebrow { margin: 0 0 8px; color: var(--aqua-deep); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.lookup .eyebrow { color: var(--aqua); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 12px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.9rem, 7vw, 5.5rem); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.lookup-copy > p:last-child { max-width: 610px; margin: 0 auto; color: #c9d8da; font-size: 1.05rem; }
.searchbox { width: min(780px, 100%); margin: 0 auto; padding: 7px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 7px; border: 1px solid rgba(255,255,255,.25); border-radius: 16px; background: white; box-shadow: 0 16px 44px rgba(0,0,0,.24); }
.search-icon { display: grid; place-items: center; color: #789096; }
.search-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.searchbox input { min-width: 0; height: 52px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 1rem; }
.searchbox button { height: 50px; padding: 0 22px; border: 0; border-radius: 11px; color: var(--ink); background: var(--aqua); font-weight: 800; transition: transform .2s ease, background .2s ease; }
.searchbox button:hover { transform: translateY(-1px); background: #7cebd9; }
.samples { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; color: #a9bfc3; font-size: .82rem; }
.samples button { padding: 7px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e6f0f0; background: rgba(255,255,255,.05); font-size: .8rem; }
.samples button:hover, .samples button.active { border-color: var(--aqua); color: var(--aqua); background: rgba(105,227,208,.08); }
.search-note { min-height: 20px; margin: 12px 0 0; color: #8da8ad; font-size: .76rem; }
.profile-wrap { width: min(1180px, calc(100% - 40px)); margin: -76px auto 0; position: relative; z-index: 2; }
.water-card { padding: 32px; border: 1px solid rgba(255,255,255,.75); border-radius: 26px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; gap: 24px; }
.location-line { margin-bottom: 6px; color: var(--blue); font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.pin { margin-right: 5px; color: var(--aqua-deep); }
.card-head h2 { margin-bottom: 5px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.card-head p { margin: 0; color: var(--muted); }
.confidence-block { position: relative; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.verified-badge { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; color: #08705f; background: #e6faf5; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.verified-badge > span { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: white; background: #0a9a7f; font-size: .65rem; }
.text-button { padding: 0; border: 0; color: var(--muted); background: none; font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; }
.confidence-popover { position: absolute; z-index: 3; top: 72px; right: 0; width: 290px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); background: white; box-shadow: 0 15px 40px rgba(4,32,41,.16); font-size: .82rem; text-align: left; }
.identity-grid { margin-top: 28px; display: grid; grid-template-columns: 1.1fr 1.4fr .7fr; border-block: 1px solid var(--line); }
.identity-item { min-height: 104px; padding: 21px 24px 20px 0; display: flex; flex-direction: column; justify-content: center; }
.identity-item + .identity-item { padding-left: 24px; border-left: 1px solid var(--line); }
.mini-label { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.identity-item strong { margin: 4px 0 1px; font-size: 1rem; }
.identity-item span:last-child, .identity-item a { color: var(--muted); font-size: .82rem; }
.identity-item a { color: var(--blue); font-weight: 700; text-decoration: none; }
.source-resolution { margin-top: 24px; padding: 20px; border: 1px solid #cfe2de; border-radius: 16px; background: linear-gradient(135deg, #f8fcfb, #eef8f6); }
.source-resolution-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.source-resolution-head h3 { margin: 4px 0 0; font-size: 1rem; }
.resolution-level { padding: 6px 9px; border-radius: 999px; color: #08705f; background: #dff6ef; font-size: .65rem; font-weight: 850; white-space: nowrap; }
.resolution-path { margin-top: 18px; display: grid; grid-template-columns: 1fr 34px 1fr 34px 1fr; align-items: start; }
.resolution-step { min-width: 0; display: grid; grid-template-columns: 28px 1fr; gap: 10px; }
.resolution-dot { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: white; background: var(--aqua-deep); font-size: .72rem; font-weight: 900; }
.resolution-step.unresolved .resolution-dot { color: #795522; background: #ffdfab; }
.resolution-step.mixed .resolution-dot { color: #15566a; background: #cdebf2; }
.resolution-step small, .resolution-step strong, .resolution-step p { display: block; }
.resolution-step small { color: var(--muted); font-size: .63rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.resolution-step strong { margin-top: 3px; font-size: .8rem; line-height: 1.25; }
.resolution-step p { margin: 4px 0 0; color: var(--muted); font-size: .67rem; line-height: 1.35; }
.resolution-connector { height: 1px; margin: 14px 7px 0; background: #a7cbc5; }
.resolution-explainer { margin-top: 17px; padding-top: 14px; border-top: 1px solid #d7e8e5; color: var(--muted); font-size: .72rem; line-height: 1.45; }
.data-banner { margin: 24px 0 18px; padding: 14px 16px; display: flex; align-items: center; gap: 11px; border-radius: 12px; background: #f0f7f6; }
.data-scope-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--aqua-deep); box-shadow: 0 0 0 4px rgba(11,143,138,.12); }
.data-banner div { display: flex; align-items: baseline; gap: 8px; }
.data-banner strong { font-size: .82rem; }
.data-banner span:last-child { color: var(--muted); font-size: .8rem; }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.metric { min-height: 120px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: #fbfdfc; transition: transform .2s ease, border-color .2s ease; }
.metric:hover { transform: translateY(-2px); border-color: #a9d8d1; }
.metric-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.metric-name { color: var(--muted); font-size: .75rem; font-weight: 750; }
.metric-status { padding: 3px 7px; border-radius: 999px; color: #08705f; background: #e9f8f3; font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.metric-status.unavailable { color: #7a6857; background: #f2eee8; }
.metric-value { margin-top: 15px; display: block; font-size: 1.55rem; font-weight: 760; letter-spacing: -.04em; line-height: 1; }
.metric-unit { margin-top: 6px; display: block; color: var(--muted); font-size: .68rem; line-height: 1.25; }
.card-foot { margin-top: 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; }
.card-foot p { max-width: 760px; margin: 0; color: var(--muted); font-size: .75rem; }
.outline-button { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #b9ceca; border-radius: 10px; color: var(--ink-2); background: white; font-size: .75rem; font-weight: 750; }
.alert-card { margin-top: 16px; padding: 20px 22px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 16px; border: 1px solid #f0d7b8; border-radius: 18px; background: #fff9ef; }
.alert-card.active-alert { border-color: #e9a48f; background: #fff2ed; }
.alert-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #7b4e18; background: #ffe4b8; font-weight: 900; }
.active-alert .alert-icon { color: white; background: var(--red); }
.alert-heading-row { display: flex; align-items: center; gap: 8px; }
.alert-heading-row p { margin: 0; }
.snapshot-badge { padding: 3px 6px; border: 1px solid #efcf9f; border-radius: 999px; color: #835e32; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.alert-card h2 { margin: 4px 0 2px; font-size: 1rem; }
.alert-card p { margin: 0; color: #765f43; font-size: .78rem; }
.alert-card a { display: inline-block; margin-top: 5px; color: #855410; font-size: .76rem; font-weight: 750; text-decoration: none; }
.demo-alert-button { padding: 9px 12px; border: 1px solid #e4be89; border-radius: 10px; color: #76501c; background: #fffdf9; font-size: .73rem; font-weight: 750; }
.section { width: min(1180px, calc(100% - 40px)); margin: 104px auto 0; }
.section-heading { margin-bottom: 28px; display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: .88rem; }
.fountain-section { scroll-margin-top: 20px; }
.fountain-heading { margin-bottom: 22px; }
.coverage-strip { padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 14px 44px rgba(6,35,44,.05); }
.coverage-strip > div { min-height: 112px; padding: 20px 18px; display: flex; flex-direction: column; justify-content: center; }
.coverage-strip > div + div { border-left: 1px solid var(--line); }
.coverage-strip strong { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; line-height: 1; }
.coverage-strip span { margin-top: 5px; color: var(--ink-2); font-size: .78rem; font-weight: 800; }
.coverage-strip small { color: var(--muted); font-size: .67rem; }
.coverage-strip > p { grid-column: 1 / -1; margin: 0; padding: 10px 18px 13px; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.fountain-toolbar { margin-top: 18px; display: grid; grid-template-columns: 1fr 230px auto; gap: 10px; }
.fountain-search { min-width: 0; height: 52px; padding: 0 15px; display: flex; align-items: center; gap: 10px; border: 1px solid #bdd1cd; border-radius: 13px; background: white; }
.fountain-search svg { flex: 0 0 auto; width: 20px; fill: none; stroke: #76918e; stroke-width: 1.8; }
.fountain-search input { min-width: 0; width: 100%; height: 48px; border: 0; outline: 0; color: var(--ink); background: transparent; }
.community-picker { height: 52px; padding: 6px 12px; display: flex; flex-direction: column; justify-content: center; border: 1px solid #bdd1cd; border-radius: 13px; background: white; }
.community-picker span { color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.community-picker select { min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: .82rem; font-weight: 750; }
.location-button { height: 52px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 13px; color: white; background: var(--ink); font-size: .78rem; font-weight: 800; }
.location-button span { margin-right: 4px; color: var(--aqua); }
.fountain-filters { min-height: 54px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fountain-filter { padding: 7px 11px; border: 1px solid #c4d5d2; border-radius: 999px; color: var(--muted); background: transparent; font-size: .72rem; font-weight: 750; }
.fountain-filter.active { border-color: var(--ink); color: white; background: var(--ink); }
.hydration-chip { margin-left: auto; padding: 7px 11px; border-radius: 999px; color: #08705f; background: #e4f7f2; font-size: .72rem; font-weight: 800; }
.fountain-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: 14px; }
.map-card, .fountain-results { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 16px 50px rgba(6,35,44,.06); }
.map-card-head, .results-head { min-height: 67px; padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.map-card-head > div, .results-head > div { display: flex; flex-direction: column; }
.map-card-head strong, .results-head strong { margin-top: 2px; font-size: .88rem; }
.map-live-badge { padding: 5px 8px; border-radius: 999px; color: #08705f; background: #e8f8f4; font-size: .64rem; font-weight: 800; }
.fountain-map { height: 560px; z-index: 1; background: #dfece9; }
.fountain-map > p { padding: 24px; color: var(--muted); }
.map-note { min-height: 46px; margin: 0; padding: 11px 17px; border-top: 1px solid var(--line); color: var(--muted); background: #fbfdfc; font-size: .67rem; }
.results-head > span { max-width: 210px; color: var(--muted); font-size: .68rem; text-align: right; }
.fountain-list { height: 607px; padding: 10px; overflow-y: auto; background: #f4f8f7; }
.fountain-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.fountain-card + .fountain-card { margin-top: 9px; }
.fountain-card:hover, .fountain-card.selected { border-color: #83cfc3; box-shadow: 0 10px 28px rgba(7,43,53,.08); }
.fountain-card.selected { transform: translateY(-1px); }
.fountain-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.source-pill { display: inline-flex; margin-bottom: 7px; padding: 3px 7px; border-radius: 999px; font-size: .58rem; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.source-pill.official { color: #08705f; background: #e4f7f2; }
.source-pill.community { color: #5c5a91; background: #eeeeff; }
.fountain-card h3 { margin: 0 0 2px; font-size: .96rem; }
.fountain-card-top p { margin: 0; color: var(--muted); font-size: .72rem; }
.fountain-status { flex: 0 0 auto; max-width: 115px; padding: 5px 7px; border-radius: 8px; font-size: .62rem; font-weight: 800; text-align: center; }
.fountain-status.good { color: #08705f; background: #e7f7f2; }
.fountain-status.seasonal { color: #835e32; background: #fff0d7; }
.fountain-status.official { color: #0d6580; background: #e5f4f8; }
.fountain-status.community { color: #5c5a91; background: #eeeeff; }
.fountain-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; }
.fountain-tags span { padding: 4px 7px; border: 1px solid #d5e2df; border-radius: 6px; color: var(--muted); background: #fbfdfc; font-size: .62rem; }
.fountain-note { margin: 10px 0; color: var(--muted); font-size: .72rem; }
.system-link { padding: 9px 10px; display: flex; align-items: center; gap: 9px; border-radius: 9px; background: #eef7f5; }
.drop-mini { color: var(--aqua-deep); font-size: .7rem; }
.system-link div { min-width: 0; display: flex; flex-direction: column; }
.system-link small { color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.system-link strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.visitor-report { margin: 8px 0 0; color: #08705f; font-size: .66rem; font-weight: 750; }
.fountain-actions { margin-top: 11px; display: flex; flex-wrap: wrap; gap: 7px; }
.fountain-actions a, .fountain-actions button { padding: 7px 9px; border: 1px solid #bdd1cd; border-radius: 8px; color: var(--ink-2); background: white; font-size: .66rem; font-weight: 800; text-decoration: none; }
.fountain-actions button[data-refill-id] { border-color: var(--ink); color: var(--ink); background: var(--aqua); }
.record-source { display: inline-block; margin-top: 9px; color: var(--blue); font-size: .61rem; font-weight: 750; text-decoration: none; }
.fountain-empty { min-height: 240px; padding: 38px 24px; display: grid; place-content: center; text-align: center; }
.fountain-empty strong { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.fountain-empty p { max-width: 300px; margin: 6px auto 0; color: var(--muted); font-size: .76rem; }
.coverage-gap { margin-top: 14px; padding: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; border: 1px dashed #e1bd85; border-radius: 14px; background: #fffaf1; }
.coverage-gap[hidden] { display: none; }
.gap-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #7b4e18; background: #ffe4b8; font-weight: 900; }
.coverage-gap strong { font-size: .84rem; }
.coverage-gap p { margin: 3px 0 0; color: #765f43; font-size: .72rem; }
.confidence-legend { margin-top: 16px; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: .68rem; }
.confidence-legend span { display: flex; align-items: center; gap: 5px; }
.confidence-legend strong { color: var(--ink-2); }
.confidence-legend i { width: 8px; height: 8px; border-radius: 50%; }
.official-dot { background: #0a9a7f; }.community-dot { background: #7772b8; }.status-dot { background: #ef9d3d; }
.waterid-map-marker-wrap { background: none; border: 0; }
.waterid-map-marker { display: grid; place-items: center; width: 34px; height: 34px; border: 4px solid white; border-radius: 50% 50% 50% 8px; color: white; box-shadow: 0 7px 18px rgba(6,35,44,.25); font-size: .75rem; font-weight: 900; transform: rotate(-45deg); }
.waterid-map-marker i { font-style: normal; transform: rotate(45deg); }
.official-marker { background: #087f70; }.community-marker { background: #6b66ad; }
.leaflet-popup-content-wrapper { border-radius: 11px; color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
.leaflet-popup-content { font-size: .78rem; line-height: 1.45; }
.map-fallback { margin: 0; padding: 40px !important; }
.status-dialog { width: min(500px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 18px; color: var(--ink); background: white; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.status-dialog::backdrop { background: rgba(4,25,32,.66); backdrop-filter: blur(3px); }
.status-dialog form { padding: 24px; }
.status-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.status-dialog-head h2 { margin: 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 500; }
.status-dialog-head button { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; font-size: 1.3rem; }
#status-location { margin: 14px 0; color: var(--muted); font-size: .84rem; }
.status-dialog fieldset { margin: 0; padding: 14px; display: grid; gap: 9px; border: 1px solid var(--line); border-radius: 12px; }
.status-dialog legend { padding: 0 6px; font-size: .72rem; font-weight: 800; }
.status-dialog fieldset label { font-size: .82rem; }
.dialog-note { margin-top: 15px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .72rem; font-weight: 800; }
.dialog-note textarea { padding: 10px; resize: vertical; border: 1px solid #bdd1cd; border-radius: 10px; color: var(--ink); font: inherit; font-size: .82rem; }
.prototype-note { margin: 10px 0; color: var(--muted); font-size: .66rem; }
.search-action { width: 100%; min-height: 46px; border: 0; border-radius: 11px; color: var(--ink); background: var(--aqua); font-weight: 850; }
.app-section { padding: 58px 7%; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 8%; overflow: hidden; border-radius: 28px; color: white; background: linear-gradient(145deg, #082a36, #0a3d48 68%, #0b5360); box-shadow: var(--shadow); }
.app-copy h2 { max-width: 620px; margin: 0 0 16px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.3rem); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.app-copy > p:not(.eyebrow) { max-width: 590px; color: #c4d6d8; font-size: .94rem; }
.app-free-note { margin: 24px 0 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; border: 1px solid rgba(105,227,208,.24); border-radius: 12px; background: rgba(105,227,208,.08); }
.app-free-note strong { color: var(--aqua); font-size: .82rem; }
.app-free-note span { color: #c5d7d9; font-size: .72rem; }
.app-plan { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 9px; }
.app-plan label { color: #a9c2c5; font-size: .67rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.app-plan select { width: 100%; height: 45px; margin-top: 6px; padding: 0 10px; border: 1px solid rgba(255,255,255,.25); border-radius: 9px; color: white; background: #0c3540; font-size: .75rem; font-weight: 750; }
.app-plan .primary-button { height: 45px; padding-inline: 13px; font-size: .73rem; white-space: nowrap; }
.app-prototype-note { margin: 8px 0 0 !important; color: #839fa3 !important; font-size: .65rem !important; }
.app-principles { margin-top: 27px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.app-principles span { color: #bed0d2; font-size: .67rem; line-height: 1.35; }
.app-principles b { display: block; margin-bottom: 4px; color: var(--aqua); font-family: Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.phone-stage { display: grid; place-items: center; }
.phone-shell { width: min(338px, 100%); padding: 10px; border: 1px solid rgba(255,255,255,.28); border-radius: 39px; color: var(--ink); background: #061d25; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.phone-top { height: 34px; padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #c8d8da; font-size: .58rem; font-weight: 800; }
.phone-top i { width: 74px; height: 20px; border-radius: 999px; background: #020b0e; }
.phone-top span:last-child { text-align: right; }
.phone-body { padding: 18px 16px 12px; border-radius: 29px 29px 18px 18px; background: #f6faf8; }
.phone-greeting { display: flex; align-items: center; justify-content: space-between; }
.phone-greeting div { display: flex; flex-direction: column; }
.phone-greeting small { color: var(--muted); font-size: .58rem; }
.phone-greeting strong { font-family: Georgia, serif; font-size: 1.15rem; font-weight: 500; }
.phone-avatar { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; color: var(--ink); background: var(--aqua); font-size: .68rem; font-weight: 900; }
.goal-ring { --progress: 0deg; width: 152px; height: 152px; margin: 22px auto 10px; padding: 12px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--aqua-deep) var(--progress), #dce9e6 0); }
.goal-ring::before { content: ""; grid-area: 1 / 1; width: 126px; height: 126px; border-radius: 50%; background: white; }
.goal-ring div { z-index: 1; grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; }
.goal-ring strong { font-family: Georgia, serif; font-size: 2rem; font-weight: 500; line-height: 1; }
.goal-ring span { margin-top: 5px; color: var(--muted); font-size: .58rem; }
.phone-encouragement { margin: 0 0 10px; color: var(--muted); font-size: .64rem; text-align: center; }
.quick-log { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.quick-log button { min-height: 35px; border: 0; border-radius: 8px; color: var(--ink); background: var(--aqua); font-size: .65rem; font-weight: 850; }
.quick-log button:first-child { border: 1px solid #bfd6d2; background: white; }
.phone-card { margin-top: 8px; padding: 9px; display: grid; grid-template-columns: 29px 1fr auto; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.phone-card-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; color: #5f5a99; background: #efeeff; font-size: .8rem; }
.phone-card-icon.safe { color: #08705f; background: #e4f7f2; }
.phone-card div { min-width: 0; display: flex; flex-direction: column; }
.phone-card small { color: var(--muted); font-size: .51rem; }
.phone-card strong { overflow: hidden; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.phone-card a { color: var(--blue); font-size: .56rem; font-weight: 850; text-decoration: none; }
.ad-preview { min-height: 39px; margin-top: 9px; display: grid; place-content: center; border: 1px dashed #c9d5d3; border-radius: 8px; color: #82938f; background: #f0f4f2; text-align: center; }
.ad-preview small { font-size: .42rem; letter-spacing: .08em; }
.ad-preview span { font-size: .56rem; font-weight: 800; }
.phone-tabs { min-height: 55px; padding: 7px 25px 4px; display: grid; grid-template-columns: repeat(3, 1fr); color: #839ca0; background: #061d25; text-align: center; }
.phone-tabs span { display: flex; flex-direction: column; font-size: .76rem; }
.phone-tabs small { margin-top: 1px; font-size: .47rem; }
.phone-tabs .active { color: var(--aqua); }
.journey-canvas { position: relative; min-height: 270px; padding: 38px 24px; overflow: hidden; border-radius: var(--radius); color: white; background: linear-gradient(145deg, #082a36, #0a3a47 62%, #0e4751); }
.journey-canvas::after { content: ""; position: absolute; width: 250px; height: 250px; right: -70px; top: -110px; border-radius: 50%; background: rgba(105,227,208,.07); box-shadow: 0 0 0 40px rgba(105,227,208,.035), 0 0 0 80px rgba(105,227,208,.02); }
.journey-line { position: absolute; inset: 55px 2% auto; width: 96%; height: 180px; }
.river-path { fill: none; stroke: var(--aqua); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 1 0; }
.river-path.shadow { stroke: rgba(105,227,208,.12); stroke-width: 28; }
.journey-stages { position: relative; z-index: 1; height: 190px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #b9ced1; background: none; border: 0; text-align: center; }
.stage:nth-child(odd) { transform: translateY(-32px); }
.stage:nth-child(even) { transform: translateY(32px); }
.stage-dot { display: grid; place-items: center; width: 62px; height: 62px; border: 7px solid #0d424d; border-radius: 50%; color: var(--ink); background: white; box-shadow: 0 0 0 2px rgba(105,227,208,.45); transition: background .2s ease, transform .2s ease; }
.stage-dot svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stage:hover .stage-dot, .stage.active .stage-dot { transform: scale(1.07); background: var(--aqua); }
.stage-label { max-width: 140px; font-size: .8rem; font-weight: 750; }
.stage.active .stage-label { color: white; }
.journey-detail { min-height: 105px; margin-top: 12px; padding: 22px 24px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.journey-index { color: #a9c5c2; font-family: Georgia, serif; font-size: 2.4rem; }
.journey-detail h3 { margin: 0 0 4px; font-size: 1rem; }
.journey-detail p { margin: 0; color: var(--muted); font-size: .82rem; }
.detail-tag { padding: 6px 9px; border-radius: 999px; color: #08705f; background: #e7f7f2; font-size: .68rem; font-weight: 800; }
.compare-section { padding: 36px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 14px 50px rgba(6,35,44,.05); }
.compare-picker { margin-bottom: 22px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 14px; }
.compare-picker label { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.compare-picker select { width: 100%; height: 48px; margin-top: 7px; padding: 0 14px; border: 1px solid #bfd2ce; border-radius: 11px; color: var(--ink); background: #fbfdfc; font-weight: 700; }
.versus { padding-bottom: 13px; color: #9aafac; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 15px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.compare-table th { color: var(--muted); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
.compare-table th:nth-child(2), .compare-table th:nth-child(3) { color: var(--ink); font-size: .78rem; }
.compare-table td { font-size: .82rem; }
.compare-table td strong { display: block; font-size: 1rem; }
.compare-table td span { color: var(--muted); font-size: .7rem; }
.compare-note { margin: 16px 0 0; color: var(--muted); font-size: .72rem; }
.legend { display: flex; gap: 16px; color: var(--muted); font-size: .72rem; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 9px; height: 9px; border-radius: 50%; }
.legend-verified { background: var(--aqua-deep); }
.legend-demo { background: var(--orange); }
.source-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.source-card { padding: 20px; display: grid; grid-template-columns: 30px 1fr auto; gap: 14px; align-items: start; border: 1px solid var(--line); border-radius: 15px; background: white; }
.source-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; color: white; background: var(--ink); font-size: .7rem; font-weight: 800; }
.source-card h3 { margin: 0 0 4px; font-size: .88rem; }
.source-card p { margin: 0; color: var(--muted); font-size: .75rem; }
.source-card a { color: var(--blue); font-size: .72rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.source-card.demo { border-style: dashed; background: #fffcf6; }
.source-card.demo .source-num { background: var(--orange); }
.api-section { margin-bottom: 96px; padding: 44px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; align-items: center; border-radius: 24px; color: white; background: var(--ink); }
.api-copy h2 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.api-copy > p:not(.eyebrow) { color: #b9cdd0; font-size: .9rem; }
.endpoint { margin-top: 24px; display: flex; align-items: center; gap: 10px; overflow: hidden; }
.endpoint span { padding: 5px 7px; border-radius: 6px; color: var(--ink); background: var(--aqua); font-size: .64rem; font-weight: 900; }
.endpoint code { overflow: hidden; color: #e2eded; font-size: .76rem; text-overflow: ellipsis; white-space: nowrap; }
.api-points { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; color: #91aaaE; font-size: .68rem; }
.code-card { min-width: 0; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; overflow: hidden; background: #06191f; box-shadow: 0 20px 60px rgba(0,0,0,.22); }
.code-head { height: 46px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); color: #91a7ab; font-size: .72rem; }
.code-head button { padding: 5px 9px; border: 1px solid rgba(255,255,255,.17); border-radius: 7px; color: #d6e5e6; background: transparent; font-size: .68rem; }
pre { max-height: 440px; margin: 0; padding: 20px; overflow: auto; color: #d5e8e5; font: .72rem/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; tab-size: 2; }
.json-key { color: #72dbc9; }.json-string { color: #ffd08a; }.json-number { color: #96b9ff; }.json-null { color: #e78d84; }
footer { min-height: 105px; padding: 24px max(20px, calc((100% - 1180px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 22px; border-top: 1px solid var(--line); color: var(--muted); background: #eef5f3; font-size: .72rem; }
footer p { margin: 0; }
.footer-brand { color: var(--ink); }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 24px; padding: 10px 14px; border-radius: 10px; color: white; background: var(--ink); box-shadow: 0 10px 30px rgba(0,0,0,.22); font-size: .78rem; font-weight: 700; opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.primary-button { padding: 12px 17px; border: 0; border-radius: 11px; color: var(--ink); background: var(--aqua); font-weight: 820; box-shadow: 0 8px 24px rgba(9, 107, 103, .14); }
.primary-button:hover { background: #7cebd9; transform: translateY(-1px); }
.personalize-card { margin-top: 16px; padding: 28px 30px; display: grid; grid-template-columns: 1.05fr 1.15fr auto; align-items: center; gap: 30px; border: 1px solid #acd7d1; border-radius: 20px; background: linear-gradient(135deg, #ecfaf7, #f9fdfc 60%, #e5f4f4); box-shadow: 0 12px 40px rgba(6,35,44,.05); }
.personalize-intro .eyebrow { margin-bottom: 6px; }
.personalize-intro h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 2.8vw, 2.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.personalize-intro h2 em { color: var(--aqua-deep); font-weight: inherit; }
.personalize-intro > p:last-child { margin: 0; color: var(--muted); font-size: .82rem; }
.water-layers { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 8px; }
.water-layers > div { min-width: 0; padding: 13px; border: 1px solid rgba(11,143,138,.18); border-radius: 13px; background: rgba(255,255,255,.74); }
.water-layers strong, .water-layers small { display: block; }
.water-layers strong { margin: 3px 0 1px; font-size: .82rem; }
.water-layers small { color: var(--muted); font-size: .65rem; line-height: 1.25; }
.layer-number { color: var(--aqua-deep); font-size: .62rem; font-weight: 900; }
.layer-arrow { color: #85aaa5; }
.personalize-action { display: flex; flex-direction: column; align-items: stretch; gap: 7px; text-align: center; }
.personalize-action span { max-width: 190px; color: var(--muted); font-size: .62rem; line-height: 1.35; }
.home-profile { margin-top: 16px; padding: 30px; border-radius: 20px; color: white; background: linear-gradient(145deg, #082a36, #0c3f48); box-shadow: 0 18px 54px rgba(5,37,48,.16); }
.home-profile-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.home-profile-head .eyebrow { color: var(--aqua); }
.home-profile-head h2 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; letter-spacing: -.035em; }
.home-profile-head p { margin: 0; color: #bcd0d2; font-size: .8rem; }
.private-badge { padding: 7px 10px; border: 1px solid rgba(105,227,208,.28); border-radius: 999px; color: var(--aqua); background: rgba(105,227,208,.08); font-size: .68rem; font-weight: 800; white-space: nowrap; }
.home-profile-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.home-fact { padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(255,255,255,.045); }
.home-fact .fact-label { display: block; margin-bottom: 8px; color: #9eb7ba; font-size: .67rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-fact strong { display: block; min-height: 2.5em; font-size: .9rem; line-height: 1.25; }
.provenance { display: inline-block; margin-top: 11px; padding: 4px 7px; border-radius: 999px; color: #b4c8ca; background: rgba(255,255,255,.08); font-size: .6rem; font-weight: 800; text-transform: uppercase; }
.provenance.official { color: #76ead8; background: rgba(105,227,208,.11); }
.provenance.unknown { color: #ffd08a; background: rgba(255,159,67,.11); }
.next-step { margin-top: 14px; padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: start; border-radius: 14px; color: var(--ink); background: var(--aqua); }
.next-step-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: white; background: var(--ink); font-weight: 900; }
.next-step strong, .next-step span { display: block; }
.next-step strong { margin-bottom: 2px; font-size: .8rem; }
.next-step span { font-size: .76rem; }
.home-profile-actions { margin-top: 16px; display: flex; align-items: center; gap: 16px; }
.home-profile .outline-button { border-color: rgba(255,255,255,.28); color: white; background: transparent; }
.danger-text { color: #efb8ac; }
.profile-dialog { width: min(760px, calc(100% - 28px)); max-height: min(880px, calc(100vh - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 28px 100px rgba(0,0,0,.34); }
.profile-dialog::backdrop { background: rgba(3,24,31,.72); backdrop-filter: blur(4px); }
.dialog-shell { padding: 30px; }
.dialog-head { display: flex; justify-content: space-between; gap: 26px; }
.dialog-head h2 { max-width: 560px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 4vw, 2.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.close-dialog { flex: 0 0 auto; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); background: white; font-size: 1.6rem; line-height: 1; }
.step-meter { margin: 24px 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 14px; color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.step-meter > div { height: 5px; overflow: hidden; border-radius: 99px; background: #e9f0ee; }
.step-meter i { display: block; width: 33.33%; height: 100%; border-radius: inherit; background: var(--aqua-deep); transition: width .25s ease; }
.wizard-step { min-height: 390px; }
.question-heading { margin-bottom: 22px; display: flex; gap: 14px; align-items: flex-start; }
.question-heading > span { color: #9fc5c0; font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.question-heading h3 { margin: 0 0 3px; font-size: 1.05rem; }
.question-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.profile-dialog fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.profile-dialog legend, .profile-dialog > label, .wizard-step > label, .form-grid > label, .well-question label { margin-bottom: 8px; display: block; color: var(--ink-2); font-size: .78rem; font-weight: 780; }
.profile-dialog legend small { color: var(--muted); font-weight: 500; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice-row.pipe-choices { grid-template-columns: repeat(5, 1fr); }
.choice-row label, .check-grid label { position: relative; }
.choice-row input, .check-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-row span, .check-grid span { min-height: 45px; padding: 10px 12px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); background: #fbfdfc; font-size: .72rem; font-weight: 700; line-height: 1.2; cursor: pointer; }
.choice-row input:checked + span, .check-grid input:checked + span { border-color: var(--aqua-deep); color: #056d68; background: #eaf9f5; box-shadow: 0 0 0 1px var(--aqua-deep); }
.choice-row input:focus-visible + span, .check-grid input:focus-visible + span { outline: 3px solid rgba(23,111,138,.26); outline-offset: 2px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.profile-dialog select, .profile-dialog input[type="number"] { width: 100%; height: 46px; margin-top: 7px; padding: 0 12px; border: 1px solid #bdd0cc; border-radius: 10px; color: var(--ink); background: white; }
.profile-dialog label small { margin-top: 4px; display: block; color: var(--muted); font-size: .63rem; font-weight: 500; }
.data-connection, .permit-clue, .privacy-note { margin-top: 18px; padding: 13px 14px; border-radius: 11px; color: var(--muted); background: #f1f7f5; font-size: .72rem; }
.data-connection strong, .permit-clue strong, .privacy-note strong { color: var(--ink-2); }
.integration-badge { display: inline-block; margin-right: 7px; padding: 4px 7px; border-radius: 999px; color: #7d571e; background: #fff0d6; font-size: .6rem; font-weight: 850; text-transform: uppercase; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-grid.compact { grid-template-columns: repeat(5, 1fr); }
.short-field { max-width: 220px; }
.well-question { margin-top: 18px; }
.profile-dialog footer.dialog-actions { min-height: 0; margin-top: 24px; padding: 20px 0 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--line); color: inherit; background: transparent; }
.back-button { padding: 10px 0; color: var(--blue); font-weight: 800; }
@media (max-width: 860px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .identity-grid { grid-template-columns: 1fr 1fr; }
  .identity-item:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); border-left: 0; padding-left: 0; }
  .resolution-path { grid-template-columns: 1fr; gap: 10px; }
  .resolution-connector { width: 1px; height: 18px; margin: 0 0 0 13px; }
  .api-section { grid-template-columns: 1fr; gap: 28px; }
  .source-grid { grid-template-columns: 1fr; }
  .journey-stages { grid-template-columns: repeat(4, 170px); width: 680px; }
  .journey-canvas { overflow-x: auto; }
  .journey-line { width: 680px; }
  .personalize-card { grid-template-columns: 1fr; gap: 20px; }
  .personalize-action { align-items: flex-start; text-align: left; }
  .personalize-action span { max-width: none; }
  .home-profile-grid { grid-template-columns: repeat(2, 1fr); }
  .choice-row.pipe-choices { grid-template-columns: repeat(3, 1fr); }
  .check-grid.compact { grid-template-columns: repeat(3, 1fr); }
  .coverage-strip { grid-template-columns: repeat(2, 1fr); }
  .coverage-strip > div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .coverage-strip > div:nth-child(4) { border-top: 1px solid var(--line); }
  .fountain-toolbar { grid-template-columns: 1fr 220px; }
  .location-button { grid-column: 1 / -1; }
  .fountain-layout { grid-template-columns: 1fr; }
  .fountain-map { height: 440px; }
  .fountain-list { height: auto; max-height: 680px; }
  .app-section { padding: 48px 6%; grid-template-columns: 1fr; gap: 42px; }
  .app-plan { grid-template-columns: 1fr 1fr; }
  .app-plan .primary-button { grid-column: 1 / -1; }
  footer { flex-wrap: wrap; }
}
@media (max-width: 620px) {
  .topbar { width: calc(100% - 28px); height: 66px; }
  nav { gap: 14px; } nav a { display: none; font-size: .78rem; } nav a:nth-child(2), nav a:nth-child(3) { display: block; }
  .brand .beta { display: none; }
  .lookup { padding: 46px 14px 102px; }
  h1 { font-size: 3.25rem; }
  .searchbox { grid-template-columns: 28px 1fr; padding: 8px; }
  .searchbox button { grid-column: 1 / -1; }
  .profile-wrap, .section { width: calc(100% - 24px); }
  .water-card { padding: 22px 18px; border-radius: 20px; }
  .card-head { flex-direction: column; }
  .confidence-block { align-items: flex-start; }
  .confidence-popover { left: 0; right: auto; }
  .identity-grid { grid-template-columns: 1fr; }
  .identity-item { min-height: 84px; }
  .identity-item + .identity-item, .identity-item:last-child { grid-column: auto; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .source-resolution-head { flex-direction: column; }
  .data-banner div { display: block; }
  .data-banner span:last-child { display: block; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric { min-height: 112px; padding: 14px; }
  .metric-value { font-size: 1.3rem; }
  .card-foot { align-items: flex-start; flex-direction: column; }
  .personalize-card, .home-profile { padding: 22px 18px; }
  .water-layers { grid-template-columns: 1fr; }
  .layer-arrow { transform: rotate(90deg); justify-self: center; }
  .home-profile-head { flex-direction: column; }
  .home-profile-grid { grid-template-columns: 1fr; }
  .home-profile-actions { align-items: flex-start; flex-direction: column; }
  .alert-card { grid-template-columns: 38px 1fr; }
  .demo-alert-button { grid-column: 1 / -1; }
  .section { margin-top: 78px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .journey-detail { grid-template-columns: auto 1fr; }
  .detail-tag { grid-column: 2; justify-self: start; }
  .compare-section { padding: 24px 16px; }
  .compare-picker { grid-template-columns: 1fr; }
  .versus { padding: 0; text-align: center; }
  .source-card { grid-template-columns: 30px 1fr; }
  .source-card a { grid-column: 2; }
  .dialog-shell { padding: 22px 18px; }
  .profile-dialog { max-height: calc(100vh - 16px); }
  .wizard-step { min-height: 0; }
  .choice-row, .choice-row.pipe-choices, .check-grid, .check-grid.compact, .form-grid { grid-template-columns: 1fr; }
  .profile-dialog footer.dialog-actions { grid-template-columns: auto 1fr; }
  .profile-dialog footer.dialog-actions .primary-button { grid-column: 1 / -1; }
  .coverage-strip { padding: 0 16px; grid-template-columns: 1fr; }
  .coverage-strip > div { min-height: 86px; padding: 15px 8px; }
  .coverage-strip > div + div, .coverage-strip > div:nth-child(3), .coverage-strip > div:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .coverage-strip > p { padding-inline: 8px; }
  .fountain-toolbar { grid-template-columns: 1fr; }
  .location-button { grid-column: auto; }
  .fountain-filters { padding-block: 7px 10px; }
  .hydration-chip { width: 100%; margin-left: 0; text-align: center; }
  .fountain-map { height: 350px; }
  .fountain-list { max-height: none; }
  .map-card-head, .results-head { align-items: flex-start; }
  .results-head > span { max-width: 150px; }
  .fountain-card-top { flex-direction: column; }
  .fountain-status { max-width: none; }
  .coverage-gap { grid-template-columns: auto 1fr; }
  .coverage-gap .outline-button { grid-column: 2; justify-self: start; }
  .confidence-legend { align-items: flex-start; flex-direction: column; }
  .app-section { width: 100%; padding: 48px 20px; border-radius: 0; }
  .app-plan { grid-template-columns: 1fr; }
  .app-plan .primary-button { grid-column: auto; }
  .app-principles { grid-template-columns: 1fr; }
  .phone-shell { width: min(330px, 100%); }
  .api-section { width: 100%; margin-bottom: 0; padding: 48px 20px; border-radius: 0; }
  footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
/* App release: readable evidence, real address confirmation and a quiet daily space. */
.address-candidates{display:grid;gap:8px;margin:14px 0}.address-candidates button{padding:16px;text-align:left;border:1px solid #b5d6cc;border-radius:14px;background:white;color:#173e40;font:inherit;cursor:pointer}.address-candidates button:hover{background:#e0f8ef}.address-result{margin:20px 0;padding:22px;border:1px solid #add8ce;border-radius:18px;background:#e9f8f2}.address-result h2{font-size:22px;margin:8px 0;overflow-wrap:anywhere}.address-result p{font-size:14px;line-height:1.6;margin:6px 0}.address-result .mini-label{color:#246255}.metric-citation{font-size:11px;color:#386b62;margin-top:10px}.verified-badge.older{color:#875613;background:#fff1d7}.app-install-actions,.notification-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.app-install-actions a{text-decoration:none}.app-privacy{font-size:13px;line-height:1.7;padding:15px 0;border-top:1px solid #cedcd7}.app-privacy summary,.history-panel summary{cursor:pointer;font-weight:700}.history-panel{font-size:13px;border-top:1px solid #dce5df;padding:18px 0}.history-panel p{margin:8px 0}.app-plan{flex-wrap:wrap}.app-plan label{min-width:100px}.app-bottom-nav{display:none}.phone-shell{height:auto!important}.phone-body{padding-bottom:12px!important}.phone-top{height:auto!important;padding:18px 24px!important}.coverage-strip{flex-wrap:wrap}.coverage-strip>div{min-width:140px}.fountain-card h3,.fountain-note{overflow-wrap:anywhere}.record-source{overflow-wrap:anywhere}#more-fountains{margin:16px 0;width:100%}.app-mode{background:#f1f6f2}.app-mode .page-shell{max-width:1100px;padding-bottom:100px}.app-mode .topbar{padding-top:18px;padding-bottom:18px}.app-mode .topbar nav{display:none}.app-mode .topbar .brand{font-size:23px}.app-mode main>*,.app-mode .site-footer{display:none}.app-mode[data-view="today"] #app,.app-mode[data-view="settings"] #app{display:grid;margin-top:18px;padding-top:12px;min-height:70vh}.app-mode[data-view="today"] #app{grid-template-columns:1fr;max-width:680px;margin-inline:auto}.app-mode[data-view="today"] .app-copy{display:none}.app-mode[data-view="settings"] .phone-stage{display:none}.app-mode[data-view="settings"] #app{grid-template-columns:1fr;max-width:680px;margin-inline:auto}.app-mode .phone-stage{background:none;padding:0}.app-mode .phone-shell{width:100%;max-width:620px;transform:none;border-radius:28px;border:1px solid #d4e5dc;box-shadow:0 18px 50px #193e2510}.app-mode .phone-body{padding:24px 34px!important}.app-mode .phone-greeting strong{font-size:27px}.app-mode .goal-ring{margin:26px auto;width:228px;height:228px}.app-mode .quick-log button{padding:20px;font-size:18px}.app-mode .phone-card{padding:19px 14px}.app-mode .app-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;justify-content:center;gap:clamp(25px,10vw,110px);padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#071f29;z-index:900;border-radius:22px 22px 0 0;box-shadow:0 -8px 40px #102f2420}.app-bottom-nav a{display:grid;gap:4px;justify-items:center;color:#acc1bd;text-decoration:none;font-size:22px;min-width:48px}.app-bottom-nav a span{font-size:11px;font-weight:600}.app-bottom-nav a.active{color:#6ce5d2}.app-mode[data-view="refill"] #fountains{display:block;margin-top:20px}.app-mode[data-view="water"] .lookup,.app-mode[data-view="water"] .profile-wrap,.app-mode[data-view="water"] #journey,.app-mode[data-view="water"] #compare,.app-mode[data-view="water"] #sources{display:block}.app-mode .app-install-actions a{display:none}.app-mode .toast{bottom:95px}button:focus-visible,a:focus-visible{outline:3px solid #168876;outline-offset:4px}[hidden]{display:none!important}
@media(max-width:700px){.app-mode .page-shell{padding-inline:16px}.app-mode .phone-body{padding:20px!important}.app-mode .phone-shell{border-radius:24px}.app-mode .goal-ring{width:210px;height:210px}.app-mode .app-copy h2{font-size:32px}.app-install-actions>*{flex:1;text-align:center}.coverage-strip{display:grid!important;grid-template-columns:1fr 1fr!important}.coverage-strip>p{grid-column:1/-1}.app-mode .fountain-layout{display:flex;flex-direction:column}.app-mode .fountain-list{max-height:none}.app-mode .phone-card strong{font-size:13px}}
.address-result{color:#173e40;text-align:left;max-width:800px;margin-inline:auto}.address-candidates{max-width:800px;margin-inline:auto}.lookup>.search-note{max-width:800px;margin-inline:auto}.app-mode .page-shell{margin-inline:auto}.app-mode .page-shell>footer{display:none}.app-mode[data-view="water"] .profile-wrap{margin-top:25px}.app-mode[data-view="water"] .lookup{border-radius:25px;padding-bottom:30px}.app-mode .phone-stage::before,.app-mode .phone-stage::after{display:none}
.app-mode[data-view="today"] #app{background:none;box-shadow:none;padding-inline:0;overflow:visible}.app-mode .phone-top{grid-template-columns:1fr 1fr}.app-mode .goal-ring::before{width:calc(100% - 8px);height:calc(100% - 8px)}.app-mode .goal-ring strong{font-size:48px}.app-mode .goal-ring span{font-size:12px}.app-mode .phone-greeting small,.app-mode .phone-encouragement{font-size:13px}.app-prototype-note{font-size:12px!important;line-height:1.7!important}.phone-body .app-prototype-note{color:#4e6965!important}.app-mode .app-section .outline-button,.app-section .text-button{color:inherit}.app-mode .app-copy{padding:20px}.app-mode .app-plan{grid-template-columns:1fr 1fr}.app-mode .app-plan>button{grid-column:1/-1}.coverage-strip{grid-template-columns:repeat(3,1fr)}
.app-section .outline-button,.app-mode .app-section .outline-button{color:#153b44}.app-mode[data-view="settings"] #app{border-radius:24px}.app-mode .phone-top{font-size:11px}.app-mode .phone-card small{font-size:11px}.app-mode .phone-card a{font-size:12px}

/* App support shares the website palette and remains accessible on mobile. */
.topbar nav a.support-nav-link{display:block;white-space:nowrap}
.topbar nav{flex-wrap:wrap;column-gap:20px;row-gap:8px}
.support-content{max-width:820px;margin:0 auto;padding:56px 24px 72px;line-height:1.75}
.support-content h1{font-size:clamp(2rem,6vw,3rem);line-height:1.15;letter-spacing:-.035em;margin:0 0 20px}
.support-content .intro{font-size:1.2rem;color:var(--ink-2)}
.support-content h2{font-size:1.35rem;line-height:1.35;margin:0 0 12px}
.support-content section{padding:28px 0;border-top:1px solid var(--line)}
.support-content section:first-of-type{margin-top:32px}
.support-content p{margin:0 0 18px;overflow-wrap:anywhere}
.support-content section p:last-child{margin-bottom:0}
.support-content a{color:#08756f;text-underline-offset:4px}
.support-content li{margin-bottom:10px}
.support-page nav a[aria-current="page"]{color:#08756f;text-decoration:underline;text-underline-offset:6px}
@media(max-width:900px){.topbar{height:auto;min-height:76px;gap:16px;padding-block:16px;flex-wrap:wrap}.topbar nav{margin-left:auto}.support-page .topbar nav a{display:block}.support-content{padding-top:36px}}
@media(max-width:440px){.topbar nav{width:100%;margin-left:0;gap:16px}.support-page .topbar nav{gap:12px 18px}}
/* WaterID app-to-website brand alignment: shared identity, existing web tools. */
:root{--ink:#10233f;--ink-2:#263e60;--muted:#526582;--paper:#f3f7ff;--aqua:#00c8d7;--aqua-deep:#2458ff;--blue:#2458ff;--line:#d8e2f3;--radius:24px}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,h3{font-family:ui-rounded,system-ui,-apple-system,sans-serif}
.brand-mark{background:transparent;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain}
.primary-button{display:inline-flex;align-items:center;justify-content:center;min-height:54px;border-radius:18px;color:#10233f;text-decoration:none}
.primary-button:hover{background:#54e1e9}.app-plan .primary-button{height:auto;white-space:normal}
footer{background:#eaf0fc}.support-content a,.support-page nav a[aria-current="page"]{color:#2458ff}
.consumer-promo{display:flex;gap:32px;align-items:flex-start;padding:36px;border:1px solid var(--line);border-radius:24px;background:white}
.consumer-promo>img{border-radius:24px;flex-shrink:0}.consumer-promo h2{margin:8px 0 12px}.consumer-promo p{max-width:760px}.consumer-actions{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:28px}.consumer-text-link{color:#2458ff;font-weight:700}
.consumer-page .topbar{height:auto;min-height:88px;padding-block:16px;gap:20px}.consumer-page nav a{display:block}.consumer-page nav a[aria-current]{color:#2458ff;text-decoration:underline;text-underline-offset:6px}
.consumer-hero{max-width:1180px;margin:16px auto 0;display:grid;grid-template-columns:1fr 256px;align-items:center;gap:64px;padding:64px;border-radius:32px;background:linear-gradient(125deg,#184ec4,#5031b2);color:white}
.consumer-hero .eyebrow{color:#d8f451;font-size:.875rem}.consumer-hero h1{font-size:clamp(2.5rem,5vw,4.25rem);line-height:1.08;letter-spacing:-.04em;margin:20px 0 24px}.consumer-hero p:not(.eyebrow){font-size:1.125rem;line-height:1.75;max-width:610px}.consumer-hero>img{width:100%;height:auto;border-radius:25%;box-shadow:0 24px 70px #081b6340}.consumer-hero .consumer-actions>a:not(.primary-button){color:white;text-underline-offset:5px}
.consumer-section{max-width:1180px;margin:0 auto;padding:64px 0}.consumer-section h2{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;letter-spacing:-.025em;margin:10px 0 28px}.consumer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.consumer-grid article{border:1px solid var(--line);border-radius:24px;padding:24px;background:white}.consumer-grid h3{font-size:1.3rem;line-height:1.35;margin:20px 0 12px}.consumer-grid p,.consumer-split p{line-height:1.75;color:var(--ink-2)}.consumer-grid a,.consumer-faq a{color:#2458ff;text-underline-offset:4px}.consumer-label{display:inline-block;font-weight:750;font-size:.875rem;padding:8px 14px;border-radius:12px;background:#b4f1f5;color:#10233f}.consumer-grid article:nth-child(2) .consumer-label{background:#ffe45b}.consumer-grid article:nth-child(3) .consumer-label{background:#c4abff}
.consumer-split{display:grid;grid-template-columns:1fr 1fr;gap:64px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.consumer-split p:first-child{margin-top:0}.consumer-faq{max-width:850px}.consumer-faq details{border-top:1px solid var(--line);padding:20px 0;line-height:1.75}.consumer-faq summary{font-size:1.125rem;font-weight:700;cursor:pointer;min-height:44px}.consumer-contact{margin-top:32px;line-height:1.8}.consumer-page a:focus-visible,.consumer-page summary:focus-visible{outline:3px solid #2458ff;outline-offset:5px}.consumer-hero a:focus-visible{outline-color:#ffe45b}.consumer-page footer{font-size:.875rem}.consumer-page p,.consumer-page a{overflow-wrap:anywhere}
@media(max-width:1240px){.consumer-hero{margin-inline:20px}.consumer-section{margin-inline:24px}}
@media(max-width:800px){.consumer-hero{padding:36px;grid-template-columns:1fr;gap:28px}.consumer-hero>img{width:128px;grid-row:1}.consumer-grid{grid-template-columns:1fr}.consumer-section{padding-block:40px}.consumer-split{grid-template-columns:1fr;gap:12px}.consumer-promo{padding:24px;gap:20px;flex-wrap:wrap}.consumer-promo>img{width:72px;height:72px}.consumer-page .topbar nav{width:100%;margin:0;gap:14px 18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Touch navigation and the browser dashboard share the native app's visual language. */
.topbar nav a{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #2458ff;outline-offset:4px}
.app-mode{background:#f3f7ff}
.app-mode .topbar .brand::after{content:'Browser tools';font-size:12px;font-weight:600;color:#526582;margin-left:8px}
.app-mode #app{background:transparent;color:#10233f;border-radius:24px;padding:12px 20px 28px}
.app-mode .phone-shell{padding:0;background:white;border-color:#dce5f5;box-shadow:0 12px 40px #2458ff0c}
.app-mode .phone-top{color:#526582;background:#edf2ff;border-radius:28px 28px 0 0;font-size:11px}
.app-mode .phone-top i{display:none}
.app-mode .phone-body{background:white;padding:24px!important}
.app-mode .phone-greeting strong,.app-mode .goal-ring strong{font-family:ui-rounded,system-ui,sans-serif;font-weight:750}
.app-mode .phone-greeting small,.app-mode .goal-ring span,.app-mode .phone-encouragement{font-size:13px}
.app-mode .goal-ring{background:conic-gradient(#2458ff var(--progress),#e8efff 0)}
.app-mode .goal-ring::before{width:196px;height:196px}
.app-mode .goal-ring strong{font-size:44px}
.app-mode .quick-log{gap:12px;margin-top:20px}
.app-mode .quick-log button{min-height:56px;border-radius:18px;background:#2458ff;color:white}
.app-mode .quick-log button:first-child{background:#edf2ff;color:#2458ff;border-color:#dce5f5}
.app-mode .phone-card{border-radius:18px;grid-template-columns:32px 1fr;position:relative;padding:18px;margin-top:12px}
.app-mode .phone-card strong{font-size:15px;white-space:normal}
.app-mode .phone-card small{font-size:12px;margin-top:4px}
.app-mode .phone-card a{grid-column:2;font-size:14px;min-height:44px;display:flex;align-items:center;color:#2458ff}
.app-mode .phone-card a::after{content:'';position:absolute;inset:0;border-radius:18px}
.app-mode #undo-drink{min-height:44px;font-size:14px}
.app-mode .app-bottom-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#fff;border-top:1px solid #dce5f5;padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #10233f08}
.app-mode .app-bottom-nav a{display:grid;align-content:center;justify-items:center;gap:4px;min-width:0;min-height:58px;border-radius:16px;color:#526582;font-size:22px;touch-action:manipulation}
.app-mode .app-bottom-nav a span{font-size:12px}
.app-mode .app-bottom-nav a.active{background:#edf2ff;color:#2458ff}
.app-mode .app-copy h2{font-size:32px;color:#10233f}
.app-mode .app-copy p,.app-mode .app-plan label,.app-mode .app-free-note span,.app-mode .app-principles span{color:#526582}
.app-mode .app-plan select{background:white;color:#10233f;border:1px solid #cad7ee;min-height:50px;font-size:16px;border-radius:14px}
.app-mode .app-copy .eyebrow{color:#2458ff}
.app-mode .app-free-note{background:#eaf0ff;border-color:#dce5f5;color:#10233f}
@media(max-width:800px){
 .topbar,.consumer-page .topbar{height:auto;min-height:0;display:flex;flex-wrap:wrap;gap:14px;padding:18px 0 12px}
 .topbar nav,.consumer-page .topbar nav{display:flex;flex-wrap:nowrap;width:100%;max-width:100%;gap:8px;margin:0;overflow-x:auto;padding:4px 2px 10px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
 .topbar nav a,.consumer-page .topbar nav a,.topbar nav a.support-nav-link{display:flex;flex:0 0 auto;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #dce5f5;border-radius:16px;background:white;color:#10233f;font-size:14px;white-space:nowrap;text-decoration:none}
 .topbar nav a[aria-current='page']{background:#2458ff;color:white;border-color:#2458ff}
 .lookup{background:linear-gradient(125deg,#184ec4,#5031b2);border-radius:24px 24px 0 0;padding-top:36px}
 .lookup h1{font-size:clamp(32px,8vw,48px);letter-spacing:-.04em}
 .samples button,.fountain-filters button,.fountain-actions button,.fountain-actions a{min-height:44px}
 input,select,textarea{font-size:16px!important}
 .consumer-hero{margin:4px 14px 0;padding:28px;border-radius:24px}
 .consumer-hero>img{width:88px}
 .consumer-hero h1{font-size:38px}
 .consumer-actions .primary-button{width:100%}
 .app-mode .topbar{padding:18px 0}
 .app-mode .page-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .app-mode #app{padding:0 12px 24px;margin-top:0}
 .app-mode .phone-body{padding:20px!important}
 .app-mode .phone-greeting strong{font-size:24px}
 .app-mode .app-plan{grid-template-columns:1fr}
}
/* Decorative hero circles must never intercept taps on the navigation above. */
.lookup::before,.lookup::after{pointer-events:none}
.topbar{position:relative;z-index:5}

/* Refill is a focused chooser: controls, then one view, then three results. */
.coverage-details{margin:16px 0;color:#526582;font-size:13px}
.coverage-details>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}
.coverage-details>summary::before{content:'+';font-size:20px;color:#2458ff}.coverage-details[open]>summary::before{content:'−'}
.refill-view-switch{display:none}
.fountain-detail>summary{padding:14px 0 4px;min-height:44px;cursor:pointer;color:#2458ff;font-weight:700;font-size:13px}
.refill-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;font-size:12px;color:#526582}
.refill-pagination #more-fountains{width:auto;margin:0}.refill-pagination button{min-height:44px}
@media(min-width:801px){.fountain-detail:not([open])>:not(summary){display:none}}
@media(max-width:800px){
 .app-mode[data-view='refill'] #fountains{margin-top:0;padding-top:4px}
 .fountain-heading{display:block;margin-bottom:12px}.fountain-heading .eyebrow{margin:0 0 4px}.fountain-heading h2{font-size:28px;margin:0}.fountain-heading>p{font-size:13px;line-height:1.5;margin:10px 0 0}
 .fountain-section{display:flex;flex-direction:column}
 .fountain-section>.coverage-details{order:9}
 .refill-controls{padding:16px;border:1px solid #dce5f5;border-radius:24px;background:white;box-shadow:0 8px 24px #2458ff06;margin:16px 0}
 .fountain-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
 .fountain-search{grid-column:1/-1;border-radius:14px;background:#f3f7ff;min-height:48px}
 .community-picker{min-width:0}.community-picker select{width:100%;min-height:44px}
 .location-button{grid-column:auto;align-self:end;min-height:46px;border-radius:14px;font-size:12px;padding:8px}
 .fountain-filters{flex-wrap:nowrap;overflow-x:auto;padding:14px 0 0;gap:8px;min-height:0}
 .fountain-filter{flex:0 0 auto;min-height:40px;padding:8px 12px;font-size:12px}.fountain-filter.active{background:#2458ff;border-color:#2458ff}
 .fountain-filters .hydration-chip{display:none}
 .refill-view-switch{display:grid;grid-template-columns:1fr 1fr;padding:5px;background:#e7edfb;border-radius:16px;gap:5px;margin-bottom:16px}
 .refill-view-switch button{min-height:44px;border:0;border-radius:12px;background:transparent;color:#526582;font:inherit;font-size:14px;font-weight:750}
 .refill-view-switch button[aria-pressed='true']{background:white;color:#2458ff;box-shadow:0 2px 8px #10233f0c}
 .fountain-layout{display:block}
 [data-refill-layout='list']>.map-card,[data-refill-layout='map']>.fountain-results{display:none}
 .fountain-map{height: min(48dvh,380px);min-height:250px}
 .fountain-results{background:transparent;border:0;box-shadow:none;overflow:visible}
 .results-head{padding:0 4px 12px;border:0;min-height:0}.results-head>span{display:none}
 .fountain-list{height:auto;max-height:none;overflow:visible;padding:0;background:transparent}
 .fountain-card{padding:18px;border:1px solid #dce5f5;border-radius:22px;box-shadow:0 5px 20px #10233f05}
 .fountain-card+.fountain-card{margin-top:12px}.fountain-card h3{font-size:16px;line-height:1.4}.fountain-card-top p{font-size:13px;line-height:1.5;margin-top:6px}
 .fountain-status{font-size:11px}.source-pill{font-size:10px}.fountain-card-top{gap:8px}
 .fountain-detail[open]{border-top:1px solid #e7edfb;margin-top:12px}.fountain-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fountain-actions a{grid-column:1/-1;display:flex;justify-content:center;align-items:center;background:#2458ff;color:white;border-radius:12px;font-size:14px}.fountain-actions button{min-height:44px;font-size:12px}
 .fountain-section>.confidence-legend{margin:16px 0 0;padding:14px;border-radius:16px;background:#eaf0ff;font-size:11px}
 .app-mode[data-view='settings'] .app-copy{background:white;padding:24px;border:1px solid #dce5f5;border-radius:24px}
}
@media(max-width:800px){
 .app-mode[data-view='refill'] #fountains{display:flex}
 .fountain-heading h2{font-family:ui-rounded,system-ui,sans-serif;font-weight:800;letter-spacing:-.03em}
 .fountain-heading>p{font-size:12px;margin-bottom:0}
 .refill-controls{margin-top:10px}
}
