/* Tetik Auftragsportal · Gestaltung übernommen aus dem Prototyp V10 (docs/prototyp), Tetik-CI.
   Schrift DM Sans selbst ausgeliefert (SIL OFL, siehe fonts/OFL.txt). Keine externen Quellen. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/DMSans-Regular.14ecdd9d5d0a.woff2") format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/DMSans-Medium.bffbf7174512.woff2") format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/DMSans-SemiBold.4c331407e360.woff2") format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/DMSans-Bold.2f5d3f01dc7b.woff2") format('woff2'); }

/* Layout: Arbeitsportal im Tetik-CI. Navy-Seitenleiste mit Originallogo, helle Arbeitsfläche, Karten nur für abgeschlossene Aufgaben-Einheiten. Mobil: Leiste wird zur Kopfzeile. */
:root {
  --navy: #0A2C72; --navy-ink: #FFFFFF; --navy-muted: #B9C8E6; --navy-hi: rgba(255,255,255,0.14);
  --blue: #034EA1; --blue-hover: #0A2C72; --on-blue: #FFFFFF;
  --ink: #231F20; --muted: #4D586B; --faint: #5F6A7E;
  --bg: #F4F6FA; --surface: #FFFFFF; --surface-2: #EDF1F7; --line: #D7DEEA; --line-strong: #B4C1D6;
  --sel: #E6EEFA; --sel-line: #034EA1;
  --ok: #1D6B43; --ok-soft: #E3F2EA; --warn: #8A5300; --warn-soft: #FCF0DC; --crit: #B42318; --crit-soft: #FBE8E6;

  --illu-wall: #E7ECF4; --illu-wall2: #F3EFE7; --illu-floor: #C7B59A; --illu-floor2: #D9CDB8; --illu-win: #BFD5F0; --illu-line: #7F8BA0; --illu-furn: #5B6E91; --illu-soft: #AEBBD3; --illu-box: #B89C72;
  --font: 'DM Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --r: 10px; --r-lg: 14px;
  --shadow: 0 1px 2px rgba(10,44,114,0.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --navy: #0E2148; --navy-ink: #FFFFFF; --navy-muted: #9FB2D9; --navy-hi: rgba(255,255,255,0.12);
    --blue: #6A9EE8; --blue-hover: #94BAF0; --on-blue: #0B1220;
    --ink: #E6EBF4; --muted: #A7B2C6; --faint: #97A3B9;
    --bg: #0B1220; --surface: #121B2D; --surface-2: #18233A; --line: #26344F; --line-strong: #3A4A6A;
    --sel: #16294B; --sel-line: #6A9EE8;
    --ok: #6CC795; --ok-soft: #10281C; --warn: #E8AE55; --warn-soft: #2B2011; --crit: #F2857A; --crit-soft: #2F1614;

    --illu-wall: #1E2A42; --illu-wall2: #2A3550; --illu-floor: #6B5D49; --illu-floor2: #857660; --illu-win: #2D4A72; --illu-line: #8C99B2; --illu-furn: #8FA6CF; --illu-soft: #4A5B7C; --illu-box: #8E7756;
    --shadow: none;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --navy: #0E2148; --navy-ink: #FFFFFF; --navy-muted: #9FB2D9; --navy-hi: rgba(255,255,255,0.12);
  --blue: #6A9EE8; --blue-hover: #94BAF0; --on-blue: #0B1220;
  --ink: #E6EBF4; --muted: #A7B2C6; --faint: #97A3B9;
  --bg: #0B1220; --surface: #121B2D; --surface-2: #18233A; --line: #26344F; --line-strong: #3A4A6A;
  --sel: #16294B; --sel-line: #6A9EE8;
  --ok: #6CC795; --ok-soft: #10281C; --warn: #E8AE55; --warn-soft: #2B2011; --crit: #F2857A; --crit-soft: #2F1614;

  --illu-wall: #1E2A42; --illu-wall2: #2A3550; --illu-floor: #6B5D49; --illu-floor2: #857660; --illu-win: #2D4A72; --illu-line: #8C99B2; --illu-furn: #8FA6CF; --illu-soft: #4A5B7C; --illu-box: #8E7756;
  --shadow: none;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { text-wrap: balance; margin: 0; color: var(--ink); }
h1 { font-size: 27px; line-height: 1.2; font-weight: 700; }
h2 { font-size: 18px; line-height: 1.3; font-weight: 700; }
h3 { font-size: 16px; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sel-line); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.num { font-variant-numeric: tabular-nums; }

/* Shell */
.shell { display: flex; align-items: stretch; min-height: 100vh; }
.side { flex: 0 0 250px; background: var(--navy); color: var(--navy-ink); display: flex; flex-direction: column; gap: 22px; padding-block: 26px; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: 18px; }
.side .logo { width: 168px; height: auto; display: block; }
.side .bereich { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--navy-muted); font-weight: 600; }
.side nav { display: flex; flex-direction: column; gap: 4px; }
.side nav a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; color: var(--navy-ink); text-decoration: none; font-size: 15px; white-space: nowrap; }
.side nav a:hover { background: var(--navy-hi); color: var(--navy-ink); }
.side nav a[aria-current="page"] { background: var(--navy-hi); font-weight: 700; }
.badge { min-width: 22px; height: 22px; border-radius: 11px; background: #FFFFFF; color: #0A2C72; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.side .unten { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.side .info a { color: var(--navy-muted); font-size: 14px; }
.user { display: flex; gap: 10px; align-items: center; border-top: 1px solid rgba(255,255,255,0.18); padding-top: 14px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; color: #0A2C72; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; flex: none; }
.user span { display: block; }
.user .rolle { font-size: 12px; color: var(--navy-muted); }
.main { flex: 1 1 auto; min-width: 0; padding-block: 30px 72px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wrap { max-width: 1060px; margin: 0 auto; display: flex; flex-direction: column; gap: 22px; }
.wrap.schmal { max-width: 900px; }
@media (min-width: 901px) { .main { padding-left: 40px; padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
@media (max-width: 900px) {
  .shell { flex-direction: column; }
  .side { flex: none; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 12px; padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); }
  .side .logo { width: 120px; }
  .side .bereich { display: none; }
  .side nav { flex-direction: row; flex-wrap: wrap; gap: 4px; width: 100%; }
  .side nav a { min-height: 40px; font-size: 14px; padding: 0 10px; }
  .side .unten { display: none; }
}

/* Bausteine */
.kopf { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: flex-end; justify-content: space-between; }
.kopf > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 380px; }
.lead { color: var(--muted); font-size: 15px; max-width: 68ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); min-width: 0; }
.card.hervor { border: 2px solid var(--navy); }
.card.leise { background: var(--surface-2); border-color: transparent; box-shadow: none; }
.card.gestrichelt { border-style: dashed; border-color: var(--line-strong); }
.zeile { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.zeile.ende { justify-content: flex-end; }
.zeile.spread { justify-content: space-between; }
.stapel { display: flex; flex-direction: column; gap: 10px; }
.stapel.eng { gap: 6px; }
.raster { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.raster.klein { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.trenner { border-top: 1px solid var(--line); padding-top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn:hover:not(:disabled):not([aria-disabled="true"]) { border-color: var(--blue); color: var(--blue); }
.btn.primaer { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }
.btn.primaer:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--on-blue); }
.btn.rand { border-color: var(--blue); color: var(--blue); }
.btn.klein { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; min-height: 44px; font: inherit; font-size: 14px; font-weight: 600; color: var(--blue); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.wahl { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.wahl.kompakt { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { min-height: 48px; padding: 6px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; text-align: center; }
.opt:hover { border-color: var(--line-strong); }
.opt[aria-pressed="true"] { border: 2px solid var(--sel-line); background: var(--sel); color: var(--ink); font-weight: 700; padding: 5px 13px; }
.wahl.kompakt .opt { min-height: 42px; font-size: 14px; }
.opt.aus { border-style: dashed; color: var(--faint); background: var(--surface-2); cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 14px; border-radius: 21px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; font-weight: 600; }
.chip.info { cursor: default; background: var(--surface-2); border-color: transparent; }

.feld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.feld .hilfe { font-weight: 400; color: var(--muted); font-size: 13px; }
input[type="text"], input[type="date"], input[type="time"], input[type="search"], select, textarea { min-height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 0 12px; font: inherit; font-size: 15px; font-weight: 400; background: var(--surface); color: var(--ink); width: 100%; min-width: 0; }
textarea { padding: 10px 12px; resize: vertical; min-height: 80px; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 15px; padding-top: 10px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: none; }
.zwei { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: end; }

.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 13px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.pill.aktion { background: var(--blue); color: var(--on-blue); }
.pill.neutral { background: var(--surface-2); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.crit { background: var(--crit-soft); color: var(--crit); }
.hinweis { border-radius: var(--r); padding: 12px 14px; font-size: 14px; background: var(--surface-2); }
.hinweis.warn { background: var(--warn-soft); color: var(--ink); }
.hinweis.ok { background: var(--ok-soft); }

.tabelle { position: relative; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 16px; background: var(--surface-2); color: var(--muted); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
td .titel { font-weight: 700; }
td select { min-height: 40px; font-size: 14px; }

/* Assistent */
.stepper { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stepper li { flex: 1 1 128px; }
.stepper a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 12px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 14px; }
.stepper a .n { width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex: none; }
.stepper a.fertig .n { background: var(--ok-soft); color: var(--ok); }
.stepper a[aria-current="step"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; font-weight: 600; }
.stepper a[aria-current="step"] .n { background: #FFFFFF; color: #0A2C72; }
.pflicht { color: var(--blue); font-weight: 700; font-size: 13px; }
.checkliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.checkliste li { display: flex; gap: 10px; align-items: center; font-size: 14px; min-height: 32px; }
.checkliste .ico { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 13px; font-weight: 700; }
.checkliste .ja .ico { background: var(--ok-soft); color: var(--ok); }
.checkliste .nein .ico { background: var(--warn-soft); color: var(--warn); }
.datei { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 1px dashed var(--blue); color: var(--blue); background: var(--surface); font-size: 14px; font-weight: 600; cursor: pointer; position: relative; }
.datei:focus-within { outline: 3px solid var(--sel-line); outline-offset: 2px; }
.datei input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone { border: 2px dashed var(--line-strong); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; background: var(--surface-2); }
.rl-zeile { display: grid; grid-template-columns: minmax(76px, 104px) minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.rl-editor { max-width: 640px; }
.feld .hilfe.warn-text { color: var(--warn); font-weight: 600; }
.mt-einheit { border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mt-grid .feld { min-width: 0; }
.mt-grid input, .mt-grid select { width: 100%; min-width: 0; min-height: 40px; }
.mt-tabelle td, .mt-tabelle th { white-space: nowrap; }
.rl-zeile input, .rl-zeile select { width: 100%; min-width: 0; min-height: 40px; }
.rl-zeile .btn { min-height: 40px; }
.rl-etage { display: block; margin-top: 10px; }
.chips .rl-etage { flex-basis: 100%; margin-top: 4px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; background: var(--surface-2); border-radius: 4px; padding: 1px 5px; }
.raum-zeile { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; }
.einbauten { background: var(--surface-2); border-radius: var(--r); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }

/* Fortschritt */
.fortschritt { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.fortschritt li { flex: 1 1 100px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.fortschritt .bar { height: 6px; border-radius: 3px; background: var(--line); }
.fortschritt .fertig .bar { background: var(--blue); }
.fortschritt .jetzt .bar { background: var(--blue); opacity: 0.45; }
.fortschritt .jetzt { color: var(--ink); font-weight: 700; }

/* Exposé-Vorschau */
.seiten { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.seite { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.seite[aria-pressed="true"] { border: 2px solid var(--sel-line); background: var(--sel); padding: 7px; }
.mini { aspect-ratio: 3 / 2; max-width: 100%; border-radius: 6px; background: var(--surface-2); display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; gap: 4px; position: relative; overflow: hidden; }
.mini::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--navy); }
.mini i { display: block; height: 5px; border-radius: 3px; background: var(--line-strong); }
.mini i.kurz { width: 55%; }
.mini.bild { background: var(--illu-soft); }
.seite .lbl { font-size: 13px; }
.gross { aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; padding: 20px; }

/* Visualisierungen */
.vis-paar { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); flex: 999 1 460px; min-width: 0; }
.vis-paar figure { margin: 0; display: flex; flex-direction: column; gap: 4px; position: relative; }
.vis-paar figcaption { font-size: 13px; font-weight: 600; }
.kennung { position: absolute; right: 8px; bottom: 30px; font-size: 11px; font-weight: 600; color: #FFFFFF; background: #0A2C72; border-radius: 4px; padding: 3px 6px; }
svg.raum { width: 100%; height: auto; display: block; border-radius: 8px; }
svg.raum .w { fill: var(--illu-wall); } svg.raum .w2 { fill: var(--illu-wall2); }
svg.raum .f { fill: var(--illu-floor); } svg.raum .f2 { fill: var(--illu-floor2); }
svg.raum .win { fill: var(--illu-win); stroke: var(--illu-line); stroke-width: 2; }
svg.raum .ln { fill: none; stroke: var(--illu-line); stroke-width: 2; }
svg.raum .ln1 { fill: none; stroke: var(--illu-line); stroke-width: 1.5; }
svg.raum .furn { fill: var(--illu-furn); } svg.raum .soft { fill: var(--illu-soft); } svg.raum .box { fill: var(--illu-box); }
.vis-karte { display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.vis-karte .entscheid { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.drei { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.drei .opt { min-height: 46px; font-size: 14px; padding: 4px 6px; }
.drei .opt[aria-pressed="true"] { padding: 3px 5px; }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.kpi .wert { font-size: 28px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi .name { font-size: 14px; font-weight: 600; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.schritte li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.schritte .nr { font-size: 12px; color: var(--blue); font-weight: 700; }
.schritte .nm { font-weight: 700; }
.schritte .zahl { margin-top: 4px; font-size: 13px; color: var(--muted); }
.verlauf { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
details.card > summary { cursor: pointer; font-weight: 700; min-height: 32px; display: flex; align-items: center; }
.liste { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

.band { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: #FFFFFF; background: #B42318; border-radius: 4px; padding: 3px 7px; }
.gross { position: relative; }
.gross-band { left: 12px; top: 12px; font-size: 12px; }
.mini.rot::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: #B42318; }
pre.json { margin: 0; max-height: 420px; overflow: auto; background: var(--surface-2); border-radius: var(--r); padding: 14px 16px; font-size: 12.5px; line-height: 1.5; font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; white-space: pre; }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); max-width: min(520px, calc(100vw - 32px)); background: var(--ink); color: var(--bg); padding: 12px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; z-index: 50; box-shadow: 0 6px 24px rgba(0,0,0,0.2); transition: opacity 0.2s; }
@media (prefers-reduced-motion: reduce) { #toast { transition: none; } }

/* ---------- Ergänzungen Portal (ohne Inline-Stile, wegen Content-Security-Policy) ---------- */
.side .abmelden { margin: 0; }
.side .abmelden button { background: none; border: 0; padding: 0; color: var(--navy-muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; min-height: 32px; }
.side .abmelden button:hover { color: var(--navy-ink); }
.einfach { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--navy); padding: 24px 16px; }
.einfach .card { max-width: 460px; width: 100%; }
.einfach .logo-kopf { background: var(--navy); margin: -20px -22px 4px; padding: 22px; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.einfach .logo-kopf img { width: 168px; height: auto; display: block; }
.voll { width: 100%; justify-content: center; }
.nachrichten { display: flex; flex-direction: column; gap: 8px; }
.code-block { align-self: flex-start; }
.form-inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; }
.spalte-breit { flex: 1 1 300px; min-width: 0; }
a.opt { text-decoration: none; display: inline-flex; align-items: center; }
/* Mobil: „So läuft ein Auftrag“ und Abmelden bleiben erreichbar (im Prototyp ausgeblendet) */
@media (max-width: 900px) {
  .side .unten { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 0; width: 100%; }
  .side .unten .user { display: none; }
}
