/* Pages « Qualité de l'eau » (générées chaque jour) */
body.eau .obs-hero .wrap{display:block;max-width:980px}
body.eau .obs-hero h1{margin-bottom:10px}
body.eau h2{font-size:1.3rem;margin:34px 0 12px;color:var(--encre)}
.eau-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:22px 0 10px}
.eau-kpi{background:#fff;border:1px solid var(--trait);border-left:6px solid #B9C3C6;border-radius:12px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.eau-kpi em{font-style:normal;font:600 12.5px/1.2 Inter,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:var(--gris)}
.eau-kpi b{font:700 1.45rem/1.15 Inter,sans-serif;color:var(--encre)}
.eau-kpi span{font-size:.92rem;line-height:1.45;color:#3E4F56}
.eau-kpi.ok{border-left-color:#3B8C5A}.eau-kpi.bas{border-left-color:#A8CF8E}.eau-kpi.moy{border-left-color:#F2C14E}.eau-kpi.haut{border-left-color:#E76F51}.eau-kpi.dep{border-left-color:#9B2226}
.eau-kpi.dep b{color:#9B2226}
.eau-kpi .spark{width:100%;height:auto;max-width:260px;margin-top:4px}
.spark polyline{fill:none;stroke:#24689A;stroke-width:1.6}
.spark circle{fill:#24689A}.spark circle.dep{fill:#9B2226}
.spark .lim{stroke:#9B2226;stroke-dasharray:4 3;stroke-width:1}
.eau-note{font-size:.92rem;color:var(--gris);line-height:1.5}
.eau-res{padding-left:1.1em;line-height:1.6}
.eau-res li{margin:4px 0}
.eau-res em{font-style:normal;font-weight:600}
.eau-cta{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0 8px}
.eau-vois a{white-space:nowrap}
.eau-src{font-size:.82rem;color:var(--gris);margin-top:30px;line-height:1.5;border-top:1px solid var(--trait);padding-top:12px}
.eau-tab-wrap{overflow-x:auto;margin:10px 0}
table.eau-tab{width:100%;border-collapse:collapse;font-size:.95rem;background:#fff}
table.eau-tab th{text-align:left;font-weight:600;color:var(--gris);border-bottom:2px solid var(--trait);padding:8px 10px;white-space:nowrap}
table.eau-tab th small{font-weight:400}
table.eau-tab td{border-bottom:1px solid #EEF2F3;padding:7px 10px;white-space:nowrap}
table.eau-tab td.l{white-space:normal}
table.eau-tab td.ok,table.eau-tab td.bas,table.eau-tab td.moy,table.eau-tab td.haut,table.eau-tab td.dep{font-weight:600}
table.eau-tab td.ok::before,table.eau-tab td.bas::before,table.eau-tab td.moy::before,table.eau-tab td.haut::before,table.eau-tab td.dep::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:0}
table.eau-tab td.ok::before{background:#3B8C5A}table.eau-tab td.bas::before{background:#A8CF8E}table.eau-tab td.moy::before{background:#F2C14E}table.eau-tab td.haut::before{background:#E76F51}table.eau-tab td.dep::before{background:#9B2226}
table.eau-tab td.dep{color:#9B2226}
table.eau-tab td.na{color:#9AA5A8}
.eau-dkpi{margin:18px 0}
@media (max-width:760px){.eau-kpis{grid-template-columns:1fr}}

/* historique des restrictions sécheresse d'une commune (20261113k) */
body.eau h3{font-size:1.08rem;margin:24px 0 8px;color:var(--encre)}
table.eau-hist{max-width:640px}
table.eau-hist td.j{text-align:right;font-weight:600}
table.eau-hist td.b{width:40%;min-width:90px}
table.eau-hist td.b span{display:block;height:12px;border-radius:3px;min-width:0;background:#B9C3C6}
table.eau-hist td.b span.n2{background:#F4A261}table.eau-hist td.b span.n3{background:#E76F51}table.eau-hist td.b span.n4{background:#9B2226}
table.eau-hist td small{color:var(--gris)}
@media (max-width:760px){table.eau-hist th{white-space:normal}table.eau-hist td.b{width:auto;min-width:56px}table.eau-hist td,table.eau-hist th{padding-left:6px;padding-right:6px}}
