/* Point data panels share the reference's quiet blue/white chart surface. */
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-panel-tabs .point-data-panel {
  --tide-chart-bg: #f9fbff; --tide-chart-axis: #526681; --tide-chart-muted: #71829b;
  --tide-chart-line: #5686ff; --tide-chart-grid: #e5ebf5; --tide-chart-zero: #cad5e8;
  --tide-chart-event-ink: #17334e; color: #17334e;
}
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-body { padding: 0; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-chart { padding: 8px 3px 0; border: 1px solid #dce6f5; border-radius: 10px; background: #f9fbff; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-readout { color: #526681; font-size: 10px; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-readout strong { color: #17334e; font-size: 13px; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-readout small { color: #71829b; font-size: 9px; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-line { stroke-width: 1.6; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-area { fill-opacity: .1; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-grid { stroke-dasharray: none; opacity: .6; stroke-width: .5; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-zero { stroke-width: .8; }
.point-tide-time-band { fill: #5686ff; fill-opacity: .045; pointer-events: none; }
.point-tide-event-guide { stroke: #82a6ee; stroke-width: .6; opacity: .5; pointer-events: none; }
.point-tide-event-height { font-weight: 500; }
.point-tide-chart-caption { display: block; padding: 0 8px 5px; color: #71829b; font-size: 8px; line-height: 1.3; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-probe-line { stroke: #516988; stroke-width: .7; stroke-dasharray: none; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-probe-dot { stroke-width: 1.5; r: 3; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .point-tide-events { display: none; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-scroll { border: 1px solid #dce6f5; border-radius: 10px; background: #f9fbff; scrollbar-color: #bdcdec #edf3fc; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table { --forecast-table-bg: #f9fbff; --forecast-table-ink: #17334e; --forecast-table-muted: #71829b; --forecast-label-width: 88px; --forecast-cell-width: 34px; grid-template-rows: 34px repeat(6,22px); }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel :is(.forecast-table-label,.forecast-table-hour) { color: #526681; background: #edf3ff; border-color: #dce6f5; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-cell { border-color: #e5ebf5; font-size: 11px; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-cell.is-current { box-shadow: inset 0 2px #5686ff; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-scroll { max-height: none; overflow-x: auto; overflow-y: hidden; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-hour { gap: 2px; line-height: 12px; padding: 3px 0; overflow: hidden; font-size: 9px; white-space: nowrap; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-label { padding: 0 5px; font-size: 9px; line-height: 10px; white-space: normal; overflow: hidden; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-corner { z-index: 4; }
html[data-design-preview] :is(.wave-point-popup,.live-center-popup) .point-data-panel .forecast-table-cell.is-missing { color: #71829b !important; }
/* One point-summary design for PC and phone; no blur over the animated map. */
html[data-design-preview] .wave-point-popup:has(.mobile-point-sheet) .leaflet-popup-content-wrapper { background: transparent; border: 0; box-shadow: none; border-radius: 16px; }
html[data-design-preview] .wave-point-popup .mobile-point-sheet { position: relative; padding: 14px 14px 0; border: 1px solid #c6edf22e; border-radius: 16px; color: #f4fafc; background: linear-gradient(130deg, #071b26e6, #061f2bcc); box-shadow: inset 0 1px 0 #ffffff12, 0 8px 24px #001a3026; }
html[data-design-preview] .mobile-point-sheet .wave-detail-close { position: absolute; top: 2px; right: 2px; margin: 0; width: 44px; height: 44px; border: 0; color: #e5f3f8; background: transparent; font-size: 23px; }
html[data-design-preview] .mobile-sea-summary { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 7px; padding-right: 28px; font-size: 14px; line-height: 1.5; font-variant-numeric: tabular-nums; }
html[data-design-preview] .mobile-sea-summary > strong { color: #fff; font-size: 14px; font-weight: 800; }
html[data-design-preview] .mobile-sea-summary > b { color: #fff; font-size: 17px; font-weight: 800; }
html[data-design-preview] .mobile-sea-energy { color: #d1e4ed; font-size: 12px; }
html[data-design-preview] .mobile-point-sheet .wave-point-wind { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 3px 28px 10px 0; color: #e1eef3; font-size: 13px; }
html[data-design-preview] .mobile-point-wind-arrow { width: 17px; height: 17px; fill: currentColor; }
html[data-design-preview] .mobile-components { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 10px; padding: 11px; border: 1px solid #ffffff0a; border-radius: 10px; background: #020d16a6; }
html[data-design-preview] .mobile-components[hidden] { display: none; }
html[data-design-preview] .mobile-component { display: flex; align-items: center; gap: 4px; min-width: 0; color: #f3f8fc; white-space: nowrap; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; }
html[data-design-preview] .mobile-component > i { width: 10px; height: 10px; flex: 0 0 10px; margin-right: 2px; border-radius: 50%; background: var(--component-color); }
html[data-design-preview] .mobile-component-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
html[data-design-preview] .mobile-point-sheet .wave-point-more { margin: 2px 0 0; border: 0; }
html[data-design-preview] .mobile-point-sheet .wave-point-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; color: #cfdfe8; font-size: 11px; list-style: none; cursor: pointer; }
html[data-design-preview] .mobile-point-sheet .wave-point-more > summary::-webkit-details-marker { display: none; }
html[data-design-preview] .mobile-point-details-label { color: #e1f8fc; font-weight: 700; }
html[data-design-preview] .mobile-point-sheet .design-components { color: #e1eef5; --ui-muted: #abc5d1; --ui-border: #ffffff26; }
html[data-design-preview] .mobile-point-sheet .design-components :is(h3,strong) { color: #f4fafc; }
html[data-design-preview] .mobile-point-sheet .wave-point-advanced > summary,
html[data-design-preview] .mobile-point-sheet .point-tide-disclosure > summary { color: #e1eef5; background: #ffffff0a; border-color: #ffffff26; }
html[data-design-preview] .wave-point-popup:has(.mobile-point-sheet) .leaflet-popup-tip { background: #102b3b; }
html[data-design-preview] .mobile-sea-summary[hidden] { display: none; }
html[data-design-preview] .mobile-point-coordinates { margin: 8px 0 6px; color: #b6d0dd; font-size: 10px; }
html[data-design-preview] .point-panel-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px 8px; padding-bottom: 8px; }
html[data-design-preview] .point-panel-tabs > details { display: contents; }
html[data-design-preview] .point-panel-tabs > details > summary { grid-row: 1; display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; padding: 6px 10px; border: 1px solid #b5e8ef38; border-radius: 10px; color: #e1f5fa; background: linear-gradient(130deg,#ffffff0d,#52cee90f); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }
html[data-design-preview] .point-panel-tabs > .point-tide-disclosure > summary { grid-column: 1; }
html[data-design-preview] .point-panel-tabs > .wave-point-advanced > summary { grid-column: 2; }
html[data-design-preview] .point-panel-tabs > details[open] > summary { border-color: #6cdae780; color: #a0edf5; background: #50cada1f; }
html[data-design-preview] .point-panel-tabs > details > summary::-webkit-details-marker { display: none; }
html[data-design-preview] .point-panel-tabs > details[open] > :not(summary) { grid-column: 1 / -1; min-width: 0; margin: 0; padding: 10px 0 0; }
html[data-design-preview] .point-panel-tabs .forecast-table-scroll { max-width: 100%; overflow: auto; }
html[data-design-preview] .point-panel-tabs .forecast-table { --forecast-label-width: 100px; --forecast-cell-width: 46px; }
html[data-design-preview] .point-panel-tabs .forecast-panel { background: transparent; color: #d9ebf2; }
html[data-design-preview] .point-panel-tabs .wind-forecast-provenance { margin: 0 0 8px; color: #b7d0dd; font-size: 10px; }
html[data-design-preview] .wave-point-popup:has(.mobile-point-sheet) .leaflet-popup-tip-container { display: none; }
.point-card-connector { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1390; overflow: visible; }
.point-card-connector path { fill: none; stroke: #d4f6fb; stroke-width: 1.2; stroke-dasharray: 3 4; opacity: .75; vector-effect: non-scaling-stroke; }
.buoy-card-connector path { stroke:#b4f1f5; stroke-width:1.5; stroke-dasharray:none; opacity:.95; filter:drop-shadow(0 1px 1px #092b3b); }
.buoy-card-connector circle { fill:#092b3b80; stroke:#b4f1f5; stroke-width:1.5; vector-effect:non-scaling-stroke; }
.buoy-unified-popup .leaflet-popup-tip-container { display:none; }
/* Real-time PC hover shares the point card's materials, without extra fields. */
html[data-design-preview] #map .hs-cursor-bubble { width: auto; min-width: 140px; max-width: 260px; padding: 9px 12px; border: 1px solid #b2e4ef3d; border-radius: 13px; color: #effbff; background: linear-gradient(135deg,#06202deb,#123546d9); box-shadow: inset 0 1px 0 #ffffff12,0 5px 16px #00182e29; }
html[data-design-preview] #map .hs-cursor-bubble .hs-cursor-kicker { color: #a1d2df; font-size: 9px; letter-spacing: .04em; }
html[data-design-preview] #map .hs-cursor-bubble > strong { color: #f0fbff; font-size: 16px; line-height: 1.35; }
html[data-design-preview] #map .hs-cursor-bubble > small { border: 0; margin-top: 3px; padding-top: 0; color: #c0dbe5; font-size: 10px; line-height: 1.5; white-space: pre-line; }
html[data-design-preview] #map .hs-cursor-bubble.is-wind { padding-left: 12px; min-height: 0; }
html[data-design-preview] #map .hs-cursor-windsock { display: none; }
html[data-design-preview] #map .hs-cursor-dot { display: none; }
html[data-design-preview] #map .hs-cursor-bubble:not(.is-wind) { padding-left: 12px; }
/* Observation card: compact and anchored at its real buoy, on both viewports. */
/* Match the actual popup classes: legacy light-theme :not(.wave-point-popup)
   otherwise outranks a simple buoy selector, leaving pale text on white. */
html[data-design-preview] .wave-detail-popup.buoy-summary-popup :is(.leaflet-popup-content-wrapper,.leaflet-popup-content,.leaflet-popup-tip) { color: #e7f4f8; background: #092b3b; }
html[data-design-preview] .wave-detail-popup.buoy-summary-popup .leaflet-popup-content-wrapper { border: 1px solid #a9dbe333; border-radius: 13px; background: #092b3bf2; box-shadow: 0 6px 18px #001c3533; }
html[data-design-preview] .buoy-summary-popup .leaflet-popup-content { width: min(460px,calc(100vw - 28px)) !important; max-height: var(--buoy-popup-max-height,360px) !important; min-width:0; margin:0; overflow:auto; }
html[data-design-preview] .buoy-unified-popup .wave-detail-close { position:absolute; top:5px; right:5px; width:26px; height:26px; padding:0; margin:0; float:none; border:1px solid #9fced52b; border-radius:8px; background:#ffffff08; color:#d8eef5; font-size:17px; }
.buoy-unified-card { padding:12px 14px 10px; color:#e7f4f8; }
.buoy-popup-header { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:5px 8px; padding-right:24px; }
.buoy-popup-eyebrow { grid-column:1/-1; color:#88bfce; font-size:7px; letter-spacing:.055em; }
.buoy-popup-eyebrow i { margin:0 4px; font-style:normal; opacity:.6; }
.buoy-popup-header h2 { margin:0; color:#f2fbff; font-size:17px; line-height:1.2; overflow-wrap:anywhere; }
.buoy-popup-badge { padding:3px 5px; border:1px solid #87d5d62e; border-radius:5px; color:#94ddd9; background:#62d7cc0c; font-size:7px; letter-spacing:.035em; white-space:nowrap; }
.buoy-popup-badge.is-unavailable { color:#c4cdd4; background:#ffffff08; }
.buoy-popup-metrics { display:grid; grid-template-columns:1.15fr 1fr 1fr; gap:10px; margin-top:12px; }
.buoy-popup-metrics section { display:flex; flex-direction:column; gap:3px; min-width:0; }
.buoy-popup-metrics section + section { border-left:1px solid #a8cddd20; padding-left:10px; }
.buoy-popup-metrics section > span { color:#9ebfcd; font-size:9px; }
.buoy-popup-metrics strong { color:#f0fbff; font-size:20px; line-height:1.1; font-weight:700; }
.buoy-popup-metrics .buoy-popup-height strong { font-size:26px; }
.buoy-popup-metrics .buoy-popup-direction strong { font-size:13px; padding-top:4px; white-space:nowrap; }
.buoy-popup-metrics small { color:#94b6c5; font-size:8px; }
.buoy-popup-time { display:flex; align-items:center; gap:5px; padding-bottom:8px; margin:9px 0 0; border-bottom:1px solid #9ecbdb24; color:#a6c5d1; font-size:9px; }
.buoy-popup-time svg { width:11px; height:11px; fill:none; stroke:currentColor; stroke-width:1.5; }
.buoy-inline-history { position:relative; margin-top:8px; min-height:151px; }
.buoy-history-toolbar { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:22px; }
.buoy-history-toolbar > span { color:#80acbd; font-size:7px; letter-spacing:.09em; }
.buoy-history-tabs { display:flex; gap:2px; padding:2px; border:1px solid #a6cddd20; border-radius:7px; background:#031b284d; }
.buoy-history-tabs button { min-height:20px; padding:2px 9px; border:0; border-radius:5px; background:transparent; color:#9fbfce; font-size:9px; }
.buoy-history-tabs button[aria-selected="true"] { background:#78dce6; color:#093143; }
.buoy-history-tabs button:focus-visible { outline:2px solid #a8f4fc; outline-offset:2px; }
.buoy-inline-history [hidden] { display:none !important; }
.buoy-history-metric { --history-color:#78e7ee; padding:0; margin:7px 0 0; }
.buoy-history-metric.is-period { --history-color:#a3baff; }
.buoy-history-metric h3 { display:flex; justify-content:space-between; align-items:center; margin:0; color:#95b7c6; font-size:8px; font-weight:500; }
.buoy-history-metric h3 small { font-size:9px; }
.buoy-history-metric svg { display:block; width:100%; height:104px; overflow:visible; }
.buoy-history-metric svg text { fill:#93b1c0; font-size:11px; }
.buoy-history-metric .history-grid { stroke:#bedfea1c; stroke-width:.6; }
.buoy-history-metric .history-area { fill:var(--history-color); fill-opacity:.07; stroke:none; }
.buoy-history-metric .history-line { fill:none; stroke:var(--history-color); stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.buoy-history-metric .history-dot { fill:var(--history-color); stroke:#092b3b; stroke-width:1.2; }
.buoy-history-footnote { display:flex; justify-content:space-between; flex-wrap:wrap; gap:3px 8px; margin-top:3px; color:#7e9eaf; font-size:7px; }
.buoy-history-message { padding:20px 0; margin:0; color:#a7c7d5; font-size:10px; }
.buoy-history-retry { padding:4px 8px; border:1px solid #a8d4df33; border-radius:6px; background:#173e4d; color:#d1edf5; font-size:9px; }
.buoy-history-loading { height:110px; border-radius:5px; background:repeating-linear-gradient(to top,transparent 0,transparent 31px,#a0cddd17 32px,transparent 33px); }
.buoy-inline-history[aria-busy="true"] > [role="status"] { position:absolute; inset:48px 0 auto; color:#8baebe; font-size:9px; text-align:center; }
@media (min-width: 601px) and (min-height: 521px) {
  html[data-design-preview] .wave-rose-icon .wave-rose-svg { width: 100%; height: 100%; }
  html[data-design-preview] .wave-point-popup .mobile-point-sheet { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0 8px; padding: 10px 12px 8px; border-radius: 13px; background: linear-gradient(145deg,#092b3bf2,#041924f2); }
  html[data-design-preview] .wave-point-popup :is(.mobile-sea-summary,.mobile-components,.wave-point-wind) { grid-column: 1 / -1; }
  html[data-design-preview] .wave-point-popup .mobile-point-coordinates { grid-column: 1; align-self: center; margin: 0; font-size: 9px; line-height: 1.3; }
  html[data-design-preview] .wave-point-popup .mobile-sea-summary { font-size: 12px; gap: 3px 6px; }
  html[data-design-preview] .wave-point-popup .mobile-sea-summary > strong { font-size: 12px; }
  html[data-design-preview] .wave-point-popup .mobile-sea-summary > b { font-size: 16px; }
  html[data-design-preview] .wave-point-popup .mobile-components { background: transparent; border: 0; padding: 4px 0; gap: 5px 9px; }
  html[data-design-preview] .wave-point-popup .mobile-component { font-size: 11px; }
  html[data-design-preview] .wave-point-popup .mobile-component > i { width: 7px; height: 7px; flex-basis: 7px; }
  html[data-design-preview] .wave-point-popup .wave-point-wind { font-size: 11px; margin-bottom: 4px; }
  html[data-design-preview] .wave-point-popup .mobile-point-wind-arrow { display: none; }
  html[data-design-preview] .wave-point-popup .point-panel-tabs { display: contents; }
  html[data-design-preview] .wave-point-popup .point-panel-actions { grid-column: 2; display: flex; justify-content: flex-end; gap: 6px; }
  html[data-design-preview] .wave-point-popup .point-panel-actions button { min-height: 29px; padding: 3px 12px; color: #d6edf5; border: 1px solid #9ed9e32e; border-radius: 8px; background: #153746; font-family: inherit; font-size: 11px; cursor: pointer; }
  html[data-design-preview] .wave-point-popup .point-panel-actions button[aria-expanded="true"] { color: #062d40; background: #80e4ed; }
  html[data-design-preview] .wave-point-popup .point-data-panel { grid-column: 1 / -1; min-width: 0; display: block !important; padding: 0; margin: 7px 0 0; border: 0; background: transparent; color: #d9edf3; }
  html[data-design-preview] .wave-point-popup .point-data-panel[hidden] { display: none !important; }
  html[data-design-preview] .wave-point-popup .forecast-table-scroll { max-height: 180px; background: #0b2938; border-radius: 8px; }
  html[data-design-preview] .wave-point-popup .forecast-table { --forecast-table-bg: #0b2938; --forecast-table-ink: #d9ecf3; --forecast-table-muted: #aac8d5; grid-template-rows: 32px repeat(6,24px); }
  html[data-design-preview] .wave-point-popup :is(.forecast-table-label,.forecast-table-hour) { color: #d6eaf1; background: #153c4b; font-size: 10px; }
  html[data-design-preview] .wave-point-popup .forecast-table-cell { font-size: 12px; }
  html[data-design-preview] .wave-point-popup .forecast-table-hour { position: sticky; top: 0; z-index: 2; line-height: 1; gap: 0; }
  html[data-design-preview] .wave-point-popup .point-tide-disclosure { --tide-chart-bg: #082635; --tide-chart-axis: #c2dee8; --tide-chart-muted: #9ec1cf; --tide-chart-line: #83e2e9; --tide-chart-event-ink: #f1fbfd; }
  html[data-design-preview] .wave-point-popup .point-tide-events > span { background: #103040; border-color: #315768; }
  html[data-design-preview] .wave-point-popup .point-tide-events strong { color: #f3fdff; }
}
