/* sensors.css — /sensors "Where our ocean data comes from" shell (2026-11-02). Tokens come from ocean.css (.oc). */
.sn { max-width: 68.75rem; margin: 0 auto; padding: 0 1rem 3rem; }
.sn-sec { margin: 1rem 0 0; min-width: 0; }
.sn-h2 { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oc-muted); margin: 0 0 0.5rem; }
.sn-load { color: var(--oc-muted); font-size: 0.8125rem; margin: 0; }
.sn-health { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sn-gone { font-size: 0.75rem; line-height: 1.5; color: var(--oc-muted); margin: 0.5rem 0 0; }
.sn-stage { margin: 1rem 0 0; min-width: 0; }
.sn-stage > .sn-mapsec { margin-top: 0; }
.sn-mapwrap { position: relative; height: 22.5rem; } /* keeps the map's place in the page while it fills the screen.
  360 px on a phone since 2026-11-18 (was 300): the type buttons and the buoy callouts need the room. */
.sn-map { position: relative; height: 100%; box-sizing: border-box; border: 1px solid var(--oc-line); border-radius: 0.875rem; overflow: hidden; background: rgba(255,255,255,.02); }
.sn-map > .sn-load { padding: 0.75rem; }
.sn-card { border: 1px solid var(--oc-line); border-radius: 0.875rem; padding: 0.875rem; background: rgba(255,255,255,.02); min-width: 0; }
.sn-list { display: grid; gap: 0.5rem; min-width: 0; }
.sn-satellite { border: 1px solid var(--oc-line); border-radius: 0.875rem; padding: 0.75rem; background: rgba(255,255,255,.02); min-width: 0; }
.sn-legend { font-size: 0.8125rem; line-height: 1.5; color: var(--oc-muted); margin: 1.25rem 0 0; }
.sn-models { border: 1px dashed var(--oc-line); border-radius: 0.875rem; padding: 0.75rem 0.875rem; font-size: 0.875rem; line-height: 1.55; display: grid; gap: 0.5rem; }
.sn-models p, .sn-note { margin: 0; }
.sn-note { font-size: 12.5px; line-height: 1.5; color: var(--oc-muted); }
.sn-links { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; }
.sn-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.25rem; color: var(--oc-sea); }
@media (min-width: 760px) {
  .sn-mapwrap { height: 28.75rem; }
}

/* Task 9: health strip, filters, list (2026-11-03) */
.sn, .sn * { min-width: 0; }
.sn-pill { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; }
.sn-dot { display: inline-block; flex: none; width: 0.75rem; height: 0.75rem; border-radius: 50%; }
.sn-total { align-self: center; font-size: 12.5px; color: var(--oc-muted); }
.sn-group { display: grid; gap: 0.375rem; max-width: 100%; }
.sn-group + .sn-group { margin-top: 0.625rem; }
.sn-h3 { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-muted); }
.sn-row { display: grid; grid-template-columns: 0.75rem minmax(0, 1fr) auto; grid-template-areas: "dot main val" "dot age spark";
  gap: 0.125rem 0.625rem; align-items: center; min-height: 2.75rem; padding: 0.5rem 0.75rem; max-width: 100%; box-sizing: border-box;
  border: 1px solid var(--oc-line); border-radius: 0.75rem; background: rgba(255,255,255,.02); color: var(--oc-ink); text-decoration: none; }
.sn-row[aria-current="true"] { border-color: var(--oc-sea); background: rgba(56,189,248,.08); }
.sn-row .sn-dot { grid-area: dot; }
.sn-row-main { grid-area: main; display: grid; overflow-wrap: anywhere; }
.sn-name { font-weight: 600; font-size: 0.875rem; }
.sn-op { font-size: 0.75rem; color: var(--oc-muted); }
.sn-row-val { grid-area: val; display: grid; text-align: right; justify-items: end; }
.sn-val { font-weight: 700; font-size: 0.9375rem; }
.sn-var { font-size: 11.5px; color: var(--oc-muted); }
.sn-age { grid-area: age; font-size: 0.75rem; color: var(--oc-muted); }
.sn-spark { grid-area: spark; display: block; width: 6rem; max-width: 100%; min-height: 1.75rem; justify-self: end; font-size: 0.6875rem; color: var(--oc-muted); }
.sn-spark svg { display: block; max-width: 100%; height: auto; }
.sn-pin:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
.sn-stale { flex-basis: 100%; margin: 0; font-size: 12.5px; color: #eab308; }

/* Task 10: sensor card — bottom sheet below 760 px, right panel from 760 px (2026-11-03) */
.sn-sheet { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 50vh; height: 50dvh;
  max-height: calc(100vh - var(--sc-h) - 0.5rem); max-height: calc(100dvh - var(--sc-h) - 0.5rem); overflow-y: auto; box-sizing: border-box; transition: height .25s ease;
  padding: 0 1rem 1.5rem; background: #0c0a09; color: var(--oc-ink, #e7e5e4); border-top: 1px solid var(--oc-line, rgba(255,255,255,.09));
  border-radius: 1rem 1rem 0 0; box-shadow: 0 -8px 32px rgba(0,0,0,.5); overscroll-behavior: contain; }
.sn-sheet[hidden] { display: none; }
.sn-sheet:focus { outline: none; }
.sn-sheet-top { position: sticky; top: 0; z-index: 1;
  margin: 0 -1rem 0.5rem; padding: 0 0.5rem 0.5rem 1rem; background: #0c0a09; border-bottom: 1px solid var(--oc-line, rgba(255,255,255,.09)); }
.sn-sheet-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; }
/* Sheet heights below 1024 px (George 2026-11-04): peek, half (the default) and full; the handle drags or cycles them */
.sn-sheet[data-snap="peek"] { height: 30vh; height: 30dvh; }
.sn-sheet[data-snap="half"] { height: 50vh; height: 50dvh; }
.sn-sheet[data-snap="full"] { height: 90vh; height: 90dvh; }
.sn-sheet.sn-dragging { transition: none; }
.sn-grab { display: flex; align-items: center; justify-content: center; width: calc(100% + 1.5rem); min-height: 2.5rem; margin: 0 -0.5rem 0 -1rem; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: grab; touch-action: none; }
.sn-grab-bar { display: block; width: 2.75rem; height: 0.3125rem; border-radius: 0.1875rem; background: rgba(255,255,255,.38); }
.sn-grab:hover .sn-grab-bar { background: rgba(255,255,255,.6); }
.sn-grab:focus-visible { outline: 2px solid #38bdf8; outline-offset: -4px; border-radius: 0.625rem; }
.sn-sheet-title { font-size: 0.75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oc-muted, #a8a29e); }
.sn-close { flex: none; min-height: 2.75rem; min-width: 2.75rem; padding: 0 1rem; border-radius: 999px;
  border: 1px solid var(--oc-line, rgba(255,255,255,.09)); background: rgba(255,255,255,.04); color: inherit; font: inherit; font-size: 0.8125rem; cursor: pointer; }
.sn-close:hover { background: rgba(255,255,255,.1); }
.sn-close:focus-visible, .sn-range-btn:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
@media (min-width: 760px) { /* wide screens: still a bottom sheet, content spread across the width */
  .sn-sheet { padding: 0 1.5rem 1.5rem; }
  .sn-sheet-top { margin: 0 -1.5rem 0.75rem; padding: 0 1rem 0.5rem 1.5rem; }
  .sn-grab { width: calc(100% + 2.5rem); margin: 0 -1rem 0 -1.5rem; }
  .sn-sheet-body { max-width: 68.75rem; margin: 0 auto; }
  .sn-card-in { grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr)); gap: 1rem 1.5rem; align-items: start; grid-auto-flow: row dense; }
  .sn-card-in > [data-section="header"], .sn-card-in > [data-section="history"] { grid-column: 1 / -1; }
  .sn-card-in > [data-section="now"] { grid-column: span 2; }
  .sn-card-in > [data-section="history"] { grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr)); gap: 0.625rem 1.5rem; }
  .sn-card-in > [data-section="history"] > :not(.sn-hplot) { grid-column: 1 / -1; }
}
@media (min-width: 760px) and (max-width: 979px) {
  .sn-card-in > [data-section="now"] { grid-column: 1 / -1; }
}
.sn-sheet, .sn-sheet * { min-width: 0; }
.sn-card-in { display: grid; gap: 0.875rem; max-width: 100%; }
.sn-card-h { margin: 0; font-size: 1.125rem; line-height: 1.25; overflow-wrap: anywhere; }
.sn-card-id { margin: 0.125rem 0 0.375rem; font-size: 12.5px; color: var(--oc-muted, #a8a29e); overflow-wrap: anywhere; }
.sn-card-head p { margin: 0 0 0.25rem; }
.sn-card-head .oc-pill { min-height: 1.75rem; font-size: 0.75rem; }
.sn-card-head .oc-pill--ok { color: #22c55e; border-color: #22c55e; }
.sn-card-head .oc-pill--warn { color: #eab308; border-color: #eab308; }
.sn-card-head .oc-pill--off { color: #a8a29e; }
.sn-sec2 { display: grid; gap: 0.375rem; }
.sn-sec2 p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.sn-h4 { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oc-muted, #a8a29e); }
.sn-none { color: var(--oc-muted, #a8a29e); }
.sn-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.375rem, 1fr)); gap: 0.625rem; }
.sn-tile { display: grid; justify-items: center; align-content: start; gap: 0.125rem; padding: 0.5rem; border: 1px solid var(--oc-line, rgba(255,255,255,.09)); border-radius: 0.75rem; }
.sn-tile .sn-big { font-size: 1.375rem; font-weight: 700; }
.sn-tile .sn-var { font-size: 0.75rem; color: var(--oc-muted, #a8a29e); text-align: center; }
.sn-range { display: flex; gap: 0.5rem; }
.sn-range-btn { min-height: 2.75rem; min-width: 3.5rem; }
.sn-hplot { display: grid; gap: 0.125rem; }
.sn-hplot svg, .sn-spec svg, .sn-sec2 svg { display: block; max-width: 100%; height: auto; }
.sn-hvar { font-size: 12.5px; font-weight: 600; }
.sn-keys { font-size: 0.75rem; color: var(--oc-muted, #a8a29e); }
.sn-key { display: inline-block; width: 1.125rem; height: 0; margin: 0 0.375rem 0.1875rem 0.5rem; border-top: 2.5px solid #38bdf8; vertical-align: middle; }
.sn-key:first-child { margin-left: 0; }
.sn-key--pred { border-top: 2px dashed #e7e5e4; opacity: .7; }
.sn-links2 { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.sn-links2 a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--oc-sea, #38bdf8); }
.sn-card-in .sw-src a { display: inline-block; padding: 0.75rem 0; }

/* Task 11: satellite block (2026-11-03) */
.sn-satellite { display: grid; gap: 0.625rem; }
.sn-sat-intro, .sn-sat-age, .sn-sat-kd { margin: 0; font-size: 0.8125rem; line-height: 1.5; }
.sn-sat-intro { color: var(--oc-muted); }
.sn-sat-now { margin: 0; font-size: 0.8125rem; line-height: 1.5; }
.sn-sat-now-big { display: block; font-size: 1.0625rem; font-weight: 700; }
.sn-sat-now[data-state="old"] .sn-sat-now-big, .sn-sat-now[data-state="clouded"] .sn-sat-now-big,
.sn-sat-now[data-state="gone"] .sn-sat-now-big { color: #fca5a5; }
.sn-sat-now-sub { color: var(--oc-muted); }
.sn-sat-row, .sn-sat-seg, .sn-sat-days { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.sn-sat-ctl { display: grid; gap: 0.625rem; }
.sn-sat-ctl[hidden], .sn-sat-kd[hidden] { display: none; }
.sn-sat-btn { min-height: 2.75rem; min-width: 2.75rem; }
.sn-sat-btn:disabled { opacity: .45; }
.sn-sat-daylabel { flex: 1; text-align: center; font-weight: 600; font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.sn-sat-days { flex-wrap: nowrap; }
.sn-sat-scale { padding: 0 1rem; }
.sn-sat-bar { height: 0.625rem; border-radius: 0.3125rem; }
.sn-sat-ticks { position: relative; height: 1.125rem; font-size: 11.5px; color: var(--oc-muted); margin-top: 0.1875rem; }
.sn-sat-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.sn-sat-src { color: var(--oc-sea); }

/* 2026-11-03 fix: legend under the map (George: "no legend ... no way to see what you are clicking") */
.sn-glyph { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 1.375rem; height: 1.375rem; margin-right: 0.125rem;
  border-radius: 50%; box-sizing: border-box; border: 2px solid #a8a29e; background: #0c0a09; color: #f5f5f4;
  font: 700 9.5px/1 system-ui, sans-serif; }
.sn-mapkey { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.875rem; padding: 0.5rem 0.125rem 0; font-size: 12.5px; color: var(--oc-muted); }
.sn-mapkey-h { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11.5px; }
.sn-mapkey-item { display: inline-flex; align-items: center; gap: 0.375rem; color: var(--oc-ink); }
.sn-mapkey-ring { display: inline-block; width: 0.875rem; height: 0.875rem; border-radius: 50%; box-sizing: border-box; border: 3px solid; background: #0c0a09; }
.sn-mapkey-tip { flex-basis: 100%; }
@media (min-width: 760px) {
}

/* 2026-11-03: numbers on the charts (George: "we need numbers with these graphs") */
.sn-chart { position: relative; padding: 1rem 0; }
.sn-chart svg { display: block; width: 100%; }
.sn-cv { position: absolute; transform: translateX(-50%); font-size: 0.75rem; font-weight: 700; line-height: 0.875rem; white-space: nowrap;
  color: var(--oc-ink, #e7e5e4); font-variant-numeric: tabular-nums; pointer-events: none; }
.sn-cv--hi { top: 0; }
.sn-cv--lo { bottom: 0; }
.sn-axis { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 11.5px; color: var(--oc-muted, #a8a29e); font-variant-numeric: tabular-nums; }
.sn-axis b { color: #38bdf8; }
.sn-hilo { margin: 0.125rem 0 0; font-size: 0.75rem; color: var(--oc-muted, #a8a29e); }
.sn-spark-rng { display: block; margin-top: 0.125rem; font-size: 0.6875rem; color: var(--oc-muted); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sn-spark { width: auto; min-width: 6rem; }

/* What each number tells you (card) and How to read the ocean (#read), 2026-11-03 */
.sn-explain { margin: 0; display: grid; gap: 0.375rem; font-size: 0.875rem; line-height: 1.5; }
.sn-explain dt { font-weight: 700; margin: 0; }
.sn-explain dd { margin: 0 0 0.25rem; overflow-wrap: anywhere; }
.sn-read { scroll-margin-top: 4.5rem; }
.sn-read-intro { margin: 0 0 0.625rem; font-size: 0.9375rem; line-height: 1.55; }
.sn-read-list { display: grid; gap: 0.625rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr)); }
.sn-read-item { border: 1px solid var(--oc-line); border-radius: 0.875rem; padding: 0.75rem 0.875rem; font-size: 0.875rem; line-height: 1.55; min-width: 0; }
.sn-read-item h3 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 800; }
.sn-read-item p { margin: 0; }
.sn-read-signs { margin-top: 0.375rem !important; color: var(--oc-muted); }
.sn-lag { margin: 0.375rem 0 0; font-size: 13.5px; color: var(--oc-muted); }
.sn-vsnormal { margin: 0.375rem 0 0; font-size: 14.5px; font-weight: 600; }
/* Camera view in the sheet (2026-11-04). The player styles come from community-cams.js. */
.sn-cam { max-width: 35rem; }
.sn-camview { color: var(--oc-text, inherit); }
.sn-bigbtn { display: flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 3rem; padding: 0.625rem 1rem; margin: 0.25rem 0;
  border-radius: 0.75rem; border: 2px solid #14B8A6; color: #14B8A6; font-weight: 700; font-size: 0.9375rem; text-align: center; text-decoration: none; max-width: 35rem; }
.sn-bigbtn:hover, .sn-bigbtn:focus-visible { background: rgba(20,184,166,.14); }
.sn-card-in .ccam-chip { min-height: 2.75rem; padding: 0 0.875rem; font-size: 0.8125rem; }
.sn-card-in .ccam-age { color: var(--oc-muted, #a8a29e); }

/* Map + data layout (George 2026-11-04, "do it that way"). sensors-page.js puts .sn-open on .sn-stage while a sensor is open. */
.sn-pin > div { transition: transform .15s ease, box-shadow .15s ease; }
.sn-pin--on > div { transform: scale(1.18); box-shadow: 0 0 0 3px #0c0a09, 0 0 0 6px #f5f5f4; }
@media (max-width: 1023.98px) { /* phones and tablets: the map fills the screen under the header, the sheet frames its lower part */
  .sn-stage.sn-open .sn-map { position: fixed; z-index: 52; top: var(--sc-h); left: 0; right: 0; bottom: 0; height: auto; border: 0; border-radius: 0; }
}
@media (min-width: 1024px) { /* wide screens: the panel docks beside the map instead of covering the page */
  .sn-stage.sn-open { display: grid; grid-template-columns: minmax(0, 1fr) 26.25rem; gap: 1rem; align-items: start;
    width: min(85rem, calc(100vw - 4rem)); margin-left: calc(50% - min(42.5rem, calc(50vw - 2rem))); }
  .sn-stage.sn-open > .sn-mapsec { position: sticky; top: calc(var(--sc-h) + 0.5rem); margin: 0; display: flex; flex-direction: column;
    height: calc(100vh - var(--sc-h) - 1rem); height: calc(100dvh - var(--sc-h) - 1rem); }
  .sn-stage.sn-open .sn-mapwrap { flex: 1 1 auto; height: auto; min-height: 0; }
  .sn-stage.sn-open > .sn-sheet { position: sticky; top: calc(var(--sc-h) + 0.5rem); left: auto; right: auto; bottom: auto; z-index: 1;
    height: calc(100vh - var(--sc-h) - 1rem); height: calc(100dvh - var(--sc-h) - 1rem); max-height: none; overflow-y: auto;
    padding: 0 1.25rem 1.25rem; border: 1px solid var(--oc-line, rgba(255,255,255,.09)); border-radius: 0.875rem; box-shadow: none; transition: none; }
  .sn-stage.sn-open > .sn-sheet .sn-sheet-top { margin: 0 -1.25rem 0.75rem; padding: 0.5rem 0.75rem 0.5rem 1.25rem; }
  .sn-grab { display: none; }
  .sn-stage .sn-card-in { grid-template-columns: minmax(0, 1fr); }
  .sn-stage .sn-card-in > [data-section] { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  .sn-sheet, .sn-pin > div { transition: none; }
}

/* Main-buoy callouts and small link-only camera pins (George 2026-11-04). Sizes match
   SensorsLogic.calloutSize: 11 px text on 14 px lines, 3+3 px padding, 2 px border. */
.sn-callout { display: flex; flex-direction: column; box-sizing: border-box;
  padding: 0.1875rem 0.375rem; border: 2px solid #22c55e; border-radius: 0.5rem; background: rgba(12,10,9,.94); color: #f5f5f4;
  font: 600 0.6875rem/0.875rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.5); pointer-events: auto; }
.sn-callout-n { font-weight: 800; color: #7dd3fc; }
.sn-callout-l { display: block; }
.sn-callout-note { display: block; white-space: normal; width: 8.125rem; color: #fde68a; }
.sn-callout-full { display: flex; flex-direction: column; }
.sn-callout-short, .sn-callout--short .sn-callout-full { display: none; }
.sn-callout--short .sn-callout-short { display: block; }
.sn-mapkey-box { display: inline-block; width: 1.125rem; height: 0.75rem; margin-right: 0.375rem; vertical-align: -1px;
  border: 2px solid #7dd3fc; border-radius: 0.25rem; background: rgba(12,10,9,.94); }
.sn-status-note { margin: 0.5rem 0 0; padding: 0.5rem 0.625rem; border-left: 4px solid #fbbf24; border-radius: 0.5rem;
  background: rgba(251,191,36,.10); font-size: 13.5px; line-height: 1.5; }

/* 2026-11-18: satellite rows that show something, their layer controls under the map, and the Data health box */
.sn-sat-drawn { margin: 0.5rem 0 0; font-size: 0.875rem; line-height: 1.5; }
.sn-sat-cardlegend:empty { display: none; }
.sn-sat-cardlegend { margin-top: 0.625rem; }
.sn-sat-dock { display: grid; gap: 0.625rem; margin-top: 0.5rem; padding: 0.625rem 0.75rem; border: 1px solid var(--oc-line); border-radius: 0.875rem; background: rgba(255,255,255,.02); }
.sn-sat-dock[hidden], .sn-sat-where[hidden] { display: none; }
.sn-sat-where { margin: 0; font-size: 0.8125rem; line-height: 1.5; }
.sn-linkbtn { min-height: 2.75rem; padding: 0 0.25rem; border: 0; background: none; font: inherit; color: var(--oc-sea); text-decoration: underline; cursor: pointer; }
/* The kelp layer's own box (kelp-layer.js) on this page's map: its buttons keep their text width (.sn * sets
   min-width 0), and on a phone it sits top-left, clear of the zoom buttons and of the bottom sheet. */
.sn-map .kpl { width: 13.75rem; }
.sn-map .kpl-p > * { min-width: max-content; }
.sn-map .kpl-p button { padding: 0.1875rem 0.25rem; }
.sn-dh-body { display: grid; gap: 0.5rem; border: 1px solid var(--oc-line); border-radius: 0.875rem; padding: 0.75rem; background: rgba(255,255,255,.02); font-size: 0.875rem; line-height: 1.5; }
.sn-dh-body p { margin: 0; }
.sn-dh-head, .sn-dh-item, .sn-dh-inst { display: grid; grid-template-columns: 0.75rem minmax(0, 1fr); gap: 0.5rem; align-items: baseline; overflow-wrap: anywhere; }
.sn-dh-ago, .sn-dh-state { color: var(--oc-muted); font-size: 0.8125rem; white-space: nowrap; }
.sn-dh-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.375rem; }
.sn-dh-note { display: block; color: var(--oc-muted); font-size: 0.8125rem; }
.sn-dh-warn { color: #eab308; }
.sn-dh-more summary { min-height: 2.75rem; display: flex; align-items: center; cursor: pointer; color: var(--oc-sea); }
.sn-dh-group { color: var(--oc-muted); font-size: 0.8125rem; margin-top: 0.375rem; }
.sn-dh-group b { color: inherit; }
.sn-dh-owner { color: var(--oc-muted); font-size: 0.75rem; }
.sn-dh-owner a { display: inline-block; padding: 0.75rem 0; color: var(--oc-sea); }

/* Sensor-type buttons on the map's left edge (George 2026-11-18: "move sensor grouping pills to the map itself
   left side and on off colors and make them small and functional for all screens"). A column that wraps into a
   second one when the map is short. On = filled; off = dark outline, dim, the letter struck through. */
.sn-filters { position: absolute; z-index: 3; left: 0.375rem; top: 0.375rem; max-height: calc(100% - 0.75rem); max-width: calc(100% - 4rem);
  display: flex; flex-direction: column; flex-wrap: wrap; align-content: flex-start; gap: 0.25rem; box-sizing: border-box;
  padding: 0.25rem; border-radius: 0.75rem; background: rgba(12,10,9,.88); border: 1px solid rgba(255,255,255,.14); }
.sn-filters:empty { display: none; }
.sn-kind { position: relative; display: flex; align-items: center; gap: 0.375rem; flex: none; box-sizing: border-box;
  min-width: 2.75rem; height: 1.625rem; padding: 0 0.5rem 0 0.1875rem; border-radius: 0.8125rem; cursor: pointer;
  font: 700 0.75rem/1 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap;
  color: #0c0a09; background: #38bdf8; border: 1px solid #7dd3fc; }
.sn-kind .sn-glyph { width: 1.25rem; height: 1.25rem; margin: 0; font-size: 0.625rem; color: #f5f5f4; background: #0c0a09; border: 0; border-radius: 50%; }
.sn-kind[aria-pressed="false"] { color: #a8a29e; font-weight: 600; background: #0c0a09; border-color: rgba(255,255,255,.3); }
.sn-kind[aria-pressed="false"] .sn-glyph { color: #a8a29e; background: linear-gradient(to top right, transparent 46%, #a8a29e 46%, #a8a29e 54%, transparent 54%), #292524; }
.sn-kind:focus-visible { outline: 2px solid #f5f5f4; outline-offset: 1px; }
@media (max-width: 759.98px) { /* a phone: the letter alone, in a 44 px wide target; a press says the name beside it for a moment */
  .sn-kind { justify-content: center; padding: 0; }
  .sn-kind-n { display: none; }
  .sn-kind--say .sn-kind-n { display: block; position: absolute; left: calc(100% + 0.375rem); top: 50%; z-index: 1; margin-top: -0.75rem;
    padding: 0 0.5rem; line-height: 1.5rem; border-radius: 0.375rem; color: #f5f5f4; background: #0c0a09; border: 1px solid rgba(255,255,255,.3);
    pointer-events: none; opacity: 0; animation: sn-say 1.8s ease-out; }
}
@keyframes sn-say { 0%, 70% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sn-kind--say .sn-kind-n { animation-duration: 3s; animation-timing-function: step-end; } }
.sn-mapkey-letters { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.sn-mapkey-letters .sn-glyph { width: 1.125rem; height: 1.125rem; font-size: 0.5625rem; }
/* the kelp box keeps clear of the buttons: bottom right on wide maps, right of the letters on a phone */
.sn-map .kpl { left: auto !important; top: auto !important; right: 0.625rem !important; bottom: 2.25rem !important; }
@media (max-width: 759.98px) {
  .sn-map .kpl { top: 0.5rem !important; left: 3.75rem !important; right: auto !important; bottom: auto !important; }
}
