/* Weather and air quality: two panels, three equal overview cards. */
.wx-tabs{display:flex;gap:8px;padding:7px;background:var(--tint,#edf5f6);border:1px solid var(--line,#d6e5e8);border-radius:18px;margin:0 0 22px;max-width:100%}
.wx-tab{appearance:none;display:inline-flex;justify-content:center;align-items:center;gap:9px;flex:1;min-height:49px;padding:11px 16px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--muted,#54717c);font-family:inherit;font-weight:800;font-size:.98rem;line-height:1.35;cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.wx-tab:hover{color:var(--heading,#122f3b);background:var(--surface,#fff)}
.wx-tab.is-active{color:var(--teal-700,#137c88);background:var(--surface,#fff);border-color:var(--line,#c9dce1);box-shadow:0 2px 8px rgba(17,49,59,.06)}
.wx-tab:focus-visible,.wx-card-detail:focus-visible{outline:3px solid var(--teal,#148b96);outline-offset:3px}
.wx-panel[hidden]{display:none!important}
.wx-panel{min-width:0}
.wx-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch;margin-bottom:25px}
.wx-overview-card{min-width:0;display:flex;flex-direction:column;gap:13px;padding:23px;background:var(--surface,#fff);border:1px solid var(--line,#d2e1e4);border-radius:18px;box-shadow:0 2px 15px rgba(15,54,66,.045)}
.wx-overview-card h2{display:flex;align-items:center;gap:8px;font-size:1rem;margin:0}
.wx-overview-card h2 .ic{color:var(--teal,#168992)}
.wx-overview-card .wx-now{background:transparent;border-radius:0;padding:0}
.wx-overview-card .wx-now-main{gap:10px}
.wx-overview-card .wx-ic{font-size:3.1rem}
.wx-overview-card .wx-t,.wx-overview-card .wx-una-t{font-size:clamp(2.25rem,3vw,3.35rem);color:var(--heading,#143440)}
.wx-overview-card .wx-t small,.wx-overview-card .wx-una-t small{font-size:1.2rem}
.wx-overview-card .wx-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin:12px 0 0}
.wx-overview-card .wx-meta li{font-size:.81rem;display:flex;flex-wrap:wrap;gap:5px}
.wx-overview-card .wx-una-t{margin:6px 0 0}
.wx-overview-card .muted{font-size:.85rem;line-height:1.55;margin:0}
.wx-air-reading{display:flex;align-items:center;gap:14px;margin:4px 0 0}
.wx-air-reading>strong{font-weight:800;font-size:clamp(2.1rem,3vw,3.1rem);line-height:1.1;color:var(--heading,#143440)}
.wx-air-reading.is-category>strong{font-size:clamp(1.3rem,2vw,2rem)}
.wx-air-reading span{display:grid;gap:3px;color:var(--ink,#173843);font-size:.9rem}
.wx-air-reading small,.wx-overview-source{display:block;color:var(--muted,#607781);font-size:.77rem;line-height:1.4}
.wx-overview-source{margin-top:auto}
.wx-card-detail{display:inline-flex;width:max-content;max-width:100%;margin-top:auto;color:var(--teal,#13808b);font-weight:750;font-size:.83rem;text-underline-offset:3px}
.wx-panel>.aq-detail{margin:4px 0 30px}
.aq-big-score.is-category{font-size:clamp(1.45rem,3vw,2.4rem);overflow-wrap:anywhere}
.aq-station-log{margin:25px 0 0;padding:22px;background:var(--surface,#fff);border:1px solid var(--line,#d4e1e3);border-radius:18px;min-width:0}
.aq-log-heading{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:start;gap:12px;margin-bottom:15px}
.aq-log-heading h3{font-size:1.1rem;margin:0 0 6px}
.aq-log-heading p,.aq-log-foot{font-size:.82rem;line-height:1.55;margin:0;color:var(--muted,#607781)}
.aq-log-heading>a{font-size:.84rem;color:var(--teal,#13808b);font-weight:800;text-underline-offset:3px}
.aq-log-scroll{width:100%;overflow-x:auto;scrollbar-width:thin}
.aq-log-table{width:100%;min-width:670px;border-collapse:collapse;text-align:left;font-size:.85rem}
.aq-log-table th,.aq-log-table td{padding:12px 11px;border-bottom:1px solid var(--line,#dde9eb);white-space:nowrap}
.aq-log-table th{background:var(--tint,#edf5f6);font-weight:800}
.aq-log-table td:first-child{font-variant-numeric:tabular-nums}
.aq-log-table tr:last-child td{border-bottom:0}
.aq-log-foot{margin-top:12px}
html[data-theme="dark"] .wx-tabs{background:#1b333c;border-color:#34525d}
html[data-theme="dark"] .wx-overview-card,html[data-theme="dark"] .aq-station-log{background:#172d35;border-color:#34525d}
html[data-theme="dark"] .wx-tab.is-active{background:#22424c;color:#a8e7eb;border-color:#3a6570}
html[data-theme="dark"] .wx-tab:hover{background:#22424c;color:#e6f4f6}
html[data-theme="dark"] .wx-air-reading>strong{color:var(--heading,#e6f4f6)}
html[data-theme="dark"] .aq-log-table th{background:#23414a}
@media(max-width:1030px){.wx-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.wx-overview-quality{grid-column:1/-1}}
@media(max-width:650px){.wx-tabs{padding:5px;gap:4px}.wx-tab{font-size:.85rem;padding:11px 8px;min-width:0}.wx-overview{grid-template-columns:1fr;gap:11px}.wx-overview-quality{grid-column:auto}.wx-overview-card{padding:17px}.wx-overview-card .wx-meta{grid-template-columns:1fr 1fr}.aq-station-log{padding:15px}}

/* Official FHMZ reference is separate from the Open-Meteo forecast charts. */
.wx-fhmz-reference{margin:30px 0 18px;padding:22px 25px;background:var(--surface,#fff);border:1px solid var(--line,#d3e3e7);border-radius:18px;box-shadow:0 2px 12px rgba(15,54,66,.04);min-width:0}
.wx-fhmz-reference-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
.wx-fhmz-reference-title{min-width:0}
.wx-fhmz-kicker{display:block;margin-bottom:8px;font-size:.7rem;font-weight:800;letter-spacing:.08em;color:var(--teal,#127c86)}
.wx-fhmz-reference h2{margin:0 0 8px;font-size:clamp(1.15rem,2.4vw,1.5rem)}
.wx-fhmz-reference p{margin:0;color:var(--muted,#637783);line-height:1.6;font-size:.87rem}
.wx-fhmz-link{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:var(--teal,#137f89);color:#fff!important;padding:12px 18px;font-size:.84rem;font-weight:800;text-decoration:none}
.wx-fhmz-link:hover{background:var(--navy,#183643)}
.wx-fhmz-link:focus-visible{outline:3px solid var(--teal,#137f89);outline-offset:3px}
.wx-fhmz-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:20px}
.wx-fhmz-features span{display:flex;align-items:center;gap:8px;min-width:0;font-size:.82rem;font-weight:650;color:var(--ink,#27414c)}
.wx-fhmz-features .ic{flex-shrink:0;color:var(--teal,#137f89)}
.wx-fhmz-reference p.wx-fhmz-note{font-size:.77rem;margin-top:17px;padding-top:12px;border-top:1px solid var(--line,#d9e4e6)}
html[data-theme="dark"] .wx-fhmz-reference{background:#172d35;border-color:#34525d}
html[data-theme="dark"] .wx-fhmz-link{background:#176f7c}
html[data-theme="dark"] .wx-fhmz-features span{color:var(--ink,#d1e5e9)}
@media(max-width:750px){.wx-fhmz-reference-head{flex-direction:column;align-items:flex-start}.wx-fhmz-link{width:100%}.wx-fhmz-features{grid-template-columns:1fr}.wx-fhmz-reference{padding:18px}}

/* FHMZ Nova četvrt compact station view — measured data only. */
.aq-fhmz-station{margin:26px 0 22px;padding:22px 24px;background:var(--surface,#fff);border:1px solid var(--line,#dce6e9);border-radius:19px;min-width:0}
.aq-fhmz-top{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.aq-fhmz-eyebrow{margin:0 0 5px;font-size:.7rem;letter-spacing:.1em;font-weight:800;color:var(--teal,#147f8b)}
.aq-fhmz-top h3{margin:0;font-size:clamp(1.15rem,2.8vw,1.55rem);line-height:1.3}
.aq-fhmz-subtitle{margin:5px 0 0;font-size:.83rem;color:var(--muted,#667f88)}
.aq-fhmz-status{display:inline-flex;align-items:center;border-radius:100px;padding:8px 13px;line-height:1.2;font-size:.85rem;font-weight:800;background:#e6edf0;color:#475961}
.aq-fhmz-status-good{background:#c8e9db;color:#176646}
.aq-fhmz-status-fair{background:#ddedaf;color:#496017}
.aq-fhmz-status-moderate{background:#f8dfa1;color:#805813}
.aq-fhmz-status-poor{background:#ffdaad;color:#92540d}
.aq-fhmz-status-very_poor{background:#f6b9b5;color:#8e2927}
.aq-fhmz-status-extreme{background:#e5b0c0;color:#812042}
.aq-fhmz-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-top:19px}
.aq-fhmz-metric{position:relative;min-width:0;padding:14px 16px;background:var(--tint,#f2f7f8);border:1px solid var(--line,#dce6e9);border-radius:13px}
.aq-fhmz-name{display:block;color:var(--muted,#67818b);font-weight:800;font-size:.76rem;margin-bottom:8px}
.aq-fhmz-metric strong{display:block;font-variant-numeric:tabular-nums;font-size:clamp(1.15rem,2.5vw,1.6rem);line-height:1.2}
.aq-fhmz-metric strong small{font-size:.66rem;font-weight:650;white-space:nowrap;color:var(--muted,#67818b)}
.aq-fhmz-indicator{position:absolute;width:9px;height:9px;border-radius:50%;right:13px;top:18px;background:#a1b1b7}
.aq-fhmz-indicator.aq-fhmz-status-good{background:#32b77c}
.aq-fhmz-indicator.aq-fhmz-status-fair{background:#8cbf43}
.aq-fhmz-indicator.aq-fhmz-status-moderate{background:#dfb52f}
.aq-fhmz-indicator.aq-fhmz-status-poor{background:#f28e42}
.aq-fhmz-indicator.aq-fhmz-status-very_poor{background:#e36357}
.aq-fhmz-indicator.aq-fhmz-status-extreme{background:#b83d60}
.aq-fhmz-chart{border-top:1px solid var(--line,#dce6e9);margin-top:20px;padding-top:17px}
.aq-fhmz-chart-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.aq-fhmz-chart-heading h4{margin:0;font-size:.98rem}
.aq-fhmz-chart-heading small,.aq-fhmz-chart-note,.aq-fhmz-no-history{color:var(--muted,#667f88);font-size:.78rem;line-height:1.55}
.aq-fhmz-chart svg{display:block;width:100%;max-width:750px;height:auto;max-height:210px;margin:12px auto 2px;overflow:visible}
.aq-fhmz-axis{stroke:#9aafb7;stroke-width:1}
.aq-fhmz-grid{stroke:#a0b8c0;stroke-dasharray:4 6;stroke-width:.7;opacity:.5}
.aq-fhmz-axis-text{fill:var(--muted,#69838c);font-size:12px}
.aq-fhmz-line{stroke:#0e99bb;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.aq-fhmz-dot{fill:#0e99bb;stroke:var(--surface,#fff);stroke-width:1.5}
.aq-fhmz-chart-note{margin:7px 0 0}
.aq-fhmz-no-history{margin:15px 0 0}
.aq-fhmz-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:17px;padding-top:14px;border-top:1px solid var(--line,#dce6e9)}
.aq-fhmz-bottom small{color:var(--muted,#667f88);font-size:.78rem}
.aq-fhmz-bottom a{font-weight:800;color:var(--teal,#13808b);font-size:.82rem;text-underline-offset:3px}
html[data-theme="dark"] .aq-fhmz-station{background:#172d35;border-color:#34525d}
html[data-theme="dark"] .aq-fhmz-metric{background:#213c46;border-color:#3d5863}
html[data-theme="dark"] .aq-fhmz-dot{stroke:#172d35}
@media(max-width:820px){.aq-fhmz-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.aq-fhmz-station{padding:16px}.aq-fhmz-metrics{gap:8px}.aq-fhmz-metric{padding:12px}.aq-fhmz-chart{padding-top:13px}.aq-fhmz-metric strong small{display:block;margin-top:4px}}

/* Full official hourly history; responsive controls and scrollable table. */
.aq-fhmz-controls{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0 13px}
.aq-fhmz-controls label{display:flex;align-items:center;gap:9px;font-size:.8rem;font-weight:800}
.aq-fhmz-controls select{min-height:40px;min-width:145px;padding:7px 12px;color:var(--ink,#123642);background:var(--surface,#fff);border:1px solid var(--line,#cadfe3);border-radius:9px;font:inherit}
.aq-fhmz-live-chart{width:100%;overflow-x:auto;scrollbar-width:thin}
.aq-fhmz-live-chart svg{width:100%;max-width:none;min-width:550px;height:auto;display:block;color:var(--muted,#627983)}
.aq-fhmz-live-chart svg circle{cursor:help}
.aq-fhmz-graph-summary{margin:11px 0;font-size:.83rem;color:var(--ink,#244550);font-weight:700}
.aq-fhmz-hourly-table{min-width:840px;max-width:100%}
.aq-fhmz-hourly-table th{position:sticky;top:0;z-index:1}
.aq-fhmz-station .aq-log-scroll{max-height:390px;overflow:auto;margin-top:15px;border:1px solid var(--line,#dce6e9);border-radius:11px}
.aq-fhmz-station .aq-log-table td:first-child{white-space:nowrap}
.aq-fhmz-station .aq-fhmz-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.aq-hero-score .aq-big-score{overflow-wrap:normal;word-break:normal;white-space:nowrap}
.aq-hero-score .aq-big-score.is-category{font-size:clamp(1.6rem,3vw,2.5rem)}
html[data-theme="dark"] .aq-fhmz-controls select{background:#172d35;color:#e6f2f4;border-color:#42616b}
html[data-theme="dark"] .aq-fhmz-graph-summary{color:#d8ebee}
@media(max-width:810px){.aq-fhmz-station .aq-fhmz-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.aq-fhmz-controls{flex-direction:column}.aq-fhmz-controls label{justify-content:space-between}.aq-fhmz-controls select{flex:1;max-width:70%}}


/* FHMZ history v2: editorial dashboard with carefully labeled observed data. */
.aq-fhmz-chart-refined{border-top:1px solid var(--line,#d7e4e7);margin-top:26px;padding-top:25px}
.aq-history-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;flex-wrap:wrap}
.aq-history-eyebrow{margin:0 0 7px!important;font-size:.68rem!important;font-weight:850;letter-spacing:.11em;color:var(--teal,#178b98)!important}
.aq-history-head h4{margin:0;font-family:var(--serif,Georgia,serif);font-size:clamp(1.25rem,2.4vw,1.75rem);line-height:1.18;color:var(--heading,#203b47)}
.aq-history-head p:not(.aq-history-eyebrow){margin:9px 0 0;font-size:.83rem;color:var(--muted,#657f8a);line-height:1.55}
.aq-history-count{display:inline-flex;align-items:center;gap:8px;padding:10px 13px;border:1px solid var(--line,#d9e5e8);background:var(--tint,#eef5f6);color:var(--ink,#37535b);font-weight:750;font-size:.78rem;border-radius:999px;white-space:nowrap}
.aq-history-count span{width:7px;height:7px;flex:none;background:#36b99b;border-radius:50%;box-shadow:0 0 0 4px rgba(54,185,155,.12)}
.aq-fhmz-chart-refined .aq-fhmz-controls{display:flex;align-items:flex-end;gap:13px;margin:24px 0 18px;flex-wrap:wrap}
.aq-fhmz-chart-refined .aq-fhmz-controls label{display:flex;align-items:flex-start;flex-direction:column;gap:8px;color:var(--muted,#617e88);font-size:.74rem;letter-spacing:.005em;line-height:1.3}
.aq-fhmz-chart-refined .aq-fhmz-controls label span{font-weight:750}
.aq-fhmz-chart-refined .aq-fhmz-controls select{appearance:auto;cursor:pointer;min-width:176px;min-height:44px;padding:10px 15px;font-size:.88rem;font-weight:750;font-family:inherit;line-height:1.4;color:var(--ink,#203c48);background:var(--surface,#fff);border:1px solid var(--line,#c8dee3);border-radius:11px;box-shadow:0 1px 3px rgba(13,47,58,.025);transition:border-color .15s ease,box-shadow .15s ease}
.aq-fhmz-chart-refined .aq-fhmz-controls select:hover{border-color:var(--teal,#178d9a)}
.aq-fhmz-chart-refined .aq-fhmz-controls select:focus-visible{outline:3px solid rgba(39,170,187,.22);outline-offset:2px;border-color:var(--teal,#178d9a)}
.aq-history-unit{margin-left:auto;font-weight:700;font-size:.75rem;color:var(--muted,#6d8590);padding-bottom:13px}
.aq-history-visual{position:relative;border:1px solid var(--line,#d7e4e7);border-radius:18px;background:linear-gradient(165deg,color-mix(in srgb,var(--teal,#1691a3) 4%,var(--surface,#fff)),var(--surface,#fff) 70%);padding:23px 16px 6px;overflow:hidden}
.aq-history-visual::before{content:"";position:absolute;inset:-180px -140px auto auto;width:360px;height:360px;border-radius:50%;pointer-events:none;background:radial-gradient(circle,rgba(43,162,188,.07),transparent 70%)}
.aq-history-range-note{position:relative;margin:8px 4px 4px!important;padding:9px 12px;border:1px solid var(--line,#d7e4e7);border-radius:10px;background:color-mix(in srgb,var(--teal,#1691a3) 6%,var(--surface,#fff));color:var(--muted,#617e88)!important;font-size:.74rem!important;line-height:1.45}
.aq-history-range-note[hidden]{display:none}
.aq-fhmz-chart-refined .aq-fhmz-live-chart{position:relative;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;min-height:240px}
.aq-fhmz-chart-refined .aq-fhmz-live-chart svg{display:block;max-width:none;max-height:none;width:100%;min-width:630px;height:auto;margin:0;overflow:visible;color:var(--muted,#799099)}
.aq-chart-unit{fill:var(--muted,#728c96);font:650 12px system-ui,sans-serif}
.aq-chart-axis-label,.aq-chart-time-label{fill:var(--muted,#78919c);font:500 12px system-ui,sans-serif}
.aq-chart-grid{stroke:var(--line,#c9dbe0);stroke-width:1;stroke-dasharray:3 6;opacity:.72}
.aq-chart-baseline{stroke:var(--line,#bdcfd5);stroke-width:1.35}
.aq-chart-halo{opacity:.65}
.aq-chart-connector{transition:stroke .15s ease}
.aq-chart-dot{stroke:var(--surface,#fff);stroke-width:1.5;transition:r .15s ease;cursor:crosshair}
.aq-chart-tracker{stroke:var(--teal,#1894a5);stroke-width:1.2;stroke-dasharray:4 5;opacity:.7;pointer-events:none}
.aq-chart-active-dot{stroke:var(--surface,#fff);stroke-width:3;pointer-events:none}
.aq-fhmz-tooltip{position:absolute;z-index:4;min-width:160px;max-width:240px;pointer-events:none;transform:translateX(-50%);padding:10px 13px;border:1px solid #45626e;border-radius:12px;background:#102630;box-shadow:0 12px 28px rgba(0,0,0,.24);color:#f4fbfc;line-height:1.4;text-align:left}
.aq-fhmz-tooltip[hidden]{display:none}
.aq-fhmz-tooltip span,.aq-fhmz-tooltip strong{display:block}
.aq-fhmz-tooltip .aq-tip-time{font-size:.73rem;color:#adc9d0;margin-bottom:4px}
.aq-fhmz-tooltip strong{font-size:.9rem;font-variant-numeric:tabular-nums}
.aq-fhmz-tooltip .aq-tip-status{font-size:.77rem;font-weight:750;margin-top:4px}
.aq-fhmz-chart-refined .aq-fhmz-graph-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:17px 0 13px}
.aq-history-stat{min-width:0;display:flex;flex-direction:column;gap:5px;padding:16px 15px;background:var(--tint,#f0f6f7);border:1px solid var(--line,#d7e5e8);border-radius:13px}
.aq-history-stat.is-primary{border-color:color-mix(in srgb,var(--teal,#1595a5) 28%,var(--line,#d7e5e8));background:color-mix(in srgb,var(--teal,#1595a5) 7%,var(--surface,#fff))}
.aq-history-stat-label{font-size:.75rem;font-weight:750;color:var(--muted,#68808b)}
.aq-history-stat-value{font-size:clamp(1.04rem,1.9vw,1.42rem);line-height:1.25;font-weight:850;font-variant-numeric:tabular-nums;letter-spacing:-.018em;color:var(--heading,#1f3f4a);overflow-wrap:break-word}
.aq-history-stat-detail{font-size:.7rem;color:var(--muted,#718791);line-height:1.4}
.aq-history-legend{display:flex;align-items:center;flex-wrap:wrap;gap:9px 17px;margin:18px 0 8px}
.aq-history-legend[hidden]{display:none}
.aq-history-legend span{display:inline-flex;align-items:center;gap:7px;font-size:.73rem;font-weight:600;color:var(--muted,#657c86)}
.aq-history-legend i{display:block;width:9px;height:9px;border-radius:50%;background:#36b879}
.aq-history-legend .aq-legend-fair{background:#a5cb4c}
.aq-history-legend .aq-legend-moderate{background:#e2bc37}
.aq-history-legend .aq-legend-poor{background:#f09743}
.aq-history-legend .aq-legend-very-poor{background:#dd5c56}
.aq-history-legend .aq-legend-extreme{background:#983053}
.aq-history-note{margin:10px 0 17px!important;font-size:.76rem!important;line-height:1.6;color:var(--muted,#637d87)!important}
.aq-history-table{border:1px solid var(--line,#d8e6e8);border-radius:13px;overflow:hidden}
.aq-history-table>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 17px;list-style:none;cursor:pointer;font-size:.83rem;font-weight:800;color:var(--ink,#2e515d);background:var(--tint,#f0f6f7)}
.aq-history-table>summary::-webkit-details-marker{display:none}
.aq-history-table>summary span:last-child{font-size:1.1rem;transition:transform .2s ease}
.aq-history-table[open]>summary span:last-child{transform:rotate(180deg)}
.aq-history-table>summary:hover{color:var(--teal,#138da0)}
.aq-history-table>summary:focus-visible{outline:3px solid var(--teal,#158a9b);outline-offset:-3px}
.aq-fhmz-chart-refined .aq-history-table .aq-log-scroll{max-height:355px;margin:0;border:0;border-top:1px solid var(--line,#d8e6e8);border-radius:0}
.aq-fhmz-chart-refined .aq-history-table .aq-log-table{margin:0}
.aq-fhmz-chart-refined .aq-fhmz-chart-note{margin:13px 0 0;font-size:.73rem}
html[data-theme="dark"] .aq-history-count{background:#1c3c46;border-color:#36545f;color:#d3e7ec}
html[data-theme="dark"] .aq-fhmz-chart-refined .aq-fhmz-controls select{background:#203c46;border-color:#405d67;color:#eaf3f5}
html[data-theme="dark"] .aq-history-visual{background:linear-gradient(155deg,#1b3b45,#142d35 80%);border-color:#34545e}
html[data-theme="dark"] .aq-history-stat{background:#1f3b44;border-color:#36545d}
html[data-theme="dark"] .aq-history-stat.is-primary{background:#254651;border-color:#41717c}
html[data-theme="dark"] .aq-history-stat-value{color:#edf8fa}
html[data-theme="dark"] .aq-chart-grid,html[data-theme="dark"] .aq-chart-baseline{stroke:#44616c}
html[data-theme="dark"] .aq-chart-dot,html[data-theme="dark"] .aq-chart-active-dot{stroke:#142d35}
html[data-theme="dark"] .aq-history-table{border-color:#375761}
html[data-theme="dark"] .aq-history-table>summary{background:#203c46;color:#e0eff2}
html[data-theme="dark"] .aq-fhmz-chart-refined .aq-history-table .aq-log-scroll{border-color:#375761}
@media(max-width:900px){.aq-fhmz-chart-refined .aq-fhmz-graph-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
 .aq-fhmz-chart-refined{margin-top:18px;padding-top:20px}
 .aq-history-head{gap:10px}
 .aq-history-head h4{font-size:1.35rem}
 .aq-fhmz-chart-refined .aq-fhmz-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:18px 0}
 .aq-fhmz-chart-refined .aq-fhmz-controls label{min-width:0}
 .aq-fhmz-chart-refined .aq-fhmz-controls select{min-width:0;width:100%;padding:10px 8px;font-size:.8rem}
 .aq-history-unit{display:none}
 .aq-history-visual{padding:14px 10px 2px}
 .aq-fhmz-chart-refined .aq-fhmz-graph-summary{gap:8px}
 .aq-history-stat{padding:12px 11px}
 .aq-history-stat-value{font-size:1.05rem}
 .aq-history-legend{gap:8px 12px}
}
@media(prefers-reduced-motion:reduce){.aq-history-table>summary span:last-child,.aq-chart-connector,.aq-chart-dot{transition:none}}
