/* Aus schreibtisch/cockpit.html (14./15.11.2026) übernommen, ergänzt um Verlauf, Anmeldung, Mikrofon (Live-Schreibtisch). */
:root {
  --navy:#0E1623; --gold:#DFB160; --gruen:#1f6f4a; --rot:#b3261e;
  --grund:#f4f5f8; --karte:#ffffff; --text:#0E1623; --leise:#6a7488; --linie:#eef0f4;
  --kachel-ok:#e7f3ec; --kachel-ok-text:#1f6f4a; --kachel-st:#fbe9e7; --kachel-st-text:#b3261e;
  --knopf-rand:#0E1623; --knopf-voll:#0E1623; --knopf-voll-text:#fff; --wer:#eef0f4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund:#0b111b; --karte:#141c2a; --text:#e8ebf1; --leise:#9aa3b5; --linie:#222c3d;
    --kachel-ok:#173527; --kachel-ok-text:#8fd3ad; --kachel-st:#3d1a18; --kachel-st-text:#f2a39b;
    --knopf-rand:#DFB160; --knopf-voll:#DFB160; --knopf-voll-text:#0E1623; --wer:#222c3d;
  }
}
:root[data-theme="dark"] {
  --grund:#0b111b; --karte:#141c2a; --text:#e8ebf1; --leise:#9aa3b5; --linie:#222c3d;
  --kachel-ok:#173527; --kachel-ok-text:#8fd3ad; --kachel-st:#3d1a18; --kachel-st-text:#f2a39b;
  --knopf-rand:#DFB160; --knopf-voll:#DFB160; --knopf-voll-text:#0E1623; --wer:#222c3d;
}
* { box-sizing:border-box; }
body { margin:0; background:var(--grund); color:var(--text);
  font-family:Inter,-apple-system,"Helvetica Neue",Arial,sans-serif; font-size:15px; line-height:1.4; }
.kopf { background:var(--navy); color:#fff; padding:18px 16px 14px; }
/* Web-App am iPhone: Statusleiste liegt über der Seite (black-translucent) → Kopf unter die Uhr schieben */
.kopf { padding-top:calc(18px + env(safe-area-inset-top)); padding-left:calc(16px + env(safe-area-inset-left)); padding-right:calc(16px + env(safe-area-inset-right)); }
main { padding-bottom:calc(40px + env(safe-area-inset-bottom)); }
.kopf .k1 { font-size:11px; letter-spacing:.08em; color:var(--gold); font-weight:700; }
.kopf .k2 { font-size:21px; font-weight:700; margin-top:4px; }
.kopf .k3 { color:#c9cfda; font-size:12px; margin-top:2px; }
.ampel { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.pille { border-radius:10px; padding:3px 10px; font-size:12px; font-weight:600; }
.p-rot { background:var(--rot); color:#fff; } .p-gold { background:var(--gold); color:#0E1623; }
.p-gruen { background:var(--gruen); color:#fff; }
main { max-width:640px; margin:0 auto; padding:12px 16px 40px; }
.karte { background:var(--karte); border-radius:12px; padding:12px 14px; margin-bottom:12px;
  box-shadow:0 1px 3px rgba(14,22,35,.08); }
.karte h2 { margin:0 0 6px; font-size:15px; display:flex; justify-content:space-between; gap:8px; }
.karte h2 span { color:var(--leise); font-weight:500; font-size:13px; }
.zeile { display:flex; align-items:center; gap:8px; padding:8px 0; border-top:1px solid var(--linie); }
.zeile:first-of-type { border-top:none; }
.zeile .t { flex:1; min-width:0; overflow-wrap:anywhere; }
.m { color:var(--leise); font-size:12.5px; }
.knoepfe { display:flex; gap:6px; flex-shrink:0; }
button { font:inherit; font-size:13px; font-weight:600; border:1px solid var(--knopf-rand); background:transparent;
  color:var(--text); border-radius:8px; padding:6px 10px; min-height:34px; cursor:pointer; }
button.voll { background:var(--knopf-voll); color:var(--knopf-voll-text); border-color:var(--knopf-voll); }
button:disabled { opacity:.45; cursor:default; }
.wer { font-size:12px; font-weight:600; border-radius:8px; padding:2px 8px; background:var(--wer); white-space:nowrap; }
.wer.du { background:var(--gold); color:#0E1623; }
.kacheln { display:grid; grid-template-columns:repeat(4, 1fr); gap:6px; }
.kachel { border-radius:8px; padding:8px 2px; text-align:center; font-size:11.5px; font-weight:600;
  background:var(--kachel-ok); color:var(--kachel-ok-text); hyphens:auto; -webkit-hyphens:auto; }
.kachel.st { background:var(--kachel-st); color:var(--kachel-st-text); }
.hinweis { border-left:4px solid var(--rot); padding:6px 10px; margin-top:8px; font-size:13.5px; }
.leer { color:var(--leise); font-size:13.5px; padding:4px 0; }
details { border-top:1px solid var(--linie); }
details:first-of-type { border-top:none; }
details > summary { list-style:none; cursor:pointer; padding:8px 0; display:flex; gap:8px; align-items:center; }
details > summary::-webkit-details-marker { display:none; }
details > summary .t { flex:1; min-width:0; overflow-wrap:anywhere; }
.auf { padding:0 0 10px; font-size:13.5px; }
.auf p { margin:4px 0; }
.alle summary h2 { margin:0; }
.feld { font-size:12.5px; color:var(--leise); }
.feld b { color:var(--text); font-weight:600; }
.fehler { background:var(--kachel-st); color:var(--kachel-st-text); border-radius:8px; padding:8px 10px; margin-bottom:12px; font-size:13.5px; }
.marke { color:var(--rot); font-weight:700; }

/* --- Live-Schreibtisch --- */
a { color:inherit; }
.zeile.klick, details > summary .t { cursor:pointer; }
.zurueck { display:inline-block; color:var(--gold); text-decoration:none; font-size:13px; margin-bottom:6px; }
.status { font-size:11.5px; font-weight:600; border-radius:8px; padding:1px 7px; white-space:nowrap; background:var(--wer); }
.status.erledigt { background:var(--kachel-ok); color:var(--kachel-ok-text); }
.status.wartet { background:var(--kachel-st); color:var(--kachel-st-text); }
.verlauf { display:flex; flex-direction:column; gap:8px; margin:8px 0; }
.blase { max-width:88%; border-radius:12px; padding:8px 10px; font-size:14px; white-space:pre-wrap; overflow-wrap:anywhere; }
.blase.luis { align-self:flex-end; background:var(--navy); color:#fff; }
.blase.claude, .blase.system { align-self:flex-start; background:var(--wer); }
.blase .m { margin-top:4px; }
.blase.luis .m { color:#c9cfda; }
textarea { width:100%; min-height:80px; font:inherit; font-size:15px; border-radius:10px; border:1px solid var(--linie);
  background:var(--karte); color:var(--text); padding:8px 10px; resize:vertical; }
input[type=text], input[inputmode] { font:inherit; font-size:17px; border-radius:10px; border:1px solid var(--linie);
  background:var(--karte); color:var(--text); padding:8px 10px; width:100%; letter-spacing:.1em; }
.antwortleiste { display:flex; gap:8px; margin-top:8px; flex-wrap:wrap; }
.antwortleiste .weit { flex:1; }
button.mikro.an { background:var(--rot); color:#fff; border-color:var(--rot); }
.bestaetigen { display:block; text-align:center; text-decoration:none; background:var(--gold); color:#0E1623; font-weight:700;
  border-radius:10px; padding:10px; margin:8px 0; }
.ok { background:var(--kachel-ok); color:var(--kachel-ok-text); border-radius:8px; padding:8px 10px; margin-bottom:12px; font-size:13.5px; }
.stapel { display:flex; flex-direction:column; gap:8px; }
.einstellungen button { width:100%; }
