/* ocean-hub.css: the /ocean activity hub (Plan 2 Task 4, 2026-11-03). Loaded only by templates/ocean/hub.html.
   Everything is scoped under .oh (the hub root, which is also .oc for the shared card styles in ocean.css).
   Measured = solid sky (--mv-obs), predicted = dashed violet (--mv-fcst), as on every chart. */

.oh { --mv-obs: #38bdf8; --mv-fcst: #f472b6; --mv-good: #22c55e; --mv-warn: #eab308; --mv-bad: #ef4444;
      --oh-card: rgba(255,255,255,.025); --oh-amber: #f59e0b; }

/* ── tabs ─────────────────────────────────────────────────────────────── */
.oh-tabs { display: flex; gap: 0.375rem; overflow-x: auto; scrollbar-width: none; margin: 0.375rem 0 0.75rem; padding: 0.375rem 0;
           position: sticky; top: 0; z-index: 6; background: linear-gradient(#0c0a09 75%, rgba(12,10,9,0)); }
.oh-tabs::-webkit-scrollbar { display: none; }
.oh-tab { --tc: #38bdf8; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4375rem; min-height: 2.75rem; padding: 0 1rem 0 0.8125rem;
          border-radius: 999px; border: 2px solid color-mix(in srgb, var(--tc) 70%, transparent);
          background: color-mix(in srgb, var(--tc) 18%, #0c0a09); color: var(--tc); font-size: 0.9375rem; font-weight: 750;
          text-decoration: none; white-space: nowrap; transition: background .15s, transform .15s; }
/* one colour per tab (George 2026-11-04: "much more colorful and obvious") */
.oh-tab[data-tab="ocean"] { --tc: #38bdf8; }
.oh-tab[data-tab="dive"] { --tc: #2dd4bf; }
.oh-tab[data-tab="surf"] { --tc: #60a5fa; }
.oh-tab[data-tab="tidepools"] { --tc: #fb923c; }
.oh-tab[data-tab="whales"] { --tc: #c084fc; }
.oh-tab-i { flex: none; }
.oh-tab:hover { background: color-mix(in srgb, var(--tc) 30%, #0c0a09); }
.oh-tab[aria-current="page"] { background: var(--tc); border-color: var(--tc); color: #0b1220;
                               box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 30%, transparent), 0 4px 14px rgba(0,0,0,.45); }
.oh-tab:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ── sections and blocks ──────────────────────────────────────────────── */
.oh-sec { margin: 0 0 0.875rem; min-width: 0; }
.oh-sec[hidden] { display: none; }
.oh-loading { font-size: 0.8125rem; color: var(--oc-muted); margin: 0; padding: 0.625rem 0; }
.oh-na { font-size: 0.8125rem; line-height: 1.5; color: #fcd34d; margin: 0.375rem 0; }
.oh-cache-note { display: inline-block; font-size: 12.5px; line-height: 1.45; margin: 0.375rem 0 0; padding: 0.3125rem 0.625rem; border-radius: 0.625rem;
                 border: 1px solid rgba(245,158,11,.5); background: rgba(245,158,11,.1); color: #fcd34d; }
.oh-blk { border: 1px solid var(--oc-line); border-radius: 1rem; padding: 0.75rem 0.875rem; background: var(--oh-card); min-width: 0; }
.oh-blk-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem; margin: 0 0 0.5rem; }
.oh-h2 { font-size: 1rem; font-weight: 750; line-height: 1.3; margin: 0; }
.oh-sec > .oh-h2 { margin: 0 0 0.5rem; }
.oh-h3 { font-size: 0.875rem; font-weight: 700; margin: 0.625rem 0 0.25rem; }
.oh-say { font-size: 13.5px; line-height: 1.55; margin: 0.5rem 0 0; }
.oh-src { font-size: 0.75rem; line-height: 1.5; color: var(--oc-muted); margin: 0.5rem 0 0; }
.oh-src a, .oh-linklist a, .oh-alerts a { color: var(--oc-sea); }
.oh-note, .oh-cap { font-size: 0.75rem; line-height: 1.45; color: var(--oc-muted); margin: 0.25rem 0 0; }

/* status pills (age words): the dialog's radio pills in ocean.css keep their own look */
.oh-sec .oc-pill { display: inline-flex; align-items: center; min-height: 0; padding: 0.125rem 0.5625rem; border-radius: 999px; font-size: 11.5px;
                   line-height: 1.5; border: 1px solid currentColor; background: rgba(255,255,255,.04); color: var(--oc-muted);
                   text-decoration: none; white-space: nowrap; cursor: default; }
.oh-sec a.oc-pill { cursor: pointer; }
.oh-sec .oc-pill--ok, .oh-sec .oc-pill--good { color: var(--mv-good); }
.oh-sec .oc-pill--warn { color: var(--mv-warn); }
.oh-sec .oc-pill--bad { color: var(--mv-bad); }
.oh-sec .oc-pill--off { color: #a8a29e; }

/* legend chip */
.ok-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.375rem; font-size: 12.5px; color: var(--oc-muted); margin: 0 0 0.375rem; }
.ok-sw { flex: 0 0 auto; vertical-align: middle; }

/* ── now strip: a row of dials, scrolls sideways on phones ─────────────── */
.oh-strip { display: flex; gap: 0.625rem; overflow-x: auto; scroll-snap-type: x proximity; padding: 0.125rem 0 0.375rem; margin: 0.375rem 0 0; }
.oh-dial { flex: 0 0 10.5rem; scroll-snap-align: start; border: 1px solid var(--oc-line); border-radius: 0.875rem; padding: 0.5625rem 0.625rem;
           background: rgba(255,255,255,.02); min-width: 0; }
.oh-dial-h { font-size: 0.6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--oc-muted); margin: 0 0 0.25rem; line-height: 1.35; }
.oh-dial .mv { display: block; margin: 0.375rem auto 0; max-width: 100%; }
.oh-dial-l { font-size: 0.75rem; line-height: 1.4; margin: 0.25rem 0 0; }
.oh-dial-r { color: var(--oc-muted); }
.oh-big { font-size: 0.8125rem; margin: 0.5rem 0 0; }
.oh-big b { font-size: 1.625rem; color: var(--mv-obs); }
.oh-dial .om-card { min-height: 0; }

/* ── the call ─────────────────────────────────────────────────────────── */
.oh-table { border-collapse: collapse; font-size: 0.8125rem; width: 100%; }
.oh-table th, .oh-table td { text-align: left; padding: 0.3125rem 0.375rem 0.3125rem 0; border-top: 1px solid var(--oc-line); vertical-align: middle; }
.oh-table th[scope="col"] { color: var(--oc-muted); font-weight: 600; font-size: 0.75rem; }
.oh-grid { overflow-x: auto; margin: 0.5rem 0 0; }
.oh-alpha { border: 1px dashed rgba(167,139,250,.45); border-radius: 0.75rem; padding: 0.5rem 0.625rem; margin: 0 0 0.625rem; }
.oh-alpha .oh-h3 { margin-top: 0; }
.oh-alpha-note { font-size: 12.5px; color: #fcd34d; margin: 0 0 0.375rem; }
.oh-alpha-more summary { cursor: pointer; font-size: 12.5px; color: var(--oc-sea); }
.oh-alpha-more p { font-size: 12.5px; line-height: 1.55; margin: 0.375rem 0 0; }
.oh-flag { font-size: 12.5px; color: #fcd34d; margin: 0.375rem 0 0; }
.oh-or { font-size: 0.6875rem; color: var(--oc-muted); }
/* both forecasters per side, stacked on phones, the two sides side by side when there is room (2026-11-04) */
.oh-alpha-sides { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(21.25rem, 100%), 1fr)); gap: 0.25rem 1rem; margin: 0.375rem 0 0; }
.oh-alpha-cap { caption-side: top; text-align: left; font-weight: 650; font-size: 13.5px; padding: 0.375rem 0 0.125rem; }
.oh-alpha-t .oh-fc-name th { font-size: 12.5px; padding-bottom: 0; }
.oh-alpha-t .oh-fc-calls td { border-top: 0; padding-top: 0.1875rem; }
.oh-alpha-t .oh-fc-score td { border-top: 0; padding-top: 0; font-size: 12.5px; line-height: 1.5; }
.oh-fc-y, .oh-fc-run { display: block; }
.oh-fc-run { color: var(--oc-muted); }
/* AM / PM calls stacked in each day cell, so three day columns still fit a 390 px phone (BETA, 2026-11-17) */
.oh-alpha-key { font-size: 12.5px; color: var(--oc-muted); margin: 0.5rem 0 0; }
.oh-alpha-t .oh-fc-calls td { padding-right: 0.25rem; }
.oh-fc-call { display: flex; flex-wrap: wrap; align-items: center; gap: 0.125rem 0.25rem; line-height: 1.5; }
.oh-fc-call + .oh-fc-call { margin-top: 0.125rem; }
.oh-per { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: var(--oc-muted); min-width: 1.25rem; }
.oh-fc-call .oc-pill { font-size: 0.6875rem; padding: 1px 0.375rem; }
.oh-nocall { font-size: 11.5px; color: var(--oc-muted); }
.oh-alpha-names { margin: 0.375rem 0 0; padding-left: 1.125rem; font-size: 12.5px; line-height: 1.55; }

/* ── forecast against the buoy ────────────────────────────────────────── */
.oh-fc-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin: 0.375rem 0; }
.oh-chip { border: 1px solid var(--oc-line); background: rgba(255,255,255,.03); color: var(--oc-ink); border-radius: 999px;
           min-height: 2.25rem; padding: 0 0.75rem; font-size: 12.5px; cursor: pointer; }
.oh-chip[aria-pressed="true"] { border-color: var(--oc-sea); color: var(--oc-sea); background: rgba(56,189,248,.1); }
.oh-fc-graph .mv { display: block; width: 100%; height: auto; }
.oh-fc-slide { display: flex; align-items: center; gap: 0.5rem; margin: 0.5rem 0 0; }
.oh-fc-slide input[type="range"] { flex: 1 1 auto; min-width: 0; accent-color: var(--mv-fcst); }
.oh-fc-step { flex: 0 0 auto; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--oc-line); background: rgba(255,255,255,.03);
              color: var(--oc-ink); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.oh-fc-when { font-size: 12.5px; color: var(--mv-fcst); margin: 0.25rem 0 0; }
.oh-fc-map { height: 18.75rem; border-radius: 0.75rem; overflow: hidden; margin: 0.5rem 0 0; border: 1px solid var(--oc-line); }
.oh-fc-map[hidden] { display: none; }
.oh-fc-marks { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; gap: 0.25rem; font-size: 12.5px; }
.oh-mk-obs { color: var(--mv-obs); font-weight: 700; }
/* fixed slots: the value and its words keep their place while the slider runs (George 2026-11-06) */
/* table-like: buoy | value | what it is | · | the other value; every row and every slider step keeps its columns */
.oh-mk { display: grid; grid-template-columns: 5.5ch 6.5ch 21ch 1.5ch minmax(0, auto); align-items: baseline;
  column-gap: 0.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oh-mk-v { text-align: right; font-weight: 700; }
.oh-mk-v.oh-mk-fcst { font-style: normal; }      /* the forecast number: pink, upright, same weight as measured */
.oh-mk-sep { text-align: center; color: var(--oc-muted); }
.oh-fc-marks .oh-mk > :last-child { overflow: hidden; text-overflow: ellipsis; }
/* On a phone the model half of a row ("9.0 ft model, Wed 11 AM") was cut off with an ellipsis (site audit 2026-11-18,
   ocean #51a): there it goes on its own line under the measured half, in full. */
@media (max-width: 560px) {
  .oh-fc-marks .oh-mk { grid-template-columns: 5.5ch 6.5ch minmax(0, 1fr); white-space: normal; }
  .oh-fc-marks .oh-mk-sep { display: none; }
  .oh-fc-marks .oh-mk > :last-child { grid-column: 2 / -1; overflow: visible; text-overflow: clip; }
}
/* No underline: on text it reads as a link (George 2026-11-04). Violet italic still means model. */
.oh-mk-fcst { color: var(--mv-fcst); font-style: italic; }
.oh-mk-stale { color: var(--mv-warn); }
.oh-mk-off, .oh-mk-none, .oh-mk-age { color: var(--oc-muted); }
.oh-fc-mk { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.oh-fc-mk:focus-visible .oh-mk { outline: 2px solid var(--oc-sea); outline-offset: 1px; }
.oh-fc-mk:hover .oh-mk { border-color: var(--oc-sea); }
.oh-fc-mk .oh-mk { font-size: 0.6875rem; line-height: 1.3; padding: 0.1875rem 0.375rem; border-radius: 0.5rem; background: rgba(12,10,9,.82);
                   border: 1px solid var(--oc-line); max-width: none;
                   grid-template-columns: 5.5ch 6.5ch 19ch; row-gap: 1px; }
/* on the map: two fixed rows, buoy | value | status, then the other value under them */
.oh-fc-mk .oh-mk-sep { display: none; }
.oh-fc-mk .oh-mk > :last-child { grid-column: 2 / 4; }
.oh-fc-beaches { margin: 0.625rem 0 0; }
.oh-fc-beaches summary { cursor: pointer; font-size: 0.8125rem; color: var(--oc-sea); }
.oh-beaches { list-style: none; padding: 0; margin: 0.375rem 0 0; display: grid; gap: 0.25rem; }
.oh-beach { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.625rem; font-size: 12.5px; }
.oh-beach-n { flex: 0 0 9.5rem; }
.oh-beach-pk { color: var(--mv-fcst); }
.oh-fc-srf { margin: 0.625rem 0 0; }
.oh-fc-tide .mv { display: block; width: 100%; height: auto; }
.oh-fc-lows { font-size: 12.5px; margin: 0.375rem 0 0; }

/* ── spots: folded rows ───────────────────────────────────────────────── */
.oh-spot { border-top: 1px solid var(--oc-line); padding: 0.5rem 0; scroll-margin-top: 4rem; }
.oh-spot-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem; }
.oh-spot-n { flex: 1 1 9rem; font-size: 14.5px; font-weight: 700; margin: 0; min-width: 0; }
.oh-minis { display: flex; flex-wrap: wrap; gap: 0.375rem; }
/* Readable forecast chips (George 2026-11-04): name, value, "forecast"; dashed = model. */
.oh-mini { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 4rem; padding: 0.25rem 0.5625rem 0.3125rem; line-height: 1.15; cursor: help; position: relative; }
.oh-mini--fcst { border: 1px dashed rgba(167,139,250,.65); border-radius: 0.625rem; background: rgba(167,139,250,.08); }
.oh-mini-k { font-size: 11.5px; font-weight: 650; color: var(--oc-muted); }
.oh-mini-v { font-size: 1rem; font-weight: 800; color: var(--oc-ink); white-space: nowrap; }
.oh-mini-m { font-size: 10.5px; color: #c4b5fd; }
/* Measured (solid) chip: the number a dive rating is based on, when that is a live buoy. */
.oh-mini--meas { border: 1px solid rgba(56,189,248,.7); border-radius: 0.625rem; background: rgba(56,189,248,.1); }
.oh-mini--meas .oh-mini-m { color: #7dd3fc; }
/* Columns line up from row to row (Randall via George 2026-11-04): fixed name and rating widths on wide screens. */
@media (min-width: 720px) {
  .oh-spot-n { flex: 0 0 15rem; }
  .oh-spot-row > .oc-pill { flex: 0 0 auto; min-width: 10.5rem; justify-content: flex-start; }
  .oh-minis { flex: 1 1 auto; }
}
.oh-tspark { display: inline-flex; flex-direction: column; cursor: help; position: relative; }
.oh-mini[data-tip]:hover::after, .oh-mini[data-tip]:focus::after, .oh-tspark[data-tip]:hover::after, .oh-tspark[data-tip]:focus::after {
  content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 0.375rem); z-index: 40; width: max-content; max-width: min(15rem, 70vw);
  white-space: normal; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: #fff; background: #1b2430;
  border: 1px solid var(--oc-line); border-radius: 0.5rem; padding: 0.375rem 0.5625rem; box-shadow: 0 6px 18px rgba(0,0,0,.45); pointer-events: none; }
.oh-mini:focus, .oh-tspark:focus { outline: 2px solid var(--oc-sea); outline-offset: 2px; }
.oh-tspark { width: 6rem; }
.oh-cams { display: inline-flex; gap: 0.25rem; }
.oh-cam { text-decoration: none; font-size: 1.3125rem; min-width: 2.5rem; min-height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; }
.oh-spot-more { min-height: 2.25rem; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--oc-line); background: rgba(255,255,255,.03);
                color: var(--oc-ink); font-size: 12.5px; cursor: pointer; }
.oh-spot-more[aria-expanded="true"] { border-color: var(--oc-sea); color: var(--oc-sea); }
.oh-shared { font-size: 11.5px; color: var(--oc-muted); margin: 0.125rem 0 0; }
.oh-spot-card { margin: 0.5rem 0 0; }
.oh-spot-card[hidden] { display: none; }
.oh-ask { margin: 0.625rem 0 0; padding: 0.625rem 0.75rem; border: 1px solid var(--oc-line, rgba(127,127,127,.3)); border-radius: 0.5rem; }
.oh-ask-h { margin: 0 0 0.25rem; font-size: 0.875rem; }
.oh-bs-h { margin: 0.625rem 0 0.25rem; font-size: 0.8125rem; }
.oh-bs { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 1px 0.5rem; border-radius: 0.625rem; border: 1px solid currentColor; }
.oh-bs--closed { color: #ef4444; } .oh-bs--warn { color: #f59e0b; } .oh-bs--ok { color: #22c55e; } .oh-bs--na { color: var(--oc-muted); }
.oh-spot-row .oh-bs { margin: 0 0.375rem; }
.oh-bs-now, .oh-bs-item, .oh-bs-usual, .oh-bs-check { font-size: 0.8125rem; margin: 0 0 0.375rem; }
.oh-bs-d, .oh-bs-when { color: var(--oc-muted); font-size: 0.75rem; }
.oh-bs-ups { margin: 0 0 0.375rem; padding-left: 1.25rem; font-size: 0.8125rem; }
.oh-bs-ups li { margin: 0 0 0.1875rem; }
.oh-bs-date { font-weight: 600; }
.oh-ask-ai-part { margin-top: 0.625rem; padding-top: 0.5rem; border-top: 1px solid var(--oc-line, rgba(127,127,127,.3)); }
.oh-ask-why, .oh-ask-tip { font-size: 0.75rem; color: var(--oc-muted); margin: 0 0 0.375rem; }
.oh-ask-tip { margin: 0.375rem 0 0; }
.oh-ask-q { white-space: pre-wrap; word-break: break-word; font: inherit; font-size: 0.8125rem; margin: 0 0 0.5rem; padding: 0.5rem; border-radius: 0.375rem; background: rgba(127,127,127,.1); user-select: all; }
.oh-ask-row { display: flex; flex-wrap: wrap; gap: 0.375rem 0.625rem; align-items: center; font-size: 0.8125rem; }
.oh-ask-copy { font: inherit; font-size: 0.8125rem; padding: 0.25rem 0.75rem; border-radius: 0.375rem; cursor: pointer; color: inherit; background: rgba(56,189,248,.15); border: 1px solid var(--mv-accent, #38bdf8); }

/* ── alerts (an NWS alert is a forecast: amber) ───────────────────────── */
.oh-alerts-top .oh-blk { border-color: rgba(245,158,11,.55); background: rgba(245,158,11,.07); }
.oh-alert-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.375rem; }
.oh-alert { font-size: 13.5px; line-height: 1.45; }
.oh-alert b { color: #fcd34d; font-weight: 650; }
.oh-alert-area { display: block; font-size: 0.75rem; color: var(--oc-muted); }

/* ── learn ────────────────────────────────────────────────────────────── */
.oh-learn { border-top: 1px solid var(--oc-line); padding: 0.5rem 0; }
.oh-learn summary { cursor: pointer; font-size: 14.5px; font-weight: 650; min-height: 2rem; display: flex; align-items: center; }
.oh-learn-b { padding: 0.375rem 0 0; font-size: 0.875rem; line-height: 1.6; }
/* the copy moved from /swell, /waves and /sea-temp keeps its own classes; these mirror swell.css / waves.css / sea-temp.css */
.oh-learn-b .sw-h3 { font-size: 1rem; font-weight: 750; margin: 0 0 0.375rem; }
.oh-learn-b .sw-three { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.oh-learn-b .sw-num p { font-size: 13.5px; line-height: 1.55; margin: 0.5rem 0 0; }
.oh-learn-b .sw-live { font-size: 0.875rem; line-height: 1.6; }
.oh-learn-b .sw-live b { color: var(--mv-obs); font-variant-numeric: tabular-nums; }
.oh-learn-b .sw-mini { display: block; width: 7.5rem; height: 3.125rem; color: var(--oc-sea); margin-top: 0.5rem; }
.oh-learn-b .sw-src { font-size: 0.75rem; line-height: 1.5; color: var(--oc-muted); margin: 0.5rem 0 0; }
.oh-learn-b .sw-why { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.oh-learn-b .sw-list { margin: 0 0 0.75rem; padding-left: 1.125rem; }
.oh-learn-b .sw-list li { margin-bottom: 0.5rem; }
.oh-learn-b .sw-ladder { border-collapse: collapse; font-size: 0.8125rem; margin: 0.375rem 0 0; width: 100%; max-width: 26.25rem; }
.oh-learn-b .sw-ladder caption { text-align: left; color: var(--oc-muted); font-size: 0.75rem; padding-bottom: 0.25rem; }
.oh-learn-b .sw-ladder th, .oh-learn-b .sw-ladder td { text-align: left; padding: 0.3125rem 0.5rem 0.3125rem 0; border-top: 1px solid var(--oc-line); }
.oh-learn-b .sw-why-fig { margin: 0.75rem 0 0; }
.oh-learn-b .sw-why-fig--wide { max-width: 26.25rem; }
.oh-learn-b .sw-diagram { display: block; width: 100%; height: auto; max-width: 26.25rem; border: 1px solid var(--oc-line); border-radius: 0.875rem; color: var(--oc-sea); }
.oh-learn-b .sw-sea { fill: rgba(56,189,248,.08); }
.oh-learn-b .sw-land { fill: rgba(255,255,255,.07); }
.oh-learn-b .sw-coast { fill: none; stroke: var(--oc-muted); stroke-width: 2; stroke-linejoin: round; }
.oh-learn-b .sw-buoy circle { fill: var(--oc-sea); stroke: #0c0a09; stroke-width: 1.5; }
.oh-learn-b .sw-buoy text, .oh-learn-b .sw-place text, .oh-learn-b .sw-note { font-size: 0.6875rem; fill: var(--oc-ink); }
.oh-learn-b .sw-place text { fill: var(--oc-muted); }
.oh-learn-b .sw-arrows line { stroke: var(--oc-sea); stroke-width: 3; stroke-linecap: round; }
.oh-learn-b .st-why-grid, .oh-learn-b .wv-why-grid { display: grid; gap: 0.75rem; }
.oh-learn-b .st-why-grid p, .oh-learn-b .wv-why-card p { margin: 0; color: var(--oc-muted); }
.oh-learn-b .wv-why-lead p { margin: 0; }
.oh-learn-b .wv-why-card { padding: 0.75rem 0.875rem; border-radius: 0.875rem; border: 1px solid var(--oc-line); background: rgba(255,255,255,.02); }
.oh-learn-b .wv-why-card h3 { margin: 0 0 0.375rem; font-size: 0.9375rem; font-weight: 750; }
.oh-learn-b .wv-why-card--warn { border-color: rgba(251,191,36,.35); }
.oh-learn-b .wv-why-card--warn h3 { color: #fcd34d; }

/* ── links ────────────────────────────────────────────────────────────── */
.oh-linklist { margin: 0.375rem 0 0; padding-left: 1.125rem; font-size: 0.875rem; line-height: 1.6; }

@media (min-width: 760px) {
  .oh-dial { flex-basis: 11.25rem; }
  .oh-fc-map { height: 26.25rem; }
  .oh-learn-b .sw-three { grid-template-columns: repeat(3, 1fr); }
  .oh-learn-b .sw-why { grid-template-columns: 1.3fr 1fr; align-items: start; }
  .oh-learn-b .st-why-grid, .oh-learn-b .wv-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .oh-strip { scroll-behavior: auto; } }

/* ── tab extras (Plan 2 Task 5): the blocks the old passion pages had ─────────────────── */
.oh-extras { display: grid; gap: 0.75rem; }
.oh-ex { display: grid; gap: 0.75rem; min-width: 0; }
.oh-blk--ex > .oh-loading { padding: 0.25rem 0; }
.oh-reports-list, .oh-lows-list, .oh-cams-list, .oh-rules-list { margin: 0.25rem 0 0; padding-left: 1.125rem; font-size: 0.875rem; line-height: 1.6; }
.oh-low--minus { color: var(--mv-good); }
.oh-by { font-size: 0.75rem; color: var(--oc-muted); }
.oh-stale { color: #fcd34d; }
.oh-ex-mpamap { height: 18.75rem; border: 1px solid var(--oc-line); border-radius: 0.875rem; overflow: hidden; background: #0b1220; margin: 0.625rem 0; }
.oh-ex-mpamap[hidden] { display: none; }
.oh-ex .pp-map { margin: 0.5rem 0; }
.oh-ex .pp-actions { margin: 0.375rem 0; }
.oh-details { margin: 0.625rem 0 0; }
.oh-details > summary { cursor: pointer; font-size: 0.875rem; font-weight: 650; min-height: 2rem; display: flex; align-items: center; }
.oh-alpha-both { font-size: 0.8125rem; line-height: 1.5; color: var(--oc-ink); margin: 0.5rem 0 0; }
.oh-alpha-h2h { font-size: 0.875rem; line-height: 1.5; color: var(--oc-ink); margin: 0.375rem 0 0.5rem; }
.oh-alpha-miss-why { color: var(--oc-muted); }
.oh-conf { font-size: 1em; line-height: 1; cursor: help; }
.oh-conf--high { color: #4ade80; }
.oh-conf--medium { color: #facc15; }
.oh-conf--low { color: #f87171; }
.oh-outlook-side { font-size: 0.8125rem; font-weight: 650; color: var(--oc-ink); margin: 0.5rem 0 0.125rem; }
.oh-outlook-list { margin: 0; padding-left: 1.125rem; font-size: 0.8125rem; line-height: 1.5; color: var(--oc-ink); }
.oh-outlook-why { color: var(--oc-muted); }
/* Activity name + icon on every rating (George 2026-11-04). */
.oh-act { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 12.5px; font-weight: 650; color: var(--oc-muted); white-space: nowrap; }
.oh-act-i { flex: none; vertical-align: -0.125rem; margin-right: 0.1875rem; }
.oc-pill .oh-act-i { margin-right: 0.25rem; }
.oh-spots-h { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem 0.625rem; }
.oh-spots-h .oh-act { font-size: 0.875rem; color: var(--oc-ink); }
/* Tap or hover an icon for what it means (George 2026-11-04). Focusable tags show it on tap. */
.oh-act[data-tip], .oh-cam[data-tip] { position: relative; cursor: help; }
.oh-act[data-tip]:hover::after, .oh-act[data-tip]:focus::after, .oh-cam[data-tip]:hover::after, .oh-cam[data-tip]:focus-visible::after {
  content: attr(data-tip); position: absolute; left: 0; top: calc(100% + 0.375rem); z-index: 40; width: max-content; max-width: min(15rem, 70vw);
  white-space: normal; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: #fff; background: #1b2430;
  border: 1px solid var(--oc-line); border-radius: 0.5rem; padding: 0.375rem 0.5625rem; box-shadow: 0 6px 18px rgba(0,0,0,.45); pointer-events: none; }
.oh-act:focus { outline: 2px solid var(--oc-sea); outline-offset: 2px; border-radius: 0.375rem; }
/* Phones: all three mornings fit without sideways scroll (live data first, 2026-11-04). */
@media (max-width: 560px) {
  .oh-grid-t { table-layout: fixed; }
  .oh-grid-t th[scope="row"] { width: 36%; font-size: 0.8125rem; padding-right: 0.25rem; overflow-wrap: anywhere; }
  .oh-grid-t td { padding-right: 0.125rem; }
  .oh-grid-t .oc-pill { min-height: 2.125rem; padding: 0 0.4375rem; font-size: 0.75rem; }
  .oh-grid-t .oh-act { font-size: 11.5px; }
  .oh-grid-t .oh-act-i { width: 1rem; height: 1rem; }
}
/* Phones: all five tabs visible at once, icon over the name, no sideways scroll (2026-11-04). */
@media (max-width: 560px) {
  .oh-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.3125rem; overflow: visible; }
  .oh-tab { flex-direction: column; justify-content: center; gap: 0.1875rem; min-height: 3.625rem; padding: 0.375rem 0.125rem; border-radius: 0.875rem;
            font-size: 0.75rem; line-height: 1.1; text-align: center; white-space: normal; }
  .oh-tab-i { width: 1.375rem; height: 1.375rem; }
}
/* The now strip: each card keeps its own height (one long card no longer stretches the row), and
   the sea-temperature card is wide enough for its warmest/coldest pair (George 2026-11-04). */
.oh-strip { align-items: flex-start; }
.oh-dial:has(.om-card) { flex-basis: 15.625rem; }
.oh-dial .om-pair dd, .oh-dial .om-pair dt { overflow-wrap: normal; word-break: normal; }
