.st-seite {
  --st-text: var(--serie-7);
  --st-voice: var(--serie-3);
  --st-lila: var(--serie-7);
  --st-blau: var(--serie-1);
  --st-vouch: var(--serie-4);
  --st-akzent: color-mix(in srgb, var(--serie-7) 70%, var(--serie-1));
  --st-weich: color-mix(in srgb, var(--serie-7) 14%, transparent);
  --st-glut: color-mix(in srgb, var(--serie-7) 38%, transparent);
}
.st-seite .karte + .karte, .st-seite .st-raster-2 + .karte, .st-seite .karte + .st-raster-2, .st-seite .st-raster-2 + .st-raster-2,
.st-seite .st-raster-21, .st-seite .st-kacheln + .karte, .st-seite .st-kacheln + .st-raster-2, .st-seite .karte + .st-kacheln { margin-top: var(--a-4); }

.st-seite .st-raster-2 > .karte, .st-seite .st-raster-21 > .karte, .st-seite .st-lb-raster > .karte { margin-top: 0; }
.st-kopf { align-items: center; }
.st-kopf-sym {
  color: var(--st-lila);
  background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--st-lila) 30%, var(--s2)), color-mix(in srgb, var(--st-blau) 10%, var(--s2)) 75%);
  border-color: color-mix(in srgb, var(--st-lila) 40%, transparent);
}
.st-kopfleiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--a-2) var(--a-3); margin-bottom: var(--a-3); }
.st-kopfleiste .st-kopf-text { font-size: var(--t-xs); }
.st-kopf-rechts { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.st-stand { gap: 6px; font-variant-numeric: tabular-nums; }
.st-stand .leise { margin-left: 2px; }
.st-marke-rang { color: var(--st-akzent); background: var(--st-weich); border-color: transparent; }

.st-navi { position: sticky; top: var(--kopf-h); z-index: 5; background: var(--plane); margin: 0 calc(var(--a-2) * -1); padding: 0 var(--a-2); }
.st-reiter .zeiger { background: linear-gradient(90deg, var(--st-lila), var(--st-blau)); box-shadow: 0 0 12px var(--st-glut); }
:root[data-theme="hell"] .st-reiter .zeiger { background: linear-gradient(90deg, var(--st-lila), var(--st-blau)); box-shadow: none; }
.st-reiter button[aria-selected="true"] svg { color: var(--st-akzent); }

.st-zeitraum { display: flex; align-items: center; gap: var(--a-3); flex-wrap: wrap; margin: var(--a-4) 0; }
.st-zeitraum[hidden] { display: none; }
.st-zeitraum .knopf[aria-pressed="true"] { color: var(--ink-1); background: var(--st-weich); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-lila) 45%, transparent); }
.st-zr-hinweis { font-size: var(--t-s); }
.st-panel { margin-top: var(--a-4); min-height: 240px; }
.st-zeitraum:not([hidden]) + .st-panel { margin-top: 0; }

.st-auftritt > * { animation: st-ein var(--d-lang) var(--e-aus) both; }
.st-auftritt > *:nth-child(2) { animation-delay: 40ms; }
.st-auftritt > *:nth-child(3) { animation-delay: 80ms; }
.st-auftritt > *:nth-child(n+4) { animation-delay: 120ms; }
@keyframes st-ein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.st-lader { padding: var(--a-6) 0; }
.st-skelett .kachel-reihe i, .st-skelett b { display: block; height: 92px; border-radius: var(--r-l); background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1)); background-size: 200% 100%; animation: st-schimmer 1.4s linear infinite; border: 1px solid var(--linie); }
.st-skelett b { height: 220px; margin-top: var(--a-4); }
@keyframes st-schimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.st-kacheln { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.st-kachel { background: var(--s1); border: 1px solid var(--linie); border-radius: var(--r-l); box-shadow: var(--sch-1); position: relative; overflow: hidden; transition: border-color var(--d-mittel), transform var(--d-mittel) var(--e-aus); }
.st-kachel:hover { border-color: var(--linie-3); transform: translateY(-1px); }
.st-kachel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--st-k, transparent); }
.st-kachel .wert { font-size: 26px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.st-k-lila { --st-k: var(--st-lila); }
.st-k-blau { --st-k: var(--st-blau); }
.st-k-text { --st-k: var(--st-text); }
.st-k-voice { --st-k: var(--st-voice); }
.st-k-vouch { --st-k: var(--st-vouch); }
.st-na { font-size: var(--t-l); font-weight: 520; color: var(--ink-3); }
.st-k-name { display: block; font-size: var(--t-l); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.st-karte { min-width: 0; }
.st-karte .karte-kopf { flex-wrap: wrap; }
.st-unter { font-size: var(--t-s); margin-top: 2px; max-width: 70ch; }
.st-raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-4); }
.st-raster-21 { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--a-4); }
.st-leer { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: var(--t-m); padding: var(--a-5) 0; }
.st-leer svg { width: 18px; height: 18px; flex: none; }
.st-leer-gross { padding: var(--a-6) var(--a-4); }
.st-fuss { font-size: var(--t-s); margin-top: var(--a-2); }

.st-dg { position: relative; width: 100%; min-width: 0; }
.st-dg-huelle { border-radius: var(--r-m); outline: none; }
.st-dg-huelle:focus-visible { box-shadow: var(--fokus-ring); }
.st-svg { display: block; max-width: 100%; overflow: visible; font-family: var(--schrift); }
.st-raster { stroke: var(--diagramm-raster); stroke-width: 1; }
.st-raster.null { stroke: var(--diagramm-achse); }
.st-achse { fill: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.st-kname { fill: var(--ink-2); font-size: 12px; }
.st-kwert { fill: var(--ink-1); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.st-f-text { --st-c: var(--st-text); }
.st-f-voice { --st-c: var(--st-voice); }
.st-f-lila { --st-c: var(--st-lila); }
.st-f-vouch { --st-c: var(--st-vouch); }
.st-balken.st-f-vouch, .st-f-vouch .st-balken { fill: var(--st-c); }
.st-reihe .st-balken, .st-balken.st-f-text, .st-balken.st-f-voice { fill: var(--st-c); }
.st-flaeche { stroke: none; }
.st-stop-a { stop-color: var(--st-c); stop-opacity: 0.32; }
.st-stop-b { stop-color: var(--st-c); stop-opacity: 0; }
.st-linie { fill: none; stroke: var(--st-c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.st-punkt, .st-mark-punkt { fill: var(--st-c); stroke: var(--s1); stroke-width: 2; }
.st-mark-linie { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.st-ueber, .st-treffer { fill: transparent; cursor: crosshair; }
.st-treffer[data-st-ziel] { cursor: pointer; }
.st-treffer:hover { fill: color-mix(in srgb, var(--ink-1) 6%, transparent); }
.st-zelle { fill: var(--st-text); transition: stroke-width var(--d-schnell); }
.st-zelle.null { fill: var(--s3); }
.st-zelle:hover { stroke: var(--ink-1); stroke-width: 1.5; }
.st-ein .st-linie { stroke-dasharray: 1; stroke-dashoffset: 1; animation: st-zeichnen 900ms var(--e-aus) forwards; }
.st-ein .st-flaeche { animation: st-blende 900ms var(--e-aus) both; }
.st-ein .st-balken { transform-box: fill-box; transform-origin: 50% 100%; animation: st-wachsen 520ms var(--e-aus) both; animation-delay: calc(var(--i, 0) * 14ms); }
.st-ein .st-balken.quer { transform-origin: 0 50%; animation-name: st-wachsen-x; }
.st-ein .st-zelle { animation: st-blende 500ms var(--e-aus) both; animation-delay: calc(var(--i, 0) * 12ms); }
@keyframes st-zeichnen { to { stroke-dashoffset: 0; } }
@keyframes st-wachsen { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes st-wachsen-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes st-blende { from { opacity: 0; } to { opacity: 1; } }

.st-tipp {
  position: fixed; z-index: var(--z-tipp); pointer-events: none; display: flex; flex-direction: column; gap: 2px;
  padding: 8px 11px; border-radius: var(--r-m); background: var(--glas-stark); border: 1px solid var(--linie-2);
  box-shadow: var(--sch-pop); font-size: var(--t-s); color: var(--ink-2); max-width: 260px; backdrop-filter: blur(8px);
  font-variant-numeric: tabular-nums;
}
.st-tipp[hidden] { display: none; }
.st-tipp b { color: var(--ink-1); font-weight: 600; }

.st-tabelle-ansicht { margin-top: var(--a-3); }
.st-tabelle-ansicht summary { cursor: pointer; font-size: var(--t-s); color: var(--ink-3); width: max-content; }
.st-tabelle-ansicht summary:hover { color: var(--ink-1); }
.st-tabelle-ansicht .tabelle-huelle { margin-top: var(--a-2); max-height: 260px; overflow: auto; }

.st-anteil { margin-bottom: var(--a-3); }
.st-anteil-balken { display: flex; gap: 2px; height: 10px; border-radius: var(--r-voll); overflow: hidden; background: var(--s3); }
.st-anteil-balken i { display: block; height: 100%; background: var(--st-c); transition: width var(--d-lang) var(--e-aus); }
.st-legende { margin-top: var(--a-2); }
.st-legende li i { background: var(--st-c); }

.st-topliste, .st-lb { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.st-topliste a, .st-lb a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--r-m); color: inherit; text-decoration: none; min-width: 0; transition: background var(--d-schnell); }
.st-topliste a:hover, .st-lb a:hover, .st-topliste a:focus-visible, .st-lb a:focus-visible { background: var(--s2); }
.st-topliste a:focus-visible, .st-lb a:focus-visible { box-shadow: var(--fokus-ring); outline: none; }
.st-topliste .kurz { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 560; }
.st-geber-posten { display: flex; align-items: center; gap: 10px; padding: 7px 8px; color: var(--ink-2); }
.st-geber-posten > svg { width: 28px; height: 18px; flex: none; opacity: .75; }
.st-top-wert { font-size: var(--t-s); color: var(--ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.st-rang { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font-family: var(--mono); font-size: var(--t-xs); color: var(--ink-2); background: var(--s3); }
.st-mehr { margin-top: var(--a-3); }

.st-lb-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--a-4); }
.st-lb-sym { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--st-akzent); background: var(--st-weich); }
.st-lb-sym svg { width: 18px; height: 18px; }
.st-lb-mitte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.st-lb-mitte .n { font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-lb-spur { display: block; height: 4px; border-radius: var(--r-voll); background: var(--s3); overflow: hidden; }
.st-lb-spur i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--st-lila), var(--st-blau)); transform-origin: 0 50%; animation: st-wachsen-x 700ms var(--e-aus) both; }
.st-lb-wert { flex: none; font-size: var(--t-s); font-variant-numeric: tabular-nums; white-space: nowrap; }
.st-p1 .st-rang { color: #1b1300; background: #f2c84b; }
.st-p2 .st-rang { color: #12141a; background: #c9ced8; }
.st-p3 .st-rang { color: #1d0f05; background: #d39461; }

.st-filter { display: flex; gap: var(--a-2); flex-wrap: wrap; align-items: center; margin-bottom: var(--a-3); }
.st-filter .eingabe { width: auto; min-width: 0; }
.st-filter select.eingabe { max-width: 15rem; }
.st-suche { position: relative; display: flex; align-items: center; flex: 1 1 220px; max-width: 22rem; }
.st-suche svg { position: absolute; left: 10px; width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.st-suche .eingabe { width: 100%; padding-left: 32px; }

.st-tabelle .tabelle td { vertical-align: middle; }
.st-tabelle tbody tr.anklickbar:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--st-lila); }
.st-tabelle th button { font: inherit; color: inherit; }
.st-sortsym { width: 12px !important; height: 12px !important; color: var(--st-akzent); }
.st-tabelle th button { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.st-tabelle th[aria-sort] button { color: var(--ink-1); }
.st-laut { flex: none; width: 13px; height: 13px; color: var(--ink-3); }
.st-chip-sprache { gap: 5px; }
.st-chip-verborgen { font-style: italic; color: var(--ink-3); }
.st-person .kurz { min-width: 0; }
.st-person .n { white-space: nowrap; }
.st-av { --av: color-mix(in srgb, var(--st-lila) 40%, var(--s4)); }
.st-av.mit-bild { overflow: hidden; }
.st-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.st-rollen, .st-rechte { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.st-rolle {
  display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-voll);
  font-size: var(--t-xs); color: var(--ink-2); background: var(--s2); border: 1px solid var(--linie-2); white-space: nowrap; max-width: 14rem; overflow: hidden; text-overflow: ellipsis;
}
.st-rolle i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--rf, var(--ink-4)); }
.st-rolle.gross { height: 26px; font-size: var(--t-s); color: var(--ink-1); }
.st-rolle.mehr { color: var(--ink-3); }

.st-online { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); white-space: nowrap; }
.st-online i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-4); }
.st-online.gut i { background: var(--status-gut); box-shadow: 0 0 0 3px var(--gut-weich); }
.st-online.warn i { background: var(--status-warn); }
.st-online.krit i { background: var(--status-krit); }
.st-online.aus { color: var(--ink-3); }
.st-im-voice { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-xs); color: var(--st-voice); margin-top: 3px; }
.st-im-voice svg { width: 12px; height: 12px; }

.st-seiten { display: flex; align-items: center; gap: var(--a-2); flex-wrap: wrap; margin-top: var(--a-3); }
.st-seiten .leise { margin-right: auto; font-size: var(--t-s); }

.st-zurueck { margin-bottom: var(--a-3); }
.st-profil-kopf { display: flex; gap: var(--a-6); flex-wrap: wrap; padding: var(--a-5); margin-bottom: var(--a-4); background: radial-gradient(circle at 0 0, var(--st-weich), transparent 55%), var(--s1); }
.st-profil-links { display: flex; gap: var(--a-4); align-items: flex-start; flex: 1 1 280px; min-width: 0; }
.st-profil-links .avatar.gross { width: 72px; height: 72px; font-size: var(--t-xl); box-shadow: 0 0 0 3px var(--s1), 0 0 0 5px color-mix(in srgb, var(--st-lila) 50%, transparent); }
.st-profil-links h2 { font-size: var(--t-2xl); font-weight: 650; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.st-profil-status { display: flex; gap: var(--a-3); flex-wrap: wrap; align-items: center; margin-top: var(--a-2); }
.st-profil-status .st-im-voice { margin-top: 0; }
.st-dl { flex: 1 1 320px; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 16px; margin: 0; font-size: var(--t-m); }
.st-dl dt { color: var(--ink-3); }
.st-dl dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.st-gefahr { border-color: color-mix(in srgb, var(--krit) 30%, var(--linie)); }
.st-gefahr .karte-kopf .etikett { color: var(--krit); }

.st-zeitleiste { list-style: none; margin: 0; padding: 0; position: relative; }
.st-zeitleiste::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 1px; background: var(--linie-2); }
.st-ev { display: flex; gap: var(--a-3); padding: 8px 0; position: relative; }
.st-ev-sym { flex: none; width: 31px; height: 31px; border-radius: 10px; display: grid; place-items: center; background: var(--s2); border: 1px solid var(--linie-2); position: relative; }
.st-ev-sym svg { width: 15px; height: 15px; }
.st-ev.text .st-ev-sym { color: var(--st-text); }
.st-ev.voice .st-ev-sym { color: var(--st-voice); }
.st-ev-inhalt { min-width: 0; padding-top: 4px; }
.st-ev-inhalt p { margin: 0; overflow-wrap: anywhere; }
.st-ev-inhalt a { color: var(--ink-1); font-weight: 600; text-decoration: none; }
.st-ev-inhalt a:hover { text-decoration: underline; }
.st-ev-inhalt .leise { font-size: var(--t-s); }

.st-liste-info { margin: 0; padding-left: 1.1em; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); font-size: var(--t-m); }

.st-hinweis { margin-bottom: var(--a-4); }
.st-form { display: flex; flex-direction: column; gap: var(--a-4); }
.st-schalter-zeile { display: flex; gap: var(--a-3); align-items: flex-start; cursor: pointer; }
.st-schalter-zeile .schalter { margin-top: 2px; flex: none; }
.st-zahl { max-width: 10rem; }
.st-auswahl { max-width: 22rem; margin-top: var(--a-2); }
.st-speichern { position: sticky; bottom: 12px; z-index: 4; margin-top: var(--a-4); display: flex; justify-content: flex-end; }
.st-loesch-zeile { display: flex; gap: var(--a-3); flex-direction: row; flex-wrap: wrap; align-items: center; }
.st-loesch-akte input[type="checkbox"] { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--krit); }
.st-dlg-akte { margin: var(--a-3) 0 0; text-align: left; }
.st-dlg-akte.hinweis { display: flex; gap: var(--a-2); align-items: flex-start; }
.st-loesch-zeile .eingabe { max-width: 16rem; }
.st-dialog .feld { margin-top: var(--a-2); text-align: left; }
.st-dlg-fehler { color: var(--krit) !important; font-size: var(--t-s); }
.st-dlg-fehler[hidden] { display: none; }

.st-k-warn { --st-k: var(--warn); }
.st-verw-an { color: var(--warn); }
.st-akte-marke { gap: 4px; vertical-align: 1px; color: var(--st-akzent); background: var(--st-weich); border-color: transparent; }
.st-akte-marke svg { width: 11px; height: 11px; }

.st-profil-reiter { margin-top: var(--a-4); max-width: 100%; }
.st-profil-reiter .knopf { gap: 6px; }
.st-profil-reiter .knopf svg { width: 15px; height: 15px; }
.st-profil-reiter .knopf[aria-pressed="true"] svg { color: var(--st-akzent); }
.st-seite .st-profil-reiter + .st-kacheln, .st-seite .st-profil-reiter + .st-akte { margin-top: var(--a-4); }
.st-zahl-marke { min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-voll); display: inline-grid; place-items: center; font-size: var(--t-xs); font-weight: 650; color: var(--warn); background: var(--warn-weich); font-variant-numeric: tabular-nums; }

.st-akte .karte + .karte, .st-akte .st-raster-2 + .karte, .st-akte .st-kacheln + .st-raster-2 { margin-top: var(--a-4); }
.st-akte .st-hinweis { margin-bottom: var(--a-4); }
.st-seite .st-akte .st-raster-2 > .karte { margin-top: 0; }
.st-ak-status { font-weight: 600; }
.st-ak-s-offen { color: var(--info); background: var(--info-weich); border-color: transparent; }
.st-ak-s-beobachtung { color: var(--warn); background: var(--warn-weich); border-color: transparent; }
.st-ak-s-geschlossen, .st-ak-aus { color: var(--ink-3); background: var(--s2); border-color: var(--linie); }
.st-kachel .wert .st-ak-status { font-size: var(--t-m); vertical-align: middle; }
.st-ak-kopf { margin-bottom: var(--a-2); }
.st-ak-text { margin: 6px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-1); line-height: 1.5; }
.st-ak-meta { margin: 6px 0 0; font-size: var(--t-s); overflow-wrap: anywhere; }
.st-ak-meta b, .st-ak-aufh b, .st-ak-protokoll b { font-weight: 600; color: var(--ink-2); }
.st-ak-leer-text { margin: 0 0 var(--a-3); }
.st-ak-form { display: flex; flex-direction: column; gap: var(--a-3); }
[data-st-ak-neu] { padding: var(--a-3) var(--a-4); margin-bottom: var(--a-4); border: 1px dashed var(--linie-3); border-radius: var(--r-l); background: var(--s1); }
[data-st-ak-neu][hidden], [data-st-ak-body][hidden], .st-ktreffer[hidden] { display: none; }
[data-st-ak-platz]:not(:empty) { padding: var(--a-3) 0 0; }
.st-ak-wahl { max-width: 16rem; }
.st-ak-knoepfe { display: flex; flex-wrap: wrap; gap: var(--a-2); margin-top: var(--a-2); justify-content: flex-start; }
.st-zaehl-zeile { display: flex; justify-content: space-between; gap: var(--a-3); align-items: baseline; }
.st-zaehler { flex: none; margin-left: auto; font-size: var(--t-xs); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.st-zaehler.knapp { color: var(--warn); font-weight: 600; }
.st-zaehler.zu-lang { color: var(--krit); font-weight: 650; }
.st-ak-form .eingabe[aria-invalid="true"] { border-color: var(--krit); }
.st-ak-konflikt { display: flex; gap: var(--a-3); align-items: flex-start; }
.st-ak-konflikt[hidden] { display: none; }
.st-ak-konflikt p { margin: 4px 0 var(--a-2); }
.st-ex-marke { gap: 4px; color: var(--ink-2); background: var(--s2); border-color: var(--linie); }
.st-ex-marke svg { width: 12px; height: 12px; }
.st-ak-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--a-3); }
.st-ak-liste > li { padding: var(--a-3) var(--a-4); border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--s1); border-left: 3px solid var(--st-ak-f, var(--linie-3)); min-width: 0; }
.st-ak-e-kopf { display: flex; align-items: center; gap: var(--a-2); flex-wrap: wrap; }
.st-ak-e-kopf h4 { margin: 0; font-size: var(--t-basis); overflow-wrap: anywhere; min-width: 0; }
.st-ak-art { color: var(--st-ak-f, var(--ink-2)); background: color-mix(in srgb, var(--st-ak-f, var(--ink-3)) 14%, transparent); border-color: transparent; }
.st-ak-a-notiz { --st-ak-f: var(--st-blau); }
.st-ak-a-vorfall { --st-ak-f: var(--krit); }
.st-ak-a-gespraech { --st-ak-f: var(--st-lila); }
.st-ak-a-sonstiges { --st-ak-f: var(--ink-3); }
.st-ak-verw { --st-ak-f: var(--warn); }
.st-ak-verw.aufgehoben { --st-ak-f: var(--linie-3); }
.st-ak-verw.aufgehoben .st-ak-text { color: var(--ink-3); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.st-ak-aufh { margin: 6px 0 0; font-size: var(--t-s); overflow-wrap: anywhere; }
.st-ak-protokoll { max-height: 460px; overflow: auto; padding-right: 4px; }
.st-ak-detail { color: var(--ink-2); font-size: var(--t-s); margin-top: 2px !important; white-space: pre-wrap; }
.st-ak-ev .st-ev-sym { color: var(--st-akzent); }

.st-ak-erkl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-3); }
.st-ak-stufe { display: flex; gap: var(--a-3); padding: var(--a-3) var(--a-4); border: 1px solid var(--linie); border-radius: var(--r-l); background: var(--s1); }
.st-ak-stufe > svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--st-akzent); }
.st-ak-stufe p { margin: 4px 0 0; font-size: var(--t-s); }
.st-ak-fuss { margin: 0; font-size: var(--t-s); }
.st-ak-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-4); }
.st-ak-spalte { display: flex; flex-direction: column; gap: var(--a-3); min-width: 0; }
.st-ak-spalte h4 { margin: 0; display: flex; align-items: center; gap: 6px; font-size: var(--t-m); }
.st-ak-spalte h4 svg { width: 15px; height: 15px; color: var(--st-akzent); }
.st-ak-einst .chip svg { width: 13px; height: 13px; flex: none; }
.st-ksuche { margin-top: var(--a-2); position: relative; max-width: 22rem; }
.st-ksuche .st-suche { max-width: none; }
.st-ktreffer { margin-top: 6px; border: 1px solid var(--linie-2); border-radius: var(--r-m); background: var(--s2); box-shadow: var(--sch-2); max-height: 260px; overflow: auto; }
.st-ktreffer .st-leer { padding: var(--a-3); margin: 0; }
.st-kliste { list-style: none; margin: 0; padding: 4px; }
.st-kliste button { width: 100%; display: flex; align-items: center; gap: var(--a-2); padding: 6px 8px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--ink-1); font: inherit; text-align: left; cursor: pointer; }
.st-kliste button:hover, .st-kliste button:focus-visible { background: var(--s3); }
.st-kliste button .kurz { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-kliste button > svg:last-child { width: 14px; height: 14px; color: var(--ink-3); flex: none; }

@media (max-width: 1100px) {
  .st-raster-21 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .st-raster-2 { grid-template-columns: minmax(0, 1fr); }
  .st-sp-id { display: none; }
}
@media (max-width: 720px) {
  .st-kopf-rechts { margin-left: 0; width: 100%; }
  .st-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--a-2); }
  .st-kachel { padding: var(--a-3) var(--a-4); }
  .st-kachel .wert { font-size: 21px; }
  .st-sp-rollen, .st-sp-status { display: none; }
  .st-zeitraum .knopf-gruppe { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
  .st-zr-hinweis { display: none; }
  .st-lb-raster { grid-template-columns: minmax(0, 1fr); }
  .st-profil-kopf { padding: var(--a-4); gap: var(--a-4); }
  .st-filter select.eingabe, .st-suche { max-width: none; flex: 1 1 100%; }
  .st-navi { top: 0; }
  .st-ak-erkl, .st-ak-spalten { grid-template-columns: minmax(0, 1fr); }
  .st-ak-liste > li { padding: var(--a-3); }
  .st-ak-wahl, .st-ksuche { max-width: none; }
  .st-profil-reiter { display: flex; }
  .st-profil-reiter .knopf { flex: 1 1 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .st-auftritt > *, .st-ein .st-linie, .st-ein .st-flaeche, .st-ein .st-balken, .st-ein .st-zelle, .st-lb-spur i, .st-skelett .kachel-reihe i, .st-skelett b { animation: none !important; }
  .st-ein .st-linie { stroke-dasharray: none; stroke-dashoffset: 0; }
  .st-kachel, .st-kachel:hover { transition: none; transform: none; }
}
@media (forced-colors: active) {
  .st-balken, .st-zelle, .st-anteil-balken i { forced-color-adjust: none; }
}

.st-vouch-hinweis { display: flex; align-items: flex-start; gap: 6px; margin: var(--a-2) 0 0; font-size: var(--t-xs); }
.st-vouch-hinweis svg { flex: none; width: 14px; height: 14px; margin-top: 1px; color: var(--st-vouch); }
.st-lb-raster + .st-vouch-hinweis { margin-top: var(--a-3); }
.st-sp-vouch b { color: var(--ink-1); }
.st-vv-filter { flex-wrap: wrap; align-items: center; }
.st-vv-filter + .st-vv-filter { margin-top: var(--a-2); position: relative; }
.st-vv-filter .knopf[aria-pressed="true"] { color: var(--ink-1); background: color-mix(in srgb, var(--st-vouch) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-vouch) 45%, transparent); }
.st-vv-datum { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); color: var(--ink-2); }
.st-vv-datum .eingabe { width: auto; min-width: 140px; }
.st-vv-suche { min-width: 220px; }
.st-vv-treffer { position: absolute; z-index: 5; top: 100%; left: 0; min-width: 280px; max-width: 100%; margin-top: 4px; padding: 4px; background: var(--s2); border: 1px solid var(--linie-2); border-radius: var(--r-m); box-shadow: 0 8px 24px rgb(0 0 0 / 0.25); }
.st-vv-treffer button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: 0; background: none; color: var(--ink-1); text-align: left; cursor: pointer; border-radius: 6px; }
.st-vv-treffer button:hover, .st-vv-treffer button:focus-visible { background: var(--s3); outline: none; }
.st-vv-chip { display: inline-flex; align-items: center; gap: 6px; }
.st-vv-chip-weg { display: inline-flex; padding: 0; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.st-vv-chip-weg:hover { color: var(--ink-1); }
.st-vv-svg { display: block; max-width: 100%; height: auto; }
.st-vv-balken { transition: opacity var(--d-schnell); }
.st-vv-svg .st-treffer { cursor: pointer; }
.st-vv-svg .st-treffer:hover + .st-achse, .st-vv-svg g:hover .st-vv-balken { opacity: 0.85; }
.st-vv-perioden { display: grid; gap: 6px; margin-top: var(--a-3); }
.st-vv-periode { border: 1px solid var(--linie-2); border-radius: 8px; background: var(--s1); }
.st-vv-periode summary { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; cursor: pointer; }
.st-vv-periode summary b { font-variant-numeric: tabular-nums; color: var(--st-vouch); }
.st-vv-periode[open] summary { border-bottom: 1px solid var(--linie-2); }
.st-vv-top { margin: 0; padding: 6px 12px 10px 32px; display: grid; gap: 6px; }
.st-vv-top li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.st-vv-person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-1); text-decoration: none; }
a.st-vv-person:hover span { text-decoration: underline; }
.st-vv-person .avatar { width: 24px; height: 24px; font-size: 10px; }
.st-vv-manuell { color: var(--ink-2); }
.st-vv-manuell > svg { width: 18px; height: 18px; flex: none; }
.st-vv-selbst { margin-left: 4px; }
@media (max-width: 640px) {
  .st-vv-datum { width: 100%; }
  .st-vv-datum .eingabe { flex: 1; }
  .st-vv-tabelle th:nth-child(4), .st-vv-tabelle td:nth-child(4) { display: none; }
}
