:root{--cream:#f4f0e7;--paper:#fffdf8;--ink:#203129;--muted:#596a61;--line:#d8ddd6;--green:#1f6847;--dark:#154d34;--soft:#dceee2;--orange:#a94120;--shadow:0 14px 38px #1f362a1f;--nav:72px;--meldung-flaeche:#183c2b}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-padding-top:155px}body{margin:0;background:var(--cream);color:var(--ink);font:15px/1.4 ui-rounded,"SF Pro Rounded",Inter,system-ui,sans-serif;overscroll-behavior-y:contain}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #1768ac;outline-offset:2px}.app{min-height:100dvh}.sidebar{display:none}.main{padding:0 10px calc(var(--nav) + 20px + env(safe-area-inset-bottom))}.top{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;min-height:54px;margin:0 -10px;padding:calc(7px + env(safe-area-inset-top)) 12px 7px;border-bottom:1px solid var(--line);background:#f4f0e7f5;backdrop-filter:blur(16px)}.top p{margin:0;color:var(--muted);font-size:12px;font-weight:750}.top h1{margin:0;font-size:19px;line-height:1.1}.icon{width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:var(--paper);font-size:18px}.view{display:none}.view.active{display:block}.shell,.panel{max-width:900px;margin:auto;border:1px solid var(--line);border-radius:18px;background:var(--paper)}.summary{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px}.summary strong,.summary span{display:block}.summary strong{font-size:15px}.summary span{color:var(--muted);font-size:12px}.finish,.primary,.secondary{min-height:44px;border-radius:12px;font-size:14px;font-weight:850}.finish{padding:0 10px;border:1px solid var(--line);background:#fff;color:var(--green)}[hidden]{display:none!important}.controls{position:sticky;top:54px;z-index:25;border-block:1px solid var(--line);background:#fffdf8f7;backdrop-filter:blur(14px)}.search{display:grid;grid-template-columns:1fr auto;gap:7px;padding:7px 9px 5px}.search input{min-width:0;height:44px;padding:0 12px;border:1px solid #b8c4bc;border-radius:12px;background:#fff;font-size:16px}.primary{padding:0 12px;border:1px solid var(--green);background:var(--green);color:#fff}.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:0 9px 6px}.tabs button{min-height:40px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;font-weight:850}.tabs button[aria-selected=true]{background:var(--soft);color:var(--dark)}.section{padding:9px}.section+.section{border-top:1px solid var(--line);background:#faf8f2}.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:7px}.section-head h2{margin:0;font-size:15px}.section-head span{color:var(--muted);font-size:12px}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.card{min-width:0;overflow:hidden;border:1px solid #c5d2c9;border-radius:14px;background:#fff}.card-main{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-items:center;width:100%;min-height:68px;padding:6px 7px;border:0;background:#fff;color:var(--ink);text-align:left}.emoji{grid-row:1/3;font-size:24px;text-align:center}.name{overflow:hidden;font-size:15px;font-weight:850;line-height:1.15;text-overflow:ellipsis;white-space:nowrap}.meta{overflow:hidden;color:var(--muted);font-size:12px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}.actions button{min-height:48px;padding:0 4px;border:0;background:#f7f8f5;font-size:14px;font-weight:850}.actions button+button{border-left:1px solid var(--line)}.cart{color:var(--orange)}.details{color:var(--green)}.empty{grid-column:1/-1;padding:22px 10px;border:1px dashed #b8c5bc;border-radius:13px;color:var(--muted);font-size:14px;text-align:center}.recent{display:grid;grid-auto-flow:column;grid-auto-columns:106px;gap:7px;overflow:auto;padding:1px 1px 5px;scrollbar-width:none}.recent::-webkit-scrollbar{display:none}.recent-card,.catalog-card{border:1px dashed #afc0b4;border-radius:13px;background:#fff;color:var(--ink)}.recent-card{min-height:92px;padding:7px 4px}.recent-card .emoji,.catalog-card .emoji{display:block;margin-bottom:3px}.recent-card strong,.catalog-card strong{display:block;overflow:hidden;font-size:14px;text-overflow:ellipsis}.recent-card small,.catalog-card small{display:block;color:var(--muted);font-size:12px}.catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px}.catalog-card{position:relative;min-height:92px;padding:7px 3px;border-style:solid}.catalog-card.on{border-color:var(--green);background:var(--soft)}.catalog-card.on:after{content:"";position:absolute;top:5px;right:5px;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat}.suggestions{position:fixed;z-index:60;overflow:auto;border:1px solid #b7c3ba;border-radius:14px;background:#fff;box-shadow:var(--shadow)}.suggestion{display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:7px;width:100%;min-height:55px;padding:6px 9px;border:0;border-bottom:1px solid #e7eae5;background:#fff;text-align:left}.suggestion[aria-selected=true],.suggestion:hover{background:var(--soft)}.suggestion .emoji{font-size:21px}.suggestion strong,.suggestion small{display:block}.suggestion strong{font-size:15px}.suggestion small,.state{color:var(--muted);font-size:12px}.state{color:var(--green);font-weight:850}.preview{max-width:900px;margin:auto}.panel{margin-bottom:10px;padding:15px}.panel h2{margin:0 0 5px;font-size:18px}.panel p{margin:0;color:var(--muted);font-size:14px}.examples{display:grid;gap:8px;margin-top:12px}.example{display:grid;grid-template-columns:42px 32px 1fr;align-items:center;gap:7px;padding:9px;border:1px solid var(--line);border-radius:12px}.example strong{font-size:14px}.example span{color:var(--muted);font-size:12px}.tip{margin-top:12px;padding:12px;border-radius:13px;background:var(--soft)}.tip strong{font-size:14px}.tip p{margin:4px 0 10px;font-size:13px}.mobile-nav{position:fixed;left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));z-index:45;display:grid;grid-template-columns:repeat(4,1fr);min-height:var(--nav);padding:5px;border:1px solid var(--line);border-radius:19px;background:#fffdf8f7;box-shadow:var(--shadow);backdrop-filter:blur(16px)}.mobile-nav button{min-height:58px;border:0;border-radius:13px;background:transparent;color:var(--muted);font-size:12px;font-weight:850}.mobile-nav button span{display:block;font-size:19px}.mobile-nav button[aria-current=page]{background:var(--soft);color:var(--dark)}dialog{color:var(--ink)}.sheet{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:92dvh;margin:0;padding:0;border:0;border-radius:23px 23px 0 0;background:var(--paper);box-shadow:0 -20px 70px #13251b40}.sheet::backdrop{background:#121d1780;backdrop-filter:blur(3px)}.sheet form{max-height:92dvh;overflow:auto}.sheet-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid var(--line);background:var(--paper)}.sheet-head h2{margin:0;font-size:18px}.sheet-head button{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:20px}.sheet-body{display:grid;gap:12px;padding:14px 15px}.amount{display:grid;grid-template-columns:1fr 1fr;gap:8px}.field label{display:block;margin-bottom:4px;color:var(--muted);font-size:12px;font-weight:850}.field input,.field select{width:100%;height:46px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}.remove{justify-self:start;min-height:44px;padding:0 5px;border:0;background:transparent;color:#922f27;font-size:14px;font-weight:850;text-decoration:underline}.sheet-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px;padding:0 15px calc(15px + env(safe-area-inset-bottom))}.secondary{border:1px solid var(--line);background:#fff}.snack{position:fixed;left:12px;right:12px;bottom:calc(var(--nav) + 16px + env(safe-area-inset-bottom));z-index:80;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:58px;padding:7px 8px 7px 13px;border-radius:14px;background:var(--meldung-flaeche);color:#fff;box-shadow:var(--shadow);transform:translateY(20px);opacity:0;pointer-events:none;transition:.2s}.snack.show{transform:none;opacity:1;pointer-events:auto}.snack span{font-size:14px}.snack button{min-width:96px;min-height:44px;border:0;border-radius:10px;background:#fff;color:var(--dark);font-size:14px;font-weight:900}
@media(min-width:560px){:where(html:not(.release-list-only)) .grid{grid-template-columns:repeat(3,1fr)}:where(html:not(.release-list-only)) .catalog{grid-template-columns:repeat(4,1fr)}:where(html:not(.release-list-only)) .examples{grid-template-columns:1fr 1fr}}@media(min-width:560px) and (max-width:599px){:where(html.release-list-only) .grid{grid-template-columns:repeat(3,1fr)}:where(html.release-list-only) .catalog{grid-template-columns:repeat(4,1fr)}:where(html.release-list-only) .examples{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:760px){html:where(:not(.release-list-only)){scroll-padding-top:20px}:where(html:not(.release-list-only)) .app{display:grid;grid-template-columns:220px 1fr}:where(html:not(.release-list-only)) .sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:24px 16px;background:var(--dark);color:#fff}:where(html:not(.release-list-only)) .brand{display:flex;align-items:center;gap:10px;margin-bottom:26px}:where(html:not(.release-list-only)) .brand small{display:block;color:#bdd2c4;font-size:12px}:where(html:not(.release-list-only)) .side-nav{display:grid;gap:6px}:where(html:not(.release-list-only)) .side-nav button{min-height:46px;padding:0 12px;border:0;border-radius:12px;background:transparent;color:#d4e2d9;font-size:14px;font-weight:850;text-align:left}:where(html:not(.release-list-only)) .side-nav button[aria-current=page]{background:#ffffff21;color:#fff}:where(html:not(.release-list-only)) .local{margin-top:auto;color:#bdd2c4;font-size:12px}:where(html:not(.release-list-only)) .main{padding:20px 24px 50px}:where(html:not(.release-list-only)) .top{position:static;margin:0 0 14px;padding:0;border:0;background:transparent}:where(html:not(.release-list-only)) .top h1{font-size:28px}:where(html:not(.release-list-only)) .controls{top:0}:where(html:not(.release-list-only)) .mobile-nav{display:none}:where(html:not(.release-list-only)) .snack{left:auto;right:24px;bottom:24px;width:390px}:where(html:not(.release-list-only)) .sheet{inset:50% auto auto 50%;width:min(470px,calc(100% - 30px));border-radius:20px;transform:translate(-50%,-50%)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.welcome{width:min(520px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:24px;border:0;border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}.welcome::backdrop{background:#153023cc}.welcome form{display:grid;gap:16px}.welcome h1,.welcome h2,.welcome p{margin:0}.welcome h1{font-size:25px}.welcome h2{font-size:18px}.welcome-mark{width:62px;height:62px;border-radius:20px;overflow:hidden}.welcome-mark img{display:block;width:100%;height:100%}.welcome-actions{display:grid;grid-template-columns:1fr 1.3fr;gap:8px}.welcome-step{display:grid;gap:10px}.welcome-person{width:100%;height:46px;margin-top:7px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}.settings-link{display:flex;align-items:center;min-height:44px;color:var(--green);font-weight:850}.release-list-only .main{padding-bottom:20px}.release-list-only .sidebar{display:none}.release-list-only .snack{bottom:calc(16px + env(safe-area-inset-bottom))}

.confirm-copy{margin:0;color:var(--muted);font-size:15px}.confirm-actions{display:grid;gap:8px}.confirm-actions button{width:100%;min-height:48px}.confirm-actions .danger-action{border-color:#922f27;background:#922f27;color:#fff}

/* Produkt-Icons bewusst groß; Bedien-Icons bleiben kompakt und eindeutig. */
.card-main{grid-template-columns:60px minmax(0,1fr);min-height:92px;padding:8px}.product-icon{width:60px;height:60px}.recent-card,.catalog-card{min-height:124px;padding-top:10px}.recent-card .icon-slot,.catalog-card .icon-slot{min-height:58px}.suggestion{grid-template-columns:52px minmax(0,1fr) auto;min-height:68px}.snack-actions{display:flex;align-items:center;gap:6px}.snack-actions button{min-width:78px}
/* Michele: „Zuletzt benutzt“ zeigt immer die vollständige Liste nach unten. */
.tabs button{min-height:44px}
.section .recent{grid-auto-flow:row;grid-auto-columns:auto;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible;scrollbar-width:auto}
.catalog-disclosure{border-top:1px solid var(--line);background:#faf8f2}
.catalog-disclosure summary{display:flex;align-items:center;justify-content:space-between;min-height:58px;padding:8px 12px;cursor:pointer;list-style:none;color:var(--green)}
.catalog-disclosure summary::-webkit-details-marker{display:none}
.catalog-disclosure summary strong,.catalog-disclosure summary small{display:block}
.catalog-disclosure summary strong{font-size:15px}
.catalog-disclosure summary small{margin-top:2px;color:var(--muted);font-size:12px;font-weight:500}
.catalog-disclosure .chevron{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--soft);font-size:20px;transition:transform .2s}
.catalog-disclosure[open] .chevron{transform:rotate(180deg)}
.catalog-disclosure .catalog{padding-top:2px;border-top:1px solid var(--line)}
@media(min-width:560px){:where(html:not(.release-list-only)) .section .recent{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:560px) and (max-width:599px){:where(html.release-list-only) .section .recent{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:760px){:where(html:not(.release-list-only)) .section .recent{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* Lokales Miteinander-Iconset 1.0.1 · automatische lokale Versionsprüfung */
:root{--icon:#22463a}
.ic{display:inline-block;flex:none;overflow:visible;color:var(--icon)}
.ic .f{fill:currentColor}.ic .k{fill:var(--knock,#fff)}
.ic .kl{fill:none;stroke:var(--knock,#fff);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ic .ln{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ic .gap{fill:none;stroke:var(--knock,#fff);stroke-width:3;stroke-linejoin:round}
.ic .ko{display:none;fill:none;stroke:var(--knock,#fff);stroke-linecap:round;stroke-linejoin:round}
.icons-kontur .ic .f,.icons-kontur .ic .k{fill:var(--knock,#fff);stroke:currentColor;stroke-width:2;stroke-linejoin:round}
.icons-kontur .ic .kl{stroke:currentColor}.icons-kontur .ic .gap{display:none}.icons-kontur .ic .ko{display:inline}
.icon-slot{display:grid;place-items:center;--knock:#fff;color:var(--icon)}
.card-main{grid-template-columns:36px minmax(0,1fr);--knock:#fff}
.card-main .icon-slot{grid-row:1/3}.recent-card,.catalog-card,.suggestion{--knock:#fff}
.recent-card .icon-slot,.catalog-card .icon-slot{margin:0 auto 3px}
.catalog-card.on,.suggestion[aria-selected=true],.suggestion:hover{--knock:var(--soft)}
.catalog-card.on:after{content:none}.catalog-state-icon{position:absolute;top:5px;right:5px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--green);--icon:#fff;--knock:var(--green)}
.actions button,.finish,.button-with-icon{display:flex;align-items:center;justify-content:center;gap:5px}
.actions button{--knock:#f7f8f5}.actions .cart{--icon:var(--orange)}.actions .details{--icon:var(--green)}.primary{--knock:var(--green);--icon:#fff}.finish{--knock:#fff;--icon:var(--green)}
.suggestion>.icon-slot{width:36px}.side-nav button{display:flex;align-items:center;gap:9px}.side-nav .icon-slot{--knock:var(--dark);--icon:#d4e2d9}
.side-nav button[aria-current=page] .icon-slot{--knock:#ffffff21;--icon:#fff}
.mobile-nav button{--knock:#fffdf8}.mobile-nav button[aria-current=page]{--knock:var(--soft)}
.mobile-nav .icon-slot{margin:0 auto 2px}.icon{display:grid;place-items:center;--knock:var(--paper)}
.catalog-disclosure .chevron{--knock:var(--soft)}.catalog-disclosure[open] .chevron{transform:rotate(180deg)}
.catalog-groups{padding:5px 9px 10px}.catalog-group h3{margin:12px 2px 6px;color:var(--muted);font-size:13px}.catalog-group .catalog{padding:0;border:0}
.example .icon-slot{--knock:var(--paper)}.tip .button-with-icon{width:100%}
.settings-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.style-option{min-height:52px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);font-weight:850}.style-option[aria-pressed=true]{border-color:var(--green);background:var(--soft);color:var(--dark)}
.settings-note{margin:0;color:var(--muted);font-size:13px}.reset-demo{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;border:1px solid #e2b9b2;border-radius:12px;background:#fff;color:#922f27;font-weight:850;--knock:#fff;--icon:#922f27}
.sheet-head .icon-close{display:grid;place-items:center;--knock:#fff}.snack button{display:flex;align-items:center;justify-content:center;gap:5px;--knock:#fff}
.name,.recent-card strong,.catalog-card strong{display:-webkit-box;overflow:hidden;white-space:normal;text-overflow:clip;overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto;text-wrap:balance;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.catalog-card strong{min-height:2.3em;line-height:1.15}
.card-main{grid-template-columns:36px minmax(0,1fr);grid-template-rows:auto;align-items:start;min-height:96px;padding:8px 7px}
.card-main .icon-slot{grid-row:auto;margin-top:2px}
.card-copy{display:grid;min-width:0;gap:3px}
.card-copy .name{min-height:auto;-webkit-line-clamp:2;line-clamp:2}
.card-meta{display:grid;min-width:0;gap:2px;color:var(--muted);font-size:12px;line-height:1.25}
.card-meta-summary{overflow:hidden;font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.card-meta-note{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
.card-main{position:relative}
.card-copy .name{padding-right:27px}
.person-badge{position:absolute;top:7px;right:7px;display:grid;place-items:center;width:23px;height:23px;border:1px solid #0d3f2a;border-radius:50%;background:var(--dark);color:#fff;font-size:11px;font-weight:900;line-height:1;text-transform:uppercase;box-shadow:0 1px 2px #14251c26}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.card-copy{display:block}
.card-copy .name{display:block;overflow:visible;padding-right:0;-webkit-line-clamp:unset;line-clamp:unset}
.card-copy .person-badge{position:static;float:right;margin:-1px 0 2px 4px}
.card-copy .card-meta{clear:both;padding-top:3px}
.list-heading{min-width:0}.list-context{margin:0 0 1px;color:var(--muted);font-size:12px;font-weight:750}.list-switcher{display:flex;align-items:center;gap:6px;max-width:min(70vw,560px);min-height:44px;padding:0;border:0;background:transparent;color:var(--ink);text-align:left}.list-switcher .list-name{overflow:hidden;font-size:19px;font-weight:900;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.list-switcher .chevron{flex:none}.top .list-switcher .icon-slot{flex:none}.product-icon{position:relative;display:grid;place-items:center;width:36px;height:36px}.product-icon .person-badge{position:absolute;right:-2px;bottom:-3px;top:auto;float:none;width:18px;height:18px;margin:0;border:2px solid var(--paper);font-size:10px}.product-icon .person-badge.two{width:auto;min-width:22px;padding:0 4px;border-radius:9px}.card-copy{display:grid;gap:3px}.card-copy .name{display:-webkit-box;overflow:hidden;padding:0;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}.card-copy .card-meta{clear:none;padding-top:0}.sheet-copy{margin:-7px 0 2px;color:var(--muted);font-size:13px}.list-rows,.member-rows{display:grid;gap:8px}.list-row,.member-row,.profile-card{display:grid;align-items:stretch;border:1px solid var(--line);border-radius:13px;background:#fff;overflow:hidden}.list-row{grid-template-columns:minmax(0,1fr) auto}.member-row,.profile-card{grid-template-columns:minmax(0,1fr) 46px}.list-choice,.member-copy{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:9px;min-height:58px;padding:7px 10px;border:0;background:#fff;color:var(--ink);text-align:left}.list-choice[aria-current=true]{background:var(--soft)}.list-choice strong,.list-choice small,.member-copy strong,.member-copy small{display:block}.list-choice small,.member-copy small{color:var(--muted);font-size:12px}.row-action{display:grid;place-items:center;min-width:46px;min-height:46px;border:0;border-left:1px solid var(--line);background:#f7f8f5}.rename-action{display:flex;align-items:center;justify-content:center;gap:5px;min-height:58px;padding:0 10px;border:0;border-left:1px solid var(--line);background:#f7f8f5;color:var(--green);font-size:12px;font-weight:850}.subheading{margin:8px 0 0;font-size:14px}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.inline-form input{min-width:0;height:46px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}.field-error{min-height:1.2em;margin:3px 0 0;color:#922f27;font-size:12px;font-weight:750}.member-dot{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;color:#fff;font-size:11px;font-weight:900}.settings-section{display:grid;gap:8px;padding-top:4px;border-top:1px solid var(--line)}.settings-section h3{margin:0;font-size:15px}.add-member{width:100%}.danger{min-height:46px;border:1px solid #d9a9a3;border-radius:12px;background:#fff;color:#922f27;font-weight:850}.checkbox{display:flex;align-items:center;gap:9px;min-height:44px}.checkbox input{width:20px;height:20px}.list-field{display:grid;gap:4px}.list-field select{width:100%;height:46px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}.member-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.color-choice{min-height:44px;border:2px solid transparent;border-radius:12px;color:#fff;font-weight:900}.color-choice[aria-pressed=true]{outline:3px solid #1768ac;outline-offset:2px}.private-note{padding:10px;border-radius:12px;background:var(--soft);color:var(--dark);font-size:13px}.badge-preview{display:flex;align-items:center;gap:8px}.badge-preview .member-dot{flex:none;width:34px;height:34px}@media(min-width:760px){:where(html:not(.release-list-only)) .list-switcher .list-name{font-size:28px}:where(html:not(.release-list-only)) .list-switcher{max-width:620px}}
/* Teilen pro Liste T1 (Michele 22.10. Nr. 20): Namens-Kreise im Listenkopf geteilter Listen, Initiale auf der Markenfarbe */
.kopf-kreise{display:flex;flex:none;align-items:center}.kopf-kreise[hidden]{display:none}
.kopf-kreise .kopf-kreis{display:grid;place-items:center;width:22px;height:22px;margin-left:-4px;border:2px solid var(--paper);border-radius:50%;background:var(--soft);color:var(--ink);font-size:11px;font-weight:850;line-height:1}
.kopf-kreise .kopf-kreis:first-child{margin-left:0}
.kopf-zusatz{margin:0;color:var(--muted);font-size:12px;font-weight:750}.kopf-zusatz[hidden]{display:none}
.kopf-kreise-knopf{display:flex;flex:none;align-items:center;min-width:44px;min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--ink)}.kopf-kreise-knopf[hidden]{display:none}
.kopf-kreise-knopf .kopf-kreis{width:28px;height:28px;margin-left:-6px;font-size:13px}
.kopf-teilen{flex:none;min-width:44px;padding:0 12px}.kopf-teilen[hidden]{display:none}
.teilen-inhalt{display:grid;gap:10px}.teilen-inhalt p{margin:0}.teilen-abschnitt{color:var(--muted);font-size:13px;font-weight:850}
.teilen-personen{display:grid;gap:6px;margin:0;padding:0;list-style:none}.teilen-person{display:flex;align-items:center;gap:10px;min-height:44px}
.teilen-kz{display:grid;flex:none;place-items:center;width:28px;height:28px;overflow:hidden;border-radius:50%;background:var(--soft);color:var(--ink);font-size:13px;font-weight:850}
.teilen-nm{display:grid;flex:1;min-width:0;overflow-wrap:anywhere}.teilen-nm small{color:var(--muted);font-size:12px}
.mini-knopf{flex:none;min-width:44px;min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-weight:800}
.teilen-hinweis{padding:10px 12px;border-radius:12px;background:var(--soft);color:var(--ink)}.teilen-wahl{display:flex;gap:8px}.teilen-wahl button{flex:1}
.neue-liste{width:100%;margin-top:10px}
.store-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px;margin:0 -1px 8px}.store-views{display:flex;gap:6px;overflow-x:auto;padding:2px 1px 5px;scrollbar-width:none;overscroll-behavior-inline:contain;scroll-snap-type:x proximity}.store-views::-webkit-scrollbar{display:none}.store-view{flex:none;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:22px;background:#fff;color:var(--muted);font-size:13px;font-weight:850;scroll-snap-align:start}.store-view[aria-pressed=true]{border-color:var(--green);background:var(--soft);color:var(--dark)}.sort-order{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:13px;background:#fff;--knock:#fff;color:var(--green)}.store-groups{display:grid;gap:10px}.store-group h3{display:flex;align-items:center;gap:6px;margin:2px 1px 6px;color:var(--muted);font-size:12px}.store-group h3 .icon-slot{--knock:var(--paper)}.store-group .grid{margin:0}.store-empty{grid-column:1/-1}.sheet-body fieldset.field{min-width:0;margin:0;padding:8px;border:1px solid var(--line);border-radius:12px}.sheet-body fieldset.field legend{padding:0 5px;font-weight:750}.store-choices,.store-type-settings{display:grid;gap:5px}.store-choice,.store-type-choice{display:flex;align-items:center;gap:9px;min-height:44px;padding:6px 9px;border:1px solid var(--line);border-radius:11px;background:#fff}.store-choice input,.store-type-choice input{width:20px;height:20px}.store-choice small,.store-type-choice small{display:block;color:var(--muted);font-size:13px;font-weight:400;line-height:1.4}.store-auto{padding:0 2px}.category-field select{width:100%;height:46px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}.order-rows{display:grid;gap:7px}.order-row{display:grid;grid-template-columns:34px minmax(0,1fr) 44px 44px;align-items:center;gap:5px;min-height:52px;padding:4px;border:1px solid var(--line);border-radius:12px;background:#fff}.order-row .icon-slot{--knock:#fff}.order-row strong{font-size:13px}.order-move{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:10px;background:#f2f5f1;color:var(--green);font-size:19px;font-weight:900}.order-move:disabled{opacity:.35;cursor:default}.order-reset{width:100%}.button-with-icon .add-label{display:inline}.field-help{margin:2px 0 0;color:var(--muted);font-size:12px}.settings-section .store-type-settings{margin-top:-2px}.name,.recent-card strong,.catalog-card strong{hyphens:manual;-webkit-hyphens:manual;overflow-wrap:break-word;word-break:normal}.custom-name{hyphens:auto;-webkit-hyphens:auto}.add-state .icon-slot{display:none}@media(max-width:359px){.search .button-with-icon{width:44px;padding:0}.search .button-with-icon .add-label{display:none}.add-state{font-size:0}.add-state .icon-slot{display:grid}}@media(min-width:760px){:where(html:not(.release-list-only)) .store-group .grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Mobile-First-Karten: Produktbild und Text konkurrieren nie um dieselbe Zeile. */
.card-main{grid-template-columns:60px minmax(0,1fr);min-height:96px;padding:10px}.product-icon{width:60px;height:60px}.suggestion>.icon-slot{width:52px}.recent-card,.catalog-card{min-height:128px;padding:10px 6px}.recent-card .icon-slot,.catalog-card .icon-slot{min-height:58px}.card-meta-summary{overflow:visible;text-overflow:clip;white-space:normal}

  :where(html.release-list-only) .main{padding-inline:0}:where(html.release-list-only) .top{margin-inline:0;padding-inline:14px}:where(html.release-list-only) .shell{border-inline:0;border-radius:0}:where(html.release-list-only) .summary{padding:8px 14px}:where(html.release-list-only) .controls{top:54px}:where(html.release-list-only) .search{grid-template-columns:minmax(0,1fr) 52px;padding:8px 12px}:where(html.release-list-only) .search .button-with-icon{width:52px;padding:0}:where(html.release-list-only) .search .button-with-icon .add-label{display:none}:where(html.release-list-only) .section{padding:12px}:where(html.release-list-only) .section-head{margin-bottom:10px}:where(html.release-list-only) .section-head h2{font-size:17px}:where(html.release-list-only) #count{display:none}:where(html.release-list-only) .grid{gap:10px}:where(html.release-list-only) .card{border-radius:18px}
  :where(html.release-list-only) .card-main{display:flex;flex-direction:column;align-items:stretch;min-height:166px;padding:12px 10px 10px;text-align:center}:where(html.release-list-only) .product-icon{align-self:center;width:64px;height:64px}:where(html.release-list-only) .product-icon .person-badge{right:-4px;bottom:-3px;width:20px;height:20px;font-size:10px}:where(html.release-list-only) .product-icon .person-badge.two{min-width:24px}:where(html.release-list-only) .card-copy{display:grid;width:100%;gap:5px}:where(html.release-list-only) .card-copy .name{display:block;min-height:2.3em;overflow:visible;font-size:16px;line-height:1.15;text-wrap:balance;-webkit-line-clamp:unset;line-clamp:unset}:where(html.release-list-only) .card-copy .card-meta{display:grid;gap:3px;padding-top:0}:where(html.release-list-only) .card-meta-note{overflow:visible;-webkit-line-clamp:3;line-clamp:3}:where(html.release-list-only) .actions button{min-height:52px}:where(html.release-list-only) .store-toolbar{margin-bottom:10px}:where(html.release-list-only) .store-views{padding-bottom:4px}:where(html.release-list-only) .store-view{padding-inline:14px}
  :where(html.release-list-only) .recent{gap:10px}:where(html.release-list-only) .recent-card,:where(html.release-list-only) .catalog-card{min-height:146px;padding:12px 8px}:where(html.release-list-only) .recent-card strong,:where(html.release-list-only) .catalog-card strong{min-height:2.3em;overflow:visible;font-size:14px;line-height:1.15;-webkit-line-clamp:unset;line-clamp:unset}:where(html.release-list-only) .recent-card small,:where(html.release-list-only) .catalog-card small{margin-top:4px}:where(html.release-list-only) .catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:where(html.release-list-only) .suggestion{grid-template-columns:52px minmax(0,1fr) auto;min-height:68px;padding:8px 10px}
@media(max-width:759px){
  :where(html:not(.release-list-only)) .main{padding-inline:0}:where(html:not(.release-list-only)) .top{margin-inline:0;padding-inline:14px}:where(html:not(.release-list-only)) .shell{border-inline:0;border-radius:0}:where(html:not(.release-list-only)) .summary{padding:8px 14px}:where(html:not(.release-list-only)) .controls{top:54px}:where(html:not(.release-list-only)) .search{grid-template-columns:minmax(0,1fr) 52px;padding:8px 12px}:where(html:not(.release-list-only)) .search .button-with-icon{width:52px;padding:0}:where(html:not(.release-list-only)) .search .button-with-icon .add-label{display:none}:where(html:not(.release-list-only)) .section{padding:12px}:where(html:not(.release-list-only)) .section-head{margin-bottom:10px}:where(html:not(.release-list-only)) .section-head h2{font-size:17px}:where(html:not(.release-list-only)) #count{display:none}:where(html:not(.release-list-only)) .grid{gap:10px}:where(html:not(.release-list-only)) .card{border-radius:18px}
  :where(html:not(.release-list-only)) .card-main{display:flex;flex-direction:column;align-items:stretch;min-height:166px;padding:12px 10px 10px;text-align:center}:where(html:not(.release-list-only)) .product-icon{align-self:center;width:64px;height:64px}:where(html:not(.release-list-only)) .product-icon .person-badge{right:-4px;bottom:-3px;width:20px;height:20px;font-size:10px}:where(html:not(.release-list-only)) .product-icon .person-badge.two{min-width:24px}:where(html:not(.release-list-only)) .card-copy{display:grid;width:100%;gap:5px}:where(html:not(.release-list-only)) .card-copy .name{display:block;min-height:2.3em;overflow:visible;font-size:16px;line-height:1.15;text-wrap:balance;-webkit-line-clamp:unset;line-clamp:unset}:where(html:not(.release-list-only)) .card-copy .card-meta{display:grid;gap:3px;padding-top:0}:where(html:not(.release-list-only)) .card-meta-note{overflow:visible;-webkit-line-clamp:3;line-clamp:3}:where(html:not(.release-list-only)) .actions button{min-height:52px}:where(html:not(.release-list-only)) .store-toolbar{margin-bottom:10px}:where(html:not(.release-list-only)) .store-views{padding-bottom:4px}:where(html:not(.release-list-only)) .store-view{padding-inline:14px}
  :where(html:not(.release-list-only)) .recent{gap:10px}:where(html:not(.release-list-only)) .recent-card,:where(html:not(.release-list-only)) .catalog-card{min-height:146px;padding:12px 8px}:where(html:not(.release-list-only)) .recent-card strong,:where(html:not(.release-list-only)) .catalog-card strong{min-height:2.3em;overflow:visible;font-size:14px;line-height:1.15;-webkit-line-clamp:unset;line-clamp:unset}:where(html:not(.release-list-only)) .recent-card small,:where(html:not(.release-list-only)) .catalog-card small{margin-top:4px}:where(html:not(.release-list-only)) .catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}:where(html:not(.release-list-only)) .suggestion{grid-template-columns:52px minmax(0,1fr) auto;min-height:68px;padding:8px 10px}
}
@media(min-width:760px){:where(html:not(.release-list-only)) .card-main{grid-template-columns:64px minmax(0,1fr)}:where(html:not(.release-list-only)) .product-icon{width:60px;height:60px}}

/* Paket E: freie Produktnamen, Zuordnung, Varianten und eigene Produkte. */
.field-label{display:block;margin-bottom:4px;color:var(--muted);font-size:12px;font-weight:850}
.assignment-field{display:grid;gap:6px}.assignment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:48px;padding:7px 8px 7px 11px;border:1px solid var(--line);border-radius:12px;background:#fff}.assignment-row strong{font-size:14px}.compact{min-height:44px;padding:0 12px}.assignment-field>select{width:100%;min-height:46px;padding:0 10px;border:1px solid #b9c5bd;border-radius:11px;background:#fff;font-size:16px}
.counter-label{justify-self:center;padding:2px 7px;border-radius:10px;background:var(--soft);color:var(--dark);font-size:11px;font-weight:900}.card-meta:has(.counter-label){grid-template-columns:1fr auto;align-items:center}.card-meta-note{grid-column:1/-1}
.department-hint{margin:7px 2px 0;padding:8px 10px;border-radius:10px;background:#f1eee5;color:var(--muted);font-size:12px}
.custom-catalog-card{position:relative;display:grid;grid-template-rows:1fr auto;padding:0}.custom-product-add{width:100%;min-height:100px;padding:10px 42px 6px 6px;border:0;border-radius:13px 13px 0 0;background:#fff;color:var(--ink)}.custom-product-add strong{display:block}.custom-product-edit{display:grid!important;place-items:center;width:100%;height:44px;border:0;border-top:1px solid var(--line);border-radius:0 0 13px 13px;background:#f7f8f5;color:var(--green);--knock:#f7f8f5;--icon:var(--green)}
.custom-create-card{border-style:dashed;background:var(--soft);color:var(--dark)}
.custom-icon-row{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:end;gap:10px}.custom-icon-row>.field{min-width:0}.custom-icon-row select{max-width:100%}#customIconPreview{display:grid;place-items:center;width:64px;height:64px;border:1px solid var(--line);border-radius:14px;background:#fff;--knock:#fff}
#customProductDialog .field-help{margin-top:2px}.sheet-body .field input[list]{padding-right:30px}
@media(max-width:359px){.assignment-row{grid-template-columns:1fr}.assignment-row .compact{width:100%}}

/* Hell/Dunkel: Standard folgt dem Betriebssystem, kann in Einstellungen übersteuert werden. */
.theme-options{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.theme-options .style-option{min-width:0}
html[data-theme="dark"]{color-scheme:dark;--cream:#41678d;--paper:#3f6b8f;--ink:#edf5f0;--muted:#eff1f0;--line:#b1cadd;--green:#e0f4ea;--dark:#dcf5e7;--soft:#377392;--orange:#ffe1d6;--shadow:0 14px 38px #0008;--icon:#d7eee1;--meldung-flaeche:#1c2834}
html[data-theme="dark"] body{background:var(--cream)}
html[data-theme="dark"] .top{background:#41678df2}
html[data-theme="dark"] .shell,html[data-theme="dark"] .panel,html[data-theme="dark"] .sheet,html[data-theme="dark"] .welcome,html[data-theme="dark"] .sheet-head,html[data-theme="dark"] .mobile-nav{background:var(--paper)}
html[data-theme="dark"] .section+.section,html[data-theme="dark"] .catalog-disclosure{background:#3f698e}
html[data-theme="dark"] .controls{background:#3f6b8ff2}
html[data-theme="dark"] .card,html[data-theme="dark"] .card-main,html[data-theme="dark"] .recent-card,html[data-theme="dark"] .catalog-card,html[data-theme="dark"] .suggestions,html[data-theme="dark"] .suggestion,html[data-theme="dark"] .secondary,html[data-theme="dark"] .finish,html[data-theme="dark"] .icon,html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .assignment-row,html[data-theme="dark"] .assignment-field>select,html[data-theme="dark"] .list-field select,html[data-theme="dark"] .category-field select,html[data-theme="dark"] .inline-form input,html[data-theme="dark"] .welcome-person,html[data-theme="dark"] .list-row,html[data-theme="dark"] .member-row,html[data-theme="dark"] .profile-card,html[data-theme="dark"] .list-choice,html[data-theme="dark"] .store-choice,html[data-theme="dark"] .store-type-choice,html[data-theme="dark"] .style-option,html[data-theme="dark"] #customIconPreview{background:#3e6d90;color:var(--ink)}
html[data-theme="dark"] .actions button,html[data-theme="dark"] .row-action,html[data-theme="dark"] .rename-action,html[data-theme="dark"] .custom-product-edit,html[data-theme="dark"] .order-move{background:#3e6f91;--knock:#3e6f91}
html[data-theme="dark"] .primary{border-color:#b9e6cb;background:#b9e6cb;color:#103322;--knock:#b9e6cb;--icon:#103322}
html[data-theme="dark"] .search input{background:#3e6d90;color:var(--ink)}
html[data-theme="dark"] .search input::placeholder{color:#e5e9e7}
html[data-theme="dark"] .suggestion[aria-selected=true],html[data-theme="dark"] .suggestion:hover,html[data-theme="dark"] .catalog-card.on,html[data-theme="dark"] .list-choice[aria-current=true],html[data-theme="dark"] .style-option[aria-pressed=true]{background:var(--soft);--knock:var(--soft)}
html[data-theme="dark"] .department-hint,html[data-theme="dark"] .private-note{background:#3f7092;color:#eaefec}
html[data-theme="dark"] .danger,html[data-theme="dark"] .reset-demo{background:#57648d;color:#ffe5df}
.top .icon-slot,html[data-theme="dark"] .sheet-head .icon-slot{--knock:var(--paper)}

/* rc.2: semantische Oberflächen- und Kontrast-Tokens für beide Farbschemata. */
:root{--surface:#fff;--surface-2:#f7f8f5;--surface-3:#faf8f2;--field:#fff;--focus:#1768ac;--danger:#922f27;--danger-bg:#fff;--knock:var(--surface)}
html[data-theme="dark"]{--surface:#3e6d90;--surface-2:#3e6f91;--surface-3:#3f698e;--field:#3e6d90;--focus:#ffe08a;--danger:#ffe5df;--danger-bg:#57648d}
button:focus-visible,input:focus-visible,select:focus-visible,.color-choice[aria-pressed=true]{outline-color:var(--focus)}
.icon-slot{--knock:inherit}
.card,.card-main,.recent-card,.catalog-card,.suggestions,.suggestion,.secondary,.finish,.icon,.list-row,.member-row,.profile-card,.list-choice,.member-copy,.store-view,.sort-order,.store-choice,.store-type-choice,.style-option,.assignment-row,.assignment-field>select,.order-row,.custom-product-add,#customIconPreview,.sheet-head .icon-close{background:var(--surface);color:var(--ink);--knock:var(--surface)}
.field input,.field select,.list-field select,.category-field select,.inline-form input,.welcome-person,.search input{background:var(--field);color:var(--ink)}
.actions button,.row-action,.rename-action,.custom-product-edit,.order-move{background:var(--surface-2);--knock:var(--surface-2)}
.section+.section,.catalog-disclosure{background:var(--surface-3)}
.catalog-card.on,.suggestion[aria-selected=true],.suggestion:hover,.list-choice[aria-current=true],.style-option[aria-pressed=true],.mobile-nav button[aria-current=page]{background:var(--soft);--knock:var(--soft)}
.primary{--knock:var(--green)}
.remove,.field-error{color:var(--danger)}
.danger,.reset-demo{background:var(--danger-bg);color:var(--danger);--icon:var(--danger);--knock:var(--danger-bg)}
.snack button{background:var(--surface);color:var(--ink);--knock:var(--surface)}
.store-view{color:var(--muted)}
.store-view[aria-pressed=true]{background:var(--soft);color:var(--dark);--knock:var(--soft)}
.sort-order,.sheet-head .icon-close{--icon:var(--green)}
.order-row>.icon-slot,.store-group h3,.top,.sheet-head{--knock:var(--surface)}
.custom-create-card{background:var(--soft);color:var(--dark);--knock:var(--soft)}

/* Mobile-Dichte Variante A: mehr Produkte, unveränderte getrennte Aktionen. */
.top-count{display:none;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:var(--soft);color:var(--dark);font-size:12px;font-weight:900;line-height:1}
.counter-badge{position:absolute;top:-4px;left:-7px;z-index:1;padding:2px 5px;border:2px solid var(--surface);border-radius:9px;background:var(--soft);color:var(--dark);font-size:9px;font-weight:900;line-height:1}


  :where(html.release-list-only) .top{min-height:50px;padding-block:calc(4px + env(safe-area-inset-top)) 4px}:where(html.release-list-only) .list-context{display:none}:where(html.release-list-only) .list-switcher{max-width:calc(100vw - 70px)}:where(html.release-list-only) .list-switcher .list-name{font-size:18px}:where(html.release-list-only) .top-count{display:grid}:where(html.release-list-only) .controls{top:50px}
  :where(html.release-list-only) .summary:not(.has-cart){display:none}:where(html.release-list-only) .summary.has-cart{min-height:52px;padding:4px 8px}:where(html.release-list-only) .summary.has-cart>div{min-width:0}:where(html.release-list-only) .summary.has-cart #summaryTitle{font-size:13px}:where(html.release-list-only) .summary.has-cart #summarySub{display:-webkit-box;overflow:hidden;font-size:10px;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html.release-list-only) .summary .finish{min-height:44px;padding-inline:8px;font-size:12px}
  :where(html.release-list-only) .search{gap:6px;padding:6px 8px}:where(html.release-list-only) .section{padding:8px}:where(html.release-list-only) .section-head{margin-bottom:6px}:where(html.release-list-only) .section-head h2{font-size:15px}:where(html.release-list-only) .store-toolbar{margin-bottom:6px}:where(html.release-list-only) .store-views{gap:5px;padding-bottom:2px}:where(html.release-list-only) .store-view{padding-inline:11px}:where(html.release-list-only) .sort-order{width:44px;height:44px}
  :where(html.release-list-only) .grid,:where(html.release-list-only) .section .recent,:where(html.release-list-only) .catalog{grid-template-columns:repeat(auto-fill,minmax(6.4rem,1fr));gap:6px}:where(html.release-list-only) .catalog{padding:8px}:where(html.release-list-only) .store-group .grid{grid-template-columns:repeat(auto-fill,minmax(6.4rem,1fr))}:where(html.release-list-only) .store-groups{gap:8px}:where(html.release-list-only) .store-group h3{margin-bottom:4px}
  :where(html.release-list-only) .card{display:flex;min-width:0;flex-direction:column;border-radius:14px}:where(html.release-list-only) .card-main{display:flex;flex:1;flex-direction:column;align-items:stretch;min-height:158px;padding:8px 6px 6px;text-align:center}:where(html.release-list-only) .product-icon{align-self:center;width:56px;height:56px}:where(html.release-list-only) .product-icon .person-badge{right:-4px;bottom:-3px;width:19px;height:19px}:where(html.release-list-only) .product-icon .person-badge.two{min-width:23px}:where(html.release-list-only) .card-copy{display:grid;width:100%;min-width:0;gap:3px}:where(html.release-list-only) .card-copy .name{min-width:0;max-width:100%;min-height:2.3em;overflow:visible;overflow-wrap:anywhere;font-size:14px;line-height:1.15;text-wrap:balance;hyphens:manual;-webkit-hyphens:manual;-webkit-line-clamp:unset;line-clamp:unset}:where(html.release-list-only) .card-copy .name.custom-name{hyphens:auto;-webkit-hyphens:auto}:where(html.release-list-only) .card-copy .card-meta{display:grid;min-width:0;gap:2px;padding-top:0;font-size:11px}:where(html.release-list-only) .card-meta-summary{overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}:where(html.release-list-only) .card-meta-note{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html.release-list-only) .actions{margin-top:auto}:where(html.release-list-only) .actions button{min-height:44px}
  :where(html.release-list-only) .recent{gap:6px}:where(html.release-list-only) .recent-card,:where(html.release-list-only) .catalog-card{min-height:126px;padding:8px 5px}:where(html.release-list-only) .recent-card .icon-slot,:where(html.release-list-only) .catalog-card .icon-slot{min-height:56px}:where(html.release-list-only) .recent-card strong,:where(html.release-list-only) .catalog-card strong{min-height:2.3em;overflow:visible;font-size:13px;line-height:1.15;-webkit-line-clamp:unset;line-clamp:unset}:where(html.release-list-only) .recent-card small,:where(html.release-list-only) .catalog-card small{display:-webkit-box;overflow:hidden;margin-top:2px;font-size:11px;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html.release-list-only) .custom-catalog-card{min-height:126px;padding:0}:where(html.release-list-only) .custom-product-add{min-height:90px;padding:6px 38px 4px 4px}:where(html.release-list-only) .custom-product-edit{height:44px}
@media(max-width:759px){
  :where(html:not(.release-list-only)) .top{min-height:50px;padding-block:calc(4px + env(safe-area-inset-top)) 4px}:where(html:not(.release-list-only)) .list-context{display:none}:where(html:not(.release-list-only)) .list-switcher{max-width:calc(100vw - 70px)}:where(html:not(.release-list-only)) .list-switcher .list-name{font-size:18px}:where(html:not(.release-list-only)) .top-count{display:grid}:where(html:not(.release-list-only)) .controls{top:50px}
  :where(html:not(.release-list-only)) .summary:not(.has-cart){display:none}:where(html:not(.release-list-only)) .summary.has-cart{min-height:52px;padding:4px 8px}:where(html:not(.release-list-only)) .summary.has-cart>div{min-width:0}:where(html:not(.release-list-only)) .summary.has-cart #summaryTitle{font-size:13px}:where(html:not(.release-list-only)) .summary.has-cart #summarySub{display:-webkit-box;overflow:hidden;font-size:10px;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html:not(.release-list-only)) .summary .finish{min-height:44px;padding-inline:8px;font-size:12px}
  :where(html:not(.release-list-only)) .search{gap:6px;padding:6px 8px}:where(html:not(.release-list-only)) .section{padding:8px}:where(html:not(.release-list-only)) .section-head{margin-bottom:6px}:where(html:not(.release-list-only)) .section-head h2{font-size:15px}:where(html:not(.release-list-only)) .store-toolbar{margin-bottom:6px}:where(html:not(.release-list-only)) .store-views{gap:5px;padding-bottom:2px}:where(html:not(.release-list-only)) .store-view{padding-inline:11px}:where(html:not(.release-list-only)) .sort-order{width:44px;height:44px}
  :where(html:not(.release-list-only)) .grid,:where(html:not(.release-list-only)) .section .recent,:where(html:not(.release-list-only)) .catalog{grid-template-columns:repeat(auto-fill,minmax(6.4rem,1fr));gap:6px}:where(html:not(.release-list-only)) .catalog{padding:8px}:where(html:not(.release-list-only)) .store-group .grid{grid-template-columns:repeat(auto-fill,minmax(6.4rem,1fr))}:where(html:not(.release-list-only)) .store-groups{gap:8px}:where(html:not(.release-list-only)) .store-group h3{margin-bottom:4px}
  :where(html:not(.release-list-only)) .card{display:flex;min-width:0;flex-direction:column;border-radius:14px}:where(html:not(.release-list-only)) .card-main{display:flex;flex:1;flex-direction:column;align-items:stretch;min-height:158px;padding:8px 6px 6px;text-align:center}:where(html:not(.release-list-only)) .product-icon{align-self:center;width:56px;height:56px}:where(html:not(.release-list-only)) .product-icon .person-badge{right:-4px;bottom:-3px;width:19px;height:19px}:where(html:not(.release-list-only)) .product-icon .person-badge.two{min-width:23px}:where(html:not(.release-list-only)) .card-copy{display:grid;width:100%;min-width:0;gap:3px}:where(html:not(.release-list-only)) .card-copy .name{min-width:0;max-width:100%;min-height:2.3em;overflow:visible;overflow-wrap:anywhere;font-size:14px;line-height:1.15;text-wrap:balance;hyphens:manual;-webkit-hyphens:manual;-webkit-line-clamp:unset;line-clamp:unset}:where(html:not(.release-list-only)) .card-copy .name.custom-name{hyphens:auto;-webkit-hyphens:auto}:where(html:not(.release-list-only)) .card-copy .card-meta{display:grid;min-width:0;gap:2px;padding-top:0;font-size:11px}:where(html:not(.release-list-only)) .card-meta-summary{overflow:visible;overflow-wrap:anywhere;text-overflow:clip;white-space:normal}:where(html:not(.release-list-only)) .card-meta-note{display:-webkit-box;overflow:hidden;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html:not(.release-list-only)) .actions{margin-top:auto}:where(html:not(.release-list-only)) .actions button{min-height:44px}
  :where(html:not(.release-list-only)) .recent{gap:6px}:where(html:not(.release-list-only)) .recent-card,:where(html:not(.release-list-only)) .catalog-card{min-height:126px;padding:8px 5px}:where(html:not(.release-list-only)) .recent-card .icon-slot,:where(html:not(.release-list-only)) .catalog-card .icon-slot{min-height:56px}:where(html:not(.release-list-only)) .recent-card strong,:where(html:not(.release-list-only)) .catalog-card strong{min-height:2.3em;overflow:visible;font-size:13px;line-height:1.15;-webkit-line-clamp:unset;line-clamp:unset}:where(html:not(.release-list-only)) .recent-card small,:where(html:not(.release-list-only)) .catalog-card small{display:-webkit-box;overflow:hidden;margin-top:2px;font-size:11px;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}:where(html:not(.release-list-only)) .custom-catalog-card{min-height:126px;padding:0}:where(html:not(.release-list-only)) .custom-product-add{min-height:90px;padding:6px 38px 4px 4px}:where(html:not(.release-list-only)) .custom-product-edit{height:44px}
}

@media(max-width:339px){
  .grid,.section .recent,.catalog,.store-group .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Schritt V: Installationsseite und Hinweis (UX-installation.md) */
.install-hint{max-width:900px;margin:10px auto 0;display:grid;gap:10px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--ink)}.install-hint p{margin:0;font-size:14px;font-weight:750}.install-hint-actions{display:flex;flex-wrap:wrap;gap:8px}.install-hint-actions button{padding:0 14px}
.install-gate-on .app{display:none}.install-gate{min-height:100dvh;display:grid;justify-items:center;align-content:start;padding:calc(20px + env(safe-area-inset-top)) 16px calc(24px + env(safe-area-inset-bottom));background:var(--cream)}
.gate-card{width:min(520px,100%);display:grid;gap:16px;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);box-shadow:var(--shadow)}.gate-content{display:grid;gap:14px}.gate-card h1,.gate-card h2,.gate-card p{margin:0}.gate-card h1{font-size:25px;line-height:1.15}.gate-card h2{font-size:17px}
.gate-steps{display:grid;gap:10px;margin:0;padding-left:24px}.gate-steps li{padding-left:4px;line-height:1.45}.gate-note{color:var(--muted);font-size:14px}.gate-backup{display:grid;gap:10px;padding:14px;border-radius:14px;background:var(--soft)}.gate-card .primary,.gate-card .secondary{width:100%;padding:0 14px}.gate-link{width:100%;height:46px;padding:0 10px;border:1px solid var(--line);border-radius:11px;background:var(--field);color:var(--ink);font-size:16px}
.settings-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:14px;font-weight:750}.settings-toggle input{width:22px;height:22px;margin:0;accent-color:var(--green)}
/* Gefahrenknöpfe: im Dunkelmodus rot statt grün (html[data-theme="dark"] .primary war spezifischer), Kontrast zu Weiß ≈ 5:1 */
.danger-action,.confirm-actions .danger-action,html[data-theme="dark"] .danger-action{border-color:#922f27;background:#922f27;color:#fff}
html[data-theme="dark"] .danger-action,html[data-theme="dark"] .confirm-actions .danger-action{border-color:#ffb4a3;background:#ffb4a3;color:#4a1209}
/* Fokusrahmen auch für Links und Textfelder */
textarea:focus-visible,a:focus-visible{outline:3px solid #1768ac;outline-offset:2px}
html[data-theme="dark"] textarea:focus-visible,html[data-theme="dark"] a:focus-visible{outline-color:var(--focus)}
/* Konto (Beta, konto.js) */
.konto-status{max-width:900px;margin:10px auto 0;display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--ink)}.konto-status p{margin:0;font-size:14px;font-weight:750}.konto-zeile{display:grid;gap:8px}.konto-zeile+.konto-zeile{padding-top:8px;border-top:1px solid var(--line)}.konto-zeile>button{justify-self:start;padding:0 14px}
.konto-section{display:grid;gap:10px}.konto-section p{margin:0}.konto-section>button,.konto-aktion button{width:100%;padding:0 14px}.konto-aktionen{display:grid;gap:8px}.konto-aktion{display:grid;gap:4px}.konto-haushalt{margin:0;font-size:15px}.konto-personen{margin:0;padding-left:20px}.konto-personen li{min-height:28px}
.konto-dialog .sheet-body{padding-bottom:calc(18px + env(safe-area-inset-bottom))}.konto-dialog .sheet-body>button{width:100%;padding:0 14px}.konto-dialog .icon-close{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-size:22px}.konto-beta{padding:12px;border-radius:12px;background:var(--soft);font-size:14px}.konto-beta p{margin:0 0 6px;font-weight:800}.konto-beta ul{margin:0;padding-left:20px;display:grid;gap:4px}.konto-text{width:100%;padding:10px;border:1px solid var(--line);border-radius:11px;background:var(--field);color:var(--ink);font:inherit;font-size:16px}.konto-link{color:var(--green);font-weight:850}
.konto-dialog{overflow:auto}.konto-check{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start;font-size:14px;font-weight:750}.konto-check input{width:22px;height:22px;margin:0;accent-color:var(--green)}
#confirmMessage{white-space:pre-line}.konto-nie{display:grid;gap:6px;padding:12px;border-radius:12px;background:var(--soft);font-size:14px}.konto-nie h4{margin:0;font-size:14px}.konto-nie ul{margin:0;padding-left:20px}.konto-nie p{margin:0}
.field label.konto-check,.konto-check{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:center;min-height:44px;margin:0;color:var(--ink);font-size:14px;font-weight:750}
.konto-link-gross{display:inline-flex;align-items:center;min-height:44px}
.konto-ziel{border:0;padding:0;margin:0;display:grid;gap:8px;min-width:0}.konto-ziel legend{padding:0;margin-bottom:4px;font-weight:750;color:var(--ink)}
#detailsForm .sheet-actions .primary:disabled,#remove:disabled,.konto-aktion button:disabled{opacity:.45;cursor:not-allowed}
.konto-personen{list-style:none;padding-left:0;display:grid;gap:8px}.konto-person{display:grid;gap:6px;padding:8px 0;border-bottom:1px solid var(--line)}.konto-person-aktionen{display:grid;gap:6px}
/* Eingabe unten auf schmalen Bildschirmen (Daumen, wie Bring!). --ek-tastatur hebt die Leiste über die
   Bildschirmtastatur (visualViewport, app-v3.js); ab 760 px bleibt sie oben. */

:where(html.release-list-only) .controls{position:fixed;top:auto;left:0;right:0;bottom:var(--ek-tastatur,0px);z-index:40;margin:0;padding-bottom:env(safe-area-inset-bottom);border-block:0;border-top:1px solid var(--line);box-shadow:0 -8px 24px #1f362a14}
html:not(.release-list-only):where(.release-list-only) .controls{bottom:calc(var(--nav) + 14px + env(safe-area-inset-bottom) + var(--ek-tastatur,0px));padding-bottom:0}
html.ek-tastatur-offen:where(.release-list-only) .controls{padding-bottom:0}
.release-list-only .main{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.release-list-only .snack{bottom:calc(76px + env(safe-area-inset-bottom) + var(--ek-tastatur,0px))}
html.ek-tastatur-offen.release-list-only:where(.release-list-only) .snack{bottom:calc(76px + var(--ek-tastatur,0px))}
html:where(.release-list-only){scroll-padding-bottom:calc(70px + env(safe-area-inset-bottom))}
@media(max-width:759px){
:where(html:not(.release-list-only)) .controls{position:fixed;top:auto;left:0;right:0;bottom:var(--ek-tastatur,0px);z-index:40;margin:0;padding-bottom:env(safe-area-inset-bottom);border-block:0;border-top:1px solid var(--line);box-shadow:0 -8px 24px #1f362a14}
html:not(.release-list-only):where(:not(.release-list-only)) .controls{bottom:calc(var(--nav) + 14px + env(safe-area-inset-bottom) + var(--ek-tastatur,0px));padding-bottom:0}
html.ek-tastatur-offen:where(:not(.release-list-only)) .controls{padding-bottom:0}
html.ek-tastatur-offen.release-list-only:where(:not(.release-list-only)) .snack{bottom:calc(76px + var(--ek-tastatur,0px))}
html:where(:not(.release-list-only)){scroll-padding-bottom:calc(70px + env(safe-area-inset-bottom))}
}
/* Eigener Löschknopf im Suchfeld (statt des nativen type=search-X, das in iOS-Standalone teils fehlt) */
.search-field{position:relative;min-width:0;display:grid}.search-field input{width:100%;padding-right:48px}
#searchInput::-webkit-search-cancel-button,#searchInput::-webkit-search-decoration{display:none;-webkit-appearance:none;appearance:none}
.search-clear{position:absolute;top:50%;right:0;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;color:var(--muted);transform:translateY(-50%);--knock:transparent}
/* UX-1 Variante A (Gate 1a): kompakte Trefferzeilen, 56 px; die Unterzeile nur bei Mehrdeutigkeit sichtbar (für VoiceOver steht sie im Namen),
   rechts nur das „+“ statt „Hinzufügen“. */
.suggestion{grid-template-columns:40px minmax(0,1fr) auto;min-height:56px;padding:6px 10px}
.suggestion>.icon-slot{width:40px}
.suggestion:not(.mit-hinweis) small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.suggestion .add-state .icon-slot{display:grid}
/* UX-1: Rückmeldung im leeren Suchfeld (aria-hidden; angesagt über die Live-Region der Snackbar), ↶ an der Stelle des Lösch-X. */
#snack.verdeckt{opacity:0;pointer-events:none}
.feld-meldung{position:absolute;left:14px;right:52px;top:50%;overflow:hidden;color:var(--green);font-size:16px;font-weight:800;white-space:nowrap;text-overflow:ellipsis;pointer-events:none;transform:translateY(-50%)}
.feld-rueckgaengig{position:absolute;top:50%;right:0;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:2px solid currentColor;border-radius:12px;background:transparent;color:var(--green);transform:translateY(-50%);--knock:transparent}
#searchInput.mit-meldung::placeholder{color:transparent}
html[data-theme="dark"] .feld-meldung,html[data-theme="dark"] .feld-rueckgaengig{color:#cff0da}
/* UI-76: Lösch-X an allen editierbaren Textfeldern (Helfer loeschX in app-v3.js); Platz rechts, damit kein Text darunter verschwindet. */
.feld-x{position:relative;display:block;min-width:0}
.feld-x>input,.feld-x>textarea,.sheet-body .field .feld-x>input[list]{width:100%;padding-right:46px}
.feld-x-knopf{position:absolute;top:50%;right:0;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:12px;background:transparent;color:var(--muted);transform:translateY(-50%);--knock:transparent}
.feld-x-mehrzeilig .feld-x-knopf{top:0;transform:none}
/* DE-55 (Michele 18.10.): eine Palette für Hell und Dunkel, Vordergrund dunkel. Flächen je Farbfamilie (nur Katalogprodukte, data-familie
   aus app-v3.js). Kanten ≥ 3:1 gegen die Seite, Text ≥ 4,5:1, Symbol ≥ 3:1, ΔE2000 ≥ 12, hell und dunkel, auch unter simulierter
   Farbsehschwäche (kategorie-farben.mjs). Status geht vor: Katalogkacheln „auf der Liste“ (.on) behalten ihre Statusfarbe. */
/* DE-78 (Michele 19.10., E-AR A): Jede der 32 Kategorien hat eine eigene Fläche (--kat-flaeche über data-kategorie), die Familie liefert nur
   noch die gemeinsame Kante. Produktflächen nutzen var(--kat-flaeche,var(--fam-flaeche)); app-v3.js setzt data-familie nie ohne data-kategorie. */
/* DE-78 Block 1 (generiert: app/werkzeuge/kategorie-css.py aus app/design-tokens.json, nicht von Hand ändern) */
[data-familie="frische"]{--fam-flaeche:#c2e7c6;--fam-kante:#579762}
[data-familie="kuehlung"]{--fam-flaeche:#afd0ee;--fam-kante:#4190c3}
[data-familie="fleisch-fisch"]{--fam-flaeche:#ebafbc;--fam-kante:#cb6b84}
[data-familie="vorrat"]{--fam-flaeche:#f7d8ad;--fam-kante:#aa823d}
[data-familie="fruehstueck-suess"]{--fam-flaeche:#dfbbad;--fam-kante:#b77a62}
[data-familie="getraenke"]{--fam-flaeche:#b0e7e9;--fam-kante:#15989c}
[data-familie="pflege-gesundheit"]{--fam-flaeche:#ccb7d5;--fam-kante:#a07cb1}
[data-familie="haushalt-sonstiges"]{--fam-flaeche:#c5c796;--fam-kante:#878e3e}
[data-kategorie="obst"]{--kat-flaeche:#bee3c2}
[data-kategorie="gemuese"]{--kat-flaeche:#cff4d3}
[data-kategorie="molkerei"]{--kat-flaeche:#accdeb}
[data-kategorie="kaese"]{--kat-flaeche:#bddefc}
[data-kategorie="eier"]{--kat-flaeche:#9cbdda}
[data-kategorie="kuehlregal"]{--kat-flaeche:#dbedff}
[data-kategorie="pflanzlich"]{--kat-flaeche:#8cacc9}
[data-kategorie="fleisch"]{--kat-flaeche:#ebafbc}
[data-kategorie="wurst"]{--kat-flaeche:#fcbfcd}
[data-kategorie="fisch"]{--kat-flaeche:#da9fac}
[data-kategorie="nudeln-reis"]{--kat-flaeche:#d2b48b}
[data-kategorie="konserven-saucen"]{--kat-flaeche:#e3c59a}
[data-kategorie="backzutaten"]{--kat-flaeche:#c1a47b}
[data-kategorie="gewuerze-oel"]{--kat-flaeche:#f4d5ab}
[data-kategorie="nuesse"]{--kat-flaeche:#b0946c}
[data-kategorie="tiefkuehl"]{--kat-flaeche:#ffe8ca}
[data-kategorie="backwaren"]{--kat-flaeche:#dfbbad}
[data-kategorie="fruehstueck"]{--kat-flaeche:#f0ccbd}
[data-kategorie="suesses-snacks"]{--kat-flaeche:#ceab9d}
[data-kategorie="kaffee"]{--kat-flaeche:#ffddd0}
[data-kategorie="tee"]{--kat-flaeche:#bd9b8d}
[data-kategorie="getraenke"]{--kat-flaeche:#b0e7e9}
[data-kategorie="drogerie"]{--kat-flaeche:#ccb7d5}
[data-kategorie="kosmetik"]{--kat-flaeche:#ddc8e6}
[data-kategorie="apotheke"]{--kat-flaeche:#bba7c4}
[data-kategorie="baby"]{--kat-flaeche:#eed8f7}
[data-kategorie="haushalt"]{--kat-flaeche:#babc8b}
[data-kategorie="haushaltswaren"]{--kat-flaeche:#cbcd9b}
[data-kategorie="feiern"]{--kat-flaeche:#a9ac7c}
[data-kategorie="schreibwaren"]{--kat-flaeche:#dcddab}
[data-kategorie="garten"]{--kat-flaeche:#999c6d}
[data-kategorie="tier"]{--kat-flaeche:#edeebc}
/* DE-78 Block 1 Ende */
html.kategorien .card[data-familie]{border-color:var(--fam-kante)}
html.kategorien .card[data-familie] .card-main{background:var(--kat-flaeche,var(--fam-flaeche))}
html.kategorien .recent-card[data-familie],html.kategorien .catalog-card[data-familie]:not(.on){background:var(--kat-flaeche,var(--fam-flaeche));border-color:var(--fam-kante)}
html.kategorien .card[data-familie] .card-main .icon-slot,html.kategorien .recent-card[data-familie] .icon-slot,html.kategorien .catalog-card[data-familie]:not(.on) .icon-slot,html.kategorien .suggestion[data-familie]>.icon-slot,html.kategorien .suggestion[data-familie] .such-flaechenknopf>.icon-slot{--knock:var(--kat-flaeche,var(--fam-flaeche))}
html.kategorien .suggestion[data-familie]>.icon-slot,html.kategorien .suggestion[data-familie] .such-flaechenknopf>.icon-slot{border-radius:10px;background:var(--kat-flaeche,var(--fam-flaeche))}
/* DE-55: Auf den Familienflächen gilt der dunkle Vordergrund in Hell und Dunkel (Paare von app-design, ≥ 4,5:1): Text und Symbol #203129,
   leiser Text seit DE-78 ebenfalls #203129 (§ 6.2: #3a4842 nur 3,34:1 auf „Nüsse“), Ring #154d34 nur nicht textlich, --knock = Fläche. Korb-, Plus- und Notizkreis liegen auf Papier und behalten ihre Werte; „Im Korb“
   bleibt neutral. Selektor mit :is([data-theme],:not([data-theme])), damit die Spezifität der früheren Dunkel-Regel erhalten bleibt. */
html.kategorien:is([data-theme],:not([data-theme])) :is(#active .produkt-kachel[data-familie]:not([data-status="im-korb"]),.card[data-familie] .card-main,.recent-card[data-familie],.catalog-card[data-familie]){--ink:#203129;--icon:#203129;--muted:#203129;--ux2-text-leise:#203129;--green:#154d34;color:#203129}
/* DE-18: Eigene Produkte im Katalog tragen die Familienfläche wie Katalogkacheln, auch „auf der Liste“ (dort markiert der Ring);
   der innere Knopf ist durchsichtig, Aussparungen in der Fläche. */
html.kategorien .custom-catalog-card[data-familie]{background:var(--kat-flaeche,var(--fam-flaeche));border-color:var(--fam-kante)}
html.kategorien .custom-catalog-card[data-familie] .custom-product-add{background:transparent;--knock:var(--kat-flaeche,var(--fam-flaeche))}
/* DE-18 (app-design DE-38): „auf der Liste“ an eigenen Karten wie an Katalogkacheln: 3 px innen, ohne Rand (#52 M-1, Guide 2.4). */
html.kategorien .catalog-card.custom-catalog-card.on{border:0;box-shadow:inset 0 0 0 3px var(--green)}
/* DE-18: Aussparungen des Produktsymbols in der Familienfläche, hell und dunkel (vorher nur dunkel). */
html.kategorien #active .produkt-kachel[data-familie]:not([data-status="im-korb"]) .produkt-symbol .icon-slot{--knock:var(--kat-flaeche,var(--fam-flaeche))}
html[data-theme="dark"].kategorien .suggestion[data-familie]>.icon-slot,html[data-theme="dark"].kategorien .suggestion[data-familie] .such-flaechenknopf>.icon-slot{--icon:#203129}
html[data-theme="dark"].kategorien :is(.recent-card,.catalog-card)[data-familie] .karte-plus,html[data-theme="dark"].kategorien #catalog .catalog-card[data-familie]:not(.on) .katalog-fuss{color:var(--ux2-marke)}
/* Katalog „auf der Liste“ auf heller Fläche: Ring und gefüllter Kreis im dunklen Akzent (#154d34, siehe oben), Haken weiß, Symbol mit Flächen-Knock. */
html[data-theme="dark"].kategorien #catalog .katalog-kachel.on[data-familie] .katalog-fuss{color:#fff}
html[data-theme="dark"].kategorien .catalog-card[data-familie].on .icon-slot{--knock:var(--kat-flaeche,var(--fam-flaeche))}
html[data-theme="dark"].kategorien.kachel-sanft #active .produkt-kachel[data-familie] .produkt-notiz{color:#eff1f0}
/* Prüfbericht #52 M-1: „auf der Liste“ im Katalog kräftiger als jede Familienkante – 3 px Grün (1 px Rand + 2 px innen, ohne Größenänderung), Haken bleibt. */
html.kategorien .catalog-card.on{box-shadow:inset 0 0 0 2px var(--green)}
.catalog-card .catalog-state-icon{min-height:0;height:22px;margin:0}
/* Erster Start: Die Überschrift bekommt nach der Einrichtung nur den Fokus für VoiceOver; sie ist nicht bedienbar, daher kein Fokusrahmen. */
#activeHeading:focus{outline:none}
/* E6 aufgehoben: Datenhinweis im Installations-Tipp ruhiger als der Tipp selbst. */
.install-hint-daten{display:block;margin-top:4px;font-weight:400;font-size:.92em}
/* UI-85: „Kaufen bei“ klappbar – Kopfzeile mit „Automatisch zuordnen“ und dem Knopf mit der Zusammenfassung. */
.store-head{display:grid;gap:8px}
.store-head .store-auto{margin:0}
.store-toggle{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;min-height:44px;padding:6px 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff);color:var(--ink);font:inherit;text-align:left}
.store-toggle .icon-slot{transition:transform .15s}
.store-toggle[aria-expanded="true"] .icon-slot{transform:rotate(180deg)}
#storeChoicesBox{margin-top:8px}
/* UI-88: bis app-v3.js läuft, sind auch untere Navigation und Vorschau-Teile aus (kein Aufblitzen). */
.release-list-only .mobile-nav,.release-list-only .preview{display:none}
/* UI-90a: Listenkacheln „Sanft“ (UX-2, sprints/UX-2/UMSETZUNG.md). 3 Spalten, quadratisch, 3 px Abstand, 6 px nur an den Außenecken.
   Auf schmalen Geräten (unter etwa 375 px) wird die Kachel so viel höher, dass der Korbkreis den zweizeiligen Namen nie überdeckt. */
/* E-3 (Michele 18.10.): Symbol „Im Korb“ mit 75 % Deckkraft; gemessener Mischkontrast hell ≥ 4,5:1 (vorher .62 = 3,4:1), dunkel ≥ 4,5:1. */
:root{--ux2-raster-abstand:4px;--ux2-eckenradius:14px;--ux2-gedimmt:.75;--ux2-flaeche:#edf3ee;--ux2-text-leise:var(--muted);--ux2-marke:var(--green);--de147-aktion-flaeche:#dceee2;--de147-aktion-symbol:#154d34}
html[data-theme="dark"]{--ux2-flaeche:#223e57}
#active.produkt-liste{display:block}
html.kachel-sanft #active .produkt-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);margin:0;padding:0;list-style:none}
html.kachel-sanft #active .produkt-kachel{position:relative;display:grid;min-width:0;overflow:hidden;border:0;border-radius:0;background:var(--ux2-flaeche);color:var(--ink)}
html.kachel-sanft.kategorien #active .produkt-kachel[data-familie]{background:var(--kat-flaeche,var(--fam-flaeche))}
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"]{background:var(--ux2-flaeche)}
/* Außenecken: oben links, oben rechts (auch bei nur ein oder zwei Kacheln), unten links (erste der letzten Reihe), unten rechts (letzte Kachel und, als Stufe, letzte der vollen Reihe darüber). */
@media(min-width:300px){
  html.kachel-sanft #active .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:nth-child(3),html.kachel-sanft #active .produkt-kachel:last-child:nth-child(-n+3){border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:nth-child(3n+1):nth-last-child(-n+3){border-bottom-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:last-child,html.kachel-sanft #active .produkt-kachel:nth-child(3n):nth-last-child(-n+3){border-bottom-right-radius:var(--ux2-eckenradius)}
}
/* Personen-Kürzel klein unten rechts am Symbol (Prüfung #80 B1), Theke-Marke oben links wie bisher. */
html.kachel-sanft #active .produkt-symbol .person-badge{position:absolute;top:auto;right:-6px;bottom:-3px;left:auto;float:none;width:18px;height:18px;margin:0;border:2px solid var(--paper);font-size:10px}
html.kachel-sanft #active .produkt-symbol .person-badge.two{width:auto;min-width:22px;padding:0 4px;border-radius:9px}
html.kachel-sanft #active .produkt-hauptaktion{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;width:100%;min-width:0;aspect-ratio:1/1;margin:0;padding:5px 8px 38px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}
html.kachel-sanft #active .produkt-symbol{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px}
html.kachel-sanft #active .produkt-symbol .icon-slot,html.kachel-sanft #active .produkt-symbol .ic{width:43px;height:43px}
/* DE-4 E-8: Symbolgröße nach Inhalt (data-symbolgroesse aus app-v3.js): Name zwei Zeilen oder Sorte → 36 px, beides → 30 px. */
html.kachel-sanft #active .produkt-kachel[data-symbolgroesse="36"] .produkt-symbol{width:36px;height:36px}
html.kachel-sanft #active .produkt-kachel[data-symbolgroesse="36"] .produkt-symbol :is(.icon-slot,.ic){width:36px;height:36px}
html.kachel-sanft #active .produkt-kachel[data-symbolgroesse="30"] .produkt-symbol{width:30px;height:30px}
html.kachel-sanft #active .produkt-kachel[data-symbolgroesse="30"] .produkt-symbol :is(.icon-slot,.ic){width:30px;height:30px}
html.kachel-sanft #active .produkt-name{display:-webkit-box;flex:none;max-width:100%;max-height:calc(2em * 1.08);overflow:hidden;font-size:13px;font-weight:850;line-height:1.08;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;hyphens:manual;-webkit-hyphens:manual;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
html.kachel-sanft #active .produkt-name.custom-name{hyphens:auto;-webkit-hyphens:auto}
html.kachel-sanft #active .produkt-notiz{position:absolute;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--paper) 80%,transparent);color:var(--ux2-text-leise)}
html.kachel-sanft #active .produkt-fuss{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 0 0 8px;pointer-events:none}
html.kachel-sanft #active .produkt-meta{display:flex;flex:1;flex-direction:column;min-width:0;margin-bottom:8px;line-height:1.15;text-align:left}
html.kachel-sanft #active .produkt-menge{overflow:hidden;font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html.kachel-sanft #active .produkt-variante{overflow:hidden;color:var(--ux2-text-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html.kachel-sanft #active .produkt-korbaktion{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);pointer-events:auto;cursor:pointer}
html.kachel-sanft #active .produkt-korbaktion::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
html.kachel-sanft #active .produkt-korbaktion svg{position:relative}
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion{color:var(--paper)}
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion::before{border-color:var(--ux2-marke);background:var(--ux2-marke)}
/* Gedimmt: Symbol mit Deckkraft .62, der Name in der leisen Textfarbe (bleibt mindestens 4,5:1, Deckkraft .62 käme auf etwa 3,9:1). */
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-symbol{opacity:var(--ux2-gedimmt)}
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-name{color:var(--ux2-text-leise)}
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-menge{color:var(--ux2-marke)}
html.kachel-sanft #active .produkt-kachel button:focus-visible{outline-offset:-3px}
/* Sehr schmale Ansicht (z. B. große Schrift per Seitenzoom): zwei bzw. eine Spalte, Außenecken entsprechend. */
@media(min-width:200px) and (max-width:299px){
  html.kachel-sanft #active .produkt-raster{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.kachel-sanft #active .produkt-kachel:nth-child(n){border-radius:0}
  html.kachel-sanft #active .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:nth-child(2),html.kachel-sanft #active .produkt-kachel:last-child:nth-child(1){border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:nth-child(2n+1):nth-last-child(-n+2){border-bottom-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:last-child,html.kachel-sanft #active .produkt-kachel:nth-child(2n):nth-last-child(-n+2){border-bottom-right-radius:var(--ux2-eckenradius)}
}
@media(max-width:199px){
  html.kachel-sanft #active .produkt-raster{grid-template-columns:minmax(0,1fr)}
  html.kachel-sanft #active .produkt-kachel:nth-child(n){border-radius:0}
  html.kachel-sanft #active .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius);border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #active .produkt-kachel:last-child{border-bottom-left-radius:var(--ux2-eckenradius);border-bottom-right-radius:var(--ux2-eckenradius)}
}
/* UI-92: keine Bildzeichen in der App. Menüsymbole der Installationsanleitung und der Haken der Feldmeldung sind SVG. */
.inline-symbol{display:inline-block;width:1.05em;height:1.05em;vertical-align:-.15em;fill:currentColor}
.feld-meldung .icon-slot{display:inline-grid;width:14px;height:14px;margin-right:5px;vertical-align:-2px;color:var(--green)}
.konto-link .link-pfeil{display:inline-block;margin-left:4px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
/* UI-96: Korb statt Plus in „Noch einkaufen“ (Icon-Set ui-korb im selben 30-px-Kreis); nach 1 s blendet die Kachel in 220 ms aus. */
html.kachel-sanft #active .produkt-korbaktion .icon-slot{position:relative;width:20px;height:20px;color:inherit;--knock:var(--paper)}
/* K-8: Im Korb liegt der Korb im gefüllten Kreis; Aussparungen (Haken) in der Kreisfarbe. */
html.kachel-sanft #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion .icon-slot{--knock:var(--ux2-marke)}
html.kachel-sanft #active .produkt-korbaktion .icon-slot .ic{width:20px;height:20px;color:inherit}
html.kachel-sanft #active .produkt-kachel.wandert{opacity:0;transform:scale(.96);transition:opacity 220ms ease,transform 220ms ease}
@media(prefers-reduced-motion:reduce){html.kachel-sanft #active .produkt-kachel.wandert{transition:none}}
/* UI-96: „Zuletzt benutzt“ zeigt Plus (zur Liste hinzufügen), dekorativ in der Karte, die selbst der Knopf ist. */
.recent-card,.catalog-card{position:relative}
.recent-card .karte-plus,.catalog-card .karte-plus{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--green)}
.recent-card .icon-slot.karte-plus,.catalog-card .icon-slot.karte-plus{min-height:24px;max-height:24px;margin:0}
.recent-card .karte-plus .ic,.catalog-card .karte-plus .ic{width:14px;height:14px;color:inherit}

/* UI-93: Katalog „Sprung-Akkordeon“ (UX-3 A). Werkzeuge, Kategorienköpfe (mindestens 56 px), Inhalte nur offen; Kacheln im Stil Sanft. */
#catalog{display:grid;gap:6px;padding:8px 0 10px}
#catalog .katalog-werkzeuge{display:grid;gap:6px;padding:0 10px}
#catalog .katalog-spruenge{display:flex;gap:6px;overflow-x:auto;padding:2px 0 4px;scrollbar-width:none}
#catalog .katalog-spruenge button{flex:none;min-height:44px;padding:0 12px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);font:inherit;font-size:14px;font-weight:750;white-space:nowrap}
#catalog .katalog-spruenge button.aktiv{border-color:var(--green);background:var(--soft)}
#catalog .katalog-schalter{display:flex;gap:6px;flex-wrap:wrap}
#catalog .katalog-alle,#catalog .katalog-merken{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;font-size:14px;font-weight:750}
#catalog .katalog-merken .icon-slot{width:16px;height:16px;color:var(--green)}
#catalog .katalog-merken[aria-pressed="false"] .icon-slot{visibility:hidden}
#catalog .katalog-kategorie{margin:0 10px;border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden}
#catalog .katalog-kategorie h3{margin:0;font-size:inherit}
#catalog .katalog-kopf{display:flex;align-items:center;gap:10px;width:100%;min-height:56px;padding:8px 12px;border:0;background:transparent;color:var(--ink);font:inherit;text-align:left;scroll-margin-top:72px}
#catalog .katalog-kopf-text{display:grid;flex:1;min-width:0}
#catalog .katalog-kopf-text strong{font-size:15px}
#catalog .katalog-kopf-text small{color:var(--muted);font-size:12px;font-weight:650}
#catalog .katalog-pfeil{flex:none;transition:transform .15s}
#catalog .katalog-kopf[aria-expanded="true"] .katalog-pfeil{transform:rotate(180deg)}
/* DE-78 § 5.1 (Dummy: Farbmuster im Katalogkopf): Der unpersönliche Kategoriekopf zeigt Fläche und Familienkante am Symbol, auch für
   „Apotheke“. Die Produktkarten darunter gehen einzeln durch farbZuordnung() und erben nichts (Attribute am h3, nicht am Abschnitt). */
html.kategorien #catalog h3[data-kategorie] .katalog-kopf>.katalog-muster{border-radius:8px;background:var(--kat-flaeche);box-shadow:inset 0 0 0 2px var(--fam-kante);--icon:#203129;--knock:var(--kat-flaeche)}
#catalog .katalog-inhalt{padding:0 6px 6px}
#catalog .katalog-inhalt .catalog{padding:3px 0}
#catalog .katalog-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0;padding:0;list-style:none}
#catalog .katalog-raster>li{display:flex;min-width:0;overflow:hidden;border-radius:0}   /* UI-98 H10: Kachel füllt die Rasterzeile */
#catalog .katalog-kachel{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0;min-height:auto;aspect-ratio:1/1;margin:0;padding:5px 8px 40px;border:0;border-radius:0;background:var(--ux2-flaeche);color:var(--ink);font:inherit;text-align:center}
html.kategorien #catalog .katalog-kachel[data-familie]{background:var(--kat-flaeche,var(--fam-flaeche))}
#catalog .katalog-kachel::after{content:none}
#catalog .katalog-kachel>.produkt-symbol{display:grid;place-items:center;flex:none;width:43px;height:43px}
#catalog .katalog-kachel>.produkt-symbol>.icon-slot,#catalog .katalog-kachel>.produkt-symbol>.icon-slot .ic{width:43px;height:43px}
#catalog .katalog-name{display:-webkit-box;flex:none;max-width:100%;min-height:0;max-height:calc(3em * 1.08);overflow:hidden;font-size:13px;font-weight:850;line-height:1.08;overflow-wrap:anywhere;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3}
#catalog .katalog-fuss{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--paper);color:var(--green)}
#catalog .katalog-fuss .icon-slot,#catalog .katalog-fuss .ic{width:16px;height:16px;min-height:0;margin:0;color:inherit}
#catalog .katalog-kachel>.produkt-symbol>.icon-slot{min-height:0;margin:0}
#catalog .katalog-kachel.on .katalog-fuss{border-color:var(--green);background:var(--green);color:var(--paper)}
#catalog .katalog-kachel.on{border:0;box-shadow:inset 0 0 0 3px var(--green)}   /* #52 M-1: Markierung mindestens 3 px */
#catalog .katalog-kachel.on .katalog-fuss .icon-slot{--knock:var(--green)}
@media(min-width:300px){
  #catalog .katalog-raster>li:first-child{border-top-left-radius:6px}
  #catalog .katalog-raster>li:nth-child(3),#catalog .katalog-raster>li:last-child:nth-child(-n+3){border-top-right-radius:6px}
  #catalog .katalog-raster>li:nth-child(3n+1):nth-last-child(-n+3){border-bottom-left-radius:6px}
  #catalog .katalog-raster>li:last-child,#catalog .katalog-raster>li:nth-child(3n):nth-last-child(-n+3){border-bottom-right-radius:6px}
}
@media(min-width:200px) and (max-width:299px){
  #catalog .katalog-raster{grid-template-columns:repeat(2,minmax(0,1fr))}
  #catalog .katalog-raster>li:first-child{border-top-left-radius:6px}
  #catalog .katalog-raster>li:nth-child(2),#catalog .katalog-raster>li:last-child:nth-child(1){border-top-right-radius:6px}
  #catalog .katalog-raster>li:nth-child(2n+1):nth-last-child(-n+2){border-bottom-left-radius:6px}
  #catalog .katalog-raster>li:last-child,#catalog .katalog-raster>li:nth-child(2n):nth-last-child(-n+2){border-bottom-right-radius:6px}
}
@media(max-width:199px){
  #catalog .katalog-raster{grid-template-columns:minmax(0,1fr)}
  #catalog .katalog-raster>li:first-child{border-top-left-radius:6px;border-top-right-radius:6px}
  #catalog .katalog-raster>li:last-child{border-bottom-left-radius:6px;border-bottom-right-radius:6px}
}
@media(prefers-reduced-motion:reduce){#catalog .katalog-pfeil{transition:none}}
/* Prüfung #90 A2: Fokusrahmen innen, sonst schneidet overflow:hidden ihn ab. A3: Die Kachel wächst mit dem Inhalt (min-height:auto),
   damit der Plus-Kreis keinen Namen überdeckt; Namen bis drei Zeilen (UI-98). */
#catalog .katalog-kopf:focus-visible,#catalog .katalog-kachel:focus-visible{outline:3px solid var(--focus,#1768ac);outline-offset:-3px}
/* UI-98: H9 Namen bis drei Zeilen (z. B. „Spülmaschinentabs“), H10 gleich hohe Kacheln je Rasterzeile (die Kachel streckt sich auf die Zeilenhöhe). */
#catalog .katalog-raster>li>.katalog-kachel{flex:1 1 auto}
/* UI-104 (Michele 18.10.): In Produktkarten und Suchvorschlägen ist nur der Produktname fett; Menge, Sorte, „Im Korb“ und Zusatztexte
   normal (500; Menge, Sorte und .card-meta-summary oben direkt gesetzt). */
.suggestion .state{font-weight:500}
/* K-C (Michele 18.10., DE-17): „Alles im Korb“ mit dem Korb aus dem Icon-Set, 43 px, dekorativ; Aussparungen in der Papierfläche. */
.empty.empty-all-in-cart{display:flex;flex-direction:column;align-items:center;gap:8px}
.empty-all-in-cart-icon{display:grid;place-items:center;width:43px;height:43px;color:var(--icon);--knock:var(--paper)}
.empty-all-in-cart-icon .ic{width:43px;height:43px}
/* Paket 6 · Guide-Feinschliff (BAUVORGABE-guide.md, Dummy DE-59). Ein Block am Ende, damit der Diff prüfbar bleibt.
   P6-C Nunito lokal (OFL 1.1, fonts/OFL.txt) · P6-B E-4 Feldkanten · P6-D E-5b Stufen · P6-E Korb-Haken · P6-F E-7 Ecken · K-17. */
@font-face{font-family:"Nunito";src:url("./fonts/nunito-latin.woff2") format("woff2");font-style:normal;font-weight:200 1000;font-display:swap}
body{font-family:"Nunito",ui-rounded,"SF Pro Rounded",Inter,system-ui,sans-serif}
.konto-text,textarea{font-family:inherit}

/* P6-B · E-4: linie-feld nur an Bedienelementen, deren Grenze zum Erkennen nötig ist (Selektorliste im PR). */
:root{--field-line:#7d8f84;--rueck-flaeche:#fffdf8;--rueck-rand:#1f6847;--rueck-text:#203129;--rueck-leise:#596a61}
html[data-theme="dark"]{--field-line:#aec7d5;--rueck-flaeche:#16304a;--rueck-rand:#aec7d5}
html:is([data-theme],:not([data-theme])) :is(.search input,.field input,.field select,.field textarea,.welcome-person,.inline-form input,.list-field select,.category-field select,.assignment-field>select,.gate-link,.konto-text){border-color:var(--field-line)}

/* P6-D · E-5b: sechs Größen (25/19/15/13/12/11), Stärken 400/700/850/900 (900 nur Kürzel). */
.welcome h1,.gate-card h1{font-size:25px;font-weight:700}
.top h1,.list-switcher .list-name,.sheet-head h2,.panel h2,.welcome h2,.gate-card h2{font-size:19px;font-weight:850;line-height:1.1}
@media(min-width:760px){:where(html:not(.release-list-only)) .top h1{font-size:25px;font-weight:700}:where(html:not(.release-list-only)) .list-switcher .list-name{font-size:19px}}
:where(html.release-list-only) .list-switcher .list-name{font-size:19px}:where(html.release-list-only) .section-head h2{font-size:15px}@media(max-width:759px){:where(html:not(.release-list-only)) .list-switcher .list-name{font-size:19px}:where(html:not(.release-list-only)) .section-head h2{font-size:15px}}
.section-head h2,.settings-section h3,.subheading,.konto-nie h4,.summary strong,.konto-haushalt,.catalog-disclosure summary strong,#catalog .katalog-kopf-text strong{font-size:15px;font-weight:700}
.snack span{font-size:15px;font-weight:700;line-height:1.4}
.finish,.primary,.secondary,.tabs button,.actions button,.remove,.snack button,.side-nav button,.settings-toggle,#catalog .katalog-spruenge button,#catalog .katalog-alle,#catalog .katalog-merken,.style-option,.danger,.reset-demo,.store-view{font-size:13px;font-weight:850;line-height:1.15}
@media(min-width:760px){:where(html:not(.release-list-only)) .side-nav button{font-size:13px}}
:where(html.release-list-only) .summary .finish{font-size:13px}@media(max-width:759px){:where(html:not(.release-list-only)) .summary .finish{font-size:13px}}
.recent-card strong,.catalog-card strong,.card-copy .name,.assignment-row strong,.example strong,.tip strong{font-size:13px;font-weight:850;line-height:1.08}
:where(html.release-list-only) .recent-card strong,:where(html.release-list-only) .catalog-card strong,:where(html.release-list-only) .card-copy .name{font-size:13px}@media(max-width:759px){:where(html:not(.release-list-only)) .recent-card strong,:where(html:not(.release-list-only)) .catalog-card strong,:where(html:not(.release-list-only)) .card-copy .name{font-size:13px}}
.empty,.panel p,.install-hint p,.gate-note,.konto-status p,.konto-beta,.konto-check,.field label.konto-check,.konto-nie,.tip p,.settings-note,.sheet-copy,.private-note{font-size:13px;font-weight:400;line-height:1.4}
.top p,.list-context,.field label,.field-label,.field-error,.top-count{font-size:12px;font-weight:700}
:where(html.release-list-only) .summary.has-cart #summarySub{font-size:12px;line-height:1.15}@media(max-width:759px){:where(html:not(.release-list-only)) .summary.has-cart #summarySub{font-size:12px;line-height:1.15}}
.counter-badge,.counter-label{font-size:11px;font-weight:400}
html.kachel-sanft #active .produkt-variante{font-size:11px}
/* Nunito hat höhere Ober- und Unterlängen als die Systemschrift: 2 px Luft unter den dreizeiligen Katalognamen, damit keine Unterlänge abgeschnitten wird. */
#catalog .katalog-name{max-height:calc(3em * 1.08 + 2px);padding-bottom:2px}
/* Stärken außerhalb der Stufen: 500/600 → 400, 650/750 → 700, 800 → 850. */
.catalog-disclosure summary small,.card-meta-summary,html.kachel-sanft #active .produkt-menge,html.kachel-sanft #active .produkt-variante{font-weight:400}
.sheet-body fieldset.field legend,.konto-ziel legend,#catalog .katalog-kopf-text small{font-weight:700}
.konto-beta p,.feld-meldung,.color-choice,.order-move{font-weight:850}

/* K-17: Innenabstand oben und unten, Höhe bleibt 44/48. */
.secondary{padding:8px}
.primary{padding-block:8px}
.install-hint-actions button,.gate-card .primary,.gate-card .secondary,.konto-section>button,.konto-aktion button,.konto-dialog .sheet-body>button{padding:8px 14px}
.compact{padding:8px 12px}

/* P6-E · E-6 A: Korb-Haken nur am Zustand „im Korb/erledigt“ (Symbole aus dem Icon-Set, aria-hidden). E-6b: .brand b entfällt. */
.snack-zustand{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#81d5a9;color:#183c2b;--icon:#183c2b;--knock:#81d5a9}
.snack-zustand[hidden]{display:none}
.snack-zustand .ic{width:18px;height:18px}
.snack:has(.snack-zustand:not([hidden])){justify-content:flex-start}
.snack:has(.snack-zustand:not([hidden])) .snack-actions{margin-left:auto}
.empty.empty-erledigt{display:flex;flex-direction:column;align-items:center;gap:2px}
.empty-erledigt-motiv{display:grid;place-items:center;width:72px;height:72px;margin-bottom:8px;border-radius:50%;background:var(--soft);color:var(--green);--icon:var(--green);--knock:var(--soft)}
.empty-erledigt-motiv .ic{width:40px;height:40px}
.empty-erledigt strong{color:var(--ink);font-size:15px;font-weight:700;line-height:1.4}

/* P6-F · E-7: Ecken 12 (Felder, Knöpfe, Karten, Container) · 22 (Chips, Pillen, Blattecken) · 50 % (Kreise). */
.icon,.tabs button,.empty,.recent-card,.catalog-card,.suggestions,.tip,.mobile-nav button,.snack,.snack button,.field input,.field select,.welcome-person,.inline-form input,.list-field select,.category-field select,.assignment-field>select,.gate-link,.konto-text,.catalog-disclosure .chevron,.list-row,.member-row,.profile-card,.sort-order,.store-choice,.store-type-choice,.order-move,.department-hint,#customIconPreview,.install-hint,.gate-backup,.konto-status,.store-toggle,.shell,.panel{border-radius:12px}
:where(html.release-list-only) .shell{border-radius:0}:where(html.release-list-only) .card{border-radius:12px}@media(max-width:759px){:where(html:not(.release-list-only)) .shell{border-radius:0}:where(html:not(.release-list-only)) .card{border-radius:12px}}
.card{border-radius:12px}
.custom-product-add{border-radius:12px 12px 0 0}
.custom-product-edit{border-radius:0 0 12px 12px}
.counter-label,.product-icon .person-badge.two,html.kachel-sanft #active .produkt-symbol .person-badge.two,.mobile-nav{border-radius:22px}
.sheet{border-radius:22px 22px 0 0}
@media(min-width:760px){:where(html:not(.release-list-only)) .sheet{border-radius:22px}}
/* DE-4 Teil-PR B (sprints/DE-4-produktkarte/BAUVORGABE.md §5): „Zuletzt benutzt“ als dieselbe Kachel wie die Liste – quadratisch,
   3 Spalten, 3-px-Fuge, 6 px nur an den Außenecken, ohne gestrichelte Kante und 13-px-Einzelrundung. Die ganze Karte bleibt ein
   Hinzufügen-Knopf; der 30-px-Pluskreis im 44-px-Bereich ist dekorativ. E-2 Zuletzt-Ton: Familienfläche mit der Seite gemischt,
   Hell 50 %, Dunkel 22 % (ohne Familie die neutrale Kachel), vorgerechnet statt color-mix() (iOS ab 15.4); Text und Symbol in den
   Zuletzt-Farben (tokens.json zuletzt-text, zuletzt-text-leise), gemessen ≥ 9:1 bzw. ≥ 5:1. */
html.kachel-sanft #recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);padding-left:0;padding-right:0}
html.kachel-sanft #recent>.produkt-kachel{--zl-flaeche:#f0f2ea;--zl-text:#203129;--zl-leise:#3a4842}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="frische"]{--zl-flaeche:#dbecd6}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="kuehlung"]{--zl-flaeche:#d2e0ea}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="fleisch-fisch"]{--zl-flaeche:#f0d0d2}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="vorrat"]{--zl-flaeche:#f6e4ca}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="fruehstueck-suess"]{--zl-flaeche:#ead6ca}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="getraenke"]{--zl-flaeche:#d2ece8}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="pflege-gesundheit"]{--zl-flaeche:#e0d4de}
html.kachel-sanft.kategorien #recent>.produkt-kachel[data-familie="haushalt-sonstiges"]{--zl-flaeche:#dcdcbe}
html.kachel-sanft:is(.kategorien,:not(.kategorien)):is([data-theme],:not([data-theme])) #recent>.produkt-kachel.recent-card[data-status="zuletzt"]{position:relative;cursor:default;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;min-width:0;min-height:0;aspect-ratio:1/1;margin:0;padding:5px 8px 38px;overflow:hidden;border:0;background:var(--zl-flaeche);color:var(--zl-text);box-shadow:none;font:inherit;text-align:center;--ink:var(--zl-text);--icon:var(--zl-text);--muted:var(--zl-leise);--ux2-text-leise:var(--zl-leise);--knock:var(--zl-flaeche)}
html.kachel-sanft #recent>.produkt-kachel:focus-visible{outline-offset:-3px}
html.kachel-sanft #recent .produkt-symbol{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px;margin:0}
html.kachel-sanft #recent .produkt-symbol :is(.icon-slot,.ic){width:43px;height:43px;min-height:0;max-height:none;margin:0;--knock:var(--zl-flaeche)}
html.kachel-sanft #recent>.produkt-kachel[data-symbolgroesse="36"] .produkt-symbol,html.kachel-sanft #recent>.produkt-kachel[data-symbolgroesse="36"] .produkt-symbol :is(.icon-slot,.ic){width:36px;height:36px}
html.kachel-sanft #recent>.produkt-kachel[data-symbolgroesse="30"] .produkt-symbol,html.kachel-sanft #recent>.produkt-kachel[data-symbolgroesse="30"] .produkt-symbol :is(.icon-slot,.ic){width:30px;height:30px}
html.kachel-sanft #recent .produkt-name{display:-webkit-box;flex:none;max-width:100%;min-height:0;max-height:calc(2em * 1.08);overflow:hidden;color:inherit;font-size:13px;font-weight:850;line-height:1.08;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;hyphens:manual;-webkit-hyphens:manual;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
html.kachel-sanft #recent .produkt-name.custom-name{hyphens:auto;-webkit-hyphens:auto}
html.kachel-sanft #recent .produkt-fuss{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 0 0 8px;pointer-events:none}
html.kachel-sanft #recent .produkt-meta{display:flex;flex:1;flex-direction:column;min-width:0;margin-bottom:8px;line-height:1.15;text-align:left}
html.kachel-sanft #recent .produkt-menge{overflow:hidden;color:var(--zl-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html.kachel-sanft #recent .produkt-variante{overflow:hidden;color:var(--zl-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html.kachel-sanft #recent .produkt-aktion{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);pointer-events:auto;cursor:pointer}
html.kachel-sanft #recent .produkt-aktion:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
html.kachel-sanft #recent .produkt-aktion::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
html.kachel-sanft #recent .produkt-aktion .icon-slot{position:relative;width:20px;height:20px;min-height:0;max-height:none;margin:0;color:inherit;--knock:var(--paper)}
html.kachel-sanft #recent .produkt-aktion .icon-slot .ic{width:20px;height:20px;color:inherit}
@media(min-width:200px) and (max-width:299px){
  html.kachel-sanft #recentSection #recent{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:199px){
  html.kachel-sanft #recentSection #recent{grid-template-columns:minmax(0,1fr)}
}
/* DE-4 Teil-PR C (§6 E-N, DE-42 A+B): „Auf der Liste“ leise unten links (11/400, Akzent der Fläche); 30-px-Kreis mit 20-px-Zeichen –
   Plus offen, Haken gefüllt (auf der Liste), Korb mit Haken gefüllt (im Korb, neutrale Fläche, ohne Text). */
#catalog .katalog-kachel .katalog-status{position:absolute;left:8px;bottom:8px;max-width:calc(100% - 56px);overflow:hidden;color:var(--green);font-size:11px;font-weight:400;line-height:1.15;white-space:nowrap;text-overflow:ellipsis;text-align:left;pointer-events:none}
#catalog .katalog-kachel .katalog-status:empty{display:none}
#catalog .katalog-fuss .icon-slot,#catalog .katalog-fuss .ic{width:20px;height:20px}
#catalog .katalog-kachel>.produkt-symbol>.person-badge{position:absolute;top:6px;right:6px}
/* DE-4 C (§1, §6): gemeinsamer Rumpf im Katalog. Der Fuß ist nur Strukturhülle (Statustext und Kreis sitzen wie bisher absolut an der
   Kachel); E-8 wie in Liste und Zuletzt – ab zwei Namenszeilen 36 px („Auf der Liste“ zählt nicht als Sorte). Der Katalogname bleibt
   bis zu drei Zeilen (Prüfung #90 A3: nie abschneiden); §1 „höchstens zwei“ widerspricht dem – Frage an app-design (19.10.). */
#catalog .katalog-kachel>.produkt-fuss{display:contents}
#catalog .katalog-kachel[data-symbolgroesse="36"]>.produkt-symbol,#catalog .katalog-kachel[data-symbolgroesse="36"]>.produkt-symbol>.icon-slot,#catalog .katalog-kachel[data-symbolgroesse="36"]>.produkt-symbol>.icon-slot .ic{width:36px;height:36px}
#catalog .katalog-kachel[data-symbolgroesse="30"]>.produkt-symbol,#catalog .katalog-kachel[data-symbolgroesse="30"]>.produkt-symbol>.icon-slot,#catalog .katalog-kachel[data-symbolgroesse="30"]>.produkt-symbol>.icon-slot .ic{width:30px;height:30px}
/* DE-4 E-AN A (Michele 19.10., Variante C: heute A): Symbol und Name mittig in der Fläche über dem Fuß; unten 48 px frei
   (Fuß mit Korb 44 px + 4 px). Menge und Sorte bleiben links im Fuß. */
html.kachel-sanft #active .produkt-hauptaktion{align-self:stretch;justify-content:center;padding:6px 8px 48px}   /* stretch: mittig auch in einer Reihe, die eine Nachbarkachel höher macht */
/* DE-14 Teil-PR A: Herkunft im Detailblatt als ruhiger Text statt Auswahl (nicht editierbar). */
.details-herkunft{margin:4px 0 12px;color:var(--muted);font-size:13px;line-height:1.35}
/* DE-91 (Bauvorgabe sprints/DE-91-zuletzt-rahmen-mehr/BAUVORGABE.md, E-BO A und E-BP C): „Zuletzt benutzt“ in Sanft, Informativ und Liste gleich –
   3 Spalten, 6-px-Abstand, jede Kachel 6-px-Ecken und 1,5 px gestrichelte Familienkante auf der E-2-Fläche; Dunkel mit den dunklen E-2-Tönen und
   vorgerechneten Kanten (65 % Familie). Mit #recentSection gebunden und vor dem generierten DE-5-Block, damit die Sanft-Kopien nicht übersteuern. */
#recentSection #recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);padding-left:0;padding-right:0}
#recentSection #recent>.produkt-kachel{--zl-flaeche:#f0f2ea;--zl-kante:#596a61;--zl-text:#203129;--zl-leise:#3a4842;box-sizing:border-box;aspect-ratio:1/1;border:1.5px dashed var(--zl-kante);border-radius:2px;background:var(--zl-flaeche);color:var(--zl-text)}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie]{--zl-kante:var(--fam-kante)}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="frische"]{--zl-flaeche:#dbecd6}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="kuehlung"]{--zl-flaeche:#d2e0ea}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="fleisch-fisch"]{--zl-flaeche:#f0d0d2}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="vorrat"]{--zl-flaeche:#f6e4ca}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="fruehstueck-suess"]{--zl-flaeche:#ead6ca}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="getraenke"]{--zl-flaeche:#d2ece8}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="pflege-gesundheit"]{--zl-flaeche:#e0d4de}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="haushalt-sonstiges"]{--zl-flaeche:#dcdcbe}
/* DE-78 Block 2 (generiert: app/werkzeuge/kategorie-css.py aus app/design-tokens.json, nicht von Hand ändern) */
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="frische"]{--zl-kante:#53905e}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="kuehlung"]{--zl-kante:#39789c}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="fleisch-fisch"]{--zl-kante:#a55e70}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="vorrat"]{--zl-kante:#7f6937}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="fruehstueck-suess"]{--zl-kante:#8e6653}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="getraenke"]{--zl-kante:#169295}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="pflege-gesundheit"]{--zl-kante:#836b92}
html.kategorien #recentSection #recent>.produkt-kachel[data-familie="haushalt-sonstiges"]{--zl-kante:#677137}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="obst"]{--zl-flaeche:#d9ead4}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="gemuese"]{--zl-flaeche:#e2f2dd}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="molkerei"]{--zl-flaeche:#d0dee9}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="kaese"]{--zl-flaeche:#d8e7f2}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="eier"]{--zl-flaeche:#c8d6e0}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="kuehlregal"]{--zl-flaeche:#e8eef3}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="pflanzlich"]{--zl-flaeche:#c0ced8}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="fleisch"]{--zl-flaeche:#f0d0d2}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="wurst"]{--zl-flaeche:#f8d8da}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="fisch"]{--zl-flaeche:#e7c8ca}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="nudeln-reis"]{--zl-flaeche:#e3d2b9}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="konserven-saucen"]{--zl-flaeche:#ecdac0}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="backzutaten"]{--zl-flaeche:#dacab1}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="gewuerze-oel"]{--zl-flaeche:#f4e2c9}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="nuesse"]{--zl-flaeche:#d2c2aa}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="tiefkuehl"]{--zl-flaeche:#faecd8}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="backwaren"]{--zl-flaeche:#ead6ca}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="fruehstueck"]{--zl-flaeche:#f2ded2}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="suesses-snacks"]{--zl-flaeche:#e1cec2}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="kaffee"]{--zl-flaeche:#fae6dc}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="tee"]{--zl-flaeche:#d8c6ba}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="getraenke"]{--zl-flaeche:#d2ece8}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="drogerie"]{--zl-flaeche:#e0d4de}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="kosmetik"]{--zl-flaeche:#e8dce6}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="apotheke"]{--zl-flaeche:#d8ccd6}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="baby"]{--zl-flaeche:#f1e4ef}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="haushalt"]{--zl-flaeche:#d7d6b9}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="haushaltswaren"]{--zl-flaeche:#e0dec1}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="feiern"]{--zl-flaeche:#ceceb2}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="schreibwaren"]{--zl-flaeche:#e8e6c9}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="garten"]{--zl-flaeche:#c6c6aa}
html.kategorien #recentSection #recent>.produkt-kachel[data-kategorie="tier"]{--zl-flaeche:#f0efd2}
/* DE-78 Block 2 Ende */
/* E-BP C: Mehr-Kachel als neuntes bzw. letztes Rasterelement – kein Produkt, ein vollflächiger Knopf, marke-sanft/marke-tief. */
#recentSection #recent>.recent-mehr{box-sizing:border-box;aspect-ratio:1/1;min-width:0;border:0;border-radius:6px;background:var(--soft);overflow:hidden}
#recentSection .recent-mehr-knopf{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;height:100%;min-height:44px;margin:0;padding:6px;border:0;border-radius:6px;background:transparent;color:var(--dark);font:inherit;font-size:13px;font-weight:850;line-height:1.1;text-align:center;overflow-wrap:anywhere;--knock:var(--soft)}
#recentSection .recent-mehr-knopf .icon-slot,#recentSection .recent-mehr-knopf .ic{width:24px;height:24px;min-height:0;margin:0;color:inherit;transition:transform 150ms ease}
#recentSection .recent-mehr-knopf[aria-expanded="true"] .icon-slot{transform:rotate(180deg)}
#recentSection .recent-mehr-knopf:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
/* Kopf: die Überschrift ist ein 44-px-Knopf mit Pfeil und Anzahl; zugeklappt zeigt der Pfeil nach rechts (90° nach links gedreht). */
#recentSection .recent-kopf h2{margin:0}
#recentSection .recent-toggle{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:44px;margin:0 0 0 -6px;padding:0 8px 0 6px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-weight:inherit;text-align:left}
#recentSection .recent-toggle:focus-visible{outline:3px solid var(--focus);outline-offset:0}
#recentSection .recent-pfeil,#recentSection .recent-pfeil .ic{width:20px;height:20px;min-height:0;margin:0}
#recentSection .recent-titel{color:var(--ink)}
#recentSection .recent-pfeil{transition:transform 150ms ease}
#recentSection .recent-toggle[aria-expanded="false"] .recent-pfeil{transform:rotate(-90deg)}
#recentSection .recent-anzahl{min-width:24px;padding:0 7px;border-radius:12px;background:var(--soft);color:var(--dark);font-size:12px;font-weight:850;line-height:20px;text-align:center}
#recentSection .recent-leer{grid-column:1/-1;margin:0;padding:10px 12px;color:var(--muted);font-size:13px}
/* DE-75 (Bauvorgabe sprints/DE-75-zuletzt-bearbeiten/BAUVORGABE.md, E-AL A): Bearbeiten im Kopf, Hinweis, roter Entfernen-Kreis (ui-minus). */
#recentSection .recent-kopf{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px}
#recentSection .recent-aktionen{display:flex;flex-wrap:wrap;gap:4px;margin-left:auto}
#recentSection .recent-kopf-aktion{min-width:44px;min-height:44px;padding:0 10px;border:0;border-radius:10px;background:transparent;color:var(--green);font:inherit;font-size:13px;font-weight:850;line-height:1.15}
#recentSection .recent-kopf-aktion.gefahr-text{color:var(--danger)}
#recentSection .recent-kopf-aktion:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
#recentSection .recent-hinweis{margin:0 0 8px;color:var(--muted);font-size:13px}
#recentSection #recent .zuletzt-entfernen{color:var(--danger)}
#recentSection #recent .zuletzt-entfernen::before{border-color:var(--danger)}
@media(prefers-reduced-motion:reduce){#recentSection .recent-pfeil,#recentSection .recent-mehr-knopf .icon-slot{transition:none}}
/* Unter 200 px Layoutbreite (220 % Text auf schmalen Geräten) passen drei Spalten nicht mehr mit 44-px-Kreis: dann zwei Spalten (Bauvorgabe §8). */
@media(max-width:199px){#recentSection #recent{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* DE-85 Teil 4 (Dummy entwurf-dummy v55): Hinweis oben im Blatt, wenn ein nicht geteilter Entwurf nach dem Neuladen wieder öffnet. */
.entwurf-hinweis{margin:0 0 12px;padding:12px;border:1px solid var(--green);border-radius:12px;color:var(--ink);font-size:14px;line-height:1.45}
/* DE-33 E-U · Startbild (BAUVORGABE §2): nur bei vollständigem Laden (theme-init.js setzt html.startbild-an), deckungsgleich mit den
   iOS-Startbildern aus scripts/bilder/startbilder.mjs. Der Haken fehlt im ersten Bild und zeichnet sich einmal in 450 ms. */
.startbild{display:none}
html.startbild-an .startbild{position:fixed;inset:0;z-index:1000;display:flex;flex-direction:column;align-items:center;justify-content:center;background:var(--cream);color:var(--ink)}
.startbild svg{width:96px;height:96px}
.startbild strong{margin-top:16px;font-size:25px;font-weight:700;line-height:1.4}
.startbild span{color:var(--muted);font-size:15px;font-weight:400;line-height:1.4}
.startbild-haken{stroke-dasharray:21;stroke-dashoffset:21}
html.startbild-zeichnen .startbild-haken{animation:startbild-haken .45s ease-out forwards}
@keyframes startbild-haken{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){html.startbild-zeichnen .startbild-haken{animation:none;stroke-dashoffset:0}}
html.startbild-an dialog,html.startbild-an dialog::backdrop{visibility:hidden}
/* DE-88 (MK-11, BAUVORGABE §13): Hinweisseite im In-App-Browser – Messenger-Modus des vorhandenen Gates; andere Gates unverändert. */
/* app-design 19.10. (§ 13.1): im Messenger-Modus nur der Rand der Karte (16 px, sichere Bereiche), nicht zusätzlich der des Gates. */
#installGate[data-modus="inapp"]{padding:0}
#installGate[data-modus="inapp"] .gate-card{width:min(560px,100%);gap:16px;padding:calc(20px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));border:0;border-radius:0;background:transparent;box-shadow:none}
#installGate[data-modus="inapp"] .gate-card>.welcome-mark{display:none}
#installGate[data-modus="inapp"] .gate-content{display:grid;gap:16px}
/* Codex 21:02 (§ 12.4/§ 13.4): Symbol neben der Überschrift wie im Dummy; die Überschrift schrumpft und trennt, bei sehr schmaler
   Ansicht (200 % Zoom) bricht die Zeile um – kein Querscrollen. */
.inapp-kopf{display:flex;align-items:center;gap:12px}
.inapp-kopf img{flex:none;width:56px;height:56px}
.inapp-kopf h1{flex:1 1 0;min-width:0;margin:0;font-size:25px;font-weight:700;line-height:1.15;overflow-wrap:break-word;hyphens:auto}
@media(max-width:259px){.inapp-kopf{flex-wrap:wrap}.inapp-kopf h1{flex-basis:100%}}
.inapp-kopf h1:focus{outline:none}
.inapp-kopf h1:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.inapp-unter{margin:2px 0 0;color:var(--muted);font-size:15px;line-height:1.35}
.inapp-punkte{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.inapp-punkte li{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.35}
.inapp-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--soft);color:var(--dark);--knock:var(--soft)}
.inapp-symbol .icon-slot{width:20px;height:20px}
.inapp-vorschau{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:8px;border:1px solid var(--line);border-radius:14px}
/* Familienflächen tragen wie DE-55 in Hell und Dunkel den dunklen Vordergrund. */
.inapp-kachel{display:grid;justify-items:center;gap:4px;padding:8px 4px;border-radius:8px;background:var(--fam-flaeche,var(--soft));color:#203129;--ink:#203129;--icon:#203129;--knock:var(--fam-flaeche,var(--soft))}
.inapp-kachel .icon-slot{width:30px;height:30px}
.inapp-kachel span{font-size:12px;font-weight:850}
.inapp-vorschau-text{margin:-10px 0 0;color:var(--muted);font-size:13px;text-align:center}
.inapp-kasten{display:grid;gap:10px;padding:14px;border:1px solid var(--green);border-radius:14px;background:var(--soft)}
.inapp-kasten h2{margin:0;font-size:17px;font-weight:850}
.inapp-kasten p,.inapp-schritte{margin:0;font-size:15px;line-height:1.4}
.inapp-schritte{display:grid;gap:4px;padding-left:20px}
.inapp-knopf{min-height:44px}
.inapp-kasten .primary.inapp-knopf{min-height:48px}
.inapp-ersatz{color:var(--ink)}
.inapp-status:empty{display:none}
.inapp-kasten .gate-link{width:100%;min-height:44px;font-size:16px}
.inapp-ausprobieren{justify-self:center;min-height:44px;padding:0 12px;border:0;background:transparent;color:var(--green);font-size:15px;font-weight:850;text-decoration:underline;text-underline-offset:3px}
.inapp-ausprobieren-unter{margin:-12px 0 0;color:var(--muted);font-size:13px;text-align:center}
/* DE-83 (E-BL A „Dein Kürzel“, oben rechts; BAUVORGABE §4, §9, §10): 44-px-Knopf mit 36-px-Profilmarke; Kürzel 15/900; leere Marke
   und schwache Kreise mit 1,5-px-Kontur in --field-line; der Kopf schrumpft links, der Knopf nie. */
#settings.profil-knopf{flex:none;border:0;border-radius:50%;background:transparent}
.profil-marke,#currentProfileDot{display:grid;place-items:center;box-sizing:border-box;flex:none;width:36px;height:36px;border-radius:50%;font-size:15px;font-weight:900;line-height:1;letter-spacing:0;white-space:nowrap;overflow:hidden}
:is(.profil-marke,#currentProfileDot)[data-zustand="leer"]{border:1.5px solid var(--field-line);background:var(--paper);color:var(--ink)}
:is(.profil-marke,#currentProfileDot)[data-kontur="ja"]{border:1.5px solid var(--field-line)}
:is(.profil-marke,#currentProfileDot) .icon-slot{width:20px;height:20px;--knock:var(--paper)}
.top .list-heading{flex:1 1 auto;min-width:0}
/* DE-14 Teil-PR B (BAUVORGABE §2–§4, §10): Kopf mit 43-px-Symbol und Name auf Tipp, Vorschau in einer 122-px-Spalte (Kartenregeln
   erzeugt app/werkzeuge/ansicht-css.py), Chips 44 px hoch mit 22 px Ecken und 14/750, gewählt Marke auf Papier mit 850, Felder ab 16 px. */
/* Bei 200 % Zoom rückt „Fertig“ in eine zweite Zeile, statt den Namen zusammenzudrücken (Name mindestens 100 px). */
.details-kopf{flex-wrap:wrap;justify-content:flex-start;gap:10px;padding:10px 12px 10px 14px}
.details-symbol{display:grid;place-items:center;flex:none;width:43px;height:43px}
.details-titel{flex:1 1 100px;min-width:0}
.details-titel h2{margin:0;font-size:inherit}
.sheet-head .details-name{display:block;width:100%;height:auto;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:19px;font-weight:850;line-height:1.1;text-align:left;overflow-wrap:anywhere}
.details-name small{display:block;margin-top:2px;color:var(--muted);font-size:12px;font-weight:700}
.details-namensfeld,.details-eingabe input{width:100%;min-width:0;height:44px;padding:0 12px;border:1px solid var(--field-line);border-radius:12px;background:var(--field);color:var(--ink);font-size:16px}
.details-namensfeld{font-weight:850}
.details-vorschau{display:grid;grid-template-columns:122px minmax(0,1fr);gap:12px;align-items:center}
.details-vorschau-text{margin:0;color:var(--muted);font-size:12px;font-weight:700}
.details-gruppe-kopf{display:flex;align-items:center;justify-content:space-between;min-height:32px}
.details-gruppe-kopf h3{margin:0;font-size:15px;font-weight:700;line-height:1.4}
.details-leeren{min-height:44px;margin:-6px -8px -6px 0;padding:0 8px;border:0;background:transparent;color:var(--green);font-size:13px;font-weight:850}
.details-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.details-chip{min-width:44px;max-width:100%;min-height:44px;padding:0 13px;border:1px solid var(--field-line);border-radius:22px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:850;line-height:1.15;overflow-wrap:anywhere}
.details-chip.leise{border-style:dashed;color:var(--muted)}
.details-chip[aria-pressed="true"]{border:1px solid var(--green);background:var(--green);color:var(--paper);font-weight:850}
.details-eingabe{display:flex;gap:6px;margin-top:6px}
.details-eingabe>.feld-x,.details-eingabe>input{flex:1;min-width:0}
.details-eingabe .feld-x>input,.details-titel .feld-x>input{padding-right:46px}
.details-uebernehmen{flex:none;padding:0 14px}
.details-hilfe{margin:4px 0 0;color:var(--muted);font-size:12px}
/* DE-65 Fassung B (Bauvorgabe § 5): Hinweis unter dem Kopf – Fläche flaeche, Kante linie-feld, Ecke 12, Titel 15/700, Text 13/400, ui-info in marke. */
.pause-hinweis{display:flex;gap:10px;align-items:flex-start;max-width:900px;margin:10px auto 0;padding:12px;border:1px solid var(--field-line);border-radius:12px;background:var(--ux2-flaeche);color:var(--ink)}
.pause-hinweis[hidden]{display:none}
.pause-hinweis .pause-symbol,.pause-hinweis .pause-symbol .ic{flex:none;width:22px;height:22px;color:var(--green)}
.pause-hinweis .pause-inhalt{display:grid;gap:4px;min-width:0}
.pause-hinweis strong{font-size:15px;font-weight:700;line-height:1.3}
.pause-hinweis p{margin:0;font-size:13px;font-weight:400;line-height:1.45}
.pause-hinweis button{justify-self:start;min-height:44px;margin-top:6px}
/* DE-14 Teil-PR C (§2, §7): „Fertig“ ist der einzige Abschluss im Kopf (≥ 88 × 44, 12 px Ecken, 15/850); während des Sendens gesperrt. */
.sheet-head .details-fertig{flex:none;width:auto;height:auto;min-width:88px;min-height:44px;padding:0 14px;border:1px solid var(--green);border-radius:12px;background:var(--green);color:var(--paper);font-size:15px;font-weight:850}
.sheet-head .details-fertig[aria-busy="true"]{opacity:.7;cursor:progress}
/* DE-14 Teil-PR D1 (§6, §10): vier Aktionskacheln (≥ 64 px, 2×2, Symbol 24 px in Marke, Titel 14/850, Unterzeile 12 px), Unteransichten
   als Regionen im selben Blatt, Optionen und Schalter ≥ 44 px; Zustand nie nur über Farbe (Haken, aria-checked, Schalterstellung). */
.details-aktionen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.details-aktion{display:flex;align-items:center;gap:10px;min-width:0;min-height:64px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left;--knock:var(--surface)}
.details-aktion .icon-slot{flex:none;width:24px;height:24px;color:var(--green)}
.details-aktion>span:last-child{min-width:0}
.details-aktion b{display:block;font-size:13px;font-weight:850}
.details-aktion small{display:block;overflow:hidden;color:var(--muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}
.details-aktion.gefahr,.details-aktion.gefahr .icon-slot{color:var(--danger)}
.details-region{display:grid;gap:10px}
.details-region h3{margin:0;font-size:15px;font-weight:700}
.details-unterkopf{display:flex;align-items:center}
.details-zurueck{display:flex;align-items:center;gap:4px;min-height:44px;padding:0 10px 0 4px;border:0;background:transparent;color:var(--green);font-size:13px;font-weight:850;--knock:var(--paper)}
.details-zurueck .icon-slot{width:20px;height:20px;transform:rotate(90deg)}
.details-optionen{display:grid;gap:6px}
.details-option{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left;--knock:var(--surface)}
.details-option[aria-checked="true"]{border-color:var(--green);font-weight:850}
.details-option .icon-slot{flex:none;width:20px;height:20px;color:var(--green)}
.details-schalter{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);text-align:left}
.details-schalter b{display:block;font-size:13px;font-weight:850}
.details-schalter small{display:block;color:var(--muted);font-size:12px}
.details-schalter i{position:relative;flex:none;width:46px;height:28px;border:2px solid var(--muted);border-radius:14px;background:var(--line)}
.details-schalter i::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:var(--paper)}
.details-schalter[aria-checked="true"] i{border-color:var(--green);background:var(--green)}
.details-schalter[aria-checked="true"] i::after{transform:translateX(18px)}
.details-chip[aria-disabled="true"]{opacity:.55}
/* L-4 (Michele 20.10., sprints/L-107-zuletzt-fragen/BAUVORGABE-L4-MENGE.md): In der Sanft-Vorschau im Detailblatt darf die Menge umbrechen.
   DE-147 § 4 ersetzt dies für #active und #recent durch eine einzeilige Menge mit Ellipse. Bewusst zweizeilig notiert, damit
   app/werkzeuge/ansicht-css.py die Regel nicht nach Informativ/Liste kopiert. */
html.kachel-sanft #detailsVorschau .produkt-menge{
  white-space:normal;text-overflow:clip;overflow-wrap:anywhere}
/* L-4 Variante A (Bauvorgabe § 5.1, unter 360 px) für Liste und Vorschau: Fuß startet mit 4 px, der Meta-Block reicht genau 7 px in die
   durchsichtige Außenkante des 44-px-Ziels (die sichtbare 30-px-Kreisfläche bleibt textfrei), Meta ≥ 55 px.
   „Zuletzt“ (Lead 20.10., Rückfall 1): unter 360 px – und damit auch bei der 200-%-Prüfung – bleibt die Menge einzeilig wie heute; das
   97-px-Quadrat hat für eine zweizeilige Menge unter zweizeiligem Namen keine Höhe (eigene app-design-Karte). */
@media (max-width:359px){
  html.kachel-sanft :is(#active,#detailsVorschau) .produkt-fuss{padding-left:4px}
  html.kachel-sanft :is(#active,#detailsVorschau) .produkt-meta{margin-inline-end:-7px}
  html.kachel-sanft #recent .produkt-menge{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;overflow-wrap:normal}
}
/* DE-113 Suche als Liste (Michele 21.10. 09:42; sprints/DE-113-suche-liste/BAUVORGABE.md § 4): eine Zeile je Treffer statt des Rasters aus
   DE-4 D; Container und Positionierung wie bisher, die Trefferzahl nur in der Live-Region (Lead 21.10., wie im Dummy). Zeile ≥ 56 px, Innenmaß 6/10, Slots 10 px auseinander: Symbolfläche 40 × 40
   (Radius 10, Symbol 30; Familienfläche nur dahinter, UI-77), Text (Name 15/850 bis zwei Zeilen, Unterzeile 12/400 sichtbar), Zustand 12/400
   (darf umbrechen), Aktion 28 × 28 (Plus, Haken, Korb; Symbol 22); 1-px-Linie zwischen den Zeilen. Aktive Zeile (aria-activedescendant,
   A11Y-02) 3-px-Rahmen --focus innen. Nur bestehende Tokens, keine Begleitfarben (§ 2). */
#suggestions{padding:0;border:1px solid var(--line);border-radius:18px 18px 0 0;background:var(--paper)}
#suggestions .suggestion{grid-template-columns:40px minmax(0,1fr) auto 28px;gap:10px;min-height:56px;padding:6px 10px;border-bottom:1px solid var(--line);background:var(--paper);color:var(--ink)}
#suggestions .suggestion:last-child{border-bottom:0}
#suggestions .suggestion:is(:hover,[aria-selected=true]),#suggestions .suggestion[data-status="auf-liste"]{background:var(--soft)}
#suggestions .suggestion>.icon-slot{width:40px;height:40px;border-radius:10px}
#suggestions .suggestion strong{display:-webkit-box;overflow:hidden;font-size:15px;font-weight:850;line-height:1.2;overflow-wrap:anywhere;hyphens:auto;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
#suggestions .suggestion small{overflow:hidden;font-size:12px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
#suggestions .suggestion .produkt-zustand{color:var(--muted);font-size:12px;font-weight:400;line-height:1.2;text-align:right}
#suggestions .suggestion .produkt-aktion{display:grid;place-items:center;width:28px;height:28px;color:var(--ink)}
#suggestions .suggestion .produkt-aktion :is(.icon-slot,.ic){width:22px;height:22px;color:inherit}
#suggestions .suggestion[aria-selected=true]{outline:3px solid var(--focus);outline-offset:-3px}
/* DE-113 § 4 (160/200 % Schrift, ab etwa 300 CSS-px abwärts): Zustand unter den Namen statt als eigene Spalte, damit Name und Unterzeile
   nicht auf null schrumpfen; Symbol und Aktion über beide Zeilen. */
@media(max-width:299px){#suggestions .suggestion{grid-template-columns:40px minmax(0,1fr) 28px;row-gap:2px}#suggestions .suggestion>.icon-slot{grid-column:1;grid-row:1/3}#suggestions .suggestion .produkt-text{grid-column:2;grid-row:1}#suggestions .suggestion .produkt-zustand{grid-column:2;grid-row:2;text-align:left}#suggestions .suggestion .produkt-aktion{grid-column:3;grid-row:1/3}}
/* DE-77 C PR 1b (Bauvorgabe § 3.4, Dummy v94): Zeile = Fläche (Details) und Kreis (Liste) als zwei Zellen; Optik der Liste wie #213, der Kreis
   wie in Zuletzt (44 × 44, innen 30 px), die Hinweiszeile leise über den Treffern. Die aktive Zelle trägt den Rahmen (DOM-Fokus bleibt im Feld). */
#suggestions .suggestion{display:flex;align-items:center;gap:0;padding:0 4px 0 0}
#suggestions .such-zelle{display:flex;align-self:stretch;align-items:center;min-width:0}
#suggestions .such-details{flex:1 1 auto}
#suggestions .such-liste{flex:none}
#suggestions .such-flaechenknopf{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-width:0;min-height:55px;margin:0;padding:6px 6px 6px 10px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
#suggestions .such-flaechenknopf>.icon-slot{width:40px;height:40px;border-radius:10px}
#suggestions .suggestion .such-kreis{position:relative;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);cursor:pointer}
#suggestions .suggestion .such-kreis::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
#suggestions .suggestion .such-kreis :is(.icon-slot,.ic){position:relative;width:20px;height:20px;color:inherit;--knock:var(--paper)}
#suggestions .suggestion .such-kreis[aria-pressed=true]{color:var(--paper)}
#suggestions .suggestion .such-kreis[aria-pressed=true]::before{border-color:var(--ux2-marke);background:var(--ux2-marke)}
#suggestions .suggestion .such-kreis[aria-pressed=true] :is(.icon-slot,.ic){--knock:var(--ux2-marke)}
#suggestions .suggestion[aria-selected=true]{outline:0}
#suggestions .such-zelle[aria-selected=true]{outline:3px solid var(--focus);outline-offset:-3px}
.such-hinweis{flex:none;margin:-6px 0 0;padding:0 10px 2px;color:var(--muted);font-size:12px;font-weight:700;line-height:16px}
.such-hinweis[hidden]{display:none}
@media(max-width:299px){#suggestions .such-flaechenknopf{grid-template-columns:40px minmax(0,1fr);row-gap:2px}#suggestions .such-flaechenknopf>.icon-slot{grid-column:1;grid-row:1/3}#suggestions .such-flaechenknopf .produkt-text{grid-column:2;grid-row:1}#suggestions .such-flaechenknopf .produkt-zustand{grid-column:2;grid-row:2;text-align:left}}
/* UI-97 K9 (BAUVORGABE-K9 § 2): Mit Konto ohne Verbindung ist „Einkauf abschließen“ gesperrt; der Hinweis steht als eigene Zeile
   unter Anzahl und Knopf (wie im Dummy), nur solange er Text hat. Der Statusbereich bleibt im Baum, damit die Meldung ankommt. */
.summary.abschluss-gesperrt{flex-wrap:wrap}
.summary.abschluss-gesperrt>div{flex:1 1 0}
.summary .finish-hinweis{flex:1 0 100%;margin:0;color:var(--dark);font-size:12px;font-weight:800;line-height:1.3}
.summary .finish-hinweis:empty{display:none}
.summary .finish:disabled{border-color:var(--line);background:var(--paper);color:var(--muted);--icon:var(--muted);cursor:not-allowed}
/* DE-77 C (Bauvorgabe § 3.2/3.3): Die Fläche liegt als eigener Knopf über der ganzen Auswahlkarte (Details); Statustext, Symbol und Name
   bleiben, wo sie sind. Der Kreis liegt darüber; im Katalog ist das Ziel 44 × 44 px, der sichtbare Kreis bleibt 30 px an derselben Stelle. */
:is(#active,#recent,#catalog) .produkt-kachel>.produkt-flaeche{position:absolute;inset:0;z-index:0;display:block;width:auto;height:auto;min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;color:inherit;aspect-ratio:auto}
:is(#active,#recent,#catalog) .produkt-kachel>.produkt-flaeche:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
:is(#active,#recent,#catalog) .produkt-kachel>.produkt-symbol{pointer-events:none}
.details-entfernen-titel{grid-column:1/-1;margin:12px 0 0;font-size:16px}
#catalog .katalog-kachel .katalog-ziel{position:absolute;right:0;bottom:0;z-index:1;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:inherit}
#catalog .katalog-kachel .katalog-ziel:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
#catalog .katalog-ziel>.katalog-fuss{position:static}
/* DE-77 C: Eigene Produkte nutzen jetzt die Katalogkarte; „auf der Liste“ (.on) mit Familienfarbe stanzt das Symbol wie im Dunkelthema
   (app.css html[data-theme="dark"].kategorien .catalog-card[data-familie].on .icon-slot) in der Kachelfläche aus, nicht in --soft. */
html.kategorien #catalog .katalog-kachel[data-familie].on .produkt-symbol .icon-slot{--knock:var(--kat-flaeche,var(--fam-flaeche))}
/* DE-126 B „Griff“ (Michele 21.10., sprints/DE-126-suche-schliessen/BAUVORGABE.md § 4–§ 6): Die Listbox liegt in einer Blatthülle mit
   44-px-Griffkopf; die Hülle trägt Lage, Rahmen, Radius 14 px und Bewegung, die Listbox scrollt darin. Schleier über dem übrigen Inhalt
   (unter Suchleiste, Blatt und Meldungen). touch-action:none nur am Griff. */
.such-blatt{position:fixed;z-index:60;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--line);border-radius:14px;background:var(--paper);box-shadow:var(--shadow);transition:transform 180ms ease-out}
.such-blatt[hidden],.such-schleier[hidden]{display:none}
.such-blatt.zieht{transition:none}
.such-blatt #suggestions{position:static;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;border:0;border-radius:0;box-shadow:none}
.such-blatt-kopf{position:relative;flex:none;height:44px}
.such-griff{position:absolute;left:50%;top:0;width:96px;height:44px;margin:0 0 0 -48px;padding:0;border:0;background:transparent;touch-action:none;cursor:grab}
.such-griff::before{content:"";position:absolute;left:30px;right:30px;top:10px;height:5px;border-radius:3px;background:#7d8f84}
html[data-theme="dark"] .such-griff::before{background:#aec7d5}
.such-schleier{position:fixed;inset:0;z-index:35;display:block;width:100%;margin:0;padding:0;border:0;border-radius:0;background:#121d1766;cursor:default}
html[data-theme="dark"] .such-schleier{background:#0b141a99}
@media(prefers-reduced-motion:reduce){.such-blatt{transition:none}}
/* Fokusring nur bei Tastatur (Michele 21.10., iPhone): Nach Berührung oder Zeiger (html[data-eingabe="zeiger"], app-v3.js) zeigen Knöpfe,
   Links, Auswahllisten, Checkboxen und Radios keinen Ring, auch wenn WebKit :focus-visible setzt; Textfelder behalten ihn. Die gewählte
   Nutzerfarbe (.color-choice[aria-pressed=true]) ist eine Auswahlmarke im outline und bleibt sichtbar. Tastatur zeigt den Ring wie bisher. */
html[data-eingabe="zeiger"] :is(button,a,summary,select,[role="button"],input[type="checkbox"],input[type="radio"],[tabindex]:not(input):not(textarea)):not(.color-choice[aria-pressed="true"]):focus-visible{outline:none!important}
html[data-eingabe="zeiger"]:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel button:focus-visible{box-shadow:none}
/* DE-127/DE-128 Notiz-Ecke und Kartenrückseite (Michele 21.10., Variante A; sprints/DE-127-kachel-rueckseite/BAUVORGABE.md § 5, § 6, § 8):
   Notizknopf 44 × 44 oben rechts als eigenes Geschwister (Kreis 24, Symbol 13, Ring 1,5); die Rückseite deckt die Karte ganz ab. Gedreht wird
   die ganze Kachel (Perspektive 700, 420 ms); die Rückseite ist gespiegelt und erscheint zur Halbzeit, die Vorderseite ist dann inert.
   Reduzierte Bewegung: keine Drehung, höchstens 200 ms Überblenden. Für alle Ansichten gleich (höhere Spezifität als der DE-5-Block; „li.“ hält die Regeln aus der Detailvorschau heraus, ansicht-css.py übernimmt sie nicht); in „Liste“ steht der Knopf als eigene Spalte vor dem Korb. */
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf{position:absolute;top:0;right:0;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ux2-text-leise);cursor:pointer;touch-action:manipulation}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz{position:static;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;box-shadow:0 0 0 1.5px var(--field-line);color:inherit}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz svg{width:13px;height:13px}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf){grid-template-columns:minmax(0,1fr) auto 44px 44px}
html.kachel-liste #active li.produkt-kachel>.produkt-notizknopf{position:static;grid-column:3;grid-row:1 / span 2;align-self:center}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf) .produkt-korbaktion{grid-column:4}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf:focus-visible{outline:3px solid #1768ac;outline-offset:-3px}
html :is(#active li.produkt-kachel,#recent .recent-card).gedreht{transform:perspective(700px) rotateY(180deg)}
html :is(#active li.produkt-kachel,#recent .recent-card):has(>.produkt-rueckseite){transition:transform 420ms cubic-bezier(.3,.7,.3,1)}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-rueckseite{position:absolute;inset:0;z-index:3;border:2px solid var(--rueck-rand);border-radius:inherit;background:var(--rueck-flaeche);color:var(--rueck-text);transform:scaleX(-1);-webkit-backface-visibility:hidden;backface-visibility:hidden;visibility:hidden;transition:visibility 0s 210ms}
html :is(#active li.produkt-kachel,#recent .recent-card).gedreht>.produkt-rueckseite{visibility:visible}
html :is(#active li,#recent .recent-card) .produkt-rueckaktion{position:absolute;inset:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;width:100%;margin:0;padding:5px 6px;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;overflow:hidden;touch-action:pan-y;cursor:pointer}
html :is(#active li,#recent .recent-card) .produkt-rueckaktion:focus-visible{outline:3px solid #1768ac;outline-offset:-5px}
html :is(#active,#recent) .rueck-notiz{max-width:100%;font-size:13.5px;font-weight:850;line-height:1.2;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;flex:none}
html :is(#active,#recent) :is(.rueck-herkunft,.rueck-sorte){max-width:100%;color:var(--rueck-leise);font-size:12px;font-weight:400;line-height:1.2;overflow-wrap:anywhere}
html :is(#active,#recent) :is(.rueck-herkunft,.rueck-sorte)[hidden]{display:none}
@media(prefers-reduced-motion:reduce){
  html :is(#active li.produkt-kachel,#recent .recent-card):has(>.produkt-rueckseite){transition:none}
  html :is(#active li.produkt-kachel,#recent .recent-card).gedreht{transform:none}
  html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-rueckseite{transform:none;opacity:0;transition:opacity 200ms linear,visibility 0s 200ms}
  html :is(#active li.produkt-kachel,#recent .recent-card).gedreht>.produkt-rueckseite{opacity:1;transition:opacity 200ms linear,visibility 0s 0s}
}
@media(forced-colors:active){html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-rueckseite{border-color:CanvasText}html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz{box-shadow:0 0 0 1.5px ButtonText}}
/* DE-147c B1 (Michele 28.10., Variante B): Oberbegriff direkt unter dem Namen; die Listenmenge folgt als dritte Zeile. */
.produkt-kachel .produkt-oberbegriff{display:block;max-width:100%;margin:0;overflow:hidden;color:#3a4842;font-size:11px;font-weight:700;line-height:1.15;white-space:nowrap;text-overflow:ellipsis}
html.kachel-informativ :is(#active,#recent) .produkt-oberbegriff{font-size:13px}
html[data-theme="dark"] :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf{color:var(--ink)}
html #recent .recent-card>.produkt-notizknopf>.produkt-notiz{background:var(--paper)}
.such-notiz{display:inline-flex;align-items:center;gap:3px}.such-notiz svg{flex:none;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linejoin:round}
/* DE-124 (Michele 21.10., sprints/DE-124-desktop-breite/BAUVORGABE.md): Die Release-App bleibt bei jeder Breite im Handy-Layout. Unter 600 px
   volle Breite; ab 600 px eine zentrierte Spalte von genau 430 px. Eine Quelle für die Ränder: --app-rand (0 bzw. 50 % − 215 px, als Prozent
   des Fensters an festen Flächen). Die Handy-Blöcke (max-width:759px) gelten für .release-list-only bei jeder Breite (:where ohne
   Spezifitätsänderung), die Desktop-Blöcke nur noch für die Vorschau. Außenfläche ruhig getönt, kein Fokusziel, kein eigener Scroll. */
html.release-list-only{--app-rand:0px}
@media(min-width:600px){
html.release-list-only{--app-rand:calc(50% - 215px);background:#e9e6de}
html.release-list-only[data-theme="dark"]{background:#0e1a14}
html.release-list-only body{box-sizing:border-box;width:430px;min-height:100dvh;margin-inline:auto;box-shadow:0 0 0 1px var(--line)}
html.release-list-only .controls{left:var(--app-rand);right:var(--app-rand)}
html.release-list-only .mobile-nav{left:calc(var(--app-rand) + 8px);right:calc(var(--app-rand) + 8px)}
html.release-list-only .snack{left:calc(var(--app-rand) + 12px);right:calc(var(--app-rand) + 12px);width:auto}
html.release-list-only .sheet{left:var(--app-rand);right:auto;width:430px;max-width:430px}
html.release-list-only.startbild-an .startbild{left:var(--app-rand);right:var(--app-rand)}
}
/* DE-138 (Bauvorgabe 5e340ed5): feste Zeile „Impressum · Datenschutz“ unter dem scrollenden Teil von Erststart, Konto-Dialog und
   Rückfrage; Lese-Blatt als zweiter Dialog darüber. Links in Fließtextfarbe (nie --muted), je mindestens 44 × 44 px. */
.recht-zeile{display:flex;justify-content:center;align-items:center;gap:2px;padding:0 8px 2px;border-top:1px solid var(--line);background:inherit;color:var(--ink)}
.recht-zeile a{display:inline-flex;align-items:center;min-height:44px;min-width:44px;padding:0 10px;font-size:14px;font-weight:700;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.recht-zeile a:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.sheet.mit-recht[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden}
.sheet.mit-recht>.sheet-body{min-height:0;overflow-y:auto;padding-bottom:14px}
.sheet.mit-recht>.recht-zeile{padding-bottom:calc(2px + env(safe-area-inset-bottom))}
.welcome.mit-recht[open]{display:grid;grid-template-rows:minmax(0,1fr) auto;overflow:hidden;padding-bottom:0}
.welcome.mit-recht>form{min-height:0;overflow-y:auto;margin:-4px;padding:4px}
.welcome.mit-recht>.recht-zeile{margin:16px -24px 0;padding-bottom:calc(2px + env(safe-area-inset-bottom))}
/* Mit offener Tastatur (UX-131) bleibt die Zeile im Bild; im Erststart darf dafür nur das App-Zeichen entfallen. */
html.ek-platz-tastatur dialog.welcome.mit-recht[open]{overflow:hidden}
html.ek-platz-tastatur dialog.welcome.mit-recht .welcome-mark{display:none}
.lese-blatt[open]{display:grid;grid-template-rows:auto minmax(0,1fr);height:92dvh;overflow:hidden}
.lese-kopf{display:flex;align-items:center;gap:6px;min-height:52px;padding:4px 12px 4px 4px;border-bottom:1px solid var(--line)}
.lese-kopf h2{margin:0;font-size:18px}
#leseZurueck{display:inline-flex;align-items:center;gap:2px;min-height:44px;min-width:44px;padding:0 10px 0 4px;border:0;background:transparent;color:var(--green);font:inherit;font-weight:850}
#leseZurueck svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
#leseZurueck:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.lese-text{min-height:0;overflow-y:auto;padding:4px 16px 40px;font-size:15px;line-height:1.5;color:var(--ink)}
.lese-text [id]{scroll-margin-top:8px}
.lese-text::after{content:"";display:block;height:420px}   /* wie im Dummy: auch der letzte Abschnitt (Impressum) kann oben stehen */
.lese-text h1{margin:12px 0 6px;font-size:21px}
.lese-text h2{margin:20px 0 6px;font-size:18px}
.lese-text h3{margin:16px 0 4px;font-size:16px}
.lese-text p,.lese-text ul,.lese-text ol{margin:0 0 8px}
.lese-text a{color:inherit;text-decoration:underline;text-underline-offset:2px}
/* DE-144 A (Michele 24.10. 15:56, Codex Karte 81, Dummy sprints/DE-144-teilen-platzierung): Listenzeile mit „Umbenennen“ und „Teilen“ – zwei
   beschriftete Aktionen je 78 px, Symbol über der Beschriftung (10/800), mindestens 44 px hoch; im Konto-Listen-Blatt auch die einzelne
   „Personen“-Spalte (Referenz app-design 16:48); ohne Konto bleibt „Umbenennen“ wie bisher. */
.list-row.mit-spalten{grid-template-columns:minmax(0,1fr) 78px}
.list-row.mit-spalten.mit-zwei{grid-template-columns:minmax(0,1fr) 78px 78px}
.list-row.mit-spalten>.rename-action{display:grid;place-items:center;align-content:center;gap:1px;width:78px;min-width:0;min-height:56px;padding:2px 5px}
.list-row.mit-spalten>.rename-action span{font-size:10px;letter-spacing:-.1px;line-height:1.1;white-space:nowrap}
/* DE-148 Erste Schritte: gleichwertige Startwege, benannte neue Liste und klar erkennbarer Listenwechsler. */
.welcome-inhalt{display:grid;gap:14px}.welcome-inhalt,.welcome-inhalt>*{min-width:0;max-width:100%}.welcome-inhalt :is(h1,h2,p){margin:0;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
.willkommen-aktionen,.neue-liste-aktionen{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.willkommen-knopf{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:48px;padding:8px;overflow-wrap:anywhere}.willkommen-knopf>span,.willkommen-install-schritte li>span{min-width:0;overflow-wrap:anywhere}
.willkommen-install-schritte{display:grid;gap:8px;margin:0;padding:0;list-style:none;counter-reset:schritt}
.willkommen-install-schritte li{display:grid;grid-template-columns:44px 32px minmax(0,1fr);align-items:center;min-height:44px;counter-increment:schritt}
.willkommen-install-schritte li::before{content:counter(schritt);display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--soft);font-weight:850}
.willkommen-install-schritte .icon-slot{width:24px;height:24px}.willkommen-install-schritte .ic{width:22px;height:22px}
.neue-liste-schalter{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-weight:750;text-align:left}
.neue-liste-schalter i{position:relative;flex:none;width:46px;height:28px;border:2px solid var(--muted);border-radius:14px;background:var(--line)}
.neue-liste-schalter i::after{content:"";position:absolute;top:1px;left:1px;width:22px;height:22px;border-radius:50%;background:var(--paper);transition:transform 150ms ease}
.neue-liste-schalter[aria-checked="true"] i{border-color:var(--green);background:var(--green)}
.neue-liste-schalter[aria-checked="true"] i::after{transform:translateX(18px)}
.neue-liste-zaehler{text-align:right}
/* DE-148 Listenwechsler: Rahmen und Pfeil, Verhalten und zugänglicher Name bleiben unverändert. */
.list-switcher{min-height:44px;padding:0 10px;border:1.5px solid var(--line);border-radius:14px;background:var(--paper)}
@media(max-width:259px){.willkommen-aktionen,.neue-liste-aktionen{grid-template-columns:minmax(0,1fr)}.willkommen-knopf{width:100%}.list-switcher{max-width:calc(100vw - 68px);padding-inline:7px}}
@media(max-width:220px){.mit-recht>.recht-zeile{flex-direction:column;gap:0}.mit-recht>.recht-zeile>span{display:none}}
@media(prefers-reduced-motion:reduce){.neue-liste-schalter i::after{transition:none}}
/* DE-5 (BAUVORGABE §5, §9): Ansicht & Sortierung. Informativ und Liste übernehmen die Sanft-Grundregeln (gleicher Kartenrumpf aus DE-4, keine zweite Struktur);
   erzeugt von app/werkzeuge/ansicht-css.py aus den einzeiligen html.kachel-sanft-Regeln; nach Änderungen am Sanft-Block neu erzeugen. */
html[data-theme="dark"].kategorien:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-familie] .produkt-notiz{color:#eff1f0}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);margin:0;padding:0;list-style:none}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel{position:relative;display:grid;min-width:0;overflow:hidden;border:0;border-radius:0;background:var(--ux2-flaeche);color:var(--ink)}
html.kategorien:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-familie]{background:var(--kat-flaeche,var(--fam-flaeche))}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"]{background:var(--ux2-flaeche)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-symbol .person-badge{position:absolute;top:auto;right:-6px;bottom:-3px;left:auto;float:none;width:18px;height:18px;margin:0;border:2px solid var(--paper);font-size:10px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-symbol .person-badge.two{width:auto;min-width:22px;padding:0 4px;border-radius:9px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-hauptaktion{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;width:100%;min-width:0;aspect-ratio:1/1;margin:0;padding:5px 8px 38px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-symbol{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-symbol .icon-slot,html:is(.kachel-informativ,.kachel-liste) #active .produkt-symbol .ic{width:43px;height:43px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-name{display:-webkit-box;flex:none;max-width:100%;max-height:calc(2em * 1.08);overflow:hidden;font-size:13px;font-weight:850;line-height:1.08;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;hyphens:manual;-webkit-hyphens:manual;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-name.custom-name{hyphens:auto;-webkit-hyphens:auto}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-notiz{position:absolute;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--paper) 80%,transparent);color:var(--ux2-text-leise)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-fuss{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 0 0 8px;pointer-events:none}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-meta{display:flex;flex:1;flex-direction:column;min-width:0;margin-bottom:8px;line-height:1.15;text-align:left}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-menge{overflow:hidden;font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-variante{overflow:hidden;color:var(--ux2-text-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-korbaktion{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);pointer-events:auto;cursor:pointer}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-korbaktion::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-korbaktion svg{position:relative}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion{color:var(--paper)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion::before{border-color:var(--ux2-marke);background:var(--ux2-marke)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-symbol{opacity:var(--ux2-gedimmt)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-name{color:var(--ux2-text-leise)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-menge{color:var(--ux2-marke)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel button:focus-visible{outline-offset:-3px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-korbaktion .icon-slot{position:relative;width:20px;height:20px;color:inherit;--knock:var(--paper)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-status="im-korb"] .produkt-korbaktion .icon-slot{--knock:var(--ux2-marke)}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-korbaktion .icon-slot .ic{width:20px;height:20px;color:inherit}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-variante{font-size:11px}
html:is(.kachel-informativ,.kachel-liste) #recent{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);padding-left:0;padding-right:0}
html:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel{--zl-flaeche:#f0f2ea;--zl-text:#203129;--zl-leise:#3a4842}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="frische"]{--zl-flaeche:#dbecd6}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="kuehlung"]{--zl-flaeche:#d2e0ea}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="fleisch-fisch"]{--zl-flaeche:#f0d0d2}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="vorrat"]{--zl-flaeche:#f6e4ca}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="fruehstueck-suess"]{--zl-flaeche:#ead6ca}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="getraenke"]{--zl-flaeche:#d2ece8}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="pflege-gesundheit"]{--zl-flaeche:#e0d4de}
html.kategorien:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel[data-familie="haushalt-sonstiges"]{--zl-flaeche:#dcdcbe}
html.kachel-informativ:is(.kategorien,:not(.kategorien)):is([data-theme],:not([data-theme])) #recent>.produkt-kachel.recent-card[data-status="zuletzt"]{position:relative;cursor:default;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;min-width:0;min-height:0;aspect-ratio:1/1;margin:0;padding:5px 8px 38px;overflow:hidden;border:0;background:var(--zl-flaeche);color:var(--zl-text);box-shadow:none;font:inherit;text-align:center;--ink:var(--zl-text);--icon:var(--zl-text);--muted:var(--zl-leise);--ux2-text-leise:var(--zl-leise);--knock:var(--zl-flaeche)}
html:is(.kachel-informativ,.kachel-liste) #recent>.produkt-kachel:focus-visible{outline-offset:-3px}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-symbol{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px;margin:0}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-symbol :is(.icon-slot,.ic){width:43px;height:43px;min-height:0;max-height:none;margin:0;--knock:var(--zl-flaeche)}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-name{display:-webkit-box;flex:none;max-width:100%;min-height:0;max-height:calc(2em * 1.08);overflow:hidden;color:inherit;font-size:13px;font-weight:850;line-height:1.08;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;hyphens:manual;-webkit-hyphens:manual;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-name.custom-name{hyphens:auto;-webkit-hyphens:auto}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-fuss{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 0 0 8px;pointer-events:none}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-meta{display:flex;flex:1;flex-direction:column;min-width:0;margin-bottom:8px;line-height:1.15;text-align:left}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-menge{overflow:hidden;color:var(--zl-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-variante{overflow:hidden;color:var(--zl-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-aktion{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);pointer-events:auto;cursor:pointer}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-aktion:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-aktion::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-aktion .icon-slot{position:relative;width:20px;height:20px;min-height:0;max-height:none;margin:0;color:inherit;--knock:var(--paper)}
html:is(.kachel-informativ,.kachel-liste) #recent .produkt-aktion .icon-slot .ic{width:20px;height:20px;color:inherit}
/* DE-84 E-BM B „Zentriert“ (Michele 19.10., sprints/DE-84-informativ/BAUVORGABE.md): sichtbar „Groß“, gespeichert bleibt informativ. Eine
   durchgehende Fläche (kein 57-%-Verlauf, keine Dunkel-Fuß-Korrektur), Symbol 40, Name 15/850, darunter Sorte 13/400 → Menge 14/700 → Notiz
   13/400 mit 14-px-Symbol, Korb 44 unten rechts; Menge 13/700 statt 14 (E-5b kennt keine 14 px, Lead 20.10.); unter 340 px Rasterbreite eine Spalte (Container Query am Listenbereich). */
.produkt-gross{display:none}
html.kachel-informativ #active{container-type:inline-size}
/* DE-132 (Michele 22.10., Dummy sprints/DE-132-gross-gleich): alle Zeilen so hoch wie die vollste Karte; vorher wuchs jede Zeile für sich
   (min-height 150 px), dadurch waren die Karten unterschiedlich hoch. Schrift +1: Name 16, Sorte/Menge/Notiz 14. */
html.kachel-informativ #active .produkt-raster{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:1fr}
html.kachel-informativ #active .produkt-hauptaktion{aspect-ratio:auto;min-height:150px;justify-content:flex-start;gap:4px;padding:10px 10px 46px}
html.kachel-informativ #active .produkt-symbol,html.kachel-informativ #active .produkt-symbol :is(.icon-slot,.ic){width:40px;height:40px}
html.kachel-informativ #active .produkt-name{font-size:16px;line-height:1.1}
html.kachel-informativ #active .produkt-notiz,html.kachel-informativ #active .produkt-meta{display:none}
html.kachel-informativ #active .produkt-fuss{justify-content:flex-end}
html.kachel-informativ #active .produkt-gross{display:flex;flex-direction:column;align-items:center;gap:1px;width:100%;min-width:0;line-height:1.2}
html.kachel-informativ #active .produkt-gross>*{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.kachel-informativ #active .gross-sorte{order:1;color:var(--ux2-text-leise);font-size:14px;font-weight:400}
html.kachel-informativ #active .gross-menge{order:2;font-size:14px;font-weight:700}
html.kachel-informativ #active .produkt-notiztext{order:3;display:flex;align-items:center;justify-content:center;gap:4px;font-size:14px;font-weight:400}
html.kachel-informativ #active .produkt-notiztext :is(.icon-slot,.ic){flex:none;width:14px;height:14px}
html.kachel-informativ #active .produkt-notiz-wert{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.kachel-informativ #active .produkt-kachel[data-status="im-korb"] .gross-menge{color:var(--ux2-marke)}
html.kachel-informativ #active .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius)}
html.kachel-informativ #active .produkt-kachel:nth-child(2),html.kachel-informativ #active .produkt-kachel:last-child:nth-child(1){border-top-right-radius:var(--ux2-eckenradius)}
html.kachel-informativ #active .produkt-kachel:nth-child(2n+1):nth-last-child(-n+2){border-bottom-left-radius:var(--ux2-eckenradius)}
html.kachel-informativ #active .produkt-kachel:last-child,html.kachel-informativ #active .produkt-kachel:nth-child(2n):nth-last-child(-n+2){border-bottom-right-radius:var(--ux2-eckenradius)}
@container (max-width:339px){html.kachel-informativ #active .produkt-raster{grid-template-columns:minmax(0,1fr)}html.kachel-informativ #active .produkt-raster>.produkt-kachel{border-radius:0}html.kachel-informativ #active .produkt-raster>.produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius);border-top-right-radius:var(--ux2-eckenradius)}html.kachel-informativ #active .produkt-raster>.produkt-kachel:last-child{border-bottom-left-radius:var(--ux2-eckenradius);border-bottom-right-radius:var(--ux2-eckenradius)}}
/* DE-132: „Zuletzt benutzt“ in Groß zweispaltig wie „Noch einkaufen“ (eigene 6-px-Fuge bleibt), Name 16 px. #recentSection #recent setzt sonst
   drei Spalten mit zwei IDs, deshalb dieselbe Schärfe. */
html.kachel-informativ #recentSection #recent{grid-template-columns:repeat(2,minmax(0,1fr))}
html.kachel-informativ #recentSection #recent .produkt-name{font-size:16px}
/* DE-132 Nachtrag (Codex 22.10., 200 % Text): wie „Noch einkaufen“ unter 340 px Containerbreite einspaltig, sonst überdecken sich Name und Kreis */
html.kachel-informativ #recentSection{container-type:inline-size}
@container (max-width:339px){html.kachel-informativ #recentSection #recent{grid-template-columns:minmax(0,1fr)}}
/* Liste (E-P): derselbe Kartenrumpf als Zeile – Symbol 28, Name einzeilig, Menge rechts vor dem Korb, 44-px-Korbziel, 3-px-Fuge, 6-px-Außenecken. */
html.kachel-liste #active .produkt-raster{grid-template-columns:minmax(0,1fr)}
html.kachel-liste #active .produkt-kachel{grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:minmax(0,1fr) auto;align-items:center;column-gap:8px;min-height:52px}
html.kachel-liste #active .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius);border-top-right-radius:var(--ux2-eckenradius)}
html.kachel-liste #active .produkt-kachel:last-child{border-bottom-left-radius:var(--ux2-eckenradius);border-bottom-right-radius:var(--ux2-eckenradius)}
html.kachel-liste #active .produkt-hauptaktion{display:grid;grid-template-columns:32px minmax(0,1fr) auto;grid-column:1;grid-row:1 / span 2;align-self:stretch;align-items:center;gap:8px;aspect-ratio:auto;min-height:52px;padding:4px 0 4px 10px;text-align:left}
html.kachel-liste #active .produkt-symbol,html.kachel-liste #active .produkt-symbol :is(.icon-slot,.ic){width:28px;height:28px}
html.kachel-liste #active .produkt-name{display:block;max-height:none;font-size:15px;white-space:nowrap;text-overflow:ellipsis;-webkit-line-clamp:unset;line-clamp:none}
html.kachel-liste #active .produkt-notiz{position:static}
html.kachel-liste #active .produkt-fuss{display:contents}
/* E-BK (Michele 19.10., Dummy v50 „Unter dem Namen“): Sorte in Zeile 2 unter dem Namen, ohne Pointer-Ereignisse (ein Tipp trifft den Detail-Knopf
   darunter), 12/400 leise, einzeilig mit Auslassung; Menge und Korb über beide Zeilen rechts. Ohne Sorte bleibt der Name mittig. */
html.kachel-liste #active .produkt-meta{display:contents}
html.kachel-liste #active .produkt-menge{grid-column:2;grid-row:1 / span 2;align-self:center;font-size:12px;font-weight:400;text-align:right}
html.kachel-liste #active .produkt-variante{position:relative;z-index:1;grid-column:1;grid-row:2;align-self:end;min-width:0;margin:0 8px 7px 50px;font-size:12px;font-weight:400;line-height:1.2;pointer-events:none}
html.kachel-liste #active .produkt-kachel:has(.produkt-variante) .produkt-hauptaktion{padding-bottom:22px}
html.kachel-liste #active .produkt-korbaktion{grid-column:3;grid-row:1 / span 2}
html.kachel-liste #active .produkt-symbol .person-badge{right:-5px;bottom:-4px;width:16px;height:16px;font-size:9px}
html:is(.kachel-informativ,.kachel-liste) #active .produkt-kachel button:focus-visible{box-shadow:inset 0 0 0 5px var(--paper)}
/* Blatt: Kopf mit „Fertig“, Schritte 1–6, Chips/Wahl/Schalter/Laufwegzeilen mindestens 44 px. */
.ansicht-blatt{max-height:88dvh;overflow:auto;overscroll-behavior:contain}
.ansicht-blatt .sheet-head h2{margin:0;font-size:19px;font-weight:850}
.sheet-head .ansicht-fertig{width:auto;min-width:88px;min-height:44px;padding:0 14px;font-size:15px;border:1px solid var(--green);border-radius:12px;background:var(--green);color:var(--paper);font-weight:850}
#ansichtInhalt{display:grid;gap:16px;padding:14px 15px calc(18px + env(safe-area-inset-bottom))}
.ansicht-schritt h3{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:15px;font-weight:850}
.ansicht-nr{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:var(--soft);color:var(--dark);font-size:12px}
.ansicht-hinweis{margin:6px 0 0;color:var(--muted);font-size:12px}
.ansicht-chips{display:flex;flex-wrap:wrap;gap:6px}
.ansicht-chip{min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:22px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:850}
.ansicht-chip[aria-pressed="true"]{border-color:var(--green);background:var(--soft);color:var(--dark)}
.ansicht-stile{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ansicht-stil{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:52px;padding:4px 6px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-size:13px;font-weight:800}
.ansicht-stil[aria-checked="true"]{border-color:var(--green);background:var(--green);color:var(--paper)}
.ansicht-schalter{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:52px;margin-top:6px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font-weight:750;text-align:left}
.ansicht-schalter i{position:relative;flex:none;width:46px;height:28px;border:2px solid var(--muted);border-radius:14px;background:var(--line)}
.ansicht-schalter i::after{content:"";position:absolute;top:1px;left:1px;width:22px;height:22px;border-radius:50%;background:var(--paper);transition:transform 150ms ease}
.ansicht-schalter[aria-checked="true"] i{border-color:var(--green);background:var(--green)}
.ansicht-schalter[aria-checked="true"] i::after{transform:translateX(18px)}
.ansicht-laufweg{display:grid;gap:4px;margin:8px 0 0;padding:0;list-style:none}
.ansicht-abteilung{display:grid;grid-template-columns:44px minmax(0,1fr) auto 44px 44px;align-items:center;gap:2px;min-height:52px;padding-right:2px;border:1px solid var(--line);border-radius:12px;background:var(--paper);--knock:var(--paper)}
.ansicht-abteilung strong{overflow:hidden;font-size:14px;font-weight:750;white-space:nowrap;text-overflow:ellipsis}
.ansicht-unterzeile{display:block;color:var(--muted);font-size:12px;font-weight:400}
.ansicht-abteilung.zieht{position:relative;z-index:3;border-color:var(--green);box-shadow:var(--shadow)}
.ansicht-griff,.ansicht-pfeil{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;color:var(--muted)}
.ansicht-griff{cursor:grab;touch-action:none}
.ansicht-pfeil{color:var(--green)}
.ansicht-pfeil:disabled{opacity:.35;cursor:not-allowed}
:is(.ansicht-griff,.ansicht-pfeil) .icon-slot,:is(.ansicht-griff,.ansicht-pfeil) .ic{width:20px;height:20px}
.ansicht-anzahl{min-width:24px;padding:0 6px;border-radius:12px;background:var(--soft);color:var(--dark);font-size:12px;font-weight:850;text-align:center}
.ansicht-textknopf{min-height:44px;padding:0 4px;border:0;background:transparent;color:var(--green);font-weight:850;text-align:left}
.ansicht-leer{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:var(--surface-2);color:var(--muted);font-size:13px}
.ansicht-ansage{min-height:1.2em;margin:6px 2px 0;color:var(--muted);font-size:12px}
.ansicht-reset{min-height:44px}
.ansicht-meldung{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;padding:6px 8px 6px 12px;border-radius:12px;background:var(--green);color:var(--paper);font-size:13px}
.ansicht-rueck{min-width:96px;min-height:44px;border:0;border-radius:10px;background:var(--paper);color:var(--green);font-weight:900}
@media(prefers-reduced-motion:reduce){.ansicht-schalter i::after{transition:none}}
/* Sehr schmal (unter 260 px, z. B. 220 % Text): Kopf darf umbrechen, Darstellung einspaltig, Laufwegzeile in zwei Reihen (Griff + Name, darunter
   Anzahl und Pfeile) statt der starren Fünferspalte (Codex #138 Befund 1, 177 px). */
@media(max-width:259px){
  .ansicht-blatt .sheet-head{flex-wrap:wrap;gap:8px}
  #ansichtInhalt>*{min-width:0}
  .ansicht-reset,.ansicht-textknopf,.ansicht-chip,.ansicht-stil{max-width:100%;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
  .ansicht-stile{grid-template-columns:minmax(0,1fr)}
  .ansicht-schalter{flex-wrap:wrap}
  .ansicht-schalter>span{flex:1 1 7em;min-width:0;overflow-wrap:anywhere;hyphens:auto;-webkit-hyphens:auto}
  .ansicht-abteilung{display:flex;flex-wrap:wrap;align-items:center;padding-bottom:2px}
  .ansicht-abteilung>.ansicht-griff,.ansicht-griff-platz{flex:none;width:44px;height:44px}
  .ansicht-abteilung strong{flex:1 1 calc(100% - 48px);min-width:0;white-space:normal;overflow-wrap:anywhere}
  .ansicht-anzahl{margin-left:auto}
  .ansicht-meldung{flex-wrap:wrap}
  .ansicht-rueck{flex:1 1 auto;min-width:0}
}
/* DE-147 Karten mit Eckausschnitten (Dummy 01255bfd, Fein A): aktive und zuletzt benutzte Karten teilen sich
   die drei 44-px-Eckziele. Es gibt derzeit keine Foto-Datenquelle, daher wird keine Foto-Ecke erzeugt. */
html:is(.kachel-sanft,.kachel-informativ,.kachel-liste) :is(#active .produkt-raster,#recent){gap:var(--ux2-raster-abstand)}
html:is(.kachel-sanft,.kachel-informativ) :is(#active,#recent) .produkt-kachel{border-radius:2px}
html:is(.kachel-sanft,.kachel-informativ) #active .produkt-kachel{border:0}
html:is(.kachel-sanft,.kachel-informativ) #recent>.produkt-kachel.recent-card{border:1.5px dashed var(--fam-kante,var(--line))}
html:is(.kachel-sanft,.kachel-informativ) :is(#active,#recent) .produkt-kachel:first-child{border-top-left-radius:var(--ux2-eckenradius)}
/* DE-147c C5: Dunkel übernimmt die helleren Zuletzt-Flächen; hier bleiben nur Kante und dunkle Vordergrundfarben. */
html[data-theme="dark"].kategorien:is(.kachel-sanft,.kachel-informativ,.kachel-liste) #recentSection #recent>.produkt-kachel[data-familie]{--zl-kante:var(--fam-kante);--zl-text:#203129;--zl-leise:#3a4842;--ink:#203129;--icon:#203129;--muted:#3a4842;--ux2-text-leise:#3a4842;color:#203129;background:var(--zl-flaeche)}

/* Standard: drei Reihen 44 / Name / 44, Breite:Höhe 1:1,08. Das Symbol bleibt zwischen zwei möglichen oberen Zielen. */
html.kachel-sanft #active .produkt-hauptaktion,html.kachel-sanft #recentSection #recent>.recent-card{aspect-ratio:1/1.08}
html.kachel-sanft #active .produkt-hauptaktion{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) 44px;align-items:center;justify-items:center;padding:0 8px}
html.kachel-sanft #recentSection #recent>.recent-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:44px minmax(0,1fr) 44px;align-items:center;justify-items:center;padding:0 8px}
html.kachel-sanft :is(#active,#recent) .produkt-symbol{grid-column:1;grid-row:1;width:28px;max-width:calc(100% - 72px);height:44px;margin:0 auto;justify-self:center}
html.kachel-sanft :is(#active,#recent) .produkt-symbol :is(.icon-slot,.ic){width:100%;height:min(28px,100%)}
html.kachel-sanft :is(#active,#recent) .produkt-kachel[data-symbolgroesse] .produkt-symbol{width:28px;max-width:calc(100% - 72px);height:44px}
html.kachel-sanft :is(#active,#recent) .produkt-kachel[data-symbolgroesse] .produkt-symbol :is(.icon-slot,.ic){width:100%;height:min(28px,100%)}
html.kachel-sanft :is(#active,#recent) .produkt-name{grid-column:1;grid-row:2;align-self:center;justify-self:center;width:100%;font-size:13.5px;text-align:center}
html.kachel-sanft :is(#active,#recent) .produkt-titelblock{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-self:stretch;align-self:center;gap:2px;min-width:0;width:100%;text-align:center}
html.kachel-sanft :is(#active,#recent) .produkt-titelblock>.produkt-name{align-self:stretch;transform:none}
html.kachel-sanft :is(#active,#recent) .produkt-titelblock>.produkt-meta{position:absolute;left:8px;bottom:8px;display:block;max-width:calc(100% - 52px);margin:0;line-height:1.15;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.kachel-sanft :is(#active,#recent) .produkt-fuss{justify-content:flex-end}
html.kachel-sanft :is(#active,#recent) .produkt-menge{font-size:12.5px;font-weight:800}

/* Eckziele: Standard zeigt 30-px-Münzen ohne Ring; Groß/Liste 44 px mit weißem Ring. */
html:is(.kachel-sanft,.kachel-informativ,.kachel-liste) :is(#active li.produkt-kachel,#recent .recent-card){--akzent:#a94120}
html[data-theme="dark"]:is(.kachel-sanft,.kachel-informativ,.kachel-liste) :is(#active li.produkt-kachel,#recent .recent-card){--akzent:#ff9b78}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf{top:0;right:0;width:44px;height:44px}
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf .icon-slot{min-height:0;margin:0}
html.kachel-sanft :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf{box-sizing:border-box;align-items:start;justify-items:end;padding:4px}
html.kachel-sanft #active li.produkt-kachel>.produkt-notizknopf>.produkt-notiz{position:static;width:30px;height:30px;background:color-mix(in srgb,var(--fam-flaeche,var(--ux2-flaeche)) 62%,white 38%);box-shadow:none;color:#203129}
html.kachel-sanft #recent .recent-card>.produkt-notizknopf>.produkt-notiz{position:static;width:30px;height:30px;background:color-mix(in srgb,var(--zl-flaeche,var(--fam-flaeche,var(--ux2-flaeche))) 62%,white 38%);box-shadow:none;color:#203129}
html.kachel-sanft :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz svg{width:17px;height:17px}
html[data-theme="dark"]:is(.kachel-sanft,.kachel-informativ,.kachel-liste) :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz{color:#203129}
html[data-theme="dark"].kategorien:is(.kachel-sanft,.kachel-informativ,.kachel-liste) #active .produkt-kachel[data-familie]>.produkt-notizknopf>.produkt-notiz{color:#203129}
html :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion)::before{border:0;background:var(--de147-aktion-flaeche)}
html.kachel-sanft :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion)::before{inset:auto 4px 4px auto;width:30px;height:30px}
html.kachel-sanft :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion){place-items:end;padding:0 9px 9px 0}
html :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion){color:var(--de147-aktion-symbol)}
html :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion) .icon-slot{--knock:var(--de147-aktion-flaeche)}
html:is(.kachel-informativ,.kachel-liste) #active li.produkt-kachel>.produkt-notizknopf>.produkt-notiz{position:relative;width:44px;height:44px;background:var(--fam-flaeche,var(--ux2-flaeche));box-shadow:0 0 0 2px rgb(255 255 255/.6)}
html:is(.kachel-informativ,.kachel-liste) #recent .recent-card>.produkt-notizknopf>.produkt-notiz{position:relative;width:44px;height:44px;background:var(--zl-flaeche,var(--fam-flaeche,var(--ux2-flaeche)));box-shadow:0 0 0 2px rgb(255 255 255/.6)}
html:is(.kachel-informativ,.kachel-liste) :is(#active li.produkt-kachel,#recent .recent-card) :is(.produkt-korbaktion,.produkt-aktion)::before{inset:0;box-shadow:0 0 0 2px rgb(255 255 255/.6)}
html:is(.kachel-informativ,.kachel-liste) :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf>.produkt-notiz svg{width:22px;height:22px}
html :is(#active li.produkt-kachel,#recent .recent-card) .produkt-notizpunkt{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--akzent);pointer-events:none}
html.kachel-sanft :is(#active li.produkt-kachel,#recent .recent-card) .produkt-notizpunkt{top:2px;right:2px;width:8px;height:8px}
html.kachel-informativ :is(#active li.produkt-kachel,#recent .recent-card) .produkt-notizpunkt{top:-2px;right:-2px}
html.kachel-liste :is(#active li.produkt-kachel,#recent .recent-card) .produkt-notizpunkt{top:0;right:0}

/* Groß: 60 px oben und unten, Name in der Mitte, Symbol 46 px. */
html.kachel-informativ :is(#active,#recent) .produkt-kachel{min-height:200px}
html.kachel-informativ #active .produkt-hauptaktion{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:60px minmax(0,1fr) 60px;align-items:center;justify-items:center;min-height:200px;padding:0 10px}
html.kachel-informativ #active .produkt-symbol{position:relative;top:auto;left:auto;grid-column:1;grid-row:1;width:46px;height:46px;transform:none;justify-self:center}
html.kachel-informativ #active .produkt-symbol :is(.icon-slot,.ic){width:46px;height:46px}
html.kachel-informativ #active .produkt-gross{display:none}
html.kachel-informativ #active .produkt-meta{display:flex}
html.kachel-informativ :is(#active,#recent) .produkt-name{grid-column:1;grid-row:2;align-self:center;justify-self:center;width:100%;font-size:17px;font-weight:900;line-height:1.2;text-align:center}
html.kachel-informativ :is(#active,#recent) .produkt-titelblock{grid-column:1;grid-row:2;display:flex;flex-direction:column;align-items:center;justify-self:stretch;align-self:center;gap:2px;min-width:0;width:100%;text-align:center}
html.kachel-informativ :is(#active,#recent) .produkt-titelblock>.produkt-name{align-self:stretch;transform:none}
html.kachel-informativ :is(#active,#recent) .produkt-titelblock>.produkt-oberbegriff{font-size:13px}
html.kachel-informativ :is(#active,#recent) .produkt-titelblock>.produkt-meta{position:absolute;left:14px;bottom:16px;display:block;max-width:calc(100% - 76px);margin:0;line-height:1.15;text-align:left}
html.kachel-informativ :is(#active,#recent) .produkt-menge{font-size:14px;font-weight:800}
html.kachel-informativ :is(#active,#recent) .produkt-fuss{right:8px;bottom:8px;left:8px;min-height:44px;padding:0 0 0 6px}
html.kachel-informativ :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-notizknopf{top:8px;right:8px}
html.kachel-informativ #recentSection #recent>.recent-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:60px minmax(0,1fr) 60px;align-items:center;justify-items:center;min-height:200px;padding:0 10px;aspect-ratio:auto}
html.kachel-informativ #recent .produkt-symbol{position:relative;top:auto;left:auto;grid-column:1;grid-row:1;width:46px;height:46px;transform:none;justify-self:center}
html.kachel-informativ #recent .produkt-symbol :is(.icon-slot,.ic){width:46px;height:46px}
/* Liste: jede Karte ist eine eigene 14-px-Zeile. Name bleibt einzeilig, die Menge kürzt; Bedienziele liegen rechts. */
html.kachel-liste #active .produkt-raster{grid-template-columns:minmax(0,1fr);gap:var(--ux2-raster-abstand)}
html.kachel-liste #recentSection #recent{grid-template-columns:minmax(0,1fr);gap:var(--ux2-raster-abstand)}
html.kachel-liste :is(#active,#recent) .produkt-kachel{min-height:60px;border:1.5px solid var(--fam-kante,var(--line));border-radius:14px;background:var(--zl-flaeche,var(--fam-flaeche,var(--ux2-flaeche)))}
html.kachel-liste #recent>.produkt-kachel{border-style:dashed}
html.kachel-liste #active .produkt-kachel{box-sizing:border-box;grid-template-columns:minmax(0,1fr) auto 44px;grid-template-rows:minmax(46px,auto);padding:6px 8px 6px 10px}
html.kachel-liste #active .produkt-kachel:has(>.produkt-notizknopf){grid-template-columns:minmax(0,1fr) auto 44px 44px}
html.kachel-liste #active .produkt-hauptaktion{grid-template-columns:34px minmax(0,1fr);grid-row:1;min-height:46px;padding:0}
html.kachel-liste #active .produkt-symbol,html.kachel-liste #active .produkt-symbol :is(.icon-slot,.ic){width:34px;height:34px}
html.kachel-liste #active .produkt-name{font-size:16px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
html.kachel-liste #active .produkt-kachel:not(:has(.produkt-titelblock)):has(.produkt-menge) .produkt-name{transform:translateY(-8px)}
html.kachel-liste #active .produkt-kachel:not(:has(.produkt-titelblock)) .produkt-meta{display:block;position:absolute;z-index:1;left:54px;bottom:7px;max-width:calc(100% - 166px);pointer-events:none}
html.kachel-liste #active .produkt-menge{position:static;display:block;overflow:hidden;font-size:13px;font-weight:800;line-height:1.2;white-space:nowrap;text-overflow:ellipsis;text-align:left}
html.kachel-liste #active li.produkt-kachel>.produkt-notizknopf{grid-row:1;align-self:center}
html.kachel-liste #active .produkt-korbaktion{grid-row:1;align-self:center}
html.kachel-liste #recentSection #recent>.recent-card{box-sizing:border-box;display:grid;grid-template-columns:42px minmax(0,1fr) auto 44px;grid-template-rows:repeat(2,minmax(23px,auto));align-items:center;gap:0 8px;padding:6px 8px 6px 10px;aspect-ratio:auto;border-radius:14px;text-align:left}
html.kachel-liste #recent .produkt-flaeche{position:absolute;inset:0;z-index:0;min-height:0}
html.kachel-liste #recent .produkt-symbol{grid-column:1;grid-row:1 / 3;z-index:1;width:34px;height:34px;margin:0;pointer-events:none}
html.kachel-liste #recent .produkt-symbol :is(.icon-slot,.ic){width:34px;height:34px}
html.kachel-liste #recent .produkt-name{grid-column:2;grid-row:1;align-self:end;z-index:1;overflow:hidden;font-size:16px;white-space:nowrap;text-overflow:ellipsis;pointer-events:none}
html.kachel-liste #recent>.recent-card:not(:has(.produkt-menge)) .produkt-name{grid-row:1 / 3;align-self:center}
html.kachel-liste #recent .produkt-fuss{position:static;grid-column:4;display:contents}
html.kachel-liste #recent .produkt-meta{position:static;grid-column:2;grid-row:2;align-self:start;z-index:1;min-width:0;max-width:100%;pointer-events:none}
html.kachel-liste #recent .produkt-menge{font-size:13px;font-weight:800}
html.kachel-liste #recent>.recent-card>.produkt-notizknopf{position:static;grid-column:3;grid-row:1 / 3;align-self:center}
html.kachel-liste #recent .produkt-aktion{grid-column:4;grid-row:1 / 3;align-self:center}
html.kachel-liste :is(#active,#recent) .produkt-titelblock{display:flex;flex-direction:column;align-items:flex-start;align-self:center;gap:0;min-width:0;width:100%;text-align:left;pointer-events:none}
html.kachel-liste :is(#active,#recent) .produkt-titelblock>.produkt-name{align-self:stretch;transform:none}
html.kachel-liste :is(#active,#recent) .produkt-titelblock>.produkt-oberbegriff{align-self:stretch;font-size:13px;font-weight:500;line-height:1.2}
html.kachel-liste :is(#active,#recent) .produkt-titelblock>.produkt-meta{position:static;display:block;align-self:stretch;min-width:0;max-width:100%;margin:0;line-height:1.2;text-align:left;transform:none}
html.kachel-liste #active .produkt-hauptaktion:has(>.produkt-titelblock){min-height:60px}
html.kachel-liste #active .produkt-hauptaktion>.produkt-titelblock{grid-column:2;grid-row:1}
html.kachel-liste #recent>.recent-card>.produkt-titelblock{grid-column:2;grid-row:1 / 3;z-index:1}
@media(max-width:220px){
  html.kachel-liste #active .produkt-kachel,html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf){grid-template-columns:minmax(0,1fr) 44px 44px;grid-template-rows:minmax(60px,auto) 44px;column-gap:8px}
  html.kachel-liste #active .produkt-hauptaktion{grid-column:1 / -1;grid-row:1}
  html.kachel-liste #active li.produkt-kachel>.produkt-notizknopf{grid-column:2;grid-row:2;justify-self:end;align-self:start}
  html.kachel-liste #active .produkt-korbaktion,html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf) .produkt-korbaktion{grid-column:3;grid-row:2;align-self:start}
  html.kachel-liste #active .produkt-kachel:not(:has(.produkt-titelblock)) .produkt-meta{left:54px;top:46px;bottom:auto;max-width:calc(100% - 64px)}
  html.kachel-liste #recent>.recent-card{grid-template-columns:42px minmax(0,1fr) 44px 44px;grid-template-rows:minmax(60px,auto) 44px;gap:0 8px}
  html.kachel-liste #recent .produkt-symbol{grid-column:1;grid-row:1}
  html.kachel-liste #recent>.recent-card:not(:has(.produkt-titelblock)) .produkt-name,html.kachel-liste #recent>.recent-card:not(:has(.produkt-titelblock)):not(:has(.produkt-menge)) .produkt-name{grid-column:2 / -1;grid-row:1;align-self:center}
  html.kachel-liste #recent>.recent-card:not(:has(.produkt-titelblock)) .produkt-meta{position:static;grid-column:2 / -1;grid-row:1;align-self:center;justify-self:stretch;max-width:100%}
  html.kachel-liste #recent>.recent-card:not(:has(.produkt-titelblock)):has(.produkt-menge) .produkt-name{grid-column:2 / -1;grid-row:1;align-self:center;transform:translateY(-10px)}
  html.kachel-liste #recent>.recent-card:not(:has(.produkt-titelblock)):has(.produkt-menge) .produkt-meta{grid-column:2 / -1;grid-row:1;align-self:center;transform:translateY(12px)}
  html.kachel-liste #recent>.recent-card>.produkt-notizknopf{grid-column:3;grid-row:2;justify-self:end;align-self:start}
  html.kachel-liste #recent .produkt-aktion{grid-column:4;grid-row:2;align-self:start}
}
@media(max-width:190px){
  html.kachel-liste #active .produkt-kachel{grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px;column-gap:8px;row-gap:8px}
  html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf){grid-template-columns:minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px 44px;column-gap:8px;row-gap:8px}
  html.kachel-liste #active li.produkt-kachel>.produkt-notizknopf{grid-column:2;grid-row:2;justify-self:end}
  html.kachel-liste #active .produkt-korbaktion{grid-column:2;grid-row:2;justify-self:end}
  html.kachel-liste #active li.produkt-kachel:has(>.produkt-notizknopf) .produkt-korbaktion{grid-column:2;grid-row:3;justify-self:end}
  html.kachel-liste #recentSection #recent>.recent-card{grid-template-columns:42px minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px;column-gap:8px;row-gap:8px}
  html.kachel-liste #recentSection #recent>.recent-card:has(>.produkt-notizknopf){grid-template-columns:42px minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px 44px;column-gap:8px;row-gap:8px}
  html.kachel-liste #recent>.recent-card>.produkt-notizknopf{grid-column:3;grid-row:2;justify-self:end}
  html.kachel-liste #recent .produkt-aktion{grid-column:3;grid-row:2;justify-self:end}
  html.kachel-liste #recent>.recent-card:has(>.produkt-notizknopf) .produkt-aktion{grid-column:3;grid-row:3;justify-self:end}
}

/* K138: Gerichte-Ecke ist ein eigener 44-px-Knopf. In der Listenform erhält sie eine eigene Spalte. */
html #active li.produkt-kachel>.produkt-gerichteecke{position:absolute;top:0;left:0;z-index:2;display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;background:transparent;color:var(--ux2-text-leise);cursor:pointer}
html #active li.produkt-kachel>.produkt-gerichteecke>.icon-slot{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:color-mix(in srgb,var(--fam-flaeche,var(--ux2-flaeche)) 62%,white 38%);color:#203129}
html #active li.produkt-kachel>.produkt-gerichteecke>.icon-slot .ic{width:18px;height:18px}
html #active li.produkt-kachel>.produkt-gerichteecke:focus-visible{outline:3px solid #1768ac;outline-offset:-3px}
html:is(.kachel-sanft,.kachel-informativ) #active li.produkt-kachel>.produkt-gerichteecke{left:0}
html.kachel-sanft #active li.produkt-kachel>.produkt-gerichteecke>.icon-slot{transform:translate(-3px,-3px)}
html.kachel-informativ #active li.produkt-kachel>.produkt-gerichteecke{top:8px;left:8px}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke){grid-template-columns:44px minmax(0,1fr) auto 44px}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke):has(>.produkt-notizknopf){grid-template-columns:44px minmax(0,1fr) auto 44px 44px}
html.kachel-liste #active li.produkt-kachel>.produkt-gerichteecke{position:relative;grid-column:1;grid-row:1;align-self:center}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke)>.produkt-hauptaktion{grid-column:2;grid-row:1}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke) .produkt-korbaktion{grid-column:4;grid-row:1}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke)>.produkt-notizknopf{grid-column:5;grid-row:1}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke):not(:has(>.produkt-notizknopf)) .produkt-meta{left:100px;max-width:calc(100% - 188px)}
html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke):has(>.produkt-notizknopf) .produkt-meta{left:100px;max-width:calc(100% - 232px)}
@media(max-width:220px){html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke){grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px}.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke)>.produkt-hauptaktion{grid-column:1/-1;grid-row:1}.kachel-liste #active li.produkt-kachel>.produkt-gerichteecke{grid-column:1;grid-row:2}.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke) .produkt-korbaktion{grid-column:3;grid-row:2}.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke) .produkt-meta{left:54px;max-width:calc(100% - 108px)}}
@media(max-width:220px){html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke):has(>.produkt-notizknopf){grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(60px,auto) 44px}html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke)>.produkt-notizknopf{grid-column:2;grid-row:2;justify-self:center}html.kachel-liste #active li.produkt-kachel:has(>.produkt-gerichteecke) .produkt-korbaktion{grid-column:3;grid-row:2}}
.anteil-blatt .anteil-zeile{display:grid;gap:3px;margin:0;padding:12px 0;border-top:1px solid var(--line)}
.anteil-blatt .anteil-zeile:first-child{border-top:0}
.anteil-blatt .anteil-zeile small{color:var(--muted);font-size:14px}
.anteil-blatt .anteil-kopftext{min-width:0}.anteil-blatt .anteil-kopftext small,.kann-weg-blatt .sheet-head small{display:block;margin-top:4px;color:var(--muted);font-size:13px;line-height:1.35}
html[data-theme="dark"] #active li.produkt-kachel>.produkt-gerichteecke>.icon-slot{color:#203129}

/* DE-151: In „Zuletzt benutzt“ gibt es nur noch echte Verlaufskarten. */
html:is(.kachel-sanft,.kachel-informativ) #recentSection #recent>.recent-card.recent-block-echt{border-radius:2px}
@media(min-width:300px){
  html.kachel-sanft #recentSection #recent>.recent-card:nth-child(1 of .recent-block-echt){border-top-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:is(:nth-child(3 of .recent-block-echt),:nth-last-child(1 of .recent-block-echt):nth-child(-n+3 of .recent-block-echt)){border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:nth-child(3n+1 of .recent-block-echt):nth-last-child(-n+3 of .recent-block-echt){border-bottom-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:is(:nth-last-child(1 of .recent-block-echt),:nth-child(3n of .recent-block-echt):nth-last-child(-n+3 of .recent-block-echt)){border-bottom-right-radius:var(--ux2-eckenradius)}
}
@media(min-width:200px) and (max-width:299px){
  html.kachel-sanft #recentSection #recent>.recent-card:nth-child(1 of .recent-block-echt){border-top-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:is(:nth-child(2 of .recent-block-echt),:nth-last-child(1 of .recent-block-echt):nth-child(1 of .recent-block-echt)){border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:nth-child(2n+1 of .recent-block-echt):nth-last-child(-n+2 of .recent-block-echt){border-bottom-left-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:is(:nth-last-child(1 of .recent-block-echt),:nth-child(2n of .recent-block-echt):nth-last-child(-n+2 of .recent-block-echt)){border-bottom-right-radius:var(--ux2-eckenradius)}
}
@media(max-width:199px){
  html.kachel-sanft #recentSection #recent>.recent-card:nth-child(1 of .recent-block-echt){border-top-left-radius:var(--ux2-eckenradius);border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-sanft #recentSection #recent>.recent-card:nth-last-child(1 of .recent-block-echt){border-bottom-left-radius:var(--ux2-eckenradius);border-bottom-right-radius:var(--ux2-eckenradius)}
}
@container (min-width:340px){
  html.kachel-informativ #recentSection #recent>.recent-card:nth-child(1 of .recent-block-echt){border-top-left-radius:var(--ux2-eckenradius)}
  html.kachel-informativ #recentSection #recent>.recent-card:is(:nth-child(2 of .recent-block-echt),:nth-last-child(1 of .recent-block-echt):nth-child(1 of .recent-block-echt)){border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-informativ #recentSection #recent>.recent-card:nth-child(2n+1 of .recent-block-echt):nth-last-child(-n+2 of .recent-block-echt){border-bottom-left-radius:var(--ux2-eckenradius)}
  html.kachel-informativ #recentSection #recent>.recent-card:is(:nth-last-child(1 of .recent-block-echt),:nth-child(2n of .recent-block-echt):nth-last-child(-n+2 of .recent-block-echt)){border-bottom-right-radius:var(--ux2-eckenradius)}
}
@container (max-width:339px){
  html.kachel-informativ #recentSection #recent>.recent-card:nth-child(1 of .recent-block-echt){border-top-left-radius:var(--ux2-eckenradius);border-top-right-radius:var(--ux2-eckenradius)}
  html.kachel-informativ #recentSection #recent>.recent-card:nth-last-child(1 of .recent-block-echt){border-bottom-left-radius:var(--ux2-eckenradius);border-bottom-right-radius:var(--ux2-eckenradius)}
}

/* Rückseite: keine Ecken, kein Rand. Beschriftung klein vor dem Wert; Größe/Scroll steuert app-v3.js. */
html :is(#active li.produkt-kachel,#recent .recent-card)>.produkt-rueckseite{border:0;background:var(--zl-flaeche,var(--fam-flaeche,var(--ux2-flaeche)));transition:visibility 0s 125ms}
html :is(#active li.produkt-kachel[data-familie],#recent .recent-card[data-familie])>.produkt-rueckseite{--rueck-text:#203129;--rueck-leise:#3a4842}
html[data-theme="dark"] :is(#active li.produkt-kachel:not([data-familie]),#recent .recent-card:not([data-familie]))>.produkt-rueckseite{--rueck-text:#edf5f0;--rueck-leise:#eff1f0}
html :is(#active li.produkt-kachel,#recent .recent-card):has(>.produkt-rueckseite){transition:transform 250ms cubic-bezier(.3,.7,.3,1)}
html :is(#active li,#recent .recent-card) .produkt-rueckaktion{gap:4px;padding:8px;line-height:1.2}
html :is(#active,#recent) .rueck-zeile{display:block;max-width:100%;overflow-wrap:anywhere;white-space:pre-wrap}
html :is(#active,#recent) .rueck-zeile small{margin-right:.35em;color:var(--rueck-leise);font-size:.72em;font-weight:500}
html :is(#active,#recent) .rueck-name{font-weight:850}
html :is(#active,#recent) .rueck-notiz{font-size:inherit;font-weight:400;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
@media(prefers-reduced-motion:reduce){html :is(#active li.produkt-kachel,#recent .recent-card):has(>.produkt-rueckseite){transition:none}}

/* DE-14 Vorschau im Detailblatt: dieselben Kartenregeln wie #active (Sanft), erzeugt aus den Zeilen oben. */
html.kategorien:is([data-theme],:not([data-theme])) :is(#detailsVorschau .produkt-kachel[data-familie]:not([data-status="im-korb"]),.card[data-familie] .card-main,.recent-card[data-familie],.catalog-card[data-familie]){--ink:#203129;--icon:#203129;--muted:#203129;--ux2-text-leise:#203129;--green:#154d34;color:#203129}
html.kategorien #detailsVorschau .produkt-kachel[data-familie]:not([data-status="im-korb"]) .produkt-symbol .icon-slot{--knock:var(--kat-flaeche,var(--fam-flaeche))}
html[data-theme="dark"].kategorien #detailsVorschau .produkt-kachel[data-familie] .produkt-notiz{color:#eff1f0}
html #detailsVorschau .produkt-raster{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--ux2-raster-abstand);margin:0;padding:0;list-style:none}
html #detailsVorschau .produkt-kachel{position:relative;display:grid;min-width:0;overflow:hidden;border:0;border-radius:0;background:var(--ux2-flaeche);color:var(--ink)}
html.kategorien #detailsVorschau .produkt-kachel[data-familie]{background:var(--kat-flaeche,var(--fam-flaeche))}
html #detailsVorschau .produkt-kachel[data-status="im-korb"]{background:var(--ux2-flaeche)}
html #detailsVorschau .produkt-symbol .person-badge{position:absolute;top:auto;right:-6px;bottom:-3px;left:auto;float:none;width:18px;height:18px;margin:0;border:2px solid var(--paper);font-size:10px}
html #detailsVorschau .produkt-symbol .person-badge.two{width:auto;min-width:22px;padding:0 4px;border-radius:9px}
html #detailsVorschau .produkt-hauptaktion{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:2px;width:100%;min-width:0;aspect-ratio:1/1;margin:0;padding:5px 8px 38px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:center;cursor:pointer}
html #detailsVorschau .produkt-symbol{position:relative;display:grid;place-items:center;flex:none;width:43px;height:43px}
html #detailsVorschau .produkt-symbol .icon-slot,html #detailsVorschau .produkt-symbol .ic{width:43px;height:43px}
html #detailsVorschau .produkt-kachel[data-symbolgroesse="36"] .produkt-symbol{width:36px;height:36px}
html #detailsVorschau .produkt-kachel[data-symbolgroesse="36"] .produkt-symbol :is(.icon-slot,.ic){width:36px;height:36px}
html #detailsVorschau .produkt-kachel[data-symbolgroesse="30"] .produkt-symbol{width:30px;height:30px}
html #detailsVorschau .produkt-kachel[data-symbolgroesse="30"] .produkt-symbol :is(.icon-slot,.ic){width:30px;height:30px}
html #detailsVorschau .produkt-name{display:-webkit-box;flex:none;max-width:100%;max-height:calc(2em * 1.08);overflow:hidden;font-size:13px;font-weight:850;line-height:1.08;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;hyphens:manual;-webkit-hyphens:manual;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
html #detailsVorschau .produkt-name.custom-name{hyphens:auto;-webkit-hyphens:auto}
html #detailsVorschau .produkt-notiz{position:absolute;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:color-mix(in srgb,var(--paper) 80%,transparent);color:var(--ux2-text-leise)}
html #detailsVorschau .produkt-fuss{position:absolute;right:0;bottom:0;left:0;display:flex;align-items:flex-end;gap:2px;padding:0 0 0 8px;pointer-events:none}
html #detailsVorschau .produkt-meta{display:flex;flex:1;flex-direction:column;min-width:0;margin-bottom:8px;line-height:1.15;text-align:left}
html #detailsVorschau .produkt-menge{overflow:hidden;font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html #detailsVorschau .produkt-variante{overflow:hidden;color:var(--ux2-text-leise);font-size:11px;font-weight:400;white-space:nowrap;text-overflow:ellipsis}
html #detailsVorschau .produkt-korbaktion{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;margin:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--ux2-marke);pointer-events:auto;cursor:pointer}
html #detailsVorschau .produkt-korbaktion::before{content:"";position:absolute;inset:7px;box-sizing:border-box;border:1px solid var(--line);border-radius:50%;background:var(--paper)}
html #detailsVorschau .produkt-korbaktion svg{position:relative}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-korbaktion{color:var(--paper)}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-korbaktion::before{border-color:var(--ux2-marke);background:var(--ux2-marke)}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-symbol{opacity:var(--ux2-gedimmt)}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-name{color:var(--ux2-text-leise)}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-menge{color:var(--ux2-marke)}
html #detailsVorschau .produkt-korbaktion .icon-slot{position:relative;width:20px;height:20px;color:inherit;--knock:var(--paper)}
html #detailsVorschau .produkt-kachel[data-status="im-korb"] .produkt-korbaktion .icon-slot{--knock:var(--ux2-marke)}
html #detailsVorschau .produkt-korbaktion .icon-slot .ic{width:20px;height:20px;color:inherit}
html #detailsVorschau .produkt-variante{font-size:11px}
html #detailsVorschau .produkt-menge,html #detailsVorschau .produkt-variante{font-weight:400}
html #detailsVorschau .produkt-symbol .person-badge.two{border-radius:22px}
#detailsVorschau .produkt-kachel{border-radius:var(--ux2-eckenradius)}
#detailsVorschau .produkt-hauptaktion{cursor:default}
#detailsVorschau .produkt-korbaktion{cursor:default}
