/* sensors.css — /sensors "Where our ocean data comes from" shell (2026-11-02). Tokens come from ocean.css (.oc). */
.sn { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }
.sn-sec { margin: 16px 0 0; min-width: 0; }
.sn-h2 { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--oc-muted); margin: 0 0 8px; }
.sn-load { color: var(--oc-muted); font-size: 13px; margin: 0; }
.sn-health { display: flex; flex-wrap: wrap; gap: 8px; }
.sn-gone { font-size: 12px; line-height: 1.5; color: var(--oc-muted); margin: 8px 0 0; }
.sn-map { position: relative; height: 300px; border: 1px solid var(--oc-line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); }
.sn-map > .sn-load { padding: 12px; }
.sn-filters { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 2px; }
.sn-card { border: 1px solid var(--oc-line); border-radius: 14px; padding: 14px; background: rgba(255,255,255,.02); min-width: 0; }
.sn-list { display: grid; gap: 8px; min-width: 0; }
.sn-satellite { border: 1px solid var(--oc-line); border-radius: 14px; padding: 12px; background: rgba(255,255,255,.02); min-width: 0; }
.sn-legend { font-size: 13px; line-height: 1.5; color: var(--oc-muted); margin: 20px 0 0; }
.sn-models { border: 1px dashed var(--oc-line); border-radius: 14px; padding: 12px 14px; font-size: 14px; line-height: 1.55; display: grid; gap: 8px; }
.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: 4px 8px; }
.sn-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--oc-sea); }
@media (min-width: 760px) {
  .sn-map { height: 460px; }
}

/* Task 9: health strip, filters, list (2026-11-03) */
.sn, .sn * { min-width: 0; }
.sn-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.sn-dot { display: inline-block; flex: none; width: 12px; height: 12px; border-radius: 50%; }
.sn-total { align-self: center; font-size: 12.5px; color: var(--oc-muted); }
.sn-kind { min-height: 44px; flex: none; white-space: nowrap; }
.sn-group { display: grid; gap: 6px; max-width: 100%; }
.sn-group + .sn-group { margin-top: 10px; }
.sn-h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--oc-muted); }
.sn-row { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; grid-template-areas: "dot main val" "dot age spark";
  gap: 2px 10px; align-items: center; min-height: 44px; padding: 8px 12px; max-width: 100%; box-sizing: border-box;
  border: 1px solid var(--oc-line); border-radius: 12px; 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: 14px; }
.sn-op { font-size: 12px; 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: 15px; }
.sn-var { font-size: 11.5px; color: var(--oc-muted); }
.sn-age { grid-area: age; font-size: 12px; color: var(--oc-muted); }
.sn-spark { grid-area: spark; display: block; width: 96px; max-width: 100%; min-height: 28px; justify-self: end; font-size: 11px; 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: 40; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto; box-sizing: border-box;
  padding: 44px 16px 24px; background: #0c0a09; color: var(--oc-ink, #e7e5e4); border-top: 1px solid var(--oc-line, rgba(255,255,255,.09));
  border-radius: 16px 16px 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-close { position: absolute; top: 6px; right: 8px; min-height: 44px; min-width: 44px; padding: 0 14px; 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: 13px; cursor: pointer; }
.sn-close:focus-visible, .sn-range-btn:focus-visible { outline: 2px solid #38bdf8; outline-offset: 2px; }
@media (min-width: 760px) {
  .sn-sheet { left: auto; top: 0; width: 400px; max-height: none; border-radius: 0; border-top: 0;
    border-left: 1px solid var(--oc-line, rgba(255,255,255,.09)); box-shadow: -8px 0 32px rgba(0,0,0,.5); }
}
.sn-sheet, .sn-sheet * { min-width: 0; }
.sn-card-in { display: grid; gap: 14px; max-width: 100%; }
.sn-card-h { margin: 0; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.sn-card-id { margin: 2px 0 6px; font-size: 12.5px; color: var(--oc-muted, #a8a29e); overflow-wrap: anywhere; }
.sn-card-head p { margin: 0 0 4px; }
.sn-card-head .oc-pill { min-height: 28px; font-size: 12px; }
.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: 6px; }
.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(150px, 1fr)); gap: 10px; }
.sn-tile { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 8px; border: 1px solid var(--oc-line, rgba(255,255,255,.09)); border-radius: 12px; }
.sn-tile .sn-big { font-size: 22px; font-weight: 700; }
.sn-tile .sn-var { font-size: 12px; color: var(--oc-muted, #a8a29e); text-align: center; }
.sn-range { display: flex; gap: 8px; }
.sn-range-btn { min-height: 44px; min-width: 56px; }
.sn-hplot { display: grid; gap: 2px; }
.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: 12px; color: var(--oc-muted, #a8a29e); }
.sn-key { display: inline-block; width: 18px; height: 0; margin: 0 6px 3px 8px; 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: 4px 12px; }
.sn-links2 a { display: inline-flex; align-items: center; min-height: 44px; color: var(--oc-sea, #38bdf8); }
.sn-card-in .sw-src a { display: inline-block; padding: 12px 0; }

/* Task 11: satellite block (2026-11-03) */
.sn-satellite { display: grid; gap: 10px; }
.sn-sat-intro, .sn-sat-age, .sn-sat-kd { margin: 0; font-size: 13px; line-height: 1.5; }
.sn-sat-intro { color: var(--oc-muted); }
.sn-sat-row, .sn-sat-seg, .sn-sat-days { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sn-sat-ctl { display: grid; gap: 10px; }
.sn-sat-ctl[hidden], .sn-sat-kd[hidden] { display: none; }
.sn-sat-btn { min-height: 44px; min-width: 44px; }
.sn-sat-btn:disabled { opacity: .45; }
.sn-sat-daylabel { flex: 1; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.sn-sat-days { flex-wrap: nowrap; }
.sn-sat-scale { padding: 0 16px; }
.sn-sat-bar { height: 10px; border-radius: 5px; }
.sn-sat-ticks { position: relative; height: 18px; font-size: 11.5px; color: var(--oc-muted); margin-top: 3px; }
.sn-sat-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.sn-sat-src { color: var(--oc-sea); }
