/* COmpanion – 05 Mitarbeiter (Talent-Matrix, Profil). Ergänzt app.css, nutzt dessen Tokens. */

.d-block { display: block; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; font-weight: 600; }
.linklike:hover { color: var(--red); }

/* ---------------------------------------------------------------- Konferenz-Leiste */
.confbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-bottom: 14px; }
.confbar__select { display: flex; min-width: 240px; flex: 0 1 380px; }
.talent-filter .searchbox { max-width: 340px; }

/* ---------------------------------------------------------------- 9-Box */
.ninebox-wrap { position: relative; }
.ninebox-ytitle, .ninebox-xtitle, .rategrid-y, .rategrid-x { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ninebox-ytitle { margin-bottom: 8px; }
.ninebox-xtitle { justify-content: center; margin-top: 2px; }
.nb-ytick { display: flex; align-items: center; justify-content: center; }
.nb-ytick span { transform: rotate(-90deg); white-space: nowrap; font-size: 11.5px; font-weight: 600; color: var(--dark); }
.nb-xtick { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--dark); align-self: center; }
.nb-cell__items { align-content: flex-start; }
.nb-cell__title { min-width: 0; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; line-height: 1.2; }
.nb-cell__count { flex: none; }
.nb-cell[data-drop] { min-height: 150px; }
.nb-person { font-family: inherit; line-height: 1.3; }
.nb-person__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }
.nb-cell[data-score="6"] .nb-cell__count { color: var(--white); }
.mv--side { color: var(--muted); font-size: 9px; }
.talent-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--dark); margin-top: 14px; }
.talent-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.talent-legend .mv { font-size: 11px; font-weight: 700; }
.mv--up { color: var(--success); } .mv--down { color: var(--red); } .mv--new { color: var(--info); }
.legend-promo { display: inline-block; width: 18px; height: 12px; border: 1px solid var(--line); box-shadow: inset 0 -2px 0 var(--red); background: var(--surface-strong); }

/* Ablage „Noch nicht eingeordnet“ */
.nb-pool { display: flex; flex-wrap: wrap; gap: 4px; align-content: flex-start; min-height: 64px; max-height: 360px; overflow-y: auto; padding: 8px; background: var(--stage-2); border: 1px dashed var(--line); }
.nb-pool.is-over { outline: 2px dashed var(--red); outline-offset: -2px; background: var(--red-soft); }
.nb-pool__empty { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13.5px; }
.nb-pool .nb-person { background: var(--surface-strong); }
.talent-board.is-busy { opacity: .7; transition: opacity .2s; }

/* Verteilung */
.matrix.dist { table-layout: fixed; }
.matrix.dist th, .matrix.dist td { padding: 7px 4px; font-size: 12.5px; }
.matrix.dist th { font-size: 11px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; line-height: 1.2; }
.matrix.dist th.rowhead { white-space: normal; width: 30%; }
.matrix.dist td.is-n { background: var(--stage-2); }

/* ---------------------------------------------------------------- Feld-Anzeige kompakt */
.tbox { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; }
.tbox .mini9 { grid-template-columns: repeat(3, 8px); grid-template-rows: repeat(3, 8px); gap: 1px; flex: none; }
.tbox__text { display: flex; flex-direction: column; line-height: 1.2; }
.tbox__text b { font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tbox__text small { font-size: 12px; color: var(--muted); }

/* ---------------------------------------------------------------- Promotion */
.promo-meter { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.promo-meter .bar { width: 110px; min-width: 80px; flex: none; }
button.promo-meter { margin: 0; font-weight: 400; }
.promo-cell { min-width: 220px; }
.segbar { display: inline-flex; border: 2px solid var(--ink); margin-bottom: 20px; flex-wrap: wrap; }
.seg { padding: 8px 14px; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; border-left: 1px solid var(--line); }
.seg:first-child { border-left: 0; }
.seg.is-active { background: var(--ink); color: var(--white); }
.seg.is-active:hover { color: var(--white); }
.seg__n { font-size: 12px; font-weight: 700; opacity: .7; }

/* ---------------------------------------------------------------- Cross-Readings */
.crosslist__comment { font-size: 14px; color: var(--dark); margin: 8px 0 0; font-style: italic; }
.cross-msg { font-style: italic; color: var(--dark); margin-top: 2px; max-width: 360px; }
.sharedproj { list-style: none; margin: 6px 0 0; padding: 0; font-size: 14px; }
.sharedproj li { padding: 2px 0; }

/* ---------------------------------------------------------------- Schnellansicht (Modal) */
.qv-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.qv-head h2 { margin-bottom: 2px; }
.qv-sec { padding: 22px 0; border-top: 1px solid var(--line); }
.qv-head + .qv-sec { margin-top: 18px; }
.qv-sec h3 { margin-bottom: 12px; }
.qv-sec .row--between h3 { margin-bottom: 0; }
.qv-sec .row--between { margin-bottom: 12px; }

/* 3×3-Auswahl (Dialog-Alternative zu Drag & Drop) */
.rategrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.rategrid input { position: absolute; opacity: 0; pointer-events: none; }
.rategrid label { display: flex; flex-direction: column; gap: 2px; padding: 10px; min-height: 70px; background: var(--stage); border: 2px solid transparent; cursor: pointer; transition: background .12s, border-color .12s; }
.rategrid label[data-score="5"] { background: #e8e8eb; }
.rategrid label[data-score="6"] { background: #dcdce0; }
.rategrid label { min-width: 0; }
.rategrid label b { font-size: 13.5px; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.rategrid label small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.rategrid label:hover { border-color: var(--ink); }
.rategrid input:checked + label { background: var(--ink); color: var(--white); border-color: var(--ink); }
.rategrid input:checked + label small { color: var(--soft); }
.rategrid input:focus-visible + label { outline: 2px solid var(--red); outline-offset: 1px; }
.rategrid-y { margin-bottom: 6px; }
.rategrid-x { justify-content: flex-end; margin-top: 6px; }

/* ---------------------------------------------------------------- Profil */
.profilehead__main { flex: 1; min-width: 240px; }
.profilehead__sub { font-size: 17px; color: var(--muted); margin-top: 6px; }
.profilehead__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.profilefacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px 24px; margin-top: 18px; }
.profilefacts div { display: flex; flex-direction: column; font-size: 14.5px; min-width: 0; }
.profilefacts > div > span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.profilefacts b { font-weight: 600; overflow-wrap: anywhere; }
.profilefacts b .muted { font-weight: 400; font-size: 13px; }
.prose { white-space: pre-line; }

@media (max-width: 640px) {
  .confbar__select { flex: 1 1 100%; min-width: 0; }
  .talent-filter { gap: 8px; }
  .talent-filter .searchbox { flex: 1 1 100%; max-width: none; }
  .talent-filter select { flex: 1 1 140px; min-width: 0; }
  .nb-ytick span { font-size: 10px; }
  .nb-xtick { font-size: 10px; }
  .nb-cell__title { font-size: 10.5px; }
  .talent-board .card__body { padding: 12px; }
  .ninebox-ytitle { margin-bottom: 4px; }
  .nb-cell__count { font-size: 17px; }
  .nb-cell[data-drop] { min-height: 110px; }
  .nb-person { padding: 2px 5px 2px 2px; font-size: 11px; }
  .nb-person .avatar { display: none; }
  .nb-person__name { max-width: 80px; }
  .rategrid label { padding: 8px 6px; min-height: 62px; }
  .rategrid label small { display: none; }
  .rategrid label b { font-size: 12.5px; }
  .qv-head .avatar { display: none; }
    .profilehead .avatar { --s: 64px !important; }
  .profilehead__main { flex-basis: 100%; }
  .profilefacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
    }

/* ---------------------------------------------------------------- Pyramidal: kompakte Tabellen & Details */
.table th.right { text-align: right; }
.table--compact th { padding: 6px 8px; font-size: 11px; }
.table--compact td { padding: 8px; font-size: 14px; }
.table--plain.table--compact th:first-child, .table--plain.table--compact td:first-child { padding-left: 0; }
.table--plain.table--compact tr[data-toggle] td:first-child::before { width: 12px; }
.pt-0 { padding-top: 0 !important; }
details.expand.expand--first { border-top: 0; }
details.expand.expand--first > summary { padding-top: 0; }
.card__body .row--between .summary-line { margin: 0; }
.side-details { padding-top: 6px; padding-bottom: 6px; }
.side-details details.expand:first-child { border-top: 0; }
.side-details details.expand > .expand__body { padding-left: 0; }
.expand-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px 28px; padding: 6px 0 4px; }
.expand-row .criteria li { padding: 6px 0; }
.qv-sec--details { padding-top: 6px; }
.qv-sec--details details.expand:first-child { border-top: 0; }
.qv-sec--details details.expand > .expand__body { padding-left: 0; }

/* ================================================================ Konferenz-Modus (Präsentation) */
/* Viele Folien (eine je Person): Schrittleiste scrollt statt das Deck zu verbreitern */
.deck { grid-template-columns: minmax(0, 1fr); }
.deck__steps { min-width: 0; flex: 0 1 auto; }
.deck__bar { min-width: 0; }
.tc-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #9a99a0; margin-bottom: 10px; display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.tc-label .muted { letter-spacing: 0; text-transform: none; font-weight: 400; }
.tc-label--dark { color: var(--muted); }
.tc-cover__conf { font-size: 24px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }
.tc-cover .panel--dark p .icon { margin-top: -2px; }
.tc-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tc-scope .field { gap: 4px; }
.tc-scope .tc-label { margin-bottom: 0; }
.tc-open { color: #ff6b7d; }
.tc-agenda { margin: 0; padding: 0; list-style: none; counter-reset: ag; }
.tc-agenda li { counter-increment: ag; display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); color: #c9c8ce; }
.tc-agenda li:first-child { border-top: 0; padding-top: 2px; }
.tc-agenda li::before { content: counter(ag); width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--red); color: var(--red); font-weight: 700; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.tc-agenda b { color: var(--white); }

/* Verteilung als 3×3 mit Zahlen */
.dist9 { display: grid; grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto; gap: 6px; }
.dist9__y { grid-row: 1; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #9a99a0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.dist9__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.dist9__x { grid-column: 2; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #9a99a0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.dist9__c { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 12px 12px 10px; min-height: 92px; display: flex; flex-direction: column; gap: 2px; min-width: 0; transition: background .2s, border-color .2s; }
.dist9__c[data-score="5"] { background: rgba(255,255,255,.08); }
.dist9__c[data-score="6"] { background: rgba(213,0,28,.24); border-color: rgba(213,0,28,.4); }
.dist9__c b { font-size: clamp(26px, 3.2vw, 40px); line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.dist9__pct { font-size: 13px; color: #c9c8ce; font-weight: 600; }
.dist9__c small { margin-top: auto; font-size: 11.5px; color: #9a99a0; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.dist9__c.is-0 b, .dist9__c.is-0 .dist9__pct { color: #55545b; }
.dist9--sm .dist9__c { min-height: 64px; padding: 8px 10px; }
.dist9--sm .dist9__c b { font-size: 24px; }
.dist9--sm .dist9__c small { font-size: 10.5px; }

/* Kernzahlen-Leiste je Person */
.tc-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 22px; }
.tc-kpi { padding: 14px 16px; border-left: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tc-kpi:first-child { border-left: 0; padding-left: 0; }
.tc-kpi > span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #9a99a0; }
.tc-kpi > b { font-size: 20px; line-height: 1.2; }
.tc-kpi > b .scale { font-size: 17px; padding: 4px 10px; }
.tc-kpi__txt { overflow-wrap: anywhere; }
.tc-kpi small { font-size: 12px; color: #9a99a0; }
.tc-kpi .mv { font-size: 15px; margin-left: 4px; }

/* Große interaktive Matrix */
.tc-main { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
.pxp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.pxp__y, .pxp__x { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #9a99a0; display: flex; align-items: center; gap: 6px; }
.pxp__x { justify-content: flex-end; }
.pxp__grid { display: grid; grid-template-columns: 26px repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(96px, auto)) 26px; gap: 6px; position: relative; }
.pxp__ytick { display: flex; align-items: center; justify-content: center; }
.pxp__ytick span { transform: rotate(-90deg); white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #c9c8ce; }
.pxp__xtick { text-align: center; font-size: 11.5px; font-weight: 600; color: #c9c8ce; align-self: center; }
.pxp input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.pxp__cell { background: rgba(255,255,255,.04); border: 2px solid rgba(255,255,255,.1); border-radius: var(--radius-sm); color: var(--white); padding: 12px; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0;
  transition: background .15s, border-color .15s, transform .1s; }
.pxp__cell[data-score="5"] { background: rgba(255,255,255,.065); }
.pxp__cell[data-score="6"] { background: rgba(255,255,255,.09); }
.pxp__cell b { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphens: auto; }
.pxp__cell:hover { border-color: rgba(255,255,255,.5); }
.pxp__cell.is-prev { border-style: dashed; border-color: rgba(255,255,255,.4); }
.pxp input:checked + .pxp__cell { background: var(--red); border-color: var(--red); box-shadow: 0 6px 24px rgba(213,0,28,.35); }
.pxp input:focus-visible + .pxp__cell { outline: 2px solid var(--white); outline-offset: 2px; }
.pxp input:disabled + .pxp__cell { cursor: default; }
.pxp input:disabled:not(:checked) + .pxp__cell:hover { border-color: rgba(255,255,255,.1); }
.pxp__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.pxp__tag { font-size: 10.5px; font-weight: 600; padding: 1px 6px; background: rgba(255,255,255,.12); color: #e8e8ea; white-space: nowrap; }
.pxp__tag--prev { background: transparent; border: 1px dashed rgba(255,255,255,.5); }

/* Seitenleiste je Person */
.slide .tc-side { padding: 20px 22px; }
.tc-status { display: flex; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--dark); }
.tc-status .red { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.tc-side textarea { min-height: 84px; }
.tc-promo { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.tc-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.tc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.tc-switch__ui { width: 42px; height: 24px; border-radius: 12px; background: var(--line); position: relative; transition: background .15s; flex: none; }
.tc-switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-strong); transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tc-switch input:checked + .tc-switch__ui { background: var(--red); }
.tc-switch input:checked + .tc-switch__ui::after { transform: translateX(18px); }
.tc-switch input:focus-visible + .tc-switch__ui { outline: 2px solid var(--ink); outline-offset: 2px; }
.slide .tc-details { margin-top: 16px; padding: 4px 22px; }
.tc-details details.expand:first-child { border-top: 0; }
.tc-details details.expand > .expand__body { padding-left: 0; }

/* Ergebnis-Folie */
.tc-openlist { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.tc-openlist li { padding: 2px 0; font-size: 14px; }
.tc-finish { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.tc-finish .muted { color: #9a99a0; max-width: 520px; }
.tc-finish b { color: var(--white); }
.slide .linklike { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* Rollen-Abschnitte: Agenda, Fazit der vorherigen Rolle, Kalibrierungsmaßstab */
.slide .tc-top { align-items: start; }
.tc-agenda__sub { display: block; font-size: 12.5px; color: #9a99a0; margin-top: 4px; }
.tc-recap { display: flex; align-items: center; gap: 18px; padding: 14px 18px; margin-bottom: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1); border-left: 3px solid var(--red); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.tc-recap .tc-label { margin-bottom: 4px; }
.tc-recap__text { min-width: 0; }
.tc-recap__text p { color: #c9c8ce; font-size: 14.5px; }
.tc-recap__text b { color: var(--white); }
.tc-recap .mv { font-size: 11px; }
.tc-minidist { display: grid; grid-template-columns: repeat(3, 26px); grid-auto-rows: 22px; gap: 3px; flex: none; }
.tc-minidist span { display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.1); border-radius: 3px; }
.tc-minidist span[data-score="6"] { background: rgba(213,0,28,.5); }
.tc-minidist span.is-0 { color: #55545b; background: rgba(255,255,255,.04); }
.tc-roster__lvl { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: #c9c8ce; margin: 16px 0 2px; display: flex; gap: 8px; }
.tc-roster__lvl:first-child { margin-top: 0; }
.tc-roster__lvl span { color: #77767d; }
.tc-roster__list { list-style: none; margin: 0; padding: 0; }
.tc-roster__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.tc-roster__list:first-child li:first-child { border-top: 0; padding-top: 2px; }
.tc-roster__no { font-size: 12px; color: #77767d; font-variant-numeric: tabular-nums; }
.tc-roster__name { min-width: 0; display: flex; flex-direction: column; }
.tc-roster__name small { font-size: 12px; color: #9a99a0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tc-roster__box { font-size: 12.5px; color: #c9c8ce; text-align: right; white-space: nowrap; }
.tc-roster__box .mv { margin-left: 2px; font-size: 11px; }
.tc-pr { margin-left: 6px; font-size: 10px; font-weight: 700; padding: 1px 5px; border-radius: 3px; background: var(--red); color: var(--white); }
.tc-std + .tc-std { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.tc-std__head { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.tc-std__head span { font-size: 12.5px; color: #9a99a0; }
.tc-std__list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-std__list li { font-size: 12.5px; padding: 3px 8px; border-radius: var(--radius-sm); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: #e8e8ea; }
.tc-std__hint { margin: 14px 0 0; font-size: 12.5px; color: #9a99a0; }

/* Cluster-Review */
.dist9--goto .dist9__c:not(.is-0) { cursor: pointer; }
.dist9--goto .dist9__c:not(.is-0):hover { border-color: rgba(255,255,255,.45); }
.tc-fieldlist { list-style: none; margin: 0; padding: 0; counter-reset: fl; }
.tc-fieldlist li { counter-increment: fl; display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.tc-fieldlist li:first-child { border-top: 0; padding-top: 2px; }
.tc-fieldlist li:not(.muted)::before { content: counter(fl); width: 18px; flex: none; font-size: 12px; color: #77767d; font-variant-numeric: tabular-nums; }
.tc-fieldlist__n { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.tc-hint { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 600; line-height: 1.3; padding: 2px 7px; border-radius: var(--radius-sm); background: var(--warning-bg); color: var(--warning); }
.slide .panel--dark .tc-hint, .tc-cluster__sum .tc-hint { background: rgba(249,180,86,.14); color: #f9b456; border: 1px solid rgba(249,180,86,.25); }
.tc-ok { color: #7fd1a0; }
.tc-cluster__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.tc-cluster__head .mini9 { grid-template-columns: repeat(3, 16px); grid-template-rows: repeat(3, 16px); gap: 3px; flex: none; }
.tc-cluster__head .mini9 span { background: rgba(255,255,255,.14); border-radius: 2px; }
.tc-cluster__head .mini9 span.is-on { background: var(--red); }
.tc-cluster__sum { margin: 0; font-size: 17px; color: #c9c8ce; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.tc-cluster__sum b { color: var(--white); }
.slide .tc-cluster__panel { padding: 6px 22px; }
.tc-ctable td { vertical-align: top; }
.tc-ctable td .scale { font-size: 12.5px; padding: 2px 7px; min-width: 50px; }
.tc-cperson { display: flex; flex-direction: column; gap: 1px; min-width: 190px; }
.tc-cperson small { color: var(--muted); font-size: 12.5px; }
.tc-hints { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.tc-ctable tr.is-moved td { opacity: .5; }
.tc-ctable tr.is-moved td:first-child, .tc-ctable tr.is-moved td:last-child { opacity: 1; }
.tc-ctable tr.is-moved .tc-cperson > .linklike { text-decoration: line-through; }
.tc-movednote { font-size: 12px; font-weight: 600; color: var(--red); }
select.tc-fieldsel { font-size: 13px; padding-top: 5px; padding-bottom: 5px; min-width: 176px; }
.tc-cluster__help { margin: 10px 0 0; font-size: 12.5px; color: #9a99a0; display: flex; align-items: center; gap: 6px; }

@media (max-width: 980px) {
  .tc-main { grid-template-columns: minmax(0, 1fr); }
  .tc-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tc-kpi:nth-child(3) { border-left: 0; padding-left: 0; }
  .tc-kpi:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .expand-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .tc-scope { grid-template-columns: minmax(0, 1fr); }
  .pxp__grid { grid-template-columns: 18px repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(74px, auto)) 22px; gap: 4px; }
  .pxp__ytick span, .pxp__xtick { font-size: 10px; }
  .pxp__cell { padding: 8px 6px; }
  .pxp__cell b { font-size: 12px; }
  .pxp__tag { font-size: 9.5px; padding: 1px 4px; white-space: normal; }
  .tc-kpi { padding: 10px 10px 10px 12px; }
  .tc-kpi > b { font-size: 16px; }
  .dist9__c { min-height: 70px; padding: 8px; }
  .dist9__c small { font-size: 10px; }
  .slide .tc-details { padding: 2px 16px; }
  .tc-recap { align-items: flex-start; gap: 12px; padding: 12px 14px; }
  .tc-minidist { grid-template-columns: repeat(3, 20px); grid-auto-rows: 18px; gap: 2px; }
  .tc-minidist span { font-size: 10.5px; }
  .tc-recap__text p { font-size: 13.5px; }
  .tc-cluster__sum { font-size: 15px; }
  .slide .tc-cluster__panel { padding: 4px 14px; }
  .tc-cperson { min-width: 0; }
  /* Cluster-Tabelle als gestapelte Zeilen (Feldauswahl ohne Querscrollen erreichbar) */
  .tc-ctable thead { display: none; }
  .tc-ctable tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid rgba(20,20,32,.08); }
  .tc-ctable tr:last-child { border-bottom: 0; }
  .tc-ctable td, .tc-ctable td.right, .table--compact.tc-ctable td:first-child, .table--compact.tc-ctable td:last-child { display: block; padding: 0; border: 0; text-align: left; }
  .tc-ctable td:first-child, .tc-ctable td[data-l="Feld"] { grid-column: 1 / -1; }
  .tc-ctable td[data-l]::before { content: attr(data-l); display: block; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
  .tc-ctable select.tc-fieldsel { width: 100%; }
}
