/* Sea (/sea). Flat, 1px lines, --nv-* tokens. Yellow (--nv-accent) means only selected or active.
   Type scale: 12 meta, 14 body, 15 row title, 20 title, 28 KPI (16 on inputs so iOS does not zoom).
   Controls: 36px visual with a 44px hit area; list rows are 44px. */

body.nv {
  --sea-water: #cfdde6;
  --sea-traffic: #c48a0e;
  --sea-zone: #56616b;
  --sea-wind: #075f87;
  --sea-current: #2f6b4a;
  /* Vessel types: blue, orange, green, purple, grey. Shape also differs, so colour is never the only cue. */
  --sea-cargo: #1d5fa6;
  --sea-tanker: #d0561a;
  --sea-bulk: #11805f;
  --sea-service: #8a4aa6;
  --sea-small: #66707a;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--nv-ink);
  background: var(--nv-bg);
  font-family: var(--nv-font);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--nv-ink); outline-offset: 2px; }
input:focus-visible { outline-offset: 0; }
[hidden] { display: none !important; }
.hidden { display: none !important; }
.visually-hidden, .sea-control-stack .lb-text.sr, .sea-control-stack .refresh-button .lb-text, .sea-control-stack .location-button .lb-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 3000; padding: 12px 16px; border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-accent); font-size: 14px; }
.skip-link:focus { top: 12px; }
.noscript-notice { padding: 16px; color: var(--nv-ink); background: var(--nv-bg); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation: none !important; } .sea-progress span { width: 100%; opacity: .4; } }

/* ---- Layout ---- */
.sea-workspace { position: relative; height: calc(100dvh - var(--nv-bar-h)); }
.map-stage { position: relative; height: 100%; overflow: hidden; background: var(--sea-water);
  --conditions-chip-top: 12px; --conditions-chip-left: 12px; --conditions-chip-width: min(330px, calc(100% - 124px)); --conditions-chip-popover-height: min(50dvh, 360px); }
#map { position: absolute; inset: 0; z-index: 250; background: var(--sea-water); }
.leaflet-container { font-family: var(--nv-font); background: var(--sea-water); }
/* Esri raster fallback only; the vector base is already muted. */
.leaflet-tile-pane { filter: saturate(.45) brightness(1.04); }
.sea-progress { position: absolute; z-index: 640; top: 0; left: 0; right: 0; height: 3px; overflow: hidden; pointer-events: none; }
.sea-progress span { display: block; width: 35%; height: 100%; background: var(--nv-ink); animation: sea-progress 1.2s ease-in-out infinite; }
@keyframes sea-progress { from { transform: translateX(-100%); } to { transform: translateX(300%); } }
.panel-toggle { position: absolute; z-index: 300; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 10px 0 12px; border: 1px solid var(--nv-ink); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 14px; font-weight: 700; box-shadow: 0 0 0 3px var(--nv-surface); transition: transform 160ms var(--nv-ease), background 160ms var(--nv-ease); }
.panel-toggle::after { content: ""; position: absolute; inset: -6px; }
.panel-toggle .nv-icon { width: 20px; height: 20px; flex: none; }
.panel-toggle-count { min-width: 24px; padding: 0 6px; border-radius: 999px; background: var(--nv-accent); color: var(--nv-accent-ink); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; font-variant-numeric: tabular-nums; }
.panel-toggle-count:empty { display: none; }
.panel-toggle-chev { width: 7px; height: 7px; margin-left: 2px; border-right: 2px solid var(--nv-muted); border-bottom: 2px solid var(--nv-muted); transform: rotate(-45deg); }
.panel-toggle:hover { background: var(--nv-surface); }
.panel-toggle:hover .panel-toggle-chev { border-color: var(--nv-ink); transform: translateX(2px) rotate(-45deg); }
.panel-toggle:active { transform: scale(.97); }
.sea-workspace.panel-closed .sea-lightning-alert { top: 64px; }

/* ---- Map controls: Layers popover, Refresh, Spot ships, My location ---- */
.sea-control-stack { position: absolute; z-index: 600; right: 16px; bottom: 20px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.sea-control-stack > button, .sea-control-stack > a {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 36px; min-height: 36px; padding: 0 10px;
  border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised);
  font-size: 14px; font-weight: 600; line-height: 1; text-decoration: none; white-space: nowrap;
}
.sea-control-stack > button::after, .sea-control-stack > a::after { content: ""; position: absolute; inset: -4px; }
.sea-control-stack > button:hover { background: var(--nv-surface); }
.sea-control-stack .nv-icon, .sea-control-stack .lb-icon { display: block; flex: none; width: 20px; height: 20px; color: inherit; }
.sea-control-stack .controls-menu-button[aria-expanded="true"] { color: var(--nv-accent-ink); background: var(--nv-accent); border-color: var(--nv-accent); }
.sea-control-stack .location-button:disabled { cursor: wait; opacity: .7; }
.location-button.is-busy .nv-icon { animation: nv-pulse .9s ease-in-out infinite; }
/* Spot ships: same flat control as the rest of the stack. */
.sea-control-stack > .spot-link:focus-visible { outline: 2px solid var(--nv-ink); outline-offset: 2px; }

.sea-layer-group { display: none; position: absolute; right: 0; bottom: calc(100% + 8px); width: 200px; max-height: var(--sea-layers-max, 420px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 6px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-raised); }
.sea-control-stack.menu-open .sea-layer-group { display: flex; flex-direction: column; gap: 2px; }
.sea-layer-group .layer-button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 10px; border: 0; border-radius: var(--nv-r); color: var(--nv-ink); background: transparent; font-size: 14px; font-weight: 600; text-align: left; }
.sea-layer-group .layer-button:hover { background: var(--nv-surface); }
.sea-layer-group .layer-button[aria-pressed="true"] { color: var(--nv-accent-ink); background: var(--nv-accent); }
.sea-layer-group .layer-button[aria-pressed="false"] .lb-icon { opacity: .6; }
.sea-layer-group .lb-icon { width: 20px; height: 20px; flex: none; }
.leaflet-bottom.leaflet-right { bottom: var(--sea-controls-bottom, 280px); right: 16px; }

/* Control tooltips (hover/focus on desktop, tap on touch); placed by JS left of the stack or the Layers popover. */
.sea-tip { position: absolute; z-index: 620; transform: translateY(-50%); display: grid; gap: 2px; width: max-content; padding: 8px 10px; border-radius: var(--nv-r); background: var(--nv-ink); color: #fff; font-size: 12px; line-height: 1.4; pointer-events: none; }
.sea-tip strong { font-size: 12px; font-weight: 700; }
.sea-tip span { opacity: .9; }

/* Leaflet bottom-left: attribution, cluster note, map key. Sits above the phone sheet. */
/* Weather lives in the panel (Local conditions) and the cluster count in its header: neither sits on the map. The lightning alert stays. */
.map-stage > .conditions-chip, .sea-cluster-note { display: none !important; }
.leaflet-bottom.leaflet-left { bottom: var(--sea-sheet-offset, 12px); max-width: calc(100% - 150px); }
.leaflet-control-attribution { font-size: 12px; line-height: 1.3; overflow-wrap: anywhere; }
.sea-cluster-note { margin: 0 0 6px 8px; padding: 6px 10px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-raised); color: var(--nv-ink); font-size: 12px; }
.sea-cluster-hint:empty { display: none; }

/* ---- Panel ---- */
.sea-panel { position: absolute; top: 12px; left: 12px; bottom: 12px; z-index: 500; width: min(380px, calc(100% - 24px)); overflow-y: auto; padding: 16px 20px 20px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-raised); font-size: 14px; line-height: 1.45; transition: transform 180ms var(--nv-ease); }
.sea-panel *, .marine-conditions { min-width: 0; }
.sea-workspace.panel-closed .sea-panel { transform: translateX(calc(-100% - 24px)); visibility: hidden; transition: transform 180ms var(--nv-ease), visibility 0s 180ms; }
.sea-workspace:not(.panel-closed) .panel-toggle { display: none; }
/* Desktop: what sits on the map clears the left panel (12px gap + 380px card + 12px). */
@media (min-width: 768px) {
  .sea-workspace:not(.panel-closed) .map-stage { --conditions-chip-left: 404px; --conditions-chip-width: min(330px, calc(100% - 404px - 124px)); }
  .sea-workspace:not(.panel-closed) .sea-lightning-alert { left: 404px; max-width: min(420px, calc(100% - 404px - 124px)); }
  .sea-workspace:not(.panel-closed) .leaflet-bottom.leaflet-left { margin-left: 392px; max-width: calc(100% - 392px - 150px); }
}
.panel-handle { display: none; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--nv-line); }
.panel-kicker { display: none; margin: 0 0 2px; color: var(--nv-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.panel-header h2 { margin: 0; color: var(--nv-ink); font-size: 20px; letter-spacing: -.02em; }
.panel-vessel-count { margin: 4px 0 0; color: var(--nv-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.panel-close { flex: none; width: 44px; height: 44px; margin: -8px -8px 0 0; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); }
.panel-close .nv-icon { width: 20px; height: 20px; }

/* Counts, hints, search and conditions only where they apply. */
.sea-panel[data-tab="arrivals"] :is(.vessel-search, .sea-freshness, .marine-conditions, #panelVesselCount, #seaClusterHint),
.sea-panel[data-tab="departures"] :is(.vessel-search, .sea-freshness, .marine-conditions, #panelVesselCount, #seaClusterHint),
.sea-panel[data-tab="trends"] :is(.vessel-search, #seaClusterHint) { display: none; }

.vessel-search { display: grid; gap: 4px; margin-top: 12px; color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.vessel-search input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 16px; }
.vessel-search input::placeholder { color: var(--nv-muted); opacity: .75; }
.vessel-search input:focus { border-color: var(--nv-ink); }

.panel-tabs { display: flex; justify-content: space-between; margin: 8px 0 0; border-bottom: 1px solid var(--nv-line); }
.panel-tabs a { position: relative; flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 6px; color: var(--nv-muted); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; }

.panel-tabs a:hover { color: var(--nv-ink); }
.panel-tabs a.active { color: var(--nv-ink); font-weight: 700; }
.panel-tabs a.active::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: -1px; height: 2px; background: var(--nv-ink); }
.panel-tabs a:focus-visible { outline-offset: -3px; }

.sea-freshness { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 4px 0 0; color: var(--nv-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.sea-freshness-text { margin: 0; }
.sea-freshness-text[data-stale="true"] { color: var(--nv-ink); border-left: 3px solid var(--nv-warn); padding-left: 8px; }
.sea-refresh { position: relative; flex: none; min-height: 32px; padding: 0 2px; border: 0; color: var(--nv-ink); background: none; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sea-refresh::after { content: ""; position: absolute; inset: -6px -8px; }
.sea-refresh:hover { text-decoration-thickness: 2px; }

/* One disclosure style: Local conditions, Marker key, Sources. */
.sea-disclosure { border-top: 1px solid var(--nv-line); }
.sea-disclosure > summary { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.sea-disclosure > summary::-webkit-details-marker { display: none; }
.sea-disclosure > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin: 0 4px 0 auto; border-right: 2px solid var(--nv-muted); border-bottom: 2px solid var(--nv-muted); transform: rotate(45deg); transition: transform 160ms var(--nv-ease); }
.sea-disclosure[open] > summary::after { transform: rotate(-135deg); }

.panel-view { display: none; padding-top: 12px; }
.panel-view.active { display: block; }
.empty-state { padding: 16px 4px; color: var(--nv-muted); }
.empty-state strong { display: block; color: var(--nv-ink); font-size: 15px; }
.empty-state p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; }
.explorer-empty { margin-top: 12px; padding: 16px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); }

/* Local conditions */
.marine-conditions { margin: 0; padding: 0; border: 0; border-bottom: 1px solid var(--nv-line); border-radius: 0; background: none; }
.marine-conditions > summary .nv-icon { flex: none; width: 18px; height: 18px; color: var(--nv-muted); }
.mc-head { display: grid; gap: 0; min-width: 0; font-weight: 400; }
.mc-head small { color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.mc-head strong { display: -webkit-box; overflow: hidden; font-size: 14px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mc-body { padding: 6px 0 12px; }
.mc-body p { margin: 0; }
.mc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mc-tile { display: grid; gap: 2px; align-content: start; padding: 10px; border: 1px solid var(--nv-line); border-left-width: 3px; border-radius: var(--nv-r); background: var(--nv-raised); }
.mc-tile.is-wide { grid-column: 1 / -1; }
.mc-tile.is-warn { border-left-color: var(--nv-warn); background: color-mix(in srgb, var(--nv-warn) 10%, var(--nv-raised)); }
.mc-tile.is-bad { border-left-color: var(--nv-bad); background: color-mix(in srgb, var(--nv-bad) 8%, var(--nv-raised)); }
.mc-tile.is-off { opacity: .6; }
.mc-label { display: flex; justify-content: space-between; gap: 6px; color: var(--nv-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.mc-label time { font-weight: 500; letter-spacing: 0; text-transform: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mc-value { display: flex; align-items: baseline; gap: 4px; font-size: 20px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.mc-value small { color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.mc-arrow { display: inline-block; align-self: center; margin-right: 2px; font-size: 20px; }
.mc-sub { color: var(--nv-muted); font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.mc-strip { margin: 0 0 8px; padding: 8px 10px; border: 1px solid var(--nv-bad); border-radius: var(--nv-r); background: color-mix(in srgb, var(--nv-bad) 8%, var(--nv-raised)); color: var(--nv-ink); font-size: 12px; font-weight: 600; }
.mc-note, .mc-empty { margin: 8px 0 0; color: var(--nv-muted); font-size: 12px; line-height: 1.4; }

/* Vessel list: filter row, Marker key, results */
.vessel-filter-row { display: grid; gap: 8px; margin: 12px 0 4px; }
.vessel-list-tabs, .board-tabs { display: flex; gap: 6px; }
.vessel-list-tabs button, .board-tabs button { flex: 1; min-height: 44px; padding: 0 10px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 14px; }
.vessel-list-tabs button:hover, .board-tabs button:hover { background: var(--nv-surface); }
.vessel-list-tabs button[aria-pressed="true"], .board-tabs button[aria-pressed="true"] { background: var(--nv-accent); border-color: var(--nv-accent); color: var(--nv-accent-ink); }
.vessel-filter-row .vessel-list-tabs { gap: 0; overflow: hidden; border: 1px solid var(--nv-line); border-radius: var(--nv-r); }
.vessel-filter-row .vessel-list-tabs button { border: 0; border-radius: 0; min-width: 0; padding: 0 12px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.vessel-filter-row .vessel-list-tabs button + button { border-left: 1px solid var(--nv-line); }

.type-filter-control { position: relative; }
.type-filter-control button { min-height: 44px; padding: 0 10px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 14px; font-weight: 600; }
#vesselTypeButton { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; text-align: left; }
#vesselTypeButton::after { content: ""; flex: none; width: 8px; height: 8px; margin: -3px 4px 0 0; border-right: 2px solid var(--nv-muted); border-bottom: 2px solid var(--nv-muted); transform: rotate(45deg); }
#vesselTypeButton[aria-expanded="true"]::after { margin-top: 3px; transform: rotate(-135deg); }
#vesselTypeButton .tf-label { flex: none; color: var(--nv-muted); font-weight: 500; }
#vesselTypeButton .tf-value { flex: 1; min-width: 0; overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
#vesselTypeButton .tf-value small { margin-left: 6px; color: var(--nv-muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
#vesselTypeButton[data-active="true"] { border-color: var(--nv-ink); background: var(--nv-surface); }

.type-filter-popover { position: fixed; z-index: 1500; display: flex; flex-direction: column; max-width: calc(100vw - 24px); max-height: calc(100dvh - 96px); padding: 4px 8px 8px; border: 1px solid var(--nv-ink); border-radius: var(--nv-r); background: var(--nv-raised); }
.type-filter-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 2px; border-bottom: 1px solid var(--nv-line); font-size: 12px; font-weight: 600; color: var(--nv-muted); }
.type-filter-popover button { min-height: 44px; padding: 0 8px; border: 0; border-radius: var(--nv-r); color: var(--nv-ink); background: none; font-size: 14px; }
.type-filter-heading button { min-height: 36px; padding: 0 4px; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#vesselTypeList { max-height: min(360px, 48dvh); min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
#vesselTypeList button { width: 100%; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto 18px; gap: 8px; align-items: center; border: 0; text-align: left; }
#vesselTypeList button span { overflow-wrap: anywhere; }
#vesselTypeList button[aria-selected="true"] { background: var(--nv-surface); }
#vesselTypeList button:focus-visible { outline-offset: -2px; background: var(--nv-surface); }
#vesselTypeList small { color: var(--nv-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
#vesselTypeList svg { width: 18px; height: 18px; }

.sea-legend { margin: 0 0 8px; color: var(--nv-muted); font-size: 12px; }
.sea-legend > summary { color: var(--nv-ink); font-size: 14px; }
.sea-legend ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 0 0 8px; padding: 0; list-style: none; }
.sea-legend li { display: flex; align-items: center; gap: 8px; }
.sea-legend p { margin: 0 0 8px; }
.sea-active { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0 0; padding: 6px 10px; border: 1px solid var(--nv-ink); border-radius: var(--nv-r); background: var(--nv-surface); font-size: 13px; }
.sea-active[hidden], .sea-panel[data-tab="map"] .sea-active { display: none; }
.sea-active span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sea-active button { position: relative; flex: none; min-height: 32px; padding: 0 2px; border: 0; color: var(--nv-ink); background: none; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sea-active button::after { content: ""; position: absolute; inset: -6px -8px; }
.search-results { min-height: 0; }
.search-result, .board-item { display: grid; grid-template-columns: 14px minmax(0, 1fr); column-gap: 10px; align-items: center; width: 100%; min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--nv-line); color: var(--nv-ink); background: transparent; text-align: left; }
.search-result strong, .board-item strong { grid-column: 2; display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.search-result span:not(.sea-swatch-gap), .board-item span:not(.sea-swatch-gap) { grid-column: 2; display: block; margin-top: 2px; color: var(--nv-muted); font-size: 12px; line-height: 1.4; }
.search-result :is(.sea-swatch, .sea-swatch-gap), .board-item :is(.sea-swatch, .sea-swatch-gap) { grid-column: 1; grid-row: 1 / 3; }
.search-result:hover strong, .board-item:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.board-tabs { position: sticky; top: -1px; z-index: 2; margin: 0 0 4px; padding: 8px 0; background: var(--nv-raised); }
.board-tabs span { align-self: center; color: var(--nv-muted); font-size: 12px; }
.board-summary { margin-bottom: 4px; padding: 12px; border-radius: var(--nv-r); background: var(--nv-surface); }
.board-summary strong { display: block; color: var(--nv-ink); font-size: 15px; }
.board-summary span { display: block; margin-top: 2px; color: var(--nv-muted); font-size: 12px; }
.port-code { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.sea-skeleton { height: 56px; margin: 8px 0; border-radius: var(--nv-r); background: var(--nv-surface); }

/* Port tab fallback (used when sea-port.js is absent) */
.sea-panel .port-weather { display: none; }
.port-weather { margin: 4px 0 12px; padding: 10px 12px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-raised); color: var(--nv-ink); font-size: 14px; }
.trend-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.trend-metric { padding: 12px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-raised); }
.trend-metric span { display: block; color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.trend-metric strong { display: block; margin-top: 4px; font-size: 28px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.type-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--nv-line); font-size: 14px; font-variant-numeric: tabular-nums; }
.type-row span { color: var(--nv-muted); }
.sea-spot-cta { display: block; margin-top: 12px; padding: 12px; border: 1px solid var(--nv-ink); border-radius: var(--nv-r); color: #fff; background: var(--nv-ink); text-decoration: none; }
.sea-spot-cta strong { display: block; font-size: 14px; font-weight: 700; }
.sea-spot-cta span { display: block; margin-top: 2px; font-size: 12px; }

/* Source notice: one line, then a Sources disclosure. Not sticky. */
.source-note { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--nv-line); color: var(--nv-muted); font-size: 12px; line-height: 1.5; }
.source-line { margin: 0; color: var(--nv-ink); }
.sea-sources > summary { min-height: 44px; font-size: 12px; }
.sea-sources p { margin: 0 0 8px; }
.source-note a, .sea-attribution a { color: var(--nv-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Vessel detail ---- */
.detail-section h4 { margin: 0 0 8px; color: var(--nv-ink); font-size: 14px; }
.clearance-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin: 0; font-size: 12px; }
.clearance-facts dt { color: var(--nv-muted); } .clearance-facts dd { margin: 0; overflow-wrap: anywhere; }
.code-note { margin: 4px 0 0; color: var(--nv-muted); font-size: 12px; }
.is-detail .vessel-pinned-summary { position: sticky; top: 0; z-index: 2; padding-bottom: 8px; background: var(--nv-raised); border-bottom: 1px solid var(--nv-line); }
.sea-panel.is-detail :is(.panel-header, .vessel-search, .panel-tabs, .sea-freshness, .marine-conditions, .sea-active, .panel-view) { display: none; }
.sea-panel.is-detail .vessel-detail { margin-top: 0; padding: 0 0 12px; border: 0; }
.detail-skeleton { display: grid; gap: 12px; padding: 4px 0; }
.sk { border-radius: var(--nv-r); background: var(--nv-line); animation: sk-pulse 1.3s ease-in-out infinite; }
.sk-title { height: 24px; width: 62%; } .sk-sub { height: 14px; width: 38%; }
.sk-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; } .sk-cell { height: 58px; }
.sk-line { height: 14px; width: 100%; } .sk-line.short { width: 70%; }
@keyframes sk-pulse { 50% { opacity: .45; } }

/* ---- Vessel markers ---- */
.shape-triangle, .kind-triangle { --marker-color: var(--sea-cargo); }
.shape-circle, .kind-circle { --marker-color: var(--sea-tanker); }
.shape-square, .kind-square { --marker-color: var(--sea-bulk); }
.shape-diamond, .kind-diamond { --marker-color: var(--sea-service); }
.shape-dot, .kind-dot { --marker-color: var(--sea-small); }
.vessel-marker-wrap { position: relative; width: 44px; height: 44px; }
.vessel-marker { position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; transform: translate(-50%, -50%); border: 2px solid #fff; background: var(--marker-color); outline: 1px solid var(--nv-ink); }
.vessel-marker.shape-circle, .vessel-marker.shape-dot { border-radius: 50%; }
.vessel-marker.shape-square { border-radius: 2px; }
.vessel-marker.shape-triangle, .vessel-marker.shape-diamond { width: 20px; height: 20px; border: 0; outline: 0; filter: drop-shadow(0 0 1px var(--nv-ink)); }
.vessel-marker.shape-triangle { height: 18px; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.vessel-marker.shape-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.marker-trail { position: absolute; top: 50%; left: 50%; width: 3px; height: var(--trail-len, 0); margin-left: -1.5px; transform-origin: top center; background: linear-gradient(to bottom, var(--marker-color), transparent); border-radius: var(--nv-r); opacity: .7; pointer-events: none; }
.marker-heading { position: absolute; inset: 0; pointer-events: none; }
.marker-heading i { position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-bottom: 10px solid var(--nv-ink); transform: translate(-50%, -50%) translateY(-17px); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.marker-name { display: none; position: absolute; left: 36px; top: 50%; transform: translateY(-50%); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none; font: 700 12px/1.2 var(--nv-font); color: var(--nv-ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 2px #fff, 0 0 2px #fff; }
.show-ship-names .marker-name { display: block; }
.vessel-marker-wrap.is-label-hidden .marker-name { display: none; }
.vessel-marker-wrap:not(.is-selected):not(.is-following) { opacity: .92; }
/* Selected: one yellow ring and a name flag. Followed: a thinner yellow ring. */
.vessel-marker-wrap.is-selected { z-index: 5; }
.vessel-marker-wrap.is-selected .vessel-marker { transform: translate(-50%, -50%) scale(1.25); }
.vessel-marker-wrap.is-selected::before { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 3px solid var(--nv-accent); border-radius: 50%; box-shadow: 0 0 0 1px var(--nv-ink), inset 0 0 0 1px var(--nv-ink); pointer-events: none; }
.vessel-marker-wrap.is-following:not(.is-selected)::before { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid var(--nv-accent); border-radius: 50%; }
.vessel-marker-wrap.is-following .vessel-marker { transform: translate(-50%, -50%) scale(1.12); }
.marker-flag { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); max-width: 180px; padding: 3px 8px; border-radius: var(--nv-r); background: var(--nv-ink); color: #fff; font: 700 12px/1.3 var(--nv-font); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.marker-flag::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--nv-ink); }
/* Zoom tiers: below 13 markers shrink and drop trails; below 12 they become small dots (followed and selected stay full size). */
.sea-low-zoom .vessel-marker-wrap:not(.is-selected):not(.is-following) { opacity: .75; }
.sea-low-zoom .vessel-marker-wrap:not(.is-selected):not(.is-following) :is(.marker-heading, .marker-trail) { display: none; }
.sea-low-zoom:not(.sea-far-zoom) .vessel-marker-wrap:not(.is-selected):not(.is-following) .vessel-marker { transform: translate(-50%, -50%) scale(.7); }
.sea-far-zoom .vessel-marker-wrap:not(.is-selected):not(.is-following) { width: 20px; height: 20px; margin: 12px; }
.sea-far-zoom .vessel-marker-wrap:not(.is-selected):not(.is-following) .vessel-marker.vessel-marker { width: 8px; height: 8px; border-width: 1px; outline: 0; clip-path: none; border-radius: 50%; filter: none; }
.sea-far-zoom .marker-name { display: none; }
.leaflet-tooltip.vessel-tooltip { padding: 8px 10px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 12px; font-weight: 600; box-shadow: none; }
.leaflet-tooltip.vessel-tooltip strong { display: block; font-size: 14px; }
.leaflet-tooltip.vessel-tooltip span { display: block; margin-top: 2px; color: var(--nv-muted); font-weight: 600; }
.leaflet-tooltip-top.vessel-tooltip::before { border-top-color: var(--nv-raised) !important; }
/* Clusters: neutral ink, sized by area in JS. */
.sea-cluster { display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: var(--nv-ink); color: #fff; font: 700 12px/1 var(--nv-font); font-variant-numeric: tabular-nums; opacity: .88; }
.leaflet-marker-icon:has(> .sea-cluster) { display: grid; place-items: center; }
/* List swatches and legend: same palette and shapes as the markers. */
.sea-swatch, .sea-legend .vessel-marker { position: static; display: inline-block; flex: none; width: 12px; height: 12px; transform: none; border: 0; outline: 0; background: var(--marker-color); }
.sea-swatch.shape-circle, .sea-legend .vessel-marker.shape-circle { border-radius: 50%; }
.sea-swatch.shape-dot, .sea-legend .vessel-marker.shape-dot { width: 9px; height: 9px; border-radius: 50%; }
.sea-swatch.shape-triangle, .sea-legend .vessel-marker.shape-triangle { height: 12px; clip-path: polygon(50% 0, 100% 100%, 0 100%); filter: none; }
.sea-swatch.shape-diamond, .sea-legend .vessel-marker.shape-diamond { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); filter: none; }
.sea-swatch-gap { display: block; width: 12px; height: 12px; }
/* Overlay markers */
.sea-flow-marker, .sea-viewpoint-marker { display: flex; align-items: center; justify-content: center; flex-direction: column; color: var(--nv-ink); border: 0; background: transparent; }
.sea-flow-arrow { display: block; line-height: 24px; color: var(--sea-wind); text-shadow: 0 0 3px #fff, 0 0 3px #fff; }
.sea-flow-current .sea-flow-arrow { color: var(--sea-current); }
.sea-flow-speed { padding: 0 3px; border-radius: 3px; background: var(--nv-raised); font: 700 12px/16px var(--nv-font); white-space: nowrap; }
.sea-viewpoint-marker > span { position: relative; display: block; width: 22px; height: 22px; border: 2px solid var(--nv-ink); border-radius: 50%; background: var(--nv-raised); }
.sea-viewpoint-marker > span::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--nv-ink); }
.sea-flow-marker:focus-visible, .sea-viewpoint-marker:focus-visible { outline: 2px solid var(--nv-ink); outline-offset: 2px; }

/* ---- Below the fold: about and FAQ ---- */
.sea-info { background: var(--nv-bg); border-top: 1px solid var(--nv-line); }
.sea-info-inner { max-width: 860px; margin: 0 auto; padding: 48px 24px 56px; color: var(--nv-ink); }
.sea-info-inner h2 { margin: 0 0 16px; color: var(--nv-ink); font-size: 28px; letter-spacing: -.03em; }
.sea-info-inner h3 { margin: 32px 0 16px; color: var(--nv-ink); font-size: 20px; letter-spacing: -.02em; }
.sea-info-inner p { margin: 0 0 14px; color: var(--nv-muted); font-size: 15px; line-height: 1.65; }
.sea-faq details { padding: 16px 0; border-bottom: 1px solid var(--nv-line); }
.sea-faq details:first-child { padding-top: 0; }
.sea-faq details:last-child { border-bottom: 0; padding-bottom: 0; }
.sea-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--nv-ink); font-size: 15px; font-weight: 700; cursor: pointer; list-style: none; }
.sea-faq summary::-webkit-details-marker { display: none; }
.sea-faq summary::after { content: "+"; flex-shrink: 0; color: var(--nv-muted); font-size: 20px; font-weight: 400; }
.sea-faq details[open] summary::after { content: "−"; }
.sea-faq details p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.sea-attribution { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid var(--nv-line); color: var(--nv-muted); font-size: 12px; line-height: 1.6; }

/* ---- Phone: bottom sheet (peek / expanded), control stack above the sheet ---- */
@media (max-width: 767px) {
  body.nv { overflow: auto; }
  .panel-toggle { top: auto; left: 12px; right: auto; bottom: 72px; z-index: 550; max-width: calc(100% - 200px); white-space: nowrap; }
  .sea-workspace.panel-closed .sea-lightning-alert { top: 12px; }
  .sea-workspace:not(.panel-closed) .panel-toggle { display: none; }
  .sea-panel { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-width: 100%; height: auto; max-height: calc(100dvh - var(--nv-bar-h) - 20px); padding: 0 16px max(12px, env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--nv-line); border-radius: var(--nv-r) var(--nv-r) 0 0; transform: translateY(0); }
  .sea-workspace.panel-closed .sea-panel { transform: translateY(100%); visibility: hidden; transition: transform .3s var(--nv-ease), visibility 0s .3s; }
  .panel-handle { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; background: transparent; touch-action: none; }
  .panel-handle span { width: 36px; height: 4px; border-radius: var(--nv-r); background: var(--nv-line); }
  .panel-kicker { display: none; }
  .panel-header { align-items: center; padding-top: 14px; padding-bottom: 0; border: 0; } /* the tab replaced the 44px grab bar, so the header needs its own air */
  .panel-header h2 { font-size: 15px; }
  .panel-close { margin: 0; }
  .vessel-search > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .panel-view { padding-top: 8px; }
  .vessel-filter-row { gap: 6px; }
  /* Peek: handle, header, search and the filter row. Everything else waits for the expanded sheet. */
  .sea-workspace:not(.panel-expanded) .sea-panel { overflow: hidden; }
  .sea-workspace:not(.panel-expanded) :is(.panel-tabs, .sea-freshness, .marine-conditions, .panel-view, .source-note) { display: none; }
  .sea-workspace:not(.panel-expanded) #view-map.active { display: block; }
  .sea-workspace:not(.panel-expanded) #view-map.active > :not(.vessel-filter-row) { display: none; }
  .sea-workspace.panel-expanded .sea-panel { height: min(56dvh, 560px, calc(100dvh - var(--nv-bar-h) - 272px)); overflow-y: auto; }
  .sea-workspace.panel-expanded .source-note { display: block; }
  .sea-panel.is-detail .vessel-detail { display: grid; }
  .sea-panel.is-detail .vessel-pinned-summary { padding-top: 18px; }
  /* Peek with a vessel chosen: back/follow/share, name and tags only; the facts wait for the taller sheet. */
  .sea-workspace:not(.panel-expanded) .sea-panel.is-detail .vessel-detail > :not(.vessel-pinned-summary), .sea-workspace:not(.panel-expanded) .sea-panel.is-detail .vessel-pinned-summary :is(.vd-status, .vd-dest) { display: none; }
  .vessel-marker, .vessel-marker.shape-circle, .vessel-marker.shape-square, .vessel-marker.shape-dot { width: 24px; height: 24px; }
  .vessel-marker.shape-triangle { width: 24px; height: 22px; }
  .vessel-marker.shape-diamond { width: 24px; height: 24px; }
  .marker-heading i { transform: translate(-50%, -50%) translateY(-20px); }
  .sea-cluster-note { display: none !important; }
  .sea-info-inner { padding: 40px 16px 48px; }
}

/* Back button in the vessel error state (the detail header uses its own icon button). */

/* ---- Vessel detail: header, status tiles, trail, rows, movement ---- */
.vessel-detail { display: grid; gap: 24px; margin-top: 12px; }
.vessel-pinned-summary { display: grid; gap: 12px; }
.vessel-card-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vd-actions { display: flex; gap: 8px; }
.vessel-card-header button { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin: 0; padding: 0; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); }
.vessel-card-header button::after { content: ""; position: absolute; inset: -4px; }
.vessel-card-header button:hover { background: var(--nv-surface); }
.vessel-card-header button[aria-pressed="true"] { background: var(--nv-accent); border-color: var(--nv-accent); color: var(--nv-accent-ink); }
.vessel-card-header svg, .watch-button .fav-star { width: 20px; height: 20px; }
.detail-back { display: inline-flex; align-items: center; min-height: 36px; margin: 0; padding: 0 12px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 14px; font-weight: 600; }
.detail-back:hover { background: var(--nv-surface); }
.vessel-identity { padding: 0; border: 0; }
.vessel-identity h3 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.02em; overflow-wrap: anywhere; }
.vd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.vd-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 8px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); background: var(--nv-surface); color: var(--nv-ink); font-size: 12px; font-weight: 600; }
.vd-tag b { font-weight: 700; }
.vd-tag[class*="kind-"] { border-color: color-mix(in srgb, var(--marker-color) 45%, var(--nv-line)); background: color-mix(in srgb, var(--marker-color) 10%, var(--nv-raised)); }
.vd-mono { font-family: var(--nv-mono); letter-spacing: .02em; }

.vd-status { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 3px 4px; }
.vd-stat { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; padding: 12px; border: 1px solid rgba(18, 19, 22, .08); border-radius: 4px; background: var(--nv-raised); box-shadow: 0 0 0 3px var(--nv-surface), 0 0 0 4px rgba(18, 19, 22, .08); }
.vd-l { color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.vd-stat strong { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vd-stat strong small { margin-left: 2px; color: var(--nv-muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.vd-state { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border: 1px solid var(--nv-ink); border-radius: 999px; background: var(--nv-raised); font-size: 12px; font-weight: 600; }
.vd-state[data-moving="true"] { border-color: var(--nv-accent); background: var(--nv-accent); color: var(--nv-accent-ink); }
.vd-state[data-moving="false"], .vd-state-quiet { border-color: var(--nv-line); color: var(--nv-muted); }
.vd-compass { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: 1px solid var(--nv-ink); border-radius: 50%; }
.vd-compass i { position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -9px 0 0 -4px; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 9px solid var(--nv-ink); transform-origin: 4px 9px; }
.vd-dest { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 10px; border: 1px solid rgba(18, 19, 22, .08); border-left: 3px solid var(--nv-accent); border-radius: 4px; background: color-mix(in srgb, var(--nv-accent) 12%, var(--nv-raised)); font-size: 14px; }
.vd-dest b { font-weight: 650; }
.vd-eta { margin-left: auto; color: var(--nv-muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.detail-section h4 { margin: 0 0 8px; color: var(--nv-ink); font-size: 14px; font-weight: 700; }
.vd-rows { margin: 0; }
.vd-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 40px; padding: 10px 0; border-top: 1px solid var(--nv-line); }
.vd-rows > div:last-child { border-bottom: 1px solid var(--nv-line); }
.vd-rows dt { flex: none; color: var(--nv-muted); font-size: 14px; }
.vd-rows dd { margin: 0; min-width: 0; color: var(--nv-ink); font-size: 14px; font-weight: 600; text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.flag-code { display: inline-block; min-width: 24px; margin: 0 6px 0 0; padding: 0 4px; border: 1px solid var(--nv-line); border-radius: 3px; background: var(--nv-surface); color: var(--nv-ink); font-size: 12px; font-weight: 600; line-height: 18px; text-align: center; }

.lookup-links { display: flex; flex-wrap: wrap; gap: 8px; }
.lookup-links a { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-ink); background: var(--nv-raised); font-size: 14px; font-weight: 600; text-decoration: none; }
.lookup-links a::after { content: ""; position: absolute; inset: -4px; }
.lookup-links a svg { width: 14px; height: 14px; }
.lookup-links a:hover { background: var(--nv-surface); }

.movement-card { position: relative; display: grid; gap: 2px; margin-left: 5px; padding: 0 0 16px 18px; border-left: 1px solid var(--nv-line); }
.movement-card:last-of-type { padding-bottom: 8px; }
.movement-card::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border: 2px solid var(--nv-ink); border-radius: 50%; background: var(--nv-raised); }
.movement-card.is-latest::before { background: var(--nv-accent); }
.mv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.movement-card strong { font-size: 14px; font-weight: 700; }
.mv-status { padding: 0 6px; border: 1px solid var(--nv-line); border-radius: var(--nv-r); color: var(--nv-muted); font-size: 12px; font-weight: 600; }
.mv-route { color: var(--nv-ink); font-size: 14px; font-variant-numeric: tabular-nums; }
.mv-time { color: var(--nv-muted); font-size: 12px; }

/* ---- Warning: lightning. Red, with a sign, collapsed to one pill until opened ---- */
.sea-lightning-alert { position: absolute; z-index: 610; top: 12px; left: 12px; max-width: min(380px, calc(100% - 124px)); border: 1px solid var(--nv-bad); border-radius: var(--nv-r); background: color-mix(in srgb, var(--nv-bad) 8%, var(--nv-raised)); color: var(--nv-ink); font-size: 14px; line-height: 1.4; }
.sea-warn-toggle { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 36px; padding: 0 12px 0 10px; border: 0; border-radius: var(--nv-r); background: transparent; color: var(--nv-bad); font-size: 14px; font-weight: 700; text-align: left; }
.sea-warn-toggle::after { content: ""; position: absolute; inset: -4px; }
.sea-warn-toggle .nv-icon { width: 20px; height: 20px; flex: none; }
.sea-warn-toggle span { flex: 1; }
.sea-warn-toggle i { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 160ms var(--nv-ease); }
.sea-warn-toggle[aria-expanded="true"] i { transform: rotate(-135deg) translate(-1px, -1px); }
.sea-warn-body { display: grid; gap: 4px; padding: 0 12px 12px 38px; }
.sea-warn-body p { margin: 0; color: var(--nv-ink); }
.sea-warn-body small { color: var(--nv-muted); font-size: 12px; }
.sea-warn-dismiss { justify-self: start; min-height: 36px; margin-top: 4px; padding: 0 12px; border: 1px solid var(--nv-bad); border-radius: var(--nv-r); background: var(--nv-raised); color: var(--nv-bad); font-size: 14px; font-weight: 600; }
