/* ═══════════════════════════════════════════════════════════════════
 * pegel.css – Kachel Wasserstand RHB Altmannsdorf (nach start.css laden)
 * Nutzt die Variablen aus shell.css (--g-text, --g-muted, --g-blau …)
 * ═════════════════════════════════════════════════════════════════*/
.pg { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }

.pg-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pg-zahl { display: flex; align-items: baseline; gap: 4px; line-height: 1; font-variant-numeric: tabular-nums; }
.pg-zahl b { font-size: 2.3rem; font-weight: 750; letter-spacing: -.03em; color: var(--g-text); }
.pg-zahl span { font-size: .85rem; font-weight: 500; color: var(--g-muted); }

/* Trend-Plakette wie .trend, Farben passend zum Wasser */
.pg-trend {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 650;
  background: rgba(67, 112, 148, .1); color: var(--g-blau-tief);
}
.pg-trend svg.lucide { width: 13px; height: 13px; }
.pg-steigt .pg-trend { background: rgba(196, 138, 18, .14); color: #8a5a14; }
.pg-faellt .pg-trend { background: rgba(47, 127, 191, .14); color: #1f5f94; }

.pg-ort { margin: 0; font-size: .8rem; color: var(--g-muted); }

/* Verlauf 48 h – gleiche Optik wie .spark */
.pg-kurve { display: block; width: 100%; height: 60px; margin-top: auto; padding-top: 6px; color: var(--g-blau); overflow: visible; }

.pg-fuss {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding-top: 6px; border-top: 1px solid var(--g-linie);
  font-size: .74rem; color: var(--g-muted); font-variant-numeric: tabular-nums;
}
.pg-alt .pg-stand { color: #b8322a; font-weight: 650; }
.pg-alt .pg-stand::after { content: " – keine neuen Werte"; }

.pg .km-quelle { margin: 4px 0 0; font-size: .68rem; color: var(--g-muted); }
.pg .km-quelle a { color: var(--g-blau); }
