/* Backend-Stil für interne Werkzeuge (nur Innendienst und Marketing sehen das) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
:root { --bg:#f1f1f1; --karte:#fff; --text:#303030; --muted:#616161; --leise:#8a8a8a; --rand:#e3e3e3; --rand2:#cfcfcf; --dunkel:#303030; --rot:#b42318; --gruen:#14532d; --link:#005bd3; --schatten:0 1px 0 rgba(0,0,0,.07), 0 0 0 1px rgba(0,0,0,.04) }
* { box-sizing:border-box; -webkit-tap-highlight-color:transparent }
html,body { margin:0; height:100% }
body { font:400 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color:var(--text); background:var(--bg); -webkit-font-smoothing:antialiased }
button, input, select { font:inherit; color:inherit }
.app { max-width:640px; margin:0 auto; min-height:100%; display:flex; flex-direction:column }

header.top { background:#fff; padding:calc(10px + env(safe-area-inset-top)) 16px 10px; display:flex; align-items:center; gap:10px; position:sticky; top:0; z-index:500; border-bottom:1px solid var(--rand) }
header.top img { height:34px }
header.top .titel { font-weight:500; padding-left:10px; border-left:1px solid var(--rand) }
header.top button { margin-left:auto; background:#fff; border:1px solid var(--rand2); border-radius:8px; padding:5px 10px; font-size:12.5px; font-weight:600; cursor:pointer }
.proto { background:#fff4d6; color:#5e4200; font-size:12px; padding:6px 16px; text-align:center }

main { flex:1; padding:16px 12px 96px }
h2 { font:700 20px/1.25 Inter, sans-serif; letter-spacing:-.01em; margin:2px 0 14px }
.kicker { font-size:12px; color:var(--muted); margin:0 }

.suche { position:sticky; top:55px; z-index:400; background:var(--bg); padding:4px 0 8px }
input[type=search], input[type=text], input[type=email], input[type=tel], input[type=url], select {
  width:100%; height:42px; padding:9px 12px; border:1px solid var(--rand2); border-radius:8px; background:#fff; font-size:16px; outline:none }
input:focus, select:focus { outline:2px solid var(--link); outline-offset:-1px }

.chips { display:flex; gap:6px; overflow-x:auto; padding:10px 0 2px; scrollbar-width:none }
.chip { flex:none; background:#fff; border:1px solid var(--rand2); border-radius:999px; padding:5px 12px; font-size:12.5px; font-weight:500; cursor:pointer }
.chip[aria-pressed=true] { background:var(--dunkel); border-color:var(--dunkel); color:#fff }

.anzahl { font-size:12px; color:var(--muted); margin:6px 0 8px }
.liste { background:#fff; border-radius:12px; box-shadow:var(--schatten); overflow:hidden }
.karte { background:#fff; border:0; border-bottom:1px solid var(--rand); padding:12px 14px; cursor:pointer; text-align:left; width:100%; display:flex; flex-direction:column; gap:5px }
.karte:last-child { border-bottom:0 }
.karte:hover { background:#fafafa }
.karte .name { font-weight:600; font-size:14px; color:var(--link); margin:0; order:-1 }
.karte .ort { font-size:12.5px; color:var(--muted) }
.typen { display:flex; gap:4px; flex-wrap:wrap }
.typ { font-size:11.5px; font-weight:500; background:#ebebeb; color:var(--text); padding:2px 8px; border-radius:6px }
.badge { font-size:11.5px; font-weight:500; padding:2px 8px; border-radius:6px; background:#e0f0ff; color:#00527c }
.badge.aus { background:#ebebeb; color:var(--muted) }
.leer { text-align:center; color:var(--muted); padding:30px 0 }
.mehr { width:100%; margin-top:10px }

nav.unten { position:fixed; bottom:0; left:0; right:0; background:#fff; border-top:1px solid var(--rand); padding:6px 8px calc(6px + env(safe-area-inset-bottom)); display:flex; justify-content:center; z-index:600 }
nav.unten .innen { max-width:640px; width:100%; display:flex }
nav.unten button { flex:1; background:none; border:none; padding:6px 0; font-size:11px; color:var(--leise); display:flex; flex-direction:column; align-items:center; gap:3px; cursor:pointer }
nav.unten button[aria-current=page] { color:var(--text); font-weight:600 }
nav.unten svg { width:22px; height:22px }

.btn { background:var(--dunkel); color:#fff; border:1px solid var(--dunkel); border-radius:8px; padding:10px 14px; font-weight:600; font-size:13.5px; cursor:pointer; box-shadow:0 1px 0 rgba(0,0,0,.08) }
.btn.zweit { background:#fff; color:var(--text); border-color:var(--rand2) }
.btn.klein { padding:6px 10px; font-size:12.5px }
.btn:disabled { opacity:.45 }

form { background:#fff; border-radius:12px; box-shadow:var(--schatten); padding:16px 14px }
form .feld { margin-bottom:14px }
label.l { display:block; font-size:13px; font-weight:500; margin:0 0 5px }
label.l .p { color:var(--rot) }
.zeile { display:grid; grid-template-columns:110px 1fr; gap:10px }
.zeile.halb { grid-template-columns:1fr 1fr }
.checks { display:grid; grid-template-columns:1fr 1fr; gap:8px }
.check { display:flex; align-items:center; gap:10px; border:1px solid var(--rand2); background:#fff; border-radius:8px; padding:10px 12px; cursor:pointer; user-select:none; font-size:13.5px }
.check input { width:18px; height:18px; accent-color:var(--dunkel) }
.check.an { border-color:var(--dunkel); background:#f7f7f7; font-weight:500 }
.fehler { color:var(--rot); font-size:12.5px; margin-top:5px }
.feld.err input, .feld.err select { border-color:var(--rot) }
.feld.err .check { border-color:#f1c4bf }
.hinweis { font-size:12.5px; color:var(--muted); margin-top:5px }
.vorschlag { font-size:12.5px; margin-top:6px; background:#f7f7f7; border-radius:8px; padding:8px 10px; display:flex; gap:8px; align-items:center; justify-content:space-between }
.vorschlag button { border:none; background:var(--dunkel); color:#fff; border-radius:6px; padding:5px 10px; font-size:12px; font-weight:600; cursor:pointer }
#karte { height:240px; border:1px solid var(--rand); border-radius:8px; margin-top:8px; z-index:1; background:#f1f1f1 }
.kachel-gedaempft { filter:grayscale(.92) brightness(1.06) contrast(.88) sepia(.08) }
.geo { display:flex; gap:10px; align-items:center; flex-wrap:wrap }
.geo .koord { font-size:12.5px; color:var(--muted); font-variant-numeric:tabular-nums }
.schalter { display:flex; align-items:center; justify-content:space-between; background:#fff; border:1px solid var(--rand2); border-radius:8px; padding:10px 12px; font-size:13.5px }
.schalter input { width:40px; height:22px; accent-color:var(--dunkel) }
.aktionen { display:flex; gap:8px; margin-top:20px }
.aktionen .btn { flex:1 }

.box { background:#fff; border-radius:12px; box-shadow:var(--schatten); padding:4px 14px }
.toast { position:fixed; left:50%; bottom:86px; transform:translateX(-50%); background:#1a1a1a; color:#fff; padding:9px 16px; border-radius:8px; font-size:13px; z-index:900; display:none }
.verlauf li { list-style:none; border-bottom:1px solid var(--rand); padding:12px 0 }
.verlauf li:last-child { border-bottom:0 }
.verlauf ul { padding:0; margin:0 }
.verlauf .wann { font-size:12px; color:var(--leise) }
.verlauf b { font-weight:600; font-size:13.5px }
.verlauf .aend { font-size:12.5px; margin-top:3px }
.verlauf del { color:var(--rot) } .verlauf ins { color:var(--gruen); text-decoration:none; font-weight:600 }

.login { max-width:420px; margin:56px auto 0; padding:0 16px }
.login .logo { text-align:center; margin-bottom:28px }
.login .logo img { height:44px }
.login form { padding:20px 18px }
.zurueck { background:none; border:none; color:var(--link); padding:4px 0; margin:0 0 8px; cursor:pointer; font-size:13.5px; font-weight:500 }

/* ---------- Neue Bausteine (09.11.2026) ---------- */
.mini { font-size:12px; color:var(--muted); font-weight:400 }
.h3 { font:600 14px/1.3 Inter, sans-serif; margin:0 0 10px }
.kacheln { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px }
.kachel { background:#fff; border:0; border-radius:12px; box-shadow:var(--schatten); padding:12px 14px; text-align:left; cursor:pointer; display:flex; flex-direction:column; gap:2px }
.kachel:hover { background:#fafafa }
.kachel .l { font-size:12.5px; color:var(--muted) }
.kachel .w { font:700 24px/1.2 Inter, sans-serif; letter-spacing:-.01em; font-variant-numeric:tabular-nums }
.kachel .z { font-size:11.5px; color:var(--leise) }
.b-zeile { display:grid; grid-template-columns:1fr auto; gap:5px 10px; width:100%; background:none; border:0; padding:6px 0; text-align:left; cursor:pointer; font-size:13.5px }
.b-zeile .wert { font-weight:600; font-variant-numeric:tabular-nums }
.b-zeile .spur { grid-column:1 / -1; height:6px; background:#ebebeb; border-radius:3px; position:relative; overflow:hidden; display:block }
.b-zeile .fuell { position:absolute; left:0; top:0; bottom:0; background:var(--dunkel); border-radius:3px; display:block }
.b-zeile:hover span:first-child { color:var(--link) }
.aufgabe { display:flex; justify-content:space-between; align-items:center; gap:12px; width:100%; background:none; border:0; border-top:1px solid var(--rand); padding:11px 14px; text-align:left; cursor:pointer; font-size:13.5px }
.aufgabe:first-of-type { margin-top:8px }
.aufgabe > span:first-child { display:flex; flex-direction:column; gap:1px }
.aufgabe b { font-weight:600 }
.aufgabe:hover:not(:disabled) { background:#fafafa }
.aufgabe:disabled { cursor:default; opacity:.6 }
.aufgabe .zahl { min-width:30px; text-align:center; font-weight:700; font-size:12.5px; background:#fff1d6; color:#5e4200; border-radius:999px; padding:3px 9px }
.aufgabe .zahl.null { background:#e3f1df; color:var(--gruen) }
.filterband { display:flex; justify-content:space-between; align-items:center; gap:10px; background:#e0f0ff; color:#00527c; border-radius:8px; padding:8px 12px; margin:6px 0 4px; font-size:13px }
.filterband button { background:none; border:0; color:#00527c; font-weight:600; cursor:pointer; font-size:12.5px }
.anzahl { display:flex; justify-content:space-between; align-items:center }
button.link { background:none; border:0; color:var(--link); font-weight:500; cursor:pointer; padding:0; font-size:12.5px }
.badge.partner { background:#303030; color:#fff }
.titelzeile { display:flex; justify-content:space-between; align-items:flex-start; gap:10px }
.titelzeile .btn { flex:none; text-decoration:none; margin-top:14px }
h3.abschnitt { font:600 12px/1.3 Inter, sans-serif; text-transform:uppercase; letter-spacing:.06em; color:var(--leise); margin:22px 0 10px; padding-top:14px; border-top:1px solid var(--rand) }
form h3.abschnitt:first-child { margin-top:0; padding-top:0; border-top:0 }
.warnbox, .vorschlagbox { border-radius:8px; padding:10px 12px; margin:-6px 0 14px; font-size:13px }
.warnbox { background:#fff1d6; color:#4f3800 }
.vorschlagbox { background:#e0f0ff; color:#00334d }
.warnbox .vz, .vorschlagbox .vz { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:7px 0 0 }
.warnbox button, .vorschlagbox button { flex:none; background:#fff; border:1px solid var(--rand2); border-radius:6px; padding:5px 10px; font-size:12px; font-weight:600; cursor:pointer }
input.fest { background:#f7f7f7; color:var(--muted) }
.checkout-vorschau { border:1px dashed var(--rand2); border-radius:10px; padding:10px 12px 12px; margin:-4px 0 14px; background:#fcfcfc }
.cv-frage { font-weight:600; font-size:14px; margin:6px 0 6px }
.cv-feld { height:40px; border:1px solid #1773b0; box-shadow:0 0 0 1px #1773b0; border-radius:5px; padding:10px 12px; background:#fff; font-size:14px; display:flex; align-items:center }
.cv-cursor { width:1px; height:16px; background:#303030; margin-left:1px; animation:blinken 1s steps(1) infinite }
@keyframes blinken { 50% { opacity:0 } }
.cv-liste { border:1px solid var(--rand); border-radius:5px; margin-top:4px; background:#fff; overflow:hidden }
.cv-treffer { padding:9px 12px; background:#f2f6fb; font-size:14px }
.umsatzbox { display:flex; justify-content:space-between; align-items:center; gap:10px; background:#f7f7f7; border-radius:8px; padding:10px 12px; margin:-4px 0 14px }
.umsatzbox > div { display:flex; flex-direction:column; gap:1px }
.umsatzbox b { font-size:18px; font-variant-numeric:tabular-nums }
.umsatzbox .btn { text-decoration:none; flex:none }
.naehe { background:#fff; border-radius:12px; box-shadow:var(--schatten); padding:12px 14px; margin-bottom:6px }
.zeile2 { display:flex; gap:8px } .zeile2 input { flex:1 } .zeile2 .btn { flex:none }
input[type=range] { width:100%; accent-color:var(--dunkel) }
#grossKarte { height:52vh; min-height:300px; border-radius:12px; box-shadow:var(--schatten); margin-top:8px; z-index:1; background:#f1f1f1 }
.legende { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--muted); margin:8px 0 6px }
.legende .punkt { width:11px; height:11px; border-radius:50%; background:#9a9a9a; border:2px solid #fff; box-shadow:0 0 0 1px var(--rand2); display:inline-block; margin-left:6px }
.legende .punkt.p { background:#303030; margin-left:0 }
.vkopf { display:flex; justify-content:space-between; align-items:center; gap:10px }
.gpunkt { width:14px; height:14px; border-radius:50%; background:#9a9a9a; border:2px solid #fff; box-shadow:0 0 0 1px rgba(0,0,0,.15); transform:translateY(50%); cursor:pointer }
.gpunkt.p { background:#303030 }
.ggruppe { width:30px; height:30px; border-radius:50%; background:#303030; color:#fff; font:600 12px/30px Inter, sans-serif; text-align:center; box-shadow:0 0 0 5px rgba(48,48,48,.2); transform:translateY(50%); cursor:pointer }
.ginfo { font:13px/1.45 Inter, sans-serif; color:var(--text) } .ginfo a { color:var(--link); font-weight:600 }
nav.unten button span { white-space:nowrap }
/* Im Shopify-Admin liegt unten die Sidekick-Leiste: Navigation dort oben unter dem Kopf */
nav.unten.oben { position:sticky; top:0; bottom:auto; border-top:0; border-bottom:1px solid var(--rand); padding:4px 8px }
nav.unten.oben button { flex-direction:row; justify-content:center; gap:6px; font-size:12.5px }
nav.unten.oben svg { width:18px; height:18px }

/* Bündel-Kreise auf der Karte im Backend-Stil */
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color:rgba(48,48,48,.18) }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color:#303030; color:#fff; font:600 12px/30px Inter, sans-serif }

/* Unterpartner (10.11.2026) */
.unterbox { display:flex; gap:12px; align-items:center; justify-content:space-between; padding:12px 14px; border:1px solid #DCD5C6; background:#FAF8F3; border-radius:6px }
.unterliste { display:flex; flex-direction:column; gap:6px; margin-bottom:10px }
.unterliste .vz { display:flex; justify-content:space-between; align-items:center; text-align:left; width:100%; padding:10px 12px; border:1px solid #E3E3E3; background:#fff; border-radius:6px; cursor:pointer; font:inherit }
.unterliste .vz:hover { border-color:#252525 }

/* ---------- Shopify-Admin am PC (10.11.2026): breite Ansicht wie das Reporting ---------- */
@media (min-width: 900px) {
  html.admin .app { max-width:1280px }
  html.admin nav.unten.oben .innen { max-width:1280px; justify-content:flex-start; gap:4px }
  html.admin nav.unten.oben button { flex:none; padding:8px 16px; border-radius:8px }
  html.admin nav.unten.oben button[aria-current=page] { background:#f1f1f1 }
  html.admin header.top { padding:12px 24px }
  html.admin .proto { padding:6px 24px }
  html.admin main { padding:24px 24px 64px }
  html.admin h2 { font-size:24px; margin-bottom:18px }
  html.admin input[type=search], html.admin input[type=text], html.admin input[type=email], html.admin input[type=tel], html.admin input[type=url], html.admin select { font-size:14px; height:38px }
  /* Übersicht: Kacheln in einer Reihe, darunter zwei Spalten */
  html.admin main.s-start { display:grid; grid-template-columns:1fr 1fr; gap:0 16px; align-items:start; align-content:start }
  html.admin main.s-start > .kicker, html.admin main.s-start > h2, html.admin main.s-start > .kacheln { grid-column:1 / -1 }
  html.admin main.s-start > .kacheln { grid-template-columns:repeat(4, 1fr); gap:16px; margin-bottom:16px }
  html.admin main.s-start > #aufgaben { grid-column:2; grid-row:4 / span 2; margin-top:0 !important }
  html.admin main.s-start > .verlauf { grid-column:1 }
  html.admin .kachel { padding:16px 18px } html.admin .kachel .w { font-size:28px }
  /* Händlerliste: eine Zeile je Händler wie eine Tabelle */
  html.admin .suche { top:52px; display:flex; flex-wrap:wrap; gap:0 12px; align-items:center }
  html.admin .suche input[type=search] { max-width:520px }
  html.admin .suche .chips { flex-basis:100% }
  html.admin .karte { display:grid; grid-template-columns:minmax(240px, 1.2fr) minmax(220px, 1fr) minmax(260px, 1.4fr); align-items:center; gap:16px; padding:11px 18px }
  html.admin .karte .name { order:0 }
  html.admin .karte .typen { order:1 } html.admin .karte .ort { order:2 }
  /* Formular: mittig, breiter, Karte größer */
  html.admin main.s-bearbeiten, html.admin main.s-neu { max-width:920px; margin:0 auto; width:100% }
  html.admin form { padding:22px 26px }
  html.admin #karte { height:320px }
  html.admin .aktionen { justify-content:flex-end } html.admin .aktionen .btn { flex:none; min-width:160px }
  /* Karte: Suche links, Karte rechts */
  html.admin main.s-karte { display:grid; grid-template-columns:360px 1fr; grid-template-rows:auto auto auto auto auto auto 1fr; gap:0 18px; align-items:start; align-content:start }
  html.admin main.s-karte > .kicker, html.admin main.s-karte > h2 { grid-column:1 / -1 }
  html.admin main.s-karte > .naehe, html.admin main.s-karte > .chips, html.admin main.s-karte > .legende, html.admin main.s-karte > #naeheListe { grid-column:1 }
  html.admin main.s-karte > #grossKarte { grid-column:2; grid-row:3 / 8; height:calc(100vh - 220px); min-height:520px; margin-top:0 }
  html.admin main.s-karte .chips { flex-wrap:wrap }
  html.admin main.s-karte #naeheListe .karte { display:flex }
  /* Verlauf */
  html.admin main.s-verlauf { max-width:920px; margin:0 auto; width:100% }
  html.admin .toast { bottom:96px }
}

/* Unterpartner (11.11.2026): Kasten „Abrechnung“, Suche nach Hauptpartner, aufklappbare Gruppen in der Liste */
.hpsuche { margin-top:10px; padding:12px; border:1px solid #E3E3E3; border-radius:6px; background:#fff }
.hpsuche input { width:100% }
.hpsuche .vz { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; border-top:1px solid #EFEFEF }
.hpsuche .vz:first-child { border-top:0 }
.gruppe { display:flex; flex-direction:column }
.aufklapp { align-self:flex-start; margin:4px 0 2px 14px; background:none; border:0; padding:4px 6px; font:500 12px/1.2 inherit; color:#67502D; cursor:pointer }
.aufklapp:hover { text-decoration:underline }
.kinder { display:flex; flex-direction:column; gap:6px; margin:2px 0 6px 28px; padding-left:12px; border-left:2px solid #DCD5C6 }
.karte.kind { background:#FAF8F3 }

/* Ampel und Statuskopf (11.11.2026) */
.punkt { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:8px; vertical-align:1px; flex:none }
.punkt.gruen { background:#3B8A3E } .punkt.rot { background:#C9372C } .punkt.grau { background:#A8A8A8 }
.ampel { display:inline-block; margin-left:8px; font:500 11px/1 inherit; padding:3px 8px; border-radius:20px; vertical-align:2px; white-space:nowrap }
.ampel.gruen { background:#E6F2E3; color:#2E6B30 } .ampel.rot { background:#FBE7E5; color:#9E2A20 } .ampel.grau { background:#EFEFEF; color:#666 }
.badge.warn { background:#FBE7E5; color:#9E2A20 }
.statuskopf { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px 16px; align-items:center; background:#fff; border:1px solid #E3E3E3; border-radius:8px; padding:12px 14px; margin:0 0 16px }
.statuskopf .ampel { margin-left:0; font-size:12px; padding:5px 10px } .statuskopf .pillen { display:flex; gap:8px; align-items:center }
.statuskopf .ecken { display:flex; flex-wrap:wrap; gap:8px }
.statuskopf .eck { background:#F6F6F6; border-radius:6px; padding:6px 10px; display:flex; flex-direction:column; font-size:13px }
.rottext { color:#9E2A20 }
form .aktionen { position:sticky; bottom:0; background:#fff; padding:12px 0; border-top:1px solid #EFEFEF; z-index:5 }

/* EV = Endverbraucherpreise */
.badge.ev { background:#EEE7F6; color:#5B3E86; border-color:#D9CCEA; font-weight:600 }
.chip.ev[aria-pressed="true"] { background:#5B3E86; border-color:#5B3E86; color:#fff }

/* Händlerliste als Zeilen (16.11.2026): feste Spalten, Status rechts. Klasse hzeile (zeile = Formularzeile) */
.hzeile { background:#fff; border:0; border-bottom:1px solid var(--rand); padding:11px 14px; cursor:pointer; text-align:left; width:100%; font:inherit; color:inherit;
  display:grid; grid-template-columns:minmax(0,1fr) auto; gap:4px 12px; align-items:center; border-radius:0 }
.hzeile:last-child { border-bottom:0 } .hzeile:hover { background:#fafafa }
.hzeile .z-haupt { display:flex; flex-direction:column; gap:2px; min-width:0 }
.hzeile .z-name { font-weight:600; font-size:14px; color:var(--link) }
.hzeile .z-kd { font-size:12.5px; color:var(--text) }
.hzeile .z-ort { font-size:12.5px; color:var(--muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap }
.hzeile .leise { color:var(--muted) }
.hzeile .z-sp { display:flex; gap:4px; flex-wrap:wrap }
.hzeile .z-sp:empty { display:none }
.hzeile .z-status { font-size:12.5px; white-space:nowrap; text-align:right; grid-column:2; grid-row:1 }
.hzeile .z-status.grau { color:var(--muted) }
.hzeile.blass .z-name { color:var(--muted) }
.hzeile.zkopf { display:none }
.tag { font-size:11.5px; font-weight:500; padding:2px 8px; border-radius:6px; white-space:nowrap }
.tag.typ { background:#f1f1f1; color:#4a4a4a }
.tag.cp { background:#303030; color:#fff }
.tag.ge { background:#e0f0ff; color:#00527c }
.tag.ev { background:#EEE7F6; color:#5B3E86 }
.kinder .hzeile { border:1px solid var(--rand); border-radius:8px }
@media (min-width: 900px) {
  html.admin .hzeile { grid-template-columns:minmax(260px,1fr) 170px 140px 100px 140px; gap:12px; padding:11px 18px }
  html.admin .hzeile .z-sp:empty { display:flex }
  html.admin .hzeile .z-status { grid-column:auto; grid-row:auto }
  html.admin .hzeile.zkopf { display:grid; cursor:default; background:#f7f7f7; font-size:11.5px; font-weight:500; color:var(--muted); padding:8px 18px }
  html.admin .hzeile.zkopf:hover { background:#f7f7f7 }
}


/* =====================================================================
   Cockpit-Look (17.11.2026): Graphit, Leiste links, feine Linien. Nur im Shopify-Admin (html.admin).
   Gleiche Farbwerte wie „Provisionen“. Nur Gestaltung, die Logik bleibt unverändert.
   ===================================================================== */
html.admin { --bg:#efefed; --bg1:#f4f4f3; --bg2:#e8e8e6; --karte:#fff; --glas:rgba(255,255,255,.72); --text:#1d1e20; --muted:#7b7d80; --leise:#9a9c9f;
  --rand:rgba(0,0,0,.07); --rand2:rgba(0,0,0,.12); --dunkel:#2a2b2d; --a1:#5d5f62; --a2:#dededb; --c2:#9aa49d; --c3:#bdb3a0; --link:#2a2b2d;
  --ok:#2f8a5b; --okh:rgba(47,138,91,.12); --rot:#b4442f; --gruen:#2f8a5b; --schatten:0 1px 2px rgba(0,0,0,.03) }
html.admin body { background:linear-gradient(135deg,var(--bg1),var(--bg2)) fixed; color:var(--text) }
html.admin .app { max-width:none; display:block }
html.admin .cockpit { display:grid; grid-template-columns:236px minmax(0,1fr); min-height:100vh }
html.admin .seitenleiste { position:sticky; top:0; height:100vh; padding:22px 14px; display:flex; flex-direction:column; gap:3px; background:rgba(255,255,255,.4); border-right:1px solid var(--rand); backdrop-filter:blur(10px) }
html.admin .sl-logo { display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.02em; padding:4px 10px 20px; font-size:13.5px }
html.admin .sl-logo i { width:30px; height:30px; border-radius:9px; background:linear-gradient(135deg,#5d5f62,#2a2b2d); flex:none }
html.admin .sl-logo small { display:block; font-weight:500; color:var(--muted); font-size:11px; letter-spacing:0 }
html.admin .sl-link { display:flex; align-items:center; gap:10px; padding:9px 12px; border-radius:12px; border:0; background:none; color:#55575a; font:500 14px Inter, sans-serif; text-decoration:none; cursor:pointer; text-align:left; width:100% }
html.admin .sl-link svg { width:18px; height:18px; flex:none }
html.admin .sl-link:hover { background:rgba(255,255,255,.6) }
html.admin .sl-link[aria-current=page] { background:#fff; color:var(--text); box-shadow:0 1px 2px rgba(0,0,0,.05); border:1px solid var(--rand) }
html.admin .sl-gruppe { font-size:11px; text-transform:uppercase; letter-spacing:.07em; color:var(--leise); margin:16px 12px 6px }
html.admin .sl-fuss { margin-top:auto; font-size:12px; font-weight:600; color:var(--text); background:var(--glas); border:1px solid var(--rand); border-radius:14px; padding:10px 12px }
html.admin .sl-fuss small { display:block; font-weight:400; color:var(--muted); margin-top:2px; line-height:1.35 }
html.admin .cockpit-inhalt { min-width:0 }
html.admin main { padding:26px 32px 64px; max-width:1420px }
html.admin h2 { font:600 26px/1.2 Inter, sans-serif; letter-spacing:-.02em; margin:0 0 18px }
html.admin .kicker { color:var(--muted); font-size:13px }
/* Karten: Glas mit feiner Linie */
html.admin .box, html.admin .liste, html.admin form, html.admin .kachel, html.admin .naehe, html.admin .statuskopf, html.admin #grossKarte {
  background:var(--glas); border:1px solid var(--rand); border-radius:20px; box-shadow:var(--schatten); backdrop-filter:blur(14px) }
html.admin .liste { overflow:hidden; padding:6px }
html.admin .kachel { padding:16px 18px; gap:4px } html.admin .kachel:hover { background:#fff }
html.admin .kachel .l { color:var(--muted); font-size:13px } html.admin .kachel .w { font-weight:600; font-size:30px; letter-spacing:-.03em }
html.admin .b-zeile .spur { background:rgba(0,0,0,.06); height:8px; border-radius:5px } html.admin .b-zeile .fuell { background:linear-gradient(90deg,var(--a2),var(--a1)); border-radius:5px }
html.admin .aufgabe { border-top:1px solid var(--rand) } html.admin .aufgabe:hover:not(:disabled) { background:rgba(255,255,255,.7) }
html.admin .aufgabe .zahl { background:#2a2b2d; color:#fff } html.admin .aufgabe .zahl.null { background:var(--okh); color:var(--ok) }
/* Suche und Filter */
html.admin .suche { position:static; background:none; padding:0 0 12px }
html.admin input[type=search], html.admin input[type=text], html.admin input[type=email], html.admin input[type=tel], html.admin input[type=url], html.admin select, html.admin textarea {
  background:#fff; border:1px solid var(--rand2); border-radius:11px; height:40px }
html.admin input:focus, html.admin select:focus { outline:2px solid #2a2b2d; outline-offset:-1px }
html.admin .chip { background:var(--glas); border:1px solid var(--rand); border-radius:20px; padding:6px 13px; color:var(--text) }
html.admin .chip[aria-pressed=true] { background:#1d1e20; border-color:#1d1e20; color:#fff }
html.admin .chip.ev[aria-pressed="true"] { background:#1d1e20; border-color:#1d1e20 }
html.admin .filterband { background:#fff; color:var(--text); border:1px solid var(--rand); border-radius:12px }
html.admin .filterband button { color:var(--text) }
/* Händlerzeilen */
html.admin .hzeile { background:none; border-bottom:1px solid var(--rand); border-radius:12px; padding:11px 14px }
html.admin .hzeile:hover { background:#fff }
html.admin .hzeile .z-name { color:var(--text) } html.admin .hzeile.blass .z-name { color:var(--muted) }
html.admin .hzeile.zkopf, html.admin .hzeile.zkopf:hover { background:none; text-transform:uppercase; letter-spacing:.05em; font-size:11px; border-bottom:1px solid var(--rand) }
html.admin .tag { border-radius:7px; border:1px solid var(--rand); background:#fff; color:var(--muted) }
html.admin .tag.typ { color:var(--text) }
html.admin .tag.cp { background:#2a2b2d; border-color:#2a2b2d; color:#fff }
html.admin .tag.ge { background:#fff; color:var(--text) }
html.admin .tag.ev, html.admin .badge.ev { background:#fff; color:#5d5f62; border:1px solid #c9cbc8 }
html.admin .badge { border-radius:7px } html.admin .badge.partner { background:#2a2b2d }
html.admin .punkt.gruen { background:var(--ok) } html.admin .punkt.rot { background:var(--rot) }
html.admin .ampel.gruen { background:var(--okh); color:var(--ok) }
/* Knöpfe */
html.admin .btn { background:#2a2b2d; border-color:#2a2b2d; border-radius:12px; padding:9px 15px; box-shadow:none }
html.admin .btn.zweit { background:#fff; color:var(--text); border-color:var(--rand2) }
html.admin button.link, html.admin .zurueck { color:var(--text); text-decoration:underline; text-underline-offset:2px }
/* Formular */
html.admin form { padding:24px 28px }
html.admin h3.abschnitt { color:var(--muted); border-top-color:var(--rand) }
html.admin .check, html.admin .schalter { background:#fff; border:1px solid var(--rand2); border-radius:12px }
html.admin .check.an { border-color:#2a2b2d; background:#f6f6f5 }
html.admin .check input, html.admin .schalter input { accent-color:#2a2b2d }
html.admin #karte { border-radius:16px; border:1px solid var(--rand) }
html.admin .vorschlag, html.admin .umsatzbox { background:#f6f6f5; border-radius:12px }
html.admin .warnbox { border-radius:12px } html.admin .vorschlagbox { background:#f1f2f1; color:var(--text); border-radius:12px }
html.admin form .aktionen { background:rgba(255,255,255,.92); backdrop-filter:blur(8px) }
html.admin .unterbox, html.admin .kinder .hzeile, html.admin .hpsuche { border-radius:12px; border-color:var(--rand); background:#fff }
html.admin .kinder { border-left-color:#c9cbc8 } html.admin .aufklapp { color:var(--muted) }
html.admin .karte.kind { background:#f6f6f5 }
/* Karte: Gruppen in Graphit */
html.admin .ggruppe { background:#2a2b2d; box-shadow:0 0 0 5px rgba(42,43,45,.18) } html.admin .gpunkt.p { background:#2a2b2d }
html.admin #grossKarte { overflow:hidden }
/* Verlauf */
html.admin .verlauf li { border-bottom-color:var(--rand) }
html.admin .verlauf ins { color:var(--ok) } html.admin .verlauf del { color:var(--rot) }
html.admin .toast { background:#1d1e20; border-radius:12px; bottom:28px }
@media (min-width: 900px) {
  html.admin .hzeile { padding:11px 16px }
  html.admin main.s-start > .kacheln { gap:16px }
  html.admin main.s-karte > #grossKarte { height:calc(100vh - 140px) }
}
@media (max-width: 899px) {
  html.admin .cockpit { grid-template-columns:1fr }
  html.admin .seitenleiste { position:static; height:auto; flex-direction:row; flex-wrap:wrap; padding:10px }
  html.admin .sl-gruppe, html.admin .sl-fuss { display:none }
}
