/* swell.css — /swell "Reading the swell" (2026-11-01). Uses the --oc-* tokens from ocean.css; page is wrapped in .oc. */
.sw { max-width: 1100px; margin: 0 auto; padding: 0 16px 48px; }
.sw-maps { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0 0 10px; }
.sw-mapbox { margin: 0; }
.sw-cap { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--oc-muted); margin: 0 0 6px; }
.sw-map { height: 320px; border: 1px solid var(--oc-line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.02); }
.sw-time { display: flex; align-items: center; gap: 8px; margin: 6px 0 10px; }
.sw-time input[type=range] { flex: 1 1 auto; min-width: 0; }
.sw-step { border: 1px solid var(--oc-line); background: rgba(255,255,255,.03); color: var(--oc-ink); border-radius: 10px;
           width: 40px; height: 40px; font-size: 22px; line-height: 1; cursor: pointer; }
.sw-step:disabled { opacity: .4; cursor: default; }
.sw-msg { margin: 0 0 12px; font-size: 13px; }
.sw-strip { border: 1px solid var(--oc-line); border-radius: 14px; padding: 12px 14px; margin: 0 0 22px; background: rgba(56,189,248,.05); }
.sw-strip p { margin: 0 0 6px; max-width: none; }
.sw-sec { margin: 28px 0 0; }
.sw-h2 { font-size: clamp(22px, 4vw, 28px); font-weight: 800; margin: 0 0 12px; }
.sw-h3 { font-size: 17px; font-weight: 750; margin: 0 0 6px; }
.sw-three { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sw-num p { font-size: 13.5px; line-height: 1.55; margin: 8px 0 0; }
.sw-live { font-size: 14px; line-height: 1.6; color: var(--oc-ink); }
.sw-live b { color: var(--oc-sea); font-variant-numeric: tabular-nums; }
.sw-mini { display: block; width: 120px; height: 50px; color: var(--oc-sea); margin-top: 8px; }
.sw-src { font-size: 12px; line-height: 1.5; color: var(--oc-muted); margin: 8px 0 0; }
.sw-src a, .sw-srclist a { color: var(--oc-sea); }
.sw-why { display: grid; grid-template-columns: 1fr; gap: 16px; }
.sw-list { margin: 0 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.6; }
.sw-list li { margin-bottom: 8px; }
.sw-ladder { border-collapse: collapse; font-size: 13px; margin: 6px 0 0; width: 100%; max-width: 420px; }
.sw-ladder caption { text-align: left; color: var(--oc-muted); font-size: 12px; padding-bottom: 4px; }
.sw-ladder th, .sw-ladder td { text-align: left; padding: 5px 8px 5px 0; border-top: 1px solid var(--oc-line); }
.sw-ladder th { font-weight: 700; white-space: nowrap; }
.sw-why-fig { margin: 12px 0 0; }
.sw-why-fig--wide { max-width: 420px; }
.sw-diagram { display: block; width: 100%; height: auto; max-width: 420px; border: 1px solid var(--oc-line); border-radius: 14px; color: var(--oc-sea); }
.sw-sea { fill: rgba(56,189,248,.08); }
.sw-land { fill: rgba(255,255,255,.07); }
.sw-coast { fill: none; stroke: var(--oc-muted); stroke-width: 2; stroke-linejoin: round; }
.sw-buoy circle { fill: var(--oc-sea); stroke: #0c0a09; stroke-width: 1.5; }
.sw-buoy text, .sw-place text, .sw-note { font-size: 11px; fill: var(--oc-ink); }
.sw-place text { fill: var(--oc-muted); }
.sw-arrows line { stroke: var(--oc-sea); stroke-width: 3; stroke-linecap: round; }
.sw-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.sw-cards > .oc-err { grid-column: 1 / -1; }
.sw-srclist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 6px 16px; padding-left: 18px; font-size: 13px; }
@media (min-width: 760px) {
  .sw-maps { grid-template-columns: 1fr 1fr; }
  .sw-map { height: 420px; }
  .sw-three { grid-template-columns: repeat(3, 1fr); }
  .sw-why { grid-template-columns: 1.3fr 1fr; align-items: start; }
}
.sw-card .oc-pill { display: inline-block; min-height: 0; height: auto; padding: 2px 9px; margin: 2px 0 6px; font-size: 11.5px; line-height: 1.5; border-radius: 999px; cursor: default; background: rgba(255,255,255,.04); }
.sw-card .oc-pill--ok { color: var(--oc-good); border-color: var(--oc-good); }
.sw-card .oc-pill--warn { color: var(--oc-fair); border-color: var(--oc-fair); }
.sw-card .oc-pill--off { color: var(--oc-bad); border-color: var(--oc-bad); }
.sw-card { display: flex; flex-direction: column; gap: 4px; }
.sw-card .sw-h3 { margin: 0; }
.sw-reading { font-size: 20px; font-weight: 750; font-variant-numeric: tabular-nums; margin: 0; }
.sw-part { font-size: 13px; line-height: 1.5; }
.sw-total { font-size: 12px; color: var(--oc-muted); margin: 0; }
