:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#18231b;background:#faf8f1}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}.page{max-width:520px;margin:auto;padding:30px 24px 60px}.brand{display:flex;align-items:center;gap:12px;color:#28694b}.brand-icon{font-size:36px}.brand-name{font-size:30px;font-weight:800;letter-spacing:-1px}.brand p{margin:0;color:#68736b;font-size:13px}main{margin-top:48px}h1{font-size:32px;line-height:1.12;letter-spacing:-1px;margin:0 0 12px}h2{font-size:21px;margin:18px 0 8px}.intro,.footnote{color:#68736b;line-height:1.5}.card{background:#fffefa;border:1px solid #eeeae0;border-radius:24px;padding:22px;margin-top:28px;box-shadow:0 5px 18px #253c2110}.tabs{display:flex;background:#f0f1e7;border-radius:16px;padding:4px;margin-bottom:24px}.tabs button{flex:1;border:0;background:transparent;padding:12px;border-radius:12px;font-size:15px;font-weight:700;color:#546256}.tabs button[aria-pressed=true]{background:white;color:#28694b;box-shadow:0 2px 8px #00000012}label{display:block;font-size:14px;font-weight:700;margin:18px 0}input{display:block;width:100%;margin-top:8px;border:1px solid #d8dfd5;background:#fbfbf7;border-radius:12px;padding:14px;font:inherit;color:#18231b}input:focus-visible,button:focus-visible{outline:3px solid #8ebd8d;outline-offset:2px}.primary{width:100%;background:#28694b;color:white;border:0;border-radius:30px;padding:15px;font:inherit;font-weight:700;font-size:16px;cursor:pointer}.primary:disabled{opacity:.6}.hint,.footnote{font-size:13px}.hint{color:#68736b;margin-top:-10px}#message,#lists-message{color:#a12d28;line-height:1.4}.footnote{text-align:center;margin:26px 16px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.text-button{border:0;background:none;color:#28694b;font:inherit;font-weight:700;cursor:pointer}.welcome{background:#e8efd9;padding:24px;border-radius:24px;margin-top:22px}.welcome p{line-height:1.5;margin-bottom:0}.home-icon{display:inline-flex;width:60px;height:60px;align-items:center;justify-content:center;background:#d5e4c3;border-radius:16px;color:#28694b;font-size:44px}@media(min-width:700px){.page{padding-top:55px}}
.version{text-align:center;color:#8a948a;font-size:12px;margin-top:64px}.list-cards{display:grid;gap:14px;margin:24px 0}.list-card{display:flex;align-items:center;gap:16px;background:#e8efd9;border-radius:24px;padding:20px}.list-card:nth-child(even){background:#f0f1df}.list-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:16px;background:#d7e5c5;color:#28694b;font-size:32px}.list-info{min-width:0;flex:1}.list-info h2{margin:0;overflow-wrap:anywhere}.list-info p{margin:5px 0 0;color:#657262;font-size:13px}.list-actions{display:flex;gap:4px}.icon-button{border:0;background:transparent;color:#28694b;font-size:20px;padding:10px;cursor:pointer}.new-list{margin-top:18px}dialog{width:min(420px,calc(100% - 36px));border:0;border-radius:24px;background:#fffefa;color:#18231b;padding:24px;box-shadow:0 18px 70px #0003}dialog::backdrop{background:#17271e99}.dialog-actions{display:flex;gap:10px;margin-top:20px}.dialog-actions button{flex:1}.secondary{border:1px solid #cfd8cc;border-radius:30px;background:white;padding:14px;font:inherit;font-weight:700;cursor:pointer}#dialog-message{color:#a12d28}

.page{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.page main{flex:1}
.open-list{border:0;background:transparent;padding:0;text-align:left;color:inherit;font:inherit;cursor:pointer;width:100%}.back-button{padding:8px 0;margin-bottom:20px}.item-summary{background:#e8efd9;color:#28694b;padding:15px 18px;border-radius:16px;font-weight:700;margin:24px 0 16px}.item-cards{display:grid;gap:10px}.item-card{display:flex;align-items:center;gap:12px;background:#fffefa;border:1px solid #e8e9df;border-radius:18px;padding:14px;box-shadow:0 3px 10px #253c2110}.item-card input[type=checkbox]{width:24px;height:24px;margin:0;accent-color:#28694b;flex:none}.item-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow-wrap:anywhere}.item-info span,.item-info small{color:#68736b}.item-card.done .item-info{text-decoration:line-through;opacity:.65}.item-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}#items-message,#item-dialog-message{color:#a12d28}
.product-image{width:64px;height:64px;object-fit:contain;flex:none;border-radius:12px;background:#fff}
/* Kompakte Einkaufsansicht für Mobilgeräte. */
.item-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.item-card{position:relative;display:block;min-width:0;padding:0;border-radius:16px;overflow:visible}.item-buy{display:flex;align-items:center;flex-direction:column;justify-content:flex-start;width:100%;min-height:154px;padding:12px 7px 10px;border:0;border-radius:16px;background:transparent;font:inherit;color:inherit;cursor:pointer;text-align:center}.item-buy .product-image,.product-fallback{width:100%;height:76px;object-fit:contain;border-radius:0;background:transparent}.product-fallback{display:grid;place-items:center;font-size:35px}.item-buy strong{font-size:14px;line-height:1.2;overflow-wrap:anywhere}.item-detail,.item-notes{font-size:12px;line-height:1.3;color:#68736b;overflow-wrap:anywhere}.item-menu{position:absolute;top:4px;right:5px;z-index:2}.item-menu summary{list-style:none;cursor:pointer;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;font-weight:800;color:#28694b;background:#fffefaeb}.item-menu summary::-webkit-details-marker{display:none}.item-menu-actions{position:absolute;right:0;top:32px;background:white;border:1px solid #e5e8dc;border-radius:12px;box-shadow:0 6px 18px #0002;min-width:125px;overflow:hidden}.item-menu-actions button{display:block;width:100%;padding:12px;border:0;background:white;text-align:left;font:inherit;color:#18231b}.completed-section{margin-top:20px}.completed-section summary{cursor:pointer;background:#f0efe8;border-radius:14px;padding:14px;font-weight:700;color:#28694b}.completed-items{padding:4px 8px}.completed-item{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #e8e9df;padding:14px;color:#68736b;font:inherit;cursor:pointer}.brand-icon{color:#28694b}.list-card{min-height:120px}.list-icon{background:transparent;font-size:42px}.new-list{box-shadow:0 3px 8px #173a211c}@media(max-width:350px){.item-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.remember-option{display:flex;align-items:center;gap:10px;font-weight:500;color:#425346}.remember-option input{width:20px;height:20px;margin:0;accent-color:#28694b}
.suggestion-hint{margin:-9px 0 8px;font-size:12px;line-height:1.4;color:#68736b}.product-suggestions{display:grid;gap:4px;margin:0 0 14px;padding:5px;background:#f3f5ec;border:1px solid #e3eadc;border-radius:14px}.product-suggestion{display:flex;align-items:center;gap:12px;width:100%;padding:6px 10px;border:0;border-radius:10px;background:transparent;text-align:left;font:inherit;font-weight:650;color:#18231b;cursor:pointer}.product-suggestion:hover,.product-suggestion:focus-visible{background:white}.product-suggestion img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:8px}
.sync-status{font-size:12px;color:#68736b;line-height:1.4}
/* iOS Safari: vermeidet das automatische Hineinzoomen und seitlichen Überlauf. */
input:not([type=checkbox]), textarea, select{font-size:16px;min-width:0;max-width:100%}
.page, .page main, .page section{min-width:0;width:100%}
dialog{width:calc(100% - 32px);max-width:420px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain}
dialog form, .item-fields, .item-fields label{min-width:0}
.item-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.dialog-actions button{min-width:0}
@media(max-width:340px){.dialog-actions{flex-direction:column}.item-fields{grid-template-columns:minmax(0,1fr)}}
.detail-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.detail-chip{padding:8px 12px;border:1px solid #dce7d3;border-radius:20px;background:#edf3e6;color:#28694b;font:inherit;cursor:pointer}.details-label{width:100%;margin:6px 0 0;font-size:14px;font-weight:700;color:#425346}.item-buy{-webkit-touch-callout:none;user-select:none}
.image-controls{margin:16px 0}.image-picker{display:block;color:#28694b}.image-picker input{font-weight:400;font-size:16px}.image-controls .secondary{padding:10px 14px;color:#28694b}#image-message{font-size:13px;color:#425346}

.item-buy{touch-action:manipulation;-webkit-user-select:none}
/* Gestaltung der mobilen Listenübersicht; Profilbilder und Freigaben folgen. */
.page{padding-bottom:112px}.brand-icon{display:flex}.brand p{display:none}.brand-name{font-size:30px}.page main{margin-top:32px}.list-card{min-height:132px;align-items:flex-start}.list-icon{color:#548c37;font-size:48px}.member-avatars{display:flex;margin-top:12px}.user-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;border:2px solid #fffefa;background:#a8c991;color:#174c32;font-size:12px;font-weight:800}.profile-card{display:flex;align-items:center;gap:16px;margin-top:26px;padding:24px;background:#e8efd9;border-radius:24px}.profile-card p{color:#68736b;margin:5px 0 0;overflow-wrap:anywhere}.large-avatar{width:64px;height:64px;font-size:22px}.profile-logout{margin-top:24px}.bottom-nav{position:fixed;z-index:4;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,520px);display:flex;justify-content:space-around;align-items:center;background:#faf8f1f5;border-top:1px solid #e9e5dc;padding:8px 8px max(8px,env(safe-area-inset-bottom));box-shadow:0 -3px 14px #0000000a}.nav-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:55px;border:0;border-radius:28px;background:transparent;color:#23352a;font:inherit;font-size:12px}.nav-item span{font-size:23px}.nav-item.active{background:#28694b;color:white}.nav-unavailable{color:#929b91}.version{margin-bottom:8px}.page:has(#bottom-nav:not([hidden])){background-image:url('/grocery-bag.png');background-position:left bottom 60px;background-repeat:no-repeat;background-size:min(85%,380px) auto}.page:has(#bottom-nav:not([hidden])) main{padding-bottom:150px}
.list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.members-button{border:0;background:#e8efd9;color:#28694b;font:inherit;font-weight:700;padding:10px;border-radius:20px;white-space:nowrap}.member-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e8e9df}.member-row strong{flex:1;min-width:0;overflow-wrap:anywhere}.member-role{font-size:12px;color:#28694b;background:#e8efd9;padding:6px 9px;border-radius:16px}.member-avatars .user-avatar+.user-avatar{margin-left:-8px}#members-dialog>button{margin-top:16px}#invite-result p{font-size:13px;color:#68736b}#members-message,#accept-message{color:#a12d28}
.user-avatar{overflow:hidden;flex:none}.user-avatar img{width:100%;height:100%;object-fit:cover}.profile-image-picker{margin-top:24px}#profile-image-message{color:#425346;font-size:13px}
/* Mitgliederbilder im Listenkopf */
.list-heading h1{min-width:0;overflow-wrap:anywhere;margin:0}.members-button{display:flex;align-items:center;flex:none;gap:5px;padding:0;background:transparent}.header-member-avatars{margin:0;align-items:center}.header-member-avatars .user-avatar{width:34px;height:34px}.member-plus{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d2d8cd;border-radius:50%;background:#faf8f1;color:#18231b;font-size:26px;line-height:1;font-weight:400}@media(max-width:360px){.list-heading{gap:6px}.list-heading h1{font-size:27px}.header-member-avatars .user-avatar{width:30px;height:30px}.member-plus{width:34px;height:34px}}
/* Größere Produktmotive und gut erkennbare Navigationssymbole. */
.item-buy{min-height:170px;padding:10px 6px 12px;justify-content:flex-start}.item-buy .product-image,.product-fallback{height:112px;width:100%;object-fit:contain}.item-buy .product-image{transform:scale(1.16)}.item-buy strong,.item-buy .item-detail,.item-buy .item-notes{position:relative}.product-fallback{font-size:44px}.nav-item .nav-icon{width:32px;height:32px;display:grid;place-items:center}.nav-icon svg{display:block;width:32px;height:32px}.nav-item{gap:2px;min-height:60px}
@media(max-width:350px){.item-buy .product-image,.product-fallback{height:104px}}
.legal-links,.legal-footer{display:flex;justify-content:center;gap:20px;margin-top:12px}.legal-links a,.legal-footer a,.legal-page a{color:#28694b}.legal-page{max-width:720px;padding-bottom:36px}.legal-page main{flex:1}.legal-page h1{margin-top:28px}.legal-page h2{margin:30px 0 8px;font-size:20px}.legal-page p{line-height:1.65;overflow-wrap:anywhere}.legal-brand{font-size:30px;font-weight:800;text-decoration:none;letter-spacing:-1px}.legal-back{font-weight:700;text-decoration:none}.legal-footer{font-size:14px;padding-top:30px}
.privacy-notice{background:#fff2d8;border-left:4px solid #bd852c;border-radius:8px;padding:14px 16px}
.sprite-icon{background-image:url('/list-icons/motive.png');background-repeat:no-repeat;background-size:590.769% 445.217%}.list-icon.sprite-icon{width:60px;height:60px;flex:0 0 60px;border-radius:10px}.list-icon img{width:100%;height:100%;object-fit:cover;border-radius:12px}.list-heading .header-list-icon{width:45px;height:45px;flex:0 0 45px}.list-heading h1{flex:1}.list-icon-picker{border:0;padding:0;margin:18px 0}.list-icon-picker legend{font-size:14px;font-weight:700;margin-bottom:8px}.list-icon-options{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.list-icon-option{position:relative;margin:0;cursor:pointer}.list-icon-option input{position:absolute;opacity:0;width:1px;height:1px}.list-icon-option .sprite-icon{display:block;width:100%;aspect-ratio:1;border:2px solid transparent;border-radius:10px}.list-icon-option input:checked+.sprite-icon{border-color:#28694b;box-shadow:0 0 0 2px #b6d3a4}.list-icon-option input:focus-visible+.sprite-icon{outline:3px solid #8ebd8d;outline-offset:2px}#list-image-message{font-size:13px;color:#425346}
.sprite-icon.extra-sprite{background-image:url('/list-icons/feiern.png');background-size:362% 111.38%}
/* Die Motivtafeln bleiben unverändert; eine Maske zeigt nur das jeweilige Haus. */
.list-card > .list-icon{align-self:center}
.sprite-icon,.sprite-icon.extra-sprite{position:relative;background-image:none}
.sprite-icon::before{content:"";position:absolute;inset:0;display:block;background-image:url('/list-icons/motive.png');background-repeat:no-repeat;background-size:inherit;background-position:inherit;clip-path:polygon(50% 4%,87% 34%,87% 88%,83% 95%,17% 95%,13% 88%,13% 34%);pointer-events:none}
.sprite-icon.extra-sprite::before{background-image:url('/list-icons/feiern.png');clip-path:polygon(50% 2%,97% 35%,97% 88%,92% 98%,8% 98%,3% 88%,3% 35%)}
.sort-toggle{padding:9px 13px;white-space:nowrap;color:#28694b;font-size:14px}.sort-card{align-items:center}.sort-controls{display:flex;align-items:center;gap:3px}.sort-arrow{min-width:35px;min-height:44px;border:0;border-radius:10px;background:#fffefa;color:#28694b;font-size:21px;cursor:pointer}.sort-grip{display:grid;place-items:center;min-width:34px;min-height:48px;color:#28694b;font-size:28px;cursor:grab;touch-action:none;user-select:none}.sort-card.dragging{box-shadow:0 8px 20px #173a2140;opacity:.85}.sort-footer{display:flex;gap:12px;margin-top:22px}.sort-footer button{flex:1;min-width:0}

/* Schnell hinzufügen: Standards und häufig erledigte Artikel direkt in der geöffneten Liste. */
.quick-add-trigger{width:100%;margin-top:12px;color:#28694b;background:#fffefa}
.quick-add-sheet{position:fixed;left:50%;bottom:0;transform:translateX(-50%);margin:0;width:min(520px,100%);max-width:520px;max-height:min(82dvh,760px);padding:12px 20px max(20px,env(safe-area-inset-bottom));border-radius:24px 24px 0 0;overflow-y:auto}
.sheet-handle{width:56px;height:5px;border-radius:8px;background:#c7cbc2;margin:0 auto 12px}
.quick-add-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.quick-add-head h2{margin:5px 0}.quick-add-head p{margin:0;color:#68736b;font-size:13px}
.quick-add-tabs{display:flex;margin:18px 0 12px;padding:4px;border-radius:16px;background:#f0f1e7}
.quick-add-tabs button{flex:1;min-height:44px;border:0;border-radius:12px;background:transparent;color:#546256;font:inherit;font-weight:700}
.quick-add-tabs button[aria-selected=true]{background:#dceccd;color:#28694b}
#quick-add-message{color:#a12d28;font-size:14px;line-height:1.4}
.quick-add-list{display:grid;max-height:42dvh;overflow:auto;border:1px solid #e8e9df;border-radius:16px;padding:0 12px;background:#fffefa}
.quick-add-row{display:flex;align-items:center;gap:12px;min-height:72px;border-bottom:1px solid #e8e9df}
.quick-add-row:last-child{border-bottom:0}
.quick-add-row>img{width:48px;height:48px;object-fit:contain;flex:none}
.quick-add-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow-wrap:anywhere}
.quick-add-info small{font-size:13px;color:#68736b}
.quick-add-plus,.quick-add-remove{width:42px;height:42px;flex:none;border:0;border-radius:14px;background:#dceccd;color:#174c32;font-size:24px;cursor:pointer}
.quick-add-plus:disabled{background:#eef0e9;color:#718071;cursor:default}
.quick-add-remove{width:34px;height:34px;background:transparent;color:#68736b;font-size:22px}
.quick-add-empty{padding:14px 4px;color:#68736b;line-height:1.5}
.standard-add-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:14px}
.standard-add-form label{grid-column:1 / -1;margin:0}
.standard-add-form .product-suggestions{grid-column:1 / -1;margin:0}
.standard-add-form>button{grid-column:2}
.standard-add-form input{margin-top:6px}
.standard-add-form button{padding:12px 16px;white-space:nowrap}
.quick-add-manual{width:100%;margin-top:16px;color:#28694b}
@media(min-width:540px){.quick-add-sheet{top:50%;bottom:auto;transform:translate(-50%,-50%);border-radius:24px;max-height:calc(100dvh - 40px)}}

/* Native Bediengefühl: klare Touch-Zustände, flüssige Übergänge und sichere Bildschirmränder. */
button, [role="button"], summary, .image-picker { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { transition: transform 140ms ease, background-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease; }
button:active:not(:disabled), .open-list:active, .item-buy:active { transform: scale(.98); }
button:disabled { cursor: wait; }
.item-card, .list-card { transition: transform 180ms ease, box-shadow 180ms ease; }
.item-card:active, .list-card:active { transform: scale(.99); }
dialog[open] { animation: sheet-enter 200ms cubic-bezier(.2,.75,.25,1) both; }
dialog::backdrop { animation: backdrop-enter 160ms ease both; }
@keyframes sheet-enter { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
@keyframes backdrop-enter { from { background-color: transparent; } to { background-color: #17271e99; } }
@media (pointer: coarse) {
  .icon-button, .item-menu summary, .quick-add-plus, .quick-add-remove, .sort-arrow { min-width: 48px; min-height: 48px; }
  .back-button { min-height: 48px; }
  .bottom-nav { padding-left: max(8px, env(safe-area-inset-left)); padding-right: max(8px, env(safe-area-inset-right)); }
  .nav-item { min-height: 64px; }
  .secondary, .primary { min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.mobile-sheet-handle{display:none}
@media(max-width:539px){
  #item-dialog{position:fixed;inset:auto 0 0;transform:none;margin:0;width:100%;max-width:none;max-height:90dvh;border-radius:24px 24px 0 0;padding:12px 20px max(20px,env(safe-area-inset-bottom));overscroll-behavior:contain}
  #item-dialog .mobile-sheet-handle{display:block}
}
.item-card.is-completing{transform:scale(.96);opacity:.55;box-shadow:0 0 0 3px #9bc78e}

/* Beim Abhaken bewegt sich die Karte in Richtung der erledigten Artikel. */
.item-card.is-completing{transform:translateY(14px) scale(.96);opacity:.35}
.completed-item.just-completed{animation:completed-arrive 550ms ease-out}
@keyframes completed-arrive{from{background:#dceccd;transform:translateY(-8px)}to{background:transparent;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.item-card.is-completing{transform:none}.completed-item.just-completed{animation:none}}

/* Listenübersicht mit Themenfarben */
.page:has(#bottom-nav:not([hidden])){background-image:none}
.page:has(#bottom-nav:not([hidden])) main{padding-bottom:20px}
.page:has(#bottom-nav:not([hidden])) .brand{background:#07573e;color:#fff;margin:-30px -24px 0;padding:24px 24px 12px}
.page:has(#bottom-nav:not([hidden])) main{margin-top:0}
.overview-hero{position:relative;overflow:hidden;background:linear-gradient(130deg,#147852,#064b38);color:white;margin:0 -24px 20px;padding:12px 24px 24px;border-radius:0 0 28px 28px;min-height:104px}
.overview-hero p{margin:0 0 3px;color:#d6efdf;font-size:16px}.overview-hero h1{font-size:26px;max-width:80%;margin:0;font-weight:850;letter-spacing:-.6px}.overview-hero>img{position:absolute;right:10px;bottom:0;width:122px;height:100px;object-fit:contain;object-position:right bottom;pointer-events:none}
.overview-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 22px}
.overview-action{min-width:0;min-height:72px;border:0;border-radius:18px;display:flex;flex-wrap:wrap;justify-content:center;align-content:center;align-items:center;gap:4px 6px;font:inherit;color:#173d2d;font-size:21px}
.overview-action strong{font-size:14px}.overview-action small{width:100%;font-size:11px}.overview-action.offers{background:#fff0d8}.overview-action.favorites{background:#ffe5ed;color:#9c2153}.overview-action.popular{background:#e9defc;color:#6033a7}.overview-action:disabled{opacity:1;cursor:default}
#lists-title{font-size:25px;font-weight:850}.section-head{margin-top:6px}#lists-intro{font-size:14px}.list-cards{margin-top:16px}
.overview-card{--card-bg:#fdf1d8;--card-accent:#3d9d41;position:relative;display:flex;align-items:center;gap:10px;background:var(--card-bg)!important;min-height:142px;padding:14px;border-radius:22px;overflow:visible}
.overview-card[data-theme=buero]{--card-bg:#ece3fb;--card-accent:#9661dc}
.overview-card[data-theme=weihnachten]{--card-bg:#e3f2dd;--card-accent:#3d9d41}
.overview-card[data-theme=silvester]{--card-bg:#e6e3f5;--card-accent:#7164a8}
.overview-card[data-theme=grillparty]{--card-bg:#ffe8d9;--card-accent:#d96e38}
.overview-card[data-theme=geburtstag]{--card-bg:#fde4ed;--card-accent:#da5e90}
.overview-card[data-theme=dinner]{--card-bg:#f4e5e0;--card-accent:#ac6954}
.overview-card[data-theme=lunch]{--card-bg:#e6f1da;--card-accent:#78a744}
.overview-card>.list-icon.sprite-icon,.overview-card>.list-icon{width:70px;height:70px;flex:0 0 70px}
.overview-card .list-info{align-self:center}.overview-card .list-info h2{font-size:20px;line-height:1.1;font-weight:850;letter-spacing:-.4px}.overview-card .list-info p{font-size:12px}.overview-card .member-avatars{margin-top:10px}
.overview-card-right{display:flex;align-self:stretch;flex:0 1 46%;min-width:0;flex-direction:column;align-items:flex-end;gap:8px}
.overview-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:4px;width:100%}.overview-count{white-space:nowrap;background:#ffffffa8;border:1px solid #ffffffb8;border-radius:24px;padding:6px 8px;font-size:12px;font-weight:750;color:#15563a}
.overview-menu{position:relative}.overview-menu summary{list-style:none;display:grid;place-items:center;min-width:40px;min-height:40px;cursor:pointer;color:#14513a;font-weight:800}.overview-menu summary::-webkit-details-marker{display:none}.overview-menu-panel{position:absolute;right:0;top:38px;z-index:6;width:190px;background:#fffefa;border-radius:14px;box-shadow:0 6px 24px #0003;overflow:hidden}.overview-menu-panel button{display:block;width:100%;padding:14px;border:0;background:white;text-align:left;font:inherit;font-size:14px;color:#163b29}
.overview-card:has(.overview-menu[open]){z-index:3}
.overview-progress{display:flex;flex-direction:column;align-items:flex-end;gap:4px;width:100%;font-size:11px;color:#405346}.overview-progress small{font-size:11px;text-align:right}.overview-progress-bar{display:block;width:100%;height:7px;border-radius:8px;background:#0002;overflow:hidden}.overview-progress-bar span{display:block;height:100%;border-radius:inherit;background:var(--card-accent)}
.overview-open{margin-top:auto;width:42px;height:42px;border:0;border-radius:14px;background:#ffffff8c;color:#165b3b;font-size:24px;font-weight:700}
.theme-picker{border:0;padding:0;margin:20px 0}.theme-picker legend{font-size:14px;font-weight:700;margin-bottom:10px}.theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theme-option{margin:0;position:relative}.theme-option input{position:absolute;opacity:0;width:1px;height:1px}.theme-option span{display:block;background:#f1f3e8;border:2px solid transparent;border-radius:14px;padding:12px;font-size:13px}.theme-option input:checked+span{border-color:#28694b;background:#e2f0dc}.theme-option input:focus-visible+span{outline:3px solid #8ebd8d}
.overview-collection-row{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #e8e9df}.overview-collection-row span{color:#68736b;font-size:13px}#overview-dialog-close{margin-top:20px;width:100%}
.bottom-nav{background:#084d39;border-color:#084d39}.bottom-nav .nav-item{color:#f5f8ed}.bottom-nav .nav-item.active{background:#fffdf3;color:#07573e}.bottom-nav .nav-unavailable{color:#b8d0c4}
@media(max-width:370px){.overview-card{gap:6px;padding:10px}.overview-card>.list-icon.sprite-icon,.overview-card>.list-icon{width:55px;height:55px;flex-basis:55px}.overview-card .list-info h2{font-size:17px}.overview-count{font-size:11px}.overview-card-right{flex-basis:44%}}

/* Kopfbereich nach der freigegebenen Bildvorlage. */
.page:has(#bottom-nav:not([hidden])){padding-top:0;background:#fffdf8}
.page:has(#bottom-nav:not([hidden])) .brand{position:relative;isolation:isolate;overflow:hidden;margin:0 -24px;padding:18px 24px 10px;background:#07543d;gap:10px;min-height:65px}
.page:has(#bottom-nav:not([hidden])) .brand::before{content:"";position:absolute;z-index:-1;width:480px;height:200px;left:-140px;top:-140px;background:linear-gradient(120deg,#438f6a90,#2d7e5c35);border-radius:50%;transform:rotate(-12deg)}
.page:has(#bottom-nav:not([hidden])) .brand-icon{color:#fffdf4}
.page:has(#bottom-nav:not([hidden])) .brand-icon svg{width:30px;height:30px}
.page:has(#bottom-nav:not([hidden])) .brand-name{color:#fffdf4;font-size:27px;font-weight:850;letter-spacing:-.7px}
.overview-hero{isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 10% 10%,#176d50 0,transparent 68%),linear-gradient(110deg,#07543d,#044732);margin:0 -24px 18px;min-height:126px;padding:12px 24px 28px;border-radius:0 0 24px 24px}
.overview-hero::before{content:"";position:absolute;z-index:-1;width:140%;height:150px;left:-36%;top:-90px;border-radius:50%;background:linear-gradient(120deg,#4c9c7640,#0a5c4140);transform:rotate(-8deg)}
.overview-hero::after{content:"";position:absolute;z-index:-1;width:170px;height:170px;right:-100px;bottom:-95px;border:18px solid #27734555;border-radius:50%;transform:rotate(-30deg)}
.overview-hero p{position:relative;z-index:2;font-size:16px;font-weight:500;line-height:1.25;margin:0 0 4px;color:#dcebd9}
.overview-hero h1{position:relative;z-index:2;font-size:clamp(21px,5.6vw,28px);line-height:1.13;max-width:68%;font-weight:850;letter-spacing:-.55px;margin:0}
.overview-hero>img.hero-groceries{width:158px;height:158px;right:0;bottom:-12px;object-fit:contain;object-position:center;z-index:1;filter:drop-shadow(0 7px 9px #002b2560)}
.overview-hero .hero-spark{position:absolute;right:143px;top:15px;width:5px;height:19px;border-radius:3px;background:#ffd23b;transform:rotate(-35deg)}
.hero-spark::after{content:"";position:absolute;left:-13px;top:15px;width:5px;height:13px;background:#ffd23b;border-radius:3px;transform:rotate(-40deg)}
.overview-actions{gap:9px;margin:0 0 22px}
.overview-action{position:relative;display:grid;grid-template-columns:28px auto;grid-template-rows:auto auto;column-gap:7px;row-gap:0;align-content:center;justify-content:center;min-height:68px;border:1px solid #ffffff90;border-radius:17px;padding:11px 7px;box-shadow:inset 0 1px 0 #fff9}
.overview-action .action-symbol{grid-row:1 / span 2;display:grid;place-items:center}
.overview-action .action-symbol svg{width:28px;height:28px}
.overview-action strong{font-size:14px;line-height:1.2;font-weight:750;align-self:center}
.overview-action small{grid-column:2;font-size:10px;line-height:1.4;opacity:.75}
.overview-action.offers{background:linear-gradient(135deg,#fff7e7,#ffe9bc);color:#a96716}
.overview-action.favorites{background:linear-gradient(135deg,#ffeff4,#fbd5e4);color:#a42e5e}
.overview-action.popular{background:linear-gradient(135deg,#f4eeff,#e4d5fa);color:#6835aa}
.page:has(#bottom-nav:not([hidden])) #lists-intro{margin:7px 0 10px;font-size:13px}
.page:has(#bottom-nav:not([hidden])) .section-head{margin-top:0}
@media(max-width:370px){.overview-action{grid-template-columns:23px auto;column-gap:4px;padding:10px 4px}.overview-action .action-symbol svg{width:23px;height:23px}.overview-action strong{font-size:12px}.overview-hero h1{max-width:67%;font-size:21px}.overview-hero>img.hero-groceries{width:140px;height:140px}}

.overview-hero{overflow:visible;background:linear-gradient(180deg,#07543d,#054832)}
.overview-hero::before{left:0;top:0;width:100%;height:100%;border-radius:inherit;transform:none;background:linear-gradient(165deg,#36876422 0 42%,transparent 42%)}
.overview-hero::after{display:none}
.overview-hero>img.hero-groceries{top:-28px;bottom:auto;right:0;width:150px;height:150px}
@media(max-width:370px){.overview-hero>img.hero-groceries{top:-16px;width:138px;height:138px}}
#lists #sort-lists{display:none!important}

/* Die Übersicht beginnt direkt mit den Listenkarten. */
#lists > .section-head, #lists > #lists-intro { display: none; }

/* Artikelkategorien in der Einkaufsliste */
#item-cards{display:block}
.item-category{margin:0 0 18px;min-width:0}
.item-category-title{margin:0 0 8px;padding:9px 13px;border-radius:13px;background:#e6efd8;color:#174d34;font-size:17px;line-height:1.2;font-weight:800;letter-spacing:-.2px}
.item-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
@media(max-width:350px){.item-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#item-form select{display:block;width:100%;margin-top:8px;border:1px solid #d8dfd5;background:#fbfbf7;border-radius:12px;padding:14px;font:inherit;font-size:16px;color:#18231b}
#item-form select:focus-visible{outline:3px solid #8ebd8d;outline-offset:2px}

/* Mehr Raum für Listenname und Motiv in der Übersicht. */
.overview-card{min-height:160px;padding:18px 16px;gap:14px}
.overview-card>.list-icon.sprite-icon,.overview-card>.list-icon{width:82px;height:82px;flex-basis:82px}
.overview-card .list-info h2{font-size:22px}
.overview-card-right{flex-basis:40%;justify-content:space-between;gap:12px}
.overview-count{font-size:14px;padding:8px 10px}
.overview-open{margin-top:0;min-width:48px;min-height:48px}
@media(max-width:370px){
 .overview-card{min-height:145px;padding:14px 10px;gap:8px}
 .overview-card>.list-icon.sprite-icon,.overview-card>.list-icon{width:60px;height:60px;flex-basis:60px}
 .overview-card .list-info h2{font-size:18px}
 .overview-card-right{flex-basis:40%}
 .overview-count{font-size:11px;padding:7px}
}

/* Schnell hinzufügen: sofortige Übernahme und getrennte Favoritenverwaltung. */
#quick-add-message.success{color:#205f38;background:#e4f2de;border-radius:12px;padding:10px 12px}
#quick-add-message:empty{display:none}
.quick-add-manage{display:block;width:100%;min-height:48px;padding:10px 8px;margin-top:8px;text-align:center}
.quick-add-done{margin-top:8px;min-height:50px}
.quick-add-manual{border:0;background:transparent;box-shadow:none;margin-top:4px;padding:12px;color:#426650;font-weight:600}
.quick-add-info small{font-size:12px}
.standard-add-form{padding:12px;margin-top:12px;border-radius:16px;background:#f3f5ed}
.standard-add-form button{white-space:normal}

/* Kompakter, mittig ausgerichteter Kopf der Listenübersicht. */
.page:has(#bottom-nav:not([hidden])) .brand {
  min-height:0; padding:18px 24px 0; gap:9px; overflow:visible;
  background:#07543d; border-radius:0;
}
.page:has(#bottom-nav:not([hidden])) .brand-icon svg { width:36px; height:36px }
.page:has(#bottom-nav:not([hidden])) .brand-name {
  font-size:clamp(32px,9.1vw,44px); line-height:1; font-weight:850; letter-spacing:-1.4px;
}
.overview-hero {
  min-height:0; padding:7px 24px 19px; margin-bottom:18px;
  background:linear-gradient(180deg,#07543d,#054832);
}
.overview-hero p { font-size:16px; line-height:1.2; margin:0 0 4px }
.overview-hero h1 { font-size:clamp(17px,5.1vw,23px); line-height:1.13; max-width:70%; white-space:nowrap; letter-spacing:-.4px }
.overview-hero>img.hero-groceries { top:auto; bottom:4px; right:4px; width:clamp(100px,29vw,130px); height:clamp(100px,29vw,130px) }
.overview-hero .hero-spark { right:clamp(98px,28vw,125px); top:10px }
@media(max-width:350px) {
  .page:has(#bottom-nav:not([hidden])) .brand-name { font-size:30px }
  .page:has(#bottom-nav:not([hidden])) .brand-icon svg { width:31px;height:31px }
  .overview-hero h1 { font-size:16px }
  .overview-hero>img.hero-groceries { width:100px;height:100px }
}

/* Weicher Übergang vom Header zur hellen Listenfläche. */
.page:has(#bottom-nav:not([hidden])){background:#07543d}
.page:has(#bottom-nav:not([hidden])) .overview-hero{border-radius:0;margin-bottom:0;padding-bottom:24px}
.list-surface{position:relative;z-index:2;background:#fffdf8;border-radius:30px 30px 0 0;margin:0 -24px;padding:22px 24px 0;min-height:calc(100dvh - 220px)}
.page:has(#bottom-nav:not([hidden])){background:linear-gradient(#07543d 0 180px,#fffdf8 180px)}
.overview-ending{position:relative;isolation:isolate;min-height:150px;margin:10px -24px 0;display:flex;align-items:center;justify-content:flex-end;padding:16px 18px 30px}
.ending-wave{position:absolute;inset:0;width:100%;height:100%;z-index:-2}
.ending-groceries{position:absolute;left:-6px;bottom:0;width:57%;height:145px;object-fit:contain;object-position:left bottom;z-index:-1;pointer-events:none}
.overview-ending #new-list{position:relative;flex:none;width:auto;min-width:46%;max-width:53%;margin:0;padding:15px 20px;font-size:19px;line-height:1.2;font-weight:800;border-radius:40px;background:linear-gradient(135deg,#159466,#005236);box-shadow:0 8px 18px #075b3a26}
.overview-ending #new-list::before{content:"";position:absolute;left:-13px;top:-6px;width:4px;height:13px;border-radius:4px;background:#ffc52d;transform:rotate(-35deg)}
.bottom-nav{border-radius:28px 28px 0 0;background:linear-gradient(120deg,#126650,#034632);border-top:1px solid #367e6355;padding-top:10px}
.page:has(#bottom-nav:not([hidden])) .version{margin-top:12px}
@media(max-width:350px){.overview-ending #new-list{font-size:17px;padding:14px 13px}.list-surface{border-radius:25px 25px 0 0}.ending-groceries{width:56%}}

.list-surface>.section-head,.list-surface>#lists-intro{display:none}
.list-surface{display:flex;flex-direction:column}
.overview-ending{margin-top:auto}

/* Rechtliche Links im Profil; vor der Anmeldung bleiben sie erreichbar. */
.page:has(#account[hidden]) .version .legal-links{display:none}
.profile-legal{justify-content:flex-start;flex-wrap:wrap;margin:28px 0 0}
.profile-legal a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
/* Dekorativer Abschluss bleibt hinter der unteren Navigation stehen. */
.list-surface{padding-bottom:215px}
.overview-ending{position:fixed;z-index:3;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,520px);height:200px;min-height:0;margin:0;padding:14px 18px 0;align-items:flex-start}
.ending-groceries{bottom:54px;height:145px}
.overview-ending #new-list{margin-top:14px}
.page:has(#bottom-nav:not([hidden])) .version{visibility:hidden}
@media(max-width:350px){.overview-ending{height:185px}.ending-groceries{height:130px;bottom:54px}.overview-ending #new-list{margin-top:12px}}

/* Der Abstand vor der ersten Liste entspricht dem Kartenabstand. */
.list-surface .overview-actions{margin-bottom:14px}
.list-surface .list-cards{margin-top:0}

/* Gemeinsamer Kopf und dekorativer Abschluss für angemeldete Ansichten. */
.page:has(#bottom-nav[hidden]) > .overview-hero,
.page:has(#bottom-nav[hidden]) > .overview-ending{display:none}
.page:not(:has(#lists:not([hidden]))) .overview-ending #new-list{display:none}
.page:has(#bottom-nav:not([hidden])) .overview-ending{pointer-events:none}
.page:has(#bottom-nav:not([hidden])) .overview-ending #new-list{pointer-events:auto}
.page:has(#bottom-nav:not([hidden])) #items-view,
.page:has(#bottom-nav:not([hidden])) #profile-view{position:relative;background:#fffdf8;border-radius:30px 30px 0 0;margin:0 -24px;padding:22px 24px 220px;width:calc(100% + 48px);min-height:calc(100dvh - 220px)}

/* Dezenteres Lebensmittelmotiv am unteren Rand. */
.ending-groceries{width:48%;height:120px}
@media(max-width:350px){.ending-groceries{width:48%;height:110px}}

/* Listenname oben, Artikelzahl und Öffnen unten rechts. */
.overview-card{position:relative}
.overview-card .list-info{align-self:center;min-width:0;padding:4px 42px 54px 0}
.overview-card .list-info h2{overflow-wrap:anywhere}
.overview-card-right{position:absolute;inset:0;display:block;pointer-events:none}
.overview-card-actions{position:absolute;top:10px;right:10px;width:auto;pointer-events:auto}
.overview-card-bottom{position:absolute;right:16px;bottom:14px;display:flex;align-items:center;gap:8px;pointer-events:auto}
.overview-open{flex:none}
@media(max-width:370px){.overview-card .list-info{padding-right:36px;padding-bottom:52px}.overview-card-bottom{right:10px;bottom:10px;gap:5px}}
/* Die Eingabe bleibt in geöffneten Listen jederzeit erreichbar. */
.item-entry{position:fixed;z-index:5;left:50%;transform:translateX(-50%);width:min(100%,520px);padding:8px 16px;background:#fffdf8;box-shadow:0 -5px 15px #203c2314}
.inline-item-form{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #d9e3d5;border-radius:28px;padding:4px 5px 4px 14px;box-shadow:0 2px 8px #203c2314}
.inline-search-icon{font-size:28px;line-height:1;color:#28694b}
.inline-item-form input{flex:1;min-width:0;width:auto;margin:0;border:0;background:transparent;padding:10px 0;font-size:16px;outline:none}
.inline-add-button{flex:none;width:44px;height:44px;border:0;border-radius:50%;background:#28694b;color:white;font-size:28px;line-height:1;cursor:pointer}
.inline-add-button:disabled{opacity:.5}
.inline-suggestions{position:absolute;bottom:100%;left:16px;right:16px;max-height:min(38vh,300px);overflow-y:auto;margin:0 0 4px;background:#fffdf8;box-shadow:0 4px 14px #203c232b}
.inline-item-message{margin:0;color:#28694b;font-size:13px}.inline-item-message:empty{display:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.item-keyboard-open .bottom-nav{visibility:hidden}

/* Die gesamte Listenkarte öffnet die Liste; Menü und Schaltflächen bleiben eigenständig. */
.overview-card{cursor:pointer}
.pwa-hint{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#e8efd9;color:#15563a;border-radius:14px;margin:12px 0;font-size:14px}.pwa-hint span{flex:1}.pwa-hint button{border:0;background:transparent;color:#15563a;font:inherit;font-weight:700;cursor:pointer}#pwa-dialog p{line-height:1.5}#pwa-dialog button{margin-top:12px}@media(display-mode:standalone){.page{padding-top:env(safe-area-inset-top)}.bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom))}}

.profile-version{margin:20px 0 0;text-align:center;color:#68736b;font-size:13px}
.profile-card-info{flex:1;min-width:0}.profile-card-info p{overflow-wrap:anywhere}.profile-card-info .primary{margin-top:10px;padding:10px;font-size:14px}.profile-menu{display:grid;gap:9px;margin-top:22px}.profile-menu button,.profile-menu a{display:flex;align-items:center;gap:8px;min-height:52px;width:100%;padding:12px 15px;border:1px solid #dce3d7;border-radius:14px;background:#fffefa;color:#164d37;font:inherit;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}.profile-menu span{margin-left:auto;font-size:22px}.profile-edit-avatar{display:flex;align-items:center;flex-direction:column;gap:6px;margin:20px 0}.edit-avatar{width:110px;height:110px;font-size:32px}.profile-photo-button{color:#28694b;cursor:pointer;margin:6px}.profile-edit-avatar p{margin:0}.profile-cancel{width:100%;margin-top:10px}#profile-edit-message{color:#a12d28}#profile-edit-form small{display:block;color:#68736b;margin-top:5px;font-weight:400}

#message.success{color:#205f38}

#forgot-password-message.success{color:#205f38}#forgot-password-message.error,#reset-password-message{color:#a12d28}#forgot-password-dialog .secondary,#reset-password-dialog .secondary{width:100%;margin-top:10px}
/* Freundlicher Einstieg für angemeldete und neue Nutzer. */
.page:has(#bottom-nav[hidden]){background:#faf8f1}
.page:has(#bottom-nav[hidden]) .brand{margin-bottom:0}
.page:has(#bottom-nav[hidden]) main{margin-top:24px}
.account-welcome{position:relative;overflow:hidden;min-height:160px;padding:24px 155px 24px 22px;border-radius:24px;background:linear-gradient(145deg,#07543d,#187655);color:#fffdf4}
.account-welcome:before{content:"";position:absolute;width:260px;height:200px;right:-100px;top:-90px;background:#75b98530;border-radius:50%}
.account-welcome-copy{position:relative;z-index:1}.account-greeting{display:block;color:#d7efcf;font-weight:750;margin-bottom:7px}.account-welcome h1{font-size:clamp(24px,6vw,30px);line-height:1.12;margin:0 0 10px}.account-welcome p{margin:0;color:#e2f1df;font-size:14px;line-height:1.4}.account-welcome img{position:absolute;right:2px;bottom:-6px;width:150px;height:150px;object-fit:contain}
#account .card{margin-top:18px;border-radius:24px;box-shadow:0 8px 24px #25432912}#account .tabs{margin-bottom:18px}#account-form>label{margin:15px 0}#account-form input:not([type=checkbox]){font-size:16px}#account-form #submit{margin-top:8px}#account .footnote{margin:20px 10px;color:#687a6d;font-size:13px}
.account-help{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:center;margin-top:12px}.account-help .text-button{padding:9px 2px;font-size:13px;line-height:1.35;text-align:center}
@media(max-width:350px){.account-welcome{padding-right:110px;min-height:145px}.account-welcome img{width:110px;height:110px}.account-welcome h1{font-size:23px}}
/* Anmeldung nach dem freigegebenen mobilen Entwurf */
.page:has(#bottom-nav[hidden]) .brand{justify-content:center;margin:14px 0 24px}.page:has(#bottom-nav[hidden]) .brand-name{font-size:clamp(30px,8vw,42px);font-weight:850;letter-spacing:-1.4px;color:#073e27}.page:has(#bottom-nav[hidden]) .brand-icon{color:#073e27}.page:has(#bottom-nav[hidden]) .brand-icon svg{width:42px;height:42px}.page:has(#bottom-nav[hidden]) main{margin-top:0}
.account-welcome{min-height:270px;padding:25px 42% 28px 22px;background:linear-gradient(145deg,#07512d,#08391f);border-radius:28px;color:#fffdf4}.account-welcome:before{display:none}.account-welcome-copy{z-index:2}.account-welcome .account-greeting{font-size:17px;color:white;margin-bottom:12px}.account-welcome h1{font-size:clamp(25px,6.9vw,33px);font-weight:850;line-height:1.05;letter-spacing:-1px;overflow-wrap:normal;margin:0 0 15px}.account-welcome p{font-size:clamp(14px,4vw,17px);line-height:1.35;color:white}.account-welcome img{width:65%;height:90%;right:-14%;bottom:0;object-fit:contain;object-position:right bottom}
#account .card{padding:20px;margin-top:18px;border:0;box-shadow:0 8px 25px #283d2412}#account .tabs{background:#f1f2ed;padding:0;overflow:hidden}#account .tabs button{min-height:46px;color:#0b3c29}#account .tabs button[aria-pressed=true]{background:#c5ef85;box-shadow:none}#account-form label{font-weight:750}#account-form input:not([type=checkbox]){background:#fff;border:1px solid #c5cacc}#account-form #submit{background:#a5d45b;color:#103f28;font-weight:850;border-radius:14px}#account-form #submit:hover{background:#97c94c}.account-help{flex-direction:column;align-items:center;gap:0}.account-help .text-button{text-decoration:underline;font-weight:500;color:#123c29}
.account-password{position:relative;display:block}.account-password input{padding-right:52px}.account-password button{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#59615c;cursor:pointer}.account-password svg{width:22px;height:22px}
@media(max-width:350px){.account-welcome{min-height:245px;padding-right:40%}.account-welcome h1{font-size:24px}.account-welcome img{width:66%;height:78%;right:-14%}}
/* Größere Ansichten nutzen den verfügbaren Raum; die Smartphone-Ansicht bleibt unverändert. */
@media (min-width:720px){
  .page:has(#bottom-nav:not([hidden])){width:100%;max-width:1050px;min-height:100dvh}
  .page:has(#bottom-nav:not([hidden])) .brand{padding-left:32px;padding-right:32px}
  .page:has(#bottom-nav:not([hidden])) .overview-hero{padding-left:32px;padding-right:32px}
  .page:has(#bottom-nav:not([hidden])) .overview-hero h1{font-size:26px}
  .page:has(#bottom-nav:not([hidden])) .overview-hero>img.hero-groceries{width:155px;height:155px;right:24px}
  .list-surface{padding-left:32px;padding-right:32px}
  .list-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .item-category-grid{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:12px}
  .item-buy{min-height:180px}
  .bottom-nav,.item-entry,.overview-ending{width:min(100%,1050px)}
  .overview-ending #new-list{min-width:0;width:36%;max-width:330px;margin-right:14px}
  .ending-groceries{width:35%;max-width:300px}
  .page:has(#bottom-nav:not([hidden])) #items-view,.page:has(#bottom-nav:not([hidden])) #profile-view{padding-left:32px;padding-right:32px}
  #profile-view .profile-card,#profile-view .profile-menu,#profile-edit{max-width:680px}
}
@media (min-width:1100px){
  .page:has(#bottom-nav:not([hidden])){box-shadow:0 0 28px #173b2914}
  .list-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@supports (overflow:clip){.page{overflow-x:clip}}
/* Rezepte */
.page:has(#bottom-nav:not([hidden])) #recipes-view{position:relative;background:#fffdf8;border-radius:30px 30px 0 0;margin:0 -24px;padding:22px 24px 120px;width:calc(100% + 48px);min-height:calc(100dvh - 220px)}
.page:has(#recipes-view:not([hidden])) .overview-ending{display:none}
#recipes-view h1{font-size:clamp(27px,7vw,38px);margin:0 0 16px}#recipes-view h2{font-size:21px;margin:22px 0 12px}.recipe-search{display:flex;align-items:center;gap:9px;background:#edf1e5;border-radius:18px;padding:0 14px;margin:0 0 12px}.recipe-search span{font-size:25px}.recipe-search input{border:0;background:transparent;margin:0;padding:14px 0;min-width:0}.recipe-filters{display:flex;gap:7px;overflow:auto;padding:0 0 8px}.recipe-filters button{border:0;border-radius:25px;background:#e9efdf;color:#204931;padding:9px 14px;white-space:nowrap;font-weight:700}.recipe-filters button[aria-pressed=true]{background:#09632e;color:white}.recipe-card{overflow:hidden;border:1px solid #e4e8df;border-radius:18px;background:#edf3e4}.recipe-card-open{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;color:inherit;font:inherit;cursor:pointer}.recipe-card-image{width:100%;height:135px;object-fit:cover;display:block}.recipe-card.featured{margin-top:12px}.recipe-card.featured .recipe-card-image{height:210px}.recipe-card-body{padding:12px}.recipe-card-body h2{font-size:18px!important;margin:5px 0!important}.recipe-card-body p{font-size:13px;margin:5px 0}.recipe-badge{display:inline-block;background:#087039;color:white;border-radius:20px;padding:5px 10px;text-transform:uppercase;font-size:11px;font-weight:800}.recipe-card-cta{display:block;text-align:center;color:white;background:#075a2a;border-radius:14px;padding:12px;margin-top:12px;font-weight:700}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.recipe-cover{width:100%;max-height:320px;object-fit:cover;border-radius:18px}.recipe-title-row{display:flex;align-items:start;gap:8px;margin-top:14px}.recipe-title-row h1{flex:1}.recipe-heart{background:none;border:0;color:#0d663b;font-size:32px}.recipe-description,.recipe-meta{color:#5d6c61;line-height:1.45}.recipe-portions{display:flex;align-items:center;justify-content:space-between;background:#e6eedb;border-radius:18px;padding:5px 12px;margin:18px 0}.recipe-portions button{background:none;border:0;color:#075a2a;font-size:25px;min-width:44px;min-height:44px}.recipe-portions button:disabled{opacity:.4}.recipe-ingredients{display:grid;gap:6px}.recipe-ingredient{display:flex;align-items:center;gap:12px;background:#f2f2e9;border-radius:12px;padding:8px 12px;min-height:52px}.recipe-ingredient img{width:42px;height:42px;object-fit:contain}.recipe-ingredient strong{min-width:64px}.recipe-instructions{white-space:pre-line;line-height:1.6}.recipe-add{width:100%;margin-top:15px}#recipe-transfer{width:min(94vw,540px);max-height:min(90dvh,850px);padding:0;border-radius:26px;overflow:auto}.recipe-sheet{padding:24px}.recipe-sheet h2{margin:0}.recipe-sheet>p{color:#66756a}.recipe-sheet select{width:100%}.recipe-transfer-section,.recipe-pantry{margin-top:18px}.recipe-transfer-section h3,.recipe-pantry h3{margin:0 0 8px}.recipe-pantry{background:#f7f0e1;padding:14px;border-radius:18px}.recipe-pantry p{font-size:13px;color:#68766c;margin:0 0 8px}.recipe-transfer-row{display:flex;align-items:center;gap:10px;background:#eaf0e1;border-radius:12px;padding:8px;margin:6px 0;min-height:56px}.recipe-pantry .recipe-transfer-row{background:#fffdf8}.recipe-transfer-row img{width:42px;height:42px;object-fit:contain}.recipe-transfer-text{flex:1}.recipe-transfer-text small{display:block;color:#68766c}.recipe-transfer-row input[type=checkbox]{width:22px;height:22px;accent-color:#087038}.recipe-sheet-actions{position:sticky;bottom:-24px;background:#fffdf8;padding:12px 0 max(12px,env(safe-area-inset-bottom));display:grid;gap:8px}.recipe-sheet-actions button{width:100%}#recipe-transfer-message{color:#ac2820}@media(min-width:760px){.page:has(#bottom-nav:not([hidden])) #recipes-view{padding-left:32px;padding-right:32px}.recipe-card.featured .recipe-card-image{height:280px}.recipe-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.language-setting{display:block;margin:22px 0 8px;font-weight:700;color:#285d43}.language-setting select{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #d4ded0;border-radius:14px;background:#fffdf8;color:#173b29;font:inherit}
/* Short invitation codes */
.join-code-open{border:1px solid #cbdac6;border-radius:20px;background:#f3f7ec;color:#165b3b;font:inherit;font-size:14px;font-weight:700;padding:10px 15px;cursor:pointer;margin:4px 0 3px}.invite-code-panel{margin:14px 0;padding:15px;background:#eef4e3;border-radius:16px}.invite-code-panel p{margin:7px 0;color:#516957;font-size:13px}.invite-code-display{display:block;letter-spacing:.24em;font-size:30px;font-weight:800;color:#075830;text-align:center}.invite-code-buttons{display:flex;gap:8px;flex-wrap:wrap}.invite-code-buttons button{font-size:13px;padding:9px 12px}#members-dialog{max-height:85dvh;overflow:auto}#members-dialog #invite-create,#members-dialog #invite-code-create{width:100%}#join-code-dialog{max-height:85dvh;overflow:auto}#join-code-dialog form>.primary,#join-code-dialog>.join-code-close{width:100%;margin-top:12px}.join-code-input{text-transform:uppercase;letter-spacing:.25em;text-align:center;font-weight:800;font-size:24px}.join-code-details{display:grid;gap:7px;background:#edf3e3;padding:16px;border-radius:14px;overflow-wrap:anywhere}.join-code-details strong{font-size:20px}.join-code-details span{color:#58705d}#join-code-message{color:#a12d28}.join-code-close{margin-top:14px}@media(max-width:380px){#join-code-dialog .dialog-actions{display:grid}}

/* Private recipe import and review */
#personal-recipe-add{width:100%;margin:14px 0}
.personal-recipe-dialog{width:min(94vw,720px);max-height:min(92dvh,900px);overflow:auto;border:0;border-radius:22px;padding:0;background:#fffdf8;color:#173326}
.personal-recipe-dialog::backdrop{background:#08291cb3}
.personal-recipe-sheet{padding:24px}
.personal-recipe-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}
.personal-recipe-heading h2{margin:0}
.personal-recipe-tabs,.personal-form-row,.personal-recipe-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.personal-recipe-tabs>*{flex:1}.personal-recipe-tabs [aria-pressed=true]{background:#dcefd1;border-color:#37724e}
.personal-recipe-sheet label{display:block;margin:14px 0;font-weight:700}
.personal-recipe-sheet input,.personal-recipe-sheet textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #c8d8c8;border-radius:10px;background:#fff}
.personal-form-row label{flex:1;min-width:120px}
.personal-ingredient-row{display:grid;grid-template-columns:minmax(65px,1fr) minmax(70px,1fr) minmax(100px,2fr) auto;gap:6px;margin:8px 0}
.personal-recipe-sheet .primary{width:100%;margin-top:14px}
#personal-message{color:#9d241a;min-height:1.2em}
.personal-image-box{margin-top:20px;padding:16px;border-radius:16px;background:#eaf4e5}
.personal-image-preview{display:block;width:min(100%,350px);border-radius:14px;margin:12px 0}
.personal-image-preview[hidden]{display:none}
@media(max-width:450px){.personal-recipe-sheet{padding:16px}.personal-ingredient-row{grid-template-columns:70px 70px 1fr auto;gap:4px}.personal-ingredient-row input{padding:8px}.personal-ingredient-row button{padding:8px}}
.product-suggestion.custom-product-suggestion{font-size:13px;font-weight:600;color:#356b4e;border-top:1px solid #dce7d7}

.profile-menu .profile-danger{color:#a12d28}.danger-button{width:100%;border:0;border-radius:30px;background:#a12d28;color:#fff;font:inherit;font-weight:700;padding:14px;cursor:pointer}.danger-button:disabled{opacity:.6}#delete-account-dialog .secondary,#delete-account-confirm-dialog .secondary{width:100%;margin-top:10px}#delete-account-request-message,#delete-account-confirm-message{color:#a12d28}#delete-account-request-message.success{color:#205f38}

.list-connection-banner{position:fixed;z-index:30;top:calc(env(safe-area-inset-top,0px) + 8px);left:50%;transform:translateX(-50%);width:min(calc(100% - 24px),620px);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;border:1px solid #dc9a95;border-radius:14px;background:#fff0ee;color:#a12d28;font-weight:700;line-height:1.35;box-shadow:0 5px 20px #320d0d30}.list-connection-banner button{flex:none;border:1px solid #a12d28;border-radius:9px;background:white;color:#a12d28;padding:8px 10px;font:inherit;cursor:pointer}@media(max-width:400px){.list-connection-banner{font-size:14px}.list-connection-banner button{font-size:13px}}

/* Ingredient review: compact summaries with editable, accessible details. */
.personal-recipe-sheet .personal-ingredient-row{display:block;margin:8px 0;border:1px solid #d9e4d5;border-radius:14px;background:#fffefa;overflow:hidden}.personal-ingredient-summary{display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer;list-style:none}.personal-ingredient-summary::-webkit-details-marker{display:none}.personal-ingredient-summary strong{flex:1;min-width:0;overflow-wrap:anywhere}.personal-ingredient-summary span:nth-child(2){padding:6px 10px;border-radius:9px;background:#e8efdd;color:#194c33;font-size:13px;text-align:center}.personal-ingredient-summary span:last-child{font-size:19px;color:#28694b}.personal-ingredient-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:4px 12px 12px}.personal-ingredient-fields input,.personal-ingredient-fields select{width:100%;min-width:0;font:inherit;padding:10px;border:1px solid #c8d8c8;border-radius:10px;background:white}.personal-ingredient-fields [data-field=name],.personal-ingredient-fields select,.personal-ingredient-fields button{grid-column:1/-1}.personal-ingredient-remove{color:#9d241a}.personal-review-section,.personal-preparation-section{background:#eaf1dd;border-radius:18px;padding:14px;margin:18px 0}.personal-preparation-section{background:#f1f4ea}.personal-review-section h3,.personal-preparation-section h3{margin:0 0 4px}.personal-review-section p,.personal-preparation-section p{font-size:13px;color:#5d6c61;margin:0 0 8px}.personal-recipe-sheet .personal-ingredient-remove{width:100%}

/* Beta flyer carousel */
.flyers-section{margin-top:20px}
.flyers-section>summary{display:flex;align-items:center;gap:10px;min-height:52px;padding:14px;border-radius:14px;background:#e8f0dc;color:#28694b;font-weight:800;cursor:pointer;list-style:none}
.flyers-section>summary::-webkit-details-marker{display:none}
.flyers-section>summary::before{content:'▶';font-size:14px;transition:transform .2s}
.flyers-section[open]>summary::before{transform:rotate(90deg)}
.flyers-section>summary span{flex:1}.flyers-section>summary small{font-size:12px;color:#607568;font-weight:600}
.flyers-content{padding:12px;border-radius:0 0 14px 14px;background:#f2f6e9}
.flyers-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 12px)/2);gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:5px}
.flyer-card{margin:0;min-width:0;overflow:hidden;border-radius:12px;background:#fffefa;scroll-snap-align:start;box-shadow:0 2px 5px #143b1d19}
.flyer-card img{display:block;width:100%;aspect-ratio:120/155;object-fit:contain;background:#fff}
.flyer-card figcaption{padding:9px;font-weight:800;color:#173c29;font-size:14px;line-height:1.25}
.flyers-controls{display:flex;align-items:center;justify-content:center;gap:18px;color:#596b60;font-size:12px}
.flyers-controls button{min-width:44px;min-height:44px;border:0;background:transparent;font-size:26px;font-weight:700;color:#28694b;cursor:pointer}
@media(prefers-reduced-motion:reduce){.flyers-section>summary::before{transition:none}}

.flyer-card a{display:block;color:inherit;text-decoration:none}.flyer-card a:focus-visible{outline:3px solid #28694b;outline-offset:-3px}

.flyer-card button{display:block;width:100%;padding:0;border:0;background:transparent;text-align:left;font:inherit;cursor:pointer;color:inherit}
.flyer-card button:focus-visible{outline:3px solid #28694b;outline-offset:-3px}
.flyer-viewer{width:min(96vw,850px);max-width:850px;max-height:94dvh;overflow:auto}
.flyer-viewer-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.flyer-viewer-header h2{margin:0}.flyer-viewer-header button{border:0;background:transparent;color:#28694b;font-size:32px;min-width:44px;min-height:44px;cursor:pointer}
.flyer-viewer-image-wrap{text-align:center;background:#f3f4ef;border-radius:12px;overflow:auto;max-height:70dvh}
.flyer-viewer-image-wrap img{display:block;max-width:none;height:auto;vertical-align:middle}
.flyer-viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0}
.flyer-viewer-controls button{min-height:44px;border:1px solid #cbd8cb;border-radius:12px;background:white;color:#28694b;padding:8px 14px;font:inherit;font-weight:700}
.flyer-viewer-controls button:disabled{opacity:.45}
#flyer-viewer-download{display:inline-block;padding:12px 0;color:#28694b;font-weight:700}

.flyer-viewer-zoom{display:flex;align-items:center;justify-content:center;gap:15px;margin:8px 0}
.flyer-viewer-zoom button{min-width:44px;min-height:44px;border:1px solid #cbd8cb;border-radius:12px;background:white;color:#28694b;font:inherit;font-size:20px;font-weight:700}
.flyer-viewer-zoom button:disabled{opacity:.45}

.flyer-card figcaption strong,.flyer-card figcaption small{display:block}.flyer-card figcaption small{margin-top:4px;color:#68766b;font-size:11px;font-weight:500}
.flyer-viewer-stage{position:relative;min-width:100%;line-height:0}.flyer-viewer-image-wrap .flyer-viewer-stage img{width:100%;height:auto}.flyer-offer-hotspot{position:absolute;border:2px solid #258a44;background:transparent;padding:0;cursor:pointer;box-shadow:0 0 0 1px #ffffff99}.flyer-offer-hotspot:focus-visible{outline:3px solid #e9ab00;outline-offset:2px}
/* Deutliche Bestätigung nach dem Hinzufügen eines Prospektangebots */
.flyer-added-overlay{width:min(440px,calc(100% - 32px));max-width:440px;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:24px;background:#fffefa;line-height:normal;overflow:auto}.flyer-added-overlay::backdrop{background:#092519aa}
.flyer-added-card{width:100%;padding:24px;color:#173b27}
.flyer-added-check{display:grid;place-items:center;margin:0 auto 12px;width:58px;height:58px;border-radius:50%;background:#218840;color:white;font-size:37px;font-weight:800;line-height:1}
.flyer-added-card h2{text-align:center;font-size:clamp(22px,5vw,28px);line-height:1.2;margin:0 0 20px}
.flyer-added-product{display:flex;align-items:center;gap:14px;min-width:0}.flyer-added-image{flex:0 0 76px;height:76px;display:grid;place-items:center;border-radius:14px;background:#eef3e8;font-size:36px}.flyer-added-image img{width:100%;height:100%;object-fit:contain}.flyer-added-product strong{font-size:21px;overflow-wrap:anywhere}.flyer-added-product p{margin:5px 0 0;font-size:17px}
.flyer-added-list{background:#e8f2df;border-radius:14px;padding:13px;margin:17px 0;line-height:1.4;overflow-wrap:anywhere}.flyer-added-list strong{font-weight:800}
.flyer-added-card button{display:block;width:100%;min-height:52px;font-size:17px;margin-top:10px}
@media(max-width:600px){.flyer-added-overlay{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:90dvh;border-radius:24px 24px 0 0}.flyer-added-card{padding:20px 20px max(20px,env(safe-area-inset-bottom))}}

.flyer-offer-hint{position:sticky;top:0;z-index:2;background:#e8f2df;color:#174d2a;border-radius:12px;padding:10px 12px;font-size:15px;font-weight:650;line-height:1.4;margin:10px 0}

/* Rezeptkategorien */
#recipe-category-dialog{width:min(100%,540px);max-width:100%;max-height:min(90dvh,850px);padding:0;border:0;border-radius:26px;background:#fffdf7;overflow:hidden}
.recipe-category-sheet{display:flex;flex-direction:column;max-height:min(90dvh,850px);padding:12px 20px max(20px,env(safe-area-inset-bottom));gap:14px}
.recipe-category-handle{width:44px;height:5px;border-radius:8px;background:#c9cec5;align-self:center}
.recipe-category-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.recipe-category-heading h2{margin:0;font-size:24px}.recipe-category-heading button{font-size:30px;min-width:44px;min-height:44px}
#recipe-category-options{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:5px}
.recipe-category-option{display:flex;align-items:center;gap:14px;min-height:48px;padding:8px 14px;border-radius:16px;background:#f0f3e9;cursor:pointer;font-weight:700}
.recipe-category-option:has(input:checked){background:#dfeedd}
.recipe-category-option input{width:21px;height:21px;flex:none;margin:0;accent-color:#08632e}
#recipe-category-apply{width:100%;flex:none}
.recipe-card.featured{margin-top:0}.recipe-card.featured .recipe-card-image{height:clamp(160px,45vw,260px)}
@media(max-width:600px){#recipe-category-dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:100%;max-height:90dvh;border-radius:26px 26px 0 0}.recipe-category-sheet{max-height:90dvh}}

/* Kompakte Suchvorschläge, Marktpräferenzen und Prospektangebote */
#inline-suggestions:not([hidden]){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;max-height:min(38vh,300px);overflow-y:auto}
#inline-suggestions .product-suggestion:not(.custom-product-suggestion){display:flex;flex-direction:column;justify-content:center;gap:4px;min-height:104px;padding:6px;text-align:center;background:#f8f7ef;font-size:clamp(11px,3vw,14px);line-height:1.2;overflow-wrap:anywhere}
#inline-suggestions .product-suggestion img,#inline-suggestions .suggestion-image-fallback{width:min(100%,68px);height:58px;object-fit:contain;border-radius:8px}
#inline-suggestions .suggestion-image-fallback{display:grid;place-items:center;font-size:28px}
#inline-suggestions .custom-product-suggestion{grid-column:1/-1}
.matching-track{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;padding:9px;background:#f2f6e9;border-radius:0 0 14px 14px}
.matching-market{display:flex;align-items:center;gap:8px;flex:none;min-height:56px;min-width:104px;padding:6px 12px;border:1px solid #e0e9d8;border-radius:14px;background:#fffefa;color:#174d2a;font:inherit;font-weight:800}
.matching-market img{width:52px;height:42px;object-fit:contain}.matching-market:focus-visible{outline:3px solid #28694b}
.market-preferences{margin:22px 0;padding:16px;border-radius:18px;background:#eff4e8}.market-preferences h2{margin:4px 0 10px}.market-preferences p{color:#5d6c61;line-height:1.4}.market-preferences>button{width:100%;margin-top:12px}
.favorite-markets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.favorite-market{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:112px;padding:8px;border:2px solid #dfe8d9;border-radius:14px;background:#fffefa;color:#173b27;text-align:center;font-size:13px;font-weight:700}.favorite-market:has(input:checked){border-color:#218840;background:#f5fbf0}.favorite-market input{position:absolute;top:6px;right:6px;width:20px;height:20px;accent-color:#218840}.favorite-market img{width:75%;height:62px;object-fit:contain}.favorite-market span{overflow-wrap:anywhere}
.offer-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.offer-detail-heading h2{text-align:left;margin:0 0 15px}.offer-detail-heading button{width:44px;min-width:44px;min-height:44px;font-size:28px;margin:0}.offer-detail-card label{display:block;font-weight:800;margin-top:15px}.offer-detail-card select{width:100%;margin-top:8px}.offer-detail-card #flyer-offer-message{color:#a12d28}.offer-detail-card #flyer-offer-message:empty{display:none}
@media(max-width:340px){.favorite-markets{grid-template-columns:repeat(2,minmax(0,1fr))}}

.matching-choices{display:grid;gap:6px;padding:10px;background:#f2f6e9}.matching-choices[hidden]{display:none}.matching-choice{min-height:44px;padding:9px;border:1px solid #cbdac8;border-radius:12px;background:white;color:#174d2a;font:inherit;text-align:left}
