/* Talsperren und Wasser (nutzt die Grafik-Grundlagen aus duerre.css) */
:root {
  --ws-rr: #2a78d6;          /* Kategorie 1: gemessener Niederschlag */
  --ws-normal: #0b0b0b;      /* Vergleichswert als Strich in Textfarbe */
}
@media (prefers-color-scheme: dark) {
  :root { --ws-rr: #3987e5; --ws-normal: #f0efec; }
}

.ws-hinweis { background: var(--wheat-soft); border-left: 4px solid var(--wheat); border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; max-width: 46em; }
.ws-hinweis p { margin: 0; }

.ws-sperren { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 14px 0; }
@media (min-width: 720px) { .ws-sperren { grid-template-columns: repeat(2, 1fr); } }
.ws-sperre { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; scroll-margin-top: 80px; }
.ws-sperre h3 { margin: 0; font-size: 1.15rem; }
.ws-sperre p { margin: 6px 0; }
.ws-sperre .tags { margin: 6px 0; }
.ws-sperre dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: .92rem; margin: 10px 0 6px; }
.ws-sperre dt { color: var(--muted); }
.ws-sperre dd { margin: 0; }
.ws-nachbar { margin-top: 14px; }

.ws-tabelle { margin: 10px 0; }
.ws-tabelle summary { cursor: pointer; font-weight: 600; }
.dm-tabelle.ws-tab th:first-child, .dm-tabelle.ws-tab td { text-align: right; }
.dm-tabelle.ws-tab th:first-child { text-align: left; }
.dm-legende i.strich { border-top: 2px solid var(--ws-normal); }
.dm-legende i.balken { height: 10px; border: 0; background: var(--ws-rr); border-radius: 2px; }
