/* 9.19.35 Sjór sailing mode: charts, marine pins, phone fit */
.sjor-chart-host,.harbour-official-charts{margin:8px 0 12px;min-width:0}
.harbour-official-charts h3{margin:4px 0 6px;font:650 13px/1.2 system-ui,sans-serif;letter-spacing:.02em}
.sjor-chart{display:flex;flex-direction:column;gap:6px;min-width:0}
.sjor-chart-controls{display:flex;flex-wrap:wrap;gap:6px;justify-content:space-between;align-items:center}
.sjor-chart-metrics,.sjor-chart-ranges,.sjor-chart-nav{display:flex;flex-wrap:wrap;gap:4px}
.sjor-chart button{appearance:none;border:0;background:rgba(255,255,255,.1);color:inherit;border-radius:999px;padding:5px 9px;font:650 12px/1.1 system-ui,sans-serif;min-height:32px}
.sjor-chart button.is-on,.sjor-chart [data-sjor-now]{background:#0b4f7c;color:#fff}
.sjor-chart-readout{font:600 12px/1.35 system-ui,sans-serif;min-height:2.6em}
.sjor-chart-plot{width:100%;height:156px;touch-action:none;border-radius:10px;background:rgba(8,16,24,.35);overflow:hidden}
.sjor-chart-plot svg{width:100%;height:100%;display:block}
.sjor-chart-plot .sjor-grid{stroke:rgba(255,255,255,.18);stroke-width:1;fill:none}
.sjor-chart-plot .sjor-series{fill:none;stroke:#7ec8ff;stroke-width:2.1;stroke-linejoin:round;stroke-linecap:round}
.sjor-chart-plot .sjor-series.is-forecast{stroke-dasharray:5 4;stroke:#c9e7ff}
.sjor-chart-plot .sjor-series.is-tide{stroke:#9aa8b5;stroke-width:1.3;stroke-dasharray:3 3}
.sjor-chart-plot .sjor-now{stroke:#ffe066;stroke-width:1.4}
.sjor-chart-plot .sjor-join{stroke:#f0b27a;stroke-width:1.2;stroke-dasharray:2 3}
.sjor-chart-plot .sjor-cursor{stroke:#fff;stroke-width:1.1}
.sjor-chart-plot .sjor-now-lab,.sjor-chart-plot .sjor-join-lab,.sjor-chart-plot .sjor-ext,.sjor-chart-plot .sjor-axis{fill:#e8eef4;font:600 9px/1 system-ui,sans-serif}
.sjor-chart-plot .sjor-ext.is-high{fill:#bfe4ff}
.sjor-chart-plot .sjor-ext.is-low{fill:#f6d7a8}
.sjor-chart-note,.sjor-credit{margin:4px 0 0;font:500 11px/1.4 system-ui,sans-serif;opacity:.82}
.sjor-overview .metric-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
@media (min-width:390px){.sjor-overview .metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
html.atlas-phone-shell .sjor-chart-plot{height:148px}
html.atlas-phone-shell body.atlas-sjor-mode .station-marker,
html.atlas-phone-shell body.atlas-sjor-mode .m-dot.station-marker{opacity:.22}
html.atlas-phone-shell body.atlas-sjor-mode .camera-marker{display:none}
@media (max-width:320px){
  .sjor-chart button{padding:5px 7px;font-size:11px;min-height:30px}
  .sjor-chart-plot{height:140px}
  .sjor-chart-plot .sjor-ext{font-size:8px}
}
