/* Orbinori Control – Marke: docs/MARKE.md. Layout-Orientierung (historisches Mockup): docs/mockup_img/NOVA Control Center_ Kunden-Hosting-Dashboard.png */
:root {
  --bg: #f4f6fb; --surface: #fff; --border: #e2e6f0; --text: #1a1f36; --muted: #5d6585;
  /* Marke (docs/MARKE.md). Türkis #20C9B0 hat auf Weiß nur 2,1 : 1 – für Text, Linien und Fokus --brand-turquoise-ink. */
  --brand-navy: #14243b; --brand-turquoise: #20c9b0; --brand-turquoise-ink: #0b7a6b;
  --navy: var(--brand-navy); --navy-2: #1d3352; --accent: var(--brand-navy); --accent-soft: #e3f4f1; --link: var(--brand-turquoise-ink); --teal: #0b7a6b;
  --ok: #157f4c; --ok-soft: #e4f6ec; --warn: #9a5b00; --warn-soft: #fff3d9; --err: #b42318; --err-soft: #fdecea;
  --radius: 14px; --shadow: 0 1px 2px rgba(20,24,50,.06), 0 6px 18px rgba(20,24,50,.05); --focus: 0 0 0 2px #fff, 0 0 0 4px var(--brand-turquoise-ink);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--link); }
:focus-visible { outline: none; box-shadow: var(--focus); }
code { font-family: ui-monospace, Menlo, monospace; font-size: .86em; }
h1 { font-size: 1.7rem; margin: 0 0 .4rem; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1.2rem 0 .3rem; }
.lead { color: var(--muted); margin: 0 0 1rem; }
.hint, .small { font-size: .88rem; color: var(--muted); font-weight: 400; }
.muted { color: var(--muted); }
.spacer { flex: 1; }

.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.sidebar { background: var(--navy); color: #e3eaf2; padding: 1.25rem .9rem; display: flex; flex-direction: column; gap: 1rem; }
.logo { color: #fff; text-decoration: none; display: grid; gap: .2rem; line-height: 1.1; padding: 0 .5rem; }
.logo img { display: block; height: 36px; width: auto; }
.logo span { font-size: .95rem; font-weight: 600; color: var(--brand-turquoise); padding-left: 2.6rem; }
.sidebar ul { list-style: none; margin: 0; padding: 0; }
.sidebar nav a { display: block; color: #e3eaf2; text-decoration: none; padding: .55rem .75rem; border-radius: 10px; }
.sidebar nav a:hover { background: var(--navy-2); }
.sidebar nav a.active { background: #2a4566; color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--brand-turquoise); }
.sidebar .planned a { color: #9fb0c4; font-size: .9rem; }
.nav-section { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: #8fa3b8; margin: 1rem .75rem .25rem; }
.sidebar-footer { margin-top: auto; padding: 0 .5rem; }
/* Menü (23.11.2026): Logo und Knopf oben; am Bildschirm ist der Knopf unsichtbar und das Menü immer offen */
.sidebar-kopf { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.menu { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.menu-knopf { display: none; align-items: center; gap: .5rem; min-height: 44px; padding: .5rem .9rem; border-radius: 10px; border: 1px solid #4a6283;
  background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.menu-knopf:hover { background: var(--navy-2); }
.menu-striche { display: grid; gap: 4px; width: 18px; }
.menu-striche i { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-knopf[aria-expanded="true"] .menu-striche i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-knopf[aria-expanded="true"] .menu-striche i:nth-child(2) { opacity: 0; }
.menu-knopf[aria-expanded="true"] .menu-striche i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.who { margin: 0 0 .5rem; font-size: .9rem; }
main#inhalt { padding: 1.5rem; min-width: 0; max-width: 1500px; }

.with-panel { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 1.25rem; align-items: start; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.page-head h1 { margin: 0; }
.clock { color: var(--muted); margin: 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.card, .panel, .orbi-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card { padding: 1rem 1.1rem; }
.card-alert { border-color: #f1c27d; background: #fffaf0; }
.card-value { font-size: 1.9rem; font-weight: 700; margin: 0; }
.card-label { margin: 0; color: var(--muted); font-size: .9rem; }
.panel { padding: 1.15rem; margin-bottom: 1.25rem; }
.panel.narrow { max-width: 640px; }
.panel-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.panel-head h2 { flex: 1; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.planned-card { background: #fafbfe; border-style: dashed; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; padding: .5rem; border-bottom: 1px solid var(--border); }
.table td { padding: .6rem .5rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.reason { color: var(--muted); font-size: .85rem; max-width: 420px; }
.reason-box { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .6rem .8rem; color: var(--muted); }

.health { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-weight: 700; font-size: .82rem; white-space: nowrap; }
.health-ok { background: var(--ok-soft); color: var(--ok); }
.health-degraded { background: var(--warn-soft); color: var(--warn); }
.health-down { background: var(--err-soft); color: var(--err); }
.health-stale, .health-unknown { background: #eceef4; color: #4a5170; }
.env { font-weight: 700; font-size: .75rem; letter-spacing: .05em; padding: .15rem .55rem; border-radius: 6px; border: 1.5px solid; }
.env-live { background: var(--ok-soft); color: var(--ok); border-color: #9fd8b8; }
.env-test { background: var(--warn-soft); color: var(--warn); border-color: #f0cc85; }
.env-local { background: var(--accent-soft); color: var(--accent); border-color: #b5e3da; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; padding: 0 .45rem; border-radius: 6px; background: var(--accent-soft); color: var(--accent); vertical-align: middle; }
.badge-planned { background: #eceef4; color: var(--muted); }
.chk { font-weight: 600; font-size: .82rem; }
.chk-ok { color: var(--ok); } .chk-warning { color: var(--warn); } .chk-failed { color: var(--err); } .chk-unknown { color: var(--muted); }

.events { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.sev { display: inline-block; min-width: 4.8rem; text-align: center; font-size: .72rem; font-weight: 700; text-transform: uppercase; padding: .05rem .4rem; border-radius: 5px; background: #eceef4; color: #4a5170; }
.sev-warning .sev { background: var(--warn-soft); color: var(--warn); }
.sev-error .sev, .sev-critical .sev { background: var(--err-soft); color: var(--err); }
.sev-info .sev { background: var(--accent-soft); color: var(--accent); }

.orbi-panel { padding: 1.1rem; position: sticky; top: 1rem; }
.orbi-head { display: flex; gap: .75rem; align-items: center; margin-bottom: .75rem; }
.orbi-head h2 { margin: 0; }
.orbi-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.orbi-note { background: var(--accent-soft); border-radius: 10px; padding: .6rem .75rem; font-size: .9rem; }

.alert { border: 1px solid; border-radius: 12px; padding: .75rem 1rem; margin: 0 0 1rem; }
.alert p { margin: .2rem 0; }
.alert-ok { background: var(--ok-soft); border-color: #a9dcbf; color: #0f5133; }
.alert-warn { background: var(--warn-soft); border-color: #f0cc85; color: #623a00; }
.alert-error { background: var(--err-soft); border-color: #f3b8b2; color: #8a1c12; }
.alert-info { background: var(--accent-soft); border-color: #b5e3da; color: var(--brand-navy); }
.token-box input { font-family: ui-monospace, Menlo, monospace; }

label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .85rem; }
label.check { display: flex; gap: .5rem; align-items: center; font-weight: 400; }
input:not([type=checkbox]):not([type=radio]), select, textarea { display: block; width: 100%; margin-top: .3rem; padding: .55rem .7rem; border: 1px solid #cdd3e3; border-radius: 10px; font: inherit; font-weight: 400; background: #fff; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; align-items: end; }
.filters label { margin: 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; margin: 0 0 1rem; font-size: .92rem; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.pager { display: flex; gap: .5rem; }
.btn { display: inline-flex; align-items: center; gap: .3rem; padding: .55rem 1rem; border-radius: 10px; border: 1px solid #cdd3e3; background: #fff; color: var(--text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; text-decoration: none; }
.btn-small { padding: .3rem .65rem; font-size: .84rem; }
.btn-primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-dark { background: transparent; color: #e3eaf2; border-color: #4a6283; }
.btn-warn { border-color: #f0cc85; color: var(--warn); }
.blank-card { max-width: 520px; margin: 3rem auto; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 2rem; }

@media (max-width: 1150px) { .with-panel { grid-template-columns: 1fr; } .orbi-panel { position: static; } }
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar .planned, .nav-section { display: none; }
  /* Handy: Menü startet zugeklappt (nur mit Skript), der Inhalt steht oben */
  .sidebar { padding: .75rem 1rem; gap: .75rem; }
  .menu-js .menu-knopf { display: inline-flex; }
  .menu-js .menu:not(.offen) { display: none; }
  .menu.offen { padding-bottom: .5rem; }
  main#inhalt { padding: 1rem; }
  .split { grid-template-columns: 1fr; }
  .table thead { display: none; }
  .table tr { display: block; border-bottom: 1px solid var(--border); padding: .4rem 0; }
  .table td { display: block; border: 0; padding: .15rem .3rem; }
  .table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--muted); font-size: .78rem; }
}

/* Mehr-Faktor-Anmeldung */
.mfa-steps { padding-left: 1.2rem; display: grid; gap: .6rem; }
.mfa-qr { display: block; margin: .6rem 0; width: 220px; height: 220px; image-rendering: pixelated; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.totp-secret { display: block; margin-top: .35rem; font-size: 1rem; letter-spacing: .05em; word-break: break-all; }
.recovery-codes { columns: 2; column-gap: 2rem; padding-left: 1.6rem; margin: 0 0 1rem; }
.recovery-codes code { font-size: .95rem; }
.who a { color: inherit; text-decoration: none; }
.who a:hover { text-decoration: underline; }
@media (max-width: 480px) { .recovery-codes { columns: 1; } }
.edit-urls { margin-top: .75rem; }
.edit-urls summary { cursor: pointer; font-weight: 600; font-size: .9rem; }
.edit-urls form { margin-top: .5rem; }
.form-actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .5rem; }

/* Vorfälle */
.crumbs { margin: 0 0 .4rem; font-size: .9rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { border-color: #9ed9ce; }
.istatus { display: inline-block; padding: .15rem .6rem; border-radius: 999px; font-weight: 700; font-size: .8rem; white-space: nowrap; }
.istatus-open { background: var(--err-soft); color: var(--err); }
.istatus-acknowledged { background: var(--warn-soft); color: var(--warn); }
.istatus-resolved { background: var(--ok-soft); color: var(--ok); }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.data-text { margin: 0; padding: .6rem .75rem; background: #f7f8fc; border: 1px dashed var(--border); border-radius: 10px; font-family: ui-monospace, Menlo, monospace; font-size: .85rem; overflow-wrap: anywhere; white-space: pre-wrap; }
.timeline { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .55rem; }
.tl { border-left: 3px solid var(--border); padding: .1rem 0 .1rem .75rem; }
.tl p { margin: .15rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.tl-kind { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; margin-right: .5rem; }
.tl-meta { color: var(--muted); font-size: .82rem; }
.tl-system .tl-kind, .tl-status .tl-kind, .tl-assign .tl-kind { color: var(--muted); }
.tl-beobachtung { border-left-color: var(--accent); } .tl-beobachtung .tl-kind { color: var(--accent); }
.tl-hypothese { border-left-color: #c58a00; } .tl-hypothese .tl-kind { color: var(--warn); }
.tl-test { border-left-color: var(--teal); } .tl-test .tl-kind { color: var(--brand-turquoise-ink); }
.tl-massnahme { border-left-color: var(--ok); } .tl-massnahme .tl-kind { color: var(--ok); }
.tl-status { border-left-color: var(--navy); }
.note-row { display: grid; grid-template-columns: 180px 1fr; gap: .75rem; }
.note-row .grow { min-width: 0; }
.incident-actions { display: grid; gap: .6rem; justify-items: start; }
.incident-actions label { width: 100%; margin: 0; }
.resolve { width: 100%; }
.resolve summary { cursor: pointer; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.package-preview { background: #0f1430; color: #e6e9ff; padding: 1rem 1.1rem; border-radius: 12px; overflow: auto; max-height: 60vh; font-size: .82rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 760px) { .note-row { grid-template-columns: 1fr; } }
.nowrap { white-space: nowrap; }

/* Orbi – Punkt im Orbit (docs/MARKE.md). Zustand immer zusätzlich als Text; Bewegung nur ohne prefers-reduced-motion. */
.orbi-mark { display: inline-flex; align-items: center; gap: .5rem; color: var(--brand-navy); vertical-align: middle; }
.orbi-mark svg { flex: none; overflow: visible; }
.orbi-ring { fill: none; stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
.orbi-dot { fill: var(--brand-turquoise); }
.orbi-dot-track { transform-origin: 32px 32px; }
.orbi-halo { fill: none; stroke: var(--brand-turquoise-ink); stroke-width: 2.5; }
.orbi-label { font-size: .88rem; font-weight: 600; }
.orbi-arbeitet .orbi-dot-track { animation: orbi-orbit 2.6s linear infinite; }
.orbi-rueckfrage .orbi-halo { animation: orbi-halo 2.4s ease-in-out infinite; }
.orbi-fehler .orbi-dot { fill: var(--red, #b42318); }
.orbi-fehler .orbi-label { color: var(--red, #b42318); }
.orbi-aus { color: var(--muted); }
.orbi-aus .orbi-dot { fill: none; stroke: currentColor; stroke-width: 2.5; }
@keyframes orbi-orbit { to { transform: rotate(360deg); } }
@keyframes orbi-halo { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .menu-striche i { transition: none; }
  .orbi-arbeitet .orbi-dot-track, .orbi-rueckfrage .orbi-halo { animation: none; }
}

/* Trainingslager (ADR-0044 Punkt 12, Mockup docs/mockup_img/trainingslager-control.html): Urteil, Aufgaben, Rollen, Überwachung */
.camp { max-width: 980px; }
.camp h1 { margin-bottom: 1rem; }
.camp-verdict { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: center; border-radius: 18px; padding: 1.5rem 1.6rem; margin-bottom: 1rem;
  background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--border); position: relative; overflow: hidden; }
.camp-verdict::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: #b8bfd0; }
.camp-verdict h2 { margin: 0; font-size: 1.45rem; letter-spacing: -.01em; }
.camp-verdict p { margin: .25rem 0 0; color: var(--muted); }
.camp-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #eceef4; color: #4a5170; }
.camp-icon svg { width: 34px; height: 34px; }
.camp-ok::before { background: var(--ok); } .camp-ok .camp-icon { background: var(--ok-soft); color: var(--ok); }
.camp-todo::before { background: #e0a030; } .camp-todo .camp-icon { background: var(--warn-soft); color: var(--warn); }
.camp-task { background: var(--surface); border: 1px solid #f0cc85; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.1rem; margin-bottom: 1rem; }
.camp-task h3 { margin: 0; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.camp-task p { margin: .3rem 0 0; }
.camp-label { font-size: .75rem; font-weight: 700; color: var(--warn); background: var(--warn-soft); border-radius: 6px; padding: .05rem .45rem; margin-left: .3rem; vertical-align: middle; }
.camp-say { margin-top: .7rem !important; background: #f6f7fb; border: 1px solid var(--border); border-radius: 10px; padding: .5rem .7rem; }
.camp-say-hint { display: block; font-size: .78rem; color: var(--muted); }
.camp-say q { font-style: italic; user-select: all; -webkit-user-select: all; cursor: text; }
.camp-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .5rem; margin: 0 0 1.2rem; padding: 0; list-style: none; }
.camp-roles li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; padding: .6rem .8rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.camp-roles li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); flex: none; }
.camp-roles li.camp-attn { border-color: #f0cc85; background: #fffaf0; font-weight: 600; }
.camp-roles li.camp-attn::before { background: #e0a030; box-shadow: 0 0 0 3px var(--warn-soft); }
.camp-watch { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding: 0; list-style: none; }
.camp-watch li { padding: .7rem .85rem; border-radius: 12px; background: #eef1f7; }
.camp-watch li.camp-stale { background: var(--warn-soft); }
.camp-watch small { display: block; color: var(--muted); font-size: .78rem; }
.camp-watch b { font-size: 1rem; }
.camp-meter { display: block; height: 5px; border-radius: 99px; background: #dde2ec; margin-top: .35rem; overflow: hidden; }
.camp-meter i { display: block; height: 100%; background: var(--link); }
.camp-warn { color: var(--warn); font-size: .9rem; margin: .7rem 0 0; }
/* Trainingslager auf dem Server (ADR-0091): Läuft gerade, Rollen-Kacheln, Starten, Plan */
.camp .lead { margin: -.4rem 0 1rem; }
.camp-h2 { font-size: 1.05rem; margin: 1.6rem 0 .6rem; }
.camp-run { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 1rem 1.2rem; margin-bottom: 1rem; }
.camp-run-on { border-color: #9fd7d0; }
.camp-run-head { display: flex; align-items: center; gap: .6rem; }
.camp-run-head h3 { margin: 0; flex: 1; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.camp-run p { margin: .35rem 0 0; }
.camp-run-cancel { margin: 0; }
.camp-pulse { width: 12px; height: 12px; border-radius: 50%; background: #b8bfd0; flex: none; }
.camp-run-on .camp-pulse { background: var(--brand-turquoise, #19b3a6); box-shadow: 0 0 0 0 rgba(25,179,166,.5); animation: camp-pulse 1.8s ease-out infinite; }
@keyframes camp-pulse { 0% { box-shadow: 0 0 0 0 rgba(25,179,166,.45); } 100% { box-shadow: 0 0 0 12px rgba(25,179,166,0); } }
@media (prefers-reduced-motion: reduce) { .camp-run-on .camp-pulse { animation: none; } }
.camp-progress { height: 8px; border-radius: 99px; background: #e3e8f0; overflow: hidden; margin: .8rem 0 .2rem; }
.camp-progress i { display: block; height: 100%; background: linear-gradient(90deg, #19b3a6, #3a7bd5); transition: width .6s ease; }
.camp-run-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: .7rem 0 0; padding: 0; list-style: none; }
.camp-run-facts li { padding: .55rem .7rem; border-radius: 12px; background: #eef1f7; }
.camp-run-facts small { display: block; color: var(--muted); font-size: .78rem; }
.camp-run-msg { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.camp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .6rem; margin-bottom: 1.2rem; align-items: start; }
.camp-tile { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.camp-tile.camp-attn { border-color: #f0cc85; background: #fffaf0; }
.camp-tile > summary { display: grid; grid-template-columns: 1fr auto; gap: .2rem .6rem; align-items: center; padding: .75rem .9rem; cursor: pointer; list-style: none; }
.camp-tile > summary::-webkit-details-marker { display: none; }
.camp-tile > summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 14px; }
.camp-tile-name { font-weight: 700; }
.camp-tile-state { font-size: .82rem; color: var(--muted); text-align: right; }
.camp-attn .camp-tile-state { color: var(--warn); font-weight: 700; }
.camp-tile-kis { grid-column: 1 / -1; display: flex; gap: .35rem; }
.camp-ki { font-size: .74rem; font-weight: 700; border-radius: 99px; padding: .1rem .55rem; display: inline-flex; align-items: center; gap: .3rem; }
.camp-ki::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.camp-ki-ok { background: var(--ok-soft); color: var(--ok); }
.camp-ki-attn { background: var(--warn-soft); color: var(--warn); }
.camp-ki-open { background: #e8ecf6; color: #4a5170; }
.camp-ki-none { background: transparent; color: var(--muted); border: 1px dashed #c9cfdc; }
.camp-ki-none::before { background: transparent; border: 1px solid currentColor; width: 5px; height: 5px; }
.camp-tile-body { padding: 0 .9rem .85rem; border-top: 1px solid var(--border); }
.camp-area { color: var(--muted); font-size: .9rem; margin: .6rem 0; }
.camp-flagged { margin: .5rem 0 0; padding-left: 1.1rem; font-size: .88rem; }
.camp-runner { margin: .5rem 0 1rem; }
.ki-grenze { margin-top: 1.25rem; }
.camp-watch + .camp-warn { margin-bottom: 0; }
.camp-tile .camp-say { margin-top: .7rem; }
/* Formular „Training starten“: nur die Felder der gewählten Art (Browser ohne :has() zeigen alle) */
.camp-start:has(input[value="gross"]:checked) .camp-only-gezielt,
.camp-start:has(input[value="fortsetzen"]:checked) .camp-only-gezielt,
.camp-start:has(input[value="fortsetzen"]:checked) .camp-not-fortsetzen,
.camp-start:not(:has(input[value="fortsetzen"]:checked)) .camp-only-fortsetzen { display: none; }
.camp-start fieldset { border: 0; padding: 0; margin: 0 0 .9rem; }
.camp-start legend { font-weight: 700; margin-bottom: .4rem; }
.camp-choice { display: flex; gap: .55rem; align-items: flex-start; margin: .35rem 0; font-weight: 400; }
.camp-choice input { margin-top: .3rem; }
.camp-role-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .3rem .8rem; }
.camp-role-picks label { font-weight: 400; display: flex; gap: .4rem; align-items: center; }
.camp-start-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: .6rem; margin-bottom: .6rem; }
@media (max-width: 560px) { .camp-watch, .camp-verdict, .camp-run-facts { grid-template-columns: 1fr 1fr; } .camp-verdict { grid-template-columns: 1fr; } .camp-tiles { grid-template-columns: 1fr; } .camp-watch li:last-child { grid-column: 1 / -1; } }
/* Lagezentrum „Server & Sicherungen“ (21.11.2026): Kurzfassung → Zu tun → Bereichs-Kacheln → Punkte im Detail */
.lz { max-width: 1040px; --lz-ok: var(--ok); --lz-warn: #d98a00; --lz-crit: var(--err); --lz-idle: #b8bfd0; }
.lz-servers { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .9rem; }
.lz-srv { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: .9rem; transition: border-color .15s, box-shadow .15s; }
.lz-srv:hover { border-color: var(--brand-turquoise); }
.lz-srv[aria-current="page"] { border-color: var(--brand-turquoise-ink); box-shadow: 0 0 0 2px var(--accent-soft); }
.lz-srv-key { color: var(--muted); font-size: .8rem; }
.lz-srv.lz-warn .lz-dot { background: var(--lz-warn); } .lz-srv.lz-crit .lz-dot { background: var(--lz-crit); }
.lz-srv.lz-crit .lz-count { background: var(--err-soft); color: var(--err); }
.lz-hero { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; padding: 1.5rem 1.7rem;
  margin-bottom: 1.1rem; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.lz-hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 140%; border-radius: 50%; opacity: .5; pointer-events: none;
  background: radial-gradient(closest-side, var(--lz-glow, #e9f8f4), transparent); }
.lz-hero.lz-warn { --lz-glow: #fff1d6; } .lz-hero.lz-crit { --lz-glow: #fde3e0; }
.lz-hero > * { position: relative; z-index: 1; }
.lz-hero h1 { font-size: 1.6rem; letter-spacing: -.015em; margin: .1rem 0 .25rem; }
.lz-hero p { margin: 0; color: var(--muted); }
.lz-eyebrow { font-size: .78rem !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link) !important; }
.lz-ring { width: 132px; height: 132px; transform: rotate(-90deg); }
.lz-ring text { transform: rotate(90deg); transform-origin: 60px 60px; text-anchor: middle; }
.lz-seg { fill: none; stroke-width: 11; stroke-linecap: butt; stroke: var(--lz-ok); transition: stroke .4s; }
.lz-ring-wrap { margin: 0; display: grid; justify-items: center; gap: .35rem; }
.lz-ring-wrap figcaption { font-size: .76rem; color: var(--muted); text-align: center; max-width: 140px; line-height: 1.3; }
.lz-seg-warn { stroke: var(--lz-warn); } .lz-seg-crit { stroke: var(--lz-crit); }
.lz-ring-num { font-size: 30px; font-weight: 800; fill: var(--text); }
.lz-ring-num.lz-small { font-size: 20px; }
.lz-ring-sub { font-size: 11px; fill: var(--muted); }
.lz-live { margin-top: .7rem !important; font-size: .88rem; }
.lz-live .lz-pulse { display: inline-block; vertical-align: middle; margin-right: .45rem; }
.lz-js .lz-tz { display: none; } /* mit Skript steht „vor … Minuten“ – dann braucht es keine Zeitzone */
.lz-tz { color: var(--muted); font-size: .8rem; }
.lz-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--lz-ok); box-shadow: 0 0 0 0 rgba(21,127,76,.45); animation: lz-pulse 2s infinite; }
.lz-live-stale .lz-pulse { background: var(--lz-crit); animation: none; }
@keyframes lz-pulse { 70% { box-shadow: 0 0 0 9px rgba(21,127,76,0); } 100% { box-shadow: 0 0 0 0 rgba(21,127,76,0); } }

.lz-todo { margin-bottom: 1.1rem; }
.lz-todo h2, .lz-panel-head h2 { font-size: 1rem; margin: 0 0 .5rem; display: flex; align-items: center; gap: .5rem; }
.lz-todo ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lz-todo-item { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding: .7rem .9rem; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: transform .15s, box-shadow .15s, border-color .15s; }
.lz-todo-item:hover { transform: translateX(3px); border-color: var(--brand-turquoise); box-shadow: var(--shadow); }
.lz-todo-title { font-weight: 600; }
.lz-todo-area { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.lz-chip { display: inline-block; font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: #eceef4; color: #4a5170; white-space: nowrap; }
.lz-warn > .lz-chip, .lz-warn > summary > .lz-chip { background: var(--warn-soft); color: var(--warn); }
.lz-crit > .lz-chip, .lz-crit > summary > .lz-chip, .lz-chip-crit { background: var(--err-soft); color: var(--err); }
.lz-chip-ok { background: var(--ok-soft); color: var(--ok); }

.lz-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.lz-tile { position: relative; display: grid; gap: .15rem; padding: 1rem 1.05rem .95rem; border-radius: 16px; background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); text-decoration: none; overflow: hidden;
  transition: transform .18s, box-shadow .18s, border-color .18s; }
.lz-tile::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--lz-ok); }
.lz-tile.lz-warn::before { background: var(--lz-warn); } .lz-tile.lz-crit::before { background: var(--lz-crit); }
.lz-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,24,50,.10); }
.lz-tile[aria-selected="true"] { border-color: var(--brand-turquoise-ink); box-shadow: 0 0 0 2px var(--accent-soft), 0 10px 26px rgba(20,24,50,.10); }
.lz-tile-head { display: flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.lz-tile-value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.01em; }
.lz-tile-sub { font-size: .8rem; color: var(--muted); }
.lz-tile .lz-count { margin-left: auto; }
.lz-count { min-width: 1.4rem; text-align: center; font-size: .72rem; font-weight: 800; padding: .05rem .4rem; border-radius: 999px; background: var(--warn-soft); color: var(--warn); }
.lz-crit .lz-count { background: var(--err-soft); color: var(--err); }
.lz-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lz-ok); flex: none; display: inline-block; }
.lz-warn > .lz-dot, .lz-warn .lz-tile-head .lz-dot, .lz-dot.lz-warn, li.lz-warn > .lz-dot { background: var(--lz-warn); }
.lz-crit > .lz-dot, .lz-crit .lz-tile-head .lz-dot, .lz-dot.lz-crit, li.lz-crit > .lz-dot { background: var(--lz-crit); }

.lz-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 1.25rem 1.35rem; margin-bottom: 1rem; }
.lz-js .lz-panel { animation: lz-in .25s ease-out; }
.lz-js .lz-panel[hidden] { display: none; }
.lz-quiet .lz-panel { animation: none !important; }
@keyframes lz-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lz-panel-head p { margin: 0 0 .9rem; color: var(--muted); font-size: .92rem; }
.lz-fine { margin: 0 0 1rem; color: var(--ok); font-weight: 600; }
.lz-point { border: 1px solid var(--border); border-radius: 12px; margin-bottom: .55rem; background: #fbfcfe; }
.lz-point.lz-warn { border-color: #f0cc85; } .lz-point.lz-crit { border-color: #f1b0b0; }
.lz-point summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .65rem; padding: .7rem .9rem; font-weight: 600; }
.lz-point summary::-webkit-details-marker { display: none; }
.lz-point summary::after { content: ""; flex: none; margin-left: auto; width: .55rem; height: .55rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s; }
.lz-point[open] summary::after { transform: rotate(-135deg); }
.lz-point-body { padding: 0 .95rem .9rem; }
.lz-point-body > p { margin: 0 0 .6rem; }
.lz-say { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: .55rem .75rem; }
.lz-say span { display: block; font-size: .76rem; color: var(--muted); }
.lz-say q { font-style: italic; user-select: all; -webkit-user-select: all; }
.lz-tech { font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; margin-bottom: 0 !important; }
.lz-flash { animation: lz-flash 1.4s ease-out; }
@keyframes lz-flash { 0% { box-shadow: 0 0 0 4px var(--brand-turquoise); } 100% { box-shadow: 0 0 0 0 transparent; } }

.lz-backups, .lz-bars, .lz-checks, .lz-legend { list-style: none; margin: .9rem 0 0; padding: 0; }
.lz-backup { padding: .85rem 0; border-top: 1px solid var(--border); }
.lz-backup-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; }
.lz-backup-meta { color: var(--muted); font-size: .85rem; }
.lz-spark { display: block; max-width: 100%; height: 40px; margin: .2rem 0 .4rem; }
.lz-spark-cap { margin: .5rem 0 0; font-size: .78rem; color: var(--muted); }
.lz-spark rect { fill: #9fd9cf; } .lz-spark rect:last-child { fill: var(--brand-turquoise-ink); }
.lz-backup-probe { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .88rem; }
.lz-disk { display: grid; grid-template-columns: 150px 1fr; gap: 1.4rem; align-items: center; margin-top: .9rem; }
.lz-donut { width: 150px; height: 150px; transform: rotate(-90deg); }
.lz-donut text { transform: rotate(90deg); transform-origin: 60px 60px; text-anchor: middle; }
.lz-donut circle { fill: none; stroke-width: 16; }
.lz-donut-bg { stroke: #e7f3ef; } .lz-donut-used { stroke: var(--brand-navy); } .lz-donut-old { stroke: var(--lz-warn); }
.lz-legend li { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; }
.lz-legend b { margin-left: auto; padding-left: 1rem; }
.lz-key { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.lz-key-used { background: var(--brand-navy); } .lz-key-old { background: var(--lz-warn); } .lz-key-free { background: #e7f3ef; border: 1px solid #cfe6df; }
.lz-bars li { display: grid; grid-template-columns: minmax(140px, 1fr) 2fr auto; gap: .8rem; align-items: center; padding: .45rem 0; }
.lz-bar { height: 8px; border-radius: 99px; background: #e9ecf3; overflow: hidden; }
.lz-bar i { display: block; height: 100%; border-radius: 99px; background: var(--lz-ok); }
.lz-bar i.lz-warn { background: var(--lz-warn); } .lz-bar i.lz-crit { background: var(--lz-crit); }
.lz-bar-value { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.lz-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; margin-top: .9rem; }
.lz-group { border: 1px solid var(--border); border-radius: 12px; padding: .75rem .85rem; }
.lz-group ul { list-style: none; margin: .45rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.lz-pill { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; padding: .2rem .55rem; border-radius: 999px; background: var(--ok-soft); color: var(--ok); }
.lz-pill.lz-crit { background: var(--err-soft); color: var(--err); }
.lz-checks li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-top: 1px solid var(--border); }
.lz-checks b { margin-left: auto; font-weight: 600; }
.lz-note { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .lz-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .lz-hero { grid-template-columns: 1fr; justify-items: start; gap: .8rem; padding: 1.2rem; }
  .lz-ring { width: 96px; height: 96px; }
  .lz-tile { padding: .8rem; } .lz-tile-value { font-size: 1.2rem; }
  .lz-todo-item { grid-template-columns: auto 1fr; } .lz-todo-area { grid-column: 2; }
  .lz-disk { grid-template-columns: 1fr; justify-items: center; } .lz-legend { width: 100%; }
  /* lange Adressen (z. B. jagdhundepruefung.orbinori.net) brechen um, statt die Seite am Handy zu verbreitern */
  .lz-bars li { grid-template-columns: minmax(0, 1fr) auto; } .lz-bar { grid-column: 1 / -1; grid-row: 2; }
  .lz-bar-label { min-width: 0; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .lz-pulse, .lz-js .lz-panel, .lz-flash { animation: none; }
  .lz-tile, .lz-todo-item, .lz-point summary::after, .lz-seg { transition: none; }
}
.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; }

/* Leads (ADR-0072) */
nav.filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; }
.chip { display: inline-block; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--line, #d6dde6); text-decoration: none; color: inherit; font-size: .9rem; }
.chip.is-on { background: var(--accent-soft); color: var(--accent); border-color: transparent; font-weight: 600; }
.pre { white-space: pre-line; }
.badge.lead-neu { background: #fdecc8; color: #7a4b00; }
.badge.lead-kunde { background: #d8f5e6; color: #0b5d36; }
.badge.lead-abgesagt { background: #eceff3; color: #58616d; }

/* Werbung (ADR-0076) */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 1rem; align-items: start; }
.form-grid .form-actions, .form-grid fieldset, .form-grid label:has(textarea) { grid-column: 1 / -1; }
.inline-form { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin: 0 0 1rem; }
.inline-form label { margin: 0; }
fieldset.checks { border: 1px solid var(--border); border-radius: 10px; padding: .6rem .8rem; margin: 0 0 .85rem; display: flex; flex-wrap: wrap; gap: .2rem 1.2rem; }
fieldset.checks legend { font-weight: 600; font-size: .9rem; padding: 0 .3rem; }
fieldset.checks label.check { margin: 0; }
.panel-attention { border-color: #f0cc85; background: #fffbf2; }
.todo-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.todo { border-left: 4px solid var(--warn); padding: .35rem .7rem; background: var(--warn-soft); border-radius: 0 8px 8px 0; }
.todo-fehler, .todo-notbremse, .todo-kanal { border-left-color: var(--err); background: var(--err-soft); }
.todo-freigabe { border-left-color: var(--brand-turquoise-ink); background: var(--accent-soft); }
.hand-post { border-top: 1px solid var(--border); padding: .9rem 0 .2rem; }
.hand-post header { margin-bottom: .4rem; }
.hand-post textarea, .steps textarea { font-size: .9rem; background: #f7f8fc; }
.steps { padding-left: 1.2rem; display: grid; gap: .6rem; }
.findings { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .3rem; font-size: .9rem; }
.chk-failed { color: var(--err); } .chk-warning { color: var(--warn); }
.posts td { vertical-align: top; }
.posts td:last-child { white-space: nowrap; }
.posts td:last-child .btn { margin: 0 .2rem .3rem 0; }
.badge.camp-freigegeben, .badge.post-veroeffentlicht { background: var(--ok-soft); color: var(--ok); }
.badge.camp-angehalten, .badge.post-von-hand, .badge.post-fehlgeschlagen { background: var(--warn-soft); color: var(--warn); }
.badge.camp-entwurf, .badge.post-entwurf, .badge.post-uebersprungen { background: #eceef4; color: var(--muted); }
.badge.post-geplant { background: var(--accent-soft); color: var(--brand-turquoise-ink); }
.channel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.25rem; }
.channel { margin: 0; }
.channel details { margin: 0 0 .8rem; font-size: .92rem; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.asset { margin: 0; border: 1px solid var(--border); border-radius: 12px; padding: .5rem; background: #fff; }
.asset img, .asset video { display: block; width: 100%; height: 220px; object-fit: contain; background: #0f1826; border-radius: 8px; }
.asset figcaption { font-size: .88rem; margin-top: .4rem; overflow-wrap: anywhere; }
.asset-preview { display: block; max-width: 360px; max-height: 480px; border-radius: 10px; background: #0f1826; }
@media (max-width: 760px) { .posts td:last-child { white-space: normal; } }

/* Werbestrategie (ADR-0076 W4) */
.strat-kern { border-left: 6px solid var(--brand-turquoise-ink); }
.strat-hook { font-size: 1.15rem; font-weight: 600; line-height: 1.45; max-width: 72ch; margin: 0 0 .6rem; }
.strat-spruch { color: var(--brand-turquoise-ink); font-size: 1.1rem; }
.strat-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .75rem; margin: 1rem 0 .5rem; }
.strat-zahlen > div { background: var(--bg); border-radius: 12px; padding: .75rem .9rem; display: grid; gap: .15rem; }
.strat-zahlen strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.strat-meter { display: block; height: .5rem; border-radius: 99px; background: #dde2ec; overflow: hidden; margin-top: .2rem; }
.strat-meter i { display: block; height: 100%; border-radius: 99px; background: var(--brand-turquoise-ink); }
.strat-fokus { margin: 0; padding-left: 1.2rem; display: grid; gap: .6rem; }
.strat-aufgaben { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .5rem; }
.aufgabe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; padding: .65rem .8rem; border: 1px solid var(--border); border-left: 4px solid var(--border); border-radius: 10px; background: var(--surface); }
.aufgabe > div:first-child { flex: 1 1 22rem; display: grid; gap: .2rem; }
.aufgabe .form-actions { align-self: center; margin: 0; }
.aufgabe-offen { border-left-color: var(--brand-turquoise-ink); }
.aufgabe-spaet { border-left-color: var(--err); background: var(--err-soft); }
.aufgabe-erledigt, .aufgabe-verworfen { opacity: .65; }
.aufgabe-erledigt strong, .aufgabe-verworfen strong { text-decoration: line-through; text-decoration-thickness: 1px; }
.aufgabe details p { margin: .3rem 0; max-width: 72ch; }
.strat-notiz { display: grid; gap: .25rem; max-width: 40rem; }
.strat-regeln li, .strat-antwort { max-width: 72ch; }
.strat-antwort { margin: .5rem 0; padding: .6rem .8rem; border-left: 3px solid var(--brand-turquoise-ink); background: var(--accent-soft); border-radius: 0 10px 10px 0; white-space: pre-line; }
.row-current td { background: var(--accent-soft); }
.augenbraue-cc { margin: 0 0 .2rem; font-size: .9rem; font-weight: 600; color: var(--brand-turquoise-ink); }
.badge.strat-entwurf, .badge.spend-geplant { background: var(--warn-soft); color: var(--warn); }
.badge.strat-aktiv, .badge.spend-bezahlt { background: var(--ok-soft); color: var(--ok); }
.badge.strat-beendet, .badge.spend-verworfen { background: #eceef4; color: var(--muted); }
.badge.spend-freigegeben { background: var(--accent-soft); color: var(--brand-turquoise-ink); }
.aufgabe .badge { justify-self: start; }
.strat-aufgaben + details, #aufgaben details > summary { margin-top: .6rem; }
.strat-nachschlagen > summary { font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.strat-nachschlagen[open] > summary { margin-bottom: .75rem; }
.nowrap { white-space: nowrap; }
.strat-beitraege { min-width: 11rem; }
.badge.badge-luecke { background: #eceef4; color: var(--muted); }
.luecke { color: var(--muted); font-style: italic; }
td[data-label=""]::before { display: none !important; }
.strat-abrechnung { display: grid; gap: .2rem; font-size: .85rem; margin-bottom: .3rem; }
.panel > details > summary, details.panel > summary { font-weight: 700; }

/* Ersteinrichtung und Willkommensmail (ADR-0079) */
.setup-panel .kv { margin-top: .4rem; }
.setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .75rem; }
.mail-preview { width: 100%; height: 820px; border: 1px solid var(--line, #e1e7ef); border-radius: 12px; background: #f3f6f9; margin-top: .5rem; }
.err-text { color: #8a1c12; }
@media (max-width: 640px) { .mail-preview { height: 1100px; } }

/* Stammdaten eines Kunden: Felder nebeneinander, am Handy untereinander */
.form-inline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .5rem 1rem; align-items: end; }
.form-inline-grid button { justify-self: start; }

/* Bestellungen und Einrichtungen (ADR-0088 K5): Schritte eines Einrichtungsauftrags kompakt untereinander. */
.steps-mini { margin: 0; padding-left: 0; list-style: none; font-size: .85rem; line-height: 1.5; }
.steps-mini li { white-space: nowrap; }
/* Instanzen als Websites (Live + Testbühne, Auftraggeber 23.11.2026) */
.ws-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.25rem; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--ok); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem 1.15rem; margin-bottom: 1.25rem; }
.ws-summary > div { flex: 1 1 280px; }
.ws-summary p { margin: 0; color: var(--muted); }
.ws-summary .ws-summary-title { color: var(--text); font-weight: 700; font-size: 1.05rem; }
.ws-summary-dot { width: .8rem; height: .8rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); flex: none; }
.ws-summary-warn { border-left-color: var(--warn); }
.ws-summary-warn .ws-summary-dot { background: var(--warn); box-shadow: 0 0 0 5px var(--warn-soft); }
.ws-summary-crit { border-left-color: var(--err); }
.ws-summary-crit .ws-summary-dot { background: var(--err); box-shadow: 0 0 0 5px var(--err-soft); }
.ws-counts { display: flex; gap: 1.5rem; margin: 0; }
.ws-counts div { text-align: right; }
.ws-counts dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ws-counts dd { margin: 0; font-size: 1.35rem; font-weight: 700; }
.ws-counts .ws-n-crit { color: var(--err); }
.ws-counts .ws-n-warn { color: var(--warn); }
.ws-notices { flex-basis: 100%; list-style: none; margin: .2rem 0 0; padding: .7rem 0 0; border-top: 1px solid var(--border); display: grid; gap: .35rem; font-size: .9rem; }
.ws-note { display: flex; gap: .5rem; align-items: baseline; }
.ws-note-icon { flex: none; width: 1.1rem; text-align: center; font-weight: 700; }
.ws-note-crit .ws-note-icon, .ws-msg-crit .ws-note-icon { color: var(--err); }
.ws-note-warn .ws-note-icon, .ws-msg-warn .ws-note-icon { color: var(--warn); }
.ws-note-info .ws-note-icon, .ws-msg-info .ws-note-icon { color: var(--brand-turquoise-ink); }
.ws-table tbody + tbody .ws-cust th { border-top: 10px solid var(--surface); }
.ws-cust th { background: #f1f4f9; color: var(--text); text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; padding: .6rem .7rem; border-bottom: 1px solid var(--border); border-radius: 8px 8px 0 0; }
.ws-cust th a { color: var(--text); }
.ws-cust-meta { font-weight: 400; font-size: .85rem; color: var(--muted); margin: 0 .6rem; }
.ws-cust-sites { font-weight: 500; font-size: .88rem; color: var(--brand-turquoise-ink); margin-left: .6rem; }
.ws-badge-crit { background: var(--err-soft); color: var(--err); }
.ws-row td:first-child { white-space: nowrap; }
.ws-row-test td { border-top: 0; }
.ws-row-test td:first-child { padding-left: 1.4rem; }
.ws-paket { font-size: .82rem; }
.ws-addrs { overflow-wrap: anywhere; }
.ws-msg td { padding: .35rem .7rem .5rem 1.4rem; font-size: .86rem; }
.ws-msg-crit td { background: var(--err-soft); color: #8a1c12; }
.ws-msg-warn td { background: var(--warn-soft); color: #623a00; }
.ws-msg-info td { background: #f5fbfa; color: var(--muted); }
.ws-row:target td { background: var(--accent-soft); }
.ws-manual { margin-top: .5rem; }
.ws-manual > summary { cursor: pointer; font-weight: 700; margin-bottom: .75rem; }
@media (max-width: 760px) {
  .ws-counts { width: 100%; justify-content: space-between; }
  .ws-counts div { text-align: left; }
  .ws-cust th { display: block; }
  .ws-row-test td:first-child, .ws-msg td { padding-left: .3rem; }
  .ws-msg td { padding: .45rem .6rem; border-radius: 8px; }
}

/* Paket und Preise (Neugestaltung 23.11.2026) */
.pk-sub { margin: -.6rem 0 .5rem; color: var(--muted); }
.pk-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin-bottom: 1.25rem; }
.pk-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1rem 1.15rem; }
.pk-tile-warn { border-color: #f1c27d; background: #fffaf0; }
.pk-tile-label { margin: 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.pk-tile-value { margin: .2rem 0 .25rem; font-size: 1.45rem; font-weight: 700; line-height: 1.2; }
.pk-tile-sub { margin: 0; font-size: .88rem; color: var(--muted); }
.pk-missing, .pk-warn { color: var(--warn); }
.pk-ok { color: var(--ok); }
.pk-subs { display: grid; gap: .75rem; }
.pk-sub-card { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; border: 1px solid var(--border); border-radius: 12px; padding: .9rem 1rem; background: #fbfcfe; }
.pk-sub-card h3 { margin: .1rem 0; font-size: 1.1rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.pk-qty { font-weight: 500; color: var(--muted); }
.pk-kind { margin: 0; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-turquoise-ink); }
.pk-kind-zeitpaket, .pk-kind-einmal { color: var(--muted); }
.pk-state, .pk-note { margin: 0; font-size: .9rem; color: var(--muted); }
.pk-note { font-style: italic; }
.pk-sub-price { text-align: right; }
.pk-price { margin: 0; font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.pk-price small { font-size: .8rem; font-weight: 500; color: var(--muted); margin-left: .3rem; }
.pk-price-src { margin: 0; font-size: .82rem; color: var(--muted); max-width: 280px; }
.pk-sub-no { grid-column: 1 / -1; margin: .3rem 0 0; font-size: .78rem; color: var(--muted); }
.pk-action { grid-column: 1 / -1; margin-top: .35rem; }
.pk-action > summary { cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--link); width: max-content; }
.pk-action-body { margin-top: .6rem; padding: .8rem .9rem; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.pk-action-body p { margin: 0 0 .6rem; font-size: .9rem; }
.pk-ended { margin-top: .9rem; font-size: .9rem; }
.pk-ended summary { cursor: pointer; color: var(--muted); }
.pk-ended ul { margin: .5rem 0 0; padding-left: 1.1rem; color: var(--muted); }
.pk-group { border: 0; margin: 0 0 1.1rem; padding: 0; min-width: 0; }
.pk-group legend { font-weight: 700; font-size: 1rem; padding: 0; }
.pk-group-hint { margin: .1rem 0 .6rem; font-size: .86rem; color: var(--muted); }
.pk-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .7rem; }
.pk-choice { position: relative; display: flex; flex-direction: column; gap: .25rem; margin: 0; padding: .85rem .95rem .85rem 2.4rem; border: 1.5px solid var(--border); border-radius: 12px; background: #fff; font-weight: 400; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.pk-choice:hover { border-color: #b5c0d6; }
.pk-choice input { position: absolute; left: .9rem; top: 1.05rem; margin: 0; accent-color: var(--brand-turquoise-ink); }
.pk-choice:has(input:checked) { border-color: var(--brand-turquoise-ink); box-shadow: 0 0 0 3px var(--accent-soft); background: #fbfffe; }
.pk-choice:has(input:focus-visible) { box-shadow: var(--focus); }
.pk-choice-off { cursor: not-allowed; background: #f7f8fb; color: var(--muted); }
.pk-choice-name { font-weight: 700; }
.pk-choice-price { font-weight: 700; font-size: 1.05rem; }
.pk-choice-price small { font-weight: 500; color: var(--muted); font-size: .8rem; margin-left: .25rem; }
.pk-was { display: block; text-decoration: line-through; }
.pk-choice-desc { font-size: .84rem; color: var(--muted); }
.pk-chip { align-self: flex-start; font-size: .76rem; font-weight: 600; padding: .05rem .5rem; border-radius: 999px; background: var(--accent-soft); color: var(--brand-turquoise-ink); }
.pk-choice-why { font-size: .8rem; font-weight: 600; color: var(--warn); }
.pk-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0 1rem; }
.pk-span { grid-column: 1 / -1; }
.pk-details > details { margin-bottom: .85rem; }
.pk-details > details > summary { cursor: pointer; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.pk-live { margin: 0 0 .9rem; padding: .6rem .8rem; border-radius: 10px; background: var(--accent-soft); font-size: .92rem; }
.pk-estimate { margin: 0 0 1rem; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid var(--brand-turquoise-ink); background: #fbfffe; }
.pk-estimate h3 { margin: 0 0 .5rem; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.pk-estimate p { margin: .5rem 0 0; font-size: .92rem; }
.pk-estimate ul { margin: 0; padding-left: 1.1rem; }
.pk-estimate-warn { border-color: #f0cc85; background: var(--warn-soft); }
.pk-estimate-kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.pk-estimate-kv dt { color: var(--muted); }
.pk-estimate-kv dd { margin: 0; }
.pk-prices { list-style: none; margin: 0; padding: 0; }
.pk-more { margin-top: .6rem; }
.pk-more > summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--link); }
.pk-prices > li { padding: .7rem 0; border-bottom: 1px solid var(--border); }
.pk-prices > li:last-child { border-bottom: 0; }
.pk-price-row { display: grid; grid-template-columns: 1fr auto auto; gap: .3rem 1.25rem; align-items: baseline; }
.pk-price-name { font-weight: 600; }
.pk-price-list { font-size: .86rem; color: var(--muted); }
.pk-own .pk-price-list { text-decoration: line-through; }
.pk-price-now { min-width: 9rem; text-align: right; }
.pk-price-now small { color: var(--muted); }
.pk-price-why { margin: .2rem 0 0; font-size: .84rem; color: var(--brand-turquoise-ink); }
.pk-mode { border: 0; padding: 0; margin: 0 0 .4rem; display: flex; flex-wrap: wrap; gap: .3rem 1.5rem; }
.pk-mode label { margin: 0; }
.pk-tech > summary { cursor: pointer; font-weight: 700; }
.pk-tech[open] > summary { margin-bottom: .6rem; }
@media (max-width: 760px) {
  .pk-sub-card { grid-template-columns: 1fr; }
  .pk-sub-price { text-align: left; }
  .pk-price-row { grid-template-columns: 1fr auto; }
  .pk-price-list { grid-column: 1; grid-row: 2; }
  .pk-price-now { grid-row: 1 / span 2; grid-column: 2; min-width: 0; }
}

/* Preisliste (Neugestaltung 23.11.2026) */
.pl-group { margin-bottom: 1.6rem; }
.pl-group > h2 { font-size: 1.15rem; margin: 0; }
.pl-count { font-weight: 500; font-size: .9rem; }
.pl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.pl-card { margin: 0; display: flex; flex-direction: column; gap: .35rem; }
.pl-card header { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; }
.pl-card h3 { margin: 0; font-size: 1.05rem; text-transform: none; letter-spacing: 0; color: var(--text); }
.pl-planned { background: #fafbfe; border-style: dashed; }
.pl-price { margin: .1rem 0 0; font-size: 1.6rem; font-weight: 700; line-height: 1.15; }
.pl-price small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.pl-next { margin: 0; font-size: .86rem; color: var(--brand-turquoise-ink); }
.pl-desc { margin: .2rem 0; font-size: .9rem; color: var(--muted); }
.pl-use { margin: .2rem 0 0; font-size: .82rem; color: var(--muted); }
.pl-card .pk-action { margin-top: .1rem; }
.pl-history { margin: .5rem 0 0; padding-left: 1.2rem; font-size: .86rem; }
.pl-new { max-width: 900px; scroll-margin-top: 1rem; }
.pl-effect { margin: 0 0 .9rem; }
.pl-effect > summary { cursor: pointer; font-weight: 600; font-size: .92rem; margin-bottom: .5rem; }
textarea { resize: vertical; }
.ws-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; margin-bottom: .9rem; }
.ws-tools label { margin: 0; }
.ws-search { display: flex; align-items: center; gap: .5rem; font-weight: 600; }
.ws-search input { margin: 0; width: min(380px, 70vw); }
.ws-fold { border: 0; background: none; cursor: pointer; font: inherit; padding: 0 .4rem 0 0; color: var(--muted); }
.ws-fold[aria-expanded="false"] span:first-child { display: inline-block; transform: rotate(-90deg); }
.ws-urls { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.ws-urls li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .45rem; }
.ws-dot { width: .55rem; height: .55rem; border-radius: 50%; flex: none; align-self: center; }
.ws-dot-ok { background: var(--ok); }
.ws-dot-err { background: var(--err); }
.ws-dot-stale { background: var(--warn); }
.ws-dot-none { background: transparent; border: 1.5px solid #b5bdd0; }
.ws-url-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); min-width: 4.5rem; }
.ws-url-state { color: var(--muted); font-size: .78rem; }
.ws-table tr[hidden], .ws-table tbody[hidden] { display: none !important; }
.ws-tools .ws-search input[type=search] { width: min(380px, 70vw); }
.ws-row td[data-label="Token"] code { white-space: nowrap; font-size: .8rem; }
@media (max-width: 760px) {
  .ws-note { display: block; }
  .ws-note-icon { display: inline-block; }
  .ws-row td[data-label="Token"] { display: none; }
}
.ws-badge-info { background: var(--accent-soft); color: var(--brand-turquoise-ink); margin-left: .3rem; }
.ws-url-label { min-width: 6.5rem; }
.pk-group-block { margin: 0 0 .6rem; padding: .5rem .75rem; border-radius: 10px; background: var(--warn-soft); color: #623a00; font-size: .88rem; font-weight: 600; }
.pk-booked { font-size: .8rem; font-weight: 600; color: var(--ok); }
.pl-new .pk-choices { grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
