:root {
  --bg: #f5f4f0;
  --surface: #ffffff;
  --surface-2: #efeeea;
  --text: #1f2421;
  --text-2: #5f6661;
  --text-3: #8c928e;
  --border: #e3e1db;
  --green: #9dbea6;
  --green-soft: #dfeae1;
  --green-ink: #3f6a4e;
  --primary: #557560;
  --on-primary: #ffffff;
  --danger: #b4483c;
  --warn: #a3622a;
  --warn-soft: #f6ebdd;
  --ph-a: #eef3ee;
  --ph-b: #d9e5dc;
  --shadow: 0 1px 2px rgba(20, 30, 25, .05), 0 6px 20px rgba(20, 30, 25, .06);
  --radius: 16px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --tab-h: 68px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #2b302d; --surface: #353b37; --surface-2: #3f4641; --text: #f2f4f1; --text-2: #c3c9c4; --text-3: #98a09a;
    --border: #4a524c; --green: #9dbea6; --green-soft: #3d5245; --green-ink: #b3d1bb; --primary: #a9c8b1; --on-primary: #132019;
    --danger: #e07a6d; --warn: #e0a56d; --warn-soft: #4a3c2e; --ph-a: #44534a; --ph-b: #36423b; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #2b302d; --surface: #353b37; --surface-2: #3f4641; --text: #f2f4f1; --text-2: #c3c9c4; --text-3: #98a09a;
  --border: #4a524c; --green: #9dbea6; --green-soft: #3d5245; --green-ink: #b3d1bb; --primary: #a9c8b1; --on-primary: #132019;
  --danger: #e07a6d; --warn: #e0a56d; --warn-soft: #4a3c2e; --ph-a: #44534a; --ph-b: #36423b; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25); color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: var(--green-ink); }
svg { flex-shrink: 0; }
.ico { width: 22px; height: 22px; }
.ico-sm { width: 18px; height: 18px; }

#app { max-width: 760px; margin: 0 auto; min-height: 100vh; }
.screen { padding: calc(env(safe-area-inset-top) + 18px) max(20px, env(safe-area-inset-right, 0px)) calc(var(--tab-h) + env(safe-area-inset-bottom) + 28px) max(20px, env(safe-area-inset-left, 0px)); }
.screen.no-tabs { padding-bottom: calc(env(safe-area-inset-bottom) + 32px); }

/* Typografie */
.eyebrow { font-size: 13px; color: var(--text-2); letter-spacing: .02em; margin: 0 0 2px; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; margin: 0; }
.h3 { font-size: 15px; font-weight: 600; margin: 0; }
.muted { color: var(--text-2); }
.small { font-size: 13px; }

/* Kopf */
.top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-weight: 600; font-size: 16px; flex: none; }
.iconbtn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text); flex: none; }
.iconbtn:active { transform: scale(.96); }

/* Suche */
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 14px; height: 48px; margin-bottom: 22px; }
.search input { flex: 1; border: 0; outline: 0; background: transparent; height: 100%; min-width: 0; }
.search svg { color: var(--text-3); }

/* Sektionen */
.section { margin: 0 0 26px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.section-head .link { font-size: 14px; color: var(--green-ink); font-weight: 500; }

/* Sammlungen */
.hscroll { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
.hscroll::-webkit-scrollbar { display: none; }
.folder-tile { flex: none; width: 132px; scroll-snap-align: start; text-align: left; }
.folder-tile .cover { position: relative; width: 132px; height: 132px; border-radius: 18px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.folder-tile .cover img { width: 100%; height: 100%; object-fit: cover; }
.folder-tile .cover .badge { position: absolute; left: 8px; bottom: 8px; background: rgba(255,255,255,.92); color: #1f2421; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; }
.folder-tile .cover .glyph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--green-ink); background: var(--green-soft); }
.folder-tile .name { margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.folder-tile.add .cover { border: 1.5px dashed var(--border); background: transparent; box-shadow: none; display: grid; place-items: center; color: var(--text-2); }

/* Chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px 16px; padding: 0 20px; scrollbar-width: none; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: 14px; color: var(--text); white-space: nowrap; }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.chip.soft { background: var(--green-soft); border-color: transparent; color: var(--green-ink); }
.chip .x { opacity: .6; margin-left: 2px; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-ink); font-size: 12.5px; font-weight: 500; }

/* Rezeptkarten */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; text-align: left; display: block; width: 100%; }
.card .img { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:active .img img { transform: scale(1.02); }
.card .fav { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9); color: #1f2421; display: grid; place-items: center; }
.card .fav.on { color: #c0544a; }
.card .title { font-weight: 600; font-size: 15px; line-height: 1.3; margin: 10px 2px 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .meta { font-size: 13px; color: var(--text-2); margin: 0 2px; display: flex; gap: 10px; align-items: center; }
.card .meta svg { width: 14px; height: 14px; }
.card .own { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 600; background: var(--primary); color: var(--on-primary); padding: 3px 8px; border-radius: 999px; }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 95% at 50% 18%, var(--ph-a), var(--ph-b)); container-type: size; }
.ph { color: var(--green-ink); }
.ph .phsvg { width: min(86cqmin, 300px); height: auto; }
@supports not (width: 1cqmin) { .ph .phsvg { width: 80%; } }

/* Leerzustände */
.empty { text-align: center; padding: 40px 18px; color: var(--text-2); }
.empty .h2 { color: var(--text); margin-bottom: 6px; }
.empty .glyph { width: 64px; height: 64px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin: 0 auto 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 20px; border-radius: 14px; font-weight: 600; font-size: 15px; background: var(--primary); color: var(--on-primary); }
.btn:active { transform: scale(.98); }
.btn.block { width: 100%; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn.soft { background: var(--green-soft); color: var(--green-ink); }
.btn.danger { background: transparent; color: var(--danger); border: 1px solid var(--border); }
.btn.sm { height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { color: var(--green-ink); font-weight: 500; font-size: 14px; }

/* Formulare */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin: 0 0 6px; letter-spacing: .01em; }
.input, .textarea, .select { width: 100%; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 12px 14px; outline: 0; font-size: 16px; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 30%, transparent); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.hint { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.error { color: var(--danger); font-size: 14px; margin: 8px 0; }

/* Tab-Leiste */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.tabbar-inner { max-width: 760px; margin: 0 auto; height: var(--tab-h); display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--text-3); }
.tab.on { color: var(--text); }
.tab .dot { position: relative; }
.tab .count { position: absolute; top: -4px; right: -10px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--green-ink); color: var(--surface); font-size: 10.5px; display: grid; place-items: center; padding: 0 5px; font-weight: 600; }
.tab-add { justify-self: center; width: 54px; height: 54px; border-radius: 18px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; box-shadow: var(--shadow); margin-top: -6px; }
.tab-add:active { transform: scale(.95); }

/* Rezeptdetail */
.detail { padding-bottom: calc(env(safe-area-inset-bottom) + 40px); }
.hero { position: relative; height: 46vh; min-height: 300px; max-height: 460px; background: var(--surface-2); overflow: hidden; }
.hero img, .hero .ph { width: 100%; height: 100%; object-fit: cover; }
.hero .bar { position: absolute; left: 0; right: 0; top: 0; padding: calc(env(safe-area-inset-top) + 12px) 16px 0; display: flex; justify-content: space-between; }
.hero .bar .iconbtn { background: rgba(255,255,255,.92); color: #1f2421; border: 0; }
.hero .bar .iconbtn.on { color: #c0544a; }
.hero .bar .group { display: flex; gap: 10px; }
.sheet-body { position: relative; margin-top: -26px; background: var(--bg); border-radius: 26px 26px 0 0; padding: 26px 20px 0; }
.detail .h1 { font-size: 30px; }
.facts { display: flex; gap: 10px; margin: 16px 0 14px; }
.fact { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px; }
.fact .k { font-size: 12px; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.fact .v { font-weight: 600; font-size: 15px; margin-top: 2px; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 8px 8px 8px 14px; margin: 0 0 22px; }
.stepper .ctl { display: flex; align-items: center; gap: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
.stepper .num { min-width: 34px; text-align: center; font-weight: 700; font-size: 17px; }
.ing-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.ing-list li { display: flex; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--border); align-items: baseline; }
.ing-list li:first-child { border-top: 0; }
.ing-list li.head { background: var(--surface-2); font-weight: 600; font-size: 13px; color: var(--text-2); padding: 8px 14px; text-transform: none; }
.ing-list .q { flex: none; min-width: 74px; max-width: 42%; font-weight: 600; font-variant-numeric: tabular-nums; }
.ing-list .n { flex: 1; }
.ing-list .have { flex: none; color: var(--green-ink); align-self: center; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 18px 46px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.steps li.done { color: var(--text-3); text-decoration: line-through; }
.steps li.sub { counter-increment: none; padding: 4px 0 10px; font-weight: 600; color: var(--text-2); font-size: 14px; }
.steps li.sub::before { display: none; }
.note { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px; white-space: pre-wrap; }
.actions-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 0; }

/* Vorrat / Einkauf */
.addbar { display: flex; gap: 8px; margin-bottom: 18px; }
.addbar .input { flex: 1; }
.addbar .btn { height: 48px; width: 48px; padding: 0; }
.list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--border); min-height: 52px; }
.list li:first-child { border-top: 0; }
.check { width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--text-3); display: grid; place-items: center; flex: none; color: transparent; }
.check.on { background: var(--green-ink); border-color: var(--green-ink); color: var(--surface); }
.list li.done .txt { color: var(--text-3); text-decoration: line-through; }
.list .txt { flex: 1; min-width: 0; }
.list .sub { font-size: 12.5px; color: var(--text-3); }
.list .del { color: var(--text-3); padding: 6px; }
.cat-title { font-size: 13px; font-weight: 600; color: var(--text-2); margin: 18px 4px 8px; }
.match { display: flex; gap: 12px; align-items: center; padding: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 10px; text-align: left; width: 100%; }
.match .thumb { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; flex: none; background: var(--surface-2); }
.match .thumb img { width: 100%; height: 100%; object-fit: cover; }
.match .info { flex: 1; min-width: 0; }
.match .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.match .missing { font-size: 13px; color: var(--text-2); margin-top: 2px; }
.bar-pct { height: 5px; background: var(--surface-2); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.bar-pct i { display: block; height: 100%; background: var(--green); border-radius: 3px; }

/* Sheets & Overlays */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(10, 14, 12, .45); display: flex; align-items: flex-end; justify-content: center; animation: fade .18s ease; }
.sheet { width: 100%; max-width: 760px; max-height: 92vh; overflow-y: auto; background: var(--bg); border-radius: 24px 24px 0 0; padding: 10px 20px calc(env(safe-area-inset-bottom) + 22px); animation: up .24s cubic-bezier(.2,.8,.2,1); }
.sheet .grab { width: 40px; height: 5px; border-radius: 3px; background: var(--border); margin: 0 auto 14px; }
.sheet .h2 { margin-bottom: 14px; }
.option { display: flex; gap: 14px; align-items: center; width: 100%; text-align: left; padding: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 10px; }
.option .oi { width: 46px; height: 46px; border-radius: 14px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.option .ot { font-weight: 600; }
.option .os { font-size: 13px; color: var(--text-2); }
@keyframes up { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + env(safe-area-inset-bottom) + 16px); transform: translateX(-50%); z-index: 80; background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 500; box-shadow: var(--shadow); max-width: calc(100% - 40px); animation: up .2s ease; }

.progress { height: 6px; background: var(--surface-2); border-radius: 3px; overflow: hidden; margin: 12px 0 6px; }
.progress i { display: block; height: 100%; background: var(--green); width: 0; transition: width .3s; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--border); border-top-color: var(--green-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Willkommen */
.welcome { min-height: 100vh; display: flex; flex-direction: column; }
.welcome .art { position: relative; height: 40vh; min-height: 260px; overflow: hidden; background: linear-gradient(160deg, var(--green-soft), var(--bg)); }
.welcome .art img { width: 100%; height: 100%; object-fit: cover; }
.welcome .art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, var(--bg) 100%); }
.welcome .body { flex: 1; padding: 0 22px calc(env(safe-area-inset-bottom) + 28px); margin-top: -40px; position: relative; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.logo .mark { width: 52px; height: 52px; border-radius: 16px; background: var(--primary); color: var(--on-primary); display: grid; place-items: center; }
.logo .mark .ico { width: 30px; height: 30px; stroke-width: 1.7; }
:root[data-theme="dark"] .logo .mark { color: var(--on-primary); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo .mark { color: var(--on-primary); } }
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 4px; gap: 4px; margin: 18px 0; }
.seg button { flex: 1; height: 38px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.08); }

/* Profil */
.menu { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.menu li > button, .menu li > label, .menu li > div { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px; text-align: left; border-top: 1px solid var(--border); }
.menu li:first-child > * { border-top: 0; }
.menu .mi { color: var(--text-2); }
.menu .ml { flex: 1; }
.menu .mv { color: var(--text-3); font-size: 14px; }

/* Editor */
.photo-pick { position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1.5px dashed var(--border); display: grid; place-items: center; color: var(--text-2); margin-bottom: 18px; width: 100%; }
.photo-pick img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-pick .pp-actions { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 8px; }
.photo-pick .pp-actions button { background: rgba(255,255,255,.92); color: #1f2421; border-radius: 10px; height: 36px; padding: 0 12px; font-size: 13px; font-weight: 600; }
.stickybar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); margin: calc(-1 * (env(safe-area-inset-top) + 18px)) -20px 14px; padding: calc(env(safe-area-inset-top) + 10px) 20px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--border); }
.stickybar .title { font-weight: 600; }
.notice { background: var(--green-soft); color: var(--green-ink); border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 16px; }

.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mt { margin-top: 16px; } .mt2 { margin-top: 26px; } .mb { margin-bottom: 12px; }
.center { text-align: center; }

/* Vorrat: Bildchen, Füllstand */
.emo { position: relative; overflow: hidden; width: 40px; height: 40px; border-radius: 12px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: none; }
.emo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emo.sm { width: 34px; height: 34px; border-radius: 10px; }
.emo.big { width: 64px; height: 64px; border-radius: 18px; }
.emo.ce { width: 24px; height: 24px; border-radius: 50%; margin-left: -8px; }
.emo.ce .ico-sm { width: 13px; height: 13px; }
.list li:has(> .prow) { padding: 0; }
.prow { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; min-height: 58px; }
.prow .txt { flex: 1; min-width: 0; font-weight: 500; }
.list .sub { display: block; font-weight: 400; }
.sub.low, .list .sub.low { color: var(--warn); }
.lvl { display: inline-flex; gap: 3px; align-items: flex-end; flex: none; }
.lvl i { display: block; width: 5px; border-radius: 2px; background: var(--border); }
.lvl i:nth-child(1) { height: 8px; } .lvl i:nth-child(2) { height: 12px; } .lvl i:nth-child(3) { height: 16px; }
.lvl.l3 i, .lvl.l2 i:nth-child(-n+2) { background: var(--green-ink); }
.lvl.l1 i:nth-child(1) { background: var(--warn); }
.lowbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--warn-soft); color: var(--warn); border-radius: 14px; padding: 10px 10px 10px 14px; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.lowtag { flex: none; align-self: center; font-size: 12px; font-weight: 600; color: var(--warn); }
.pedit-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lvlseg { margin: 0; }
.lvlseg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; }

/* Vegan / Vegetarisch auf Rezeptkarten */
.ico-xs { width: 13px; height: 13px; }
.diet { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #3f6a4e; font-size: 11.5px; font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.diet.vegan { background: #2f6b3f; color: #fff; }
