/* ============ Verwaltung (Dashboard, Anmeldung) im Design von gicoweb.de ============
   Aufbau wie die Website: weiße Kopfzeile mit Trennlinie (als Schatten, nicht als Rand), darunter links die Geschäfte,
   rechts der Inhalt. Kästen nur mit feiner Linie, kein Schatten und keine Fläche. Hintergrund malt das <html>
   (app.css, --rand-oben/--rand-unten) – body bleibt ohne Hintergrund (globale Regel). */

:root {
  --kopf-h: 64px;
  /* Seitenrand: mobil schmal, am Computer großzügig – Kopfzeile und Seitenleiste nutzen denselben Wert. */
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(20px, 2vw, 32px);
}
@media (min-width: 960px) { :root { --kopf-h: 72px; --rand: clamp(24px, 2.4vw, 44px); } }

/* ---------- Kopfzeile ---------- */
.adm-kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--kopf-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--rand);
  background: var(--bg);
  box-shadow: 0 1px 0 var(--line);
}
.adm-kopf .marke { position: relative; z-index: 2; }
.adm-konto { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); font-size: 15.5px; }
.adm-konto .wer { color: var(--muted); font-size: 14.5px; }
.adm-konto .wer b { color: var(--ink); font-weight: 600; }
/* Textlinks wie die Navigation der Website: Linie wächst beim Überfahren von links nach rechts. */
.navlink {
  padding: 6px 0;
  border: 0;
  background: linear-gradient(var(--accent-strong), var(--accent-strong)) left bottom / 0 2px no-repeat;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-size .25s ease;
}
@media (hover: hover) { .navlink:hover { background-size: 100% 2px; } }
.navlink:active { background-size: 100% 2px; }
.navlink.is-on { background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 2px; }
.nav-toggle { display: none; position: relative; z-index: 2; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; font-size: 15px; font-weight: 600; cursor: pointer; }
.nav-toggle:active { background: var(--bg-soft); }

/* ---------- Grundaufbau ---------- */
.adm-rumpf { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: calc(100vh - var(--kopf-h)); }
.adm__side {
  position: sticky;
  top: var(--kopf-h);
  height: calc(100vh - var(--kopf-h));
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 20px 24px var(--rand);
  overflow-y: auto;
  box-shadow: 1px 0 0 var(--line);
}
.adm__titel { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.adm__shops { display: grid; gap: 2px; margin: 0 -10px; }
.adm__shops button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: var(--radius); background: none; text-align: left; font-size: 16.5px; font-weight: 500; line-height: 1.25; cursor: pointer; transition: background-color .15s ease; }
@media (hover: hover) { .adm__shops button:hover { background: var(--bg-soft); } }
.adm__shops button:active { background: var(--bg-soft); }
.adm__shops button.is-on { background: var(--accent-soft); font-weight: 700; }
.adm__shops .sw { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(27, 41, 53, .1); }
.adm__shops .sw svg { width: 18px; height: 18px; }
.adm__shops small { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
.adm__sidefoot { margin-top: auto; padding-top: 18px; display: grid; gap: 6px; box-shadow: 0 -1px 0 var(--line); font-size: 14.5px; color: var(--muted); }
.adm__sidefoot .version { margin-top: 8px; font-size: 13.5px; }
.adm__konto-mobil { display: none; }
.adm__main { min-width: 0; padding: clamp(28px, 3vw, 48px) clamp(16px, 3.4vw, 64px) 80px; }

/* Statuszeilen (Apple, Google, Server): kleiner Punkt wie in den Listen der Website, Farbe trägt den Zustand,
   der Text sagt ihn immer mit. */
.status { position: relative; padding-left: 15px; line-height: 1.45; }
.status::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.status--ok::before { background: var(--success); }
.status--aus::before { background: var(--line-strong); }
.status--fehler::before { background: var(--error); }
.status b { color: var(--ink); font-weight: 600; }

/* ---------- Kopf eines Geschäfts + Reiter ---------- */
.adm__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 8px; }
.adm__head h1 { font-size: clamp(1.75rem, 2.4vw, 2.3rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 0 4px; }
.adm__head .hint { font-size: 17px; }
.adm__links { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs {
  display: flex;
  gap: clamp(20px, 2.4vw, 40px);
  margin: 18px 0 clamp(24px, 2.4vw, 36px);
  box-shadow: inset 0 -1px 0 var(--line);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none;
  padding: 12px 0 13px;
  border: 0;
  background: linear-gradient(var(--accent-strong), var(--accent-strong)) left bottom / 0 2px no-repeat;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  cursor: pointer;
  transition: background-size .25s ease, color .2s ease;
}
@media (hover: hover) { .tabs button:hover { color: var(--ink); background-size: 100% 2px; } }
.tabs button:active { color: var(--ink); background-size: 100% 2px; }
.tabs button.is-on { color: var(--ink); background-image: linear-gradient(var(--ink), var(--ink)); background-size: 100% 2px; }

/* ---------- Kästen ---------- */
.panel { min-width: 0; padding: var(--abstand); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.panel h2 { font-size: 1.25rem; margin-bottom: 4px; }
.panel h2 + .hint, .panel > .hint { margin-bottom: 18px; }
.panel--hinweis { border-color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent-strong); background: var(--accent-soft); }
.panel--gefahr { border-color: #d9a29d; }
.panel--gefahr h2 { color: var(--error); }
.panel--schmal { max-width: 560px; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--abstand); align-items: start; }
.stack { display: grid; gap: var(--abstand); }
.pin-gross { font-family: var(--font-heading); font-size: 26px; font-weight: 700; letter-spacing: .15em; }

/* Kennzahlen: Was zusammengehört, steht in einem gemeinsamen Rahmen – die Felder trennt eine feine Linie. */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-bottom: var(--abstand); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--line); overflow: hidden; }
.kpi { min-width: 0; padding: 18px 20px 20px; background: var(--bg); }
.kpi:nth-child(5) { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpi:nth-child(5) { grid-column: auto / span 2; }
}
@media (min-width: 1300px) {
  .kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .kpi:nth-child(5) { grid-column: auto; }
}
.kpi__label { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.kpi__value { margin: 4px 0 2px; font-family: var(--font-heading); font-size: 2rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi__sub { font-size: 14px; line-height: 1.4; color: var(--muted); }

/* ---------- Säulendiagramm ---------- */
.chart { position: relative; margin-top: 6px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .grid line { stroke: var(--line); stroke-width: 1; }
.chart .axis text { fill: var(--muted); font-size: 12px; font-family: var(--font); }
.chart .bar { fill: var(--daten); transition: fill .15s ease; }
.chart .hit { fill: transparent; cursor: default; }
@media (hover: hover) { .chart .col:hover .bar { fill: var(--ink); } }
.chart .peak { fill: var(--ink); font-size: 12px; font-weight: 700; font-family: var(--font); }
.tip { position: absolute; z-index: 5; pointer-events: none; transform: translate(-50%, calc(-100% - 10px)); padding: 7px 11px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink); font-size: 14px; line-height: 1.4; white-space: nowrap; opacity: 0; transition: opacity .12s ease; }
.tip.is-on { opacity: 1; }
.tip b { font-weight: 700; }

/* ---------- Aktivität: Liste mit Linien und Punkt wie auf der Website ---------- */
.feed { list-style: none; margin: 0; padding: 0; max-height: 470px; overflow: auto; }
.feed li { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.4; }
.feed li:last-child { border-bottom: 1px solid var(--line); }
.feed li.hint { display: block; border: 0; padding: 4px 0; }
.feed li.is-new { animation: flash 2.2s ease; }
@keyframes flash { 0% { background: var(--accent-soft); } 100% { background: transparent; } }
.feed .ic { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); transform: translateY(-2px); }
.feed .ic--join { background: var(--ink); }
.feed .ic--redeem { background: var(--success); }
.feed .ic--undo, .feed .ic--download_apple { background: var(--line-strong); }
.feed .ic--broadcast { background: var(--accent-text); }
.feed b { font-weight: 600; }
.feed time { font-size: 14px; color: var(--muted); white-space: nowrap; }

/* ---------- Design-Editor ---------- */
.design { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--abstand); align-items: start; }
.design__preview { position: sticky; top: calc(var(--kopf-h) + 24px); display: grid; gap: 14px; padding: 28px 24px 22px; border-radius: var(--radius); background: var(--bg-soft); }
.design__preview .hint { text-align: center; margin: 0; }
.design__preview .range { font-size: 14.5px; font-weight: 600; }
.design__preview .range output { font-size: 17px; }
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 20px; }
.colors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.color { display: grid; gap: 6px; font-size: 14.5px; font-weight: 600; }
.color input[type=color] { width: 100%; height: 46px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); cursor: pointer; }
.presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.presets button { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 15px; line-height: 1.3; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
@media (hover: hover) { .presets button:hover { border-color: var(--ink); } }
.presets button:active { background: var(--accent-soft); border-color: var(--ink); }
.presets i { display: flex; width: 26px; height: 26px; border-radius: 4px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(27, 41, 53, .12); }
.presets i span { flex: 1; }
.icons { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin: 8px 0 20px; }
.icons button { display: grid; justify-items: center; gap: 4px; padding: 11px 4px 9px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); font-size: 13.5px; line-height: 1.2; color: var(--muted); cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.icons button svg { width: 24px; height: 24px; color: var(--ink); }
@media (hover: hover) { .icons button:hover { border-color: var(--ink); } }
.icons button:active { background: var(--accent-soft); }
.icons button.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.range { display: flex; align-items: center; gap: 12px; }
.range input { flex: 1; accent-color: var(--ink); }
.range output { min-width: 34px; font: 600 20px var(--font-heading); text-align: right; font-variant-numeric: tabular-nums; }
.warnline { font-size: 14.5px; color: var(--error); margin: 10px 0 0; }
.abstand { height: 18px; }
/* Speicherleiste: Navy wie der Footer der Website, weißer Button (beim Überfahren hellblau). */
.savebar { position: sticky; bottom: 16px; z-index: 3; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-top: 10px; padding: 12px 12px 12px 20px; border-radius: var(--radius); background: var(--ink); color: var(--on-ink-muted); box-shadow: 0 14px 32px -18px rgba(27, 41, 53, .6); }
.savebar .btn { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
@media (hover: hover) { .savebar .btn:hover { background: var(--accent); border-color: var(--accent); } }
.savebar .btn:active { background: var(--accent); border-color: var(--accent); }
.savebar .btn:focus-visible { outline-color: var(--on-ink); }

/* ---------- Kunden-Tabelle ---------- */
.tabelle-kopf { display: flex; gap: 12px 24px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; }
.tabelle-kopf .input { max-width: 280px; }
.table-wrap { overflow-x: auto; overscroll-behavior-x: contain; }
table.list { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.list th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line-strong); white-space: nowrap; }
.list td { padding: 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.list th:first-child, .list td:first-child { padding-left: 0; }
.list th:last-child, .list td:last-child { padding-right: 0; }
@media (hover: hover) { .list tbody tr:hover td { background: var(--bg-soft); } }
.list code { font: 600 13.5px var(--mono); letter-spacing: .08em; }
.list td.hint { white-space: normal; }
.list .aktionen { text-align: right; }
.list .aktionen .btn + .btn { margin-left: 6px; }
.prog { display: inline-flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; }
.prog span { display: block; width: 84px; height: 6px; border-radius: 3px; background: var(--bg-soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.prog span i { display: block; height: 100%; border-radius: 3px; background: var(--daten); }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.5; background: var(--bg-soft); color: var(--muted); }
.tag--apple { background: var(--ink); color: var(--on-ink); }
.tag--google { background: var(--accent-soft); color: var(--accent-text); }
.tag--bereit { background: var(--success-soft); color: var(--success); margin-left: 4px; }

/* ---------- Rundnachricht: Sperrbildschirm im Handy wie auf gicoweb.de/stempelwerk ---------- */
.lock { position: relative; width: min(290px, 100%); aspect-ratio: 290 / 560; margin: 0 auto; padding: 50px 12px 16px; border: 9px solid #10151b; border-radius: 46px; background: var(--bg-soft); box-shadow: 0 0 0 1px #2b3742; color: var(--ink); overflow: hidden; }
.lock::before { content: ""; position: absolute; top: 2px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 12px; background: #10151b; }
.lock__time { text-align: center; font: 600 58px/1 var(--font-heading); letter-spacing: -.03em; }
.lock__date { text-align: center; font-size: 15.5px; color: var(--muted); margin: 6px 0 24px; }
.notif { display: grid; grid-template-columns: 36px 1fr; gap: 10px; padding: 11px 12px; border-radius: 16px; background: var(--bg); box-shadow: 0 0 0 1px var(--line); font-family: var(--font-pass); font-size: 13.5px; line-height: 1.3; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; } }
.notif img { width: 36px; height: 36px; border-radius: 8px; }
.notif b { display: flex; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.notif b span { font-weight: 400; color: var(--muted); font-size: 12px; }
.notif #ntext { overflow-wrap: anywhere; }
.counter { text-align: right; font-size: 14px; color: var(--muted); margin: -12px 0 14px; font-variant-numeric: tabular-nums; }

/* ---------- Einrichtung ---------- */
.setup-qr { width: 156px; padding: 10px; background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.setup-qr svg { display: block; width: 100%; height: auto; }
.setup-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.setup-row .spalte { display: grid; gap: 10px; flex: 1; min-width: 220px; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list > li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.check-list > li:last-child { border-bottom: 1px solid var(--line); }
.check-list > li.hint { border: 0; padding: 0; }
/* Statuszeile in der Liste: Platz für den Punkt links, Punkt auf Höhe der ersten Textzeile */
.check-list > li.status { padding-left: 15px; }
.check-list > li.status::before { top: calc(12px + .62em); }
.check-list b { font-weight: 600; }
.check-list .hint { display: block; }
.check-list .knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.copy { display: flex; gap: 8px; align-items: center; }
.copy input[readonly] { font: 14px var(--mono); color: var(--muted); background: var(--bg-soft); }
.copy .btn { flex: none; }
.form-ende { align-content: end; justify-items: start; }

/* ---------- System ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px; border-radius: 999px; font-family: var(--font); font-size: 14px; font-weight: 600; letter-spacing: 0; vertical-align: .2em; background: var(--bg-soft); color: var(--muted); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok { background: var(--success-soft); color: var(--success); }
.pill--off { background: var(--bg-soft); color: var(--muted); }
.panel h2 .pill { margin-left: 8px; }
.anleitung { margin: 8px 0 0; padding-left: 22px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.anleitung li + li { margin-top: 4px; }
.anleitung b { color: var(--ink); }
.knopfreihe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.protokoll { margin: 10px 0 0; padding: 14px; max-height: 320px; overflow: auto; white-space: pre-wrap; font: 12.5px/1.55 var(--mono); background: var(--bg-soft); border-radius: var(--radius); }
.protokoll--seite { margin: 0; padding: 18px 20px; max-height: min(70vh, 760px); overscroll-behavior: contain; }
.testbild { display: block; width: 100%; max-width: 750px; height: auto; border-radius: var(--radius); background: var(--bg-soft); }

/* Übersicht „System“: Inhaltsverzeichnis der Bereiche. Ein gemeinsamer Rahmen, die Einträge trennt eine feine Linie
   (wie bei den Kennzahlen). Jeder Eintrag führt auf seine Unterseite, der Punkt mit Text sagt den Zustand. */
.inhalt { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.inhalt li + li { border-top: 1px solid var(--line); }
.inhalt a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 20px; padding: 18px var(--abstand); text-decoration: none; transition: background-color .15s ease; }
@media (hover: hover) { .inhalt a:hover { background: var(--bg-soft); } }
.inhalt a:active { background: var(--bg-soft); }
.inhalt a:focus-visible { outline-offset: -4px; }
.inhalt__titel { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.inhalt__text { order: 3; flex-basis: 100%; font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.inhalt .status { font-size: 15px; color: var(--muted); }
@media (min-width: 1100px) {
  .inhalt a { display: grid; grid-template-columns: 15rem minmax(0, 1fr) 14rem; gap: 24px; padding-block: 20px; }
  .inhalt__text { order: 0; }
}

/* Unterseiten: Pfad über der Überschrift, „System“ führt zurück zur Übersicht. Trenner ist ein Schrägstrich, kein Pfeil. */
.pfad { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; font-size: 15.5px; color: var(--muted); }
.pfad a { font-weight: 500; }
.adm__head h1 .pill { margin-left: 12px; vertical-align: .4em; }

/* Aufklappen wie auf der Website: Plus rechts daneben, geöffnet dreht es sich zum Kreuz. */
details > summary { cursor: pointer; padding: 6px 0; list-style: none; transition: color .2s ease; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: "+"; display: inline-block; margin-left: 10px; font-size: 19px; font-weight: 400; line-height: 1; color: var(--muted); transition: transform .2s ease; }
details[open] > summary::after { transform: rotate(45deg); }
details[open] > summary { margin-bottom: 4px; }
@media (hover: hover) { details > summary:hover { color: var(--accent-text); } }
details > summary:active { color: var(--accent-text); }

/* ---------- Anmeldung & Ersteinrichtung ---------- */
.login { display: grid; place-items: center; align-content: center; gap: 18px; min-height: 100vh; min-height: 100dvh; padding: 32px 16px; }
.login form { width: 100%; max-width: 420px; padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg); }
.login .marke { margin-bottom: 28px; }
.login h1 { font-size: 1.9rem; letter-spacing: -.025em; line-height: 1.12; margin-bottom: 8px; }
.login .hint { margin-bottom: 22px; }
.login .btn { margin-top: 6px; }
.login__fuss { margin: 0; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- Mobil ---------- */
@media (max-width: 1100px) {
  .grid2, .design { grid-template-columns: minmax(0, 1fr); }
  .design__preview { position: static; order: -1; }
}
@media (max-width: 859px) {
  .adm-konto { display: none; }
  .nav-toggle { display: block; }
  .adm-rumpf { display: block; min-height: 0; }
  /* Handy: Geschäfte und Konto liegen in einem Menü über dem ganzen Bildschirm (wie das Menü der Website). */
  .adm__side {
    position: fixed;
    inset: var(--kopf-h) 0 0 0;
    z-index: 40;
    height: auto;
    padding: 20px var(--rand) max(28px, env(safe-area-inset-bottom));
    background: var(--bg);
    box-shadow: none;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s;
  }
  .nav-open .adm__side { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .adm__shops { margin: 0; }
  .adm__shops button { padding: 12px 10px; font-size: 18px; }
  .adm__konto-mobil { display: grid; gap: 0; margin-top: 10px; }
  .adm__konto-mobil button { padding: 14px 0; border: 0; border-top: 1px solid var(--line); background: none; text-align: left; font-family: var(--font-heading); font-size: 1.3rem; font-weight: 600; letter-spacing: -.015em; cursor: pointer; }
  .adm__konto-mobil button:active { color: var(--accent-text); }
  .adm__konto-mobil .hint { padding-top: 14px; border-top: 1px solid var(--line); }
  .adm__konto-mobil .hint b { color: var(--ink); font-weight: 600; }
  .adm__main { padding-top: 24px; }
  .colors { grid-template-columns: repeat(3, 1fr); }
  .tabelle-kopf .input { max-width: none; }
  .savebar { padding-left: 16px; }
  .savebar .btn { flex: 1 1 auto; }
}
@media (max-width: 480px) {
  .copy { flex-wrap: wrap; }
  .copy .input { flex: 1 1 100%; }
  .adm__links .btn { flex: 1 1 auto; }
}
.adm .btn { white-space: nowrap; }
/* Lange Knopftexte (z. B. „Test-Zertifikat erzeugen …“) dürfen am Handy umbrechen, statt aus dem Kasten zu ragen. */
.adm .knopfreihe .btn { max-width: 100%; padding-block: 7px; white-space: normal; text-align: center; line-height: 1.3; }
