/* Metevo.pl – odizolowane style modułu jakości powietrza */
:root{--aq-bg:#f3f6fb;--aq-card:#fff;--aq-text:#192b40;--aq-muted:#718096;--aq-line:#e7edf4;--aq-red:#ef5350;--aq-blue:#3b82b8;--aq-shadow:0 8px 28px rgba(28,54,82,.055)}
*{box-sizing:border-box}
body.aq-page{margin:0;background:var(--aq-bg);color:var(--aq-text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.55}
.aq-page a{color:inherit;text-decoration:none}
.aq-container{width:min(1160px,calc(100% - 40px));margin:0 auto}
.aq-topbar{height:72px;background:#fff;border-bottom:1px solid #e9eef4}
.aq-topbar-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:24px}
.aq-brand{display:flex;align-items:center;gap:10px;font-size:23px;font-weight:850;letter-spacing:-1.1px;color:#20344b!important}
.aq-brand-dot{color:var(--aq-red)}
.aq-brand-mark{width:27px;height:27px;display:flex;align-items:end;gap:3px;padding:4px;border-radius:8px;background:#fff0ef}
.aq-brand-mark i{display:block;width:5px;border-radius:5px;background:var(--aq-red)}
.aq-brand-mark i:nth-child(1){height:9px}.aq-brand-mark i:nth-child(2){height:16px}.aq-brand-mark i:nth-child(3){height:12px}
.aq-nav{display:flex;align-items:center;gap:30px;color:#718096;font-size:13px;font-weight:650}
.aq-nav a{padding:25px 0;border-bottom:2px solid transparent}.aq-nav a.active{color:#e64d4b;border-color:#ef5350}
.aq-back{font-size:13px;font-weight:700;color:#52677e!important}.aq-back span{color:var(--aq-red);padding-left:5px}
.aq-main{padding-top:24px;padding-bottom:48px}
.aq-breadcrumb{display:flex;gap:10px;align-items:center;color:#91a0b1;font-size:12px;margin-bottom:27px}
.aq-breadcrumb strong{font-weight:650;color:#5d6f83}
.aq-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}
.aq-eyebrow{display:block;font-size:10px;letter-spacing:1.35px;font-weight:800;color:#8797aa}
.aq-eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef6661;margin-right:7px}
.aq-heading h1{font-size:clamp(27px,4vw,37px);line-height:1.15;letter-spacing:-1.3px;margin:9px 0 8px;font-weight:800}
.aq-heading h1 span{color:#e65350}
.aq-heading p,.aq-section-heading p{color:#78889a;margin:0;font-size:14px}
.aq-heading-icon{width:94px;height:82px;border-radius:23px;background:linear-gradient(145deg,#e9f3fb,#fff);display:flex;align-items:center;justify-content:center;position:relative;color:#78a8ca}
.aq-cloud{font-size:54px;line-height:1}.aq-wind-lines{position:absolute;font-size:25px;right:9px;bottom:4px;color:#ef7770}
.aq-overview{display:grid;grid-template-columns:1.35fr 1fr;gap:18px}
.aq-score-card,.aq-summary-card,.aq-pollutant-card,.aq-chart-card,.aq-forecast-list,.aq-info-card{background:var(--aq-card);border:1px solid var(--aq-line);border-radius:18px;box-shadow:var(--aq-shadow)}
.aq-score-card{padding:25px 27px;color:#fff;background:linear-gradient(120deg,#243c55,#345d76);border:0;min-height:225px;position:relative;overflow:hidden}
.aq-score-card:after{content:"";position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-60px;top:-105px;box-shadow:0 0 0 25px rgba(255,255,255,.025),0 0 0 55px rgba(255,255,255,.02)}
.aq-score-top,.aq-card-title,.aq-score-main{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}
.aq-score-top .aq-section-kicker{font-size:10px;letter-spacing:1.2px;font-weight:800;color:#c5d5e2}
.aq-live{font-size:9px;letter-spacing:.7px;color:#d3e2eb}.aq-live i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#79d4b0;margin-right:6px}
.aq-score-main{justify-content:flex-start;gap:35px;margin:14px 0 7px}
.aq-score-number{font-size:59px;line-height:1;font-weight:800;letter-spacing:-2px}
.aq-score-caption{font-size:11px;color:#c5d5e2;margin-top:7px}
.aq-score-status{display:flex;align-items:center;gap:9px;padding:9px 14px;border-radius:30px;background:rgba(255,255,255,.12);font-size:14px}
.aq-status-dot{width:9px;height:9px;border-radius:50%;background:#69d3a7}
.aq-score-card p{font-size:12px;color:#d4e0e9;margin:13px 0 16px;position:relative;z-index:1}
.aq-scale{height:6px;display:flex;gap:3px;position:relative;z-index:1}.aq-scale span{flex:1;border-radius:5px;background:#59c69a}.aq-scale span:nth-child(2){background:#a8ca66}.aq-scale span:nth-child(3){background:#f1c65e}.aq-scale span:nth-child(4){background:#ed9560}.aq-scale span:nth-child(5){background:#e76b70}
.aq-scale-labels{display:flex;justify-content:space-between;font-size:9px;color:#c5d5e2;margin-top:6px;position:relative;z-index:1}
.aq-good .aq-status-dot{background:#65d3a1}.aq-moderate .aq-status-dot{background:#f2c45e}.aq-bad .aq-status-dot,.aq-very-bad .aq-status-dot{background:#ef7770}
.aq-summary-card{padding:22px 24px}
.aq-card-title{margin-bottom:15px}.aq-card-title>div{display:flex;align-items:center;gap:10px;font-size:14px}.aq-icon-circle{width:30px;height:30px;border-radius:10px;background:#edf5fa;color:#4387ad;display:grid;place-items:center;font-size:20px}.aq-muted{font-size:11px;color:#98a6b5}
.aq-summary-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;border-bottom:1px solid #eff2f6;font-size:12px;color:#748497}
.aq-summary-row strong{font-size:15px;color:#263b51}.aq-summary-row small{font-size:10px;color:#91a0ae;font-weight:500}
.aq-summary-foot{font-size:10px;color:#98a6b5;margin-top:12px}
.aq-section{margin-top:34px}
.aq-section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}
.aq-section-heading h2{font-size:21px;letter-spacing:-.5px;margin:5px 0 3px}
.aq-unit-note,.aq-chart-note{font-size:11px;color:#96a4b2}
.aq-pollutant-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.aq-pollutant-card{padding:18px 19px}
.aq-pollutant-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:750;color:#52667b}
.aq-pollutant-symbol{font-size:10px;color:#9eacb9;background:#f3f6f9;border-radius:7px;padding:4px 7px}
.aq-pollutant-value{font-size:27px;font-weight:800;letter-spacing:-.6px;margin:10px 0 1px}
.aq-pollutant-value small{font-size:10px;font-weight:550;letter-spacing:0;color:#91a0af;margin-left:5px}
.aq-pollutant-desc{font-size:10px;color:#8b9aaa}
.aq-mini-track{height:4px;background:#edf1f5;border-radius:5px;margin-top:13px;overflow:hidden}.aq-mini-track span{display:block;height:100%;border-radius:5px;background:linear-gradient(90deg,#70c8a4,#e6c46c)}
.aq-chart-card{padding:20px 22px}
.aq-chart-legend{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#6e8092}
.aq-chart-legend>span:first-child{display:flex;align-items:center;gap:7px}.aq-legend-aqi{width:8px;height:8px;border-radius:50%;background:#ed6862}
.aq-chart-wrap{height:220px;margin-top:12px;position:relative}.aq-chart-wrap canvas{width:100%;height:100%;display:block}
.aq-chart-xlabels{display:flex;justify-content:space-between;color:#9aa8b5;font-size:9px;padding:0 4px}
.aq-forecast-list{padding:4px 21px}
.aq-forecast-row{min-height:58px;display:grid;grid-template-columns:115px 125px 1fr 70px 100px;align-items:center;gap:13px;border-bottom:1px solid #eff2f6;font-size:12px}
.aq-forecast-row:last-child{border:0}
.aq-forecast-day{font-weight:700;color:#43586d}.aq-forecast-state{display:flex;align-items:center;gap:7px;color:#6e8092}.aq-forecast-state i{width:7px;height:7px;border-radius:50%;background:#63c59b}.aq-forecast-state i.moderate{background:#eac05c}.aq-forecast-state i.bad{background:#e97a70}.aq-forecast-state i.neutral{background:#b5c0ca}
.aq-forecast-bar{height:5px;background:#edf1f5;border-radius:8px;overflow:hidden}.aq-forecast-bar span{height:100%;display:block;background:linear-gradient(90deg,#69c89d,#eac36b);border-radius:8px}
.aq-forecast-aqi{font-weight:800;text-align:right}.aq-forecast-aqi small{font-size:9px;color:#9aa7b4;font-weight:500}.aq-forecast-pm{color:#93a0ad;font-size:10px;text-align:right}.aq-forecast-pm strong{color:#53687c;margin-left:4px}
.aq-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:30px}
.aq-info-card{padding:20px}
.aq-info-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#fff0ef;color:#e65d58;font-size:20px}
.aq-info-card h3{font-size:13px;margin:12px 0 6px}.aq-info-card p{font-size:11px;color:#8291a1;line-height:1.65;margin:0}
.aq-source-line{display:flex;justify-content:space-between;gap:15px;margin-top:27px;padding-top:15px;border-top:1px solid #e4eaf1;font-size:10px;color:#94a2b0}
.aq-source-line a{color:#e45b57;text-decoration:underline}
.aq-bottom-links{display:flex;justify-content:space-between;margin-top:20px;font-size:12px;font-weight:700;color:#5c7186}.aq-bottom-links a:hover{color:#e45b57}
.aq-footer{background:#fff;border-top:1px solid #e9eef4;padding:20px 0;color:#9aa7b4;font-size:10px}.aq-footer .aq-container{display:flex;justify-content:space-between}
.aq-alert{background:#fff;border:1px solid #f2d7d5;border-radius:16px;padding:22px;color:#8d5552;box-shadow:var(--aq-shadow)}
@media(max-width:800px){.aq-nav{gap:15px}.aq-nav a{font-size:11px}.aq-back{display:none}.aq-overview{grid-template-columns:1fr}.aq-pollutant-grid{grid-template-columns:repeat(2,1fr)}.aq-forecast-row{grid-template-columns:85px 105px 1fr 55px;gap:8px}.aq-forecast-pm{display:none}.aq-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.aq-container{width:min(100% - 28px,1160px)}.aq-topbar{height:60px}.aq-brand{font-size:20px}.aq-nav{gap:12px}.aq-nav a{padding:20px 0;font-size:10px}.aq-nav a:nth-child(2){display:none}.aq-main{padding-top:17px}.aq-breadcrumb{font-size:10px;margin-bottom:20px}.aq-heading{align-items:flex-start}.aq-heading h1{font-size:27px}.aq-heading p{font-size:12px;max-width:290px}.aq-heading-icon{width:58px;height:58px;border-radius:16px;flex-shrink:0}.aq-cloud{font-size:38px}.aq-wind-lines{font-size:18px}.aq-score-card{padding:21px;min-height:210px}.aq-score-number{font-size:52px}.aq-score-main{gap:20px}.aq-score-status{font-size:11px;padding:8px 10px}.aq-summary-card{padding:19px}.aq-section{margin-top:27px}.aq-section-heading h2{font-size:19px}.aq-unit-note{display:none}.aq-pollutant-grid{gap:9px}.aq-pollutant-card{padding:14px}.aq-pollutant-value{font-size:23px}.aq-chart-card{padding:15px}.aq-chart-wrap{height:185px}.aq-forecast-list{padding:3px 12px}.aq-forecast-row{grid-template-columns:72px 92px 1fr 42px;gap:6px;font-size:10px;min-height:53px}.aq-forecast-day{font-size:10px}.aq-forecast-state{font-size:9px}.aq-forecast-aqi{font-size:11px}.aq-info-grid{grid-template-columns:1fr}.aq-info-card{padding:17px}.aq-source-line{flex-direction:column;gap:5px}.aq-bottom-links{font-size:10px;gap:12px}.aq-footer .aq-container{gap:8px;flex-direction:column}}
