
.wrap {
  --pappe: #cfc7b1;
  --pappe-tief: #b6ad94;
  --tinte: #191712;
  --rot: #a62c1e;
  --blau: #1d4e73;
  --bg: #0e1712;
  --bg2: #16211b;
  --linie: #2a3a31;
  --hell: #e6e2d6;
  --matt: #8b9a90;
  min-height: 100%;
  background: var(--bg);
  color: var(--hell);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding: 14px 14px 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.wrap *, .wrap *::before, .wrap *::after { box-sizing: border-box; }
.wrap button:focus-visible, .wrap input:focus-visible {
  outline: 2px solid #d9a441; outline-offset: 2px;
}

/* Kopf */
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kopf h1 {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 19px; margin: 0; color: var(--hell);
  border: 1.5px solid var(--rot); border-radius: 4px;
  padding: 5px 7px 4px 11px; line-height: 1;
}
.fortschritt {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px; color: #d9a441;
}
.fortschritt span { color: var(--matt); font-size: 12px; }

.tabs { display: flex; gap: 4px; margin-top: 10px; border-bottom: 1px solid var(--linie); }
.tab {
  flex: 1; background: none; border: 0; border-bottom: 2px solid transparent;
  color: var(--matt); font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 12px; padding: 9px 2px; cursor: pointer;
}
.tab-an { color: var(--hell); border-bottom-color: #d9a441; }

/* Kategorie-Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  background: transparent; border: 1px solid var(--linie); color: var(--matt);
  border-radius: 999px; padding: 5px 11px; font-size: 12px; cursor: pointer;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.chip-an { background: #1f3129; border-color: #3c584b; color: var(--hell); }

.buehne { display: flex; flex-direction: column; gap: 14px; }

/* Bierdeckel */
.deckel {
  background: var(--pappe);
  background-image:
    radial-gradient(circle at 12% 22%, rgba(0,0,0,.05) 1px, transparent 1.4px),
    radial-gradient(circle at 68% 74%, rgba(0,0,0,.05) 1px, transparent 1.4px),
    radial-gradient(circle at 40% 55%, rgba(255,255,255,.35) 1px, transparent 1.4px);
  background-size: 17px 17px, 23px 23px, 13px 13px;
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 2px 0 var(--pappe-tief), 0 12px 26px rgba(0,0,0,.42);
  color: var(--tinte);
  width: 100%;
}
.deckel-rahmen {
  border: 1.5px solid var(--rot);
  border-radius: 7px;
  padding: 20px 14px;
  text-align: center;
  position: relative;
  min-height: 212px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.deckel-rahmen::after {
  content: ""; position: absolute; inset: 3px; border: 0.5px solid rgba(166,44,30,.45);
  border-radius: 5px; pointer-events: none;
}
.deckel-eyebrow {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .18em;
  font-size: 10px; color: var(--rot); margin-bottom: 12px;
}
.deckel-name {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 27px; line-height: 1.06; letter-spacing: .01em;
}
.deckel-groesse {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; margin-top: 7px;
  color: #55503f;
}
.deckel-preis {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 40px;
  margin-top: 14px; color: var(--blau);
}
.deckel-preis span { font-size: 20px; }
.deckel-hinweis {
  font-size: 12px; margin-top: 16px; color: #6b6552; font-style: italic;
}

/* Flip */
.flip-flaeche { background: none; border: 0; padding: 0; width: 100%; cursor: pointer; perspective: 1400px; }
.flip { position: relative; transform-style: preserve-3d; transition: transform .45s cubic-bezier(.4,.05,.2,1); }
.flip-um { transform: rotateY(180deg); }
.flip-seite { backface-visibility: hidden; }
.flip-rueck { position: absolute; inset: 0; transform: rotateY(180deg); }

/* Quiz-Optionen */
.optionen { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 22px; font-weight: 600;
  padding: 16px 0; border-radius: 8px; cursor: pointer;
  background: var(--bg2); border: 1px solid var(--linie); color: var(--hell);
  transition: background .12s, border-color .12s, opacity .12s;
}
.opt:active { background: #1f3129; }
.opt-richtig { background: #14322a; border-color: #2f7a5c; color: #7ee0b0; }
.opt-falsch { background: #331612; border-color: #7a3228; color: #ef9a8c; }
.opt-aus { opacity: .32; }

.weiter, .reset, .selbst-btn {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .08em;
  cursor: pointer; border-radius: 8px;
}
.weiter {
  width: 100%; padding: 14px; font-size: 14px;
  background: #d9a441; border: 0; color: #1b1508; font-weight: 600;
}
.weiter:disabled { background: #26332c; color: #5d6c62; cursor: default; }

.selbst { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.selbst-btn { padding: 15px 0; font-size: 13px; border: 1px solid var(--linie); background: var(--bg2); color: var(--hell); }
.selbst-btn:disabled { opacity: .3; cursor: default; }
.selbst-ja:not(:disabled) { border-color: #2f7a5c; color: #7ee0b0; }
.selbst-nein:not(:disabled) { border-color: #7a3228; color: #ef9a8c; }

/* Bon */
.bon { display: flex; flex-direction: column; gap: 12px; }
.bon-zettel {
  background: #f3efe4; color: #1b1913; border-radius: 3px; padding: 16px 15px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px;
  box-shadow: 0 12px 26px rgba(0,0,0,.4);
}
.bon-kopf {
  text-transform: uppercase; letter-spacing: .22em; font-size: 10px;
  border-bottom: 1px dashed #b3ac97; padding-bottom: 9px; margin-bottom: 11px; color: #6d6754;
}
.bon-zeile { display: flex; gap: 9px; align-items: baseline; padding: 4px 0; }
.bon-menge { color: var(--rot); font-weight: 600; }
.bon-name { flex: 1; }
.bon-name em { display: block; font-style: normal; font-size: 11px; color: #77715c; }
.bon-summe {
  display: flex; justify-content: space-between; margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed #b3ac97; font-weight: 600; text-transform: uppercase;
  letter-spacing: .1em; font-size: 12px;
}
.bon-fragezeichen { font-size: 17px; letter-spacing: 0; color: var(--blau); }

.bon-eingabe { position: relative; }
.feld {
  width: 100%; padding: 16px 44px 16px 16px; font-size: 26px;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600;
  background: var(--bg2); border: 1px solid var(--linie); border-radius: 8px; color: var(--hell);
}
.feld-ok { border-color: #2f7a5c; color: #7ee0b0; }
.feld-nein { border-color: #7a3228; color: #ef9a8c; }
.waehrung {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 20px; color: var(--matt);
}
.bon-hinweis { margin: 0; font-size: 13px; color: #ef9a8c; }
.bon-hinweis-ok { color: #7ee0b0; }

/* Liste */
.liste { display: flex; flex-direction: column; gap: 22px; }
.liste h2 {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em;
  font-size: 13px; color: #d9a441; margin: 0 0 9px; padding-bottom: 6px;
  border-bottom: 1px solid var(--linie);
}
.regeln { background: var(--bg2); border-radius: 10px; padding: 15px; }
.regel { padding: 7px 0; border-bottom: 1px dotted var(--linie); }
.regel:last-child { border-bottom: 0; }
.regel-titel { font-size: 13px; font-weight: 600; }
.regel-wert { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--matt); margin-top: 2px; }

.liste table { width: 100%; border-collapse: collapse; }
.liste td { padding: 6px 0; border-bottom: 1px solid #1d2a23; font-size: 14px; vertical-align: baseline; }
.t-groesse { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: var(--matt); text-align: right; padding-right: 12px; white-space: nowrap; }
.t-preis { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; text-align: right; white-space: nowrap; }
.sitzt .t-name::before { content: "✓ "; color: #4f9d7b; }
.warn { color: #d9a441; font-weight: 600; margin-left: 5px; }
.quelle { font-size: 12px; color: var(--matt); line-height: 1.55; margin: 0; }

/* Fuß */
.fuss {
  display: flex; align-items: center; gap: 16px; padding-top: 12px;
  border-top: 1px solid var(--linie); flex-wrap: wrap;
}
.strich-block { display: flex; flex-direction: column; gap: 3px; }
.strich-label {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; font-size: 9px;
  letter-spacing: .16em; color: var(--matt);
}
.tally { display: flex; align-items: center; gap: 5px; min-height: 22px; }
.buendel { height: 20px; width: 24px; }
.tally-leer { color: #3c4a42; font-size: 15px; }
.tally-plus { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--matt); }
.reset {
  margin-left: auto; background: none; border: 1px solid var(--linie);
  color: var(--matt); font-size: 11px; padding: 7px 12px;
}

/* Tischplan */
.plan { display: flex; flex-direction: column; gap: 12px; }
.zone {
  background: var(--bg2); border: 1px solid var(--linie); border-radius: 12px;
  padding: 13px; display: flex; flex-direction: column; gap: 10px;
}
.zone-innen { background: #18241d; }
.zone-kopf {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .16em; font-size: 11px; color: #d9a441;
}
.zone-zahl { color: var(--matt); letter-spacing: .06em; font-size: 10px; }
.gitter-terrasse {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 8px;
  row-gap: 15px;
}
.kachel-lang {
  width: 100%;
  aspect-ratio: 2.2 / 1;
  border-radius: 6px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 9px;
  gap: 5px;
}
.kachel-lang .kachel-label { font-size: 15px; }
.kachel-lang .kachel-summe { font-size: 12px; }
.kachel-lang .kachel-frei { font-size: 10px; }
.kachel-lang.kachel-belegt::after { inset: 4px; }

.kachel {
  position: relative; border: 1px dashed #3a4b42; background: transparent;
  color: var(--matt); cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; padding: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.kachel-rund { border-radius: 50%; aspect-ratio: 1 / 1; }
.kachel-hocker { border-radius: 50%; aspect-ratio: 1 / 1; padding: 3px; gap: 0; }
.kachel-automat { border-radius: 8px; min-height: 54px; }
.gitter-automat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gitter-automat .kachel-label { font-size: 15px; }
.gitter-automat .kachel-summe { font-size: 13px; }
.gitter-automat .kachel-anzahl, .gitter-automat .kachel-frei { font-size: 10px; }

/* Innenraum: Tische vor und rechts neben der L-Theke */
.bar-zone {
  display: grid;
  grid-template-columns: 1fr 1fr 20px 1fr 1fr;
  grid-template-rows: auto auto 20px auto auto;
  gap: 6px;
  justify-items: center;
  align-items: center;
}
.platz-t5 { grid-area: 1 / 1; }
.platz-t6 { grid-area: 1 / 2; }
.platz-b1 { grid-area: 2 / 1; }
.platz-b2 { grid-area: 2 / 2; }
.platz-b3 { grid-area: 4 / 4; }
.platz-b4 { grid-area: 5 / 4; }
.platz-t7 { grid-area: 4 / 5; }
.platz-t8 { grid-area: 5 / 5; }

.bar-zone .kachel-rund { width: 100%; max-width: 80px; }
.bar-zone .kachel-hocker { width: 84%; max-width: 62px; }
.bar-zone .kachel-label { font-size: 14px; }
.bar-zone .kachel-summe { font-size: 11px; }
.bar-zone .kachel-anzahl, .bar-zone .kachel-frei { font-size: 9px; }
.bar-zone .kachel-belegt::after { inset: 4px; }

.theke {
  background: #332a1e;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  justify-self: stretch;
  align-self: stretch;
  display: flex; align-items: center; justify-content: center;
}
.theke-quer { grid-area: 3 / 1 / 4 / 4; border-radius: 4px; }
.theke-laengs { grid-area: 3 / 3 / 6 / 4; border-radius: 0 0 4px 4px; }
.theke-quer span {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .34em; font-size: 9px; color: #d9a441; padding-left: .34em;
}
.kachel-label {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; font-size: 17px;
  letter-spacing: .05em; color: var(--hell);
}
.kachel-frei { font-size: 11px; }
.kachel-summe { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 15px; }
.kachel-anzahl { font-size: 10px; }
.kachel-belegt {
  background: var(--pappe); border: 1px solid var(--pappe-tief); color: #5b5544;
  box-shadow: 0 2px 0 var(--pappe-tief), 0 6px 14px rgba(0,0,0,.34);
}
.kachel-belegt .kachel-label { color: var(--tinte); }
.kachel-belegt .kachel-summe { color: var(--rot); }
.kachel-belegt::after {
  content: ""; position: absolute; inset: 6px; border-radius: inherit;
  border: 1px solid rgba(166,44,30,.35); pointer-events: none;
}

.tuer {
  display: flex; align-items: center; gap: 10px; color: var(--matt);
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .22em; font-size: 9px;
}
.tuer::before, .tuer::after { content: ""; flex: 1; height: 1px; background: var(--linie); }
.plan-fuss { font-size: 12px; color: var(--matt); margin: 2px 0 0; line-height: 1.5; }

/* Tischbon */
.tischbon { display: flex; flex-direction: column; gap: 12px; }
.tb-kopf { display: flex; align-items: center; gap: 10px; }
.tb-kopf h2 {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .06em;
  font-size: 18px; margin: 0; flex: 1;
}
.zurueck {
  background: var(--bg2); border: 1px solid var(--linie); color: var(--hell);
  border-radius: 8px; width: 38px; height: 38px; font-size: 18px; cursor: pointer;
}
.tb-summe { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 19px; color: #d9a441; }

.bon-leer { font-size: 12px; color: #77715c; font-style: italic; padding: 4px 0; }
.pos-zeile { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px dotted #cfc8b3; }
.pos-text { flex: 1; min-width: 0; }
.pos-name { display: block; font-size: 13px; overflow-wrap: anywhere; }
.pos-text em { font-style: normal; font-size: 10.5px; color: #77715c; }
.stepper { display: flex; align-items: center; gap: 2px; }
.stepper button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid #b3ac97;
  background: #e7e2d3; color: #1b1913; font-size: 16px; line-height: 1;
  cursor: pointer; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.stepper-zahl { width: 22px; text-align: center; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 14px; }
.pos-preis { width: 48px; text-align: right; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 14px; }

/* Getränkeauswahl */
.picker { display: flex; flex-direction: column; gap: 9px; }
.suche {
  width: 100%; padding: 12px 14px; font-size: 15px; background: var(--bg2);
  border: 1px solid var(--linie); border-radius: 8px; color: var(--hell);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.pick-liste { display: flex; flex-direction: column; gap: 5px; max-height: 340px; overflow-y: auto; }
.pick {
  display: flex; align-items: baseline; gap: 8px; width: 100%; text-align: left;
  background: var(--bg2); border: 1px solid var(--linie); border-radius: 8px;
  padding: 11px 12px; color: var(--hell); cursor: pointer;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 14px;
  transition: background .15s, border-color .15s;
}
.pick-name { flex: 1; }
.pick-groesse { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; color: var(--matt); }
.pick-preis { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 14px; width: 44px; text-align: right; }
.pick-blitz { background: #1f4034; border-color: #4f9d7b; }

/* Kasse */
.kasse {
  background: var(--bg2); border: 1px solid var(--linie); border-radius: 10px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
}
.kasse .feld, .kasse .selbst-btn { background: #0f1712; }
.kasse-zeile { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--matt); }
.kasse-zeile strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 20px; color: var(--hell); }
.kasse-rueck strong { color: #7ee0b0; }
.rueck-minus { color: #ef9a8c; }
.kasse-label { font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; color: var(--matt); }
.kasse-warn { font-size: 11px; color: var(--matt); margin: 0; text-align: center; }

/* Bereichsnavigation */
.bereiche { display: flex; gap: 6px; margin-top: 11px; }
.bereich-btn {
  flex: 1; padding: 9px; border-radius: 8px; border: 1px solid var(--linie);
  background: var(--bg2); color: var(--matt); cursor: pointer;
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .14em; font-size: 11px;
}
.bereich-an { background: #d9a441; color: #1b1508; border-color: #d9a441; }

/* Umsatz */
.umsatz { display: flex; flex-direction: column; gap: 16px; }
.tagwahl select {
  width: 100%; padding: 10px 12px; border-radius: 8px; background: var(--bg2);
  border: 1px solid var(--linie); color: var(--hell); font-size: 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.kennzahl-gross {
  background: var(--pappe); border-radius: 12px; padding: 18px 16px;
  display: flex; flex-direction: column; gap: 3px; color: var(--tinte);
  box-shadow: 0 2px 0 var(--pappe-tief), 0 10px 22px rgba(0,0,0,.38);
}
.kz-label {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .18em; font-size: 10px; color: var(--rot);
}
.kz-wert { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 40px; line-height: 1.05; }
.kz-wert em { font-style: normal; font-size: 20px; }
.kz-zusatz { font-size: 11.5px; color: #6b6552; margin-top: 3px; }

.kennzahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kz {
  background: var(--bg2); border: 1px solid var(--linie); border-radius: 9px;
  padding: 11px 6px; text-align: center; display: flex; flex-direction: column; gap: 2px;
}
.kz span { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; font-size: 17px; }
.kz em { font-style: normal; font-size: 10px; color: var(--matt); }

.ublock { background: var(--bg2); border: 1px solid var(--linie); border-radius: 11px; padding: 14px; }
.ublock h3 {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; letter-spacing: .14em;
  font-size: 11px; color: #d9a441; margin: 0 0 11px;
}
.kat-zeile { margin-bottom: 10px; }
.kat-kopf { display: flex; justify-content: space-between; font-size: 12.5px; margin-bottom: 4px; }
.kat-wert { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--matt); font-size: 11.5px; }
.balken { height: 7px; background: #0f1712; border-radius: 4px; overflow: hidden; }
.balken-fill { height: 100%; background: linear-gradient(90deg, #1d4e73, #d9a441); border-radius: 4px; }

.utab { width: 100%; border-collapse: collapse; }
.utab td { padding: 6px 0; border-bottom: 1px solid #1d2a23; font-size: 13px; }
.utab tr:last-child td { border-bottom: 0; }
.t-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12.5px; color: var(--matt); }
.t-rechts { text-align: right; }
.tag-aktiv td { color: #d9a441; }
.tag-link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }

/* Kassensturz */
.stueckelung { display: flex; flex-direction: column; gap: 4px; margin-bottom: 11px; }
.st-zeile { display: flex; align-items: center; gap: 8px; }
.st-wert { width: 56px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: var(--matt); }
.st-feld {
  width: 62px; padding: 7px 8px; border-radius: 6px; background: #0f1712;
  border: 1px solid var(--linie); color: var(--hell);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; text-align: center;
}
.st-summe { flex: 1; text-align: right; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; color: var(--matt); }
.st-gesamt {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px dashed var(--linie); padding-top: 9px; font-size: 12px; color: var(--matt);
}
.st-gesamt strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 19px; color: var(--hell); }
.st-eingaben { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.st-eingaben label { display: flex; flex-direction: column; gap: 4px; font-size: 11.5px; color: var(--matt); }
.st-eingaben input {
  padding: 10px 12px; border-radius: 7px; background: #0f1712; border: 1px solid var(--linie);
  color: var(--hell); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 15px;
}
.sturz-ergebnis { border-top: 1px dashed var(--linie); padding-top: 10px; }
.se-zeile { display: flex; justify-content: space-between; font-size: 12px; color: var(--matt); padding: 3px 0; }
.se-diff {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--linie);
  font-size: 12px; color: var(--matt);
}
.se-diff strong { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 21px; color: var(--hell); }
.se-ok strong { color: #7ee0b0; }
.se-plus strong { color: #d9a441; }
.se-minus strong { color: #ef9a8c; }
.se-text { font-size: 11.5px; color: var(--matt); margin: 6px 0 0; }
.breit { width: 100%; margin-top: 12px; }

/* Bonliste */
.ubon { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #1d2a23; font-size: 13px; }
.ubon:last-child { border-bottom: 0; }
.ubon-zeit { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; color: var(--matt); }
.ubon-tisch { flex: 1; }
.ubon-summe { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; }
.ubon-x {
  background: none; border: 1px solid var(--linie); color: var(--matt);
  border-radius: 6px; min-width: 30px; height: 28px; cursor: pointer; font-size: 15px; padding: 0 7px;
}
.ubon-x-warn { border-color: #7a3228; color: #ef9a8c; font-size: 11px; }
.tag-loeschen { display: flex; gap: 8px; }
.tag-loeschen .reset { margin-left: 0; }
.reset-warn { border-color: #7a3228; color: #ef9a8c; }

/* Deckel */
.zone-deckel { border-color: #3c584b; }
.gitter-deckel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kachel-deckel {
  border-radius: 7px;
  aspect-ratio: 1 / 1;
  gap: 4px;
  padding: 6px;
}
.deckel-name {
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase; font-size: 12px;
  letter-spacing: .04em; color: var(--hell); line-height: 1.1;
  overflow-wrap: anywhere; max-height: 2.4em; overflow: hidden;
}
.kachel-deckel.kachel-belegt .deckel-name { color: var(--tinte); }
.kachel-deckel .kachel-summe { font-size: 12px; }
.kachel-deckel .kachel-frei { font-size: 10px; }

.deckel-start {
  width: 100%; padding: 12px; border-radius: 8px;
  border: 1px dashed #3c584b; background: transparent; color: var(--hell);
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .12em; font-size: 12px; cursor: pointer;
}
.deckel-neu { display: flex; gap: 6px; }
.deckel-neu input {
  flex: 1; min-width: 0; padding: 11px 12px; border-radius: 8px;
  background: #0f1712; border: 1px solid var(--linie); color: var(--hell);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 15px;
}
.deckel-ok {
  background: #d9a441; border: 0; color: #1b1508; border-radius: 8px;
  padding: 0 14px; cursor: pointer;
  font-family: "Roboto Condensed", "Avenir Next Condensed", "Arial Narrow", system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .08em; font-size: 12px;
}
.deckel-ok:disabled { background: #26332c; color: #5d6c62; cursor: default; }
.deckel-ab {
  background: none; border: 1px solid var(--linie); color: var(--matt);
  border-radius: 8px; width: 40px; font-size: 17px; cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .flip { transition: none; }
}
