/* Das Statistik-Programm im Computer (ui/pc.js, ui/pc-ueberblick.js, ui/pc-bausteine.js).
   A.0.60.0: ein Fenster über den Bildschirm bis zur Taskleiste, Gruppen wie im Biing!-Desktop (deine Ansage 03.10.: „Auch das ist
   zu unübersichtlich … haue dort allerhand Statistiken rein. Orientiere dich dort gerne am Original.“).
   A.0.79.0 neu gestaltet (deine Ansage 05.10.: „Das ist nicht wirklich übersichtlich. Mache das mal wirklich schön bitte“):
   Leiste in Klinik-Petrol mit dem Schild deiner Klinik, nur die offene Gruppe zeigt ihre Seiten; Seiten auf hellem Grund, Tafeln
   weiß; Zahlen in Nunito, Überschriften in Fredoka; die Schrift wächst mit dem Bildschirm (wie das Bild), bleibt am Handy aber
   bei mindestens 11 px. Farben der Diagramme mit dem Prüfwerkzeug für Farbpaletten gemessen (Kontrast, Farbsehschwäche):
   Petrol #008a78 = deine Werte und Plus, Gold #c47f00 = deine Zeile in Vergleichen, Rot #d0443a = Minus. Status nie nur über die
   Farbe: Häkchen, Warnzeichen und ein Satz stehen immer dabei. */
.pc {
  --pc-tinte: #13294b; --pc-tinte-2: #4b5a70; --pc-tinte-3: #7a8699;
  --pc-grund: #edf1f4; --pc-flaeche: #fff; --pc-rand: rgba(19, 41, 75, .11); --pc-raster: #e3e8ee;
  --pc-petrol: #008a78; --pc-petrol-text: #00695c; --pc-petrol-hell: #e1f3ef;
  --pc-gold: #c47f00; --pc-gold-hell: #fff4d9;
  --pc-gut: #1b7a37; --pc-warn-mark: #e09b1a; --pc-schlecht: #b8322a; --pc-schlecht-mark: #d0443a;
  --pc-leiste: #0d3a3f; --pc-leiste-text: #d3ebe7; --pc-leiste-leise: #86b3ad; --pc-leiste-hell: #7fdccc;
  position: absolute; z-index: 3; display: flex; flex-direction: column; overflow: hidden; border-radius: .45cqw; container: pc / inline-size;
  background: var(--pc-grund); color: var(--pc-tinte);
  box-shadow: 0 .6cqw 2cqw rgba(0, 12, 30, .45), 0 0 0 1px rgba(20, 32, 48, .45); font: 500 clamp(11px, 1cqw, 22px) / 1.35 var(--schrift);
}
.pc .gut { color: var(--pc-gut); }
.pc .schlecht { color: var(--pc-schlecht); }
.pc-z { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* Fensterkopf */
.pc-kopf { flex: none; display: flex; align-items: center; gap: .55em; padding: .3em .9em; background: linear-gradient(#f7f9fb, #e4e9ee);
  border-bottom: 1px solid #c6cfd9; font-size: .88em; color: #2b3747; }
.pc-kopf b { font-weight: 800; }
.pc-logo { display: grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: .38em; background: linear-gradient(#22b39f, #00806e);
  color: #fff; font-size: .85em; font-weight: 800; }
.pc-koerper { flex: 1 1 auto; min-height: 0; display: flex; }

/* Die Leiste links */
.pc-nav { flex: none; width: 14.2em; overflow: auto; display: flex; flex-direction: column; gap: .1em; padding: .65em .55em .8em;
  background: linear-gradient(180deg, #0f4349, var(--pc-leiste) 60%); color: var(--pc-leiste-text); overscroll-behavior: contain;
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .22) transparent; }
.pc-nav button, .pc-nav a { font: inherit; color: inherit; }
.pc-klinik { display: flex; align-items: center; gap: .6em; width: 100%; margin: 0 0 .65em; padding: .5em .55em; border: 0; border-radius: .7em;
  background: rgba(255, 255, 255, .07); text-align: left; cursor: pointer; }
.pc-klinik svg.logo { flex: none; width: 2.3em; height: 2.3em; padding: .2em; border-radius: .55em; background: #fff; }
.pc-klinik b { font: 600 1em / 1.15 var(--zier); color: #fff; overflow-wrap: anywhere; }
.pc-klinik:hover, .pc-klinik:focus-visible { background: rgba(255, 255, 255, .14); outline: none; }
.pc-eintrag, .pc-gruppe-knopf { display: flex; align-items: center; gap: .55em; width: 100%; padding: .36em .6em; border: 0; border-radius: .5em;
  background: none; text-align: left; cursor: pointer; }
.pc-eintrag:hover, .pc-eintrag:focus-visible, .pc-gruppe-knopf:hover, .pc-gruppe-knopf:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.pc-start { margin-bottom: .3em; font-weight: 700; }
.pc-start .pc-z { color: var(--pc-leiste-hell); }
.pc-gruppe h4 { margin: 0; font: inherit; }
.pc-gruppe-knopf { font-weight: 700; }
.pc-gruppe-knopf .pc-z:first-child { color: var(--pc-leiste-leise); }
.pc-auf { margin-left: auto; width: .85em; height: .85em; opacity: .5; transition: transform .15s ease; }
.pc-gruppe.offen .pc-gruppe-knopf { color: #fff; }
.pc-gruppe.offen .pc-gruppe-knopf .pc-z:first-child { color: var(--pc-leiste-hell); }
.pc-gruppe.offen .pc-auf { transform: rotate(90deg); opacity: .8; }
.pc-unterliste { margin: .05em 0 .35em 1.12em; padding-left: .5em; border-left: 1px solid rgba(255, 255, 255, .16); }
.pc-unterliste .pc-eintrag { padding: .27em .6em; font-weight: 600; color: #b7d7d2; }
.pc-nav .pc-eintrag.an { background: #e6f5f1; color: #0b3338; font-weight: 800; }
.pc-nav .pc-eintrag.an .pc-z { color: var(--pc-petrol-text); }
/* „Spiel“ als Menü in der Titelleiste (A.0.79.0); im schmalen Fenster nur die Zeichen */
.pc-menue { display: flex; align-items: center; gap: .1em; min-width: 0; margin-left: auto; }
.pc-menue .pc-eintrag { width: auto; gap: .35em; padding: .2em .55em; border-radius: .4em; color: #2b3747; font: 600 1em / 1.2 var(--schrift); white-space: nowrap; }
.pc-menue .pc-eintrag .pc-z { width: 1.05em; height: 1.05em; color: #4d5f74; }
.pc-menue .pc-eintrag svg.logo { flex: none; width: 1.15em; height: 1.15em; }
.pc-menue .pc-eintrag:hover, .pc-menue .pc-eintrag:focus-visible { background: rgba(19, 41, 75, .08); outline: none; }
a.pc-eintrag { text-decoration: none; box-sizing: border-box; }   /* Spielerverwaltung (A.0.65.0): ein Link in einen neuen Tab */
@container pc (max-width: 66em) { .pc-menue .pc-eintrag span { display: none; } .pc-menue .pc-eintrag { padding: .2em .4em; } }
@container pc (max-width: 56em) { .pc-nav { width: 11.8em; } .pc-klinik svg.logo { width: 1.9em; height: 1.9em; } }

/* Die Seite rechts */
.pc-seite { flex: 1 1 auto; min-width: 0; overflow: auto; padding: .95em 1.35em 1.5em; background: var(--pc-grund); overscroll-behavior: contain;
  container: pcseite / inline-size; }
.pc-seite h2 { font: 600 1.55em / 1.15 var(--zier); color: var(--pc-tinte); }
.pc-unter { margin: .2em 0 .95em; max-width: 62em; color: var(--pc-tinte-2); }
.pc-seite h4 { margin: .8em 0 .25em; font: 800 1em / 1.2 var(--schrift); color: var(--pc-tinte); }
.pc-seite .hinweis, .pc-seite .summe-zeile { margin: .5em 0; color: var(--pc-tinte-2); font-size: .9em; background: none; border: 0; padding: 0; }
.pc-hinweis { margin: .4em 0; font-size: .9em; color: var(--pc-tinte-2); }
.pc-leer { margin: .4em 0; color: var(--pc-tinte-3); }
.pc-klein { font-size: .84em; color: var(--pc-tinte-3); }

/* Kennzahlen als Karten */
.pc-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 11em), 1fr)); gap: .7em; margin-bottom: 1em; }
.pc-karte { display: flex; flex-direction: column; gap: .12em; padding: .6em .85em .7em; border: 1px solid var(--pc-rand); border-radius: .8em; background: var(--pc-flaeche); }
.pc-karte small { font-size: .82em; font-weight: 700; color: var(--pc-tinte-2); }
.pc-karte b { font: 800 1.5em / 1.15 var(--schrift); color: var(--pc-tinte); white-space: nowrap; }
.pc-karte span { font-size: .84em; color: var(--pc-tinte-3); }
.pc-karte em { font-style: normal; font-weight: 700; }
.pc-karte.minus { background: #fff7f6; border-color: #f1ccc8; }
.pc-karte.minus b { color: var(--pc-schlecht); }

/* Tabellen: weiß, ruhige Linien, deine Zeile gold */
.pc-abschnitt { margin: .2em 0 1.1em; }
.pc-abschnitt h3 { margin: 0 0 .45em .1em; font: 800 1em / 1.2 var(--schrift); color: var(--pc-tinte); }
.pc-breit { overflow-x: auto; margin: .15em 0 1em; border: 1px solid var(--pc-rand); border-radius: .8em; background: var(--pc-flaeche); }
.pc-tabelle, .pc-seite table.liste { width: 100%; border-collapse: collapse; font-size: 1em; font-variant-numeric: tabular-nums; }
.pc-tabelle th, .pc-seite table.liste th { padding: .55em .75em .45em; border-bottom: 1px solid var(--pc-raster); background: #f6f8fa;
  font: 700 .8em / 1.2 var(--schrift); letter-spacing: 0; text-transform: none; color: var(--pc-tinte-3); text-align: left; }
.pc-tabelle td, .pc-seite table.liste td { padding: .4em .75em; border-bottom: 1px solid #eef1f4; vertical-align: middle; }
.pc-tabelle tr:last-child td, .pc-seite table.liste tr:last-child td { border-bottom: 0; }
.pc-tabelle tr.du td, .pc-seite table.liste tr.du td { background: var(--pc-gold-hell); font-weight: 800; }
.pc-tabelle tr.du td:first-child, .pc-seite table.liste tr.du td:first-child { box-shadow: inset 3px 0 0 var(--pc-gold); }
.pc-tabelle tr.zu td, .pc-seite table.liste tr.zu td { color: #a1a9b5; }
.pc-platz { width: 2.4em; color: var(--pc-tinte-3); }
.pc-balken-zelle { white-space: nowrap; }
.pc-balken-zelle b { display: inline-block; min-width: 5.5em; font-weight: 700; text-align: right; }
.pc-balken { display: inline-block; vertical-align: middle; width: min(13em, 22cqi); height: .55em; margin-right: .6em; overflow: hidden;
  border-radius: 99px; background: #edf1f5; }
.pc-balken i { display: block; height: 100%; border-radius: 99px; background: var(--pc-petrol); }
.pc-vergleich tr.du .pc-balken i { background: var(--pc-gold); }
.pc-balken.minus i { background: var(--pc-schlecht-mark); }
.pc-balken.klein { width: 4em; height: .5em; }
.pc-quote { white-space: nowrap; }

/* Diagramme: HTML über einem gestreckten SVG (ui/pc-bausteine.js) */
.pc-kurven { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21em), 1fr)); gap: .85em; margin: .4em 0 .8em; }
.pc-kurve { min-width: 0; margin: 0; padding: .75em .95em .55em; border: 1px solid var(--pc-rand); border-radius: .9em; background: var(--pc-flaeche); }
.pc-kurve figcaption { display: flex; align-items: baseline; gap: .4em; margin-bottom: .6em; font-size: .92em; font-weight: 800; color: var(--pc-tinte); }
.pc-kurve figcaption b { margin-left: auto; font-size: 1.05em; }
.pc-kurve figcaption small { order: 3; font-weight: 600; color: var(--pc-tinte-3); }
.pc-kurve .pc-leer { display: grid; place-items: center; min-height: 4.5em; margin: 0 0 .25em; padding: .5em 1em; border-radius: .6em;
  background: #f4f7f9; text-align: center; }
.pc-diagramm { display: grid; grid-template-columns: var(--ybreite, 4em) minmax(0, 1fr); grid-template-rows: var(--hoehe, 7.5em) 1.45em; column-gap: .45em; }
.pc-y { position: relative; grid-row: 1; grid-column: 1; }
.pc-y span { position: absolute; right: 0; transform: translateY(-50%); font-size: .72em; color: var(--pc-tinte-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pc-plot { position: relative; grid-row: 1; grid-column: 2; }
.pc-plot > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pc-plot svg * { vector-effect: non-scaling-stroke; }
.pc-raster { stroke: var(--pc-raster); stroke-width: 1; }
.pc-raster.null { stroke: #aeb8c5; }
.pc-linie { fill: none; stroke: var(--pc-petrol); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.pc-unterflaeche { fill: var(--pc-petrol); fill-opacity: .1; stroke: none; }
.pc-linie.du { stroke: var(--pc-gold); stroke-width: 2.6; }
.pc-linie.k1, .pc-linie.k2, .pc-linie.k3 { stroke-width: 1.6; }
.pc-linie.k1 { stroke: #6f7c8f; } .pc-linie.k2 { stroke: #9aa5b4; } .pc-linie.k3 { stroke: #bcc4cf; }
.pc-endpunkt { position: absolute; width: .62em; height: .62em; margin: -.31em 0 0 -.31em; border-radius: 50%; background: var(--pc-petrol);
  box-shadow: 0 0 0 2px var(--pc-flaeche); pointer-events: none; }
.pc-endpunkt.du { background: var(--pc-gold); }
.pc-endpunkt.k1 { background: #6f7c8f; } .pc-endpunkt.k2 { background: #9aa5b4; } .pc-endpunkt.k3 { background: #bcc4cf; }
.pc-treffer { position: absolute; top: 0; bottom: 0; }
.pc-treffer:hover { background: rgba(19, 41, 75, .045); }
.pc-x { position: relative; grid-row: 2; grid-column: 2; }
.pc-x span { position: absolute; top: .35em; transform: translateX(-50%); font-size: .72em; color: var(--pc-tinte-3); white-space: nowrap; }
.pc-x span.links { transform: none; }
.pc-x span.rechts { transform: translateX(-100%); }
.pc-saeulen { position: absolute; inset: 0; display: flex; }
.pc-tag { position: relative; flex: 1 1 0; min-width: 0; }
.pc-tag:hover { background: rgba(19, 41, 75, .045); }
.pc-saeule { position: absolute; left: 50%; width: min(1.1em, 70%); transform: translateX(-50%); border-radius: .26em .26em 0 0; background: var(--pc-petrol); }
.pc-saeule.minus { border-radius: 0 0 .26em .26em; background: var(--pc-schlecht-mark); }
.pc-saeule.null { display: none; }
.pc-legende { display: flex; flex-wrap: wrap; gap: .25em .9em; margin-top: .3em; font-size: .78em; color: var(--pc-tinte-2); }
.pc-legende i { display: inline-block; width: 1.1em; height: .22em; margin-right: .35em; vertical-align: middle; border-radius: 99px; background: var(--pc-petrol); }
.pc-legende .du i { background: var(--pc-gold); } .pc-legende .k1 i { background: #6f7c8f; } .pc-legende .k2 i { background: #9aa5b4; } .pc-legende .k3 i { background: #bcc4cf; }
.pc-funke { position: relative; display: inline-block; width: 6.5em; height: 1.9em; }
.pc-funke svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pc-funke path { fill: none; stroke: #97a3b4; stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.pc-funke i { position: absolute; width: .48em; height: .48em; margin: -.24em 0 0 -.24em; border-radius: 50%; background: var(--pc-petrol); box-shadow: 0 0 0 2px var(--pc-flaeche); }

/* ── Der Überblick (ui/pc-ueberblick.js) ── */
.pc-ueberblick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9em; }
.pc-tafel { min-width: 0; padding: .85em 1.1em 1em; border: 1px solid var(--pc-rand); border-radius: .9em; background: var(--pc-flaeche);
  box-shadow: 0 1px 0 rgba(19, 41, 75, .04); }
.pc-tafel h3 { margin: 0 0 .35em; font: 800 .95em / 1.2 var(--schrift); color: var(--pc-tinte); }
.pc-tafel-kopf { display: inline-flex; align-items: center; gap: .45em; margin: -.25em 0 .4em -.45em; padding: .25em .45em; border: 0; border-radius: .45em;
  background: none; color: var(--pc-tinte); font: 800 .95em / 1.2 var(--schrift); cursor: pointer; }
.pc-tafel-kopf .pc-z:first-child { color: var(--pc-petrol-text); }
.pc-tafel-kopf .pc-weiter { width: .85em; height: .85em; color: var(--pc-tinte-3); transition: transform .15s ease; }
.pc-tafel-kopf:hover, .pc-tafel-kopf:focus-visible { background: var(--pc-petrol-hell); outline: none; }
.pc-tafel-kopf:hover .pc-weiter, .pc-tafel-kopf:focus-visible .pc-weiter { transform: translateX(.15em); color: var(--pc-petrol-text); }

/* Geld: Kapital | um Mitternacht | Kurve */
.pc-geld { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 19em) minmax(0, 1fr); gap: 0 1.5em; padding: 1em 1.3em 1.1em; }
.pc-geld > * + * { padding-left: 1.5em; border-left: 1px solid #edf0f4; }
.pc-geld.knapp { border-color: #efc3be; box-shadow: inset 0 3px 0 var(--pc-schlecht-mark); }
.pc-held { display: block; font: 800 2.9em / 1.05 var(--schrift); letter-spacing: -.015em; color: var(--pc-tinte); white-space: nowrap; }
.pc-delta { margin-top: .35em; font-weight: 700; font-style: normal; color: var(--pc-tinte-2); }
.pc-delta.hoch { color: var(--pc-gut); }
.pc-delta.runter { color: var(--pc-schlecht); }
.pc-neben { margin-top: .15em; color: var(--pc-tinte-2); }
.pc-neben b { color: var(--pc-tinte); }
.pc-neben b.schlecht { color: var(--pc-schlecht); }
.pc-faellig { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15em .6em; }
.pc-faellig b { font: 800 1.75em / 1.1 var(--schrift); color: var(--pc-tinte); }
.pc-faellig span { font-size: .88em; color: var(--pc-tinte-2); }
.pc-deckung { display: flex; gap: 2px; height: .8em; margin: .65em 0 .3em; overflow: hidden; border-radius: .4em; background: var(--pc-raster); }
.pc-deckung i { display: block; min-width: 3px; }
.pc-deckung .ab, .pc-deckung-legende .ab { background: #52627c; }
.pc-deckung .bleibt, .pc-deckung-legende .bleibt { background: var(--pc-petrol); }
.pc-deckung .fehlt, .pc-deckung-legende .fehlt { background: var(--pc-schlecht-mark); }
.pc-deckung-legende { display: flex; flex-wrap: wrap; gap: .2em 1.1em; font-size: .78em; color: var(--pc-tinte-2); }
.pc-deckung-legende i { display: inline-block; width: .7em; height: .7em; margin-right: .35em; border-radius: .2em; vertical-align: -.05em; }
.pc-urteil { display: flex; align-items: flex-start; gap: .45em; margin-top: .7em; font-weight: 600; line-height: 1.3; color: var(--pc-tinte); }
.pc-urteil .pc-z { margin-top: .08em; width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.pc-urteil.gut .pc-z { color: var(--pc-gut); }
.pc-urteil.warn .pc-z { color: var(--pc-warn-mark); }
.pc-urteil.schlecht .pc-z { color: var(--pc-schlecht-mark); }
.pc-urteil.still .pc-z { color: var(--pc-tinte-3); }
.pc-urteil.schlecht > span { color: var(--pc-schlecht); }
.pc-urteil.schlecht b { color: var(--pc-schlecht); }
.pc-urteil small { display: block; margin-top: .2em; font-size: .86em; font-weight: 500; color: var(--pc-tinte-2); }
.pc-kurve-geld { padding: 0 0 0 1.5em; border: 0; border-left: 1px solid #edf0f4; border-radius: 0; background: none; }
.pc-kurve-geld figcaption { font-size: .95em; margin-bottom: .55em; }
.pc-kurve-geld .pc-leer { min-height: 6.5em; }

/* Patientenindex, Rang, Heute */
.pc-zahl { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .6em; }
.pc-gross { font: 800 2.05em / 1.1 var(--schrift); color: var(--pc-tinte); }
.pc-von { font-weight: 700; color: var(--pc-tinte-2); }
.pc-zahl .pc-delta { margin: 0 0 0 auto; font-size: .86em; }
.pc-meter { position: relative; height: .75em; margin: .75em 0 .3em; overflow: hidden; border-radius: .4em; background: #e8edf1; }
.pc-meter .zone { position: absolute; top: 0; bottom: 0; }
.pc-meter .zone.rot { left: 0; background: #f7d8d4; }
.pc-meter .zone.gelb { background: #fae8c5; }
.pc-meter i { position: absolute; left: 0; top: .17em; bottom: .17em; border-radius: 0 .3em .3em 0; background: var(--pc-petrol); }
.pc-meter.warn i { background: var(--pc-warn-mark); }
.pc-meter.schlecht i { background: var(--pc-schlecht-mark); }
.pc-skala { position: relative; height: 1.15em; font-size: .72em; color: var(--pc-tinte-3); font-variant-numeric: tabular-nums; }
.pc-skala span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.pc-skala span:first-child { transform: none; }
.pc-skala span.rechts { transform: translateX(-100%); }
.pc-punkte-hinweis { margin: .55em .65em -.15em 0; text-align: right; font-size: .76em; }
.pc-nachbarn { display: grid; gap: .15em; margin: 0; padding: 0; list-style: none; }
.pc-nachbarn li { display: grid; grid-template-columns: 2.2em minmax(0, 1fr) auto; align-items: center; gap: .4em; padding: .3em .6em; border-radius: .5em;
  font-variant-numeric: tabular-nums; }
.pc-nachbarn li.du { background: var(--pc-gold-hell); box-shadow: inset 3px 0 0 var(--pc-gold); font-weight: 800; }
.pc-nachbarn .platz { color: var(--pc-tinte-3); }
.pc-nachbarn .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-heute-zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4em; margin: .15em 0 .85em; }
.pc-heute-zahlen b { display: block; font: 800 1.55em / 1.1 var(--schrift); color: var(--pc-tinte); }
.pc-heute-zahlen span { font-size: .8em; color: var(--pc-tinte-2); }
.pc-heute-zahlen .schlecht b { color: var(--pc-schlecht); }
.pc-heute h3 { font-size: .8em; color: var(--pc-tinte-3); }
.pc-imhaus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3em; margin: 0 0 .85em; }
.pc-imhaus div { display: flex; align-items: baseline; justify-content: space-between; gap: .4em; padding: .3em .55em; border-radius: .5em; background: #f2f5f8; }
.pc-imhaus dt { overflow: hidden; font-size: .84em; color: var(--pc-tinte-2); text-overflow: ellipsis; white-space: nowrap; }
.pc-imhaus dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; }
.pc-personal { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .25em .6em; font-size: .9em; color: var(--pc-tinte-2); }
.pc-personal b { color: var(--pc-tinte); }
.pc-leiste-mini { grid-column: 1 / -1; height: .38em; overflow: hidden; border-radius: .2em; background: #e6ebf0; }
.pc-leiste-mini i { display: block; height: 100%; border-radius: .2em; background: var(--pc-petrol); }

/* Schmaler Bildschirm (Handy quer, kleines Fenster): erst zwei Spalten, dann eine */
@container pcseite (max-width: 56em) {
  .pc-ueberblick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-geld { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .pc-kurve-geld { grid-column: 1 / -1; margin-top: 1em; padding: 0; border-left: 0; }
  .pc-heute { grid-column: 1 / -1; }
}
@container pcseite (max-width: 34em) {
  .pc-ueberblick, .pc-geld { grid-template-columns: minmax(0, 1fr); }
  .pc-geld > * + * { margin-top: .9em; padding: .9em 0 0; border-left: 0; border-top: 1px solid #edf0f4; }
  .pc-heute-zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .pc-auf, .pc-tafel-kopf .pc-weiter { transition: none; }
}
