.floating-tools .wind-statistics-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linejoin:round}
.floating-tools #windStatisticsToggle:disabled{opacity:.35;cursor:default}
.wind-statistics{position:absolute;z-index:720;left:0;right:0;bottom:0;height:340px;padding:16px max(24px,calc((100% - 1050px)/2));display:grid;grid-template-columns:280px minmax(0,1fr);gap:34px;overflow:auto;background:#1d2922;color:#e1eee5;border-top:1px solid #809788;box-shadow:0 -8px 32px #10221945;opacity:0;visibility:hidden;transform:translateY(100%);transition:opacity .4s ease,transform .65s cubic-bezier(.2,.82,.25,1),visibility 0s linear .65s}
.wind-statistics.open{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .4s ease,transform .65s cubic-bezier(.2,.82,.25,1),visibility 0s}
.wind-statistics-chart-column{min-width:0;display:flex;flex-direction:column;justify-content:center}
.wind-statistics-info{min-width:0;display:flex;flex-direction:column;justify-content:center}
.wind-statistics-head{display:flex;align-items:center;justify-content:space-between}
.wind-statistics-head small{font-size:8px;letter-spacing:1.4px;color:#a8bfb0}
.wind-statistics-head h2{font:500 18px/1.3 'DM Sans',sans-serif;margin:3px 0 0}
.wind-statistics-head button{border:0;background:none;color:#c3d8ca;font-size:23px;width:30px;height:30px;cursor:pointer}
.wind-statistics-location{color:#a8bfb0;font-size:9px;margin:8px 0 0;font-variant-numeric:tabular-nums}
.wind-statistics-controls{display:flex;align-items:center;gap:14px;margin-top:10px}
.wind-statistics-period{color:#a8bfb0;font-size:10px;white-space:nowrap}
.wind-statistics-month{display:flex;align-items:center;gap:8px;color:#a8bfb0;font-size:10px}
.wind-statistics-month select{min-width:120px;border:1px solid #80978860;border-radius:4px;padding:5px 8px;background:#2b3b31;color:#e1eee5;font:11px 'DM Sans',sans-serif;color-scheme:dark}
.wind-statistics-plot{position:relative;width:100%;max-width:280px;margin:0 auto}
.wind-statistics svg{display:block;width:100%;height:auto;transition:opacity .3s ease}
.wind-statistics-grid circle,.wind-statistics-grid path{fill:none;stroke:#809788;stroke-width:.55;opacity:.52}
.wind-statistics-grid text{fill:#a8bfb0;font:8px 'DM Sans',sans-serif;paint-order:stroke;stroke:#1d2922;stroke-width:2px}
.wind-statistics-grid .wind-statistics-direction{fill:#e1eee5;font-size:12px;stroke:none;cursor:pointer}
.wind-statistics-grid .wind-statistics-direction:focus-visible{fill:#9be2b5;outline:none;text-decoration:underline}
.wind-statistics-origin{fill:#c3d8ca}
.wind-statistics-sector path{cursor:pointer;outline:none;transition:fill-opacity .18s,stroke .18s;stroke:transparent;stroke-width:.7}
.wind-statistics-sector path:hover,.wind-statistics-sector path:focus-visible,.wind-statistics-sector path.is-selected{fill-opacity:1;stroke:#d4f6df;stroke-width:.7}
.wind-statistics-detail{color:#9be2b5;font-size:10px;line-height:1.4;margin-top:6px}
.wind-statistics-explanation{margin-top:9px;padding:10px 12px;border-left:2px solid #9be2b5;background:#26372d}
.wind-statistics-explanation[hidden]{display:none}
.wind-statistics-explanation h3{font-size:12px;font-weight:500;color:#e1eee5;margin:0 0 6px}
.wind-statistics-explanation p{font-size:11px;line-height:1.65;color:#d5e3d9;margin:0}
.wind-statistics-explanation>span{display:block;font-size:9px;line-height:1.6;color:#a8bfb0;margin-top:6px}
.wind-statistics-key{display:flex;justify-content:space-between;gap:4px;color:#c3d8ca;font-size:8px;margin-top:4px}
.wind-statistics-key span{display:flex;align-items:center;gap:3px;white-space:nowrap}
.wind-statistics-key i{width:6px;height:6px;border-radius:1px;background:var(--band)}
.wind-statistics footer{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 10px;font-size:8px;color:#b3c8bb;margin-top:10px}
.wind-statistics footer small{flex:1;min-width:200px;font-size:8px;line-height:1.6;color:#8ea899}
.wind-statistics-usage{font-size:9px;line-height:1.7;color:#a8bfb0;margin-top:8px}
.wind-statistics-usage summary{cursor:pointer;color:#c3d8ca}
.wind-statistics-usage>div{margin-top:5px;max-width:680px}
.wind-statistics-loading{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
.wind-statistics-loading[hidden]{display:none}
.wind-statistics-loading i{width:37px;height:37px;border:2px solid #80978845;border-top-color:#9be2b5;border-radius:50%;animation:wind-statistics-spin 1s linear infinite}
.wind-statistics-retry{margin:0 0 0 9px;padding:5px 9px;background:#304d3c;border:1px solid #809788;border-radius:3px;color:#e1eee5;font:inherit;cursor:pointer}
.main:has(.wind-statistics.open) .wind-timeline{bottom:var(--wind-statistics-height,340px)}
.main.wind-mode:has(.wind-statistics.open) #map .leaflet-bottom{bottom:calc(var(--wind-statistics-height,340px) + 49px)}
.main:has(.wind-statistics.open) .timeline-window{clip-path:none}
.main:has(.wind-statistics.open) .timeline-day-plane,.main:has(.wind-statistics.open) .timeline-scroll{mask-image:none;-webkit-mask-image:none}
.main:has(.wind-statistics.open) .timeline-arrow{color:var(--timeline-accent);filter:none}
@keyframes wind-statistics-spin{to{rotate:360deg}}
@media(max-width:800px){.wind-statistics{grid-template-columns:240px minmax(0,1fr);gap:20px;padding:14px 18px;height:360px}.wind-statistics-controls{gap:8px;flex-wrap:wrap}.wind-statistics-period{font-size:9px}}
@media(max-width:600px){.wind-statistics{height:min(560px,68dvh);grid-template-columns:1fr;gap:16px;padding:16px 20px;align-content:start}.wind-statistics-chart-column{order:2}.wind-statistics-info{order:1;display:contents}.wind-statistics-head{order:0}.wind-statistics-controls{order:1;margin:0}.wind-statistics-location{order:2;margin:0}.wind-statistics-chart-column{order:3}.wind-statistics-plot{max-width:230px}.wind-statistics-key{max-width:280px;width:100%;margin:0 auto}.wind-statistics-detail{order:4;margin:0}.wind-statistics-explanation{order:5;margin:0}.wind-statistics footer{order:6;margin:0}}
@media(max-height:650px) and (min-width:601px){.wind-statistics{height:min(330px,65dvh);grid-template-columns:220px minmax(0,1fr);gap:20px}.wind-statistics-info{justify-content:flex-start}.wind-statistics-chart-column{justify-content:flex-start}}
@media(prefers-reduced-motion:reduce){.wind-statistics,.wind-statistics.open,.wind-statistics svg,.main:has(.wind-statistics.open) .wind-timeline{transition:none}.wind-statistics-loading i{animation:none}}
