/* Airtec ACI — Design-Fundament (Airtec-Designsystem: Manrope, Flame Orange als einzige Akzentfarbe,
   warmes Steingrau, kantige Radien, flache Karten; Token-Muster wie Auftragstool/Assistent). */
:root {
  color-scheme: light;
  --bg: #f6f5f2; --surface: #ffffff; --surface-2: #efede8; --surface-3: #e6e3dc;
  --line: #dedbd3; --line-strong: #c8c4ba;
  --ink: #1d1c19; --ink-2: #4a4843; --muted: #7a776f;
  --accent: #f29100; --accent-hover: #d87f00; --accent-pressed: #bf6f00; --accent-soft: #fff1dc; --accent-ink: #8a5200; --on-accent: #ffffff;
  --ok: #2f7a4f; --ok-soft: #e4f2e9; --warn: #8a6d00; --warn-soft: #fbf3d2; --danger: #b3261e; --danger-soft: #fae8e6;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-12: 48px;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --t-xs: 11px; --t-sm: 13px; --t-base: 14px; --t-md: 16px; --t-lg: 20px; --t-xl: 26px;
  --lh: 1.5; --lh-eng: 1.2; --r-sm: 4px; --r-md: 6px; --r-lg: 8px;
  --sh-1: 0 1px 2px rgba(29, 28, 25, 0.06); --sh-2: 0 6px 20px rgba(29, 28, 25, 0.10);
  --dur-fast: 100ms; --dur: 160ms; --ease: cubic-bezier(0.2, 0, 0, 1); --topbar-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #151412; --surface: #1e1d1a; --surface-2: #27251f; --surface-3: #312e27; --line: #34322c; --line-strong: #4a4740;
    --ink: #ecebe6; --ink-2: #c9c7c0; --muted: #9a978f;
    --accent: #ffa32b; --accent-hover: #ffb24d; --accent-pressed: #f29100; --accent-soft: #3a2a12; --accent-ink: #ffc97f; --on-accent: #1d1c19;
    --ok: #6ccb93; --ok-soft: #163220; --warn: #e6c25a; --warn-soft: #3a3113; --danger: #f0908a; --danger-soft: #3b1b18;
    --sh-1: 0 1px 2px rgba(0,0,0,.35); --sh-2: 0 6px 20px rgba(0,0,0,.5);
  }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

* { box-sizing: border-box; }
html { height: 100%; }
body { margin: 0; min-height: 100%; font: var(--t-base) / var(--lh) var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
input, textarea, select, button { font: inherit; color: inherit; }
a { color: var(--accent-ink); text-decoration: none; } a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
code, .mono { font-family: var(--mono); font-size: 0.92em; }
.num { font-variant-numeric: tabular-nums; } .muted { color: var(--muted); } [hidden] { display: none !important; }

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--topbar-h); display: flex; align-items: center; gap: var(--s-5); padding: 0 var(--s-6);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--line); }
.marke { display: flex; align-items: center; gap: var(--s-3); color: var(--ink); }
.marke img { height: 40px; width: auto; display: block; }
.marke .wort { font-weight: 800; font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1; padding-left: var(--s-2); border-left: 1px solid var(--line-strong); }
.marke .sub { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: var(--s-1); margin-left: var(--s-2); }
.nav button { background: none; border: 0; border-radius: var(--r-md); padding: 7px 12px; font-weight: 700; font-size: var(--t-sm); color: var(--muted); cursor: pointer; }
.nav button:hover { background: var(--surface-2); color: var(--ink); } .nav button.active { background: var(--ink); color: var(--bg); }
.topbar .rechts { margin-left: auto; display: flex; align-items: center; gap: var(--s-2); }
.quellen { display: flex; gap: 6px; flex-wrap: wrap; }
.quelle { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); font-size: var(--t-xs); font-weight: 700; color: var(--muted); white-space: nowrap; }
.quelle i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.quelle.live i { background: var(--ok); } .quelle.cache i { background: var(--warn); } .quelle.aus i { background: var(--danger); }
.konto { display: inline-flex; align-items: center; gap: var(--s-2); padding-left: var(--s-3); border-left: 1px solid var(--line); font-size: var(--t-sm); }
.konto .avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 800; font-size: var(--t-xs); }
.konto button { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: var(--t-xs); font-weight: 700; padding: 4px 6px; border-radius: var(--r-sm); }
.konto button:hover { color: var(--ink); background: var(--surface-2); }

/* Layout + Karten */
main { padding: var(--s-6); max-width: 1280px; margin: 0 auto; }
.seitenkopf { display: flex; align-items: flex-end; gap: var(--s-4); margin-bottom: var(--s-5); flex-wrap: wrap; }
.seitenkopf h1 { margin: 0; font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.02em; line-height: var(--lh-eng); }
.seitenkopf .unter { color: var(--muted); font-size: var(--t-sm); margin-top: 4px; }
.seitenkopf .werkzeuge { margin-left: auto; display: flex; gap: var(--s-2); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: var(--s-4); }
.card > .kopf { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); }
.card > .kopf h2 { margin: 0; font-size: var(--t-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.card > .kopf .werkzeuge { margin-left: auto; display: flex; gap: var(--s-2); align-items: center; }
.card > .inhalt { padding: var(--s-4) var(--s-5); } .card > .inhalt.eng { padding: 0; }
.raster { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Quellen-Karten */
.quellekarte { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.quellekarte .name { font-weight: 800; display: flex; align-items: center; gap: var(--s-2); }
.quellekarte .name i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.quellekarte.live .name i { background: var(--ok); } .quellekarte.cache .name i { background: var(--warn); } .quellekarte.aus .name i { background: var(--danger); }
.quellekarte .zahl { font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.quellekarte .meta { font-size: var(--t-xs); color: var(--muted); }
.quellekarte .fehler { font-size: var(--t-xs); color: var(--danger); }

/* Formulare, Knöpfe, Chips */
.feld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.feld label { font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.feld input, .eingabe { width: 100%; min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); }
.feld input:focus, .eingabe:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.suche { position: relative; max-width: 520px; }
.suche .eingabe { padding-left: 38px; min-height: 42px; font-size: var(--t-md); }
.suche svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--r-md); padding: 0 14px; min-height: 36px; font-weight: 700; font-size: var(--t-sm); cursor: pointer; line-height: 1; white-space: nowrap; }
.btn.primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-1); } .btn.primary:hover { background: var(--accent-hover); }
.btn.secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); } .btn.secondary:hover { border-color: var(--muted); background: var(--surface-2); }
.btn.ghost { background: none; color: var(--muted); } .btn.ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn.gross { min-height: 46px; font-size: var(--t-md); width: 100%; } .btn:disabled { opacity: .45; cursor: not-allowed; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: var(--r-sm); font-size: var(--t-xs); font-weight: 700; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.chip.ok { background: var(--ok-soft); color: var(--ok); } .chip.warn { background: var(--warn-soft); color: var(--warn); } .chip.danger { background: var(--danger-soft); color: var(--danger); } .chip.akzent { background: var(--accent-soft); color: var(--accent-ink); }
.chip.q-auftragstool { background: var(--accent-soft); color: var(--accent-ink); } .chip.q-automations { background: #e8eef7; color: #2a4a7a; } .chip.q-lager { background: var(--ok-soft); color: var(--ok); }
@media (prefers-color-scheme: dark) { .chip.q-automations { background: #1d2a3d; color: #9fbce6; } }

/* Tabellen + Zeitachse */
.tabelle { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.tabelle th { text-align: left; font-size: var(--t-xs); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tabelle td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .tabelle tr:last-child td { border-bottom: 0; }
.tabelle tbody tr:hover td { background: var(--surface-2); } .tabelle tbody tr.klick { cursor: pointer; }
.tabelle .leer td { padding: var(--s-8) var(--s-4); text-align: center; color: var(--muted); }
.zeitachse { list-style: none; margin: 0; padding: 0 var(--s-5); }
.zeitachse li { display: grid; grid-template-columns: 150px 16px minmax(0, 1fr); gap: var(--s-3); padding: 10px 0; border-bottom: 1px solid var(--line); position: relative; }
.zeitachse li:last-child { border-bottom: 0; }
.zeitachse .zeit { font-size: var(--t-xs); color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 3px; }
.zeitachse .punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); margin-top: 5px; justify-self: center; }
.zeitachse .punkt.auftragstool { background: var(--accent); } .zeitachse .punkt.automations { background: #4a78b8; } .zeitachse .punkt.lager { background: var(--ok); }
.zeitachse .text { min-width: 0; } .zeitachse .text .kopfzeile { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: 2px; }
.zeitachse .text .art { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); }
.zeitachse details { margin-top: 4px; } .zeitachse summary { font-size: var(--t-xs); color: var(--muted); cursor: pointer; }
.zeitachse pre { margin: 4px 0 0; font-size: var(--t-xs); background: var(--surface-2); padding: 8px; border-radius: var(--r-sm); overflow: auto; max-height: 240px; }
@media (max-width: 720px) { .zeitachse li { grid-template-columns: 16px minmax(0, 1fr); } .zeitachse .zeit { grid-column: 2; order: 3; } }

/* Meldungen + Login */
.banner { display: flex; gap: var(--s-3); padding: var(--s-3) var(--s-4); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-sm); margin-bottom: var(--s-5); }
.banner strong { display: block; font-weight: 800; }
.leerzustand { padding: var(--s-12) var(--s-4); text-align: center; color: var(--muted); }
.leerzustand strong { display: block; color: var(--ink); font-size: var(--t-md); font-weight: 800; margin-bottom: 4px; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: var(--s-6); z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: var(--r-md); font-size: var(--t-sm); font-weight: 600; box-shadow: var(--sh-2); max-width: 90vw; }
.toast.fehler { background: var(--danger); color: #fff; }
.loginseite { min-height: 100vh; display: grid; place-items: center; padding: var(--s-6); }
.loginbox { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-8) var(--s-8) var(--s-6); box-shadow: var(--sh-1); }
.loginbox .marke { margin-bottom: var(--s-8); gap: var(--s-4); } .loginbox .marke img { height: 64px; } .loginbox .marke .wort { font-size: var(--t-lg); border-left: 0; padding-left: 0; }
.loginbox h1 { margin: 0 0 4px; font-size: var(--t-lg); font-weight: 800; } .loginbox p.unter { color: var(--muted); font-size: var(--t-sm); margin: 0 0 var(--s-6); }
.loginbox .feld { margin-bottom: var(--s-4); } .loginbox .fehler { color: var(--danger); font-size: var(--t-sm); min-height: 20px; margin-top: var(--s-3); }
.loginbox .fuss { margin-top: var(--s-5); font-size: var(--t-xs); color: var(--muted); text-align: center; }

/* Handy: Topbar umbrechen, Quellen-Badges weg (die Karten zeigen sie), Tabellen scrollen */
.card > .inhalt.eng { overflow-x: auto; }
@media (max-width: 760px) {
  .topbar { height: auto; min-height: var(--topbar-h); flex-wrap: wrap; gap: var(--s-2) var(--s-3); padding: var(--s-2) var(--s-4); }
  .topbar .quellen { display: none; }
  .topbar .rechts { margin-left: auto; }
  .nav { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
  .marke .sub { display: none; }
  main { padding: var(--s-4); }
  .seitenkopf h1 { font-size: var(--t-lg); }
  .seitenkopf .werkzeuge { margin-left: 0; width: 100%; }
  .seitenkopf .werkzeuge .btn { width: 100%; }
}

/* Zustand je System (Vorgangsakte) */
.zustand { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--s-4); margin-top: var(--s-4); }
.zsystem { border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); background: var(--surface-2); }
.zsystem h3 { margin: 0 0 var(--s-2); font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.zfeld { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: var(--s-2); padding: 3px 0; font-size: var(--t-sm); border-bottom: 1px dashed var(--line); }
.zfeld:last-child { border-bottom: 0; } .zfeld .k { color: var(--muted); font-size: var(--t-xs); font-weight: 700; padding-top: 2px; } .zfeld .v { min-width: 0; overflow-wrap: anywhere; }
.chipreihe { display: flex; gap: 6px; flex-wrap: wrap; }

/* Phase 2: Aufmerksamkeit, Abweichungen, Regeln */
.badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 10px; font-weight: 800; margin-left: 6px; vertical-align: middle; }
.badge.warn { background: var(--warn); } .badge.leer { background: var(--line-strong); color: var(--ink); }
.nav button.active .badge { outline: 2px solid var(--bg); }
.schalter { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); color: var(--muted); font-weight: 700; }
.abw { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto; gap: var(--s-3); padding: var(--s-3) var(--s-5); border-bottom: 1px solid var(--line); align-items: start; }
.abw:last-child { border-bottom: 0; } .abw.quittiert { opacity: .6; }
.abw .regel { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); padding-top: 3px; }
.abw .text { min-width: 0; } .abw .text .kopfzeile { display: flex; gap: var(--s-2); align-items: center; flex-wrap: wrap; margin-bottom: 2px; }
.abw .meta { font-size: var(--t-xs); color: var(--muted); margin-top: 2px; }
.abw .aktion { display: flex; gap: 6px; align-items: center; }
.abw .aktion .grund { display: none; gap: 6px; align-items: center; } .abw.offen-grund .aktion .grund { display: flex; } .abw.offen-grund .aktion .start { display: none; }
.abw .aktion input { min-height: 32px; min-width: 240px; padding: 4px 8px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); }
.card > .kopf h2.fehler { color: var(--danger); } .card > .kopf h2.warnung { color: var(--warn); }
.akte-abw { margin-top: var(--s-4); } .akte-abw .titel { font-size: var(--t-xs); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: var(--s-3) 0 var(--s-2); }
.akte-abw ul { margin: 0; padding-left: 18px; font-size: var(--t-sm); } .akte-abw li { margin: 2px 0; }
.zus { margin: 0; white-space: pre-wrap; font: var(--t-sm) / 1.5 var(--mono); }
.tabelle.regeln input[type=number] { width: 70px; min-height: 28px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); text-align: right; }
.tabelle.regeln input[type=text] { min-width: 160px; min-height: 28px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.tabelle.regeln select { min-height: 28px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); padding: 2px 6px; }
.tabelle.regeln .param { display: flex; flex-direction: column; gap: 4px; } .tabelle.regeln .param label { display: flex; gap: 6px; align-items: center; font-size: var(--t-xs); color: var(--muted); }
.tabelle.regeln tr.inaktiv td { opacity: .55; }
@media (max-width: 760px) { .abw { grid-template-columns: minmax(0, 1fr); } .abw .aktion input { min-width: 0; width: 100%; } }

/* ===== Kaminplaner ===== */
.formraster { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-3); padding: var(--s-4) var(--s-5); }
.formraster label { display: flex; flex-direction: column; gap: 4px; font-size: var(--t-xs); font-weight: 700; color: var(--muted); }
.formraster label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: var(--t-sm); align-self: end; }
.formraster input, .formraster select, .formraster textarea, .feld select, .hinzu select { min-height: 36px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface); color: var(--ink); font-size: var(--t-sm); font-weight: 600; }
.formraster .aktionen { grid-column: 1 / -1; display: flex; gap: var(--s-2); }
.feld select { width: 100%; }
.btn.klein { min-height: 30px; padding: 4px 10px; font-size: var(--t-xs); }
.klickbar { cursor: pointer; }
.klein { font-size: var(--t-xs); }
.planer { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr); grid-template-rows: auto auto; gap: var(--s-4); }
.planer .viewerkarte { grid-row: 1 / span 2; position: relative; min-height: 640px; display: flex; flex-direction: column; }
.viewer { flex: 1; min-height: 560px; position: relative; background: radial-gradient(ellipse at 50% 30%, var(--surface) 0%, var(--surface-2) 100%); }
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; outline: none; }
.teilkarte { position: absolute; left: var(--s-4); bottom: var(--s-4); max-width: 360px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); box-shadow: var(--sh-2); font-size: var(--t-sm); backdrop-filter: blur(6px); }
.editor .glieder { list-style: none; margin: 0; padding: var(--s-2) var(--s-3); max-height: 420px; overflow: auto; display: flex; flex-direction: column-reverse; gap: 4px; }
.glied { display: grid; grid-template-columns: 28px 150px 1fr auto; align-items: center; gap: var(--s-2); padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); font-size: var(--t-sm); }
.glied.anbau { border-style: dashed; background: var(--surface-2); } .glied.zaehl { opacity: 0.85; }
.glied .nr { font-family: var(--mono); font-size: var(--t-xs); color: var(--muted); } .glied .rolle { font-weight: 700; }
.glied .params { display: flex; flex-wrap: wrap; gap: 6px; } .glied .params label { display: inline-flex; align-items: center; gap: 4px; font-size: var(--t-xs); color: var(--muted); font-weight: 700; }
.glied .params input, .glied .params select { min-height: 26px; padding: 2px 6px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); font-size: var(--t-xs); font-weight: 600; width: 88px; }
.glied .params input[data-p=text] { width: 160px; }
.glied .knoepfe { display: inline-flex; gap: 2px; } .glied .knoepfe button { border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); width: 26px; height: 26px; cursor: pointer; font-size: 12px; color: var(--muted); }
.glied .knoepfe button:hover { color: var(--ink); background: var(--surface-2); }
.hinzu { display: flex; gap: var(--s-2); padding: var(--s-3); border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.hinzu select { flex: 1; min-width: 180px; }
.hinweise { padding: 0 var(--s-3) var(--s-3); display: flex; flex-direction: column; gap: 4px; }
.hinweis { font-size: var(--t-xs); color: var(--accent-ink); background: var(--accent-soft); border-radius: var(--r-sm); padding: 4px 8px; }
.ewimport { border-top: 1px solid var(--line); } .ewimport h3 { margin: var(--s-3) var(--s-5) 0; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.ewimport details { padding: 0 var(--s-5) var(--s-4); font-size: var(--t-sm); } .ewimport textarea { width: 100%; font-family: var(--mono); font-size: var(--t-xs); margin: 6px 0; }
.teile .tabelle tbody tr.aktiv td { background: var(--accent-soft); }
.teile p { padding: 0 var(--s-5) var(--s-3); margin: var(--s-2) 0 0; }
@media (max-width: 1100px) { .planer { grid-template-columns: 1fr; } .planer .viewerkarte { grid-row: auto; min-height: 480px; } }
