/* IT-Zentrale der IT-Plattform (Janik 16.11.2026): Übersicht, Zeitleiste der Kreationen, Claude-Aufträge, Zentrale, Status.
   Nur Bausteine aus app.css und nexus.css (Farben über die Variablen, hell und dunkel), hier nur das, was es dort nicht gibt. */

/* Übersicht ------------------------------------------------------------------------------------------------------------------------ */
.it-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.it-raster > section { min-width: 0; }
.it-raster .abschnitt-titel:first-child { margin-top: 4px; }
@media (max-width: 980px) { .it-raster { grid-template-columns: minmax(0, 1fr); } }

.kennzahlen.it-kennzahlen { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
/* Am Handy zuerst die Zahlen: die große Begrüßung der Startseite nur ab Tablet */
@media (max-width: 760px) { .it-gruss { display: none; } }

.it-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.it-team .kachel { min-height: 0; padding: 12px 14px; }
.it-team .kachel .kopf { color: var(--text); font-weight: 600; font-size: 13.5px; }
.it-team .kachel .kz { font-size: 26px; }

.it-zeile-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex: none; }
.it-klein { font-size: 12px; color: var(--text-2); }
.it-firma { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); white-space: nowrap; }
.it-firma::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--firma, var(--grau-text)); flex: none; }

/* Fortschritt in Zeilen und Karten */
.it-fortschritt { width: 72px; height: 6px; border-radius: 3px; background: var(--hg-3); overflow: hidden; flex: none; }
.it-fortschritt > span { display: block; height: 100%; background: var(--akzent); border-radius: 3px; }

/* Zeitleiste ----------------------------------------------------------------------------------------------------------------------- */
.zl-huelle { overflow-x: auto; background: var(--hg-2); border-radius: var(--radius); box-shadow: var(--schatten); }
.zl { --tag: 14px; position: relative; min-width: max-content; padding-bottom: 8px; }
.zl-kopf, .zl-zeile { display: grid; grid-template-columns: 240px auto; align-items: center; }
.zl-kopf { position: sticky; top: 0; z-index: 2; background: var(--hg-2); border-bottom: 0.5px solid var(--linie); }
.zl-name { position: sticky; left: 0; z-index: 3; background: var(--hg-2); padding: 8px 12px 8px 14px; min-width: 0; border-right: 0.5px solid var(--linie);
  height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 2px; overflow: hidden; }
.zl-name b { display: block; font-weight: 500; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zl-name a { display: flex; flex-direction: column; gap: 1px; min-width: 0; color: var(--text); text-decoration: none; }
.zl-name a:hover b { color: var(--akzent-text); }
.zl-name .it-klein { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zl-monate { display: flex; height: 34px; position: relative; }
.zl-monat { flex: none; font-size: 12px; font-weight: 600; color: var(--text-2); padding: 9px 8px 0; border-left: 0.5px solid var(--linie); }
.zl-spur { position: relative; height: 48px; }
.zl-zeile + .zl-zeile .zl-name, .zl-zeile + .zl-zeile .zl-spur { border-top: 0.5px solid var(--linie); }
.zl-gitter { position: absolute; top: 0; bottom: 0; border-left: 0.5px solid var(--linie); pointer-events: none; }
.zl-heute { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--akzent); z-index: 1; pointer-events: none; }
.zl-heute.mit-text::after { content: "heute"; position: absolute; top: 3px; left: 5px; font-size: 10.5px; font-weight: 700; color: var(--akzent-text);
  background: var(--hg-2); padding: 0 3px; border-radius: 3px; }
.zl-balken { position: absolute; top: 14px; height: 20px; border-radius: 6px; background: var(--firma, var(--akzent));
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); overflow: hidden; display: block; text-decoration: none; min-width: 6px; }
.zl-balken > span { position: absolute; inset: 0 auto 0 0; background: rgba(255, 255, 255, 0.38); }
.zl-balken.offen { background: repeating-linear-gradient(135deg, var(--firma, var(--akzent)) 0 6px, transparent 6px 10px); opacity: 0.55; }
.zl-balken.zu-spaet { box-shadow: 0 0 0 2px var(--rot); }
.zl-balken.live { opacity: 0.6; }
.zl-punkt { position: absolute; top: 17px; width: 13px; height: 13px; margin-left: -6.5px; transform: rotate(45deg); border-radius: 2px;
  background: var(--hg-2); box-shadow: inset 0 0 0 2px var(--text-2); z-index: 1; }
.zl-punkt.erledigt { background: var(--gruen); box-shadow: none; }
.zl-punkt.zu-spaet { box-shadow: inset 0 0 0 2px var(--rot); background: var(--rot-hg); }
.zl-ohne { position: absolute; top: 16px; left: 10px; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.zl-legende { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 12px; color: var(--text-2); padding: 10px 2px 0; }
.zl-legende .zl-punkt, .zl-legende .zl-balken { position: static; display: inline-block; margin: 0 4px 0 0; vertical-align: middle; }
.zl-legende .zl-balken { width: 26px; height: 10px; }
@media (max-width: 700px) {
  .zl-kopf, .zl-zeile { grid-template-columns: 150px auto; }
}

/* Meilensteine im Detail */
.it-meilenstein { display: flex; align-items: center; gap: 10px; }
.it-meilenstein .kontrollkaestchen { flex: none; }
.it-meilenstein.erledigt b { text-decoration: line-through; color: var(--text-3); }

/* Claude-Aufträge und Zentrale ------------------------------------------------------------------------------------------------------ */
.it-text { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; line-height: 1.5; background: var(--hg); border-radius: 10px;
  padding: 12px 14px; max-height: 50vh; overflow: auto; margin: 0; font-family: inherit; }
.it-zahlen { display: flex; flex-wrap: wrap; gap: 8px; }
.it-zahlen .chip { cursor: default; }

/* Status --------------------------------------------------------------------------------------------------------------------------- */
.st-verlauf { display: flex; gap: 2px; align-items: flex-end; height: 18px; flex: none; }
.st-verlauf > span { width: 4px; height: 100%; border-radius: 2px; background: var(--gruen); opacity: 0.85; }
.st-verlauf > span.aus { background: var(--rot); }
@media (max-width: 600px) { .st-verlauf { display: none; } }
