:root{--ink:#14323c;--muted:#7b8b92;--border:#e5ebed;--accent:#0d8c7a;--navy:#102c39;--teal:#12b8a1;--amber:#df9250;--blue:#62b9e2}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:#f5f7f8;font-family:'DM Sans',system-ui,sans-serif;font-size:14px}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #31b9ab;outline-offset:3px}a{color:inherit}button{border:0;background:none;color:inherit}button:hover{filter:brightness(.91)}.topbar{height:83px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--border);gap:20px}.brand{display:flex;align-items:center;gap:11px;font:800 25px 'Manrope',sans-serif;letter-spacing:2px;text-decoration:none}.brandmark{display:grid;place-items:center;background:var(--ink);color:#56d0bc;width:43px;height:43px;border-radius:11px;font-size:41px;line-height:1;padding-bottom:6px;letter-spacing:0}.brand-sub{display:block;font:650 8px 'DM Sans',sans-serif;letter-spacing:3.3px;margin-top:1px}.header-center{display:flex;align-items:center;gap:10px;font-size:12px;color:#74848c}.separator{margin:0 4px;color:#c7d1d5}.status-dot{width:6px;height:6px;background:#16a58b;display:inline-block;border-radius:50%;flex:none}.header-actions{display:flex;align-items:center;gap:9px}.shiptime{font-size:11px;color:var(--muted);margin-right:10px}.shiptime b{display:block;text-align:right;color:var(--ink);font-size:14px;font-variant-numeric:tabular-nums}.iconbtn{width:32px;height:32px;border:1px solid var(--border);border-radius:50%;font-size:17px}.app-layout{display:grid;grid-template-columns:278px minmax(0,1fr)}.sidebar{background:white;border-right:1px solid var(--border);padding:28px 22px 20px;display:flex;flex-direction:column;gap:0}.section-eyebrow{font-size:9px;font-weight:700;letter-spacing:1.6px;color:var(--muted);display:flex;justify-content:space-between;align-items:center}.section-eyebrow>span{font-size:10px;letter-spacing:.6px}h1{font:650 27px/1.25 'Manrope',sans-serif;letter-spacing:-1px;margin:15px 0 11px}.side-intro{font-size:12px;color:var(--muted);line-height:1.7;margin:0 0 25px}.ports{display:grid;gap:11px}.port{border:1px solid var(--border);border-radius:11px;text-align:left;padding:15px 14px;width:100%;background:#fff;transition:.2s}.port.active{background:#f0f8f6;border-color:#65b5a7;box-shadow:0 0 0 1px #65b5a71a}.port-top{display:flex;align-items:center;justify-content:space-between;gap:6px}.port h2{font-size:16px;letter-spacing:-.4px;margin:0;font-weight:650}.port .port-code{font-size:8px;letter-spacing:.7px;font-weight:600;color:#8b9a9f}.port small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.port-values{display:flex;align-items:center;gap:20px;margin-top:17px}.port-values strong{font:650 23px 'Manrope',sans-serif;letter-spacing:-.5px}.port-values em{font-style:normal;font-size:10px;font-weight:400;color:var(--muted);margin-left:3px}.port-values label{display:block;color:var(--muted);font-size:9px;margin-top:3px;letter-spacing:.1px}.port-check{width:15px;height:15px;border:1px solid #cbd6d8;border-radius:50%;display:grid;place-items:center;color:transparent;font-size:10px}.active .port-check{background:var(--accent);border-color:var(--accent);color:white}.sidebar-block{padding-top:25px;margin-top:25px;border-top:1px solid var(--border)}.model-tabs,.range-tabs{display:flex;background:#f0f3f4;padding:3px;border-radius:7px;gap:2px}.model-tabs{margin-top:14px}.model-tabs button{flex:1;font-size:10px;font-weight:650;padding:9px 2px;border-radius:5px;white-space:nowrap}.model-tabs button.active{color:white;background:var(--ink);box-shadow:0 2px 4px #12343c15}.tiny{font-size:10px;color:var(--muted);margin:11px 0 0;line-height:1.5}.outlook-row{display:flex;justify-content:space-between;align-items:center;margin-top:18px;font-size:11px;color:#6c8088}.outlook-row b{font-size:16px;color:var(--ink);font-weight:600}.outlook-row small{font-size:10px;color:var(--muted);font-weight:400}.mini-note{display:flex;gap:8px;align-items:flex-start;background:#f5f7f8;padding:10px;border-radius:6px;margin-top:20px;color:#7c8b92}.mini-note>span{font-size:11px;padding-top:2px}.mini-note p{margin:0;font-size:9px;line-height:1.7}.sidebar-footer{margin-top:28px;display:flex;gap:6px;flex-wrap:wrap;align-items:center;font-size:9px;color:var(--muted);line-height:1.6}.sidebar-footer .textbtn{margin-left:auto}.textbtn{font-size:10px;color:var(--accent);padding:0;font-weight:600}.sidebar-footer.error .status-dot{background:#d49a48}main{min-width:0;padding:20px 22px 0}.map-section{height:clamp(380px,45vh,600px);min-height:380px;position:relative;background:#142b36;border-radius:13px;overflow:hidden;border:1px solid #14303d}#map{height:100%;width:100%;background:#b2d1df}.leaflet-container{font-family:inherit}.leaflet-tile-pane{filter:none}.leaflet-control-attribution{font-size:8px!important;background:#142b36bb!important;color:#91a7b1!important}.leaflet-control-attribution a{color:#a8c0c8!important}.map-top{position:absolute;z-index:800;top:16px;left:16px;right:16px;display:flex;justify-content:space-between;align-items:flex-start;gap:10px;pointer-events:none}.map-top>*{pointer-events:auto}.layer-tabs{display:flex;padding:4px;background:#0f2535ed;border:1px solid #3f58675c;border-radius:8px;box-shadow:0 4px 16px #0002}.layer-tabs button{padding:9px 13px;border-radius:5px;color:#9fb1bb;display:flex;align-items:center;gap:7px;font-size:16px}.layer-tabs span{font-size:11px}.layer-tabs button.active{background:#f5fafb;color:#163541}.map-stamp{display:flex;gap:8px;align-items:center;background:#0e2735da;color:#cfdee4;font-size:10px;border:1px solid #3854635c;border-radius:6px;padding:10px;backdrop-filter:blur(8px)}.stamp-divider{height:10px;width:1px;background:#65808c60}.map-caption{position:absolute;z-index:700;left:21px;top:88px;pointer-events:none;color:#c2d2da;text-shadow:0 1px 8px #0b202b}.map-caption>span{font-size:8px;letter-spacing:2.5px;color:#849ea9}.map-caption h2{font:500 20px 'Manrope',sans-serif;margin:6px 0;letter-spacing:-.4px}.map-caption p{font-size:9px;color:#9db6c0;max-width:230px;line-height:1.5}.map-controls{position:absolute;z-index:800;right:15px;bottom:80px;display:flex;flex-direction:column;gap:5px}.map-btn{width:33px;height:33px;background:#102938e8;color:#b1c9d2;border-radius:5px;border:1px solid #52697560;font-size:19px}.map-btn.on{color:#62ddc6;border-color:#42bca780}.scale{position:absolute;z-index:800;left:21px;bottom:27px;width:230px;padding:10px 12px;border-radius:7px;background:#102737d9;backdrop-filter:blur(10px);color:#bed0d9;font-size:8px;border:1px solid #4a64714a;pointer-events:none}.scale>div:first-child{display:flex;justify-content:space-between;margin-bottom:7px;font-size:9px}.scale b{font-weight:400}.scale-gradient{height:5px;border-radius:3px;background:linear-gradient(90deg,#375486,#269cb6,#48c3a5,#aecb69,#e8b15c,#d06564)}.scale-labels{display:flex;justify-content:space-between;margin-top:5px}.port-pin{white-space:nowrap}.pin-dot{display:block;width:13px;height:13px;border:3px solid #b7f4e7;background:#168c7d;box-shadow:0 0 0 7px #56c6ad20;border-radius:50%;position:absolute;top:-6px;left:-6px}.port-pin.active .pin-dot{box-shadow:0 0 0 8px #56c6ad30,0 0 26px #53bba6}.pin-label{display:block;position:absolute;left:14px;top:-16px;background:#0e2837ef;color:#e1ecf0;border:1px solid #45616e;border-radius:6px;padding:7px 11px;font-size:11px;font-weight:600;box-shadow:0 2px 10px #0002}.pin-label b{margin-left:10px;color:#6bd9bd;font-size:11px}.pin-label small{display:block;font-size:8px;letter-spacing:.5px;color:#8fa9b5;font-weight:400;margin-top:3px}.map-error{position:absolute;left:20px;bottom:110px;z-index:800;background:#75432d;color:white;padding:10px;font-size:11px;border-radius:6px}.timebar{display:flex;align-items:center;gap:15px;padding:17px 3px 19px}.play{background:var(--ink);color:#d5f5ed;width:38px;height:38px;border-radius:50%;flex:none;font-size:12px}.timeline{flex:1;min-width:0}.timeline-top{display:flex;align-items:center;gap:14px;font-size:9px;color:#8a999f;margin-bottom:8px}.timeline-top b{font-size:11px;color:var(--ink)}.timeline-top .textbtn{margin-left:auto}.dotsep{padding:0 5px}input[type=range]{width:100%;height:4px;margin:4px 0 8px;accent-color:var(--accent);cursor:pointer;display:block}.timeline-labels{display:flex;justify-content:space-between;font-size:9px;color:#8a999f}.forecast{background:white;border:1px solid var(--border);border-radius:12px;overflow:hidden}.forecast-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 22px 12px;gap:15px}.forecast-heading h2{font:650 22px 'Manrope',sans-serif;letter-spacing:-.6px;margin:7px 0 0}.forecast-location{font:400 10px 'DM Sans',sans-serif;letter-spacing:0;color:var(--muted);margin-left:12px}.forecast-actions{display:flex;align-items:center;gap:14px}.compare{font-size:10px;display:flex;align-items:center;gap:7px;border:1px solid var(--border);padding:8px 10px;border-radius:6px;white-space:nowrap}.compare>span{font-size:15px}.compare[aria-pressed=true]{background:#e7f5f0;color:#087b68;border-color:#91c7b8}.range-tabs button{padding:6px 9px;font-size:10px;border-radius:5px;white-space:nowrap}.range-tabs button.active{background:white;box-shadow:0 1px 4px #14323c12}.forecast-legend{display:flex;align-items:center;gap:20px;padding:5px 22px 15px;font-size:10px;color:#71858e;min-height:31px;flex-wrap:wrap}.forecast-legend>span{display:flex;gap:5px;align-items:center}.forecast-legend b{font-size:9px;color:#9aabb2;font-weight:400}.forecast-legend .legend-hint{margin-left:auto;font-size:9px;color:#99a8af}.line{width:16px;height:2px;display:inline-block;background:var(--teal)}.line.gust{background:repeating-linear-gradient(90deg,var(--amber) 0 4px,transparent 4px 7px)}.line.wave{background:#56a8d1}.line.extra-eu{background:#a58bd2}.line.extra-icon{background:#6c94d0}.line.extra-ecmwf{background:#65b09c}.chart-layout{display:flex;position:relative}.chart-labels{flex:0 0 85px;position:relative;z-index:2;background:white;border-right:1px solid #eef1f3;box-shadow:4px 0 12px #14323c04}.axis-unit{font-size:9px;color:#91a1a8;padding:10px 0 0 22px;height:140px}.axis-wave{font-size:9px;color:#79a8be;padding:12px 0 0 22px;height:69px;border-top:1px solid #f0f3f4}.table-labels{display:flex;flex-direction:column;font-size:9px;color:#7e9098}.table-labels>span{height:30px;display:flex;align-items:center;justify-content:space-between;padding:0 9px 0 15px;border-top:1px solid #eef2f3;white-space:nowrap}.table-labels small{font-size:8px;color:#acb8be}.chart-scroll{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#c4d4d9 #f6f9f9;flex:1;scroll-behavior:smooth}.chart-content{position:relative;min-height:419px}.chart-svg{display:block;height:209px;overflow:visible}.chart-svg text{font-family:inherit}.hour-table{display:flex}.hour-col{width:48px;flex:0 0 48px;padding:0;font-variant-numeric:tabular-nums;text-align:center;display:flex;flex-direction:column;position:relative}.hour-col span{height:30px;display:flex;align-items:center;justify-content:center;border-top:1px solid #edf2f4;border-right:1px solid #f3f5f6;font-size:10px}.hour-col span:first-child{font-size:9px;color:#83959d;background:#f9fbfb}.hour-col .gust-cell{color:#ac743b}.hour-col .wave-cell{color:#3d87b1}.hour-col .wind-cell{font-weight:650;color:#078c76}.hour-col.selected{box-shadow:inset 1px 0 #60bcaa,inset -1px 0 #60bcaa;background:#e8f5f1}.hour-col.selected span:first-child{background:#0d8c7a;color:white}.hour-col .direction-cell{font-size:9px;gap:4px;color:#7e9098}.direction{display:inline-block;font-size:14px;line-height:1}.forecast-footer{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--border);padding:12px 20px;font-size:9px;color:#8c9da5;flex-wrap:wrap}.page-footer{display:flex;justify-content:space-between;gap:10px;font-size:8px;color:#98a8af;padding:17px 2px 20px;letter-spacing:.2px}.page-footer>span:first-child{letter-spacing:1px}.page-footer .textbtn{margin-left:12px;font-size:8px}.page-footer>span>span{margin:0 8px}.loading{height:419px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:var(--muted)}.spinner{width:14px;height:14px;border:2px solid #d4e7e1;border-top-color:#188c79;border-radius:50%;animation:spin .9s infinite linear}@keyframes spin{to{transform:rotate(360deg)}}.forecast-error{padding:12px 22px;color:#ad6636;background:#fff5e9;font-size:11px;line-height:1.6}.leaflet-popup-content-wrapper{background:#102c3a;color:#d9e8ec;border:1px solid #526c78;border-radius:8px}.leaflet-popup-tip{background:#102c3a}.leaflet-popup-content{font-size:11px;line-height:1.7}.leaflet-container a.leaflet-popup-close-button{color:#bbcdd5}dialog{border:1px solid #d8e3e5;border-radius:15px;width:630px;max-width:calc(100% - 28px);max-height:85vh;overflow:auto;padding:28px;color:var(--ink);box-shadow:0 15px 100px #09253133}dialog::backdrop{background:#0b263c7a;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}dialog h2{font:650 26px 'Manrope',sans-serif;letter-spacing:-.8px}dialog h3{font-size:14px;margin-top:24px}dialog p{font-size:12px;color:#6b8089;line-height:1.8}dialog a{color:var(--accent)}.reference-links{display:flex;gap:20px;font-size:12px;margin-top:25px}[hidden]{display:none!important}@media(min-width:1600px){.app-layout{grid-template-columns:310px 1fr}.sidebar{padding:35px 28px}.map-section{height:52vh}main{padding:24px 30px 0}}@media(max-width:1150px){.header-center{display:none}.app-layout{grid-template-columns:240px minmax(0,1fr)}.sidebar{padding:23px 16px}.forecast-heading{padding:17px 16px 10px;align-items:flex-start;flex-direction:column;gap:12px}.forecast-actions{width:100%;justify-content:space-between}.forecast-legend .legend-hint{display:none}.forecast-location{font-size:9px}.map-stamp{font-size:9px;gap:5px}.layer-tabs button{padding:8px 9px}.map-top{left:12px;right:12px}.map-caption{top:78px}.map-caption h2{font-size:17px}main{padding:16px 16px 0}.shiptime{display:flex;align-items:center;gap:8px}}@media(max-width:760px){.topbar{height:70px;padding:0 16px}.brand{font-size:21px;gap:8px}.brandmark{width:36px;height:36px;font-size:36px}.brand-sub{font-size:7px;letter-spacing:2.6px}.shiptime{font-size:9px;display:block}.shiptime b{font-size:12px}.header-actions{gap:6px}.iconbtn{width:29px;height:29px}.app-layout{display:block}.sidebar{padding:18px 16px 12px;border-right:0;border-bottom:1px solid var(--border)}.sidebar>h1,.side-intro,.sidebar>.section-eyebrow,.outlook,.sidebar-footer{display:none}.ports{grid-template-columns:1fr 1fr;gap:10px}.port{padding:12px}.port h2{font-size:15px}.port .port-code{display:none}.port-values{gap:18px;margin-top:11px}.port-values strong{font-size:22px}.port small{font-size:9px}.sidebar-block{padding-top:0;margin-top:14px;border:0;display:flex;align-items:center;gap:12px}.sidebar-block .section-eyebrow{font-size:8px;letter-spacing:1px}.sidebar-block .section-eyebrow>span,.sidebar-block .tiny{display:none}.model-tabs{margin:0;flex:1}.model-tabs button{padding:7px 5px}.map-section{height:430px;border-radius:10px}.map-top{top:12px;flex-wrap:wrap}.map-stamp{font-size:8px;padding:8px;position:absolute;top:48px;left:0}.map-caption{top:111px}.map-caption h2{font-size:16px}.map-caption p{max-width:180px;font-size:8px}.map-controls{right:12px;bottom:65px}.scale{width:190px;left:14px;bottom:25px}.timebar{gap:10px;padding:16px 0}.timeline-top{gap:7px;font-size:8px}.timeline-top>span{display:none}.timeline-top b{font-size:10px}.timeline-labels{font-size:8px}.play{height:34px;width:34px}.forecast-heading{padding:18px 14px 11px}.forecast-heading h2{font-size:20px}.forecast-location{display:block;margin:5px 0 0}.forecast-legend{padding:3px 14px 12px;gap:16px}.forecast-legend>span{font-size:9px}.forecast-actions{gap:7px}.compare{font-size:9px;padding:7px 8px}.chart-labels{flex-basis:72px}.table-labels>span{padding-left:9px;padding-right:6px;font-size:8px}.axis-unit,.axis-wave{padding-left:12px}.forecast-footer{padding:11px 14px;font-size:8px}.page-footer{font-size:7px}.page-footer>span:first-child{display:none}main{padding:13px 12px 0}.page-footer .textbtn{font-size:8px}dialog{padding:21px}.timeline-labels span:nth-child(2n){display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}.spinner{animation:none}}

.point-details{margin:0 22px 14px;padding:11px 13px;border:1px solid #e4eeec;background:#f5f9f8;border-radius:7px;font-size:10px;color:#738b92;line-height:1.6}.point-details>div{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.point-details>div>span{font-size:8px;letter-spacing:1px;font-weight:650;color:#87a09e}.point-details a{color:#198779;text-decoration:none;font-size:10px;font-variant-numeric:tabular-nums}.point-details p{font-size:9px;margin:5px 0;font-variant-numeric:tabular-nums}.point-details small{display:block;font-size:8px;color:#91a4a8;margin-top:5px}.port h2{font-size:15px}.port .port-code{font-size:7px;letter-spacing:.2px}.port small{font-size:9px;font-variant-numeric:tabular-nums}.port-values{margin-top:13px}.ports{gap:9px}.sidebar-block{margin-top:21px;padding-top:21px}.sidebar .outlook{margin-top:20px}.map-caption{top:88px}@media(max-width:760px){.ports{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:5px;scrollbar-width:thin}.port{flex:0 0 72%;scroll-snap-align:start}.sidebar-block{margin-top:12px;padding-top:0}.point-details{margin:0 14px 12px;padding:10px}.point-details>div{gap:6px}.map-caption{top:111px}}
/* Hourly comparison grid, aligned with the graph and inspired by the supplied reference. */
.chart-labels{flex-basis:135px}.table-labels{display:block}.model-label-day{height:26px;display:flex;align-items:center;justify-content:flex-end;padding-right:12px;font-size:8px;color:#a0adb2;background:#f2f3f5;border-top:1px solid #e4e8e9;letter-spacing:1px}.model-label-hour{height:24px;display:flex;align-items:center;justify-content:flex-end;padding-right:12px;background:#f8f8fa;font-size:9px;color:#8799a1;border-bottom:1px solid #dde6e9}.model-label{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;width:100%;height:48px;padding:6px 11px 6px 5px;border-bottom:1px solid #e2e9eb;background:#fafbfc}.model-label>span{font-size:11px;font-weight:650;color:#527080;white-space:nowrap}.model-label small{font-size:8px;font-weight:400;margin-left:5px;color:#97aab3}.model-label em{font-style:normal;font-size:8px;margin-top:4px;color:#90a2ac}.model-label.primary-model{background:#edf6f4;box-shadow:inset 3px 0 #0f9d85}.model-label.primary-model>span{color:#0d8d78}.model-label.wave-model-label{background:#eef6fa;border-bottom:0}.model-label.wave-model-label>span{color:#648ca2;font-size:10px}.model-meteogram{font-variant-numeric:tabular-nums;border-top:1px solid #dbe3e7}.meteo-days{height:25px;display:flex;background:#f1f1f4;color:#566a73}.meteo-day{height:25px;flex:none;border-right:1px solid #c7d0d5;display:flex;align-items:center;font-size:10px;white-space:nowrap;overflow:hidden}.meteo-day>span{padding:0 9px;position:sticky;left:0;text-transform:capitalize}.meteo-day:nth-child(even){background:#e9ecef}.meteo-hours{display:flex;height:24px;background:#f7f7fa}.meteo-hours .hour-heading{display:flex;align-items:center;justify-content:center;flex:0 0 48px;height:24px;font-size:10px;color:#758892;border-right:1px solid #e6eaed;border-radius:0;padding:0;background:transparent;box-shadow:none}.meteo-hours .hour-heading.selected{background:#efc65c;color:#263f48;box-shadow:inset 1px 0 #d6a743,inset -1px 0 #d6a743;font-weight:650}.model-row{display:flex;height:48px;position:relative}.meteo-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;padding:0;border-right:1px solid #183b4210;border-bottom:1px solid #143b4320;position:relative;border-radius:0;color:#263f43;transition:box-shadow .15s}.meteo-cell:hover{filter:none;box-shadow:inset 0 0 0 2px #fff9;z-index:1}.meteo-cell.selected{box-shadow:inset 1px 0 #d5a836,inset -1px 0 #d5a836}.model-row.primary-model .meteo-cell{border-top:1px solid #118b6e80;border-bottom:1px solid #118b6e80}.meteo-wind{display:flex;gap:3px;align-items:center;justify-content:center;width:100%;line-height:18px;min-height:18px}.meteo-wind b{font-size:12px;font-weight:500;letter-spacing:-.4px}.flow-arrow{font-family:Arial,sans-serif;display:inline-block;font-style:normal;font-size:13px;line-height:14px;height:14px;width:10px;text-align:center;flex:none;transform-origin:50% 50%}.flow-arrow.missing{opacity:.35}.meteo-gust{font-size:10px;line-height:14px;color:#264a4b;opacity:.8;min-height:14px}.meteo-cell.no-data{color:#a6b3b8}.wave-meteo-cell{background:#deeff7;color:#467a94;border-bottom:0}.wave-meteo-cell .meteo-gust{color:#6d91a2}.wave-model-row{border-top:2px solid white;height:50px}.wave-model-row .meteo-cell{height:48px}.chart-content{min-height:453px}.loading{min-height:453px}.chart-labels .axis-wave{height:69px}.wind-flags-svg{position:absolute;left:-160px;top:-160px;overflow:visible;pointer-events:none;filter:drop-shadow(0 1px 1px #122b3733)}.model-wind-flag{transition:transform .25s ease}.model-wind-flag.flag-front .flag-label{stroke:#fff;stroke-width:.6}.flag-cycle-status{position:absolute;top:calc(100% + 4px);left:0;white-space:nowrap;font-size:8px;line-height:1.2;color:#426775;background:#fffffff0;border:1px solid #d5e2e5;border-radius:5px;padding:4px 7px;max-width:220px}.port-pin:not(.active) .wind-flags-svg{opacity:.85}.pin-dot{width:11px;height:11px;top:-5px;left:-5px;background:white;border:2px solid #b5ddd7;box-shadow:0 0 0 4px #59bda620}.port-pin.active .pin-dot{box-shadow:0 0 0 6px #56c6ad30,0 0 18px #53bba6}.map-flags-control{position:absolute;z-index:800;bottom:120px;left:20px;display:flex;align-items:flex-start;flex-direction:column;gap:6px}.map-flags-control button{border:1px solid #56758480;border-radius:5px;background:#102d3ae8;color:#a6c7cf;padding:7px 9px;font-size:10px}.map-flags-control button.active{border-color:#68bba680;color:#98e3d0}.map-flags-control>span{font-size:8px;color:#a6bdc9;text-shadow:0 1px 5px #0e2534}.forecast-legend .legend-hint{font-size:9px}.forecast-footer{line-height:1.5}@media(max-width:760px){.chart-labels{flex-basis:111px}.model-label{padding-right:8px}.model-label>span{font-size:10px}.model-label em{font-size:7px}.model-label small{font-size:7px;margin-left:4px}.model-label.wave-model-label>span{font-size:9px}.meteo-wind b{font-size:11px}.map-flags-control{left:14px;bottom:121px}.map-flags-control>span{font-size:7px;max-width:125px;line-height:1.5}.map-flags-control button{font-size:9px;padding:6px 8px}}@media(prefers-reduced-motion:reduce){.model-wind-flag{transition:none}}
.model-label.wave-model-label{height:50px}

/* Compact point readout: name, mean wind, then gusts; each value uses the shared speed scale. */
.pin-weather-label{min-width:131px;padding:8px 11px;line-height:1.3;background:#102c3bf5}.pin-weather-label .pin-name{display:block;font-size:11px;font-weight:650;color:#e5eff2;margin-bottom:4px}.pin-weather-label .pin-wind{display:block;font-size:15px;font-weight:650;letter-spacing:-.2px}.pin-weather-label .pin-gust{display:block;font-size:13px;font-weight:600;margin-top:3px}.pin-weather-label em{font-style:normal;font-size:9px;font-weight:400;letter-spacing:0;opacity:.85}.pin-weather-label .pin-gust>span{font-size:8px;font-weight:400;margin-right:3px;color:#9eb6c2}.model-row:not(.wave-model-row) .meteo-wind{height:26px;min-height:26px}.model-row:not(.wave-model-row) .meteo-gust{height:22px;min-height:22px;width:100%;display:flex;align-items:center;justify-content:center;line-height:22px;opacity:1;color:#274244}.model-row:not(.wave-model-row) .meteo-cell{justify-content:flex-start}.scale-gradient{background:linear-gradient(90deg,#f3f3f3 0%,#f3f3f3 12%,#00c8fe 16%,#00e600 24%,#feae00 40%,#fe0096 76%,#f6099b 100%)}

/* Light road-map presentation, with readable land weather and animation. */
.map-caption{background:#fffffff0;border:1px solid #d7e2e5;border-radius:7px;padding:10px 12px;color:#234451;text-shadow:none;left:16px;top:78px;max-width:230px;box-shadow:0 2px 8px #17343e10}.map-caption>span{color:#81969e}.map-caption p{color:#6c858f;text-shadow:none}.map-flags-control>span{background:#ffffffe8;color:#53717d;border:1px solid #dbe6e9;border-radius:4px;padding:4px 6px;text-shadow:none}.map-section{background:#bad5e3;border-color:#cddce3}.leaflet-container{background:#bad5e3}@media(max-width:760px){.map-caption{top:109px;left:12px;padding:8px 10px;max-width:178px}.map-caption p{max-width:155px}.map-flags-control>span{max-width:138px}}

/* Plain numeric hourly marine samples, including the Gotland row and cell centres. */
.route-wave-controls{display:flex;gap:5px;align-items:center}.map-flags-control .route-wave-controls button{background:#fffffff5;color:#37637a;border-color:#b6cdd7}.map-flags-control .route-wave-controls button.active{background:#e8f5f9;color:#155a73;border-color:#5091aa}.route-wave-readout{font-size:10px;font-weight:650;color:#28596d;background:#fffffff0;border:1px solid #ccdee6;border-radius:5px;padding:6px 8px;max-width:245px;line-height:1.4}.route-wave-readout[hidden]{display:none}.route-wave-marker{background:transparent;border:0;pointer-events:none!important}.route-wave-value{height:22px;min-width:36px;display:flex;justify-content:center;align-items:center;padding:0;border:0;border-radius:0;background:none;color:#153d52;box-shadow:none;text-shadow:0 0 3px #fff,0 0 6px #fff,0 1px 1px #fff;font-size:14px;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}.route-wave-value.missing{color:#879ca6}@media(max-width:760px){.route-wave-readout{font-size:9px;max-width:200px}.map-flags-control .route-wave-controls button{font-size:9px}.map-flags-control{gap:4px}.map-flags-control>span{max-width:195px}}

.map-section{min-height:460px;height:clamp(460px,48vh,620px)}

.wave-source{display:block;width:100%;margin-top:12px;padding:10px 8px;border:1px solid #d3e1e6;border-radius:6px;background:#f7fafb;color:#214c5c;font:inherit;font-size:11px}.model-tabs{flex-wrap:wrap}.model-tabs button{min-width:42px}.chart-content,.loading{min-height:501px}

.pin-weather-label .pin-wave{display:flex;align-items:center;gap:4px;margin-top:6px;padding-top:5px;border-top:1px solid #9bbfce45;color:#a9e7ff;font-variant-numeric:tabular-nums;white-space:nowrap}.pin-wave>span:first-child{font-size:9px;color:#b8ced9}.pin-wave b{font-size:18px;font-weight:700}.pin-wave small{font-size:8px;margin-left:2px;color:#9eb6c2}.pin-wave.missing{color:#acc0c9}.pin-weather-label .pin-wave-message{display:block;font-size:8px;color:#e8cd94;margin-top:3px}

/* Independent model selectors and Swedish forecast publication times. */
.model-updates{margin:9px 0 11px;padding:9px 10px;border:1px solid #dbe6e8;border-radius:8px;background:#f5f8f8;font-size:10px;line-height:1.55;color:#536d78;overflow-wrap:anywhere}.model-updates span{display:block}.model-updates b{font-weight:600;color:#264653}.model-updates small{display:block;font-size:10px}.update-delayed{color:#916422}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}#windSource{margin-top:8px}.model-tabs{margin-top:8px}
.model-label.wave-model-label>span{white-space:normal;overflow-wrap:anywhere;line-height:1.15}
@media(max-width:900px){.sidebar-block{flex-wrap:wrap;align-items:flex-start;gap:7px}.sidebar-block>.section-eyebrow{width:100%}.sidebar-block>.wave-source,.sidebar-block>.model-updates{flex:1 1 100%;width:100%;min-width:0}.sidebar-block>.model-updates{margin:0}.sidebar-block>.model-tabs{width:100%}}
.wave-data-status{font-size:10px;line-height:1.5;color:#39706c;margin:8px 0 0}.wave-data-status.wave-data-missing{color:#946526}.wave-available-hour{margin-top:7px;border:1px solid #b5d4d0;border-radius:5px;padding:6px 9px;background:#f1f8f6;color:#21675c;font:inherit;font-size:10px;cursor:pointer}.wave-available-hour[hidden]{display:none}
/* Compact map overlays and a full three-day ship-time axis. */
.map-top{flex-direction:column;justify-content:flex-start;gap:7px}.map-top .map-stamp{position:static;align-self:flex-start;top:auto;left:auto;padding:7px 10px}.forecast>.forecast-legend{padding-top:18px}.timebar{align-items:flex-start}.timebar>.play{margin-top:18px}.timeline-axis{position:relative;border:1px solid #d8e1e4;border-radius:7px;overflow:hidden}.timeline-labels{display:flex;font-size:10px;color:#55707a}.timeline-day{min-width:0;background:#fcfdfd;border-right:1px solid #c4d1d6;padding:9px 12px 23px}.timeline-day:nth-child(even){background:#dfe5e8}.timeline-day:last-child{border-right:0}.timeline-day strong{display:block;font-size:10px;text-transform:capitalize;font-weight:600;line-height:15px;margin-bottom:6px}.timeline-hours{height:13px;position:relative;margin:0 2px}.timeline-tick{position:absolute;top:0;font-size:8px;line-height:13px;transform:translateX(-50%);font-variant-numeric:tabular-nums;white-space:nowrap}.timeline-tick.first{transform:none}.timeline-tick.last{transform:translateX(-100%)}.timeline-axis #hour{position:absolute;bottom:2px;left:0;width:100%;height:16px;margin:0;background:transparent;appearance:none;z-index:2}.timeline-axis #hour::-webkit-slider-runnable-track{height:3px;background:#afc4c8}.timeline-axis #hour::-webkit-slider-thumb{appearance:none;width:12px;height:12px;margin-top:-4.5px;border:2px solid #fff;border-radius:50%;background:#078d79;box-shadow:0 0 0 1px #078d7960}.timeline-axis #hour::-moz-range-track{height:3px;background:#afc4c8}.timeline-axis #hour::-moz-range-thumb{width:9px;height:9px;border:2px solid #fff;border-radius:50%;background:#078d79}.chart-scroll{cursor:grab;user-select:none;scroll-behavior:auto}.chart-scroll .meteo-cell,.chart-scroll .hour-heading,.chart-scroll svg{cursor:inherit}.chart-scroll.dragging{cursor:grabbing}.chart-scroll.dragging *{cursor:grabbing!important}@media(max-width:760px){.timeline-labels{display:flex}.timeline-day{padding:7px 5px 22px}.timeline-day strong{font-size:8px;line-height:12px;min-height:24px}.timeline-tick{font-size:7px}.timeline-tick:nth-child(2),.timeline-tick:nth-child(4){display:none}.timebar>.play{margin-top:24px}}

/* One 48 px hourly grid for the map timeline, plot and model table. */
:root{--weather-label-width:135px}.chart-labels{flex:0 0 var(--weather-label-width)}.timebar{display:grid;grid-template-columns:var(--weather-label-width) minmax(0,1fr);gap:0;padding:17px 1px 19px}.timebar>.play{justify-self:center;margin-top:27px}.timeline-top{min-height:19px}.timeline-top b{font-variant-numeric:tabular-nums}.timeline-axis{border:0;box-shadow:inset 0 0 0 1px #d8e1e4}.timeline-scroll{overflow-x:auto;scrollbar-width:none;cursor:grab;user-select:none;scroll-behavior:auto}.timeline-scroll::-webkit-scrollbar{display:none}.timeline-content{position:relative}.timeline-labels{justify-content:flex-start}.timeline-day{flex:none;min-width:48px;padding:0 0 22px;border:0;box-shadow:inset -1px 0 #c4d1d6}.timeline-day strong{height:30px;line-height:30px;margin:0;overflow:hidden;min-height:0;font-size:10px}.timeline-day strong>span{position:sticky;left:0;display:inline-block;padding:0 8px;white-space:nowrap}.timeline-hours{display:flex;height:23px;margin:0}.timeline-labels .timeline-tick{position:static;display:flex!important;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:23px;transform:none;line-height:23px;font-size:9px;box-shadow:inset -1px 0 #c4d1d64a}.timeline-tick.selected{background:#d4ede6;color:#087c69;font-weight:700}.timeline-axis #hour{left:18px;width:calc(100% - 36px);bottom:2px}.timeline-axis #hour::-moz-range-thumb{box-sizing:border-box;width:12px;height:12px}.timeline-scroll.dragging,.timeline-scroll.dragging *{cursor:grabbing!important}@media(max-width:760px){:root{--weather-label-width:111px}.timebar{padding:16px 1px}.timebar>.play{margin-top:27px}.timeline-day strong{font-size:9px;line-height:30px;min-height:0}.timeline-labels .timeline-tick{font-size:8px}}

/* Compact vertical legend and one map toolbar, matching the reference layout. */
.map-controls{left:16px;right:auto;bottom:24px;gap:5px}.map-controls .map-btn{display:grid;place-items:center;padding:0}.map-controls .map-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.map-controls .map-btn[aria-pressed=true]{color:#86ddc8;border-color:#62b8a180;background:#123c44ed}.scale{left:auto;right:16px;bottom:24px;width:auto;padding:0;background:none;border:0;border-radius:0;backdrop-filter:none;display:flex;align-items:center;gap:5px;filter:drop-shadow(0 1px 2px #14344035)}.scale-title{writing-mode:vertical-rl;transform:rotate(180deg);font-size:11px;font-weight:700;letter-spacing:.4px;color:#183b49;text-shadow:0 0 3px #fff,0 0 5px #fff}.scale-key{width:31px}.scale #scaleUnit{display:flex;align-items:center;justify-content:center;height:22px;background:#fffffff0;color:#234451;border-radius:3px 3px 0 0;font-size:10px;font-weight:650}.scale-labels{display:flex;flex-direction:column;justify-content:flex-start;margin:0;gap:1px}.scale-step{display:flex;align-items:center;justify-content:center;width:31px;height:19px;border-radius:2px;font-size:11px;font-weight:650;line-height:1;font-variant-numeric:tabular-nums}.scale-step:last-child{border-radius:2px 2px 3px 3px}@media(max-width:760px){.map-controls{left:12px;right:auto;bottom:24px}.scale{left:auto;right:12px;bottom:24px;width:auto}.scale-key,.scale-step{width:29px}.scale-step{height:18px;font-size:10px}.scale-title{font-size:10px}.map-controls .map-btn{width:32px;height:32px}}

/* A single compact meteogram: cloud ribbons, wind traces and hourly rain. */
.forecast>.forecast-legend{gap:15px;padding-bottom:8px}.line.wind{background:#13865b}.legend-cloud{width:17px;height:9px;border-radius:5px;background:#899399;display:inline-block;opacity:.7}.legend-rain{width:12px;height:10px;background:#1789bf;border-radius:2px 2px 0 0;display:inline-block}.meteogram-context{min-height:23px;padding:0 16px 9px;color:#72858d;font-size:10px;font-variant-numeric:tabular-nums}.meteogram-plot,.meteogram-svg{height:184px}.chart-labels .axis-unit{height:148px;position:relative;padding:7px 12px 0;font-size:9px;background:#fffbec}.chart-wind-scale{position:absolute;inset:0;pointer-events:none}.chart-wind-scale span{position:absolute;right:10px;line-height:10px;color:#5f796e;font-size:9px;font-variant-numeric:tabular-nums}.axis-unit>small{position:absolute;left:10px;top:64px;max-width:76px;line-height:1.6;font-size:8px;color:#899294}.axis-unit>em{position:absolute;left:10px;bottom:4px;font-style:normal;font-size:8px;color:#498bab}.chart-labels .axis-wave{height:36px;padding:7px 10px;background:#edf7fb;display:flex;align-items:center;justify-content:space-between;font-size:9px}.axis-wave b{font-size:9px;font-weight:500}.chart-content{min-height:0}.chart-svg .meteo-hour-hit{cursor:inherit}.meteogram-svg{overflow:hidden}.chart-scroll.dragging .meteo-hour-hit{pointer-events:none}@media(max-width:760px){.meteogram-context{font-size:9px;line-height:1.5;padding-left:12px}.forecast>.forecast-legend{gap:12px}.chart-labels .axis-unit{padding-left:9px}.axis-unit>small{left:9px;max-width:65px;font-size:7px}.axis-unit>em{left:9px;font-size:7px}.chart-labels .axis-wave{padding:6px 8px;font-size:8px}.chart-wind-scale span{font-size:8px;right:8px}}

/* Clip long date labels without creating an inner scroll container. */
.timeline-day strong,.meteo-day{overflow:clip}

/* Keep the table labels aligned when the meteogram follows the comparison rows. */
.model-label.wave-model-label{height:50px;border-top:2px solid #fff}

/* The wind table is the single time control; the chart legend follows its plot. */
.wind-table-toolbar{display:flex;align-items:center;gap:13px;padding:14px 18px;border-bottom:1px solid #e4ebed}.wind-table-toolbar .play{width:32px;height:32px;flex:none}.wind-table-toolbar>b{font-size:11px;color:#244a53;font-variant-numeric:tabular-nums}.wind-table-toolbar>span{font-size:9px;color:#8a9ca3}.wind-table-toolbar .textbtn{margin-left:auto;white-space:nowrap}.forecast>.forecast-legend{padding-top:15px;border-top:1px solid #e6edef}.chart-layout{border-top:0}.forecast{margin-top:18px}@media(max-width:760px){.wind-table-toolbar{padding:12px;gap:9px}.wind-table-toolbar>b{font-size:10px}.wind-table-toolbar>span{display:none}}
/* ===== Odświeżenie interfejsu 2026-10: głębia, czytelność liczb, układ mobilny ===== */
:root{--radius:14px;--shadow-sm:0 1px 2px rgba(16,44,57,.05);--shadow:0 1px 2px rgba(16,44,57,.05),0 10px 30px -14px rgba(16,44,57,.22);--ease:cubic-bezier(.2,.7,.2,1)}
body{background:radial-gradient(1200px 600px at 70% -10%,#e3f1ef 0,transparent 60%),#f2f5f6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.topbar{position:sticky;top:0;z-index:1100;background:rgba(255,255,255,.82);-webkit-backdrop-filter:saturate(1.5) blur(14px);backdrop-filter:saturate(1.5) blur(14px)}
.sidebar{background:rgba(255,255,255,.9)}
.iconbtn{display:grid;place-items:center;background:#fff;box-shadow:var(--shadow-sm);transition:transform .15s var(--ease),box-shadow .15s var(--ease)}
.iconbtn:hover{filter:none;transform:translateY(-1px);box-shadow:var(--shadow)}
#refresh:disabled{opacity:1}
#refresh:disabled{animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.port{border-radius:var(--radius);box-shadow:var(--shadow-sm);transition:border-color .2s,box-shadow .2s var(--ease),transform .2s var(--ease),background .2s}
.port:hover{filter:none;box-shadow:var(--shadow);transform:translateY(-1px)}
.port.active{background:linear-gradient(180deg,#f2faf8,#e9f6f3);box-shadow:0 0 0 1px #65b5a7,var(--shadow)}
.port-values strong,.outlook-row b,.meteo-cell,.shiptime b,#selectedTime{font-variant-numeric:tabular-nums}
.port-sub{display:flex;align-items:center;gap:4px;margin-top:3px;font-size:10px;white-space:nowrap}
.port-gust{color:#a0672a;font-weight:600}
.port-values .flow-arrow{display:inline-block;font-style:normal;color:var(--ink);opacity:.75}
.map-section,.forecast{box-shadow:var(--shadow)}
.map-section{border-radius:16px}
.forecast{border-radius:16px}
.model-tabs button,.range-tabs button,.layer-tabs button{transition:background .2s var(--ease),color .2s var(--ease),box-shadow .2s var(--ease)}
.model-tabs button:not(.active):hover{background:#fff;filter:none}
.sidebar-block .model-tabs{flex-wrap:wrap}.sidebar-block .model-tabs button{flex:1 0 30%}
.wave-source{transition:border-color .2s,box-shadow .2s}
.wave-source:focus-visible{outline:none;border-color:#31b9ab;box-shadow:0 0 0 3px #31b9ab33}
.model-updates{border-radius:10px}
.meteo-cell{transition:filter .12s}
.meteo-cell:hover{filter:brightness(.94) saturate(1.1)}
.meteo-cell.selected,.hour-col.selected{position:relative;z-index:1}
.outlook-row{gap:10px}
dialog{border-radius:18px;box-shadow:0 30px 80px -20px rgba(16,44,57,.45)}
dialog::backdrop{background:rgba(16,44,57,.35);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
@media(prefers-reduced-motion:reduce){.port,.iconbtn,.port:hover,.iconbtn:hover{transition:none;transform:none}#refresh:disabled{animation:none}}
/* Telefon: punkty → mapa → tabela → ustawienia. Najważniejsze dane bez przewijania przez ustawienia. */
@media(max-width:760px){
.app-layout{display:flex;flex-direction:column}
.sidebar{display:contents}
.sidebar>.ports{order:1;padding:14px 16px 6px;margin:0;scroll-padding-inline:16px}
main{order:2}
.sidebar>.sidebar-block{order:3;margin:0 16px 12px;padding:14px;background:#fff;border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow-sm)}
.sidebar>.sidebar-block:first-of-type{margin-top:16px}
.sidebar>.outlook{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;align-items:start}
.sidebar>.outlook>.section-eyebrow{grid-column:1/-1}
.sidebar>.outlook .outlook-row{margin-top:0;flex-direction:column;align-items:flex-start;gap:2px}
.sidebar>.outlook .mini-note{grid-column:1/-1;margin:0}
.sidebar>.sidebar-footer{order:4;display:flex;margin:0 16px 16px;padding:10px 14px;background:#fff;border-radius:var(--radius);border:1px solid var(--border)}
.port{flex-basis:78%}
.topbar{height:62px}
}
/* Przycisk odtwarzania w narożniku tabeli (zamiast osobnego paska) */
.table-corner{position:absolute;top:0;left:0;height:50px;display:flex;align-items:center;gap:5px;padding-left:8px;z-index:3;pointer-events:none}
.table-corner>*{pointer-events:auto}
.table-corner .play{margin:0;width:30px;height:30px;font-size:11px;box-shadow:0 2px 6px rgba(16,44,57,.25)}
.table-corner .play[aria-pressed="true"]{background:var(--accent)}
.now-btn{font-size:9px;font-weight:650;color:var(--accent);padding:3px 5px;border-radius:5px;background:#fff;border:1px solid #d9ece8}
.now-btn:hover{filter:none;background:#eef8f6}
/* Punkty stanu morza przy wybrzeżu */
.route-wave-value{font-size:13px;font-weight:700;letter-spacing:-.2px;text-shadow:0 0 2px #fff,0 0 4px #fff,0 0 7px rgba(255,255,255,.9),0 1px 1px #fff}
@media(max-width:760px){.table-corner{gap:3px;padding-left:5px}.table-corner .play{width:28px;height:28px}.now-btn{font-size:8px;padding:2px 4px}}
/* Kafelki punktów: mniejsze, lżejsze, wiatr i porywy w kolorach skali tabeli */
.ports{gap:8px}
.port{padding:10px 12px 11px;border-radius:12px;border-color:#e6edef;box-shadow:none;background:rgba(255,255,255,.85)}
.port:hover{box-shadow:0 6px 18px -12px rgba(16,44,57,.35);transform:none}
.port.active{background:#fff;border-color:#7cc3b6;box-shadow:0 0 0 3px #7cc3b61f,0 8px 22px -16px rgba(16,44,57,.5)}
.port h2{font-size:14px;font-weight:650;letter-spacing:-.2px}
.port .port-code{font-size:7px;letter-spacing:.6px;color:#9fb0b5;margin-left:auto;margin-right:6px}
.port small{font-size:9px;margin-top:2px;color:#9aabb1;font-variant-numeric:tabular-nums}
.port-check{width:13px;height:13px;font-size:8px;border-color:#d5dfe1}
.port:not(.active) .port-check{background:transparent;border-color:#d5dfe1;color:transparent}
.port-wind{display:flex;align-items:stretch;gap:6px;margin-top:9px}
.wind-chip{display:flex;flex-direction:column;justify-content:center;min-width:58px;padding:4px 9px 5px;border-radius:8px;line-height:1.05;box-shadow:inset 0 0 0 1px rgba(16,44,57,.06)}
.wind-chip small{display:block;margin:0;font-size:8px;font-weight:600;letter-spacing:.4px;text-transform:uppercase;color:inherit;opacity:.72}
.wind-chip b{font:700 17px 'Manrope',sans-serif;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.wind-chip.no-data{background:#f1f4f5!important;color:#8a9ca3!important}
.port-dir{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;margin-left:2px;color:#56707a}
.port-dir .flow-arrow{font-style:normal;font-size:15px;line-height:1;color:var(--ink)}
.port-dir em{font-style:normal;font-size:8px;color:#9aabb1}
@media(max-width:760px){.port{flex-basis:64%;padding:9px 11px 10px}.wind-chip{min-width:52px;padding:3px 8px 4px}.wind-chip b{font-size:16px}}
/* Kafelek = przycisk wyboru punktu + przełącznik flag na mapie */
.port{position:relative;padding:0}
.port-main{display:block;width:100%;text-align:left;padding:10px 12px 11px;border-radius:inherit;background:none}
.port-main:hover{filter:none}
.port-top h2{padding-right:30px}
.port-flag{position:absolute;top:7px;right:7px;width:26px;height:26px;border-radius:8px;display:grid;place-items:center;border:1px solid #dfe8ea;background:#fff;color:#a3b4b9;transition:background .15s,color .15s,border-color .15s}
.port-flag svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.port-flag.on{background:var(--accent);border-color:var(--accent);color:#fff}
.port-flag.on svg{fill:rgba(255,255,255,.35)}
.port-flag:hover{filter:none;border-color:#7cc3b6;color:var(--accent)}
.port-flag.on:hover{color:#fff;background:#0b7a6a}
@media(max-width:760px){.port-main{padding:9px 11px 10px}}
/* Kafelki na szerokość trzech pól: wiatr, porywy, kierunek */
.ports{display:grid;grid-template-columns:max-content;justify-content:start}
.port{width:auto}
.port-wind{gap:5px;margin-top:8px}
.wind-chip{width:58px;min-width:0;height:40px;padding:4px 8px;box-sizing:border-box;position:relative;overflow:hidden}
.dir-chip{padding:0;align-items:center}
.dir-arrow{position:absolute;inset:0;width:100%;height:100%}
.dir-arrow{overflow:visible}
.dir-arrow line,.dir-arrow path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.dir-arrow .dir-track{stroke-width:1.1;opacity:.35}
.dir-arrow .dir-flow{stroke-width:2.2;opacity:0;animation:dir-streak var(--flow-duration,1.6s) linear infinite}
.dir-arrow .dir-flow-2{animation-delay:calc(var(--flow-duration,1.6s) / -2)}
.dir-arrow .dir-head{stroke-width:1.4;opacity:.85;transform-box:view-box;animation:dir-head calc(var(--flow-duration,1.6s) / 2) ease-out infinite;animation-delay:calc(var(--flow-duration,1.6s) * var(--head-delay,0))}
@keyframes dir-streak{0%{stroke-dashoffset:9px;opacity:0}12%{opacity:.95}84%{opacity:.95}100%{stroke-dashoffset:calc(-1 * var(--len,46px));opacity:0}}
/* Grot „odbiera” smugę: krótki puls w chwili, gdy smuga do niego dociera. */
@keyframes dir-head{0%{transform:scale(1);stroke-width:1.4px;opacity:.85}10%{transform:scale(1.4);stroke-width:2.3px;opacity:1}40%{transform:scale(1);stroke-width:1.4px;opacity:.85}100%{transform:scale(1);stroke-width:1.4px;opacity:.85}}
/* Systemowe „ogranicz ruch”: animacja zostaje, ale jest wolniejsza i spokojniejsza. */
@media(prefers-reduced-motion:reduce){.dir-chip{--flow-duration:4s!important}}
.dir-chip .dir-name{position:absolute;left:6px;top:3px;font-size:7.5px;font-weight:700;letter-spacing:.2px;opacity:.8;text-transform:none}
.port-top h2{white-space:nowrap}
@media(max-width:760px){.port{flex:0 0 auto}.wind-chip{width:54px;height:38px}}
.port-wind>.wind-chip{flex:0 0 58px;width:58px;height:40px}
@media(max-width:760px){.port-wind>.wind-chip{flex-basis:54px;width:54px;height:38px}}
/* Kafelki punktów po lewej stronie mapy */
.top-row{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:16px;align-items:start}
.ports-column{display:flex;flex-direction:column;gap:10px}
.ports-column>.section-eyebrow{padding:2px 2px 0}
.sidebar>.sidebar-block:first-child{margin-top:0;padding-top:0;border-top:0}
@media(max-width:760px){
.top-row{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.ports-column{min-width:0}
.ports-column>.section-eyebrow{display:none}
.ports-column>.ports{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:2px 0 6px;margin:0}
}
/* Kolumna po lewej mapy: punkty u góry, wybór modeli u dołu, razem tej samej wysokości co mapa */
.top-row{align-items:stretch}
.top-row>.map-section{height:auto;align-self:stretch}
.ports-column{justify-content:space-between;gap:10px}
.ports-column>.ports{gap:8px}
.model-pickers{display:flex;flex-direction:column;gap:8px}
.picker-card{display:block;padding:9px 12px 10px;border:1px solid #e6edef;border-radius:12px;background:rgba(255,255,255,.85);cursor:pointer;transition:border-color .2s,box-shadow .2s}
.picker-card:hover{box-shadow:0 6px 18px -12px rgba(16,44,57,.35)}
.picker-card:focus-within{border-color:#7cc3b6;box-shadow:0 0 0 3px #7cc3b61f}
.picker-title{display:flex;align-items:center;gap:6px;font-size:8.5px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase;color:#7b8f97}
.picker-title svg{width:13px;height:13px;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.picker-select{position:relative;display:block;margin-top:6px}
.picker{appearance:none;-webkit-appearance:none;width:100%;padding:7px 26px 7px 9px;border:1px solid #dfe8ea;border-radius:8px;background:#f7fafa;font:600 12.5px 'DM Sans',system-ui,sans-serif;color:var(--ink);cursor:pointer;text-overflow:ellipsis}
.picker:hover{background:#fff;border-color:#c9dadd}
.picker:focus-visible{outline:none;border-color:#31b9ab;box-shadow:0 0 0 3px #31b9ab33;background:#fff}
.picker option:disabled{color:#a3b2b7}
.picker-chevron{position:absolute;right:9px;top:50%;width:12px;height:12px;margin-top:-6px;pointer-events:none;fill:none;stroke:#5f7680;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:760px){
.model-pickers{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.picker-card{padding:8px 10px 9px}
.picker{font-size:12px;padding:6px 24px 6px 8px}
}
@media(min-width:761px){.model-pickers{width:0;min-width:100%}.ports-column>.ports .port{width:100%}}
/* Etykieta źródła na mapie: ta sama szerokość co przełącznik Wiatr / Porywy / Fala */
.map-top{right:auto;align-items:stretch}
.map-top>.map-stamp{align-self:stretch;position:static;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 10px;font-size:9.5px;border-radius:8px;white-space:nowrap}
.stamp-source{display:flex;align-items:center;gap:6px}
.stamp-source b{color:#fff;font-weight:650;letter-spacing:.2px}
.stamp-time{color:#9fb6bf}
.stamp-time b{color:#e3eef2;font-weight:600;font-variant-numeric:tabular-nums;margin-left:2px}
@media(max-width:760px){.map-top>.map-stamp{font-size:8.5px;gap:6px;padding:6px 8px}}
/* Bez panelu bocznego: treść na całą szerokość */
.app-layout{display:block}
main{max-width:1680px;margin:0 auto}
/* Bez górnego paska: logo, zegar i przyciski w kolumnie po lewej stronie, równo z górą kafelków */
main{padding-top:14px}
.top-row{grid-template-columns:max-content max-content minmax(0,1fr)}
.brand-column{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-top:2px}
.brand-column .brand{font-size:21px;gap:9px}
.brand-column .brandmark{width:38px;height:38px;font-size:36px;border-radius:10px}
.brand-column .brand-sub{font-size:7px;letter-spacing:2.8px}
.brand-clock{display:flex;flex-direction:column;gap:1px;font-size:9px;letter-spacing:.4px;color:var(--muted)}
.brand-clock b{font:650 16px 'Manrope',sans-serif;color:var(--ink);letter-spacing:-.2px;font-variant-numeric:tabular-nums}
.brand-actions{display:flex;gap:8px}
@media(max-width:760px){
main{padding-top:10px}
.brand-column{flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:10px;padding:0 2px}
.brand-column .brand{font-size:18px}
.brand-column .brandmark{width:32px;height:32px;font-size:30px}
.brand-clock{margin-left:auto;align-items:flex-end}
.brand-clock b{font-size:13px}
}
/* Tabela wyrównana z kolumną kafelków (lewa krawędź) i z mapą (prawa krawędź) */
@media(min-width:761px){
main{display:grid;grid-template-columns:max-content max-content minmax(0,1fr);column-gap:16px;align-items:stretch}
.top-row{display:contents}
.brand-column{align-self:start}
main>.forecast{grid-column:2 / -1;min-width:0}
main>.page-footer{grid-column:2 / -1}
}
/* Przycisk pełnego ekranu mapy (prawy górny róg) */
.map-full-btn{position:absolute;top:16px;right:16px;z-index:850;width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#0f2535ed;border:1px solid #3f58675c;color:#d8e8ee;box-shadow:0 4px 16px #0002;transition:background .15s,transform .15s}
.map-full-btn:hover{filter:none;background:#163448;transform:scale(1.05)}
.map-full-btn svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.map-full-btn .icon-collapse{display:none}
.map-section.map-full .map-full-btn .icon-expand{display:none}
.map-section.map-full .map-full-btn .icon-collapse{display:block}
.map-section.map-full{position:fixed!important;inset:0;z-index:3000;width:100vw!important;height:100vh!important;height:100dvh!important;max-height:none!important;min-height:0!important;border-radius:0!important;margin:0}
.map-section:fullscreen{width:100vw;height:100vh;border-radius:0}
body.map-full-open{overflow:hidden}
@media(max-width:760px){.map-full-btn{top:12px;right:12px;width:32px;height:32px}}
/* Wiatr i porywy: podpis i wartość na środku pola */
.wind-chip:not(.dir-chip){align-items:center;text-align:center;padding-left:4px;padding-right:4px}
/* Kierunek: jasnoniebieskie pole, strzałka poniżej skrótu kierunku */
.dir-chip{background:#e4f2fb;color:#2a6f9a;box-shadow:inset 0 0 0 1px #c9e2f2}
.dir-chip .dir-name{left:0;right:0;top:3px;text-align:center;font-size:7.5px;letter-spacing:.3px}
/* Logo z czasem szwedzkim wyśrodkowanym pod spodem */
.brand-column{align-items:center;text-align:center}
.brand-clock{align-items:center}
@media(max-width:760px){.brand-column{align-items:center}.brand-clock{align-items:flex-end}}
/* "Now" na czerwono */
.now-btn{color:#d63a32;border-color:#f3cfcc}
.now-btn:hover{background:#fdf0ef}
/* Nazwy modeli w tabeli: wyraźniejsze i nieco większe, bez zmiany rozmiaru komórek */
.model-label>span{font-size:12.5px;font-weight:700;color:#14323c;letter-spacing:.1px}
.model-label small{font-size:8.5px;color:#6f8790}
.model-label em{color:#6f8790}
.model-label.primary-model>span{color:#0a7a67}
@media(max-width:760px){.model-label>span{font-size:11.5px}.model-label small{font-size:7.5px}}
/* Oś czasu na pełnym ekranie mapy: między przyciskiem „−” a legendą wiatru */
.map-timeline{display:none;position:absolute;z-index:820;left:64px;right:76px;bottom:24px;height:32px;align-items:center;gap:8px;padding:0 12px 0 0;background:#0f2535ed;border:1px solid #3f58675c;border-radius:8px;color:#d8e8ee}
.map-section.map-full .map-timeline,.map-section:fullscreen .map-timeline{display:flex}
.map-tl-play{flex:0 0 32px;height:30px;border-radius:7px 0 0 7px;background:#16394a;color:#e8f4f8;font-size:11px;border-right:1px solid #3f586780}
.map-tl-play[aria-pressed="true"]{background:#0d8c7a}
.map-tl-play:hover{filter:none;background:#1d4a5e}
.map-tl-track{position:relative;flex:1;height:100%;min-width:0}
.map-tl-days{position:absolute;inset:0;display:flex;pointer-events:none}
.map-tl-days>span{position:relative;height:100%;border-left:1px solid #ffffff2e;overflow:hidden}
.map-tl-days>span:first-child{border-left:0}
.map-tl-days b{position:absolute;left:6px;top:3px;font-size:9px;font-weight:600;letter-spacing:.3px;color:#9fb6bf;white-space:nowrap}
.map-tl-range{-webkit-appearance:none;appearance:none;position:absolute;left:0;right:0;bottom:6px;width:100%;height:4px;margin:0;border-radius:2px;cursor:pointer;background:linear-gradient(90deg,#4fc3b0 var(--tl-pct,0%),#ffffff33 var(--tl-pct,0%))}
.map-tl-range::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;border-radius:50%;background:#fff;border:3px solid #0d8c7a;box-shadow:0 1px 4px #0006;cursor:grab}
.map-tl-range::-moz-range-thumb{width:10px;height:10px;border-radius:50%;background:#fff;border:3px solid #0d8c7a;cursor:grab}
.map-tl-range:focus-visible{outline:2px solid #4fc3b0;outline-offset:4px}
.map-tl-time{position:absolute;top:-24px;transform:translateX(-50%);font-size:9.5px;font-weight:700;color:#fff;background:#d63a32;padding:1px 6px;border-radius:4px;white-space:nowrap;pointer-events:none}
@media(max-width:760px){.map-timeline{left:54px;right:68px;bottom:24px}.map-tl-days b{font-size:8px;left:4px}}
.map-tl-track{display:flex;flex-direction:column;justify-content:center;gap:3px;padding:2px 0}
.map-tl-days{position:relative;inset:auto;height:11px;flex:0 0 11px}
.map-tl-days b{top:0;line-height:11px}
.map-tl-range{position:relative;left:auto;right:auto;bottom:auto;flex:0 0 4px;height:4px!important;min-height:0;padding:0;border:0}
.map-tl-range:focus-visible{outline:none}
.map-tl-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px #4fc3b080}
/* Mniejszy wykres pod tabelą (bez wiersza fali), legenda schowana */
.meteogram-plot,.meteogram-svg{height:112px}
.chart-labels .axis-unit{height:112px;padding-top:4px}
.axis-unit>small{top:40px}
.axis-unit>em{bottom:2px}
.forecast-legend{display:none}
/* Pionowy kursor czasu przez wszystkie modele i wykres */
.chart-content{position:relative}
.time-cursor{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background:#d63a32;z-index:6;pointer-events:none;outline:none}
.time-cursor::before{content:'';position:absolute;top:0;bottom:0;left:-8px;width:18px;pointer-events:auto;cursor:ew-resize}
.time-cursor-handle{position:absolute;top:3px;left:-8px;width:18px;height:18px;border-radius:50%;background:#d63a32;box-shadow:0 0 0 2px #fff,0 2px 6px rgba(16,44,57,.35);pointer-events:auto;cursor:grab}
.time-cursor-handle::before,.time-cursor-handle::after{content:'';position:absolute;top:5px;width:1.5px;height:8px;background:#fff;border-radius:1px}
.time-cursor-handle::before{left:6px}.time-cursor-handle::after{left:10px}
.time-cursor:focus-visible .time-cursor-handle{box-shadow:0 0 0 2px #fff,0 0 0 5px #d63a3255}
.chart-content.cursor-dragging,.chart-content.cursor-dragging *{cursor:ew-resize!important;user-select:none}
/* Przyciski Play i Now: równe, czytelne */
.table-corner .play,.table-corner .now-btn{width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;padding:0;margin:0}
.table-corner .play svg{width:17px;height:17px;fill:currentColor;margin-left:1px}
.table-corner .play[aria-pressed="true"] svg{margin-left:0}
.table-corner .now-btn{font-size:9.5px;font-weight:700;letter-spacing:.2px;background:#fff;color:#d63a32;border:1.5px solid #f0b9b5;box-shadow:0 2px 6px rgba(16,44,57,.12)}
.map-tl-play{display:grid;place-items:center}
.map-tl-play svg{width:14px;height:14px;fill:currentColor}
@media(max-width:760px){.table-corner .play,.table-corner .now-btn{width:30px;height:30px;flex-basis:30px}.table-corner .now-btn{font-size:8.5px}}
.meteogram-plot,.meteogram-svg{height:100px}
.chart-labels .axis-unit{height:100px}
.axis-unit>small{top:34px}
/* Mniej linii pod tabelą, żeby całość mieściła się na ekranie */
#meteogramContext,.forecast-footer{display:none}
.forecast{margin-top:12px}
main>.page-footer{padding:8px 4px 10px;min-height:0}
/* Kursor czasu: linia przezroczysta w 60 %, żeby nie zasłaniała wartości (uchwyt zostaje pełny) */
.time-cursor{background:rgba(214,58,50,.4)}
/* Telefon: mapa ma stałą wysokość (w kolumnie nie ma czego rozciągać) */
@media(max-width:760px){.top-row>.map-section{height:clamp(380px,62vh,520px);min-height:0;align-self:stretch}}
/* Pogoda w kafelku: ikona i temperatura między nazwą a flagą */
.port-top{display:flex;align-items:center;gap:6px;padding-right:30px}
.port-top h2{padding-right:0;min-width:0;overflow:hidden;text-overflow:ellipsis}
.port-wx{display:flex;align-items:center;gap:2px;margin-left:auto;flex:none;color:#14323c}
.port-wx svg{width:20px;height:20px}
.port-wx b{font:700 13px 'Manrope',sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.2px}
/* Min/maks temperatury dnia pod ikoną pogody */
.port-sub-row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:2px}
.port-sub-row small{margin-top:0}
.port-range{display:flex;gap:6px;flex:none;font:700 11px 'Manrope',sans-serif;font-variant-numeric:tabular-nums}
.port-range .t-min{color:#1a9b4b}
.port-range .t-max{color:#d63a32}
/* Nazwy modeli w tabeli wyrównane do lewej */
.model-label{align-items:flex-start;padding-left:14px;text-align:left}
.model-label>span{justify-content:flex-start}
@media(max-width:760px){.model-label{padding-left:9px}}
/* Nagłówek kafelka: nazwa i współrzędne po lewej, pogoda (teraz + min/maks) jako jeden blok po prawej */
.port-top{align-items:flex-start}
.port-id{min-width:0;flex:1}
.port-id h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.port-id small{display:block;margin-top:2px}
.port-wx{flex-direction:column;align-items:center;gap:0;margin-left:auto}
.port-wx-now{display:flex;align-items:center;gap:2px}
.port-wx .port-range{gap:5px;margin-top:-1px;font-size:10.5px}
/* Wykres pod tabelą: nazwa miejsca (zaznaczony kafelek) i mniejsza wysokość */
.meteogram-plot,.meteogram-svg{height:84px}
.chart-labels .axis-unit{height:84px;padding-top:4px}
.chart-place{display:flex;align-items:center;gap:3px;max-width:calc(100% - 22px);font:700 10.5px 'Manrope',sans-serif;color:#0a7a67;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.chart-place::before{content:'';flex:none;width:7px;height:7px;border-radius:50%;background:#0d8c7a;box-shadow:0 0 0 2px #0d8c7a33;margin-right:2px}
.axis-unit>span{display:block;font-size:8.5px;line-height:12px;color:#5f796e}
.axis-unit>small{top:32px;line-height:1.45}
@media(max-width:760px){.chart-place{font-size:9.5px}}
/* Niższe wiersze modeli (38 px zamiast 48 px, te same rozmiary liczb i strzałek); wykres dostaje odzyskane miejsce */
.model-row{height:38px}
.meteo-cell{height:38px}
.model-row:not(.wave-model-row) .meteo-cell .meteo-wind{height:21px;min-height:21px;line-height:18px}
.model-row:not(.wave-model-row) .meteo-cell .meteo-gust{height:17px;min-height:17px;line-height:17px}
.model-label{height:38px;padding-top:2px;padding-bottom:2px}
.model-label em{margin-top:1px}
.meteogram-plot,.meteogram-svg{height:100px}
.chart-labels .axis-unit{height:100px}
.axis-unit>small{top:36px}
