:root {
  --bg: #fbf7ef;
  --surface: #ffffff;
  --surface-2: #f6efe1;
  --ink: #2b2116;
  --ink-2: #6b5a45;
  --line: #e8dcc5;
  --honey: #d9952b;
  --honey-d: #b8741a;
  --honey-l: #fbe7bf;
  --ok: #2d8a4e;
  --ok-l: #e1f3e6;
  --warn: #b7791f;
  --warn-l: #fdf0d5;
  --danger: #c0392b;
  --danger-l: #fbe3e0;
  --bio: #3f8f3a;
  --bio-d: #2e6e2a;
  --bio-l: #e4f2df;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 4px 14px rgba(60, 40, 10, .05);
  --nav-w: 220px;
  --top-h: 56px;
  --top: calc(var(--top-h) + env(safe-area-inset-top));
  /* Reserve für das feste "Powered by Netlify"-Badge (Gratistarif, ca. 44px + 16px Rand). Bei bezahltem Tarif auf 0px setzen. */
  --badge-h: 60px;
  --nav-h: 64px;
  /* Abstand unten, den feste/klebende Leisten freihalten müssen (Desktop: nur Badge, Handy: Nav + Badge) */
  --bottom-h: var(--badge-h);
  /* Text-/Flächenvarianten für ausreichenden Kontrast */
  --on-honey: #1a1206;
  --link: #8f5a0e;
  --ok-ink: #1b6a3a;
  --warn-ink: #7a4a00;
  --danger-ink: #a52a1d;
  --gold-ink: #6b4300;
  --bio-solid: #2e6e2a;
  --on-bio: #ffffff;
  --on-danger: #ffffff;
  --row-ok: color-mix(in srgb, var(--ok) 7%, var(--surface));
  --row-warn: color-mix(in srgb, var(--warn) 9%, var(--surface));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1b19; --surface: #272522; --surface-2: #322f2b; --line: #45413b; --ink: #eceae6; --ink-2: #b4b0a8;
    --honey: #f0b24a; --honey-d: #f3c36d; --honey-l: #2b2519; --bio: #7ccc6a; --bio-d: #9bdb8b; --bio-l: #1a2a1a;
    --ok: #7bd68f; --ok-l: #16291d; --warn: #f0b24a; --warn-l: #2e2616; --danger: #ff8f84; --danger-l: #3a1f1c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 4px 14px rgba(0, 0, 0, .25);
    --link: var(--honey-d); --ok-ink: var(--ok); --warn-ink: var(--warn); --danger-ink: var(--danger); --gold-ink: var(--honey-d);
    --bio-solid: var(--bio); --on-bio: #10200d; --on-danger: #2a0d0a;
    --row-ok: var(--surface); --row-warn: var(--surface);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--top) + 12px); }
button, .chip, input, select, textarea { font: inherit; }
body {
  font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; }
h1 { font-size: 1.55rem; }
h2 { font-size: 1.05rem; margin-bottom: .75rem; }
h2 small, h3 small { color: var(--ink-2); font-weight: 400; font-size: .85em; }
h3 { font-size: .95rem; margin: 1rem 0 .5rem; }
code { background: var(--surface-2); padding: 1px 5px; border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }
small { color: var(--ink-2); }

/* ---------- Layout ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; height: var(--top); z-index: 30;
  display: flex; align-items: center; justify-content: space-between; padding: 0 16px;
  padding-top: env(safe-area-inset-top);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand:hover { text-decoration: none; }
.sidenav {
  position: fixed; top: var(--top); bottom: 0; left: 0; width: var(--nav-w); z-index: 25;
  padding: 12px 10px; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px;
}
.sidenav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-weight: 500; }
.sidenav a:hover { background: var(--surface-2); text-decoration: none; }
.sidenav a.active { background: var(--honey-l); color: var(--ink); font-weight: 650; }
.ni { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; }
.ni svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sidenav a { color: var(--ink-2); }
.sidenav a:hover { color: var(--ink); }
.sidenav a.active { color: var(--ink); }
.sidenav a.active .ni { color: var(--bio-d); }
.nav-group { margin: 14px 12px 4px; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.nav-group:first-child { margin-top: 2px; }
.main { margin-left: var(--nav-w); padding: calc(var(--top) + 20px) 28px calc(var(--badge-h) + 24px); max-width: 1400px; }
.bottomnav, .scrim { display: none; }

@media (max-width: 900px) {
  :root { --bottom-h: calc(var(--nav-h) + var(--badge-h)); }
  .sidenav { transform: translateX(-105%); transition: transform .2s ease; width: 260px; box-shadow: var(--shadow); padding-bottom: calc(var(--bottom-h) + 24px + env(safe-area-inset-bottom)); }
  body.nav-open .sidenav { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.3); z-index: 20; }
  .main { margin-left: 0; padding: calc(var(--top) + 14px) 14px calc(var(--bottom-h) + 24px + env(safe-area-inset-bottom)); }
  /* Streifen unter der Bottom-Nav: hier sitzt das feste Netlify-Badge, ohne Icons zu verdecken */
  body::after { content: ""; position: fixed; inset: auto 0 0 0; height: calc(var(--badge-h) + env(safe-area-inset-bottom)); background: var(--bg); z-index: 29; pointer-events: none; }
  .bottomnav {
    display: flex; position: fixed; inset: auto 0 calc(var(--badge-h) + env(safe-area-inset-bottom)) 0; z-index: 30; height: var(--nav-h);
    background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .bottomnav a, .bottomnav button {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: var(--ink-2); font-size: .72rem; font-weight: 600; background: none; border: 0; font-family: inherit; min-width: 0;
  }
  .bottomnav .ni, .bottomnav .ni svg { width: 24px; height: 24px; }
  .bottomnav .active { color: var(--bio-d); }
  .bottomnav a:hover { text-decoration: none; }
  h1 { font-size: 1.3rem; }
}

/* ---------- Bausteine ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; scroll-margin-top: calc(var(--top) + 12px); }
.page-head > div:first-child { min-width: 0; flex: 1 1 14rem; }
.page-head h1 { overflow-wrap: anywhere; }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
@media (max-width: 560px) {
  .page-head { align-items: stretch; flex-direction: column; gap: 10px; }
  .page-head > div:first-child { flex: none; }
  .page-head .actions { margin-left: 0; }
  .page-head .actions > .btn { flex: 1 1 auto; }
}
.sub { color: var(--ink-2); margin: 4px 0 12px; }
.page-head .sub { margin: 4px 0 0; }
.back { display: inline-block; margin-bottom: 8px; font-weight: 600; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); margin-bottom: 16px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: .6rem; }
.card-head h2 { margin: 0; }
.card.note { white-space: pre-wrap; background: var(--honey-l); }
.hint-card { background: var(--honey-l); border-color: transparent; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.cols .card { margin: 0; }
.empty { color: var(--ink-2); padding: 18px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface); }
.empty.small { padding: 12px; font-size: .9rem; }
.legend { color: var(--ink-2); font-size: .82rem; }
.neg { color: var(--danger); font-weight: 700; }
.muted { color: var(--ink-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 0 14px;
  border-radius: 9px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); text-decoration: none; }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary { background: var(--honey); border-color: var(--honey); color: var(--on-honey); }
.btn-primary:hover { background: var(--honey-d); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: var(--on-danger); }
.btn-danger-ghost { color: var(--danger); border-color: transparent; background: transparent; }
.btn-sm { min-height: 30px; padding: 0 10px; font-size: .85rem; }
.btn-lg { min-height: 50px; font-size: 1.05rem; flex: 1; }
.icon-btn { border: 0; background: transparent; cursor: pointer; font-size: 1.05rem; padding: 4px 8px; border-radius: 6px; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); }
.badge { display: inline-flex; align-items: center; box-sizing: border-box; height: 22px; padding: 0 9px; border-radius: 99px; border: 1px solid transparent; font-size: .75rem; line-height: 1; font-weight: 650; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); vertical-align: middle; }
.badge.ok { background: var(--ok-l); color: var(--ok-ink); }
.badge.warn { background: var(--warn-l); color: var(--warn-ink); }
.badge.danger { background: var(--danger-l); color: var(--danger-ink); }
.badge.antrag { background: var(--honey-l); color: var(--gold-ink); border-color: var(--honey); }
.qdot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); vertical-align: middle; }

.tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.tabs::-webkit-scrollbar { display: none; }
.tabs.fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.tabs.fade-l { -webkit-mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(270deg, #000 calc(100% - 36px), transparent); }
.tabs.fade-l.fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, transparent, #000 36px, #000 calc(100% - 36px), transparent); }
.tabs a { padding: 9px 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2.5px solid transparent; white-space: nowrap; flex: none; }
.tabs a.active { color: var(--ink); border-color: var(--honey); }
.tabs a:hover { text-decoration: none; color: var(--ink); }

.seg { display: flex; background: var(--surface-2); border-radius: 10px; padding: 3px; gap: 3px; flex-wrap: wrap; }
.seg button { flex: 1; border: 0; background: transparent; padding: 8px 6px; border-radius: 8px; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.seg.small button { padding: 6px; font-size: .85rem; }
.seg.inline { display: inline-flex; margin-bottom: 12px; }
.seg.inline button { flex: none; padding: 6px 14px; }
.toggle { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); margin-bottom: 12px; font-size: .9rem; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi-label { color: var(--ink-2); font-size: .82rem; font-weight: 600; }
.kpi-value { font-size: 1.6rem; font-weight: 750; margin: 2px 0; font-variant-numeric: tabular-nums; }
.kpi-extra { font-size: .82rem; color: var(--ink-2); }

.lager-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.lager-row:last-child { border: 0; }
.lager-sorte { width: 130px; font-weight: 600; font-size: .9rem; }
.lager-zellen { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(56px, 1fr)); gap: 6px; }
.lz { background: var(--ok-l); border-radius: 8px; padding: 4px 6px; text-align: center; }
.lz span { display: block; font-size: .7rem; color: var(--ink-2); }
.lz b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.lz.low { background: var(--warn-l); }
.lz.zero { background: var(--surface-2); color: var(--ink-2); }

.termine, .hinweise, .list-simple { list-style: none; margin: 0; padding: 0; }
.termine li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.termine li:last-child, .list-simple li:last-child { border: 0; }
.t-date { min-width: 52px; text-align: center; background: var(--honey-l); border-radius: 8px; padding: 4px; line-height: 1.15; }
.t-date small { display: block; }
.hinweise li { padding: 5px 0; }
.list-simple li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }

/* Tabellen */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-2); padding: 8px 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tbody tr:hover { background: var(--surface-2); }
.tbl tbody tr.zeile-untersucht { background: var(--row-ok); box-shadow: inset 4px 0 0 var(--ok); }
.tbl tbody tr.zeile-offen { background: var(--row-warn); box-shadow: inset 4px 0 0 var(--warn); }
.tbl tbody tr.zeile-antrag { box-shadow: inset 4px 0 0 var(--honey); }
.card > .table-wrap, .card .tbl { margin: 0; }
.main > .table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; }
.tbl input { width: 90px; text-align: right; }
.matrix td input.price { width: 80px; }

@media (max-width: 700px) {
  .tbl:not(.matrix) thead { display: none; }
  .tbl:not(.matrix), .tbl:not(.matrix) tbody, .tbl:not(.matrix) tr, .tbl:not(.matrix) td { display: block; width: 100%; }
  .tbl:not(.matrix) tr { padding: 8px 12px; border-bottom: 1px solid var(--line); }
  .tbl:not(.matrix) td { border: 0; padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .tbl:not(.matrix) td::before { content: attr(data-label); color: var(--ink-2); font-size: .8rem; text-align: left; flex: none; }
  .tbl:not(.matrix) td[data-label=""]::before { content: none; }
  .tbl:not(.matrix) td[data-label=""] { justify-content: flex-end; }
  .tbl:not(.matrix) td:empty { display: none; }
  .tbl td.num { text-align: right; }
}

/* Völker */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.volk-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--ink); box-shadow: var(--shadow); }
.volk-card:hover { text-decoration: none; border-color: var(--honey); }
.volk-card.inaktiv { opacity: .55; }
/* Einfärbung nach Königinnenfarbe (Jahrgang) */
.volk-card[style*="--qc"] { position: relative; padding-left: 22px; overflow: hidden; background: color-mix(in srgb, var(--qc) 14%, var(--surface)); }
.volk-card[style*="--qc"]::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--qc); border-right: 1px solid rgba(0,0,0,.12); }
.volk-card[style*="--qc"] .vc-nr { background: var(--qc); color: #fff; min-width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 1.05rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.volk-card.q-weiß .vc-nr, .volk-card.q-gelb .vc-nr { color: #2b2116; }
.volk-card.q-weiß { background: linear-gradient(90deg, #e9edf2, var(--surface) 70%); border-color: #c4cad3; }
.volk-card.q-weiß::before, .sd-row[style*="#f4f4f4"]::before { background: #fff; border-right: 2px solid #b9c0ca; box-shadow: inset 2px 0 0 #b9c0ca; }
.volk-card.q-weiß .vc-nr, .sd-row[style*="#f4f4f4"] .sd-nr { background: #fff; box-shadow: inset 0 0 0 2px #9aa3af; }
.vc-farbe { margin-left: auto; font-size: .75rem; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); }
.vc-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.vc-nr { font-size: 1.25rem; font-weight: 750; }
.vc-name { color: var(--ink-2); }
.vc-meta { color: var(--ink-2); font-size: .85rem; }
.vc-last { font-size: .85rem; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }

/* Kasse */
.pos { display: grid; grid-template-columns: 1fr 360px; gap: 16px; align-items: start; }
.pos-group { margin-bottom: 14px; }
.pos-group h3 { margin: 0 0 8px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.tile {
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px;
  border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; font: inherit; color: var(--ink);
  text-align: left; min-height: 86px; box-shadow: var(--shadow); transition: transform .06s;
}
.tile:active { transform: scale(.97); }
.tile:hover { border-color: var(--honey); }
.tile-size { font-weight: 750; font-size: 1.1rem; }
.tile-price { font-weight: 600; color: var(--link); }
.tile-stock { font-size: .78rem; color: var(--ink-2); }
.tile-next { margin-top: 4px; font-size: .72rem; line-height: 1.25; color: var(--bio-d); background: var(--bio-l); border-left: 3px solid var(--bio); border-radius: 4px; padding: 2px 6px; align-self: stretch; overflow-wrap: anywhere; }
.tile-next b { font-weight: 750; }
.badge.next { background: var(--bio-solid); color: var(--on-bio); }
.badge.gold { background: var(--honey-l); color: var(--gold-ink); border-color: var(--honey); letter-spacing: .03em; text-transform: uppercase; }
.quali { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.quali small, .quali-note { font-size: .76rem; line-height: 1.3; color: var(--ink-2); }
.quali .badge { align-self: flex-start; }
.quali-cell { min-width: 0; }
.quali-cell .quali { margin-top: 2px; }
@media (max-width: 700px) { .quali { align-items: flex-end; text-align: right; } .quali .badge { align-self: flex-end; } .quali-cell { text-align: right; } }
.mhd { font-variant-numeric: tabular-nums; }
.kpi-split { display: flex; flex-wrap: wrap; gap: 0 6px; margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.kpi-teil { white-space: nowrap; }
.tile.empty-stock { opacity: .6; border-style: dashed; }
.tile-count { position: absolute; top: 8px; right: 8px; background: var(--honey); color: var(--on-honey); font-weight: 750; border-radius: 99px; min-width: 26px; height: 26px; display: grid; place-items: center; font-size: .85rem; }
.pos-cart { position: sticky; top: calc(var(--top) + 16px); }
.cart-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.cart-lines li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.cl-name small { display: block; }
.cl-sum { min-width: 70px; text-align: right; font-weight: 650; font-variant-numeric: tabular-nums; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface-2); font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.stepper span { min-width: 24px; text-align: center; font-weight: 700; }
.cart-form { display: flex; flex-direction: column; gap: 10px; margin: 12px 0; }
.cart-form label, .row2 label { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.row2.narrow { max-width: 420px; margin-bottom: 12px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; padding: 10px 0; border-top: 2px solid var(--line); }
.cart-total b { font-size: 1.5rem; }
.cart-actions { display: flex; gap: 8px; }
.cart-bar { display: none; }
@media (max-width: 900px) {
  .pos { grid-template-columns: 1fr; }
  .cart-bar {
    display: flex; justify-content: space-between; align-items: center; position: fixed; z-index: 15;
    left: 12px; right: 12px; bottom: calc(var(--bottom-h) + 10px + env(safe-area-inset-bottom));
    background: var(--honey); color: var(--on-honey); border: 0; border-radius: 14px; padding: 14px 18px; font: inherit; font-size: 1.05rem;
    box-shadow: 0 6px 20px rgba(120, 70, 0, .35); cursor: pointer;
  }
  .pos-cart { margin-bottom: 70px; }
  .pos-cart { position: static; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* Planer */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 90px 190px 1fr; gap: 10px; padding: 8px 6px; border-bottom: 1px solid var(--line); border-radius: 6px; }
.timeline li.done { opacity: .5; }
.timeline li.next { background: var(--honey-l); opacity: 1; }
.tl-day { font-weight: 700; color: var(--ink-2); }
.tl-date { font-weight: 600; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 70px 1fr; } .tl-text { grid-column: 1 / -1; } }

/* Formulare */
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; min-height: 40px; width: 100%;
}
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; accent-color: var(--honey); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--honey); outline-offset: -1px; border-color: var(--honey); }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.field { grid-column: span 6; display: flex; flex-direction: column; gap: 4px; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field > label { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.field.check { justify-content: flex-end; }
.field.check label { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink); font-weight: 500; min-height: 40px; }
.hint { font-size: .76rem; }
.form-h { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--link); border-bottom: 1px solid var(--line); padding-bottom: 4px; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: .9rem; }
.chip:has(input:checked) { background: var(--honey-l); border-color: var(--honey); }
.form-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; flex-wrap: wrap; }
.calc { margin-top: 12px; padding: 10px 12px; background: var(--honey-l); border-radius: 8px; }
@media (max-width: 560px) { .field.half, .field.third { grid-column: span 6; } .field.check { grid-column: span 3; } }

.data-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.data-actions > div { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.data-actions .btn + .btn { margin-top: 4px; }
.howto { margin-top: 14px; background: var(--surface-2); border-radius: 10px; padding: 10px 14px; }
.howto summary { cursor: pointer; font-weight: 650; }
.howto li { margin: 6px 0; }

/* Dialog */
.dlg { border: 0; padding: 0; border-radius: 16px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.dlg.wide { width: min(860px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(30, 20, 5, .45); }
.dlg form { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.dlg-body { padding: 16px 18px; overflow-y: auto; }
.dlg-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 16px 16px; }
.spacer { flex: 1; }
@media (max-width: 600px) {
  .dlg, .dlg.wide { width: 100vw; max-width: 100vw; max-height: 92vh; margin: auto 0 0; border-radius: 16px 16px 0 0; }
  .dlg form { max-height: 92vh; }
  .dlg-foot { padding-bottom: calc(12px + env(safe-area-inset-bottom)); border-radius: 0; }
}

/* Sync-Anzeige */
.sync { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; border: 1px solid var(--line); background: transparent; border-radius: 99px; padding: 3px 12px 3px 10px; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; color: var(--ink-2); white-space: nowrap; }
.sync:hover { background: var(--surface-2); color: var(--ink); }
.sync-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); flex: none; opacity: .7; }
.sync-angemeldet .sync-dot { background: var(--ok); opacity: 1; }
.sync-angemeldet.sync-offen .sync-dot, .sync-abgemeldet .sync-dot { background: var(--warn); opacity: 1; }
.sync-fehler .sync-dot { background: var(--danger); opacity: 1; }
.sync-sync .sync-dot { background: transparent; border: 2px solid var(--ink-2); border-top-color: transparent; opacity: 1; animation: spin 1s linear infinite; }
.sync b { font-weight: 700; color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 420px) {
  .sync { padding: 3px 10px 3px 9px; gap: 6px; }
  .sync-offen .sync-l, .sync-offen .sync-sep, .sync-offen .sync-w { display: none; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--bottom-h) + 20px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-weight: 600; transition: all .25s; max-width: calc(100vw - 32px); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-warn { background: var(--honey); color: var(--on-honey); }
.toast-danger { background: var(--danger); color: var(--on-danger); }

/* Druck */
@media print {
  .topbar, .sidenav, .bottomnav, .actions, .tabs, .icon-btn, .btn, .back, .toggle, .seg, .form-actions { display: none !important; }
  .main { margin: 0; padding: 0; max-width: none; }
  body { background: #fff; color: #000; font-size: 11px; }
  .card, .main > .table-wrap { box-shadow: none; border: 0; padding: 0; }
  .tbl th, .tbl td { border: 1px solid #999; padding: 4px 6px; }
  .inv-ist { border: 0; border-bottom: 1px solid #000; border-radius: 0; }
}

/* Stand-Durchsicht */
.sd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px 10px; align-items: end; }
.sd-field { display: flex; flex-direction: column; gap: 3px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.sd-field input, .sd-field select { min-height: 38px; padding: 6px 8px; }
.sd-field.full { margin-top: 10px; }
.sd-check { display: flex; align-items: center; gap: 7px; min-height: 38px; font-size: .88rem; color: var(--ink); }
.sd-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.sd-tools span { color: var(--ink-2); font-size: .88rem; margin-right: auto; }
.sd-rows { display: flex; flex-direction: column; gap: 10px; }
.sd-row { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px 10px 20px; box-shadow: var(--shadow); overflow: hidden; }
.sd-row::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--qc, var(--line)); border-right: 1px solid rgba(0,0,0,.12); }
.sd-row.aus { opacity: .45; }
.sd-row.aus .sd-main, .sd-row.aus .sd-more { pointer-events: none; }
.sd-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.sd-dabei { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.sd-dabei input { width: 22px; height: 22px; }
.sd-nr { min-width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 750; background: var(--qc, var(--surface-2)); color: #2b2116; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.sd-meta { color: var(--ink-2); font-size: .82rem; }
.sd-main { display: grid; grid-template-columns: 90px repeat(3, 64px) 1fr; gap: 8px; align-items: end; }
.sd-more { margin-top: 8px; }
.sd-more summary { cursor: pointer; font-size: .84rem; font-weight: 600; color: var(--link); padding: 4px 0; }
.sd-more .sd-grid { margin-top: 8px; }
.sd-save { position: sticky; bottom: 12px; margin-top: 16px; display: flex; z-index: 5; }
.sd-save .btn { box-shadow: 0 6px 20px rgba(120, 70, 0, .3); }
@media (max-width: 900px) { .sd-save { bottom: calc(var(--bottom-h) + 10px + env(safe-area-inset-bottom)); } }
@media (max-width: 560px) {
  .sd-main { grid-template-columns: 1fr 1fr 1fr; }
  .sd-main .sd-field:first-child { grid-column: 1 / -1; }
  .sd-main .sd-note { grid-column: 1 / -1; }
  .sd-grid { grid-template-columns: 1fr 1fr; }
}

/* Eimerauswahl in der Abfüllung */
.eimer-wahl { display: flex; flex-direction: column; gap: 6px; }
.eimer-zeile { display: grid; grid-template-columns: auto 1fr 100px; gap: 10px; align-items: center; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.eimer-zeile:has(input:checked) { background: var(--honey-l); border-color: var(--honey); }
.eimer-zeile small { display: block; }
.ez-kg { text-align: right; }

/* BIO-Akzente */
.topbar { border-bottom: 3px solid var(--bio); }
.bio-tag { display: inline-block; background: var(--bio-solid); color: var(--on-bio); font-weight: 800; font-size: .78em; letter-spacing: .04em; padding: 1px 6px; border-radius: 6px; margin-right: 1px; vertical-align: 1px; }
.brand-name { color: var(--bio-d); }
.sidenav a.active { box-shadow: inset 3px 0 0 var(--bio); }
.tabs a.active { border-color: var(--bio); }
.kpi { border-top: 3px solid var(--bio); }
.form-h { color: var(--bio-d); }
.card h2::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 0 50% 0 50%; background: var(--bio); margin-right: 8px; vertical-align: 2px; }
.card-head h2::before { margin-right: 8px; }
.hint-card { background: var(--bio-l); }
.toggle input, .chip input, .sd-check input, .sd-dabei input { accent-color: var(--bio); }
@media (max-width: 420px) { .brand-name { display: none; } }

/* Bio-Kontrolle und Bericht */
.warn-card { background: var(--warn-l); border-color: transparent; }
.seg-wrap { flex-wrap: wrap; }
.seg-wrap button { flex: none; }
.file-link { white-space: nowrap; margin-right: 6px; }
.bio-report-card { border-left: 5px solid var(--bio); }
.rep-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.rep-head { margin-bottom: 14px; }
.rep-head h1 { font-size: 1.7rem; }
.rep-kicker { color: var(--bio-d); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.rep-hinweise { margin: 0; padding-left: 0; list-style: none; }
.rep-hinweise li { padding: 5px 0; border-bottom: 1px solid var(--line); }
.rep-sec h3 { margin-top: 14px; }
@media print {
  .no-print { display: none !important; }
  .rep-sec { break-inside: auto; margin-bottom: 10px; }
  .rep-sec h2 { break-after: avoid; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .kpi { border: 1px solid #999; }
  .card h2::before { display: none; }
  .badge { border: 1px solid #999; }
  a { color: #000; }
}

/* Zahlung per QR-Code */
.qr-box { display: flex; justify-content: center; align-items: center; margin: 4px auto 12px; }
.qr-box svg { width: 260px; max-width: 100%; height: auto; background: #fff; padding: 8px; border-radius: 8px; border: 1px solid var(--line); }
.qr-info { text-align: center; word-break: break-word; }
.qr-info .qr-daten { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; margin: 0 0 8px; }
.qr-info dt { color: var(--ink-2); }
.qr-info dd { margin: 0; font-weight: 600; }

/* Rechnungen */
.matrix td input.rprice { width: 80px; }
.rg-row { display: grid; grid-template-columns: minmax(0, 1fr) 70px 90px 90px 32px; gap: 6px; align-items: center; margin-bottom: 8px; }
.rg-row select { grid-column: 1; }
.rg-row input[data-f="text"] { grid-column: 1; }
.rg-row .rg-rs { text-align: right; font-weight: 600; font-size: .9rem; }
.rg-row .rg-warn { grid-column: 1 / -1; color: var(--warn-ink); font-weight: 600; margin-top: -4px; }
.rg-row .rg-warn:empty { display: none; }
.rg-sum { margin-top: 12px; margin-left: auto; max-width: 320px; }
.rg-sum > div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; }
.rg-sum .tot { border-top: 1px solid var(--line); font-weight: 700; margin-top: 4px; padding-top: 4px; }
@media (max-width: 560px) {
  .rg-row { grid-template-columns: 1fr 1fr 32px; }
  .rg-row select, .rg-row input[data-f="text"] { grid-column: 1 / -1; }
  .rg-row .rg-rs { grid-column: 1; text-align: left; }
}
.rg-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.rg-blatt { background: #fff; color: #000; max-width: 210mm; min-height: 297mm; margin: 0 auto 24px; padding: 16mm 18mm 12mm; display: flex; flex-direction: column; box-shadow: var(--shadow); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.rg-blatt small { color: #444; }
.rg-kopf { text-align: center; font-weight: 800; font-size: 2rem; margin-bottom: 18px; }
.rg-adr { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.rg-lbl { font-weight: 700; }
.rg-meta { text-align: right; }
.rg-tabwrap { overflow-x: auto; }
.rg-tab { width: 100%; border-collapse: collapse; }
.rg-tab th { text-align: left; border-bottom: 2px solid #000; padding: 4px 6px; }
.rg-tab td { border-bottom: 1px solid #bbb; padding: 4px 6px; }
.rg-tab .n { text-align: right; white-space: nowrap; }
.rg-summen { margin: 12px 0 18px auto; width: 300px; max-width: 100%; }
.rg-summen > div { display: flex; justify-content: space-between; gap: 16px; padding: 2px 6px; }
.rg-summen .tot { border-top: 2px solid #000; font-weight: 800; margin-top: 4px; padding-top: 4px; }
.rg-summen small { display: block; text-align: right; margin-top: 4px; }
.rg-unten { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 8px; }
.rg-texte p { margin: 0 0 6px; }
.rg-qr { text-align: center; flex: none; }
.rg-qr svg { width: 34mm; height: 34mm; display: block; margin: 0 auto 2px; background: #fff; }
.rg-fuss { margin-top: auto; padding-top: 14px; border-top: 1px solid #000; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; font-size: 12px; }
.rg-fuss > div:nth-child(2) { text-align: center; }
.rg-fuss > div:nth-child(3) { text-align: right; }
@media (max-width: 700px) {
  .rg-blatt { min-height: 0; padding: 14px; font-size: 13px; }
  .rg-adr, .rg-unten { flex-direction: column; align-items: stretch; }
  .rg-meta { text-align: left; }
  .rg-fuss { grid-template-columns: 1fr; }
  .rg-fuss > div { text-align: left !important; }
}
@page { size: A4; margin: 10mm; }
@media print {
  .rg-blatt { box-shadow: none; border: 0; margin: 0; padding: 0; max-width: none; min-height: 275mm; font-size: 11pt; color: #000; }
  .rg-blatt, .rg-blatt small { color: #000; }
  .rg-tab th, .rg-tab td { border-left: 0; border-right: 0; }
}

/* KI-Assistent und Aufgaben */
.chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.bubble { max-width: min(760px, 94%); padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.me { align-self: flex-end; background: var(--honey-l); border-color: var(--honey); }
.bubble.ki { align-self: flex-start; }
.bubble.warn { background: var(--warn-l); border-color: var(--warn); }
.bubble .bh { margin-top: 6px; color: var(--warn-ink); font-size: .88rem; }
.bubble .kosten { display: block; margin-top: 8px; color: var(--ink-2); font-size: .78rem; opacity: .85; }
.bubble.ki { line-height: 1.5; }
.bubble.ki .bt.md { white-space: normal; }
.bt.md > :first-child { margin-top: 0; }
.bt.md > :last-child { margin-bottom: 0; }
.bt.md p { margin: 0 0 .6em; }
.bt.md ul, .bt.md ol { margin: 0 0 .6em; padding-left: 1.25em; }
.bt.md li { margin: .2em 0; }
.bt.md li::marker { color: var(--bio); }
.bt.md h4 { margin: .8em 0 .3em; font-size: .95rem; color: var(--bio-d); }
.bt.md strong { font-weight: 700; color: var(--ink); }
.bt.md code { font-family: ui-monospace, Consolas, monospace; font-size: .88em; padding: .1em .35em; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line); }
.bubble.lade { color: var(--ink-2); }
.punkte { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--honey); animation: puls 1s ease-in-out infinite; vertical-align: middle; }
@keyframes puls { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.vorschlaege { margin-top: 10px; white-space: normal; }
.vorschlaege h3 { margin: 0 0 6px; font-size: .95rem; }
.vorschlag { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 10px; margin-bottom: 6px; border: 1px solid var(--bio); border-radius: 10px; background: var(--bio-l); }
.vorschlag.erledigt { border-color: var(--line); background: var(--surface-2); opacity: .8; }
.vs-knoepfe { display: flex; gap: 6px; }
.vs-alle { text-align: right; }
.chat-form { display: flex; gap: 8px; align-items: flex-end; position: sticky; bottom: calc(var(--bottom-h) + 8px); background: var(--bg); padding: 6px 0; }
.chat-form textarea { flex: 1; resize: vertical; min-height: 48px; }
.bsp { justify-content: center; margin-top: 10px; }
.aufgaben { list-style: none; margin: 0; padding: 0; }
.aufgaben li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.aufgaben li:last-child { border: 0; }
.aufgaben label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.aufgaben input { margin-top: 3px; }
.aufgaben small { display: block; color: var(--ink-2); }
.aufgaben small.neg { color: var(--danger); font-weight: 650; }

/* Q-Betrieb Jahresstatus */
.q-jahr .q-detail { margin: 6px 0; }
.q-jahr .q-charge { padding: 2px 10px; min-height: 0; }
.q-jahr .q-notiz { display: block; color: var(--ink-2); }

/* Lager > Eimer: nach Charge gruppiert */
.eimer-gruppen { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.eimer-gruppe { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; min-width: 0; }
.eimer-gruppe.zeile-untersucht { background: var(--row-ok); box-shadow: var(--shadow), inset 4px 0 0 var(--ok); }
.eimer-gruppe.zeile-offen { background: var(--row-warn); box-shadow: var(--shadow), inset 4px 0 0 var(--warn); }
.eimer-gruppe.zeile-antrag { box-shadow: var(--shadow), inset 4px 0 0 var(--honey); }
.eg-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 14px 18px 10px; min-width: 0; }
.eg-titel { min-width: 0; overflow-wrap: anywhere; font-size: 1.05rem; }
.eg-sorte { margin: 0 6px; }
.eg-sum { white-space: nowrap; }
.eg-meta { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: .9rem; }
.eg-kv small { margin-right: 4px; }
.eg-kopf > .quali { flex-basis: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.eg-eimer { list-style: none; margin: 0; padding: 0 18px 10px; }
.eg-zeile { display: grid; grid-template-columns: 7.5rem 11rem 1fr auto; gap: 4px 14px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); min-width: 0; }
.eg-zeile.leer { opacity: .6; }
.eg-verw { min-width: 0; overflow-wrap: anywhere; font-size: .88rem; }
@media (max-width: 700px) {
  .eg-kopf { padding: 12px 14px 8px; }
  .eg-sum { white-space: normal; }
  .eg-kopf > .quali { align-items: center; text-align: left; }
  .eg-eimer { padding: 0 14px 8px; }
  .eg-zeile { grid-template-columns: 1fr auto; }
  .eg-nr { grid-column: 1; }
  .eg-kg { grid-column: 1; }
  .eg-verw { grid-column: 1 / -1; }
  .eg-akt { grid-column: 2; grid-row: 1 / span 2; }
}

/* Schleudern/Abfüllung: gestapelte Zellen, breite Qualitätsspalte, Badges nie umbrechend */
.zelle-stapel { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.zelle-stapel small { font-size: .76rem; line-height: 1.3; color: var(--ink-2); }
.quali-breit { min-width: 220px; }
.badge-reihe { display: flex; flex-wrap: wrap; gap: 4px; }
.badge-reihe:empty { display: none; }
@media (max-width: 700px) {
  .quali-breit { min-width: 0; }
  .badge-reihe { justify-content: flex-end; }
  .zelle-stapel { align-items: flex-end; text-align: right; }
}

/* ---------- Globale Feinarbeit (Handy-Tippziele, KPI-Raster, Überlauf) ---------- */
.kpi a { display: inline-block; padding: 4px 0; }
@media (max-width: 700px) {
  .btn-sm { min-height: 40px; padding: 0 12px; }
  .btn-lg { white-space: normal; flex: 1 1 auto; min-width: 0; max-width: 100%; }
  .icon-btn { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
  .stepper button { width: 40px; height: 40px; }
  .seg button { min-height: 40px; }
  .seg.small button { min-height: 40px; }
  .seg.inline button { min-height: 40px; }
  .sync { min-height: 40px; }
  .chip, .toggle { min-height: 40px; }
  input[type=checkbox], .sd-dabei input { width: 22px; height: 22px; }
  .field.check label, .sd-check, .aufgaben label { min-height: 44px; align-items: center; }
  .kpi a { padding: 8px 0; }
  .tabs a { padding: 12px 14px; }
}
@media (max-width: 480px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .kpi { padding: 10px 12px; }
  .kpi-value { font-size: 1.3rem; }
  .kpi-label, .kpi-extra { overflow-wrap: anywhere; }
}
@media print { body::after { display: none; } }

/* Doppeltippen (z. B. mehrmals schnell auf eine Kassen-Kachel) soll nicht hineinzoomen; Zwei-Finger-Zoom bleibt möglich */
html, button, a, .tile, input, select, textarea, label { touch-action: manipulation; }

/* Farbige Emoji-Symbole in Seitenleiste und unterer Leiste */
.ni.ni-emoji { font-size: 20px; line-height: 1; }
.bottomnav .ni.ni-emoji { font-size: 22px; }
