.ko-dashboard .ko-top-grid{grid-template-columns:1fr}.ko-shore{margin:18px 0 0;padding:16px;border:1px solid #cfe5f6;border-radius:12px;text-align:center;background:#fff}.ko-shore-title{display:block;font-size:11px;letter-spacing:1px;font-weight:700;color:#52708b}.ko-shore-status{margin:9px auto;padding:9px 16px;border-radius:9px;font-size:18px;font-weight:800}.ko-shore-status.green{background:#dcfce7;color:#166534}.ko-shore-status.yellow{background:#fef3c7;color:#854d0e}.ko-shore-status.red{background:#fee2e2;color:#b91c1c}.ko-shore-status.neutral{background:#eef2f6;color:#526579}.ko-shore p{font-size:13px;margin:6px 0}.ko-shore small{display:block;color:#52708b;font-size:11px;line-height:1.5}

.ko-shore-status.orange{background:#ffedd5;color:#9a3412}

/* Blocco vento orizzontale compatto */
.ko-dashboard .ko-wind-card{padding:20px 24px}
.ko-dashboard .ko-wind-card h2{margin-bottom:16px}
.ko-dashboard .ko-wind-layout{grid-template-columns:minmax(420px,1.1fr) minmax(340px,1fr);gap:24px;align-items:center}
.ko-dashboard .ko-wind-layout>div:first-child{display:grid;grid-template-columns:180px minmax(210px,1fr);column-gap:20px;align-items:center}
.ko-dashboard .ko-compass{grid-column:1;grid-row:1 / span 6;width:180px;height:180px}
.ko-dashboard .ko-compass-ring{inset:20px;border-width:4px}
.ko-dashboard .ko-compass-arrow{top:30px;height:60px;transform-origin:50% 60px}
.ko-dashboard .ko-compass-center{width:60px;height:60px}
.ko-dashboard .ko-compass-center b{font-size:17px}
.ko-dashboard .ko-cardinal{font-size:12px}
.ko-dashboard .ko-cardinal.ne,.ko-dashboard .ko-cardinal.nw{top:20px}
.ko-dashboard .ko-cardinal.se,.ko-dashboard .ko-cardinal.sw{bottom:20px}
.ko-dashboard .ko-cardinal.ne,.ko-dashboard .ko-cardinal.se{right:18px}
.ko-dashboard .ko-cardinal.nw,.ko-dashboard .ko-cardinal.sw{left:18px}
.ko-dashboard .ko-wind-big,.ko-dashboard .ko-wind-caption,.ko-dashboard .ko-condition,.ko-dashboard .ko-condition-copy,.ko-dashboard .ko-shore{grid-column:2}
.ko-dashboard .ko-wind-big{margin:0;line-height:1.15}
.ko-dashboard .ko-wind-big b{font-size:40px}
.ko-dashboard .ko-wind-caption{font-size:12px}
.ko-dashboard .ko-condition{margin:8px auto 4px;width:100%;font-size:13px;padding:7px 12px}
.ko-dashboard .ko-condition-copy{font-size:12px}
.ko-dashboard .ko-shore{margin-top:10px;padding:10px 12px}
.ko-dashboard .ko-shore-title{font-size:10px;letter-spacing:.6px}
.ko-dashboard .ko-shore-status{font-size:16px;margin:6px 0;padding:6px 10px}
.ko-dashboard .ko-shore p{font-size:12px;line-height:1.35;margin:0}
.ko-dashboard .ko-shore small{font-size:10px;margin-top:5px}
.ko-dashboard .ko-live-metrics{display:grid;grid-template-columns:1fr 1fr;column-gap:24px;padding-left:24px;align-self:stretch;align-content:center}
.ko-dashboard .ko-live-metrics p{display:flex;flex-direction:column;justify-content:center;padding:10px 0;min-width:0}
.ko-dashboard .ko-live-metrics span{font-size:12px;margin-bottom:3px}
.ko-dashboard .ko-live-metrics b{font-size:17px;white-space:nowrap}
@media(max-width:1000px){
.ko-dashboard .ko-wind-layout{grid-template-columns:1fr;gap:16px}
.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:180px 1fr}
.ko-dashboard .ko-live-metrics{border-left:0;border-top:1px solid var(--line);padding:4px 0 0;grid-template-columns:repeat(4,1fr);gap:0 16px}
}
@media(max-width:620px){
.ko-dashboard .ko-wind-card{padding:16px}
.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:1fr}
.ko-dashboard .ko-compass{grid-column:1;grid-row:auto}
.ko-dashboard .ko-wind-big,.ko-dashboard .ko-wind-caption,.ko-dashboard .ko-condition,.ko-dashboard .ko-condition-copy,.ko-dashboard .ko-shore{grid-column:1}
.ko-dashboard .ko-live-metrics{grid-template-columns:1fr 1fr}
}

.ko-dashboard .ko-map-card{display:none!important}

.ko-dashboard .ko-live-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}
.ko-dashboard .ko-live-metrics b{white-space:normal;font-size:16px}
.ko-dashboard .ko-live-metrics .ko-daily-max{background:#eef8ff;padding:10px 8px;border-radius:8px}
@media(max-width:1000px){.ko-dashboard .ko-live-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.ko-dashboard .ko-live-metrics{grid-template-columns:1fr 1fr}}

.ko-dashboard .ko-combined-title{grid-column:2;text-align:center;color:#52708b;font-size:11px;font-weight:700;margin-top:8px;letter-spacing:.5px}
.ko-dashboard .ko-condition.green{background:#dcfce7;color:#166534}
.ko-dashboard .ko-condition.yellow{background:#fef3c7;color:#854d0e}
.ko-dashboard .ko-condition.orange{background:#ffedd5;color:#9a3412}
.ko-dashboard .ko-condition.red{background:#fee2e2;color:#b91c1c}
.ko-dashboard .ko-condition.magenta{background:#fae8ff;color:#86198f}
.ko-dashboard .ko-condition.blue{background:#e0f2fe;color:#075985}
.ko-dashboard .ko-condition.neutral{background:#eef2f6;color:#526579}
.ko-dashboard .ko-wind-layout>div:first-child{grid-template-rows:auto}
.ko-dashboard .ko-compass{grid-row:1 / span 7}
@media(max-width:620px){.ko-dashboard .ko-combined-title{grid-column:1}.ko-dashboard .ko-compass{grid-row:auto}}
/* Velocità in primo piano, condizioni più compatte */
.ko-dashboard .ko-wind-big b{font-size:50px;line-height:1.05}
.ko-dashboard .ko-wind-big span{font-size:20px}
.ko-dashboard .ko-combined-title{font-size:10px;margin-top:6px}
.ko-dashboard .ko-condition{font-size:12px;padding:5px 9px;margin:6px auto 3px;max-width:240px;line-height:1.3;border-radius:8px}
.ko-dashboard .ko-shore{padding:8px 10px;margin-top:8px}
.ko-dashboard .ko-shore-status{font-size:14px;padding:5px 8px;margin:5px 0}
@media(max-width:620px){.ko-dashboard .ko-wind-big b{font-size:46px}}
/* Allineamento centrale di valori, titoli e indicatori */
.ko-dashboard .ko-wind-big,.ko-dashboard .ko-wind-caption,.ko-dashboard .ko-combined-title,.ko-dashboard .ko-condition-copy,.ko-dashboard .ko-shore{width:100%;min-width:0;justify-self:center;text-align:center}
.ko-dashboard .ko-wind-big{display:flex;align-items:baseline;justify-content:center;gap:5px}
.ko-dashboard .ko-wind-big b,.ko-dashboard .ko-wind-big span{float:none;margin:0}
.ko-dashboard .ko-condition{width:100%;justify-self:center;text-align:center;margin-left:auto;margin-right:auto;float:none}
.ko-dashboard .ko-shore-title,.ko-dashboard .ko-shore p,.ko-dashboard .ko-shore small{display:block;width:100%;text-align:center;margin-left:auto;margin-right:auto}
.ko-dashboard .ko-shore-status{display:block;width:100%;max-width:240px;float:none;text-align:center;margin:5px auto}
/* Rosa ampliata con 16 direzioni e riquadro costa più stretto */
.ko-dashboard .ko-wind-layout{grid-template-columns:minmax(440px,1.15fr) minmax(320px,1fr);gap:22px}
.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:220px minmax(190px,1fr);column-gap:16px}
.ko-dashboard .ko-compass{width:220px;height:220px}
.ko-dashboard .ko-compass-ring{inset:28px}
.ko-dashboard .ko-compass-arrow{top:42px;height:68px;transform-origin:50% 68px}
.ko-dashboard .ko-compass .ko-cardinal{inset:auto!important;transform:translate(-50%,-50%);font-size:11px;line-height:1}
.ko-dashboard .ko-shore{max-width:220px;justify-self:center;padding:8px}
.ko-dashboard .ko-shore-status{max-width:200px}
@media(max-width:1000px){.ko-dashboard .ko-wind-layout{grid-template-columns:1fr}.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:220px 1fr}}
@media(max-width:620px){.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:1fr}.ko-dashboard .ko-shore{max-width:260px}}
/* Numero centrato indipendentemente dall'unità */
.ko-dashboard .ko-wind-big{display:block;position:relative;width:100%;text-align:center;line-height:1.05}
.ko-dashboard .ko-wind-big b{display:inline-block;position:relative;float:none;white-space:nowrap}
.ko-dashboard .ko-wind-big b:after{content:'nodi';position:absolute;left:calc(100% + 6px);bottom:3px;font-size:17px;font-weight:400}
.ko-dashboard .ko-wind-big>span{display:none}
.ko-dashboard .ko-layout-note{margin:10px 0 0;padding-top:8px;border-top:1px solid var(--line);font-size:11px;line-height:1.35;text-align:center;color:var(--muted)}
.ko-dashboard .ko-shore small{display:none}
.ko-dashboard .ko-shore p{line-height:1.3;margin:4px 0 0}
/* Sintesi ridondante eliminata */
.ko-dashboard .ko-summary{display:none!important}
.ko-dashboard .ko-source-line{font-size:11px;color:var(--muted);margin:-7px 0 12px;line-height:1.4}
.ko-dashboard .ko-history-table{overflow-x:auto;margin-top:14px;max-height:360px;overflow-y:auto}
.ko-dashboard .ko-history-table table{width:100%;border-collapse:collapse;font-size:12px}
.ko-dashboard .ko-history-table th,.ko-dashboard .ko-history-table td{padding:8px;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap}
.ko-dashboard .ko-history-table th{background:#eef8ff}
.ko-dashboard .ko-compare{display:none!important}
/* Blocco compatto senza indicazione pubblica delle fonti */
.ko-dashboard .ko-source-line{display:none!important}
.ko-dashboard .ko-wind-card{padding:14px 18px}
.ko-dashboard .ko-wind-card h2{margin-bottom:10px;font-size:17px}
.ko-dashboard .ko-wind-layout{grid-template-columns:minmax(395px,.95fr) minmax(400px,1.3fr);gap:18px}
.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:210px minmax(170px,1fr);column-gap:12px}
.ko-dashboard .ko-compass{width:210px;height:210px}
.ko-dashboard .ko-compass-arrow{top:40px;height:65px;transform-origin:50% 65px}
.ko-dashboard .ko-live-metrics{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:12px;padding-left:18px}
.ko-dashboard .ko-live-metrics p{padding:8px 0}
.ko-dashboard .ko-live-metrics span{font-size:11px;margin-bottom:3px}
.ko-dashboard .ko-live-metrics b{font-size:15px}
.ko-dashboard .ko-live-metrics .ko-daily-max{padding:8px 6px}
.ko-dashboard .ko-shore{padding:6px 8px;margin-top:6px;max-width:210px}
.ko-dashboard .ko-shore p{font-size:11px}
.ko-dashboard .ko-layout-note{margin-top:6px;padding-top:6px}
@media(max-width:1050px){.ko-dashboard .ko-wind-layout{grid-template-columns:1fr}.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:210px 1fr}.ko-dashboard .ko-live-metrics{border-left:0;border-top:1px solid var(--line);padding:4px 0 0}}
@media(max-width:620px){.ko-dashboard .ko-wind-layout>div:first-child{grid-template-columns:1fr}.ko-dashboard .ko-live-metrics{grid-template-columns:1fr 1fr}.ko-dashboard .ko-wind-card{padding:14px}.ko-dashboard .ko-shore{max-width:260px}}
.ko-dashboard .ko-history-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}
.ko-dashboard .ko-history-controls label,.ko-dashboard .ko-year-report label{font-size:12px}
.ko-dashboard .ko-history-controls input,.ko-dashboard .ko-year-report input{padding:7px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text)}
.ko-dashboard .ko-year-report{margin-top:14px}
.ko-dashboard .ko-report-note{font-size:12px;color:var(--muted);line-height:1.5}
.ko-dashboard .ko-report-table{overflow-x:auto}
.ko-dashboard .ko-report-table table{width:100%;border-collapse:collapse;font-size:12px}
.ko-dashboard .ko-report-table td,.ko-dashboard .ko-report-table th{padding:9px;border-bottom:1px solid var(--line);white-space:nowrap;text-align:left}
.ko-dashboard .ko-year-report input{width:90px}
.ko-dashboard #ko-report-toggle{border:0;background:#087fd3;color:#fff;border-radius:18px;padding:9px 16px;font-weight:700;font-size:12px;cursor:pointer}
.ko-dashboard #ko-report-content[hidden]{display:none!important}
.ko-dashboard .ko-band-blue{color:#087fd3;font-weight:700}
.ko-dashboard .ko-band-green{color:#16863d;font-weight:700;background:#f0fdf4}
.ko-dashboard .ko-band-orange{color:#b45309;font-weight:700;background:#fff7ed}
.ko-dashboard .ko-band-red{color:#b91c1c;font-weight:700;background:#fef2f2}
.ko-dashboard .ko-band-magenta{color:#a21caf;font-weight:700;background:#fdf4ff}

.ko-dashboard .ko-condition.extreme{background:#e000a8;color:#fff;font-weight:800}
.ko-dashboard .ko-wind-big.extreme{color:#e000a8}

.ko-dashboard .ko-compass-center{width:88px;height:88px;padding:6px;text-align:center;gap:2px}
.ko-dashboard .ko-compass-center b{font-size:16px}
.ko-dashboard .ko-compass-center .ko-wind-name{font-size:10px;line-height:1.15;max-width:78px;overflow-wrap:anywhere;color:#fff}
/* Nomi dei venti doppi centrati nel riquadro */
.ko-dashboard .ko-compass-center .ko-wind-name{display:flex;flex-direction:column;align-items:center;justify-content:center;width:76px;max-width:76px;min-height:25px;padding:3px 2px;border-radius:5px;background:rgba(255,255,255,.13);text-align:center;font-size:10px;line-height:1.15;overflow-wrap:normal;word-break:normal}
.ko-dashboard .ko-compass-center .ko-wind-name span{display:block;width:100%;text-align:center}
.ko-dashboard .ko-evolution,.ko-dashboard .ko-forecast{margin-top:14px}
.ko-dashboard .ko-evolution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ko-dashboard .ko-evolution-grid span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
.ko-dashboard .ko-evolution-grid b{font-size:15px}
.ko-dashboard .ko-forecast button{border:0;border-radius:18px;background:#087fd3;color:#fff;padding:9px 16px;font-size:12px;font-weight:700;cursor:pointer}
.ko-dashboard .ko-forecast-body[hidden]{display:none!important}
.ko-dashboard .ko-forecast-body p,.ko-dashboard .ko-forecast-body a{font-size:12px;line-height:1.5}
.ko-dashboard .ko-forecast-body{overflow-x:auto}
@media(max-width:620px){.ko-dashboard .ko-evolution-grid{grid-template-columns:1fr;gap:12px}}

.ko-dashboard .ko-history-trend{font-size:12px;color:var(--muted);margin:8px 0 0}
.ko-dashboard .ko-history-trend b{color:var(--text)}

.ko-dashboard .ko-forecast-body{margin-top:8px;padding:0;max-width:100%}
.ko-dashboard .ko-forecast-body iframe{display:block;border:0;max-width:100%}
@media(max-width:600px){.ko-dashboard .ko-history .ko-card-title{flex-wrap:wrap;gap:8px}.ko-dashboard #ko-history-toggle{white-space:normal;max-width:100%}}

/* Nome vento originale, più leggibile; telefono stazione. */
.ko-dashboard .ko-compass-center .ko-wind-name{background:rgba(255,255,255,.13);color:#fff;font-size:11px;font-weight:700;line-height:1.2;width:82px;max-width:82px;min-height:27px;padding:3px 1px;border-radius:5px;letter-spacing:.1px;text-shadow:0 1px 1px rgba(0,0,0,.3)}
.ko-dashboard .ko-compass-center .ko-wind-name span{color:#fff;font-size:inherit;font-weight:inherit;line-height:inherit;text-align:center}
.ko-dashboard .ko-phone-weather{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#eaf5fc;border:1px solid #cfe5f6;border-radius:12px;padding:14px 18px;margin:0 0 14px}
.ko-dashboard .ko-phone-copy{display:flex;flex-direction:column;gap:6px}
.ko-dashboard .ko-phone-copy strong{font-size:13px;color:#07537f}
.ko-dashboard .ko-phone-copy span{font-size:13px;color:#315e7b}
.ko-dashboard .ko-phone-weather a{display:inline-block;background:#087fd3;color:white;text-decoration:none;border-radius:18px;padding:11px 17px;font-size:12px;font-weight:700;white-space:nowrap}
@media(max-width:600px){.ko-dashboard .ko-phone-weather{flex-wrap:wrap}.ko-dashboard .ko-phone-weather a{padding:12px 16px}}

.ko-dashboard .ko-forecast-body{overflow-x:auto;max-width:100%;-webkit-overflow-scrolling:touch}.ko-dashboard .ko-forecast-body iframe{width:1100px;min-width:1100px;max-width:none;min-height:350px;border:0}

/* Layout approvato 3.1.0 */
.ko-dashboard{min-width:0;max-width:100%;box-sizing:border-box}
.ko-dashboard .ko-wind-layout,.ko-dashboard .ko-wind-layout>div{min-width:0}
.ko-dashboard .ko-rose-group{grid-column:1;grid-row:1/8;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.ko-dashboard .ko-compass{position:relative;width:210px;height:210px;margin:0;background:#fff;border:0;box-shadow:none;flex-shrink:0}
.ko-dashboard .ko-rose-image{display:block;width:100%;height:100%;object-fit:contain;filter:url(#ko-navy-rose)}
.ko-dashboard .ko-compass-arrow{position:absolute;inset:0!important;width:100%!important;height:100%!important;background:none!important;border:0;clip-path:none;transform-origin:50% 50%!important;z-index:2}
.ko-dashboard .ko-compass-arrow:before{content:'';position:absolute;left:calc(50% - 4px)!important;top:27px!important;width:8px;height:78px;border:0!important;background:#e31c32;clip-path:polygon(50% 0,100% 14%,65% 14%,65% 100%,35% 100%,35% 14%,0 14%)}
.ko-dashboard .ko-compass-arrow:after{content:'';position:absolute;left:calc(50% - 3px);top:calc(50% - 3px);width:6px;height:6px;border-radius:50%;background:#e31c32}
.ko-dashboard .ko-degree-box{display:flex;align-items:center;justify-content:center;gap:7px;min-width:110px;padding:6px 10px;border:1px solid;border-radius:6px;font-size:15px;font-weight:700}
.ko-dashboard .ko-degree-box.green{background:#dcfce7;color:#166534;border-color:#166534}
.ko-dashboard .ko-degree-box.yellow{background:#fef3c7;color:#854d0e;border-color:#854d0e}
.ko-dashboard .ko-degree-box.red{background:#fee2e2;color:#b91c1c;border-color:#b91c1c}
.ko-dashboard .ko-degree-box.neutral{background:#edf6fc;color:#07365f;border-color:#b9d7ec}
.ko-dashboard .ko-ads a{display:flex;flex-direction:column;justify-content:flex-start;gap:10px;text-decoration:none;color:#fff;padding:24px;background:linear-gradient(120deg,#06365d,#087fd3);min-width:0}
.ko-dashboard .ko-ads a:last-child{background:linear-gradient(120deg,#052c46,#12647c)}
.ko-dashboard .ko-ads a small{font-size:11px;letter-spacing:1px}
.ko-dashboard .ko-ads a strong{font-size:20px;overflow-wrap:anywhere}
.ko-dashboard .ko-ads a p{font-size:14px;font-weight:400;line-height:1.5;margin:0}
.ko-dashboard .ko-ads a span{font-size:12px;margin-top:auto;padding-top:10px}
.ko-dashboard .ko-forecast{min-width:0}.ko-dashboard .ko-forecast-body{min-width:0}
@media(max-width:620px){.ko-dashboard .ko-rose-group{grid-column:1;grid-row:auto}.ko-dashboard .ko-wind-card>h2{text-align:center!important;width:100%}.ko-dashboard{margin-bottom:40px!important}.ko-dashboard .ko-ads{grid-template-columns:1fr}.ko-dashboard .ko-wind-layout{grid-template-columns:minmax(0,1fr)}.ko-dashboard .ko-live-metrics{min-width:0}.ko-dashboard .ko-live-metrics b{overflow-wrap:anywhere}}

.ko-dashboard .ko-ads a{height:auto;min-height:190px;align-items:flex-start}.ko-dashboard .ko-ads a span{text-shadow:none;font-weight:700}

/* Margini pagina ripristinati */
#ko-live-meteo.ko-dashboard{width:calc(100% - 40px);max-width:1280px;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box}
@media(max-width:620px){#ko-live-meteo.ko-dashboard{width:calc(100% - 24px);margin-left:auto!important;margin-right:auto!important}}

/* Spazio tra blocco vento e risponditore */
.ko-dashboard .ko-phone-weather{margin-top:14px}

.ko-dashboard .ko-history-slots{display:flex;align-items:center;justify-content:center;gap:10px;margin:8px 0 12px}
.ko-dashboard .ko-history-slots label{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:8px;font-size:13px}
.ko-dashboard .ko-history-slots select{max-width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);font-size:16px}
.ko-dashboard .ko-history-slots button{min-width:44px;min-height:40px;padding:8px}
.ko-dashboard .ko-history-slots button:disabled{opacity:.4;cursor:default}
.ko-dashboard .ko-history-readings{margin:12px 0}.ko-dashboard .ko-history-readings summary{font-size:12px;font-weight:700;cursor:pointer;padding:10px 0}
.ko-dashboard .ko-history-readings .ko-history-table{max-height:240px;margin-top:4px;overscroll-behavior:contain}
.ko-dashboard .ko-history-close{display:block;margin:12px auto 0}
@media(max-width:620px){.ko-dashboard .ko-history-controls input{max-width:100%;min-width:0}.ko-dashboard .ko-history-slots{gap:6px}.ko-dashboard .ko-history-slots label{min-width:0;flex:1}.ko-dashboard .ko-history-controls{gap:6px}}


#ko-live-meteo .ko-history-slots{display:none!important}
#ko-live-meteo .ko-history-readings>summary{display:none}
#ko-live-meteo .ko-history-readings .ko-history-table{max-height:320px}
#ko-live-meteo .ko-history-pages{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;border-top:1px solid #cfe5f6}
#ko-live-meteo .ko-history-pages>span{font-size:13px;color:#07365f}
#ko-live-meteo .ko-history-pages>div{display:flex;gap:7px}
#ko-live-meteo .ko-history-pages button{width:40px;min-height:40px;padding:8px;background:#e8f3fc;color:#07537f;border:1px solid #cfe5f6;border-radius:7px}
#ko-live-meteo .ko-history-pages button[aria-current="page"]{background:#087fd3;color:#fff;border-color:#087fd3}

.spot-preview{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin:0 0 18px;color:#07365f}.spot-map,.spot-light{border:1px solid #d3e6f3;border-radius:14px;background:white;overflow:hidden}.spot-heading{display:flex;justify-content:space-between;align-items:center;padding:20px;gap:12px}.spot-preview small{font-size:10px;font-weight:700;letter-spacing:1.2px;color:#50738b}.spot-preview h2{font-size:19px;margin:7px 0 0}.spot-heading>span{font-size:9px;background:#eef5f9;padding:7px;border-radius:5px}.spot-map svg{width:100%;display:block}.spot-caption{display:flex;gap:18px;flex-wrap:wrap;padding:16px 20px 6px;font-size:11px}.spot-caption i{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px}.spot-note{font-size:10px;color:#607e90;padding:0 20px 12px;line-height:1.5}.spot-light{padding:24px;box-sizing:border-box;background:linear-gradient(150deg,#fff,#f2f8fd)}.spot-sun{font-size:42px;color:#edab36;margin:15px 0 2px}.spot-time{font-size:38px;font-weight:800;letter-spacing:-1.5px}.spot-light>p{margin:6px 0 20px;font-size:13px;color:#50738b}.spot-track{height:7px;background:#dce9f2;border-radius:8px;overflow:hidden}.spot-track span{display:block;background:#edab36;height:100%;width:79%}.spot-hours{display:flex;justify-content:space-between;font-size:11px;margin-top:12px}.spot-hours b{display:block;font-size:16px;margin-top:5px}.spot-demo{border-top:1px solid #d3e6f3;margin-top:22px;padding-top:14px}.spot-demo label{display:flex;justify-content:space-between;font-size:12px}.spot-demo input{width:100%;accent-color:#087fd3;margin:12px 0}.spot-demo small{font-size:9px;letter-spacing:0;font-weight:400;display:block}@media(max-width:700px){.spot-preview{grid-template-columns:1fr}.spot-heading{padding:16px}.spot-preview h2{font-size:17px}.spot-heading>span{max-width:85px;line-height:1.4}.spot-light{padding:20px}.spot-sun{float:right;margin:10px}.spot-time{margin-top:20px;font-size:34px}}
.sat-map{position:relative;background:#c5e8f4}.sat-map>img{width:100%;display:block}.sat-map>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.sat-compass{position:absolute;top:14px;right:14px;width:84px;height:84px;border-radius:50%;background:rgba(255,255,255,.94);box-shadow:0 2px 10px #07365f44;color:#07365f;font-weight:800;font-size:12px}.sat-compass span{position:absolute}.sat-compass .north{top:5px;left:37px;color:#d73535}.sat-compass .south{bottom:5px;left:37px}.sat-compass .east{right:7px;top:34px}.sat-compass .west{left:7px;top:34px}.sat-compass .cross{left:29px;top:24px;font-size:30px}.spot-light{display:flex;flex-direction:column;justify-content:center}.spot-sun{margin-top:20px}@media(max-width:600px){.sat-compass{transform:scale(.7);transform-origin:top right;top:7px;right:7px}}

.spot-preview{grid-template-columns:minmax(0,2.2fr) minmax(240px,1fr);gap:14px;align-items:stretch}
.spot-heading{padding:11px 15px}.spot-preview h2{font-size:15px;margin-top:4px}.spot-heading small,.spot-light>small{font-size:9px}.spot-heading>span{font-size:8px;padding:5px}
.sat-map{height:210px;overflow:hidden}.sat-map>img{height:100%;width:100%;object-fit:cover;object-position:center 42%}.sat-map>svg{height:100%;width:100%;object-fit:cover}.sat-map>svg{display:none}
.sat-map:after{content:'CENTRO KITESURF';position:absolute;left:60%;top:29%;font:bold 10px Arial,sans-serif;color:white;background:#07365f;padding:6px 8px;border-radius:5px;box-shadow:0 1px 5px #0003}
.sat-compass.new-rose{width:76px;height:76px;top:8px;right:8px}.spot-note{font-size:9px;padding:0 15px;margin:7px 0 10px}
.spot-light{padding:16px 18px;display:block;position:relative}.spot-light h2{font-size:15px;margin-top:5px}.spot-sun{position:absolute;right:18px;top:40px;font-size:30px;margin:0}.spot-time{font-size:29px;margin-top:16px;letter-spacing:-.7px}.spot-light>p{font-size:11px;margin:4px 0 13px}.spot-hours{font-size:10px;margin-top:9px}.spot-hours b{font-size:14px;margin-top:3px}.spot-demo{margin-top:12px;padding-top:9px}.spot-demo input{margin:6px 0}.spot-demo label{font-size:10px}.spot-demo small{font-size:8px}
@media(max-width:700px){.spot-preview{grid-template-columns:1fr}.sat-map{height:180px}.spot-light{padding:14px 16px}.spot-light .spot-time{margin-top:12px}.spot-sun{top:34px}.spot-hours{display:flex;max-width:100%}.spot-hours b{display:inline;margin-left:5px}.spot-demo{margin-top:10px}.sat-compass.new-rose{transform:none;width:67px;height:67px}}

.spot-preview{margin-top:14px!important;margin-bottom:14px!important}

.ko-dashboard .spot-map .spot-phone{margin:0;border:0;border-radius:0;background:#fff;border-top:1px solid #d3e6f3;padding:13px 15px;gap:12px;box-sizing:border-box}
.ko-dashboard .spot-map .spot-phone .ko-phone-copy{gap:5px}.ko-dashboard .spot-map .spot-phone .ko-phone-copy strong{font-size:11px}.ko-dashboard .spot-map .spot-phone .ko-phone-copy span{font-size:11px}.ko-dashboard .spot-map .spot-phone a{font-size:10px;padding:10px 13px;border-radius:7px}
@media(max-width:600px){.ko-dashboard .spot-map .spot-phone{flex-direction:column;align-items:stretch;padding:13px 14px;gap:10px}.ko-dashboard .spot-map .spot-phone a{text-align:center;font-size:11px;min-height:40px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.ko-dashboard .spot-map .spot-phone .ko-phone-copy span{font-size:12px}}


.sat-map:after{display:none!important;content:none!important}
.sat-map{height:auto!important;aspect-ratio:2048/1247}
.sat-map>img{height:auto!important;width:100%;object-fit:contain!important;display:block}
@media(max-width:700px){.sat-map{height:auto!important;aspect-ratio:2048/1247}.sat-compass.new-rose{width:60px;height:60px;right:7px;top:7px}}

/* Final production layout, no simulation controls. */
#ko-live-meteo .spot-preview{margin:14px 0;grid-template-columns:minmax(0,2.2fr) minmax(235px,1fr)}
#ko-live-meteo .spot-light{min-height:0;display:flex;flex-direction:column;justify-content:center;padding:20px}
#ko-live-meteo .spot-sun{position:static;align-self:flex-end;margin:0;height:15px;font-size:30px}
#ko-live-meteo .sat-map:after{display:none!important;content:none!important}
#ko-live-meteo .spot-light .spot-time{font-size:29px;line-height:1.2;letter-spacing:-.7px}
#ko-live-meteo .spot-hours{gap:14px}#ko-live-meteo .spot-hours span{display:block}
#ko-live-meteo .spot-light small.solar-note{font-size:9px;font-weight:400;letter-spacing:0;margin-top:18px;line-height:1.5}
@media(max-width:700px){#ko-live-meteo .spot-preview{grid-template-columns:1fr}#ko-live-meteo .spot-light{padding:18px}#ko-live-meteo .spot-light .spot-time{font-size:28px;margin-top:10px}}

/* 3.3.1: compact spot cards, preserve original place name in photo. */
#ko-live-meteo .spot-preview .sat-map{height:190px!important;aspect-ratio:auto!important;overflow:hidden}
#ko-live-meteo .spot-preview .sat-map>img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 35%!important}
#ko-live-meteo .spot-light{min-height:0!important;padding:16px 18px!important}
#ko-live-meteo .spot-light .spot-time{font-size:27px!important;margin-top:12px!important}
#ko-live-meteo .spot-light>p{margin-bottom:14px!important}
@media(max-width:700px){#ko-live-meteo .spot-preview .sat-map{height:160px!important}#ko-live-meteo .spot-light{padding:16px!important}#ko-live-meteo .spot-light .spot-time{font-size:26px!important}}

/* Rosa sul mare, posizione approvata. */
#ko-live-meteo .sat-compass.new-rose{left:28%;top:54%;right:auto;transform:translate(-50%,-50%);transform-origin:center}
@media(max-width:700px){#ko-live-meteo .sat-compass.new-rose{left:28%;top:54%;right:auto;transform:translate(-50%,-50%)}}


#ko-live-meteo .ko-station-health{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;border:1px solid #cdebd9;background:#f0faf4;color:#167447;border-radius:8px;padding:9px 12px;margin:0 0 14px;font-size:12px}
#ko-live-meteo .health-dot{width:8px;height:8px;border-radius:50%;background:currentColor;flex-shrink:0}#ko-live-meteo .ko-station-health strong{font-size:12px}#ko-live-meteo #health-age{color:#466575}#ko-live-meteo .health-refresh{margin-left:auto;font-size:10px;color:#557488}#ko-live-meteo .ko-station-health[data-state=delay],#ko-live-meteo .ko-station-health[data-state=backup]{background:#fff8e8;border-color:#efdba3;color:#946511}#ko-live-meteo .ko-station-health[data-state=offline]{background:#fff1f0;border-color:#f2c8c3;color:#b3312a}#ko-live-meteo .health-detail{font-size:11px;color:#536c7d;margin:-5px 0 14px;line-height:1.5}

@media(max-width:600px){#ko-live-meteo .ko-station-health{flex-wrap:nowrap;gap:6px;padding:8px;align-items:center}#ko-live-meteo .ko-station-health strong{font-size:10px;white-space:nowrap}#ko-live-meteo #health-age{margin:0;font-size:9px;white-space:nowrap}#ko-live-meteo .health-refresh{display:block;margin-left:auto;font-size:9px;white-space:nowrap}}
#ko-live-meteo .ko-station-health[data-state=loading]{background:#f1f5f8;border-color:#d5e2eb;color:#557488}
