/* ---------- Tools: Statistiken (LH 15.8), Statusticker (LH 15.9) ---------- */
.stat-kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 220px)); gap: 10px; }
.stat-kachel { background: var(--p2); border: 1px solid var(--ln); border-radius: 6px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat-kachel .t { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--mu); }
.stat-kachel .z { font-size: 34px; font-weight: 800; font-family: var(--mono); line-height: 1.1; }
.stat-kachel .u { font-size: 12.5px; color: var(--mu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.tik-liste { display: flex; flex-direction: column; gap: 2px; }
.tik-zeile { display: grid; grid-template-columns: 150px 34px 150px minmax(0, 1fr) auto; gap: 0 10px; align-items: center; padding: 4px 10px; border-radius: 5px; background: var(--p2); font-size: 14px; white-space: nowrap; }
.tik-zeile > * { overflow: hidden; text-overflow: ellipsis; }
.tik-zeile .zeit { font-family: var(--mono); color: var(--mu); }
.tik-zeile .code { text-align: center; border-radius: 3px; padding: 0 4px; font-weight: 700; }
.tik-zeile .name { color: var(--mu); }
.tik-zeile .nach { font-size: 11.5px; color: var(--warn); border: 1px solid var(--ln2); border-radius: 3px; padding: 0 5px; }

/* Statistiken erweitert (2026-11-19, Skizze statistik.html) */
.st { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.st-leiste { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.st-zeit { font-size: 17px; min-width: 150px; text-align: center; }
.st-kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.st-kacheln .stat-kachel .z { font-size: 28px; }
.st-raster { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; }
.st-rechts { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.st .pn > .b { padding: 10px; }
.st-zeile { display: flex; gap: 16px; align-items: center; }
.st-tab-rahmen { flex: 1; max-height: 230px; overflow: auto; min-width: 0; }
.st-tab { border-collapse: collapse; width: 100%; font-size: 13.5px; }
.st-tab td { padding: 4px 6px; border-bottom: 1px solid var(--ln); }
.st-tab td.z { text-align: right; font-family: var(--mono); white-space: nowrap; }
.st-farbe { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.st-leg { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.st-torte { flex: none; }
.st-torte-z { font: 800 22px var(--mono); fill: var(--tx); }
.st-torte-u, .st-achse { font-size: 10px; fill: var(--mu); }
.st-balken rect.klick { cursor: pointer; }
.st-balken rect.klick:hover { opacity: .8; }
.st-seg button { padding: 2px 10px; font-size: 12px; }
