
#page-live { flex-direction: column; gap: var(--space-4); }

.live-text { color: var(--fg2); font-size: var(--text-sm); margin: 0 0 var(--space-3); line-height: 1.5; }
.live-klein { color: var(--fg2); font-size: var(--text-xs); }
.live-reihe { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; }
.live-reihe .input { flex: 1 1 220px; width: auto; min-width: 0; }

.live-einrichten { max-width: 640px; margin: 0 auto; width: 100%; }
.live-schritte { margin: 0 0 var(--space-4) var(--space-5); padding: 0; color: var(--fg1); font-size: var(--text-sm); line-height: 1.7; }
.live-schritte li { margin-bottom: var(--space-2); }
.live-schritte .btn { margin-left: var(--space-1); text-decoration: none; }
.live-schluessel-reihe { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.live-schluessel-reihe .input { flex: 1 1 260px; width: auto; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.live-meldung { min-height: 1.4em; margin-top: var(--space-2); font-size: var(--text-sm); color: var(--fg2); }
.live-meldung.fehler { color: var(--err); }

.live-anruf { display: flex; flex-direction: column; align-items: center; text-align: center; padding: var(--space-5) var(--space-4); }
.live-untertitel { margin-bottom: var(--space-2); }
.live-knopf {
  width: 148px; height: 148px; border-radius: 50%; border: 0; margin: var(--space-4) auto var(--space-3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent-gradient); color: #fff; font: inherit; font-size: var(--text-base); font-weight: 650; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(108,92,231,.5); transition: transform var(--dur-fast), background var(--dur-base);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.live-knopf:active { transform: scale(.97); }
.live-knopf:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 4px; }
.live-knopf.an { background: var(--err); }
.live-knopf.spricht { animation: live-puls 1s infinite; }
.live-knopf.hoert { box-shadow: 0 0 0 7px rgba(0,184,148,.45); }
@keyframes live-puls { 0% { box-shadow: 0 0 0 0 rgba(108,92,231,.55); } 100% { box-shadow: 0 0 0 26px rgba(108,92,231,0); } }
.live-knopf.an.spricht { animation-name: live-puls-rot; }
@keyframes live-puls-rot { 0% { box-shadow: 0 0 0 0 rgba(225,112,85,.55); } 100% { box-shadow: 0 0 0 26px rgba(225,112,85,0); } }
@media (prefers-reduced-motion: reduce) { .live-knopf.spricht { animation: none; box-shadow: 0 0 0 7px rgba(108,92,231,.4); } }
.live-knoepfe { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.live-stumm {
  min-width: 76px; height: 76px; border-radius: 50%; border: 2px solid var(--bg4); background: var(--bg2); color: var(--fg1);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 6px;
  font: inherit; font-size: var(--text-xs); font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-fast);
}
.live-stumm[hidden] { display: none; }
.live-stumm:active { transform: scale(.96); }
.live-stumm:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }
.live-stumm.an { background: var(--warn); border-color: var(--warn); color: #1b1b1b; }
.live-pegel.stumm { opacity: .35; }
.live-trenner.leise { opacity: .75; }
.live-pegel { width: 148px; height: 4px; background: var(--bg3); border-radius: 2px; overflow: hidden; }
.live-pegel i { display: block; height: 100%; width: 0; background: var(--ok); transition: width 80ms linear; }
.live-status { margin-top: var(--space-3); min-height: 1.4em; color: var(--fg2); font-size: var(--text-sm); }
.live-werte { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; margin-top: var(--space-3); }
.live-werte span { background: var(--bg3); color: var(--fg2); border-radius: 999px; padding: 4px 10px; font-size: var(--text-xs); }
.live-werte span:empty { display: none; }
.live-jobs { width: 100%; max-width: 640px; display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-3); text-align: left; }
.live-job { background: var(--bg2); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-size: var(--text-sm); border-left: 3px solid var(--warn); }
.live-job.fertig { border-left-color: var(--ok); }
.live-job.fehler { border-left-color: var(--err); }
.live-job small { display: block; color: var(--fg2); font-size: var(--text-xs); }

.live-raster { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--space-4); align-items: start; }
.live-spalte { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
@media (max-width: 980px) { .live-raster { grid-template-columns: minmax(0, 1fr); } .live-spalte { order: -1; } }

.live-kopf { justify-content: space-between; margin-bottom: var(--space-3); }
.live-kopf h3 { margin: 0; }
.live-kopf h3 small { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--fg3); }
.live-kennzahlen { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); margin-bottom: var(--space-2); }
.live-kennzahl { background: var(--bg2); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); display: flex; flex-direction: column; min-width: 0; }
.live-kennzahl span { font-size: var(--text-xs); color: var(--fg2); }
.live-kennzahl strong { font-size: var(--text-lg); font-weight: 650; font-variant-numeric: tabular-nums; }
.live-kennzahl small { font-size: 11px; color: var(--fg3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.live-einstellungen summary { cursor: pointer; font-size: 0.72em; color: var(--fg2); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; list-style: none; display: flex; align-items: center; gap: 6px; }
.live-einstellungen summary::-webkit-details-marker { display: none; }
.live-einstellungen summary::before { content: '▸'; transition: transform var(--dur-fast); }
.live-einstellungen[open] summary::before { transform: rotate(90deg); }
.live-einstellungen[open] summary { margin-bottom: var(--space-4); }
.live-einstellungen .form-group .live-klein { margin-top: var(--space-1); }
.live-schalter { display: flex; gap: var(--space-3); align-items: flex-start; margin-bottom: var(--space-4); cursor: pointer; }
.live-schalter input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.live-schalter span { display: flex; flex-direction: column; gap: 2px; }
.live-schalter strong { font-size: var(--text-sm); font-weight: 600; }
.live-schalter small { color: var(--fg2); font-size: var(--text-xs); }
.live-einstellungen code { background: var(--bg3); padding: 4px 8px; border-radius: 6px; }

.live-eintraege { display: flex; flex-direction: column; gap: var(--space-2); max-height: 70vh; overflow-y: auto; overscroll-behavior: contain; }
.live-z { background: var(--bg2); border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); font-size: var(--text-sm); line-height: 1.5; border-left: 3px solid var(--fg3); overflow-wrap: anywhere; }
.live-z b { display: flex; gap: 4px; align-items: baseline; font-size: var(--text-xs); color: var(--fg2); font-weight: 600; margin-bottom: 2px; }
.live-z b small { font-weight: 400; color: var(--fg3); }
.live-z .live-zeit { margin-left: auto; }
.live-z.alvin { border-left-color: var(--accent); }
.live-z.auftrag { border-left-color: var(--warn); background: var(--bg1); }
.live-z.ergebnis { border-left-color: var(--ok); background: var(--bg1); }
.live-z.ergebnis.fehler, .live-z.ergebnis.abgebrochen { border-left-color: var(--err); }
.live-z.info { color: var(--fg2); font-size: var(--text-xs); }
.live-z.vorlaeufig { opacity: .75; }
.live-trenner { text-align: center; color: var(--fg3); font-size: var(--text-xs); padding: var(--space-1) 0; }

@media (max-width: 768px) {
  .live-anruf { padding: var(--space-4) var(--space-3); }
  .live-knopf { width: 132px; height: 132px; }
  .live-eintraege { max-height: none; }
}
