:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #f0efe9;
  --text: #1f2a24;
  --muted: #646e68;
  --border: #e3e1da;
  --accent: #2f7d4f;
  --accent-text: #ffffff;
  --accent-soft: #e2f0e7;
  --accent-ink: #1f5c39;
  --danger: #b3261e;
  --warn-bg: #fff3d4;
  --warn-ink: #6b4d00;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 2px 8px rgba(20, 30, 25, .05);
  --radius: 14px;
  --nav-h: 64px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111513;
    --surface: #1a201d;
    --surface-2: #232a26;
    --text: #e7ece9;
    --muted: #9ba69f;
    --border: #2c3430;
    --accent: #58b880;
    --accent-text: #0d1a12;
    --accent-soft: #1d3326;
    --accent-ink: #8fd9ac;
    --danger: #f2877f;
    --warn-bg: #3a3017;
    --warn-ink: #f3d68a;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
h1 { font-size: 1.6rem; line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
p { margin: .4rem 0; }
a { color: inherit; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.boot { padding: 4rem 1rem; text-align: center; color: var(--muted); }

input, select, textarea {
  font: inherit;
  color: inherit;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: .65rem .75rem;
  width: 100%;
  min-height: 46px;
}
textarea { resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
  outline-offset: 1px;
}
input[type=checkbox], input[type=radio] { width: 22px; min-height: 22px; height: 22px; accent-color: var(--accent); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 46px; padding: .55rem 1rem;
  font: inherit; font-weight: 600; text-decoration: none;
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 12px;
  cursor: pointer;
}
.btn:hover { border-color: var(--muted); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn-primary:hover { border-color: var(--accent); filter: brightness(1.05); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-danger-text { color: var(--danger); }
.btn-small { min-height: 38px; padding: .35rem .8rem; font-size: .9rem; }
.btn-block { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center;
  min-width: 44px; min-height: 44px;
  font: inherit; font-size: 1.2rem; color: var(--muted);
  background: transparent; border: 0; border-radius: 10px; cursor: pointer;
}
.icon-btn:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.icon-btn:disabled { opacity: .3; }
.link { color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }
.back { display: inline-block; margin: 0 0 .5rem; padding: .3rem 0; color: var(--muted); text-decoration: none; font-weight: 600; }

/* ---------- Layout ---------- */
.app { min-height: 100vh; }
.main { padding: 16px 16px calc(var(--nav-h) + 110px + env(safe-area-inset-bottom)); max-width: 760px; margin: 0 auto; }
.view { display: flex; flex-direction: column; gap: 14px; }
.view-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; gap: 8px; align-items: center; }
.row-tight { display: flex; gap: 4px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: .35rem 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 480px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-3 > :last-child { grid-column: span 2; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: .5rem; }
.card-head h2 { margin: 0; }
.plain { list-style: none; margin: 0; padding: 0; }

.nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.nav-brand { display: none; }
.nav-link {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  text-decoration: none; color: var(--muted); font-size: .75rem; font-weight: 600;
}
.nav-icon { font-size: 1.35rem; line-height: 1; filter: grayscale(1); opacity: .75; }
.nav-link.active { color: var(--accent-ink); }
.nav-link.active .nav-icon { filter: none; opacity: 1; }

@media (min-width: 900px) {
  .nav {
    top: 0; right: auto; width: 220px; height: auto;
    display: flex; flex-direction: column; gap: 4px; padding: 20px 12px;
    border-top: 0; border-right: 1px solid var(--border);
  }
  .nav-brand { display: block; font-weight: 700; font-size: 1.1rem; padding: 0 12px 16px; }
  .nav-link { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: 1rem; }
  .nav-link.active { background: var(--accent-soft); }
  .main { margin-left: 220px; margin-right: auto; padding: 28px 32px 120px; max-width: 820px; }
  .app .main { margin-left: max(220px, calc(220px + (100vw - 220px - 820px) / 2)); }
}

.sticky-actions {
  position: sticky; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 10px);
  display: flex; flex-direction: column; gap: 6px; align-items: stretch;
  padding: 10px; margin: 0 -10px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-radius: 16px;
}
@media (min-width: 900px) { .sticky-actions { bottom: 16px; } }

/* ---------- Chips, Badges ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font: inherit; font-size: .9rem; font-weight: 600;
  min-height: 36px; padding: .3rem .8rem;
  color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 999px; cursor: pointer;
}
.chip.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }
.chip-more { color: var(--muted); border-style: dashed; }
.filter-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filter-row > .chips { display: contents; }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.badge {
  display: inline-block; margin-left: .4rem; padding: .1rem .5rem;
  font-size: .75rem; font-weight: 700; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink); vertical-align: middle;
}
.badges .badge { margin-left: 0; }
.badge.diet-glutenfrei, .badge.diet-laktosefrei { background: var(--surface-2); color: var(--text); }
.nutri { display: inline-grid; place-items: center; width: 26px; height: 22px; border-radius: 6px; font-weight: 800; font-size: .8rem; color: #fff; }
.nutri-a { background: #038141; } .nutri-b { background: #85bb2f; } .nutri-c { background: #e6b800; color: #1a1a1a; } .nutri-d { background: #ee8100; } .nutri-e { background: #e63e11; }
.warn-text { color: var(--warn-ink); }

/* ---------- Banner, Leer-Zustände, Toasts ---------- */
.banner {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .95rem;
}
.banner-warn { background: var(--warn-bg); color: var(--warn-ink); }
.empty { text-align: center; padding: 2rem 1rem; display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.empty-icon { font-size: 2.5rem; }
.toasts { position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + 16px + env(safe-area-inset-bottom)); z-index: 100; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; padding: 0 16px; }
.toast {
  pointer-events: auto; display: flex; gap: 12px; align-items: center;
  max-width: 520px; padding: 12px 16px; border-radius: 12px;
  background: var(--text); color: var(--bg); font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: opacity .3s, transform .3s;
}
.toast.out { opacity: 0; transform: translateY(8px); }
.toast-action { font: inherit; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; padding: 0; }
@media (prefers-color-scheme: dark) { .toast-action { color: #2f7d4f; } }

/* ---------- Dialog ---------- */
.modal {
  padding: 0; border: 0; border-radius: 18px; width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px);
  background: var(--surface); color: var(--text); box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.modal::backdrop { background: rgba(10, 15, 12, .45); }
.modal-inner { display: flex; flex-direction: column; max-height: calc(100vh - 40px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 10px 6px 18px; }
.modal-head h2 { margin: 0; font-size: 1.2rem; }
.modal-body { padding: 6px 18px 12px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.modal-actions { display: flex; gap: 8px; justify-content: flex-end; padding: 12px 18px 18px; flex-wrap: wrap; }
.modal-actions .btn-danger { margin-right: auto; }
@media (max-width: 600px) {
  .modal { margin: auto 0 0; width: 100vw; max-width: 100vw; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .modal-actions .btn { flex: 1; }
}

/* ---------- Formularfelder ---------- */
.field { display: flex; flex-direction: column; gap: 4px; }
.field > span:first-child { font-size: .875rem; font-weight: 600; color: var(--muted); }
.field-inline { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .9rem; }
.field-inline select { width: auto; }
.check { display: flex; gap: 10px; align-items: center; }
.form-error { color: var(--danger); font-weight: 600; min-height: 1.2em; margin: 0; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.radio-card span { display: flex; flex-direction: column; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface-2); border-radius: 12px; padding: 3px; width: fit-content; }
.stepper-btn { width: 40px; height: 40px; font-size: 1.3rem; font-weight: 700; border: 0; border-radius: 10px; background: var(--surface); color: var(--text); cursor: pointer; }
.stepper-value { min-width: 2.5em; text-align: center; font-weight: 700; padding: 0 .4rem; }
.switch { position: relative; display: inline-block; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-ui { position: absolute; inset: 0; background: var(--border); border-radius: 999px; transition: background .2s; pointer-events: none; }
.switch-ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; background: #fff; border-radius: 50%; transition: transform .2s; }
.switch input:checked + .switch-ui { background: var(--accent); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.search { border-radius: 12px; }

/* ---------- Anmeldung ---------- */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.auth-card { width: min(420px, 100%); display: flex; flex-direction: column; gap: 14px; }
.auth-card.wide { width: min(560px, 100%); }
.auth-card h1 { font-size: 1.8rem; }
.auth-card h2 { margin-top: .6rem; }
.auth-logo { font-size: 3rem; }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: 12px; padding: 4px; }
.segmented button { font: inherit; font-weight: 600; min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.segmented button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.onboard-order { margin: 0; padding-left: 1.4rem; }

/* ---------- Wochenplan ---------- */
.week-nav { display: flex; align-items: center; gap: 4px; }
.week-title { display: flex; flex-direction: column; min-width: 150px; text-align: center; }
.days { display: flex; flex-direction: column; gap: 10px; }
.day { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 12px 8px; box-shadow: var(--shadow); }
.day.is-today { border-color: var(--accent); border-width: 2px; }
.day.is-past { opacity: .6; }
.day-head { display: flex; align-items: baseline; gap: 8px; padding: 0 4px 4px; }
.day-head h2 { margin: 0; font-size: 1.05rem; }
.entries { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.entry {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  min-height: 48px; padding: 8px 12px; text-align: left;
  font: inherit; color: var(--text); background: var(--surface-2); border: 0; border-radius: 10px; cursor: pointer;
}
.entry.is-text { font-style: italic; color: var(--muted); }
.entry-title { font-weight: 600; }
.entry-meta { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.add-entry {
  width: 100%; margin-top: 6px; min-height: 42px;
  font: inherit; font-weight: 600; color: var(--accent-ink);
  background: transparent; border: 1.5px dashed var(--border); border-radius: 10px; cursor: pointer;
}
.add-entry:hover { border-color: var(--accent); background: var(--accent-soft); }

.pick-list { display: flex; flex-direction: column; gap: 6px; max-height: 50vh; overflow-y: auto; }
.pick-item {
  flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left;
  min-height: 52px; padding: 10px 12px; font: inherit; color: var(--text);
  background: var(--surface-2); border: 1.5px solid transparent; border-radius: 10px; cursor: pointer;
}
.pick-item:hover { border-color: var(--accent); }
.pick-title { font-weight: 600; }
.pick-meta { font-size: .8rem; color: var(--muted); }
.free-text summary { cursor: pointer; color: var(--accent-ink); font-weight: 600; padding: 6px 0; }

/* ---------- Rezepte ---------- */
.recipe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.recipe-card {
  display: flex; flex-direction: column; gap: 6px; padding: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow);
}
.recipe-card:hover { border-color: var(--accent); }
.recipe-card-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.recipe-card h3 { margin: 0; font-size: 1.05rem; }
.fav { font-size: 1.3rem; line-height: 1; color: var(--muted); background: none; border: 0; cursor: pointer; padding: 4px; min-width: 36px; min-height: 36px; }
.fav.on { color: #d6455d; }
.recipe-head { display: flex; flex-direction: column; gap: 6px; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ing-list { list-style: none; margin: 0; padding: 0; }
.ing-list li { display: grid; grid-template-columns: 6.5em 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ing-list li:last-child { border-bottom: 0; }
.ing-amount { font-weight: 700; text-align: right; }
.steps { margin: 0; padding-left: 1.3rem; display: flex; flex-direction: column; gap: 10px; }
.ing-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 10px; }
.ing-row { display: flex; flex-direction: column; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.ing-row-main { display: grid; grid-template-columns: 5em 6em 1fr 44px; grid-template-areas: "amount unit name del"; gap: 6px; align-items: center; }
.ing-amount-input { grid-area: amount; }
.ing-unit-input { grid-area: unit; }
.ing-name-input { grid-area: name; }
.ing-row-main > .icon-btn { grid-area: del; }
@media (max-width: 600px) {
  .ing-row-main { grid-template-columns: 1fr 1fr 44px; grid-template-areas: "name name del" "amount unit ."; }
}
.ing-note-input { min-height: 38px; font-size: .9rem; padding: .4rem .7rem; }
.new-ing { background: var(--warn-bg); color: var(--warn-ink); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.new-ing .chip { background: var(--surface); }
.new-ing select { background: var(--surface); color: var(--text); }

/* ---------- Einkaufsliste ---------- */
.store-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.store-tab {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: .4rem .9rem;
  font: inherit; font-weight: 700; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer;
}
.store-tab.on { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.store-tab .count { font-size: .8rem; background: color-mix(in srgb, currentColor 15%, transparent); border-radius: 999px; padding: 0 .5rem; }
.add-row { display: flex; gap: 8px; }
.add-row .btn { min-width: 52px; font-size: 1.3rem; }
.aisle-name { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 6px 4px 6px; }
.items { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.item { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.item:last-child { border-bottom: 0; }
.item-main {
  flex: 1; display: flex; align-items: center; gap: 14px; text-align: left;
  min-height: 60px; padding: 10px 6px 10px 14px;
  font: inherit; color: var(--text); background: none; border: 0; cursor: pointer;
}
.check-circle {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px;
  border: 2px solid var(--muted); border-radius: 50%; font-weight: 800; font-size: .9rem; color: var(--accent-text);
}
.item.is-checked .check-circle { background: var(--accent); border-color: var(--accent); }
.item-text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.item-name { font-weight: 600; }
.item-qty { color: var(--accent-ink); font-weight: 700; }
.item-packs { font-size: .8rem; font-weight: 700; padding: .05rem .45rem; border-radius: 6px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.item.is-checked .item-packs { color: var(--muted); }
.item-sub { flex-basis: 100%; font-size: .8rem; color: var(--muted); }
.item.is-checked .item-name, .item.is-checked .item-qty { text-decoration: line-through; color: var(--muted); }
.item-more { align-self: center; margin-right: 4px; }
.aisle.done .items { opacity: .8; }
.aisle.done .btn { margin-top: 10px; }
.at-home summary { cursor: pointer; font-weight: 600; }

/* ---------- Listen, Menüs ---------- */
.list-rows li { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--border); }
.list-rows li:last-child { border-bottom: 0; }
.list-rows li.is-off { opacity: .55; }
.row-button {
  flex: 1; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  min-height: 52px; padding: 8px 4px; text-align: left; text-decoration: none;
  font: inherit; color: var(--text); background: none; border: 0; cursor: pointer;
}
.chevron { color: var(--muted); font-size: 1.3rem; }
.menu { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.menu-item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 14px 16px; text-decoration: none; border-bottom: 1px solid var(--border); }
.menu-item:last-child { border-bottom: 0; }
.menu-item:hover { background: var(--surface-2); }
.menu-item > span:nth-child(2) { display: flex; flex-direction: column; }
.menu-icon { font-size: 1.5rem; }
.rule-list { display: flex; flex-direction: column; }
.rule-row { display: grid; grid-template-columns: 1fr 45%; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--border); }
.rule-row select { min-height: 40px; padding: .35rem .5rem; }
.route-list { list-style: none; margin: 0 0 12px; padding: 0; }
.route-list li { display: grid; grid-template-columns: 32px 1fr 44px 44px; align-items: center; gap: 4px; padding: 4px 0; border-bottom: 1px solid var(--border); }
.route-num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .8rem; }
.route-name { font-weight: 600; }

/* ---------- Produkte ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.product { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.product img, .product-noimg { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; background: #fff; display: grid; place-items: center; font-size: 1.8rem; }
.product-body { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.product h3 { margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.product-body .btn { margin-top: auto; }
.more-btn { grid-column: 1 / -1; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- App installieren ---------- */
.install-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 14px; padding: 14px 16px;
  background: var(--accent-soft); color: var(--accent-ink); border-radius: var(--radius);
}
.install-hint-text { display: flex; flex-direction: column; flex: 1 1 220px; }
.install-hint-text .muted { color: inherit; opacity: .8; }
.install-ios { margin: 0; flex-basis: 100%; }
.share-icon { width: 1.1em; height: 1.1em; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
button.menu-item { width: 100%; font: inherit; color: inherit; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--border); cursor: pointer; }

/* ---------- Verwaltung ---------- */
.admin-users li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.admin-users li:last-child { border-bottom: 0; }
.admin-user-name { font-weight: 600; }
.admin-users select { flex: 1 1 100%; min-height: 40px; padding: .35rem .5rem; }
