/* OSP-Server-Monitor · css/ansichten/sitzungsmessung.css — Sitzungsmessung (0.9.6, Plan Sitzungsoptimierung M8)
   Kopfzeile, Zielwerte-Tabelle, darunter eine Leiste mit drei Aufklappern. Höhenbudget 150 % (Inhalt 389 px): alles ohne Scrollen.
   Schrift mindestens 12 px, Ziele mindestens 24 px. Nur dunkel. */
.sm { display: flex; flex-direction: column; gap: 6px; }
.sm-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; min-height: 26px; }
.sm-kopf > * { flex: none; }
.sm-kopf .sm-stand { flex: 0 1 auto; }
.sm-stand { font-size: 12px; color: var(--text-2); }
.sm-summe { font-size: 13px; color: var(--text); }
.sm-summe b { font-weight: 600; }
.sm-laeuft { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 11px; border: 1px solid rgba(56,139,253,.35); background: rgba(56,139,253,.08); color: var(--info); font-size: 12px; font-weight: 600; white-space: nowrap; }
.sm-hinweis { margin: 0; font-size: 12px; color: var(--warn); }

/* Tabelle: etwas dichter als „kompakt“ (7 Zeilen + Leiste passen bei 150 %), Zeilen bleiben ≥ 28 px */
.sm-tab { min-width: 0; }
.sm-tab .ot { --ot-zf: 2.2; }
.sm-tab td[data-spalte="name"] .ot-z { text-align: left; }
.sm-tab th[data-key="name"] { text-align: left; }
.sm-tab td[data-spalte="ist"], .sm-tab td[data-spalte="ziel"], .sm-tab td[data-spalte="ausgang"] { font-variant-numeric: tabular-nums; }
.sm-tab td[data-spalte="status"] .ot-z, .sm-tab td[data-spalte="verlauf"] .ot-z { display: flex; justify-content: center; align-items: center; overflow: visible; }
.sm-tab .badge { white-space: nowrap; }

/* Verlauf: Linie, gestrichelte Ziellinie, Punkte in der Statusfarbe */
.sm-vl { display: block; overflow: visible; }
.sm-vl polyline { fill: none; stroke: var(--blue-2); stroke-width: 1.6; }
.sm-vl-ziel { stroke: var(--text-3); stroke-width: 1; stroke-dasharray: 3 3; }
.sm-vl-p { fill: var(--text-3); }
.sm-vl-p--im_ziel { fill: #3fb950; }
.sm-vl-p--auf_dem_weg { fill: var(--warn); }
.sm-vl-p--nicht_erreicht { fill: #ff6b63; }
.sm-vl-leer { font-size: 12px; color: var(--text-3); }

/* Leiste: drei Aufklapper, je eine Zeile; geöffnet zeigt jeder seine Einzelheiten darunter */
.sm-leiste { display: flex; gap: 10px; align-items: flex-start; }   /* eine Reihe, auch aufgeklappt: nichts rutscht unter die Leiste */
.sm-leiste > .sm-auf { flex: 1 1 0; }
.sm-auf { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; min-width: 0; }
.sm-auf > summary { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; font-size: 12.5px; color: var(--text-2); cursor: pointer; line-height: 1.3; }
.sm-auf > summary b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.sm-auf-inhalt { padding: 0 12px 10px; overflow-y: auto; overscroll-behavior: contain; }
.sm-auf h4 { margin: 8px 0 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
.sm-klein { margin: 8px 0 0; font-size: 12px; color: var(--text-2); line-height: 1.45; max-width: 560px; }
.sm-liste { list-style: none; margin: 0; padding: 0; max-width: 360px; }   /* Wert nah an der Bezeichnung */
.sm-liste li { display: flex; justify-content: space-between; gap: 12px; min-height: 24px; align-items: center; font-size: 12.5px; border-bottom: 1px solid var(--border); }
.sm-liste li:last-child { border-bottom: 0; }
.sm-liste b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sm-def { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-width: 560px; }
.sm-def li { display: grid; gap: 1px; font-size: 12.5px; line-height: 1.4; }
.sm-def li span { color: var(--text-2); }
.sm-link { margin: 8px 0 0; font-size: 12px; }
.sm-link a { display: inline-flex; align-items: center; min-height: 24px; }
.sm-leer { font-size: 12.5px; color: var(--text-2); }
.sm-leer--gross { margin: 24px auto; max-width: 70ch; text-align: center; font-size: 13px; line-height: 1.55; }
.sm a:focus-visible, .sm summary:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 1px; }
.sm-name { border-radius: 4px; cursor: help; text-decoration: underline dotted var(--text-3); text-underline-offset: 3px; }
.sm-name:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.sm-tip { position: fixed; z-index: 60; padding: 6px 10px; border-radius: 8px; border: 1px solid var(--border-2); background: var(--panel-2); color: var(--text); font-size: 12.5px; line-height: 1.45; box-shadow: 0 6px 18px rgba(0,0,0,.35); pointer-events: none; }
