/* Verwaltungsseite cable.claimland.app - bis 24.09.2026 als <style>-Block in
   public/mod/index.html. Eigene Datei, weil die CSP dieser Site kein
   'unsafe-inline' fuer Stile erlaubt.

   Farben: die Tokens von "Kataster modern" aus public/css/style.css als KOPIE
   (die Seite laedt style.css nicht, das waere das ganze Spiel-Stylesheet),
   seit 13.10.2026 dazu die dunkle Fassung "Nachtpapier" von dort, ebenfalls
   als Kopie (Tafel 6 aus scratchpad/cable-aufhuebschen-varianten.html,
   Entscheidung des Users). Bis dahin nur hell (24.09.2026), weil die
   Dunkel-Wahl des Spiels im localStorage von claimland.app liegt und hier
   nicht lesbar ist - deshalb folgt cable der Systemeinstellung und hat einen
   eigenen Schalter (js/theme.js setzt data-theme am <html>). Der dunkle Satz
   steht ZWEIMAL unten (Systemeinstellung, Schalter): ohne Praeprozessor geht
   es nicht anders, beide Bloecke gleich halten. */

:root {
    --paper: #fdfbf7;
    --paper-sunken: #f4efe6;
    --paper-subtle: #f5f0e7;
    --ground: #f2ece1;
    --ink: #22323d;
    --ink-2: #4d5a63;
    --ink-3: #636e76;
    --line: #e3dacd;
    --line-strong: #d6cbb7;
    --danger: #a93226;
    --danger-soft: #fbeae6;
    --ok: #1e8449;
    --ok-soft: #e9f3ea;
    --gold: #8a6408;
    --gold-soft: #fbf3dc;
    --on-ink: #fdfbf7;
    --shadow: rgba(34, 50, 61, .08);
    --mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color-scheme: light;
}

/* Nachtpapier, Kopie aus public/css/style.css (:root[data-theme="dark"]). */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --paper: #1f1c18;
        --paper-sunken: #171511;
        --paper-subtle: #2a2620;
        --ground: #171511;
        --ink: #ede7dc;
        --ink-2: #cfc6b8;
        --ink-3: #b0a696;
        --line: #3a342c;
        --line-strong: #4a4237;
        --danger: #f2a197;
        --danger-soft: #3b211d;
        --ok: #52c07f;
        --ok-soft: #1e3024;
        --gold: #e6c374;
        --gold-soft: #372e1d;
        --on-ink: #1f1c18;
        --shadow: rgba(0, 0, 0, .35);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --paper: #1f1c18;
    --paper-sunken: #171511;
    --paper-subtle: #2a2620;
    --ground: #171511;
    --ink: #ede7dc;
    --ink-2: #cfc6b8;
    --ink-3: #b0a696;
    --line: #3a342c;
    --line-strong: #4a4237;
    --danger: #f2a197;
    --danger-soft: #3b211d;
    --ok: #52c07f;
    --ok-soft: #1e3024;
    --gold: #e6c374;
    --gold-soft: #372e1d;
    --on-ink: #1f1c18;
    --shadow: rgba(0, 0, 0, .35);
    color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
    background: var(--ground); color: var(--ink);
    font: 14px/1.5 var(--sans);
}
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Geruest ---------- */
.side { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 100vh; }
/* Solange die Leiste fehlt (Anmeldung), gehoert die ganze Breite der Hauptspalte. */
.side:has(> .nav[hidden]) { grid-template-columns: minmax(0, 1fr); }
.nav {
    background: var(--paper-subtle); border-right: 1px solid var(--line);
    padding: 16px 10px; position: sticky; top: 0; align-self: start;
    height: 100vh; overflow-y: auto; z-index: 10;
}
.brand { font-weight: 800; padding: 0 8px 10px; }
.brand small { display: block; font-weight: 400; color: var(--ink-3); overflow-wrap: anywhere; }
.nav ul { list-style: none; margin: 0; padding: 0; }
/* Gruppen (seit 16.10.2026, Tafel 2 aus scratchpad/cable-struktur-varianten.html):
   am Desktop klappbar, zu zeigt der Kopf die Summe der roten und goldenen
   Zaehler darin. Die Symbole braucht nur die untere Leiste am Handy. */
.gi {
    display: none; width: 20px; height: 20px; fill: none; stroke: currentColor;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.grp {
    width: 100%; border: 0; background: none; cursor: pointer; text-align: left;
    display: flex; align-items: center; gap: 6px;
    font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-3); padding: 12px 8px 3px;
}
.grp::before { content: "▸"; letter-spacing: 0; font-size: 11px; width: 8px; }
.grp[aria-expanded="true"]::before { content: "▾"; }
.grp:hover, .grp[aria-expanded="true"] { color: var(--ink-2); }
.grp .gl { flex: 1 1 auto; }
.grp .count { letter-spacing: 0; text-transform: none; }
.grp[aria-expanded="true"] .gcount { display: none; }
.group:not(.open) > .sub { display: none; }
.bnav { display: none; }
.navi {
    width: 100%; text-align: left; border: 0; background: none; border-radius: 8px;
    padding: 7px 8px; cursor: pointer; display: flex; justify-content: space-between;
    align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; white-space: nowrap;
}
.navi:hover { color: var(--ink); }
.navi[aria-current="true"] {
    background: var(--paper); color: var(--ink);
    box-shadow: inset 3px 0 0 var(--ink), inset 0 0 0 1px var(--line);
}
.navfoot { margin: 18px 8px 0; display: grid; gap: 10px; justify-items: start; }
.back { display: block; color: var(--ink-2); text-decoration: none; font-size: 13px; }
.linkbtn { border: 0; background: none; padding: 0; cursor: pointer; }
/* Versionsvermerk (seit 17.11.2026): klein und blass unten in der Leiste,
   am Handy am Ende der Seite (#ver-m, siehe Media Query unten). */
.ver { margin: 4px 0 0; font-size: 11px; line-height: 1.45; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.ver span { display: block; }
.ver-m { display: none; }
.linkbtn:hover, .back:hover { color: var(--ink); }
.main { padding: 20px 24px 60px; max-width: 1120px; }
.main h1 { font-size: 22px; margin: 0; text-wrap: balance; }
.main h2 { font-size: 15px; margin: 22px 0 8px; }
.ptitle { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
.ptitle h1 { flex: 1 1 auto; min-width: 0; }

/* Darstellung Hell / Auto / Dunkel (js/theme.js). */
.theme { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; }
.theme button {
    border: 0; background: none; padding: 3px 9px; font-size: 12px; cursor: pointer;
    color: var(--ink-2); font-weight: 600;
}
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

@media (max-width: 719px) {
    /* align-content: sonst verteilt das Raster bei kurzem Inhalt ("Lädt…") die
       freie Hoehe auf beide Zeilen und schiebt den Bereich nach unten. */
    .side { grid-template-columns: minmax(0, 1fr); align-content: start; }
    /* Oben angeheftet, damit die Bereiche beim Scrollen erreichbar bleiben;
       die Hoehe meldet modpage.js als --nav-h (Sprungleiste darunter). */
    .nav {
        height: auto; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line);
        padding: 10px 0 8px; box-shadow: 0 2px 8px var(--shadow);
    }
    .brand { padding: 0 16px 8px; margin-right: 210px; }
    .brand small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* Oben nur die Bereiche der offenen Gruppe, umbrechend statt wischend;
       Uebersicht und Gruppen stehen in der unteren Leiste. */
    .areas > .start, .grp, .group:not(.open) { display: none; }
    .group.open > .sub { display: flex; flex-wrap: wrap; gap: 6px; padding: 2px 12px 0; }
    .navi {
        width: auto; border: 1px solid var(--line); background: var(--paper);
        border-radius: 999px; padding: 6px 12px;
    }
    .navi[aria-current="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); box-shadow: none; }
    .navi[aria-current="true"] .count:not(.alert):not(.warn) { background: var(--paper); color: var(--ink); }
    /* Schalter und Abmelden oben rechts neben der Marke. */
    .navfoot {
        position: absolute; top: 10px; right: 12px; margin: 0;
        display: flex; gap: 10px; align-items: center;
    }
    .navfoot .back:not(.linkbtn) { display: none; }
    .navfoot .ver { display: none; }
    .ver-m:not([hidden]) { display: block; margin-top: 24px; padding-top: 8px; border-top: 1px solid var(--line); }
    .main { padding: 14px 14px calc(88px + env(safe-area-inset-bottom)); }

    /* Untere Leiste: fuenf Ziele im Daumenbereich, Zaehler = Summe der Gruppe. */
    .bnav:not([hidden]) {
        display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
        background: var(--paper); border-top: 1px solid var(--line);
        box-shadow: 0 -2px 8px var(--shadow);
        padding: 6px 2px calc(8px + env(safe-area-inset-bottom));
    }
    .bnav button {
        border: 0; background: none; padding: 0; cursor: pointer; min-width: 0;
        display: grid; justify-items: center; gap: 2px; position: relative;
        font-size: 11px; font-weight: 600; color: var(--ink-3);
    }
    /* Seit 27.10.2026 bis zu sechs Ziele (Ueberblick + fuenf Gruppen): bei
       320 px bleiben je Knopf 53 px, die Pille ist deshalb schmaler. */
    .bnav .gi { display: block; width: 48px; height: 30px; padding: 4px 13px; border-radius: 999px; }
    .bnav button { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .bnav button[aria-current="true"] { color: var(--ink); }
    .bnav button[aria-current="true"] .gi { background: var(--paper-sunken); box-shadow: inset 0 0 0 1px var(--line-strong); }
    .bnav .count { position: absolute; top: -3px; left: calc(50% + 8px); }
    .bnav .tone { position: absolute; top: 2px; left: calc(50% - 18px); }
    /* Branchenvergleich (Kachel im Ueberblick) und Devs (eigener Knopf unten)
       stehen oben nicht. */
    .areas > .start-extra, .areas > .foot { display: none; }
}
/* Devs: selten gebraucht, abgesetzt unter den Gruppen (Desktop). */
.areas > .foot { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.grp .tone { margin-left: auto; }
.grp .tone + .gcount { margin-left: 6px; }

/* ---------- Anmeldung ---------- */
#login { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; max-width: 560px; }
#login .stack { gap: 10px; }
#login h1 { margin-bottom: 4px; }
#login p { margin: 0; }
#login a { color: var(--ink); }
.input.code { width: 9ch; letter-spacing: .2em; font-family: var(--mono); font-size: 16px; }
code.key { font-size: 15px; letter-spacing: .08em; padding: 4px 8px; user-select: all; }

/* ---------- Bausteine ---------- */
.muted { color: var(--ink-3); }
.small { font-size: 12px; }
.num, table { font-variant-numeric: tabular-nums; }
.err { color: var(--danger); font-weight: 600; }
.okmsg { color: var(--ok); font-weight: 600; }
code { font-family: var(--mono); font-size: 12px; background: var(--paper-sunken); padding: 1px 5px; border-radius: 4px; overflow-wrap: anywhere; }
.count {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 999px; background: var(--line); color: var(--ink-2); font-size: 11px; font-weight: 700;
}
.count.alert { background: var(--danger); color: var(--paper); }
.count.warn { background: var(--gold-soft); color: var(--gold); }
.chip {
    display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px;
    background: var(--paper-subtle); color: var(--ink-2); border: 1px solid var(--line);
}
.chip.bad { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.chip.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip.warn { background: var(--gold-soft); color: var(--gold); border-color: transparent; }
.btn {
    border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px;
    padding: 6px 12px; cursor: pointer; font-weight: 600; font-size: 13px;
}
.btn:disabled { opacity: .45; cursor: default; }
.btn.primary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.btn.danger { background: var(--danger); color: var(--paper); border-color: var(--danger); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.is-armed { box-shadow: 0 0 0 3px var(--danger-soft); }
.opt {
    border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px;
    padding: 4px 10px; font-size: 12px; cursor: pointer;
}
.opt[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.choices { display: flex; flex-wrap: wrap; gap: 6px; }
.flabel { display: block; font-size: 12px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.input {
    border: 1px solid var(--line-strong); background: var(--paper-sunken); border-radius: 10px;
    padding: 7px 10px; width: 100%; min-width: 0;
}
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.row > .grow { flex: 1 1 180px; min-width: 0; }
.row.below { margin-top: 14px; align-items: center; }
.stack { display: grid; gap: 12px; max-width: 560px; }

/* Karten (Tafel 1): modpage.js legt jede Folge von Inhalten bis zur naechsten
   Ueberschrift auf eine Papierkarte. Eigene Karten (Meldungen, Kacheln,
   Trend-Karten) bleiben ohne zweite Huelle. */
.card {
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    padding: 14px 16px; margin-bottom: 12px; min-width: 0;
}
.card > h2:first-child, .card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
#pane-body > h2 { margin-top: 18px; }
#pane-body > h2:first-child { margin-top: 0; }

/* Meldungen */
.report {
    border: 1px solid var(--line); border-left: 3px solid var(--danger); border-radius: 12px;
    padding: 12px; display: grid; gap: 8px; margin-bottom: 10px; background: var(--paper);
}
.report .head { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.report blockquote {
    margin: 0; padding: 8px 10px; background: var(--paper-sunken); border-radius: 8px;
    overflow-wrap: anywhere; white-space: pre-wrap;
}
.acts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
/* Deutsche Fassung unter Nachricht bzw. Meldegrund (seit 19.10.2026): leer
   unsichtbar, gefuellt eingerueckt mit Strich wie ein Zitat zweiter Ordnung. */
.report .tr:empty { display: none; }
.report .tr { padding-left: 10px; border-left: 2px solid var(--line); overflow-wrap: anywhere; }
.report .tr .muted { display: block; }

/* Level-35-Anfragen (seit 05.10.2026, bis 1.15.x Level 30): Karte wie eine Meldung, Rand in
   Tinte statt Rot - eine Anfrage ist nichts Schlimmes. */
.report.letter { border-left-color: var(--ink); }
textarea.input { min-height: 120px; resize: vertical; line-height: 1.5; }
details.done { margin-top: 0; padding-top: 0; }
details.done summary { cursor: pointer; font-weight: 700; padding: 2px 0 6px; }

/* Listen und Tabellen */
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list li:last-child { border-bottom: 0; }
/* Laender-Route in der Spielersuche (seit 05.11.2026, Tafel 1 aus
   scratchpad/cable-laender-route-varianten.html): nummerierte Liste, die
   Nummer kommt per value vom Server (Luecken bleiben sichtbar). */
ol.route { margin: 0; padding-left: 30px; font-variant-numeric: tabular-nums; }
ol.route li { padding: 1px 0; }
.list .grow { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.tw { overflow-x: auto; }
/* Lange Tabellen (mehr als 15 Zeilen, modpage.js) scrollen in sich, damit
   der Kopf stehen bleibt. */
.tw.long { max-height: min(70vh, 640px); overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { padding: 6px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
th {
    font-size: 11px; color: var(--ink-3); font-weight: 600;
    position: sticky; top: 0; z-index: 1; background: var(--paper);
    box-shadow: inset 0 -1px 0 var(--line-strong);
}
tbody tr:nth-child(even) td { background: var(--paper-subtle); }
td:first-child { font-weight: 600; }
td.dash { color: var(--ink-3); }
/* Tagesgrenzen der Werbevideos (seit 24.11.2026, Tafel 2 aus
   scratchpad/cable-video-treppe-varianten.html): Stufe der Grenze hinterlegt,
   die Skip-Ads-Zeile klein direkt unter der Video-Zeile. */
table.ladder td, table.ladder th { min-width: 56px; }
table.ladder tbody tr td.cap { background: var(--gold-soft); }
table.ladder tr.vidrow td { border-bottom: 0; }
table.ladder tr.skiprow td { font-size: 12px; border-bottom-color: var(--line-strong); }
table.ladder tr.skiprow td:first-child { font-weight: 400; padding-left: 22px; }
/* Lange Texte (Browser-Fehler) duerfen umbrechen, statt die Tabelle zu sprengen. */
th.l, td.l { text-align: left; }
/* Unterzeile einer Tabellenzeile (seit 16.11.2026: Reiter eines Fensters in
   "Fenster & Tipps"): eingerueckt, leiser, ohne die fette erste Spalte. */
tr.sub td { color: var(--ink-2); font-size: 12px; }
tr.sub td:first-child { font-weight: 400; padding-left: 20px; }
td.wrap { white-space: normal; min-width: 220px; overflow-wrap: anywhere; }
/* Kaeuferliste im Bereich "Kaeufe" (seit 21.11.2026, Tafel 2 aus
   scratchpad/cable-kaeufer-umsatz-varianten.html): je Kauf eine Zeile in der
   Zelle, erstattete und Testkaeufe durchgestrichen und leiser. */
td .buy { display: block; white-space: nowrap; font-weight: 400; }
td .buy.void { color: var(--ink-3); text-decoration: line-through; }
/* Erklaerung per ⓘ (seit 02.11.2026, modpage.js info()): Kreis neben dem
   Namen, Blase fixiert daneben (placeBubble). .tinfo = die ⓘ der Spalten als
   Zeile ueber der Tabelle, nur am Handy (dort fehlt der Tabellenkopf). */
details.i { display: inline-block; vertical-align: middle; }
details.i > summary {
    list-style: none; cursor: pointer; display: inline-block; width: 16px; height: 16px; margin-left: 4px;
    border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink-3);
    font: 700 10px/14px var(--sans); text-align: center; text-transform: none; letter-spacing: 0;
}
details.i > summary::-webkit-details-marker { display: none; }
details.i[open] > summary { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
details.i .bubble {
    position: fixed; z-index: 50; white-space: normal; text-align: left;
    background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px;
    padding: 8px 10px; box-shadow: 0 6px 18px var(--shadow);
    font: 400 12px/1.4 var(--sans); text-transform: none; letter-spacing: 0;
}
.tinfo { display: none; }
.linkish { border: 0; background: none; padding: 0; color: var(--ink); font-weight: 700; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line-strong); }

/* Am Handy: jede Tabellenzeile eine Karte, Spaltenname ueber dem Wert
   (data-label setzt modpage.js aus dem Tabellenkopf). Kein seitliches Wischen. */
@media (max-width: 719px) {
    .tw, .tw.long { overflow: visible; max-height: none; }
    .tw table, .tw tbody, .tw td { display: block; }
    .tw thead { display: none; }
    .tw tr {
        display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 10px;
        border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
        margin-bottom: 8px; background: var(--paper);
    }
    .tw td, tbody tr:nth-child(even) td {
        border: 0; padding: 0; text-align: left; white-space: normal; background: none;
        font-weight: 700; overflow-wrap: anywhere; min-width: 0;
    }
    .tw td::before {
        content: attr(data-label); display: block; font-size: 11px; font-weight: 600; color: var(--ink-3);
    }
    .tw td:first-child { grid-column: 1 / -1; font-size: 14px; }
    .tw td:first-child::before { display: none; }
    .tw td.span, .tw td.wrap { grid-column: 1 / -1; min-width: 0; }
    .tinfo { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
    .tinfo .c { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 9px; font-size: 12px; color: var(--ink-2); }
    .card { padding: 12px; }
}

/* Spieler */
.dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 16px; margin: 12px 0 0; }
.dl div { border-top: 1px solid var(--line); padding-top: 6px; min-width: 0; }
.dl dt { font-size: 11px; color: var(--ink-3); font-weight: 600; }
.dl dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

/* Zahlen */
.figs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.fig { background: var(--paper-subtle); border-radius: 12px; padding: 10px 12px; }
.fig b { display: block; font-size: 20px; font-variant-numeric: tabular-nums; }
.fig span { font-size: 12px; color: var(--ink-2); }
.hist { display: grid; grid-template-columns: repeat(40, 1fr); gap: 2px; align-items: end; height: 100px; border-bottom: 1px solid var(--line); }
.hist i { display: block; background: var(--ink-2); border-radius: 2px 2px 0 0; }
/* Dasselbe 30er-Raster wie die Balken, damit "10" unter Level 10 steht. */
.hist-axis { display: grid; grid-template-columns: repeat(40, 1fr); gap: 2px; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.hist-axis span { white-space: nowrap; }
.hbar { display: grid; grid-template-columns: 70px 1fr 48px; gap: 8px; align-items: center; font-size: 13px; margin: 5px 0; }
.hbar .track { height: 8px; background: var(--paper-sunken); border-radius: 99px; overflow: hidden; }
.hbar .fill { display: block; height: 100%; background: var(--ok); border-radius: 99px; }
.hbar .v { text-align: right; font-variant-numeric: tabular-nums; }
/* Branchenwerte (seit 21.10.2026, Tafeln 1 + 4 aus
   scratchpad/cable-branchenwerte-varianten.html): graue Zeile unter einer
   Kennzahl, Antippen zeigt Definition, Quelle und Hinweis. Ohne Farbe und
   ohne Bewertung. In .fig KEIN <b>/<span> darin - die Regeln oben griffen. */
.bm { display: block; margin-top: 3px; font-size: 11px; color: var(--ink-3); }
.bm > summary { cursor: pointer; list-style: none; text-decoration: underline dotted; text-underline-offset: 2px; width: fit-content; }
.bm > summary::-webkit-details-marker { display: none; }
.bm em { font-style: italic; }
.bm p { margin: 4px 0 0; color: var(--ink-2); white-space: normal; }
tr.bmrow td { color: var(--ink-3); font-weight: 400; font-style: italic; background: var(--paper-subtle); }
td.bmnote { white-space: normal; text-align: left; min-width: 220px; color: var(--ink-2); font-size: 12px; }
/* Werbevideos: laengere Beschriftungen ("Weiter besichtigen"). */
.hbar.wide { grid-template-columns: 140px 1fr 48px; }
/* Tagesdeckel im Bereich Betrieb: Name mit "gestern" darunter, Wert "a / b". */
.hbar.quota { grid-template-columns: 170px 1fr 110px; margin: 9px 0; }
.hbar.quota .qsub { display: block; font-size: 11px; color: var(--ink-3); }
/* Konto sichern (seit 25.10.2026, Tafel 2 aus
   scratchpad/cable-sichern-varianten.html): Wert mit zwei Anteilen,
   Anbieter eingerueckt unter "Gesichert". */
.hbar.signup { grid-template-columns: 150px 1fr 190px; margin: 7px 0; }
.hbar.signup.in > span:first-child { padding-left: 14px; color: var(--ink-2); }
@media (max-width: 560px) {
    .hbar.signup { grid-template-columns: minmax(0, 1fr) auto; }
    .hbar.signup .track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
    .hbar.quota { grid-template-columns: minmax(0, 1fr) auto; }
    .hbar.quota .track { grid-column: 1 / -1; grid-row: 2; }
}
.note { background: var(--gold-soft); border-radius: 10px; padding: 8px 10px; font-size: 12px; margin: 10px 0 0; }

/* Werber-Liste unter "Einladungen" (seit 23.10.2026, Tafel 2 aus
   scratchpad/cable-werber-liste-varianten.html): je Werber eine Zeile zum
   Aufklappen, darunter die offenen Einladungen mit den fuenf Bedingungen der
   Werber-Praemie - gruen erfuellt, gestrichelt offen. */
.wl { border-bottom: 1px solid var(--line); padding: 8px 0; }
.wl:last-child { border-bottom: 0; }
.wl > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; cursor: pointer; list-style: none; }
.wl > summary::-webkit-details-marker { display: none; }
.wl > summary::before { content: "▸"; color: var(--ink-3); width: 10px; }
.wl[open] > summary::before { content: "▾"; }
.wl-none > summary { cursor: default; }
.wl-none > summary::before { visibility: hidden; }
.wl-name { font-weight: 700; }
.wl-nums { margin-left: auto; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); }
.wl-nums b { font-size: 14px; color: var(--ink); font-variant-numeric: tabular-nums; }
.wl-open { margin: 8px 0 0 20px; padding: 8px 10px; background: var(--paper-subtle); border-radius: 10px; display: grid; gap: 6px; }
.wl-who { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.wl-steps { display: flex; flex-wrap: wrap; gap: 4px; }
.wl-step { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; border: 1px dashed var(--line-strong); color: var(--ink-3); }
.wl-step.ok { border: 1px solid transparent; background: var(--ok-soft); color: var(--ok); }
@media (max-width: 719px) {
    .wl-nums { margin-left: 16px; width: 100%; }
    .wl-open { margin-left: 0; }
}

/* Uebersicht (Tafel 2): Kacheln, ein Tipp oeffnet den Bereich. Der linke Rand
   sagt, ob etwas wartet (rot), ein Hinweis (gold) oder alles gut ist (gruen). */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 4px; }
.tile {
    display: grid; align-content: start; text-align: left; width: 100%; min-width: 0;
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
    padding: 12px 14px; color: var(--ink); font: inherit;
}
button.tile { cursor: pointer; }
button.tile:hover { border-color: var(--line-strong); }
.tile .lab { font-size: 12px; font-weight: 600; color: var(--ink-2); display: flex; justify-content: space-between; gap: 6px; }
button.tile .lab::after { content: "›"; color: var(--ink-3); font-size: 16px; line-height: 1; }
.tile b { display: block; font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; margin: 2px 0; }
.tile .sub { font-size: 12px; color: var(--ink-3); }
.tile.todo-bad { box-shadow: inset 4px 0 0 var(--danger); }
.tile.todo-warn { box-shadow: inset 4px 0 0 var(--gold); }
.tile.todo-ok { box-shadow: inset 4px 0 0 var(--ok); }
.delta { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.delta.up { color: var(--ok); }
.delta.down { color: var(--danger); }

/* Trend-Karten (Tafel 4): Zahl, Pfeil zur Vorwoche, Linie ueber 14 Tage.
   Die Linie bleibt in Tinte, gefaerbt ist nur der Pfeil. */
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px 8px; min-width: 0; }
.kpi .lab { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.kpi .val { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.kpi .val b { font-size: 26px; font-variant-numeric: tabular-nums; }
.kpi svg { display: block; width: 100%; height: 34px; margin-top: 4px; }
.kpi svg polyline { fill: none; stroke: var(--ink-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.kpi svg polygon { fill: var(--paper-sunken); stroke: none; }
.kpi .foot { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--ink-3); }

@media (max-width: 719px) {
    .tiles, .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .tile { padding: 10px 12px; }
    .tile b { font-size: 22px; }
    .kpi { padding: 10px 10px 6px; }
    .kpi .val b { font-size: 21px; }
    .kpi .foot span:nth-child(2) { display: none; }
}

/* Abschnitte zum Aufklappen (seit 27.10.2026 in jedem Bereich ausser den
   Arbeitslisten, immer zu): Kopf mit Kurzfazit, in den Kernbereichen dazu
   Mini-Kurve, Zahl samt Hinweis und Ampel-Punkt (Tafel 2 + 3 aus
   scratchpad/cable-ordnung-varianten.html). Sprungleiste darueber. */
.jump {
    position: sticky; top: var(--nav-h, 0px); z-index: 5; display: flex; gap: 6px;
    overflow-x: auto; scrollbar-width: none; padding: 8px 0; margin: -4px 0 10px;
    background: var(--ground);
}
.jump button {
    flex: none; font-size: 12px; font-weight: 600; color: var(--ink-2); cursor: pointer;
    border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; background: var(--paper);
}
.jump button:hover { color: var(--ink); }
details.sec {
    border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; background: var(--paper);
    scroll-margin-top: calc(var(--nav-h, 0px) + 52px); min-width: 0;
}
details.sec > summary {
    cursor: pointer; list-style: none; padding: 11px 16px;
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; align-items: center;
}
details.sec > summary::-webkit-details-marker { display: none; }
details.sec > summary .t { display: grid; gap: 1px; min-width: 0; }
details.sec > summary .t > b { font-size: 15px; }
details.sec > summary .fazit { font-size: 12px; color: var(--ink-3); }
details.sec > summary::after { content: "▾"; color: var(--ink-3); }
details.sec[open] > summary::after { content: "▴"; }
details.sec.has-sum > summary { grid-template-columns: minmax(0, 1fr) 90px minmax(110px, auto) auto; gap: 12px; }
details.sec > summary .spark { display: block; height: 28px; }
details.sec > summary .spark svg { display: block; width: 100%; height: 100%; }
details.sec > summary .spark polyline { fill: none; stroke: var(--ink-2); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
details.sec > summary .spark polygon { fill: var(--paper-sunken); stroke: none; }
details.sec > summary .big { display: grid; justify-items: end; text-align: right; line-height: 1.15; }
details.sec > summary .big > b { font-size: 20px; font-variant-numeric: tabular-nums; }
details.sec > summary .big .delta { font-size: 11px; white-space: nowrap; }
details.sec > .in { padding: 0 16px 14px; min-width: 0; }
details.sec.has-sum[open] > .in { border-top: 1px solid var(--line); padding-top: 12px; }
details.sec > .in > :first-child { margin-top: 0; }
/* Ampel-Punkt: in der Kopfzeile, an Bereich und Gruppe der Leiste und am
   Gruppenknopf der unteren Leiste. */
.tone { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--line-strong); }
.tone.ok { background: var(--ok); }
.tone.warn { background: var(--gold); }
.tone.bad { background: var(--danger); }
details.sec > summary .t > b .tone { margin-right: 7px; vertical-align: 2px; }
.navi .tone { margin-left: auto; }
.navi .tone + .count { margin-left: 6px; }
@media (max-width: 719px) {
    details.sec > summary { padding: 10px 12px; }
    details.sec > .in { padding: 0 12px 12px; }
    details.sec.has-sum > summary { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }
    details.sec > summary .spark { display: none; }
    details.sec > summary .big > b { font-size: 17px; }
}

/* Gold-Fluss (seit 12.10.2026, Tafel 5C): Waage Zufluss | Abfluss, je Gruppe
   ein Balken, ein Tipp klappt die einzelnen Quellen auf. Breiten setzt das JS
   per CSSOM relativ zur groessten Gruppe beider Seiten. */
.waage { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 10px; }
.waage > div { padding: 8px 10px; min-width: 0; }
.waage > div + div { border-left: 1px solid var(--line); }
.waage h3 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.waage details { margin: 6px 0; }
.waage summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; font-size: 13px; }
.waage summary::-webkit-details-marker { display: none; }
.waage .bar { grid-column: 1 / -1; height: 10px; border-radius: 3px; background: var(--ok); min-width: 2px; }
.waage .out .bar { background: var(--danger); }
.waage .bar.tax { background: var(--gold); }
.waage .v { font-variant-numeric: tabular-nums; font-weight: 600; }
.waage .fine { list-style: none; margin: 4px 0 2px 10px; padding: 0; font-size: 12px; color: var(--ink-2); }
.waage .fine li { display: flex; justify-content: space-between; gap: 8px; }
.waage .fine li span:last-child { font-variant-numeric: tabular-nums; }
.choices + .choices { margin-top: 6px; }
@media (max-width: 600px) {
    .waage { grid-template-columns: minmax(0, 1fr); }
    .waage > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* Saeulen je Tag (seit 15.10.2026, Tafeln 3B, 4B, 5B, 7B, 10B aus
   scratchpad/cable-auswertungen-2-varianten.html): eine Spalte je Tag, darin
   gestapelte Teile von unten nach oben; Hoehen setzt modpage.js per CSSOM
   relativ zum groessten Tag. .mark = gestrichelte Linie am Kampagnenstart. */
/* Skala links (yaxis-wrap aus modpage.js): Hoehe und Abstand oben wie .cols
   und .dayline, sonst stehen die Zahlen neben den falschen Linien. */
.yaxis-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; }
.yaxis { position: relative; height: 110px; margin-top: 6px; font-size: 11px; color: var(--ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.yaxis span { position: absolute; right: 0; transform: translateY(50%); white-space: nowrap; line-height: 1; }
.yaxis .sizer { position: static; display: block; visibility: hidden; transform: none; height: 0; }
.cols .gridline { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); pointer-events: none; }
.dayline line.grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cols { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; height: 110px; border-bottom: 1px solid var(--line); margin-top: 6px; }
.cols .stack { position: relative; display: flex; flex-direction: column-reverse; height: 100%; min-width: 0; }
.cols .stack.mark { border-left: 2px dashed var(--gold); }
.cols i { display: block; background: var(--ink-2); }
.cols .stack i:last-child { border-radius: 2px 2px 0 0; }
.cols-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--ink-2); margin: 6px 0 0; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; background: var(--ink-2); }
.split { display: flex; height: 24px; border-radius: 6px; overflow: hidden; font-size: 11px; font-weight: 700; color: var(--on-ink); margin: 6px 0; }
.split > span { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.cols i.c-ok, .hbar .fill.c-ok, .split .c-ok, .legend .c-ok::before { background: var(--ok); }
.cols i.c-bad, .hbar .fill.c-bad, .split .c-bad, .legend .c-bad::before { background: var(--danger); }
.cols i.c-gold, .hbar .fill.c-gold, .split .c-gold, .legend .c-gold::before { background: var(--gold); }
.cols i.c-ink, .hbar .fill.c-ink, .split .c-ink, .legend .c-ink::before { background: var(--ink-2); }
.cols i.c-soft, .hbar .fill.c-soft, .split .c-soft, .legend .c-soft::before { background: var(--line-strong); }
.legend .c-mark::before { background: none; border-left: 2px dashed var(--gold); border-radius: 0; width: 6px; }
/* Erreichbarkeit (seit 22.11.2026, Tafel 4 aus
   scratchpad/cable-erreichbarkeit-varianten.html): ein Strich je UTC-Tag. */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; height: 30px; margin-top: 4px; }
.strip i { display: block; border-radius: 2px; }
.strip .s-ok { background: var(--ok); }
.strip .s-bad { background: var(--danger); }
.strip .s-none { background: var(--line-strong); opacity: .6; }
.uptime-share { margin: 10px 0 0; }
@media (max-width: 719px) { .strip { gap: 1px; } }
.formrow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }

/* Wirtschaftlichkeit (seit 28.10.2026): Eingabe als Raster, Ergebnis in
   Farbe, Regler "Was waere wenn". */
.fingrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px 14px; }
td.pos { color: var(--ok); font-weight: 700; }
td.neg { color: var(--danger); font-weight: 700; }
.whatif { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 70px; gap: 10px; align-items: center; margin: 6px 0; font-size: 14px; }
.whatif b { text-align: right; font-variant-numeric: tabular-nums; }
.whatif .range { width: 100%; accent-color: var(--gold); }
@media (max-width: 560px) { .whatif { grid-template-columns: 1fr 70px; } .whatif > span { grid-column: 1 / -1; } }
/* Alle Posten (seit 20.11.2026, Tafel 1 aus
   scratchpad/cable-posten-liste-varianten.html): eine Eingabezeile, die
   Liste mit Haken "zaehlt"; ausgenommene Zeilen blass und durchgestrichen,
   Summenzeile fett mit Strich darueber. */
.ledin { display: grid; grid-template-columns: 150px minmax(0, 1fr) 130px auto auto; gap: 8px; align-items: end; margin-bottom: 10px; }
.ledin .opt { padding: 6px 12px; font-size: 13px; }
.ledoff { width: 16px; height: 16px; accent-color: var(--ink); cursor: pointer; }
tr.off td { color: var(--ink-3); }
tr.off td:not(:nth-last-child(-n+2)) { text-decoration: line-through; }
tr.off td.pos { color: var(--ink-3); }
tbody tr.total td { font-weight: 800; border-top: 2px solid var(--line-strong); background: var(--paper); }
@media (max-width: 719px) {
    .ledin { grid-template-columns: 1fr 1fr; }
    .ledin > :nth-child(2) { grid-column: 1 / -1; order: -1; }
}

/* ---------- Zwei Welten (seit 21.10.2026, Tafel 3 aus
   scratchpad/cable-umbau-varianten.html) ---------- */
/* Umschalter Handeln | Auswerten oben in der Leiste, am Handy ebenso. */
.worlds {
    display: grid; grid-template-columns: 1fr 1fr; margin: 0 4px 6px;
    border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden;
}
.worlds button {
    border: 0; background: none; cursor: pointer; padding: 5px 6px; font-weight: 700; font-size: 13px;
    color: var(--ink-2); display: inline-flex; gap: 5px; justify-content: center; align-items: center;
}
.worlds button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }
.worlds button[aria-pressed="true"] .count:not(.alert):not(.warn) { background: var(--paper); color: var(--ink); }
.bnav button[hidden] { display: none; }
/* Filterzeile ueber jedem Bereich der Welt "Auswerten". */
.filt {
    display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 0 0 12px;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px;
}
.filt .lb { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.filt .lb + .choices { margin-right: 6px; }
/* Eigener Zeitraum (Benutzerdefiniert) und "Tag waehlen": zwei bzw. ein Datumsfeld. */
.filt .range, .daypick { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-right: 6px; }
.filt .range .input, .daypick .input { width: auto; padding: 4px 8px; }
.opt:disabled { opacity: .45; cursor: default; }
/* Posteingang: eine Zeile je offener Sache, ein Tipp oeffnet das Werkzeug. */
.inbox {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center;
    width: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer;
    background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 8px;
}
.inbox:hover { border-color: var(--line-strong); }
.inbox.bad { box-shadow: inset 4px 0 0 var(--danger); }
.inbox.warn { box-shadow: inset 4px 0 0 var(--gold); }
.inbox .it { display: grid; gap: 1px; min-width: 0; }
.inbox .it b { overflow-wrap: anywhere; }
.inbox .go { color: var(--ink-3); font-size: 18px; }
/* Heatmap Wochentag x Stunde; Deckkraft je Zelle setzt modpage.js (CSSOM). */
.heat { display: grid; grid-template-columns: 24px repeat(24, minmax(0, 1fr)); gap: 2px; font-size: 10px; color: var(--ink-3); margin-top: 6px; }
.heat i { display: block; height: 16px; border-radius: 2px; background: var(--ink-2); }
.heat span { line-height: 16px; }
.heat .ax { text-align: center; line-height: 14px; }
/* Linie ueber einen Tag (Online). */
.dayline { display: block; width: 100%; height: 110px; margin-top: 6px; border-bottom: 1px solid var(--line); }
.dayline polyline { fill: none; stroke: var(--ink-2); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
/* Zwei Spalten mit Balken (Ausstiege), am Handy untereinander. */
.cols2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 22px; }
.hbar.rows { grid-template-columns: 150px 1fr 104px; }
.cols2 .hbar.rows { grid-template-columns: 110px 1fr 96px; }
h3.sub { font-size: 12px; margin: 10px 0 4px; color: var(--ink-2); }
details.fold { border-top: 1px solid var(--line); padding: 6px 0; }
details.fold summary { cursor: pointer; }
details.fold .hbar.rows { grid-template-columns: 170px 1fr 104px; }
@media (max-width: 560px) {
    .hbar.rows, .cols2 .hbar.rows, details.fold .hbar.rows { grid-template-columns: 96px 1fr 88px; }
}
/* Verteilung je Level (Aufstiege, seit 27.10.2026): Median kraeftig, Raender
   blass; zwei Grafiken mit Band 10-90 %, Median, Soll bzw. naechstem Preis. */
table.lvspread td.lite { color: var(--ink-3); }
table.lvspread td.strong { font-weight: 800; }
.lvchart { display: block; width: 100%; height: auto; margin-top: 4px; }
.lvchart text { font-size: 11px; fill: var(--ink-3); }
.lvchart .grid { stroke: var(--line); stroke-width: 1; }
.lvchart .band { fill: var(--ink-3); opacity: .18; }
/* Faecherkurve "Verdient nach Tag seit Anmeldung" (seit 01.11.2026): das
   innere Band 25-75 % liegt kraeftiger ueber dem aeusseren. */
.lvchart .band.q { opacity: .32; }
.lvchart .med { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.lvchart .dot { fill: var(--ink); }
.lvchart .plan { fill: none; stroke: var(--ok); stroke-width: 2; stroke-dasharray: 6 5; }
.lvchart .cost { fill: none; stroke: var(--danger); stroke-width: 2; stroke-dasharray: 3 4; }
.lvlegend .c-band::before { background: var(--ink-3); opacity: .3; }
.lvlegend .c-med::before { background: var(--ink); height: 3px; vertical-align: 3px; }
.lvlegend .c-plan::before { background: none; border-top: 2px dashed var(--ok); height: 0; border-radius: 0; vertical-align: 3px; }
.lvlegend .c-cost::before { background: none; border-top: 2px dotted var(--danger); height: 0; border-radius: 0; vertical-align: 3px; }
@media (max-width: 719px) {
    .cols2 { grid-template-columns: minmax(0, 1fr); }
    .heat { grid-template-columns: 20px repeat(24, minmax(0, 1fr)); gap: 1px; }
    .heat i { height: 13px; }
    .worlds { margin: 0 12px 6px; }
}
/* Push senden (seit 20.11.2026, Tafel 2 mit der Vorschau aus Tafel 3,
   scratchpad/cable-push-senden-varianten.html): Empfaenger als Tabelle mit
   Haekchen, Formular und Vorschau der Meldung nebeneinander, am Handy
   untereinander. */
label.ck { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
label.ck input { accent-color: var(--ink); width: 15px; height: 15px; flex: none; }
label.ck:has(input:disabled) { opacity: .45; cursor: default; }
.pushsend tbody tr.anyrow td { background: var(--paper-subtle); font-weight: 600; }
.pushsend tbody tr.reach td { font-weight: 800; border-top: 2px solid var(--line-strong); background: var(--paper); }
.pushsend .two { display: grid; grid-template-columns: minmax(0, 560px) minmax(240px, 1fr); gap: 22px; align-items: start; margin-top: 14px; }
.tb .input + .input { margin-top: 6px; }
textarea.input.short { min-height: 58px; }
.cnt { float: right; font-weight: 400; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.tb > .cnt { float: none; display: block; text-align: right; font-size: 12px; }
.phone { background: var(--paper-sunken); border: 1px solid var(--line); border-radius: 18px; padding: 10px; display: grid; gap: 6px; max-width: 360px; }
.phone .pl { margin: 4px 2px 0; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.notif { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 9px 12px; display: grid; gap: 1px; box-shadow: 0 2px 6px var(--shadow); font-size: 13px; overflow-wrap: anywhere; }
.notif .nh { font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.notif .ni { width: 14px; height: 14px; border-radius: 4px; background: var(--ok); display: inline-block; }
.notif > span { color: var(--ink-2); }
.report.push { border-left-color: var(--ink); }
@media (max-width: 719px) {
    .pushsend .two { grid-template-columns: minmax(0, 1fr); }
}
