
/* Air-quality dashboard — editorial interface with clearly labelled measured/model data. */
.aq-detail{margin:32px 0 48px;color:var(--ink,#183541)}
.aq-heading{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:20px}
.aq-heading h2{font:750 clamp(1.75rem,3.4vw,2.65rem)/1.12 var(--serif,Georgia,serif);margin:3px 0 10px}
.aq-heading p{color:var(--muted,#64808b);margin:0}
.aq-heading .aq-kicker{display:flex;align-items:center;gap:7px;font-size:.75rem;letter-spacing:.12em;font-weight:850;color:var(--teal-600,#16808b);margin:0}
.aq-model-tag{flex:none;border:1px solid var(--line,#d3e4e8);border-radius:99px;padding:8px 13px;background:var(--tint,#edf4f5);font-size:.77rem;font-weight:800}
.aq-hero{--aq-accent:#1f9955;display:grid;grid-template-columns:230px minmax(0,1fr);gap:30px;align-items:center;background:var(--surface,#fff);border:1px solid var(--line,#d5e4e6);border-radius:22px;padding:30px}
.aq-tone-mid{--aq-accent:#c38a18}.aq-tone-poor{--aq-accent:#db6e27}.aq-tone-bad{--aq-accent:#cf4040}.aq-tone-unknown{--aq-accent:#80959e}
.aq-hero-score{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:17px;padding:28px 15px;background:color-mix(in srgb,var(--aq-accent) 12%,transparent)}
.aq-big-label{font-size:.7rem;letter-spacing:.08em;font-weight:900;color:var(--muted,#667e86)}
.aq-big-score{font-size:clamp(4rem,7vw,6rem);font-weight:900;line-height:1.15;font-variant-numeric:tabular-nums;color:var(--aq-accent)}
.aq-hero-score strong{font-size:1.12rem;color:var(--aq-accent)}
.aq-hero-score small{margin-top:8px;color:var(--muted,#6d7e86);font-size:.74rem}
.aq-hero-info h3{margin:0 0 10px;font-size:1.2rem}
.aq-hero-info>p{color:var(--muted,#617985);line-height:1.6}
.aq-scale{height:16px;border-radius:99px;position:relative;margin:20px 5px 10px;background:linear-gradient(90deg,#39b870 0%,#96cf59 23%,#e9c746 41%,#e98d3d 61%,#d9534d 81%,#88244e 100%)}
.aq-scale-cursor{position:absolute;top:-7px;width:4px;height:30px;border:2px solid #fff;background:#113341;border-radius:4px;transform:translateX(-50%);box-shadow:0 0 0 2px #113341}
.aq-scale-legend{display:flex;justify-content:space-between;font-size:.73rem;color:var(--muted,#627983)}
.aq-hero-info .aq-source-line{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:19px 0 5px;font-size:.78rem}
.aq-source-tag{font-size:.69rem;border:1px solid var(--line,#d9e4e5);padding:3px 8px;border-radius:99px;font-weight:800}
.aq-hero-info .aq-method{font-size:.78rem;line-height:1.5;margin:0}
.aq-section-title{font:750 1.55rem/1.2 var(--serif,Georgia,serif);margin:30px 0 15px}
.aq-pollutants{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.aq-pollutant{border:1px solid var(--line,#d4e1e3);border-radius:15px;background:var(--surface,#fff);padding:17px 14px;min-width:0}
.aq-pollutant-name{display:block;font-size:.9rem;font-weight:850;color:var(--teal-600,#147e89)}
.aq-pollutant strong{font-size:clamp(1.5rem,2.4vw,2.15rem);font-variant-numeric:tabular-nums;display:inline-block;margin-top:14px}
.aq-pollutant-unit{display:block;color:var(--muted,#667985);font-size:.75rem}
.aq-pollutant small{display:block;margin-top:12px;color:var(--muted,#667985);font-size:.77rem;min-height:2.4em}
.aq-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));gap:20px;margin-top:25px}
.aq-chart-section{min-width:0;border:1px solid var(--line,#d4e1e3);border-radius:18px;padding:22px;background:var(--surface,#fff)}
.aq-chart-section h3{margin:0 0 15px;font-size:1.04rem}
.aq-chart{display:grid;grid-template-columns:repeat(24,minmax(0,1fr));align-items:end;gap:3px;height:160px;overflow-x:auto}
.aq-hour{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;min-width:0;gap:3px}
.aq-hour-n{font-size:.53rem;font-weight:800;color:var(--muted,#637680);line-height:1}
.aq-hour-bar{display:block;min-height:6px;width:100%;max-width:25px;border-radius:4px 4px 0 0;background:#47b37a}
.aq-hour-fair{background:#9dc85e}.aq-hour-moderate{background:#e9ba44}.aq-hour-poor{background:#ee8a41}.aq-hour-bad{background:#d74c50}
.aq-hour small{font-size:.52rem;color:var(--muted,#69818a);writing-mode:vertical-rl;max-height:28px;overflow:hidden}
.aq-footer{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:25px;padding:24px;background:var(--tint,#edf5f6);border:1px solid var(--line,#d4e3e5);border-radius:18px}
.aq-footer h3{font-size:1rem;margin:0 0 8px}
.aq-footer p{font-size:.85rem;color:var(--muted,#557482);line-height:1.6;margin:0}
.aq-source-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.aq-source-links a{font-size:.8rem;font-weight:800;color:var(--teal-600,#137c88);text-decoration:underline;text-underline-offset:3px}
.aq-empty{border:1px dashed var(--line,#d0e2e5);padding:25px;border-radius:16px;display:flex;gap:12px;align-items:center}
html[data-theme="dark"] .aq-hero,html[data-theme="dark"] .aq-pollutant,html[data-theme="dark"] .aq-chart-section{background:#17313a;border-color:#34535d}
html[data-theme="dark"] .aq-footer{background:#1b3b45;border-color:#385964}
html[data-theme="dark"] .aq-hero-score{background:color-mix(in srgb,var(--aq-accent) 19%,#17313a)}
html[data-theme="dark"] .aq-model-tag{background:#193a43;border-color:#325662}
html[data-theme="dark"] .aq-source-links a{color:#90dce5}
@media(max-width:1000px){.aq-pollutants{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.aq-heading{align-items:start;flex-direction:column;gap:10px}.aq-hero{grid-template-columns:1fr;gap:15px;padding:16px}.aq-hero-score{padding:16px}.aq-pollutants{grid-template-columns:repeat(2,minmax(0,1fr))}.aq-pollutant{padding:14px}.aq-footer{grid-template-columns:1fr;gap:20px;padding:19px}.aq-chart-section{padding:12px}.aq-chart{gap:2px}}


/* 2026 air-quality refinement: legible concentration, compact methodology and sources */
.aq-detail{max-width:100%;min-width:0}
.aq-hero{
  grid-template-columns:minmax(250px,295px) minmax(0,1fr);
  align-items:stretch;
  gap:26px;
  padding:26px;
}
.aq-hero-score{
  min-width:0;
  display:flex;
  justify-content:center;
  gap:10px;
  padding:26px 18px;
}
.aq-hero-score .aq-big-label{font-size:.73rem;letter-spacing:.095em}
.aq-hero-score .aq-big-score{
  display:block;
  width:auto;
  max-width:100%;
  font-size:clamp(2.6rem,4.4vw,4.4rem);
  font-weight:850;
  font-variant-numeric:tabular-nums;
  line-height:1.02;
  white-space:nowrap;
  overflow-wrap:normal;
  word-break:normal;
  letter-spacing:-.045em;
  margin:5px 0 3px;
}
.aq-hero-score .aq-big-score.is-category{
  white-space:normal;
  font-size:clamp(1.55rem,3vw,2.2rem);
  letter-spacing:-.02em;
  overflow-wrap:break-word;
}
.aq-hero-score strong{font-size:1.22rem;line-height:1.25}
.aq-hero-score small{max-width:190px;line-height:1.45;font-size:.75rem}
.aq-hero-info{min-width:0;display:flex;flex-direction:column;justify-content:center}
.aq-hero-eyebrow{
  color:var(--muted,#66838d);
  font-size:.69rem;
  letter-spacing:.105em;
  font-weight:850;
  margin:0 0 8px;
}
.aq-hero-info h3{margin:0 0 8px;font-size:clamp(1.1rem,1.6vw,1.28rem)}
.aq-hero-info .aq-advice{margin:0;color:var(--ink,#3e636e);font-size:clamp(.89rem,1.2vw,.99rem);line-height:1.6}
.aq-hero-info .aq-scale{margin:22px 5px 10px;height:14px}
.aq-hero-info .aq-source-line{margin:21px 0 8px;gap:8px}
.aq-hero-info .aq-method{max-width:90ch;font-size:.8rem;line-height:1.6}

/* A short, readable sources section rather than two dense blocks of paragraphs. */
.aq-footer{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-top:28px;
  padding:25px;
  background:var(--surface,#fff);
  border:1px solid var(--line,#d4e3e5);
  border-radius:19px;
}
.aq-footer-intro{max-width:73ch}
.aq-footer-kicker,.aq-info-kicker{
  display:block;
  color:var(--teal-600,#147f8b);
  font-size:.7rem;
  letter-spacing:.09em;
  font-weight:850;
  margin-bottom:6px;
}
.aq-footer .aq-footer-intro h3{
  font:750 clamp(1.25rem,2vw,1.5rem)/1.2 var(--serif,Georgia,serif);
  margin:0 0 8px;
}
.aq-footer .aq-footer-intro p{font-size:.88rem;line-height:1.55}
.aq-footer-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}
.aq-info-card{
  min-width:0;
  border:1px solid var(--line,#d4e3e5);
  border-radius:15px;
  background:var(--tint,#f3f8f9);
  padding:19px;
}
.aq-info-heading{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.aq-info-symbol{
  width:40px;
  height:40px;
  border-radius:11px;
  flex:none;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--teal-600,#127f8a);
  background:color-mix(in srgb,var(--teal-600,#127f8a) 11%,transparent);
}
.aq-info-card h4{margin:0;font-size:1.03rem;line-height:1.3}
.aq-info-card p{font-size:.84rem;line-height:1.6}
.aq-info-card a,.aq-secondary-source>a,.aq-external-links a{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:var(--teal-600,#137c88);
  font-size:.82rem;
  font-weight:800;
  text-decoration:none;
  margin-top:11px;
}
.aq-info-card a:hover,.aq-secondary-source a:hover,.aq-external-links a:hover{text-decoration:underline;text-underline-offset:3px}
.aq-mini-scale{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;margin:13px 0 5px}
.aq-mini-scale i{display:block;height:7px;border-radius:6px;background:#39b870}
.aq-mini-scale i:nth-child(2){background:#a5cf54}
.aq-mini-scale i:nth-child(3){background:#e9c746}
.aq-mini-scale i:nth-child(4){background:#e98d3d}
.aq-mini-scale i:nth-child(5){background:#d9534d}
.aq-mini-scale i:nth-child(6){background:#88244e}
.aq-footer .aq-info-note{font-size:.76rem;margin-top:8px}
.aq-secondary-source{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:13px;
  padding:16px 18px;
  border:1px solid var(--line,#d4e3e5);
  border-radius:13px;
}
.aq-secondary-source>div{flex:1 1 320px;min-width:0}
.aq-secondary-source strong{font-size:.87rem}
.aq-footer .aq-secondary-source p{margin:5px 0 0;font-size:.8rem}
.aq-secondary-source>a{margin:0}
.aq-external-comparison{border-top:1px solid var(--line,#d4e3e5);padding-top:12px}
.aq-external-comparison summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:7px 2px;
  cursor:pointer;
  list-style:none;
  font-weight:800;
  font-size:.85rem;
  color:var(--ink,#315560);
}
.aq-external-comparison summary::-webkit-details-marker{display:none}
.aq-external-comparison summary span{transition:transform .18s}
.aq-external-comparison[open] summary span{transform:rotate(180deg)}
.aq-external-content{padding:10px 3px 1px;max-width:85ch}
.aq-footer .aq-external-content p{font-size:.83rem;line-height:1.65}
.aq-external-links{display:flex;flex-wrap:wrap;gap:6px 20px}
.aq-external-links a{margin-top:10px}
.aq-external-comparison summary:focus-visible,
.aq-footer a:focus-visible{outline:3px solid var(--teal-600,#13808b);outline-offset:3px;border-radius:4px}
html[data-theme="dark"] .aq-footer{
  background:#17313a;
  border-color:#375560;
}
html[data-theme="dark"] .aq-info-card{
  background:#1b3944;
  border-color:#3d5c65;
}
html[data-theme="dark"] .aq-info-card a,
html[data-theme="dark"] .aq-secondary-source>a,
html[data-theme="dark"] .aq-external-links a{color:#94e0e9}
html[data-theme="dark"] .aq-secondary-source{border-color:#3d5c65}
html[data-theme="dark"] .aq-external-comparison{border-color:#3d5c65}
html[data-theme="dark"] .aq-hero-info .aq-advice{color:#b5cbd2}
@media(max-width:850px){
  .aq-hero{grid-template-columns:minmax(205px,240px) minmax(0,1fr);gap:18px;padding:19px}
  .aq-hero-score .aq-big-score{font-size:clamp(2.5rem,4.2vw,3.7rem)}
}
@media(max-width:650px){
  .aq-hero{grid-template-columns:1fr;gap:17px;padding:16px}
  .aq-hero-score{padding:22px 14px}
  .aq-hero-score .aq-big-score{font-size:clamp(3rem,12vw,4.2rem)}
  .aq-footer{padding:16px;gap:15px}
  .aq-footer-cards{grid-template-columns:1fr}
  .aq-info-card{padding:16px}
  .aq-secondary-source{padding:14px}
}
@media(prefers-reduced-motion:reduce){.aq-external-comparison summary span{transition:none}}
