@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#303a2b;--muted:#777b6e;--olive:#586b49;--light:#f3f1e8;--paper:#faf8f2;--line:#e5e4d9;--accent:#e8eddd;font-family:'Manrope',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;color:inherit}button{border:0;background:none}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #b27c4c;outline-offset:4px}button:disabled{opacity:.5}a{color:inherit}.icon{width:22px;height:22px;flex-shrink:0}.app-shell{max-width:980px;margin:auto;padding:0 32px 116px;padding-top:max(0px,var(--tg-content-safe-area-inset-top,0px))}.brand{display:flex;justify-content:space-between;align-items:center;padding:30px 0 25px;border-bottom:1px solid var(--line)}.brand>a{display:flex;align-items:center;text-decoration:none;gap:14px}.brand strong{font-family:Georgia,serif;font-size:2.4375rem;font-weight:500;letter-spacing:-2px;line-height:1}.brand strong span{font-size:1.4375rem;vertical-align:top;margin-left:4px;color:#7d8c67}.brand small{font-size:0.625rem;letter-spacing:3px;border-left:1px solid #bbc1ae;padding:8px 0 8px 14px}.mode{display:flex;align-items:center;gap:6px;font-size:0.6875rem;color:var(--muted);padding:10px 0 10px 10px}.mode>span{width:6px;height:6px;border-radius:100%;background:#839471}.welcome{display:flex;justify-content:space-between;align-items:center;padding:38px 0 30px}.eyebrow{text-transform:uppercase;font-size:0.625rem;letter-spacing:1.65px;font-weight:700;color:var(--olive)}h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-1.5px;font-size:3rem;line-height:1.1;font-weight:400;margin:15px 0 17px}h2{font-size:1.1875rem;letter-spacing:-.5px;font-weight:600;margin:0}p{line-height:1.65}.welcome p{font-size:0.875rem;color:var(--muted);margin:0}.welcome-drawing{width:175px;transform:rotate(8deg);text-align:center;color:#839471}.welcome-drawing>.icon{width:95px;height:95px;stroke-width:.7}.welcome-drawing span{display:block;font-size:0.6875rem;line-height:1.5}.welcome-drawing i{font-family:Georgia,serif;font-size:1.4375rem;font-weight:400}.search{display:flex;align-items:center;gap:12px;border:1px solid var(--line);border-radius:15px;padding:0 17px;background:#fffefa;color:var(--muted);box-shadow:0 3px 14px #323b2903}.search input{min-width:0;width:100%;padding:17px 0;border:0;background:transparent;outline:none!important;font-size:0.875rem;color:var(--ink)}.search input::placeholder{color:#97998d}.chips{display:flex;gap:9px;margin:20px 0 30px;overflow-x:auto;padding:3px 1px 8px;scrollbar-width:none}.chip{font-size:0.75rem;white-space:nowrap;border:1px solid var(--line);border-radius:24px;padding:10px 18px;background:transparent;min-height:42px}.chip.active{background:var(--olive);color:#fffaf2;border-color:var(--olive)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.section-heading>span{color:var(--muted);font-size:0.6875rem}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 20px}.recipe-card{border:1px solid var(--line);border-radius:20px;background:#fffefb;overflow:hidden;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}.recipe-card:hover{box-shadow:0 8px 28px #39452e0a;transform:translateY(-2px)}.card-image{position:relative}.placeholder,.recipe-photo{position:relative;aspect-ratio:1.24;overflow:hidden}.placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;background:#e8eddf;color:#7e8b70}.placeholder .icon{width:56px;height:56px;stroke-width:.8}.placeholder>span:not(.placeholder-mark){font-size:0.625rem;letter-spacing:.7px}.placeholder-line{position:absolute;width:190px;height:190px;border:1px solid currentColor;border-radius:100%;opacity:.13;right:-100px;top:-60px}.placeholder.sage{background:#e7ecdf}.placeholder.peach{background:#f2e5d7;color:#ac8b6f}.placeholder.rose{background:#f0e2de;color:#b39790}.placeholder.butter{background:#eeeacf;color:#a49b62}.favorite{position:absolute;top:11px;right:11px;z-index:2;background:#fffdf3ec;width:36px;height:36px;border-radius:50%;display:grid;place-items:center}.favorite .icon{width:18px;height:18px}.favorite.saved .icon,.round.saved .icon{fill:#657753;color:#657753}.image-open{position:absolute;inset:0;z-index:1}.recipe-photo img{width:100%;height:100%;object-fit:cover;display:block}.photo-credit{position:absolute;bottom:8px;left:9px;font-size:0.5rem;padding:4px 7px;border-radius:6px;background:#fffaf1df;color:#4b523f}.card-body{padding:18px 16px 15px;display:flex;flex-direction:column;flex:1;align-items:flex-start}.card-body .eyebrow{font-size:0.5rem}.card-title{text-align:left;font-size:0.9375rem;font-weight:700;line-height:1.5;letter-spacing:-.3px;margin:7px 0 10px;padding:0}.card-time{display:flex;align-items:flex-start;gap:5px;font-size:0.625rem;color:var(--muted);margin:0 0 15px;line-height:1.6}.card-time .icon{width:13px;height:13px;margin-top:1px}.plan-button{width:100%;margin-top:auto;border-top:1px solid var(--line);padding:12px 0 0;display:flex;gap:6px;align-items:center;font-size:0.625rem;color:var(--olive);font-weight:700}.plan-button .icon{width:14px;height:14px}.plan-button.selected{color:#8f7356}.bottom-nav{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;justify-content:space-around;gap:20px;z-index:10;background:#fffefaef;backdrop-filter:blur(16px);border:1px solid var(--line);border-radius:24px;box-shadow:0 5px 35px #38432912;padding:13px 30px;min-width:390px;padding-bottom:max(13px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px))}.bottom-nav button{position:relative;min-width:52px;display:flex;align-items:center;flex-direction:column;gap:4px;font-size:0.5625rem;color:#666a5d}.bottom-nav button.active{color:var(--olive);font-weight:800}.bottom-nav button.active:after{content:'';position:absolute;top:-13px;height:3px;width:24px;border-radius:0 0 4px 4px;background:var(--olive)}.bottom-nav b{position:absolute;top:-4px;right:6px;font-size:0.5rem;background:var(--olive);color:white;border-radius:8px;padding:1px 4px}.footnote{font-size:0.625rem;line-height:1.7;color:var(--muted);margin:18px 0}.page-title{margin:36px 0 28px}.page-title h1{font-size:2.6875rem}.page-title p{font-size:0.8125rem;color:var(--muted)}.empty{grid-column:1/-1;text-align:center;padding:55px 20px;margin:15px 0 30px;border:1px dashed #d2d8c6;border-radius:22px}.empty>.icon{width:49px;height:49px;color:#899777;stroke-width:1;margin-bottom:20px}.empty h2{font-family:Georgia,serif;font-size:1.625rem;font-weight:400;line-height:1.25}.empty p{max-width:410px;margin:15px auto 0;font-size:0.8125rem;color:var(--muted)}.primary,.secondary{border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:0.75rem;padding:14px 18px;min-height:46px;text-decoration:none}.primary{background:var(--olive);color:#fffdf3}.secondary{background:#eef0e5;color:var(--olive);border:1px solid #dce2d0}.primary .icon,.secondary .icon{width:18px;height:18px}.full{width:100%;margin:10px 0}.note{padding:18px;background:#f0f1e6;border-radius:14px;font-size:0.75rem;line-height:1.7;margin:20px 0;color:#737c64}.segmented{display:flex;background:#efeee5;border-radius:13px;padding:5px;margin-bottom:26px;gap:4px}.segmented button{flex:1;padding:12px 8px;font-size:0.75rem;border-radius:9px;line-height:1.4}.segmented button.active{background:#fffefa;box-shadow:0 1px 8px #3040280a;font-weight:700}.segmented b{font-size:0.5625rem;padding:2px 6px;margin-left:3px;border-radius:7px;background:#e9ecdf}.detail-top{display:flex;justify-content:space-between;align-items:center;margin:19px 0;font-size:0.5625rem;letter-spacing:2px;color:var(--muted)}.round{width:40px;height:40px;background:#eeefe4;border-radius:50%;display:inline-grid;place-items:center;flex-shrink:0}.round .icon{width:19px;height:19px}.detail{max-width:650px;margin:auto}.large{aspect-ratio:1.6;border-radius:22px;margin-bottom:25px}.placeholder.large .icon{width:85px;height:85px}.detail h1{font-size:2.4375rem;margin:12px 0 16px}.detail-time{font-size:0.75rem;color:var(--muted);display:flex;align-items:flex-start;gap:8px}.detail-time .icon{width:17px;height:17px;margin-top:2px}.detail-actions{display:flex;gap:10px;margin:24px 0 36px}.detail-actions>*{flex:1}.ingredients .section-heading{margin-bottom:8px}.ingredient{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:15px 0;font-size:0.75rem;line-height:1.6}.ingredient>span{max-width:52%}.ingredient strong{font-size:0.6875rem;font-weight:500;text-align:right;color:var(--muted);max-width:48%}.ingredient.choice{display:block}.choice-label{font-size:0.75rem;line-height:1.6;display:block}.choice-label select{display:block;max-width:100%;width:100%;border:1px solid #d8ddcd;color:#4d5e40;border-radius:10px;padding:12px 30px 12px 10px;background:#f5f6ee;margin-top:7px;font-size:0.75rem;text-overflow:ellipsis}.method{margin-top:35px}.method ol{list-style:none;counter-reset:step;padding:0}.method li{counter-increment:step;position:relative;padding-left:43px;margin:24px 0;font-size:0.8125rem;line-height:1.85}.method li:before{content:counter(step,decimal-leading-zero);position:absolute;left:0;top:2px;font-size:0.75rem;color:#8c977c}.katya-note{background:#f1eadc;padding:22px;border-radius:17px;margin:32px 0}.katya-note p{font-size:0.75rem;white-space:pre-line;margin-bottom:0}.katya-note .eyebrow{color:#977b58}.video-section{margin:32px 0}.video-section video{width:100%;max-height:400px;margin-top:20px;border-radius:15px;background:#262c20}.source-link{font-size:0.75rem;color:var(--olive);text-underline-offset:5px;display:inline-block;line-height:1.7}.original{border-block:1px solid var(--line);padding:18px 0}.original summary{font-size:0.75rem;cursor:pointer}.original p,.original pre{font-family:inherit;font-size:0.6875rem;white-space:pre-wrap;line-height:1.85;overflow-wrap:anywhere;color:var(--muted)}.title-count{font-family:'Manrope',sans-serif;font-size:0.9375rem;letter-spacing:0;background:#e9eddf;border-radius:50%;padding:6px 10px;vertical-align:middle}.source-chips{display:flex;flex-wrap:wrap;gap:6px}.source-chips>span{font-size:0.625rem;background:#e9eddf;border-radius:10px;padding:5px 5px 5px 10px;display:flex;align-items:center;gap:5px;max-width:100%}.source-chips button{width:30px;height:30px;flex-shrink:0;display:grid;place-items:center}.source-chips .icon{width:14px;height:14px}.pending{margin:24px 0;border:1px solid #e4dac6;background:#f6f0e5;border-radius:16px;padding:20px}.pending h2{font-size:1rem}.pending p{font-size:0.6875rem;color:#8b7c62}.pending-choice{margin:17px 0}.pending-choice small{font-size:0.5625rem;color:var(--muted);display:block;margin-bottom:5px}.shopping-items{margin:24px 0}.shopping-row{display:flex;gap:14px;align-items:flex-start;border-bottom:1px solid var(--line);padding:20px 0}.buy-check{border:1px solid #bdc5af;border-radius:8px;min-width:28px;height:28px;margin-top:1px;display:grid;place-items:center}.buy-check.checked{color:white;background:var(--olive)}.buy-check .icon{width:16px;height:16px}.shopping-content{min-width:0}.shopping-content h3{font-size:0.8125rem;font-weight:600;margin:0;line-height:1.6}.shopping-content p{font-size:0.75rem;color:var(--muted);margin:4px 0}.shopping-content small{font-size:0.5625rem;color:#8d9283;line-height:1.6;display:block}.muted .shopping-content h3{text-decoration:line-through;color:#8a907d}.row-actions{display:flex;gap:20px;margin-top:8px}.row-actions button{font-size:0.625rem;color:var(--olive);padding:9px 0}.row-actions button[aria-pressed=true]{font-weight:800}.loading{text-align:center;padding:30vh 20px;color:var(--olive)}#toast{position:fixed;bottom:112px;left:50%;transform:translateX(-50%) translateY(20px);max-width:calc(100% - 30px);width:max-content;z-index:30;background:#36452e;color:#fffaf1;border-radius:12px;padding:13px 18px;font-size:0.75rem;line-height:1.6;opacity:0;pointer-events:none;transition:.2s}#toast.visible{transform:translateX(-50%) translateY(0);opacity:1}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:22px;padding:26px;max-width:460px;width:calc(100% - 30px);max-height:85dvh;overflow-y:auto}dialog::backdrop{background:#26301fd1;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:15px}.dialog-heading h2{font-family:Georgia,serif;font-size:1.625rem;font-weight:400}dialog p{font-size:0.75rem;color:var(--muted)}dialog label:not(.sr-only){display:block;font-size:0.75rem;margin:20px 0 12px}dialog input,dialog textarea{display:block;width:100%;padding:12px;border:1px solid #d8dccd;border-radius:10px;background:#fffef8;margin-top:7px;color:var(--ink);font-size:0.8125rem}dialog textarea{font-size:0.6875rem;line-height:1.7;resize:vertical}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-only{display:none}@media(min-width:750px){.detail-top{max-width:650px;margin-inline:auto;padding:20px 0}.welcome h1{font-size:3.6875rem}.welcome{padding-block:45px 35px}.welcome-drawing{margin-right:30px}}@media(max-width:650px){.app-shell{padding:0 max(20px,var(--tg-content-safe-area-inset-left,0px)) 115px;padding-top:var(--tg-content-safe-area-inset-top,0px)}.brand{padding:23px 0 20px}.brand strong{font-size:2.125rem}.brand small{font-size:0.5rem;letter-spacing:2px;padding-left:11px}.brand>a{gap:11px}.mode{font-size:0.5625rem}.welcome{padding-top:29px;padding-bottom:27px}.welcome h1{font-size:2.5rem;margin:13px 0 16px;letter-spacing:-1.2px}.eyebrow{font-size:0.5rem;letter-spacing:1.3px}.welcome p{font-size:0.75rem}.welcome-drawing{width:85px;flex-shrink:0}.welcome-drawing>.icon{width:66px;height:66px}.welcome-drawing span{font-size:0.5625rem}.welcome-drawing i{font-size:1.1875rem}.mobile-only{display:block}.search input{font-size:0.75rem;padding:16px 0}.search{border-radius:12px;padding:0 13px;gap:9px}.search>.icon{width:18px;height:18px}.chips{gap:7px;margin:16px -1px 22px}.chip{font-size:0.6875rem;padding:9px 15px}.section-heading h2{font-size:1.125rem}.section-heading>span{font-size:0.5625rem}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.recipe-card{border-radius:16px}.card-body{padding:13px 11px}.card-title{font-size:0.75rem;line-height:1.55;min-height:38px;margin-top:6px}.card-time{font-size:0.5rem;gap:4px;margin-bottom:12px}.card-time .icon{width:11px;height:11px}.card-body .eyebrow{font-size:0.4375rem;letter-spacing:1px}.plan-button{font-size:0.5rem;gap:4px;padding-top:10px;min-height:33px}.plan-button .icon{width:12px;height:12px}.favorite{width:31px;height:31px;top:8px;right:8px}.favorite .icon{width:16px;height:16px}.placeholder .icon{width:44px;height:44px}.placeholder>span:not(.placeholder-mark){font-size:0.5rem}.bottom-nav{left:0;right:0;bottom:0;transform:none;border-radius:21px 21px 0 0;padding:14px 12px 17px;min-width:0;gap:0;padding-bottom:max(17px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));border-bottom:0}.bottom-nav button{font-size:0.5625rem;min-width:60px;gap:5px}.bottom-nav button.active:after{top:-14px}.bottom-nav b{right:8px}.photo-credit{font-size:0.375rem;bottom:6px;left:6px;padding:3px 5px}.page-title h1{font-size:2.375rem}.page-title{margin-top:28px}.page-title p{font-size:0.75rem}.detail h1{font-size:2.0625rem}.large{border-radius:17px;aspect-ratio:1.3}.detail-actions{gap:8px;margin:20px 0 30px}.detail-actions .primary,.detail-actions .secondary{font-size:0.625rem;padding:13px 9px}.detail-actions .icon{width:16px;height:16px}.ingredient{font-size:0.6875rem}.ingredient strong{font-size:0.625rem}.method li{font-size:0.75rem;padding-left:35px}.segmented button{font-size:0.625rem}.footnote{font-size:0.5625rem}.pending{padding:16px}.empty{padding:40px 14px}.empty h2{font-size:1.5625rem}.empty p{font-size:0.75rem}#toast{bottom:100px;font-size:0.6875rem}dialog{padding:21px}.source-link{font-size:0.6875rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:360px){.welcome-drawing{display:none}.welcome h1{font-size:2.375rem}.brand small{font-size:0.4375rem;letter-spacing:1.5px}.brand>a{gap:9px}.mode{font-size:0.5rem}.card-title{font-size:0.6875rem}.plan-button{font-size:0.4375rem}.detail-actions{flex-direction:column}.detail h1{font-size:1.875rem}.section-heading{gap:8px}.section-heading h2{font-size:1.0625rem}}
/* Real plate photo catalog */
.plate-card .plate-photo{aspect-ratio:3/4;background:#eeeee7}.plate-photo img{object-fit:contain}.plate-photo.large{aspect-ratio:auto;background:#efefe7}.plate-photo.large img{height:auto;max-height:none;object-fit:contain}.plate-preview{font-size:0.625rem;line-height:1.7;color:var(--muted);margin:0 0 16px}.plate-intro{font-size:0.8125rem;color:var(--muted)}.plate-components{margin:30px 0}.plate-component{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.plate-component h3{font-size:0.8125rem;line-height:1.7;margin:0;font-weight:600}.plate-component p{font-size:0.625rem;color:var(--muted);margin:5px 0 0}.component-recipe{display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:0.625rem;color:var(--olive);background:#edf0e3;border-radius:9px;padding:12px 10px}.component-recipe .icon{width:14px;height:14px}.plate-pick-group{margin:20px 0;padding:0;border:0}.plate-pick-group legend{font-size:0.875rem;font-weight:700;margin-bottom:10px}.plate-pick-option{display:flex!important;align-items:flex-start;gap:10px;padding:13px 0;border-bottom:1px solid var(--line);margin:0!important;cursor:pointer}.plate-pick-option input{display:block;flex-shrink:0;width:19px;height:19px;margin:4px 0 0;accent-color:var(--olive)}.plate-pick-option strong{font-size:0.75rem;font-weight:500;line-height:1.7}.plate-pick-option small{display:block;font-size:0.625rem;line-height:1.7;color:var(--muted);margin-top:5px}.plate-pick-option.unavailable{opacity:.55;cursor:default}.plate-detail .note{font-size:0.6875rem}@media(max-width:650px){.plate-preview{font-size:0.5625rem;line-height:1.6}.plate-component{gap:9px}.plate-component h3{font-size:0.75rem}.component-recipe{font-size:0.5625rem;padding:10px 7px}.plate-intro{font-size:0.75rem}}@media(max-width:360px){.plate-component{align-items:flex-start;flex-direction:column}.plate-card .card-title{min-height:0}.plate-preview{font-size:0.5rem}}

/* Readable text, adjustable independently from image and spacing sizes. */
:root{font-size:16px;--muted:#656d5e;-webkit-text-size-adjust:100%;text-size-adjust:100%}
:root[data-text-size="large"]{font-size:18px}
:root[data-text-size="largest"]{font-size:20px}
.header-actions{display:flex;align-items:center;gap:10px}
.text-size-button{min-width:44px;min-height:44px;border:1px solid #cbd2bf;border-radius:12px;font-size:1.125rem;font-weight:700;background:#fffefa;color:var(--olive)}
.recipe-grid{align-items:start}
.card-body{padding:14px;flex:0;gap:6px}
.card-body .eyebrow{font-size:.6875rem}
.card-title{font-size:1.125rem;line-height:1.4;min-height:0;margin:0}
.card-time{font-size:.8125rem;line-height:1.5;margin:0 0 4px}
.card-time .icon{width:16px;height:16px;margin-top:2px}
.plan-button{font-size:.875rem;line-height:1.4;min-height:44px;margin-top:4px;padding:10px 0 0;gap:7px}
.plan-button .icon{width:18px;height:18px}
.plate-preview{font-size:.875rem;line-height:1.55;margin:0 0 4px}
.plate-card .plate-photo{aspect-ratio:auto}
.plate-photo img{height:auto;object-fit:contain}
.photo-credit{font-size:.625rem}
.favorite{width:42px;height:42px}.favorite .icon{width:22px;height:22px}
.search input{font-size:1rem}.chip{font-size:.875rem}
.welcome p,.page-title p,.plate-intro{font-size:1rem}
.section-heading>span{font-size:.8125rem}.section-heading{flex-wrap:wrap;margin-bottom:14px}
.ingredient,.choice-label,.method li,.katya-note p,.plate-component h3{font-size:1.0625rem}
.ingredient strong,.choice-label select,.detail-time,.plate-component p,.source-link{font-size:.9375rem}
.primary,.secondary,.detail-actions .primary,.detail-actions .secondary,.component-recipe{font-size:.9375rem}
.note,.footnote,.plate-detail .note{font-size:.875rem}
.shopping-row{padding:14px 0;gap:12px}.shopping-items{margin:16px 0}
.shopping-content h3{font-size:1.0625rem;line-height:1.4}.shopping-content p{font-size:1rem}
.shopping-content small{font-size:.8125rem;color:var(--muted)}
.row-actions{gap:16px;margin-top:2px;flex-wrap:wrap}.row-actions button{font-size:.9375rem;min-height:44px;padding:7px 0}
.source-chips>span{font-size:.875rem}.buy-check{min-width:30px;height:30px}
.segmented button{font-size:.9375rem}.segmented b{font-size:.8125rem}
.bottom-nav button{font-size:.75rem;line-height:1.3}.bottom-nav b{font-size:.6875rem}
.empty p,dialog p,dialog label:not(.sr-only),dialog input,dialog textarea,.plate-pick-option strong{font-size:1rem}
.plate-pick-option small,.pending p,.pending-choice small{font-size:.875rem}
.text-size-options{padding:0;border:0;margin:20px 0}.text-size-options legend{font-size:1rem;font-weight:700;margin-bottom:8px}
.text-size-options .font-choice{display:flex;align-items:center;gap:12px;padding:14px;margin:8px 0;border:1px solid var(--line);border-radius:12px;cursor:pointer}
.font-choice:has(input:checked){border-color:var(--olive);background:var(--accent)}
.font-choice input{width:20px;height:20px;flex-shrink:0;margin:0;accent-color:var(--olive)}
.font-choice span{display:block}.font-choice small{display:block;font-size:.8125rem;margin-top:4px;color:var(--muted)}
.text-sample{font-size:1.0625rem;line-height:1.6;padding:14px;background:#eef0e5;border-radius:12px}
@media(max-width:650px){
.app-shell{padding-left:max(16px,var(--tg-content-safe-area-inset-left,0px));padding-right:max(16px,var(--tg-content-safe-area-inset-right,0px));padding-bottom:145px}
.brand{padding:16px 0;gap:10px;flex-wrap:wrap}.brand small{display:none}.brand strong{font-size:2rem}
.header-actions{gap:8px}.mode{font-size:.75rem;padding:10px 0}.mode>span{display:none}
.welcome{padding:24px 0 20px}.welcome h1{font-size:2.5rem}.welcome-drawing{display:none}
.recipe-grid{grid-template-columns:minmax(0,1fr);gap:18px}
.recipe-photo:not(.plate-photo),.placeholder{aspect-ratio:1.5}
.recipe-card{border-radius:18px}.card-body{padding:12px 14px;gap:6px}
.card-title{font-size:1.25rem;min-height:0;margin:0;line-height:1.4}
.card-body .eyebrow{font-size:.6875rem;letter-spacing:1px}
.card-time{font-size:.9375rem;gap:6px;margin:0 0 2px}.card-time .icon{width:16px;height:16px}
.plan-button{font-size:.9375rem;padding-top:9px;min-height:44px;margin-top:2px}
.plate-preview{font-size:1rem;line-height:1.5;margin:0}
.plate-card .plate-photo{aspect-ratio:auto}.plate-photo img{height:auto}
.photo-credit{font-size:.625rem;bottom:8px;left:8px;padding:4px 6px}
.favorite{width:44px;height:44px;top:10px;right:10px}.favorite .icon{width:23px;height:23px}
.search input{font-size:1rem}.chip{font-size:.9375rem;padding:10px 16px}.chips{margin-bottom:18px}
.section-heading h2{font-size:1.25rem}.section-heading>span{font-size:.8125rem}
.page-title{margin:24px 0 20px}.page-title h1{font-size:2.375rem;overflow-wrap:anywhere}
.detail h1{font-size:2rem}.detail-actions{flex-wrap:wrap;margin:18px 0 24px}.detail-actions>*{min-width:130px}
.ingredient{font-size:1.0625rem}.ingredient strong{font-size:.9375rem}
.method li{font-size:1.0625rem;line-height:1.7;padding-left:32px}
.plate-component h3{font-size:1.0625rem}.component-recipe{font-size:.875rem}
.bottom-nav{padding-left:4px;padding-right:4px}.bottom-nav button{flex:1;min-width:0;font-size:clamp(11px,.75rem,13px);gap:5px;padding-inline:2px}.bottom-nav .icon{width:24px;height:24px}
.bottom-nav button span{overflow-wrap:normal}.bottom-nav b{right:8px}
}

/* Two-card mobile browsing, compact captions and source-backed allergen flags. */
.card-allergens{font-size:.8125rem;line-height:1.5;margin:0;color:#626b58;overflow-wrap:anywhere}
.card-allergens>span{font-weight:600}
.allergen-section{margin:22px 0;padding:16px;background:#f0eee3;border:1px solid #e0ddcd;border-radius:14px}
.allergen-section h2{font-size:1.125rem}.allergen-section>p{font-size:1rem;margin:10px 0}
.allergen-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:12px 0}
.allergen-tags li{padding:6px 11px;border:1px solid #d0d4c1;background:#fffdf5;border-radius:20px;font-size:.9375rem}
.allergen-section .allergen-note{font-size:.875rem;line-height:1.6;color:#656b5c;margin-bottom:0}
.photo-credit{font-size:.75rem;font-weight:700;padding:5px 8px;background:#fffdf1ee}
@media(max-width:650px){
.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
.recipe-photo:not(.plate-photo),.placeholder{aspect-ratio:1}
.card-body{padding:10px;gap:7px}.card-title{font-size:1rem;line-height:1.4;min-height:0;letter-spacing:-.25px}
.card-time{font-size:.8125rem;line-height:1.5;gap:4px}.card-time .icon{width:13px;height:13px;margin-top:3px}
.plan-button{font-size:.8125rem;line-height:1.4;align-items:center;gap:4px;min-height:44px}
.plan-button .icon{width:16px;height:16px}
.plate-preview{font-size:.875rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.5}
.card-allergens{font-size:.8125rem;line-height:1.5}.card-allergens>span{display:block}
.card-body .eyebrow{font-size:.625rem}
.photo-credit{font-size:.6875rem;bottom:7px;left:7px;padding:4px 7px}
.favorite{width:40px;height:40px;top:7px;right:7px}.favorite .icon{width:21px;height:21px}
.plate-card .plate-photo{aspect-ratio:auto}.plate-photo img{height:auto}
}

.placeholder>.photo-credit{font-size:.6875rem;letter-spacing:0;color:var(--ink)}
/* Variant switch and retailer storefront. */
.preview-variants{display:flex;gap:4px;padding:4px;background:#eeeee4;border-radius:12px;margin-top:16px;width:max-content;max-width:100%}
.preview-variants button{font-size:.875rem;line-height:1.4;padding:10px 14px;min-height:42px;border-radius:9px;color:#65705c}
.preview-variants button[aria-pressed=true]{background:#fffefa;box-shadow:0 2px 6px #3843290a;color:var(--ink);font-weight:700}
.recipe-card .card-body{gap:8px}.recipe-card .card-time{margin:0}
.shop-intro{position:relative;margin:28px 0 24px;padding:28px;background:#e9eedf;border:1px solid #dce3d0;border-radius:22px}
.shop-intro h1{font-size:3rem;margin:12px 0}.shop-intro p{font-size:1rem;line-height:1.65;margin:0}
.shop-intro p a{font-weight:600;text-underline-offset:4px}.shop-demo-label{font-size:.75rem;color:#61704f;display:inline-block;background:#fffdf4b8;border-radius:20px;padding:6px 11px;margin-top:16px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:start}
.product-card{background:#fffefb;border:1px solid var(--line);border-radius:18px;overflow:hidden;min-width:0}
.product-photo{display:block;width:100%;padding:15px;aspect-ratio:1;background:white}
.product-photo img{display:block;width:100%;height:100%;object-fit:contain;aspect-ratio:1}
.product-body{padding:14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.product-category{text-transform:uppercase;letter-spacing:1px;font-size:.625rem;color:var(--olive);font-weight:700}
.product-title{font-size:1.0625rem;line-height:1.5;font-weight:700;text-align:left;padding:0;overflow-wrap:anywhere}
.product-price{font-size:1.125rem;font-weight:700;margin:0;line-height:1.5}
.product-stock{font-size:.75rem;line-height:1.5;color:#8a6747;margin:0}
.product-link{font-size:.875rem;line-height:1.4;padding:10px 0 0;min-height:40px;text-decoration:none;font-weight:700;color:var(--olive);width:100%;border-top:1px solid var(--line)}
.product-link:hover{text-decoration:underline}.product-detail-photo{display:block;width:100%;max-height:300px;object-fit:contain;background:white;border-radius:14px;margin:10px 0 18px}
.product-detail-title{font-size:1.5rem;line-height:1.5;margin:12px 0}
.shop-teaser{display:flex;gap:16px;align-items:flex-start;padding:20px;border-radius:16px;background:#e9eedf;margin:24px 0}
.shop-teaser>span{display:grid;place-items:center;background:#fffaf0;border-radius:12px;width:44px;height:44px;flex-shrink:0}
.shop-teaser h2{font-size:1.125rem}.shop-teaser p{font-size:.9375rem;margin:8px 0;line-height:1.6}.shop-teaser button{display:flex;align-items:center;gap:6px;font-size:.9375rem;font-weight:700;min-height:44px;padding:0;color:var(--olive)}
@media(max-width:650px){
.preview-variants{width:100%;margin-top:12px}.preview-variants button{flex:1;font-size:.8125rem;padding:10px 8px}
.shop-intro{padding:22px 18px;margin-top:24px}.shop-intro h1{font-size:2.5rem}.shop-intro .eyebrow{font-size:.625rem;line-height:1.6}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}
.product-photo{padding:9px}.product-body{padding:11px 10px;gap:7px}.product-title{font-size:.9375rem;line-height:1.45}.product-price{font-size:1rem}.product-link{font-size:.8125rem}
.with-shop .bottom-nav button{font-size:clamp(10px,.6875rem,11px)}.with-shop .bottom-nav .icon{width:22px;height:22px}.with-shop .bottom-nav{padding-inline:2px}
.shop-teaser{padding:16px;gap:12px}
}
/* Child profile and a small pear companion; personal data stays on device. */
.profile-button{font-size:.875rem;font-weight:700;min-height:44px;padding:10px 12px;border:1px solid #d5ddc7;border-radius:12px;background:#edf1e4;color:var(--olive);max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.child-panel{display:grid;grid-template-columns:58px minmax(0,1fr);gap:14px;align-items:center;background:#edf1e4;border:1px solid #dce4ce;border-radius:17px;padding:17px;margin:0 0 18px}.child-panel h2{font-size:1.125rem;line-height:1.4;margin:5px 0;overflow-wrap:anywhere}.child-panel p{font-size:.875rem;line-height:1.5;margin:0;color:#64715b}
.child-panel .eyebrow{font-size:.625rem;letter-spacing:1px}
.child-edit{font-size:.875rem;font-weight:700;padding:8px 0 0;min-height:38px;display:flex;align-items:center;gap:4px;color:var(--olive)}.child-edit .icon{width:16px;height:16px}
.age-controls{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 10px}.age-controls button{font-size:.875rem;line-height:1.4;padding:11px 14px;border:1px solid #d4ddc7;border-radius:12px;min-height:44px;background:#fffdf7}
.age-controls button[aria-pressed=true]{background:var(--olive);border-color:var(--olive);color:#fffdf4;font-weight:700}
.age-note{font-size:.8125rem;color:#69745f;line-height:1.65;margin:0 0 20px}.age-note a{text-underline-offset:3px}
.age-detail{font-size:.875rem;line-height:1.7;color:#64715b;background:#edf1e4;border-radius:10px;padding:12px 14px;margin:0 0 18px}
.profile-privacy{font-size:.8125rem!important;line-height:1.65;padding:12px;border-radius:10px;background:#edf1e4}
#child-birth{min-height:48px;max-width:100%;min-width:0;box-sizing:border-box}
.form-error{color:#914b34!important;font-size:.875rem!important}.form-error:empty{display:none}
.profile-remove{display:block;width:100%;font-size:.875rem;min-height:44px;color:#856049;text-decoration:underline;text-underline-offset:4px}
.welcome h1{overflow-wrap:anywhere}
@media(max-width:650px){.header-actions{gap:7px}.profile-button{max-width:88px;font-size:.8125rem;padding-inline:10px}.child-panel{grid-template-columns:48px minmax(0,1fr);padding:14px;gap:12px}.child-panel h2{font-size:1.125rem}.child-panel p{font-size:.875rem}.age-controls button{font-size:.8125rem;padding:10px 12px}}
@media(max-width:360px){.header-actions .mode{display:none}.profile-button{max-width:100px}.age-controls{gap:6px}.age-controls button{padding-inline:10px}}
.has-child-profile .welcome{display:none}
.child-panel.saved-child{margin-top:20px}
.saved-child .eyebrow{display:none}
.age-context{margin:0 0 14px}.age-context summary{font-size:.8125rem;line-height:1.5;color:#65715b;cursor:pointer;padding:8px 0}.age-context .age-note{margin:4px 0 10px}
/* Compare the original visual style with the pear variant, independently of the shop. */
.design-switch{display:flex;align-items:center;gap:12px;margin-top:16px;min-width:0}
.design-switch label{font-size:.8125rem;color:var(--muted);flex-shrink:0}
.design-switch select{font-size:.875rem;line-height:1.4;min-height:44px;min-width:0;max-width:100%;flex:1;background:#fffdf7;color:var(--ink);padding:10px 34px 10px 12px;border:1px solid var(--line);border-radius:11px;text-overflow:ellipsis}
.child-panel.classic-profile{display:block;padding:14px 0;border:0;border-block:1px solid var(--line);background:none;border-radius:0;margin-block:10px 18px}
.classic-profile .child-edit{font-weight:600}.classic-profile h2{font-size:1rem}.classic-profile .eyebrow{display:none}
/* Fourth concept: dimensional, calm, clear. All artwork and styling are original. */
:root[data-design=volume]{--paper:#f1f5eb;--ink:#263b2b;--olive:#506c48;--muted:#64705d;--line:#dce4d2;background:#f1f5eb}
.volume-design{font-family:'Manrope',system-ui,sans-serif}
.volume-design .brand{border-bottom:0;padding-bottom:12px}
.volume-design .brand strong{font-family:'Manrope',system-ui,sans-serif;font-size:2rem;letter-spacing:-1.8px;font-weight:800}
.volume-design .brand small{letter-spacing:2px;font-size:.5rem}
.volume-design .text-size-button,.volume-design .profile-button{background:linear-gradient(145deg,#fffef8,#e4ead9);border:1px solid #ffffffb3;box-shadow:3px 4px 10px #5b725313,-2px -2px 5px #ffffff;min-height:44px}
.volume-design .design-switch{margin:4px 0 18px}
.volume-design .design-switch select{border:1px solid #ffffffb3;background:#ffffff94;box-shadow:0 2px 8px #60735208;font-weight:600}
.volume-hero{position:relative;isolation:isolate;overflow:hidden;border:1px solid #ffffffd6;border-radius:30px;background:radial-gradient(ellipse at 18% 8%,#fffef5 0%,#ecf0d9 44%,#cbd9b8 100%);min-height:304px;margin:8px 0 22px;box-shadow:0 14px 34px #576b4920,inset 0 2px 1px #ffffffd4}
.volume-hero:after{content:'';position:absolute;width:180px;height:180px;border-radius:50%;background:#fffdf7;filter:blur(45px);opacity:.5;top:-90px;right:-50px;z-index:-1}
.volume-hero-copy{position:relative;z-index:2;padding:28px 26px 25px;max-width:66%;pointer-events:none}
.volume-kicker{font-size:.625rem;font-weight:800;letter-spacing:1.8px;color:#627851}
.volume-hero h1{font-family:'Manrope',system-ui,sans-serif;font-size:2.25rem;letter-spacing:-1.7px;font-weight:800;line-height:1.15;margin:17px 0 14px}
.volume-hero p{font-size:.875rem;line-height:1.65;color:#526647;margin:0;max-width:190px}
.volume-hero-copy button{pointer-events:auto;display:inline-flex;align-items:center;gap:5px;max-width:100%;min-height:44px;margin-top:20px;padding:11px 15px;border-radius:14px;background:#47633e;color:#fffef5;font-weight:700;font-size:.8125rem;box-shadow:0 4px 0 #334d2e,0 7px 15px #465c3924;overflow-wrap:anywhere;text-align:left}
.volume-hero-copy button .icon{width:16px;height:16px}
.volume-scene{position:absolute;width:340px;height:auto;right:-15px;bottom:-30px;z-index:1;pointer-events:none;filter:drop-shadow(0 9px 9px #536a4210)}
.volume-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:4px 0 24px}
.volume-shortcuts>button{display:flex;align-items:center;gap:12px;padding:14px;border-radius:21px;background:#ffffffb3;border:1px solid #ffffffd4;box-shadow:0 4px 14px #4f66400b;font-size:.875rem;font-weight:700;line-height:1.4;text-align:left;min-width:0}
.shortcut-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;flex-shrink:0;border:1px solid #ffffffb3;box-shadow:inset 2px 2px 5px #ffffffb3,inset -2px -3px 5px #556c431c,0 5px 8px #5b704e14;transform:rotate(-5deg)}
.shortcut-icon .icon{width:23px;height:23px;filter:drop-shadow(0 2px 1px #ffffff8c)}
.shortcut-icon.sage{background:linear-gradient(130deg,#eaf0d8,#b3c79a);color:#456342}
.shortcut-icon.peach{background:linear-gradient(130deg,#fff1df,#edc9ad);color:#9b7056}
.shortcut-icon.cream{background:linear-gradient(130deg,#fffdf1,#deddbb);color:#817b4a}
.volume-design h1:not(.volume-hero h1){font-family:'Manrope',system-ui,sans-serif;font-weight:800;letter-spacing:-1.5px}
.volume-design .search{border:1px solid #ffffffd9;border-radius:19px;background:#fffff9;box-shadow:0 4px 14px #52674709}
.volume-design .chip{border:1px solid #ffffffd9;background:#ffffffb8;box-shadow:0 3px 6px #4b654007;border-radius:17px;font-weight:600}
.volume-design .chip.active{background:#506c48;color:#fffff7;border-color:#66815d;box-shadow:inset 0 1px 0 #ffffff20,0 4px 8px #4e6a4925}
.volume-design .section-heading h2{font-size:1.25rem;letter-spacing:-.6px;font-weight:800}
.volume-design .recipe-card,.volume-design .product-card{border:1px solid #ffffffed;border-radius:24px;background:#fffef9;box-shadow:0 6px 18px #4f68430d,inset 0 1px 0 #ffffff}
.volume-design .card-image{padding:6px 6px 0}.volume-design .card-image .recipe-photo,.volume-design .card-image .placeholder{border-radius:18px}
.volume-design .card-image .image-open{inset:6px 6px 0;border-radius:18px}
.volume-design .favorite{top:13px;right:13px;border:1px solid #ffffff9e;box-shadow:0 3px 8px #38532912}
.volume-design .card-body{padding:12px}.volume-design .card-title{font-weight:800;letter-spacing:-.45px}
.volume-design .photo-credit{background:#fffff5e8;backdrop-filter:blur(6px);border:1px solid #ffffffb3;border-radius:8px}
.volume-design .product-photo{border-radius:21px}.volume-design .product-body{padding:13px}
.volume-design .primary{background:linear-gradient(150deg,#66855a,#46653e);box-shadow:0 4px 0 #344f2d,0 8px 15px #4e69421c;border:1px solid #759269}
.volume-design .secondary{background:linear-gradient(145deg,#fffef6,#e5eadb);border-color:#ffffff;box-shadow:0 4px 9px #566e4510}
.volume-design .bottom-nav{border-radius:27px;border:1px solid #ffffffe6;background:#fffef5ef;box-shadow:0 12px 32px #38512c24,0 1px 0 #ffffff inset;padding:10px 18px;gap:12px}
.volume-design .bottom-nav button{padding:8px 10px;border-radius:17px;font-weight:600;min-height:50px}
.volume-design .bottom-nav button.active{background:#e6ecd9;color:#45653d}
.volume-design .bottom-nav button.active:after{display:none}
.volume-design .bottom-nav b{top:0;right:2px}
.volume-design .page-title,.volume-design .shop-intro{padding:24px;border:1px solid #ffffffd4;background:linear-gradient(130deg,#fffef2,#dce6cd);border-radius:26px;box-shadow:0 8px 22px #536b4311}
.volume-design .page-title p{margin-bottom:0}.volume-design .age-controls button{border-radius:15px;border-color:#ffffffb3;box-shadow:0 2px 8px #4e683d09}
.volume-design .age-controls button[aria-pressed=true]{border-color:#617c55}
.volume-design .shopping-row{background:#fffef9;padding:16px;border:1px solid #ffffff;border-radius:18px;margin:10px 0;box-shadow:0 4px 12px #4e67400a}
.volume-design .buy-check{background:linear-gradient(140deg,#fffef7,#e9eddf);border-color:#ccd8bf;box-shadow:inset 0 2px 3px #5168420c}
.volume-design .buy-check.checked{background:#506c48}
.volume-design .allergen-section,.volume-design .katya-note{border-color:#ffffffb3;box-shadow:0 4px 13px #526b4208;border-radius:19px}
:root[data-design=volume] dialog{border-radius:26px;border-color:#ffffff;background:#f6f8ef;box-shadow:0 20px 70px #233d2a50}
@media(min-width:651px){.volume-hero-copy{max-width:55%;padding:38px}.volume-hero h1{font-size:3rem}.volume-hero p{font-size:1rem;max-width:290px}.volume-scene{width:420px;right:10px;bottom:-65px}.volume-hero{min-height:330px}}
@media(max-width:650px){
.volume-design .brand{padding-top:17px}.volume-design .brand small{display:none}.volume-design .brand strong{font-size:1.75rem}
.volume-design .design-switch{margin-top:2px;margin-bottom:16px}.volume-design .design-switch select{font-size:.8125rem}
.volume-hero{min-height:285px;border-radius:28px;margin-top:4px;margin-bottom:18px}
.volume-hero-copy{max-width:72%;padding:24px 20px}
.volume-hero h1{font-size:2rem;line-height:1.14;letter-spacing:-1.4px}
.volume-hero p{font-size:.8125rem;max-width:145px}
.volume-kicker{font-size:.5625rem;letter-spacing:1.2px}
.volume-hero-copy button{font-size:.75rem;padding:10px 12px;max-width:150px}
.volume-scene{width:275px;right:-65px;bottom:-8px}
.volume-shortcuts{gap:8px;margin-bottom:22px}.volume-shortcuts>button{flex-direction:column;justify-content:flex-start;text-align:center;gap:9px;font-size:.6875rem;padding:12px 6px;border-radius:19px;line-height:1.5}
.shortcut-icon{width:42px;height:42px;border-radius:14px}.shortcut-icon .icon{width:22px;height:22px}
.volume-design .card-body{padding:11px 10px 13px}.volume-design .card-title{font-size:1rem}
.volume-design .bottom-nav{left:10px;right:10px;bottom:10px;gap:0;padding:5px 4px max(7px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));border-radius:25px}
.volume-design .bottom-nav button{padding:8px 2px;min-height:53px}.volume-design.with-shop .bottom-nav{padding-inline:3px}
.volume-design .page-title,.volume-design .shop-intro{padding:20px}.volume-design .page-title h1{font-size:2rem}
.volume-design .product-grid{gap:14px 10px}.volume-design .product-body{padding:11px}
}
@media(max-width:360px){.volume-hero-copy{padding:22px 16px;max-width:75%}.volume-hero h1{font-size:1.8125rem}.volume-scene{width:245px;right:-72px;bottom:5px}.volume-shortcuts>button{font-size:.625rem}.volume-hero p{max-width:134px}.volume-hero-copy button{max-width:137px}}
@media(max-width:650px){:root[data-text-size=largest] .volume-hero-copy{max-width:100%;padding-bottom:175px}:root[data-text-size=largest] .volume-hero p{max-width:220px}:root[data-text-size=largest] .volume-scene{width:255px;right:-25px;bottom:-26px}}
.birthday-notice{position:relative;display:flex;align-items:flex-start;gap:14px;background:linear-gradient(135deg,#fff2df,#f2e2cb);border:1px solid #e9d8bb;border-radius:20px;padding:20px 42px 20px 18px;margin:20px 0;box-shadow:0 5px 18px #8e71550c}
.birthday-symbol{font-size:2rem;flex-shrink:0;line-height:1.4;filter:drop-shadow(0 4px 3px #ab7a4520)}
.birthday-notice .eyebrow{font-size:.625rem;color:#96724e;letter-spacing:1.2px}.birthday-notice h2{font-size:1.125rem;line-height:1.5;margin:7px 0;overflow-wrap:anywhere}
.birthday-notice p{font-size:.875rem;line-height:1.7;color:#72644f;margin:0}
.birthday-close{position:absolute;top:8px;right:5px;width:36px;height:36px;display:grid;place-items:center;color:#8d795d}.birthday-close .icon{width:18px;height:18px}
.birthday-option{display:flex!important;align-items:flex-start;gap:11px!important;font-size:.9375rem!important;line-height:1.5}
.birthday-option input{width:20px;height:20px;flex-shrink:0;margin:3px 0 0;accent-color:var(--olive)}
.birthday-option small{font-size:.8125rem;display:block;color:var(--muted);margin-top:5px;line-height:1.6}
.volume-design .birthday-notice{border-color:#ffffffe0;box-shadow:0 7px 22px #92744d13,inset 0 1px 0 #ffffffc9;border-radius:25px}
@media(max-width:360px){.birthday-notice{padding:17px 35px 17px 13px;gap:9px}.birthday-symbol{font-size:1.6rem}}
/* One bottom dock: four kitchen destinations and a separate store button. */
.bottom-dock{display:contents}
.bottom-dock.has-shop{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;gap:10px;width:min(640px,calc(100% - 28px));z-index:10}
.bottom-dock.has-shop .bottom-nav{position:static;inset:auto;transform:none;min-width:0;width:auto;flex:1;gap:0;padding:10px 8px;border-radius:28px}
.bottom-dock.has-shop .bottom-nav button{flex:1;min-width:0;padding-inline:3px}
.nav-symbol{display:grid;place-items:center;flex-shrink:0}
.shop-launch{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:86px;flex-shrink:0;border-radius:28px;padding:13px 8px;background:linear-gradient(140deg,#e4ebd8,#b9cba6);color:#44613b;border:1px solid #ffffffcf;box-shadow:0 8px 20px #445c3820,inset 1px 2px 2px #ffffffb3;font-size:.8125rem;font-weight:700;line-height:1.3}
.shop-launch .icon{width:24px;height:24px}.shop-launch.active{background:linear-gradient(145deg,#73915e,#4c6b41);color:#fffef5;box-shadow:0 7px 20px #405b3633,inset 0 1px 0 #ffffff50}
.volume-design .bottom-dock.has-shop .bottom-nav{box-shadow:0 9px 28px #38512c1f,0 1px 0 #fff inset}
@media(max-width:650px){
.bottom-dock.has-shop{bottom:8px;left:8px;right:8px;width:auto;transform:none;gap:7px}
.bottom-dock.has-shop .bottom-nav{padding:6px 2px max(8px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));border:1px solid #ffffffe0;border-radius:26px}
.bottom-dock.has-shop .bottom-nav button{font-size:clamp(10px,.6875rem,12px);min-height:56px;gap:5px;padding:7px 1px}
.bottom-dock.has-shop .nav-label{line-height:1.35;white-space:normal}
.bottom-dock.has-shop .shop-launch{width:65px;border-radius:25px;font-size:clamp(10px,.6875rem,12px);padding:10px 4px max(10px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));gap:7px}
}
/* Fifth concept: brushed steel, a soft silicone rim, a personal greeting. */
:root[data-design=steel]{--paper:#f2f5ee;--ink:#2b3d30;--olive:#526d48;--muted:#677363;--line:#dce3d8;background:#f2f5ee}
.steel-design .design-switch select{background:#fdfef9;border-color:#fff;box-shadow:inset 0 1px 2px #ffffff,0 3px 10px #53604e08}
.steel-hero{position:relative;isolation:isolate;overflow:hidden;margin:5px 0 22px;padding:24px 24px 15px;border-radius:32px;border:1px solid #ffffffed;background:radial-gradient(ellipse at 95% 8%,#fffef8 0,transparent 54%),linear-gradient(135deg,#f8faf5,#e6ece2 70%,#d8e2d0);box-shadow:0 12px 30px #52644915,inset 0 2px 1px #ffffff,inset 0 -2px 1px #b8c5b722}
.steel-kicker{font-size:.625rem;letter-spacing:1.45px;font-weight:800;color:#718166;line-height:1.7;display:block}
.steel-design .steel-hero .steel-name{font-family:'Manrope',system-ui,sans-serif;font-size:2.75rem;letter-spacing:-1.7px;line-height:1.18;font-weight:800;margin:15px 0 10px;overflow-wrap:anywhere}
.steel-design .steel-hero .steel-name.no-child{font-size:2.25rem}
.steel-age{font-size:.9375rem;line-height:1.65;color:#536d4d;font-weight:600;margin:0}
.steel-wish{font-size:.9375rem;line-height:1.7;color:#6b7764;margin:13px 0 0;max-width:42ch}
.steel-plate-scene{position:relative;isolation:isolate;width:100%;aspect-ratio:1.5;overflow:hidden;margin:0;mix-blend-mode:multiply}
.steel-plate-scene img{position:absolute;width:145%;height:auto;max-width:none;left:50%;top:50%;transform:translate(-50%,-50%);mix-blend-mode:multiply}
.steel-light{position:absolute;left:11%;right:9%;height:15%;bottom:6%;border-radius:100%;background:#6b8067;opacity:.12;filter:blur(11px)}
.steel-spark{position:absolute;z-index:2;color:#a4b397;font-size:1.35rem;text-shadow:1px 2px 1px #ffffffb8}
.spark-one{top:20%;left:7%}.spark-two{top:30%;right:4%;font-size:1rem;color:#bea482}
.steel-profile-link{display:flex;gap:5px;align-items:center;justify-content:center;min-height:44px;width:100%;font-size:.8125rem;font-weight:700;color:#5d7451;padding:4px 0 0;border-top:1px solid #cfd9c9a0}
.steel-profile-link .icon{width:16px;height:16px}
.steel-design .recipe-card,.steel-design .product-card{border-radius:24px;background:#fffffb;box-shadow:0 7px 16px #53674b0a,inset 0 1px 0 #ffffff}
.steel-design .search{background:#fffffb;border:1px solid white;box-shadow:0 4px 14px #5c705608,inset 0 1px 1px white}
.steel-design .bottom-dock.has-shop{gap:10px}
.steel-design .bottom-dock.has-shop .bottom-nav{background:linear-gradient(140deg,#fffef7,#f0f3e9);border:1px solid #ffffffef;box-shadow:0 10px 26px #465e3525,inset 1px 2px 1px #fff;border-radius:29px;padding:9px 5px}
.steel-design .bottom-nav button{padding:6px 4px;gap:7px;border-radius:21px;min-height:70px;font-size:.75rem;color:#666a5d}
.steel-design .bottom-nav button.active{background:#e7eddd;color:#526c48}
.steel-design .nav-symbol{width:38px;height:38px;border-radius:13px;border:1px solid #fff8;box-shadow:inset 2px 2px 4px #fff9,inset -2px -3px 5px #65784c1a,0 4px 7px #65754a10;background:linear-gradient(135deg,#fffdf2,#e0dfbe);transform:rotate(-4deg)}
.steel-design .nav-symbol .icon{width:23px;height:23px;filter:drop-shadow(0 1px 0 #ffffff9e)}
.steel-design .bottom-nav [data-value=recipes] .nav-symbol{background:linear-gradient(135deg,#eaf1df,#bdceac);color:#57754b}
.steel-design .bottom-nav [data-value=plates] .nav-symbol{background:linear-gradient(135deg,#f9fcfa,#c9d3cb 42%,#ecf0e7 55%,#a4b6a2);color:#667e5f}
.steel-design .bottom-nav [data-value=mine] .nav-symbol{background:linear-gradient(135deg,#fff2e3,#ebc6a7);color:#a47757}
.steel-design .bottom-nav [data-value=shopping] .nav-symbol{color:#98905b}
.steel-design .bottom-dock.has-shop .shop-launch{background:linear-gradient(135deg,#dce6d2,#abc098);border-color:#f8fff2;box-shadow:0 9px 24px #47613a28,inset 1px 2px 1px #ffffffaa;color:#4e6942;border-radius:29px}
.steel-design .shop-launch .nav-symbol{background:linear-gradient(140deg,#edf4e5,#b2c69e);color:#4b6b3f}
.steel-design .bottom-dock.has-shop .shop-launch.active{background:linear-gradient(145deg,#6c8b5a,#4b6b3e);color:#fffdf6}
.steel-design .bottom-nav b{top:2px;right:3px}
@media(min-width:651px){.steel-hero{padding:34px 36px 20px;min-height:350px}.steel-design .steel-hero .steel-name{font-size:3.5rem;max-width:65%}.steel-hero .steel-wish{max-width:40%}.steel-hero .steel-age{max-width:55%}.steel-plate-scene{position:absolute;width:47%;right:3%;top:16%;margin:0}.steel-profile-link{width:max-content;min-width:170px;margin-top:28px}.steel-kicker{max-width:70%}}
@media(max-width:650px){
.steel-hero{padding:21px 20px 13px;border-radius:29px;margin-bottom:18px}
.steel-design .bottom-dock.has-shop{gap:7px}
.steel-design .bottom-dock.has-shop .bottom-nav{padding:6px 2px max(8px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px));border-radius:27px}
.steel-design .bottom-dock.has-shop .bottom-nav button{min-height:70px;gap:6px;font-size:clamp(10px,.6875rem,12px);padding:5px 1px}
.steel-design .nav-symbol{width:33px;height:33px;border-radius:12px}
.steel-design .nav-symbol .icon{width:21px;height:21px}
.steel-design .bottom-dock.has-shop .shop-launch{width:65px;border-radius:27px;gap:8px}
.steel-design .app-shell{padding-bottom:150px}.steel-design.app-shell{padding-bottom:150px}
}
@media(max-width:360px){.steel-hero{padding-inline:16px}.steel-design .steel-hero .steel-name{font-size:2.5rem}.steel-design .steel-hero .steel-name.no-child{font-size:2rem}.steel-age,.steel-wish{font-size:.875rem}.steel-kicker{font-size:.5625rem}.steel-design .bottom-dock.has-shop{gap:6px;left:6px;right:6px}.steel-design .bottom-dock.has-shop .shop-launch{width:57px}.steel-design .nav-symbol{width:30px;height:30px;border-radius:11px}.steel-design .bottom-dock.has-shop .bottom-nav button{font-size:10px}}
@media(max-width:650px){.steel-design .bottom-dock.has-shop .bottom-nav button,.steel-design .bottom-dock.has-shop .shop-launch{font-size:clamp(11px,.75rem,13px)}}
@media(max-width:360px){.steel-design .bottom-dock.has-shop .bottom-nav button,.steel-design .bottom-dock.has-shop .shop-launch{font-size:11px}}
/* Refined fifth concept: a steel navigation tray, a light personal greeting. */
.steel-design .steel-hero{min-height:0;padding:25px 24px 24px;background:radial-gradient(ellipse at 100% 0,#fff7df 0,transparent 47%),linear-gradient(140deg,#fcfdf6,#e8efdf);box-shadow:0 9px 25px #60734910,inset 0 2px 1px #ffffff;border-color:#fffffff0}
.steel-hero>:not(.steel-greeting-art){position:relative;z-index:1}
.steel-design .steel-hero .steel-name{max-width:100%;margin-top:18px}
.steel-hero .steel-age{max-width:100%}
.steel-hero .steel-wish{max-width:45ch;margin-top:16px}
.steel-profile-link{margin-top:17px;padding-top:11px}
.steel-greeting-art{position:absolute;right:14px;top:20px;width:105px;height:115px;pointer-events:none;opacity:.7}
.greeting-sun{position:absolute;right:0;top:4px;width:65px;height:65px;border-radius:50%;background:radial-gradient(circle at 30% 24%,#fffef0 0,#f3e8b7 40%,#decf8f 100%);box-shadow:inset 2px 3px 3px #ffffffaa,inset -5px -6px 10px #bfa95a25,4px 8px 14px #a9986120}
.greeting-leaf{position:absolute;border:1px solid #e4edd650;background:linear-gradient(130deg,#e0ecc4,#aec896 55%,#7e9d6b);box-shadow:inset 1px 2px 3px #f7ffe180,2px 4px 7px #6a87542b;border-radius:85% 12% 80% 16%}
.leaf-one{right:40px;top:58px;width:44px;height:28px;transform:rotate(-18deg)}
.leaf-two{right:17px;top:75px;width:31px;height:20px;transform:rotate(65deg)}
.greeting-spark{position:absolute;left:3px;top:10px;color:#dcc29b;font-size:1.2rem;text-shadow:1px 2px 1px #ffffff}
/* Satin metal compartments sit inside a soft sage rim. */
.steel-design .bottom-dock.has-shop .bottom-nav{gap:3px;padding:6px;border:3px solid #bfceb4;border-radius:28px;background:repeating-linear-gradient(5deg,#ffffff06 0 1px,#6c7a6a08 1px 2px),linear-gradient(125deg,#f9fcf6 0%,#bdc8bd 15%,#edf3eb 27%,#c8d4c6 44%,#a1b09e 52%,#eef5e9 69%,#c7d3c2 100%);box-shadow:0 8px 22px #43563d26,inset 0 2px 1px #ffffff,inset 0 -2px 3px #6b7e6660,0 1px 1px #ffffff}
.steel-design .bottom-dock.has-shop .bottom-nav button{position:relative;border-radius:18px;min-height:72px;background:linear-gradient(145deg,#e9efe5,#cfdbca 52%,#e9f0e2);border:1px solid #fafff4ad;box-shadow:inset 1px 2px 4px #75896b26,inset -1px -2px 2px #ffffffa6;gap:6px;color:#65745b}
.steel-design .bottom-dock.has-shop .bottom-nav button.active{background:linear-gradient(145deg,#e5edda,#c1d3aa 70%,#d5e3c4);color:#48623a;border-color:#f9ffedd6;box-shadow:inset 1px 2px 4px #6b85562e,inset -1px -2px 2px #ffffffa6}
.steel-design .bottom-dock.has-shop .nav-symbol{width:34px;height:34px;box-shadow:inset 1px 2px 3px #ffffffb3,inset -1px -2px 3px #5a704921,0 2px 4px #61775013}
.steel-design .bottom-dock.has-shop .shop-launch{border:2px solid #b8cda6;border-radius:27px;background:linear-gradient(140deg,#edf5e1,#c2d6aa 52%,#a9c18f);box-shadow:0 8px 20px #435c3324,inset 1px 2px 2px #ffffffbf,inset -1px -2px 3px #77905e25}
.steel-design .bottom-dock.has-shop .shop-launch.active{background:linear-gradient(140deg,#7e9c67,#506e40);color:#fffef5;box-shadow:0 8px 20px #435c3328,inset 0 1px 2px #cadbba70}
@media(min-width:651px){.steel-design .steel-hero{padding:32px 36px;min-height:250px}.steel-greeting-art{width:170px;height:165px;right:32px;top:36px}.greeting-sun{width:105px;height:105px}.leaf-one{width:67px;height:43px;right:65px;top:83px}.leaf-two{width:48px;height:32px;right:31px;top:111px}.greeting-spark{left:12px;top:18px;font-size:1.6rem}.steel-hero .steel-wish{max-width:65%}}
@media(max-width:650px){.steel-design .steel-hero{padding:23px 20px}.steel-design .bottom-dock.has-shop .bottom-nav{padding:4px;border-width:2px;border-radius:25px}.steel-design .bottom-dock.has-shop .bottom-nav button{min-height:70px;border-radius:16px;padding-inline:0}.steel-design .bottom-dock.has-shop .nav-symbol{width:31px;height:31px;border-radius:11px}.steel-design .bottom-dock.has-shop .shop-launch{border-radius:25px}.steel-greeting-art{opacity:.42}}
@media(max-width:360px){.steel-design .steel-hero{padding-inline:16px}.steel-greeting-art{right:9px;opacity:.27}.steel-design .bottom-dock.has-shop .bottom-nav{gap:2px;padding:3px}.steel-design .bottom-dock.has-shop .nav-symbol{width:28px;height:28px}.steel-design .bottom-dock.has-shop .bottom-nav button{font-size:10px}}
.notification-preferences{padding:7px 0;margin:12px 0 20px}
.renewal-option{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;line-height:1.45;cursor:pointer}
.renewal-option input{width:20px;height:20px;flex-shrink:0;margin:3px 0 0;accent-color:var(--olive)}
.renewal-option small{display:block;font-size:.75rem;line-height:1.4;color:var(--muted);margin-top:3px}
.birthday-auto-note{font-size:.8125rem!important;line-height:1.6;color:#718063!important}
.birthday-notice .birthday-signature{font-size:.875rem;font-weight:700;color:#8a6f4e;margin-top:10px;line-height:1.6}
.birthday-signature span{font-size:.75rem;letter-spacing:.5px;color:#8c806d}
.product-retailer{font-size:.75rem;color:#7a816f;line-height:1.5;display:block}
.partner-plan{display:flex;align-items:flex-start;gap:16px;background:#edf2e4;border:1px solid #d9e3cb;padding:20px;border-radius:19px;margin:0 0 22px}
.partner-percent{flex-shrink:0;font-size:1.5rem;letter-spacing:-1px;font-weight:800;color:#65804f;background:#fffdf3;border:1px solid #ffffff;border-radius:16px;padding:10px 12px;line-height:1.4}
.partner-plan h2{font-size:1rem;line-height:1.5;letter-spacing:0;margin:0 0 7px}
.partner-plan p{font-size:.875rem;line-height:1.65;margin:0;color:#64725b}
.partner-pending{display:block;font-size:.75rem;line-height:1.6;color:#819071;margin-top:9px}
@media(max-width:650px){.partner-plan{gap:12px;padding:16px}.partner-percent{font-size:1.25rem;padding:8px 10px}.partner-plan h2{font-size:.9375rem}}
.voice-search{display:grid;place-items:center;width:38px;height:40px;flex-shrink:0;border-radius:11px;color:#718461;padding:8px;background:#eef2e6}
.voice-search .icon{width:20px;height:20px}.voice-search:hover{background:#e4ebd9}
.volume-design .voice-search{background:linear-gradient(140deg,#f8fbf0,#e3ebd6);box-shadow:inset 0 1px 0 #ffffff,0 2px 4px #526b4210}
@media(max-width:650px){.search{gap:8px}.voice-search{width:34px;height:38px;padding:7px}.voice-search .icon{width:19px;height:19px}}

/* Sixth concept: same personal greeting, quiet flat navigation. */
.calm-navigation .bottom-dock.has-shop .bottom-nav{padding:5px;gap:0;border:0;border-radius:27px;background:#fffef8;box-shadow:0 5px 20px #3e51341a}
.calm-navigation .bottom-dock.has-shop .bottom-nav button{border:0;box-shadow:none;background:transparent;color:#666a5d;border-radius:21px;min-height:68px}
.calm-navigation .bottom-dock.has-shop .bottom-nav button.active{border:0;box-shadow:none;background:#e4ecd9;color:#4b6740}
.calm-navigation .bottom-dock.has-shop .nav-symbol,.calm-navigation .bottom-nav [data-value] .nav-symbol,.calm-navigation .shop-launch .nav-symbol{border:0;border-radius:0;box-shadow:none;background:none;transform:none;color:inherit}
.calm-navigation .nav-symbol .icon{filter:none}
.calm-navigation .bottom-dock.has-shop .shop-launch{border:0;box-shadow:0 5px 20px #3e51341a;border-radius:27px;background:#dce7ce;color:#4b6740}
.calm-navigation .bottom-dock.has-shop .shop-launch.active{border:0;box-shadow:0 5px 20px #3e51341a;background:#526d48;color:#fffef8}
.shop-sections{display:flex;gap:7px;background:#e9eddf;padding:5px;border-radius:19px;margin:0 0 24px}
.shop-sections button{flex:1;padding:13px 9px;border-radius:15px;font-size:.875rem;font-weight:600}
.shop-sections button[aria-pressed=true]{background:#fffef8;color:#4b6740;box-shadow:0 2px 7px #4356350d}
.resale-demo-note{padding:21px;border-radius:23px;background:#e9eddf;margin-bottom:26px}
.resale-demo-note p{font-size:.875rem;color:var(--muted);margin:10px 0 18px}
.resale-condition{white-space:pre-line;overflow-wrap:anywhere;font-size:.875rem;line-height:1.5}
.product-body .resale-condition{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;margin:8px 0}
#resale-form input[type=file]{font-size:.8125rem;max-width:100%}
/* Seventh concept: community storefront with the calm sixth navigation. */
.trial-search{padding-right:8px;gap:7px}.trial-search input{flex:1}.trial-submit{width:38px;height:38px;border-radius:12px;background:#526d48;color:#fff;display:grid;place-items:center;flex-shrink:0}.trial-search .voice-search{width:34px;height:34px;margin-right:0}.search-trial{display:flex;justify-content:space-between;gap:8px;margin:10px 2px 0;color:#526d48;font-size:.75rem}.search-trial small{color:var(--muted);font-size:.625rem;max-width:45%;text-align:right}.trial-limit{padding:18px;border-radius:18px;background:#e8eddd;margin-top:14px;font-size:.875rem}.trial-limit p{margin:8px 0}.trial-limit small{color:var(--muted)}
.market-hero{padding:28px 4px 24px}.market-hero h1{font:700 2.6rem/1.12 Manrope,system-ui,sans-serif;letter-spacing:-1.7px;max-width:420px;margin:12px 0 14px}.market-hero h1>span{color:#7f9771;display:inline-block;margin-left:10px;transform:rotate(-12deg)}.market-hero p{font-size:1rem;max-width:440px;color:var(--muted);margin:0}.community-design .shop-sections{margin-bottom:24px}.seller-rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 24px}.seller-rail>button{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:12px 3px;border-radius:19px;background:#ffffff85}.seller-rail strong{font-size:.875rem}.seller-rail small{font-size:.625rem;color:var(--muted)}.seller-avatar{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;font-size:.875rem;font-weight:600;background:#dbe6d0;color:#4d6742}.seller-avatar.large{width:62px;height:62px;font-size:1.5rem}.seller-avatar.peach{background:#f1dfd1;color:#926e54}.seller-avatar.butter{background:#ece7c9;color:#817b45}.seller-avatar.lavender{background:#e5dfed;color:#7b6a90}
.market-feed-switch{display:flex;gap:5px;border-radius:18px;padding:5px;background:#e9eddf;margin-bottom:15px}.market-feed-switch button{flex:1;border-radius:14px;padding:12px 8px;font-weight:600;font-size:.875rem}.market-feed-switch button[aria-pressed=true]{background:#fffef8;box-shadow:0 2px 7px #4356350d}.market-feed-switch b{font-weight:500;border-radius:20px;padding:1px 7px;background:#e4eadb;margin-left:4px;font-size:.75rem}.market-filters{margin:14px 0 16px}.market-demo-note{padding:12px 15px;font-size:.75rem;line-height:1.55;background:#f8f8f1;border:1px solid #dce4d5;border-radius:15px;color:#75806b;margin:0 0 22px}.market-demo-note strong{color:#55694a}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 18px}.market-card{min-width:0;border-radius:22px;overflow:hidden;background:#fffefa;box-shadow:0 3px 16px #475d3406;border:1px solid #e4e8dc;display:flex;flex-direction:column}.market-photo{padding:0;display:block;width:100%;position:relative;aspect-ratio:1/1.08;overflow:hidden;background:#eee8dc}.market-photo img{display:block;width:100%;height:100%;object-fit:cover}.market-kind{position:absolute;left:10px;bottom:10px;max-width:calc(100% - 20px);padding:5px 10px;border-radius:15px;background:#fffff2ed;color:#526d48;font-size:.6875rem;font-weight:600}.market-kind.give{background:#e1edceef}.market-kind.exchange{background:#f4e3cfee;color:#8b7255}.market-card-body{padding:14px;display:flex;flex:1;flex-direction:column;gap:9px}.market-price{font-size:1.125rem;line-height:1.2;color:#3f5834}.market-title{padding:0;text-align:left;font-weight:600;font-size:.9375rem;line-height:1.4;overflow-wrap:anywhere}.market-card-meta{font-size:.75rem;line-height:1.4;margin:0;color:var(--muted)}.market-card-seller{display:flex;align-items:center;gap:7px;font-size:.75rem;margin-top:auto;padding:9px 0 0;border-top:1px solid #edf0e6;text-align:left}.following-mark{margin-left:auto;color:#607c4f}.market-detail-top{display:flex;align-items:center;justify-content:space-between;margin:18px 0 22px;gap:10px}.market-back{display:flex;align-items:center;gap:6px;padding:8px 0;font-size:.875rem}.market-all{padding:8px 12px;border-radius:14px;background:#e4ebda;color:#526d48;font-size:.8125rem}.market-item-detail{max-width:650px;margin:auto}.market-detail-photo{position:relative;aspect-ratio:1.1;border-radius:28px;overflow:hidden;margin-bottom:26px;background:#eee8dc}.market-detail-photo img{width:100%;height:100%;object-fit:cover}.market-detail-photo>span{position:absolute;bottom:12px;left:12px;border-radius:20px;padding:6px 12px;background:#fffef4dd;font-size:.6875rem;color:#67765d}.market-item-detail h1{font:700 2rem/1.2 Manrope,system-ui,sans-serif;letter-spacing:-1px}.market-detail-price{font-size:1.75rem;font-weight:700;color:#526d48;margin:12px 0 22px}.market-specs{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#e9eddf;border-radius:20px;padding:19px;margin:0 0 26px}.market-specs dt{font-size:.75rem;color:var(--muted);margin-bottom:6px}.market-specs dd{font-size:.9375rem;font-weight:600;margin:0}.seller-link-card{width:100%;display:flex;align-items:center;text-align:left;gap:16px;background:#fffef8;padding:18px;border-radius:23px;margin:24px 0}.seller-link-card>span:not(.seller-avatar){display:flex;flex:1;flex-direction:column;gap:8px}.seller-link-card strong{font-size:1.125rem}.seller-link-card small{font-size:.75rem;color:#7b826f}
.seller-profile{padding:28px;border-radius:30px;background:linear-gradient(145deg,#fffef8,#e8efdc);text-align:center;margin-bottom:30px;display:flex;align-items:center;flex-direction:column}.seller-demo-tag{font-size:.6875rem;border-radius:14px;background:#e9eddf;color:#6d7b63;padding:5px 11px;margin-bottom:22px}.seller-profile>.seller-avatar{width:88px;height:88px;font-size:2.1rem}.seller-profile h1{font:700 2.375rem/1.1 Manrope,system-ui,sans-serif;letter-spacing:-1px;margin:18px 0 10px}.seller-profile>p:not(.follow-note){font-size:.9375rem;line-height:1.6;color:#78816d;max-width:430px;margin:0 0 22px}.seller-profile-stats{display:flex;gap:32px;justify-content:center;margin-bottom:24px}.seller-profile-stats>div{display:flex;flex-direction:column;gap:7px}.seller-profile-stats strong{font-size:1.3rem;color:#526d48}.seller-profile-stats span{font-size:.75rem;color:var(--muted)}.follow-button{display:flex;align-items:center;justify-content:center;gap:9px;background:#526d48;color:#fffef8;border-radius:16px;padding:15px 28px;min-width:215px;font-weight:600}.follow-button.is-following{background:#dbe6cd;color:#4d6742}.following-feed-link{margin-top:15px;color:#526d48;text-decoration:underline;font-size:.8125rem}.follow-note{font-size:.6875rem;line-height:1.6;color:#7a8471;max-width:360px;margin:15px 0 0}.seller-reviews{margin-bottom:28px}.seller-review{background:#fffef8;border-radius:21px;padding:20px;margin:0 0 12px}.seller-review>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.seller-review>div>span{color:#7a9067;letter-spacing:1px;font-size:.875rem}.seller-review p{font-size:.9375rem;margin:12px 0}.seller-review small{font-size:.6875rem;color:var(--muted)}
@media(max-width:650px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.market-hero h1{font-size:2.375rem}.market-card-body{padding:12px 11px}.market-title{font-size:.9375rem}.market-card-meta{font-size:.6875rem}.market-price{font-size:1.0625rem}.seller-rail{gap:8px}.seller-avatar.large{width:54px;height:54px}.seller-rail>button{gap:7px;padding:12px 0}.seller-rail small{font-size:.5625rem}.seller-profile{padding:24px 18px}.market-specs{padding:16px;gap:10px}.community-design .section-heading h2{font-size:1.0625rem;max-width:70%}.community-design .section-heading>span{font-size:.6875rem}.trial-search{padding-inline:12px 7px}.trial-search input{font-size:.875rem}.trial-search .voice-search{width:29px}.trial-submit{width:32px;height:36px}}
@media(max-width:360px){.market-hero h1{font-size:2.125rem}.seller-rail small{font-size:9px}.seller-avatar.large{width:47px;height:47px}.market-card-body{padding:11px 9px}.market-card-meta{font-size:.6875rem}.market-price{font-size:1rem}.search-trial{font-size:.6875rem}}
/* Keep the community's first screen focused on people and listings. */
.community-design .market-hero{padding:17px 2px 18px}.community-design .market-hero h1{font-size:2.25rem;margin:10px 0}.community-design .market-hero p{font-size:.875rem}.community-design .seller-rail{margin-bottom:16px}.community-design .seller-rail>button{padding:8px 0;gap:5px}.community-design .seller-rail .seller-avatar{width:45px;height:45px;font-size:1.2rem}.community-design .seller-rail small{line-height:1.3}.community-design .shop-sections{margin-bottom:16px}.community-design .market-feed-switch{margin-bottom:12px}.community-design .market-filters{margin:10px 0}.market-demo-caption{font-size:.625rem;line-height:1.4;color:#7b8672;margin:0 0 16px}.community-design .market-grid+.market-demo-note{margin:20px 0}.community-design .market-card-seller{min-height:39px}
@media(max-width:650px){.community-design .market-hero{padding:8px 2px 14px}.community-design .market-hero>.eyebrow{display:none}.community-design .market-hero h1{font-size:1.875rem;line-height:1.15;margin:7px 0 9px}.community-design .market-hero p{font-size:.8125rem;line-height:1.5}.community-design .seller-rail{margin-bottom:12px}.community-design .seller-rail>button{padding:6px 0;gap:4px}.community-design .seller-rail .seller-avatar{width:40px;height:40px;font-size:1.1rem}.community-design .seller-rail strong{font-size:.75rem;line-height:1.2}.community-design .seller-rail small{font-size:.5rem;line-height:1.2}.community-design .market-feed-switch button,.community-design .shop-sections button{font-size:.75rem;line-height:1.25;padding:10px 7px}.community-design #market-search{padding:12px 0;font-size:.75rem}.community-design .market-filters{padding-bottom:3px;margin-block:7px}.community-design .market-filters .chip{font-size:.6875rem;padding:8px 15px;min-height:38px}.community-design .market-demo-caption{margin-bottom:12px}.community-design .market-hero h1>span{margin-left:6px}}
/* Contextual KETIV store navigation, exclusive to design 7. */
.context-dock{position:fixed;z-index:10;bottom:14px;left:50%;transform:translateX(-50%);width:min(690px,calc(100% - 24px));display:flex;gap:8px;align-items:stretch;padding-bottom:max(0px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px))}.context-dock button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:72px;font-size:12px;line-height:1.2;border:0;box-shadow:none;padding:9px 5px;color:#7e8974;border-radius:22px}.context-dock .icon{width:24px;height:24px}.context-center{display:flex;flex:1;min-width:0;padding:5px;background:#fffef7;border-radius:26px;box-shadow:0 4px 18px #43553815}.context-center button{flex:1;min-width:0;min-height:62px}.context-dock .context-kitchen{width:68px;background:#eef2e6;color:#526d48;font-weight:600;border-radius:26px}.context-stories{display:flex;width:73px;background:#e0e9d4;border-radius:26px}.context-stories button{width:100%;color:#536d49}.context-center button.active{background:#e4ecd9;color:#49683f}.context-stories button.active{background:#526d48;color:#fffef8}.exchange-mark{display:inline-block;align-self:flex-start;padding:4px 8px;border-radius:9px;background:#f0e7d8;color:#8b785d;font-size:.625rem;line-height:1.3}.market-specs{margin-top:18px}.owned-description{white-space:pre-line;overflow-wrap:anywhere}.sales-intro{padding:23px 0}.sales-intro h1{font:700 2.2rem/1.15 Manrope,system-ui,sans-serif;letter-spacing:-1px;margin:12px 0}.sales-intro p{color:var(--muted);margin:12px 0 22px}.sales-intro>small{display:block;font-size:.75rem;line-height:1.5;color:var(--muted);margin:12px 0}.add-owned{min-height:60px}.owned-list{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.owned-card{min-width:0;padding:20px;border-radius:24px;background:#fffef8;border:1px solid #e3e8dc}.owned-status{display:inline-block;font-size:.6875rem;line-height:1.4;background:#e8efde;color:#5f7750;padding:5px 9px;border-radius:10px}.owned-status.paused{background:#eee5d7;color:#8a765a}.owned-status.sold,.owned-status.given{background:#e7e8e2;color:#7b8073}.owned-card-main{display:flex;align-items:center;gap:15px;margin-top:17px}.owned-card-main img{width:76px;height:85px;object-fit:cover;border-radius:15px}.owned-card-main h2{font-size:1rem;line-height:1.4;margin-bottom:8px}.owned-card-main strong{font-size:1rem;display:block;margin-bottom:7px}.owned-card>p{font-size:.8125rem;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.owned-actions{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px;border-top:1px solid #e7ecdf}.owned-actions button{font-size:.75rem;line-height:1.3;padding:9px 11px;border-radius:12px;background:#eef2e6;color:#526d48}.owned-actions button:last-child{color:#947c68;background:#f2eae1}.owned-trash{margin:20px 0 28px;font-size:.875rem;border-top:1px solid #dce4d5;padding-top:16px}.owned-trash>div{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:14px 0;border-bottom:1px solid #e6eadf}.owned-trash button{color:#526d48;text-decoration:underline}.owned-form-photo{width:100%;max-height:180px;object-fit:contain;border-radius:16px;margin:12px 0;background:#f1f3e9}.owned-preview-photo{width:100%;max-height:270px;object-fit:contain;border-radius:20px;background:#f1f3e9}.local-form-note{font-size:.75rem;line-height:1.55;color:var(--muted);padding:13px;border-radius:14px;background:#eef2e5}#owned-form [hidden]{display:none!important}#owned-form select{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fffef8;color:var(--ink);margin-top:8px}#owned-form label>small{font-weight:400;font-size:.6875rem;color:var(--muted)}#owned-form input[type=file]{font-size:.75rem;max-width:100%}.owned-type{border:0;padding:16px 0;display:flex;gap:20px}.owned-type legend{font-size:.875rem;font-weight:600;padding-top:16px}.owned-type label,.owned-exchange-check{display:flex!important;align-items:center;gap:8px;font-size:.875rem!important;margin:0!important}.owned-type input,.owned-exchange-check input{width:20px!important;height:20px!important;margin:0!important;accent-color:var(--olive)}#owned-form .owned-exchange-check{padding:12px 0;margin-top:12px!important}.finds-hero{padding:24px 0}.finds-hero h1{font:700 2.25rem/1.15 Manrope,system-ui,sans-serif;letter-spacing:-1px}.finds-hero p{font-size:.9375rem;line-height:1.6;color:var(--muted);max-width:610px;margin:15px 0 10px}.finds-hero>small{font-size:.75rem;line-height:1.5;color:#829078}.finds-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.finds-categories button{display:flex;flex-direction:column;align-items:center;gap:13px;border-radius:22px;background:#fffdf6;padding:22px 8px;color:#7b896e;font-size:.8125rem;line-height:1.3}.finds-categories .icon{width:27px;height:27px}.finds-categories button[aria-pressed=true]{background:#dde8cf;color:#4c693f}.curation-wait{padding:32px;border-radius:26px;background:#fffef8;min-height:220px}.curation-wait h2{margin:16px 0 10px}.curation-wait p{color:var(--muted);font-size:.9375rem;max-width:600px}.curation-wait small{font-size:.75rem;color:#8a947d}.katya-experience{padding:10px 0}.katya-experience>span{font-size:.6875rem;background:#e4eed9;color:#597547;padding:5px 9px;border-radius:11px}.katya-experience p{font-size:.8125rem;color:var(--muted);line-height:1.5}.hotel-card{display:grid;grid-template-columns:1fr 1fr;gap:26px;border-radius:28px;padding:24px;background:#fffef8;margin-bottom:25px}.hotel-photo-placeholder{min-height:260px;border-radius:22px;background:linear-gradient(150deg,#dae5cf,#f3eedb 55%,#d6dec9);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#7f9270}.hotel-photo-placeholder>span{font:400 3rem Georgia,serif;letter-spacing:3px}.hotel-photo-placeholder small{font-size:.75rem}.hotel-card h2{font-size:1.4rem;line-height:1.3;margin-top:12px}.hotel-card>div>p{font-size:.875rem;color:var(--muted)}.hotel-promo-slot{padding:13px;border:1px dashed #dce4cf;border-radius:14px;font-size:.75rem!important}.hotel-card .footnote{font-size:.6875rem;line-height:1.5}
@media(max-width:650px){.context-dock{bottom:8px;left:8px;right:8px;width:auto;transform:none;gap:6px}.context-dock .context-kitchen{width:51px;flex-shrink:0;border-radius:23px}.context-dock button{font-size:11px;min-height:68px;gap:6px;padding-inline:2px}.context-center{border-radius:24px;padding:4px}.context-center button{min-height:60px;border-radius:19px}.context-stories{width:54px;flex-shrink:0;border-radius:24px}.context-dock .icon{width:22px;height:22px}.owned-list{grid-template-columns:1fr}.owned-card{padding:18px}.sales-intro h1{font-size:1.9rem}.finds-categories{gap:8px}.finds-categories button{font-size:.625rem;padding:17px 3px;gap:11px;border-radius:19px}.finds-categories .icon{width:24px;height:24px}.finds-hero{padding:20px 0}.finds-hero h1{font-size:2rem}.hotel-card{grid-template-columns:1fr;padding:18px;gap:20px}.hotel-photo-placeholder{min-height:190px}.curation-wait{padding:24px}.community-design .market-card-meta{font-size:.6875rem}}
/* Final approved three-context navigation, design 7 only. */
.final-context.context-dock{align-items:center;gap:7px}.final-context .context-center{height:72px;min-height:72px;align-items:center;gap:2px;padding:3px;border-radius:27px}.final-context.context-dock button{height:66px;min-height:66px;font-size:12px;line-height:1.2;white-space:nowrap;border-radius:20px;flex:1;min-width:0;gap:6px;padding:6px 3px}.final-context.context-dock .context-parent{width:68px;flex:0 0 68px;height:72px;min-height:72px;border-radius:20px;background:#fffef7;color:#526d48;box-shadow:0 4px 15px #43553812}.final-context .context-center button.active{background:#e4ecd9}.community-design .bottom-dock.has-shop .bottom-nav{height:72px;padding:3px;align-items:center;border-radius:27px}.community-design .bottom-dock.has-shop .bottom-nav button{min-height:66px;height:66px;padding:5px 2px;border-radius:20px}.community-design .bottom-dock.has-shop .shop-launch{height:72px;min-height:72px;border-radius:20px;width:68px;padding:7px 3px}.product-card,.market-card{position:relative}.commerce-save{position:absolute;right:10px;top:10px;z-index:3;display:grid;place-items:center;width:36px;height:36px;border-radius:13px;background:#fffdf1ed;color:#667d55}.commerce-save .icon{width:20px;height:20px}.commerce-save.saved .icon{fill:#71865c}.market-exchange-wish{font-size:.75rem;line-height:1.45;padding:12px 12px 0;margin:0;color:#7c705e;overflow-wrap:anywhere}.market-exchange-wish strong{font-weight:600}.my-listings-link{display:block;margin:-3px 0 14px auto;font-size:.75rem;color:#526d48;padding:8px 0;text-decoration:underline}.community-design .market-feed-switch button{font-size:.75rem;padding-inline:3px}.listing-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.listing-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:170px;min-height:48px;font-size:.8125rem}.seller-share{margin-top:18px;max-width:330px;font-size:.8125rem;display:flex;gap:8px;align-items:center;justify-content:center}.demo-basket{display:flex;flex-direction:column;gap:14px;margin-bottom:22px}.basket-row{display:flex;align-items:center;gap:16px;border-radius:22px;background:#fffef8;padding:18px}.basket-row>img{width:78px;height:90px;object-fit:cover;border-radius:14px;background:#eeeade}.basket-row>div{flex:1;min-width:0}.basket-row h2{font-size:1rem;line-height:1.4;margin:0 0 8px}.basket-row strong{font-size:1rem;color:#526d48}.basket-row small{display:block;font-size:.6875rem;margin:6px 0;color:var(--muted)}.basket-row>div>button{display:block;font-size:.75rem;text-decoration:underline;color:#526d48;margin-top:8px;padding:6px 0}.basket-remove{flex-shrink:0;padding:8px;color:#7c8771}.basket-remove .icon{width:19px;height:19px}#demo-share-url{font-size:.75rem;overflow-wrap:anywhere}#owned-exchange-wish input{font-size:.875rem}
@media(max-width:650px){.final-context.context-dock{gap:6px}.final-context.context-dock .context-parent{width:58px;flex-basis:58px}.final-context.context-dock button{font-size:11px}.final-context .context-center{border-radius:25px}.community-design .bottom-dock.has-shop .shop-launch{width:62px}.market-exchange-wish{font-size:.6875rem;padding:10px 10px 0}.basket-row{gap:12px;padding:15px}.basket-row>img{width:65px;height:78px}.basket-row h2{font-size:.875rem}.listing-actions button{min-width:140px}}
@media(max-width:360px){.final-context.context-dock{left:6px;right:6px;gap:4px}.final-context.context-dock .context-parent{width:49px;flex-basis:49px}.final-context.context-dock button{font-size:11px;padding-inline:1px}.final-context .icon{width:21px;height:21px}.community-design .bottom-dock.has-shop .shop-launch{width:55px}.community-design .market-feed-switch button{font-size:.6875rem}.community-design .market-feed-switch b{margin-left:2px;padding-inline:5px}}
.owned-photo-picker{padding:0;margin:20px 0 22px}.photo-picker-title{display:block;font-size:.9375rem;font-weight:600;margin:0 0 12px}.photo-source-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}.photo-source{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;border:0;border-radius:22px;padding:21px 10px;min-height:140px;background:#e5edd9;color:#4f6b43;text-align:center}.photo-source-symbol{display:grid;place-items:center;width:51px;height:51px;border-radius:17px;background:#ffffff86;box-shadow:0 3px 8px #5b704708}.photo-source-symbol .icon{width:29px;height:29px;stroke-width:1.5}.photo-source strong{font-size:.875rem;line-height:1.3}.photo-source small{font-size:.6875rem;line-height:1.4;color:#7a876f}.photo-source.upload-source{background:#f2ebdf;color:#8c7659}.upload-source .photo-source-symbol{background:#fffaf1a3}.upload-source small{color:#95846e}.photo-source:hover{filter:brightness(.985)}.photo-source:active{transform:translateY(1px)}.photo-picker-status{font-size:.75rem;line-height:1.5;margin:12px 0 6px;color:#708061}.photo-picker-hint{font-size:.625rem;line-height:1.5;margin:0;color:#949a8b}.owned-photo-picker .owned-form-photo{max-height:210px;display:block;margin-top:15px;border-radius:20px}.photo-source:disabled{cursor:wait}
@media(max-width:650px){.photo-source-options{gap:10px}.photo-source{min-height:126px;padding:17px 6px;gap:8px;border-radius:20px}.photo-source strong{font-size:.75rem}.photo-source small{font-size:.625rem}.photo-source-symbol{width:45px;height:45px;border-radius:15px}.photo-source-symbol .icon{width:27px;height:27px}}
.plate-age-filters{gap:8px}.plate-name-link{display:inline-flex;align-items:center;gap:7px;text-align:left;padding:3px 0;font:inherit;font-weight:600;color:var(--olive);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.plate-name-link .icon{width:17px;height:17px}.plate-component>div{width:100%}.plate-component h3{margin:0;font-size:1rem;line-height:1.5}.linked-recipe-title{display:block;font-size:.6875rem;color:var(--muted);line-height:1.5;margin-top:6px}.plate-components>.footnote{margin:10px 0 5px}.linked-recipe-raw{font:inherit;font-size:.9375rem;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;margin:22px 0}.plate-cautions{padding:24px;border-radius:22px;background:#eef2e5;margin:26px 0 10px}.plate-cautions h2{line-height:1.4;margin:0 0 17px}.plate-cautions ul{list-style:none;padding:0;margin:0;display:grid;gap:17px}.plate-cautions li{position:relative;padding-left:25px;font-size:.875rem;line-height:1.65;color:#6c7961}.plate-cautions li:before{content:'✓';position:absolute;left:0;color:#6f8a59;font-weight:600}.plate-allergens{margin-top:30px}.shelf-switch{margin:5px 0 20px}.shelf-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:170px;background:#fffef8;border-radius:24px;color:#8a9580}.shelf-empty>.icon{width:32px;height:32px;stroke-width:1.2}.shelf-empty>p{font-size:.875rem;margin:0}
@media(max-width:650px){.plate-cautions{padding:21px 18px}.plate-age-filters .chip{font-size:.6875rem;padding:10px 13px}.finds-categories button span{line-height:1.4}}

/* Private, device-local cooking observations. */
.personal-note{margin:22px 0 30px;padding:20px;border:1px solid var(--line);border-radius:20px;background:color-mix(in srgb,var(--bg,#faf9f3) 72%,white)}
.personal-note-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.personal-note-heading h2{font-size:1.1rem;margin:0}.note-edit{display:inline-flex;align-items:center;gap:6px;color:var(--green,#526c44);font-weight:650;font-size:.88rem;min-height:44px;text-align:left}.note-edit .icon{width:17px;height:17px}
.personal-note-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:12px 0;font-size:1rem}.note-hint{font-size:.92rem;line-height:1.5;margin:8px 0;color:var(--muted)}.note-privacy{font-size:.78rem;line-height:1.5;color:var(--muted);margin:10px 0 0}
.mine-tabs button{min-width:0;font-size:.82rem;display:flex;align-items:center;justify-content:center;gap:4px;flex-wrap:wrap}.mine-tabs b{margin:0;white-space:nowrap}
.notes-collection{display:grid;gap:16px}.note-entry{padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--card,#fffefa);min-width:0}.note-entry-heading{display:flex;align-items:center;gap:14px}.note-entry-heading>div{min-width:0}.note-entry-heading img,.note-entry-icon{width:68px;height:76px;border-radius:14px;object-fit:cover;flex-shrink:0}.note-entry-icon{display:grid;place-items:center;background:#e8eddf}.note-entry-icon .icon{width:30px;height:30px}.note-entry h2{font-size:1.1rem;line-height:1.4;margin:4px 0 2px;overflow-wrap:anywhere}.note-entry h2 button{text-align:left;line-height:inherit;font:inherit;color:inherit}.note-entry h2 .icon{width:15px;height:15px;vertical-align:middle}.note-entry time{font-size:.76rem;color:var(--muted)}.note-excerpt{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:1rem;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;margin:16px 0 6px}.note-entry-title{font-weight:650;line-height:1.5}.note-delete{color:#9a4c3a;display:block;margin:12px auto 0;padding:10px;font-size:.85rem}.note-error{color:#9a4c3a;font-size:.88rem;line-height:1.5}#personal-note-text{font:inherit;font-size:1rem;line-height:1.6;min-height:155px;resize:vertical}#note-delete-confirm{padding:12px;margin-top:12px;border-radius:12px;background:#f6e8df}#note-delete-confirm p{font-size:.9rem;line-height:1.5;margin-top:0}
@media(max-width:360px){.note-entry,.personal-note{padding:16px}.mine-tabs button{font-size:.76rem;padding:10px 4px}.note-entry-heading{gap:10px}.note-entry-heading img,.note-entry-icon{width:54px;height:64px}}

.finds-categories button>span{max-width:100%;overflow-wrap:anywhere}

/* Keep the chosen store name intact in every compact navigation context. */
.final-context.context-dock .context-parent[data-value=market]{width:72px;flex-basis:72px}
.community-design .bottom-dock.has-shop .shop-launch{width:76px;flex:0 0 76px}

/* Device-local family profiles and quick age selection. */
.family-count{display:inline-grid;place-items:center;margin-left:5px;min-width:18px;height:18px;padding:0 4px;border-radius:7px;background:#e1e9d6;color:#4f6842;font-size:11px;vertical-align:middle}
.family-intro{font-size:1rem;line-height:1.5;color:var(--muted)}.family-profile-list{display:grid;gap:10px;margin:20px 0}.family-profile-row{display:flex;align-items:center;gap:4px;border:1px solid var(--line);border-radius:18px;padding:5px;background:#fffef8;min-width:0}.family-profile-row.selected{border-color:#9db18d;background:#edf2e5}.family-profile-choice{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:left;padding:10px 6px;min-height:64px}.family-initial{display:grid;place-items:center;width:38px;height:42px;flex-shrink:0;border-radius:14px;background:#e2ead7;color:#526c44;font-size:1.1rem}.family-profile-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.family-profile-copy strong{font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.family-profile-copy>span{font-size:.8rem;line-height:1.4;color:var(--muted)}.family-profile-choice>.icon{width:18px;height:18px;flex-shrink:0;color:#526c44}.family-profile-edit{flex-shrink:0;min-height:44px;padding:10px 7px;font-size:.8rem;color:#526c44}.family-add-button{display:flex;align-items:center;justify-content:center;gap:8px}.family-back{display:block;min-height:44px;color:#526c44;font-size:.9rem;margin:-5px 0 10px}.family-remove-cancel{margin-top:12px}
.family-switcher{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin:16px 0 14px}.family-switcher>button{min-height:44px;padding:10px 15px;border-radius:14px;border:1px solid var(--line);background:#fffef8;color:#526c44;font-size:.88rem;line-height:1.3;overflow-wrap:anywhere;max-width:100%}.family-switcher>button[aria-pressed=true]{background:#e3ecd8;border-color:#a5b993;font-weight:700}.family-switcher>.family-switch-add{width:44px;padding:10px;display:grid;place-items:center}.family-switch-add .icon{width:18px;height:18px}
@media(max-width:360px){.family-profile-choice{gap:8px;padding:9px 4px}.family-initial{width:31px;height:37px}.family-profile-edit{padding-inline:4px}.family-profile-copy strong{font-size:.93rem}.family-switcher>button{padding-inline:12px}}
.family-profile-edit{width:44px;min-width:44px;display:grid;place-items:center;padding:8px}.family-profile-edit .icon{width:19px;height:19px}

/* v2 nav fix: five equal items, one-line labels, room above the dock */
.app-shell{padding-bottom:calc(120px + max(env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px)))!important}
body .bottom-dock.has-shop{left:8px;right:8px;width:auto;gap:4px;align-items:stretch;bottom:max(8px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px))}
body .bottom-dock.has-shop .bottom-nav{flex:4 1 0;min-width:0}
body .bottom-dock.has-shop .bottom-nav button,body .bottom-dock.has-shop .shop-launch{min-height:64px;height:64px;padding:6px 1px;gap:4px;font-size:10.5px;line-height:1.2;justify-content:center}
body .bottom-dock.has-shop .shop-launch{flex:1 1 0;width:auto;min-width:0;border-radius:22px}
body .bottom-dock.has-shop .nav-label{white-space:nowrap;line-height:1.2;font-size:10.5px;letter-spacing:-.1px}
body .bottom-dock.has-shop .nav-symbol{width:30px;height:30px}
body .bottom-dock.has-shop .nav-symbol .icon,body .bottom-dock.has-shop .shop-launch .icon{width:22px;height:22px}
body .bottom-dock.has-shop .bottom-nav button,body .bottom-dock.has-shop .shop-launch{min-height:64px!important;height:64px!important;padding:6px 1px!important;box-sizing:border-box}
body .bottom-dock.has-shop .bottom-nav{flex:4 1 0!important;width:auto!important;padding:4px 3px!important;height:64px!important;box-sizing:border-box;align-items:stretch}
body .bottom-dock.has-shop .shop-launch{flex:1 1 0!important;width:auto!important;border-radius:22px!important}

/* v2: allergen filter, recipe note, plate texts */
.allergen-filter{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0 4px}
.allergen-filter-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 14px;border-radius:22px}
.allergen-filter-btn.active{background:#e4ecd9;color:#3f5a35;border-color:#b9cba6}
.allergen-filter-note{margin:0;font-size:.8125rem;color:var(--muted)}
.link-btn{background:none;border:0;padding:0 4px;color:var(--olive);text-decoration:underline;font:inherit;min-height:32px}
.allergen-list{max-height:48vh;overflow:auto;margin:12px 0;display:grid;gap:2px}
.allergen-option{display:flex;align-items:center;gap:10px;min-height:44px;padding:4px 6px;border-radius:12px}
.allergen-option[hidden]{display:none}
.allergen-option input{width:22px;height:22px;flex:none}
.allergen-line{margin:0;font-weight:700;line-height:1.45}
.recipe-note{margin:18px 0;padding:14px 16px;border-radius:18px;background:#f3f1e8;border:1px solid var(--line)}
.recipe-note p{margin:0;font-size:.9375rem;line-height:1.5;font-weight:600}
.plate-principles{list-style:none;margin:16px 0;padding:14px 16px;border-radius:18px;background:#f3f1e8;display:grid;gap:10px;line-height:1.5;font-size:.9375rem}
.plate-age{font-weight:700;font-size:1rem}
.allergen-list .allergen-option{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px;min-height:44px;margin:0;padding:4px 6px}
.allergen-list .allergen-option span{font-size:1rem}
.allergen-list .allergen-option input{margin:0}
.allergen-list .allergen-option[hidden]{display:none!important}
.allergen-option-note{margin:0 0 6px 34px;font-size:.875rem;line-height:1.4;color:#5b6b52}
.allergen-option.is-empty span{color:#5b6b52}
.allergen-option.is-empty input{cursor:not-allowed}
.allergen-option-empty{margin-top:-2px}
.plate-more{grid-column:1/-1}

/* v2: prominent allergen filter */
.allergen-filter{display:grid;gap:8px;margin:12px 0 6px}
.allergen-filter .allergen-filter-btn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 16px;border-radius:18px;background:#fffef8;border:1.5px solid #b9cba6;color:#3f5a35;font-weight:700;font-size:1rem;text-align:left;box-shadow:0 3px 10px #3e51341a}
.allergen-filter .allergen-filter-btn span{flex:1}
.allergen-filter .allergen-filter-btn small{font-weight:600;font-size:.8125rem;color:var(--olive)}
.allergen-filter .allergen-filter-btn.active{background:#e4ecd9;border-color:#6f8c5a}
.allergen-chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.allergen-chip{min-height:36px;padding:6px 12px;border-radius:18px;background:#526d48;color:#fffef8;border:0;font-weight:600;font-size:.875rem}
/* v2: compact hero so search and recipes are visible on the first screen */
.steel-design .steel-hero{padding:16px 18px!important;min-height:0!important;margin-bottom:12px}
.steel-design .steel-hero .steel-name,.steel-design .steel-hero .steel-name.no-child{font-size:1.75rem!important;margin:2px 0 4px}
.steel-hero .steel-wish,.steel-hero .steel-age,.steel-greeting-art{display:none!important}
.steel-hero .steel-kicker{font-size:.625rem;margin:0}
.steel-profile-link{margin-top:6px!important;padding-top:6px!important}
.allergen-hint{display:inline-flex;align-items:center;gap:6px;margin:8px 0 2px;min-height:36px;padding:6px 12px;border-radius:18px;background:#e4ecd9;color:#3f5a35;border:1px solid #b9cba6;font-weight:600;font-size:.875rem}
.allergen-profile{border:1px solid var(--line);border-radius:16px;padding:10px 12px;margin:12px 0}
.allergen-profile legend{font-weight:700;padding:0 6px}
.allergen-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;min-height:44px}
.allergen-toggle input{width:22px;height:22px;flex:none;margin:0}
.allergen-profile .allergen-list{max-height:none}
.allergen-profile .allergen-list[hidden]{display:none}
.allergen-hint{display:inline-flex;align-items:center;gap:6px;margin:8px 0 2px;min-height:36px;padding:6px 12px;border-radius:18px;background:#e4ecd9;color:#3f5a35;border:1px solid #b9cba6;font-weight:600;font-size:.875rem}
.allergen-profile{border:1px solid var(--line);border-radius:16px;padding:10px 12px;margin:12px 0}
.allergen-profile legend{font-weight:700;padding:0 6px}
.allergen-toggle{display:flex!important;flex-direction:row!important;align-items:center;gap:10px;min-height:44px}
.allergen-toggle input{width:22px;height:22px;flex:none;margin:0}
.allergen-profile .allergen-list[hidden]{display:none}

/* v2 stage A */
.dev-banner{display:flex;flex-direction:column;gap:2px;margin:8px 0 12px;padding:12px 14px;border-radius:16px;background:#f6efd9;border:1px solid #e3d6a8;color:#5c4d1c;font-size:.875rem}
.dev-banner strong{font-size:1rem}
html:not([data-dev]) [data-action=resale-edit]{display:none!important}
.card-meta{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0 0}
.card-cat{font-size:.75rem;font-weight:700;color:var(--olive);background:#e8eddd;border-radius:10px;padding:2px 8px}
.cooked-mark{font-size:.75rem;font-weight:700;color:#7a5b1d;background:#f6efd9;border-radius:10px;padding:2px 8px}
.detail-actions{flex-wrap:wrap}
.cooked-btn.on{background:#e4ecd9;border-color:#6f8c5a;color:#3f5a35}
.insta-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:20px 0;min-height:52px;border-radius:18px;background:linear-gradient(135deg,#f6e7d6,#eddcf0);color:#5b3b63;font-weight:700;text-decoration:none}
.insta-link .icon{width:22px;height:22px}
.method ol{padding-left:0;list-style:none;counter-reset:step;display:grid;gap:8px}
.method li{counter-increment:step;display:grid;grid-template-columns:36px 1fr;gap:10px;align-items:start;margin:0;padding:0;line-height:1.5}
.method li:before{content:counter(step);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e4ecd9;color:#3f5a35;font-weight:800;font-size:1.0625rem}
.katya-note p{font-size:1.0625rem;line-height:1.6}
.title-count{font-size:1rem!important;min-width:0!important;width:auto!important;height:auto!important;padding:4px 12px!important;border-radius:14px!important;display:inline-block;vertical-align:middle;white-space:nowrap}
.plate-recipes{margin:16px 0}.plate-recipes h2{margin:0 0 8px}
.plate-recipe-link{display:flex!important;align-items:center;justify-content:space-between;gap:8px;text-align:left}
.method ol li{position:relative!important;display:block!important;padding:2px 0 2px 46px!important;margin:0 0 10px!important;min-height:34px;font-size:1.0625rem;line-height:1.55}
.method ol li:before{position:absolute!important;left:0!important;top:0!important;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e4ecd9;color:#3f5a35;font-weight:800;font-size:1.0625rem;content:counter(step)}
.method ol{display:block!important}

/* v2 menu planner */
.menu-days{margin:8px 0 12px}
.menu-slot-block{background:#fffef8;border:1px solid var(--line);border-radius:18px;padding:12px 14px;margin:0 0 12px}
.menu-slot-head{display:flex;justify-content:space-between;align-items:center}
.menu-slot-head h2{margin:0;font-size:1.125rem}
.menu-add{min-height:44px;padding:6px 14px;border-radius:20px;border:1px solid #b9cba6;background:#e8eddd;color:#3f5a35;font-weight:700}
.menu-empty{margin:6px 0 2px;color:var(--muted);font-size:.9375rem}
.menu-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid var(--line)}
.menu-item img,.menu-thumb{width:48px;height:48px;border-radius:12px;object-fit:cover;flex:none;background:#e8eddd;display:grid;place-items:center}
.menu-title{flex:1;min-width:0;text-align:left;background:none;border:0;padding:4px;font-weight:700;font-size:.9375rem;line-height:1.3}
.menu-small{min-height:44px;min-width:44px;padding:4px 8px;border-radius:12px;border:1px solid var(--line);background:#fff;font-size:.8125rem;color:var(--olive);font-weight:700}
.menu-slot-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
.menu-slot,.menu-pick{min-height:56px;border-radius:16px;border:1.5px solid #b9cba6;background:#fffef8;font-weight:700;font-size:1rem;color:#3f5a35}
.menu-slot.on,.menu-pick.on{background:#526d48;color:#fffef8;border-color:#526d48}
.menu-pick-list{display:grid;gap:8px;margin:10px 0;max-height:44vh;overflow:auto}
.menu-pick{text-align:left;padding:8px 14px;min-height:48px;font-size:.9375rem}
.menu-dish{font-weight:700;margin:0 0 8px}
.menu-btn{flex:1 1 100%}
.legal-links{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:center;margin:28px 0 8px;font-size:.875rem;color:var(--muted)}
.legal-links a,.legal-links .link-btn{color:var(--olive)}
.about-offer{display:flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;margin:12px 0}
.about-important{margin:14px 0 4px;font-size:1rem}.about-list{padding-left:1.1em;margin:4px 0;font-size:.9375rem;line-height:1.5}.about-list li{margin:4px 0}
.sub-card{margin:12px 0;padding:16px;border-radius:18px;background:#fff;border:1px solid #e5e4d9}.sub-card h2{margin:4px 0;font-size:1.125rem}.sub-card p{margin:4px 0 10px;color:#5b6153}.sub-actions{display:flex;gap:8px;flex-wrap:wrap}.sub-actions button{flex:1 1 140px}
.plan-list{display:grid;gap:10px;margin:12px 0}.plan-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:2px 10px;text-align:left;padding:14px;border-radius:16px;border:1.5px solid #dcdacb;background:#fff;font:inherit;cursor:pointer}.plan-card.best{border-color:#586b49;background:#f4f7ee}.plan-card strong{font-size:1rem}.plan-price{font-size:1.25rem;font-weight:700;text-align:right}.plan-per{color:#6b7160;font-size:.8125rem}.plan-card small{grid-column:1/-1;color:#3f5230;font-weight:600}.plan-badge{grid-column:1/-1;font-size:.75rem;color:#3f5230;font-weight:600}
.search-left{margin:6px 4px 0;font-size:.8125rem;color:#6b7160}.trial-limit .primary{margin-top:8px}
.offer-check{display:flex;gap:10px;align-items:flex-start;margin:12px 0;font-size:.9375rem;line-height:1.4}.offer-check input{width:22px;height:22px;flex:none;margin-top:1px}

/* batch A: compact ingredients, missing-amount hint, compact shopping list */
.ingredients .ingredient.ing-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 8px;line-height:1.3;font-size:1rem;border-bottom:0;border-radius:8px;cursor:pointer;-webkit-tap-highlight-color:transparent;min-height:34px}
.ingredients .ingredient.ing-row:nth-of-type(even){background:#5865490d}
.ingredients .ingredient.ing-row>span.ing-name{max-width:none;flex:1;min-width:0;display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}
.ingredients .ingredient.ing-row>strong{max-width:45%;flex:none;text-align:right;font-size:.9375rem;font-weight:600;color:var(--ink)}
.ing-box{flex:none;width:18px;height:18px;border:1.5px solid #bdc5af;border-radius:5px;display:grid;place-items:center;color:transparent;background:#fff}
.ing-box .icon{width:12px;height:12px}
.ing-row.done .ing-box{background:var(--olive);border-color:var(--olive);color:#fff}
.ing-row.done .ing-name,.ing-row.done>strong{text-decoration:line-through;color:#8a907d}
.missing-amount{background:#fdebd0;color:#9a5b12!important;border-radius:6px;padding:1px 7px;font-weight:700}
.ing-row>strong.missing-amount{text-decoration:none!important}
.shopping-row,.volume-design .shopping-row{align-items:flex-start;gap:10px;padding:8px 0;margin:0;border-radius:0;box-shadow:none;border:0;border-bottom:1px solid var(--line);background:transparent}
.shopping-items{margin:10px 0}
.shopping-row .buy-check{min-width:22px;width:22px;height:22px;border-radius:6px;margin-top:1px}
.shopping-row .buy-check .icon{width:13px;height:13px}
.shop-line{display:flex;align-items:baseline;gap:8px;flex-wrap:nowrap}
.shop-line h3{flex:1;min-width:0;margin:0;font-size:1rem;line-height:1.3;overflow-wrap:anywhere}
.shop-amount{flex:none;max-width:40%;text-align:right;font-size:.9rem;color:var(--muted);line-height:1.3}
.shop-edit{flex:none;font-size:.8125rem;color:var(--olive);text-decoration:underline;padding:4px 2px;min-height:28px}
.shop-sub{display:flex;align-items:center;gap:10px}
.shop-sub small{font-size:.75rem;line-height:1.3;color:var(--muted)}
.shopping-row.muted .shop-line h3{text-decoration:line-through;color:#8a907d}
.shopping-row.muted .shop-amount{color:#a0a595}
.shopping-row .shop-line h3{font-size:1rem!important;font-weight:600!important;line-height:1.3!important}
.shop-line .shop-amount{white-space:nowrap;font-size:.875rem!important;font-weight:500;margin:0 0 0 auto;max-width:none;text-align:right}
.shop-line .shop-amount.missing-amount{font-size:.8125rem!important;font-weight:700;padding:1px 6px}
.shop-line h3{flex:1 1 0}

/* v2 batch B */
.profile-button{font-size:1.0625rem;font-weight:800;max-width:132px}
@media(max-width:650px){.profile-button{font-size:1rem;max-width:118px}}
.volume-hero-copy button{font-size:1.125rem;font-weight:800}
.child-panel h2.child-name{font-size:1.75rem;font-weight:800;line-height:1.2;margin:4px 0 2px}
.child-panel p.child-age{font-size:.8125rem;color:#64715b}
.allergen-chip .icon{width:15px;height:15px;vertical-align:-2px}
.allergen-banner{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin:6px 0 14px;padding:10px 14px;border-radius:14px;background:#fdf0d8;border:1px solid #ecc983;color:#6b4a0f;font-size:.9375rem;font-weight:600}
.allergen-banner .icon{width:16px;height:16px;vertical-align:-3px}
.allergen-banner button{font-weight:700;color:#3f5a35;text-decoration:underline;text-underline-offset:3px;min-height:32px;padding:0 2px}
.empty .secondary{margin-top:12px}
.personal-note{margin:14px 0 18px;padding:10px 14px;border-radius:16px}
.personal-note-heading h2{font-size:1rem;font-weight:700}
.personal-note-heading h2 small{font-size:.75rem;font-weight:500;color:var(--muted)}
.personal-note-heading .note-edit{min-height:36px}
.personal-note .note-hint{margin:2px 0 0;font-size:.875rem}
.personal-note .personal-note-text{margin:6px 0 2px}
#personal-note-form{display:grid;gap:8px}
#personal-note-form textarea{min-height:0}
#personal-note-form .note-privacy{margin:0;font-size:.75rem}
.plate-components{margin:18px 0}
.plate-component{padding:6px 0;gap:6px}
.plate-component h3{margin:0;font-size:1rem;line-height:1.3}
.plate-component .plate-name-link{padding:0}
.plate-component .linked-recipe-title{display:block;font-size:.8125rem;line-height:1.3;color:var(--muted)}
.sub-card{max-width:420px;padding:12px 14px;margin:10px 0;border-radius:16px}
.sub-card .eyebrow{font-size:.625rem}
.sub-card h2{font-size:1rem;margin:2px 0 4px}
.sub-actions{gap:6px}
.sub-cancel-link{font-size:.8125rem;color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:6px 0;min-height:32px}
.cancel-reasons{border:0;padding:0;margin:8px 0}
.cancel-reason{display:flex;align-items:center;gap:10px;padding:8px 0;font-size:1rem}
.cancel-reason input{width:20px;height:20px;flex:none}
.cancel-comment-label small{color:var(--muted)}
#cancel-comment{width:100%;margin:6px 0 10px}
#cancel-next:disabled{opacity:.45}
.beta-badge{display:inline-block;vertical-align:middle;font-style:normal;font-size:.6875rem;font-weight:700;letter-spacing:.3px;padding:2px 8px;border-radius:10px;background:#f3e3b8;color:#6b4a0f;letter-spacing:0}
.beta-note{font-size:.8125rem;color:var(--muted);margin:0 0 8px}
.wish-cart{margin-top:8px;width:100%}
.allergen-row{margin:-6px 0 12px}.allergen-row .chip{display:inline-flex;align-items:center;gap:6px}
.allergen-row .chip{color:#3f5a35}.allergen-row .chip.active{background:#506c48;color:#fffff7;border-color:#66815d}
.allergen-banner{flex-wrap:nowrap;font-size:.8125rem;padding:9px 12px;gap:5px}.allergen-banner button{white-space:nowrap;font-size:.8125rem}
/* batch C */
.ingredients .section-heading{margin-bottom:2px}
.ingredients .section-heading+.footnote,.method .footnote{margin:0 0 6px;font-size:.875rem;line-height:1.4}
.method h2{margin-bottom:2px}
.ingredients{padding-top:0}
.method ol li.step-row{cursor:pointer;-webkit-tap-highlight-color:transparent;border-radius:12px;padding:6px 6px 6px 50px!important;margin:0 0 4px!important;min-height:44px}
.method ol li.step-row:before{content:none!important}
.method .step-num{position:absolute;left:6px;top:6px;display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e4ecd9;color:#3f5a35;font-weight:800;font-size:1.0625rem}
.method li.step-row.done .step-num{background:#b9d3a6;color:#27421f;box-shadow:inset 0 0 0 2px #6f9a5a}
.method li.step-row.done .step-text{text-decoration:line-through;color:#8a907d}
.katya-note{padding:12px 16px;margin:18px 0}
.katya-note .eyebrow{margin-bottom:4px;display:block}
.katya-note p{font-size:1rem!important;line-height:1.5;margin:0}
.card-cat{font-size:.875rem;color:#3f5a35;padding:3px 10px}
.card-time{font-size:.9375rem;color:#4d5745}
.card-meta{font-size:.9375rem;color:#4d5745}
.cooked-mark{font-size:.875rem}
.recipe-card .favorite.fav-corner{top:auto;bottom:10px;right:12px;width:44px;height:44px}
.allergen-hint{background:#eef3e6;border-radius:12px;padding:10px 12px;margin:0 0 10px;font-size:.9375rem;font-weight:600;color:#3f5a35}
.allergen-profile legend{font-size:1.0625rem}

/* block D */
.status-chip{min-height:44px;padding:8px 11px;border:1px solid #e3d9b3;border-radius:12px;background:#fff8dc;color:#6b5a1e;font-size:.8125rem;font-weight:800;white-space:nowrap;flex:none}
.status-chip.active{background:#edf1e4;border-color:#d5ddc7;color:var(--olive)}
.header-actions{min-width:0}
@media(max-width:380px){.status-chip{padding-inline:8px;font-size:.75rem}.profile-button{max-width:96px}}
.settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:52px;margin:22px 0 0;padding:12px 16px;border:1px solid var(--line);border-radius:16px;background:#fffefb;color:var(--ink);font-weight:700;text-align:left}
.settings-row .icon{width:18px;height:18px;color:var(--muted)}
.settings-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.settings-item{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 14px;border:1px solid var(--line);border-radius:14px;background:#fffefb;color:var(--ink);font-weight:600;text-align:left;text-decoration:none;width:100%}
.settings-item .icon{width:18px;height:18px;color:var(--muted);flex:none}
.settings-check{justify-content:flex-start;cursor:pointer}.settings-check input{width:22px;height:22px;flex:none}
.sub-card .sub-continue{width:100%;min-height:48px;font-size:1rem}
.sub-card .sub-actions{margin-top:10px}
.steel-hero .steel-kicker{text-transform:none;letter-spacing:.2px;font-size:.875rem;font-weight:700;color:#5f7254}
/* shopping rows: fixed 4-column grid */
.shopping-row,.volume-design .shopping-row{display:grid;grid-template-columns:22px minmax(0,1fr) auto 64px;column-gap:10px;row-gap:2px;align-items:baseline}
.shopping-row .shopping-content,.shopping-row .shop-line{display:contents}
.shopping-row .buy-check{grid-column:1;grid-row:1;align-self:center;margin:0}
.shopping-row .shop-line h3{grid-column:2;grid-row:1}
.shopping-row .shop-line .shop-amount{grid-column:3;grid-row:1;justify-self:end;text-align:right;min-width:4.5rem;max-width:11rem;white-space:normal;margin:0}
.shopping-row .shop-line .shop-edit{grid-column:4;grid-row:1;justify-self:end;width:64px;text-align:right}
.shopping-row .shop-sub{grid-column:2 / 5;grid-row:2}
/* equal-height cards */
.recipe-grid,.product-grid,.market-grid{align-items:stretch}
.recipe-card,.product-card,.market-card{display:flex;flex-direction:column;height:100%}
.recipe-card>.card-body,.product-card>.product-body,.market-card>.market-card-body{flex:1 1 auto}
.card-image{flex:none}
.product-body .product-price{margin-top:auto}
.market-card-body .market-card-seller{margin-top:auto}
/* grid toggle */
.grid-toggle{display:inline-flex;gap:4px;margin-left:auto}
.grid-toggle button{width:36px;height:36px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px;background:#fffefb;color:var(--muted)}
.grid-toggle button[aria-pressed=true]{background:#e8eddd;color:var(--olive);border-color:#cbd6bb}
.grid-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}
.recipe-grid.grid-cols-1,.product-grid.grid-cols-1,.market-grid.grid-cols-1{grid-template-columns:minmax(0,1fr)!important}
.settings-row>span{word-spacing:.3em}
.settings-item.settings-check{flex-direction:row;align-items:center;justify-content:flex-start;gap:12px}.settings-check input{margin:0}
#editor .settings-item.settings-check{display:flex!important}#editor .settings-check input{display:inline-block;width:22px;flex:none}

/* block E */
.seasonal-block,.seasonal-card{margin:0 0 14px;padding:12px 14px;border-radius:20px;background:linear-gradient(135deg,#fffaf0,#f4ead6);border:1px solid #ecdfc4}
.seasonal-row{display:flex;align-items:center;gap:12px}
.seasonal-row>div,.seasonal-card>div{flex:1;min-width:0}
.seasonal-row strong,.seasonal-card strong{display:block;font-size:1rem;line-height:1.35;overflow-wrap:anywhere}
.seasonal-row small{color:#7b6c52;font-size:.8125rem}
.seasonal-card p{margin:3px 0 0;font-size:.875rem;line-height:1.5;color:#72644f}
.seasonal-emoji{font-size:1.7rem;line-height:1;flex:none}
.seasonal-block .secondary,.seasonal-card .secondary{flex:none;min-height:44px;padding:8px 14px;font-size:.875rem;white-space:nowrap}
.seasonal-chips{display:flex;gap:8px;overflow-x:auto;margin:10px -14px 0;padding:2px 14px 4px;scrollbar-width:none}
.seasonal-chips::-webkit-scrollbar{display:none}
.seasonal-chips button{flex:none;min-height:36px;padding:6px 14px;border-radius:999px;border:1px solid #e3d5b6;background:#fffdf7;color:#5b5036;font:inherit;font-size:.875rem;font-weight:600}
.seasonal-card{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.seasonal-card .secondary{margin-left:auto}
.beta-badge{display:inline-block;vertical-align:middle;margin-left:4px;padding:2px 8px;border-radius:999px;background:#e8eddd;color:#4c6340;font-size:.6875rem;font-weight:800;letter-spacing:.3px;text-transform:uppercase}
.suggest-btn{margin:0 0 14px}
.suggest-list{display:grid;gap:10px;margin:12px 0}
.suggest-text{display:flex;flex-direction:column;min-width:0}
.suggest-text small{color:var(--muted);font-size:.75rem}
.suggest-text strong{font-size:.9375rem;line-height:1.35;overflow-wrap:anywhere}
.feedback-reply{margin:6px 0 14px}
#feedback-form textarea{width:100%;min-height:130px;resize:vertical;font:inherit;padding:12px;border-radius:14px;border:1px solid var(--line)}
/* holidays: a light accent only */
body{--fest:none;--fest-line:transparent}
body.holiday-newyear{--fest:'🎄 ✨ 🎄';--fest-line:#cfe3c4}
body.holiday-christmas{--fest:'⭐ 🎄 ⭐';--fest-line:#e8d9a8}
body.holiday-nicholas{--fest:'🎁 ✨ 🎁';--fest-line:#e3c9c9}
body.holiday-easter{--fest:'🐣 🌷 🐣';--fest-line:#e9dfae}
body.holiday-mothers{--fest:'💐 🤍 💐';--fest-line:#ecd0d6}
body.holiday-children{--fest:'🎈 🌈 🎈';--fest-line:#cfdcec}
body[class*="holiday-"] .steel-hero{border-color:var(--fest-line)}
body[class*="holiday-"] .steel-hero::after{content:var(--fest);position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:.875rem;letter-spacing:6px;opacity:.85;pointer-events:none}
body[class*="holiday-"] .holiday-block{border-color:var(--fest-line)}
/* birthday */
.birthday-hero .steel-name{overflow-wrap:anywhere}
.birthday-garland{position:absolute;top:8px;left:50%;transform:translateX(-50%);font-size:.9375rem;letter-spacing:4px;pointer-events:none;z-index:1}
.confetti{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.confetti:not(.run){display:none}
.confetti i{position:absolute;top:-14px;left:var(--x);width:8px;height:12px;border-radius:2px;opacity:0;transform:rotate(var(--r));background:hsl(calc(var(--c)*60 + 10) 75% 62%)}
.confetti.run i{animation:confetti-fall 3.6s ease-in forwards;animation-delay:calc(var(--d) + var(--elapsed))}
@keyframes confetti-fall{0%{opacity:1;transform:translateY(0) rotate(var(--r))}85%{opacity:1}100%{opacity:0;transform:translateY(260px) rotate(calc(var(--r) + 540deg))}}
@media (prefers-reduced-motion:reduce){.confetti.run i{animation:none;opacity:.7;top:calc(10px + var(--c)*28px)}}
.steel-design .steel-hero.birthday-hero{padding-top:38px!important}

/* note block v3 */
.personal-note{margin:12px 0 16px!important;padding:10px 14px!important}
.personal-note.is-empty{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:8px 14px!important}
.personal-note.is-empty .note-edit{min-height:36px}
.personal-note .note-caption{margin:0;font-size:.9375rem;font-weight:700}
.personal-note .note-caption small{font-size:.75rem;font-weight:500;color:var(--muted)}
.personal-note.is-empty .note-caption{font-weight:600;font-size:.875rem;color:var(--muted)}
.personal-note.is-filled .personal-note-text{margin:8px 0 2px!important;font-size:1rem;line-height:1.55}
.personal-note-text.is-clamped{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
.note-more{background:none;border:0;padding:6px 0;color:var(--olive,#5b6b3a);font:inherit;font-size:.875rem;font-weight:700;cursor:pointer}
.personal-note .note-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}
.personal-note .note-actions .note-edit{min-height:36px}
/* katya note label */
.katya-note .eyebrow{font-size:1.0625rem!important;font-weight:700;letter-spacing:0!important;text-transform:none!important;color:#7a6243;margin-bottom:6px}
/* cancel dialog compact */
#cancel-form .dialog-heading h2{font-size:1.25rem!important;line-height:1.25;margin:0}
#cancel-form .dialog-heading{margin-bottom:6px}
#cancel-form .cancel-reasons{margin:4px 0 8px!important}
#cancel-form label.cancel-reason{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:9px 0!important;margin:0!important;font-size:1rem!important;line-height:1.3}
#cancel-form label.cancel-reason input{width:22px!important;height:22px!important;margin:0!important;flex:none}
#cancel-form label.cancel-reason span{display:inline!important}
#cancel-form .cancel-comment-label{display:block;margin:8px 0 4px;font-size:.9375rem}
#cancel-form #cancel-comment{min-height:0;height:76px;font-size:1rem}
#cancel-form .sub-actions{margin-top:8px}
/* one eyebrow size on all first-screen headers */
.page-title .eyebrow,.welcome .eyebrow,.finds-hero .eyebrow,.shop-intro .eyebrow,.child-panel .eyebrow,.birthday-notice .eyebrow,.sub-card .eyebrow,.market-hero .eyebrow,.volume-hero .eyebrow,.volume-kicker,.notes-collection .eyebrow,.mine-hero .eyebrow,.hero .eyebrow,section>.eyebrow:first-child{font-size:.8125rem!important;letter-spacing:1.2px!important;line-height:1.4}
.katya-note .eyebrow,.card-body .eyebrow{letter-spacing:revert}
.katya-note .eyebrow{font-size:1.0625rem!important}
/* settings gear in Моє */
.mine-title{position:relative}
.settings-gear{position:absolute;top:0;right:0;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fffdf6;border:1px solid var(--line,#e3e6d8);color:var(--olive,#5b6b3a);box-shadow:0 2px 8px #3b4a2a14}
.settings-gear svg{width:22px;height:22px}
/* card: category on photo (bottom-left), quick plan button */
.recipe-card .card-image{position:relative}
.recipe-card .card-cat.on-photo{position:absolute;left:10px;bottom:10px;z-index:2;max-width:calc(100% - 76px);background:#fffdf6ee;color:#3f5a35;border-radius:12px;padding:4px 10px;font-size:.875rem;font-weight:700;line-height:1.3;box-shadow:0 2px 8px #2b3a1f1f;pointer-events:none}
.recipe-card .card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}
.recipe-card .card-foot .card-time{margin:0}
.recipe-card .quick-plan{flex:none;min-height:36px;padding:6px 12px;border-radius:12px;border:1.5px solid var(--olive,#5b6b3a);background:transparent;color:var(--olive,#5b6b3a);font:inherit;font-size:.875rem;font-weight:700;white-space:nowrap;cursor:pointer}
.recipe-card .quick-plan.on{background:var(--olive,#5b6b3a);color:#fff}
.recipe-card .card-meta{margin:4px 0 0}
.recipe-card .card-foot{flex-direction:column;align-items:stretch;gap:8px}
.recipe-card .card-foot .card-time{white-space:nowrap}
.recipe-card .quick-plan{width:100%;min-width:0;padding:7px 8px}
.recipe-card .card-foot>span{display:none}
.grid-cols-1 .recipe-card .card-foot{flex-direction:row;align-items:center;justify-content:space-between}
.grid-cols-1 .recipe-card .quick-plan{width:auto;padding:7px 16px}
.recipe-card{display:flex;flex-direction:column}
.recipe-card .card-body{display:flex;flex-direction:column;flex:1}
.recipe-card .card-foot{margin-top:auto;padding-top:8px}

/* block F */
.plate-age-filters .chip,.plate-age-filters .chip:first-child{font-size:1rem;padding:10px 18px;min-height:40px}
@media(max-width:650px){.plate-age-filters .chip{font-size:1rem;padding:10px 16px;min-height:40px}}
.plate-age-filters{gap:10px}
.shop-link{display:inline-block;margin:-4px 0 10px;padding:4px 0;font-size:.9375rem;font-weight:700;color:var(--olive);background:none;border:0;text-decoration:underline;text-underline-offset:3px}
.menu-hint{display:flex;align-items:center;gap:2px;margin:-4px 0 12px}
.menu-hint .link-btn{font-size:.9375rem;font-weight:600;color:var(--olive);text-decoration:underline;text-underline-offset:3px;padding:6px 0}
.menu-hint-x{border:0;background:none;color:var(--muted);font-size:1.25rem;line-height:1;min-width:36px;min-height:36px;cursor:pointer}
.detail-actions .menu-btn.on{background:var(--accent);color:var(--olive)}
.detail-actions .plan-btn.on{background:var(--accent);color:var(--olive)}
.menu-slot-chips{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.menu-slot-chips .chip{min-height:40px}
.menu-date{width:100%;margin-top:10px;font:inherit;font-size:1rem;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:#fff}
.menu-now{margin:0 0 12px;padding:10px 12px;background:var(--accent);border-radius:12px}
.menu-now small{display:block;color:var(--muted);margin-bottom:4px}
.menu-now-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 0}
.menu-days button{white-space:nowrap;padding-left:10px;padding-right:10px}
/* child switch from home banner */
.steel-name-btn{all:unset;cursor:pointer;display:inline-flex;align-items:baseline;gap:8px;font:inherit;color:inherit;letter-spacing:inherit;-webkit-tap-highlight-color:transparent}
.steel-name-btn:focus-visible{outline:2px solid var(--olive,#5b6b3a);outline-offset:4px;border-radius:8px}
.steel-name-btn .name-caret{font-size:.5em;opacity:.7;transform:translateY(-.15em)}
.profile-button.on-home{display:none}

/* block G: compact quick-plan */
.recipe-card .card-foot,.grid-cols-1 .recipe-card .card-foot{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px;margin-top:0!important;padding-top:0!important}
.recipe-card .card-foot>span{display:block}
.recipe-card .card-body{gap:4px}
.recipe-card .quick-plan,.grid-cols-1 .recipe-card .quick-plan{width:36px!important;height:36px;min-height:36px;padding:0!important;border-radius:50%;font-size:1.25rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}

/* block G: birthday compact + tune */
.birthday-notice.compact{display:flex;align-items:center;gap:8px;padding:8px 14px;margin:0 0 10px;font-size:.875rem;line-height:1.4}
.birthday-notice.compact strong{font-weight:700;color:#7a5a38}
.birthday-tune{margin-top:10px;min-height:36px;padding:6px 14px;border-radius:12px;border:1.5px solid #c9a97a;background:transparent;color:#7a5a38;font:inherit;font-size:.875rem;font-weight:700}

/* block G: heart on detail photo, bottom-right */
.detail-photo-wrap{position:relative}
.detail-photo-wrap .favorite.fav-corner{position:absolute;top:auto;bottom:12px;right:12px;width:44px;height:44px;z-index:2}
/* block G: compact child form */
#child-form{display:flex;flex-direction:column;gap:10px}
#child-form p,#child-form label,#child-form fieldset{line-height:1.4!important;margin:0!important}
#child-form label{display:flex!important;flex-direction:column;gap:5px}
#child-form input[type=text],#child-form input:not([type=checkbox]){width:100%;max-width:100%;min-width:0;box-sizing:border-box;margin:0}
#child-form input[type=date]{display:block;-webkit-appearance:none;appearance:none;min-height:46px;text-align:left}
#child-form fieldset{padding:10px 12px!important;display:flex;flex-direction:column;gap:8px}
#child-form fieldset legend{padding:0 6px}
#child-form .settings-check,#child-form .settings-check span{line-height:1.35!important}
#child-form .allergen-hint,#child-form .allergen-note,#child-form fieldset p{padding:8px 10px;font-size:.875rem;line-height:1.4}
#child-form .birthday-auto-note{font-size:.8125rem;line-height:1.4}
#child-form .dialog-heading{margin-bottom:0}
/* block G: recipe detail header compact */
.detail>.eyebrow{display:block;font-size:.9375rem!important;line-height:1.3;margin:14px 0 0!important}
.detail>h1{margin:4px 0 6px!important;line-height:1.15}
.detail>.detail-time,.detail>.age-detail{margin:0 0 10px!important;line-height:1.3}
.detail .detail-actions{margin-top:10px!important}
.birthday-tune{width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;font-size:1.25rem;line-height:1;display:inline-flex;align-items:center;justify-content:center}

/* block G2 */
.birthday-notice:not(.compact) .birthday-tune{position:absolute;right:16px;bottom:14px;margin:0}
.birthday-notice:not(.compact){padding-bottom:20px}
.birthday-notice.compact{position:relative;padding-right:48px}
.birthday-notice.compact .birthday-close{top:50%;transform:translateY(-50%);right:6px}

/* block H: insta icon, sticky actions, chef icon (switchable via FEATURE_* in app.js) */
.detail-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.detail-meta .detail-time{margin:0!important}
.insta-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#f6e7d6,#eddcf0);color:#5b3b63;flex:none}
.insta-icon .icon{width:20px;height:20px}
.sticky-actions{position:fixed;left:12px;right:12px;bottom:calc(env(safe-area-inset-bottom,0px) + 96px);z-index:20;display:none;gap:8px;padding:8px;border-radius:20px;background:#fffdf7f2;border:1px solid var(--line);box-shadow:0 6px 18px #38532924}
.sticky-actions.show{display:flex}
.sticky-actions>button{flex:1;min-width:0;min-height:44px;padding:8px 10px;font-size:.875rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.recipe-card .quick-plan .icon{width:20px;height:20px}

.insta-icon.on-photo{position:absolute;bottom:12px;right:64px;width:44px;height:44px;z-index:2;background:#fffdf7;box-shadow:0 2px 8px #0002;color:#5b3b63}
.sticky-actions{bottom:calc(env(safe-area-inset-bottom,0px) + 74px)}

/* block H2 */
.photo-back{position:absolute;top:12px;left:12px;z-index:2;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#fffdf7;box-shadow:0 2px 8px #0002;color:var(--ink)}
.photo-back .icon{width:22px;height:22px}
.recipe-card .card-foot{width:100%}
.recipe-card .quick-plan{margin-left:auto}
.recipe-card .quick-plan{margin-right:2px}
.recipe-card .quick-plan{width:40px!important;height:40px;min-height:40px}.recipe-card .quick-plan .icon.plan-ico{width:26px;height:26px;stroke-width:1.6}
/* block H3: quick button bottom-right, same line across a row */
.recipe-card{display:flex!important;flex-direction:column}
.recipe-card .card-body{flex:1 1 auto;display:flex!important;flex-direction:column}
.recipe-card .card-foot,.grid-cols-1 .recipe-card .card-foot{margin-top:auto!important;padding-top:6px!important}
#toast.go.visible{pointer-events:auto;cursor:pointer;box-shadow:0 4px 14px #0003}

/* block L logo */
.brand strong.logo-wrap{display:block;line-height:0;letter-spacing:0}.logo-mark{height:50px;width:auto;display:block}@media(max-width:650px){.logo-mark{height:44px}}

/* block M mine compact */
.mine-title{margin:12px 0 14px!important;padding-top:20px!important;padding-bottom:18px!important}.mine-title h1{margin:6px 0 8px!important}.mine-title p{margin:0}.mine-title+.child-panel,.mine-title+*{margin-top:0}

/* block N plates and lists */
.plates-title{margin:12px 0 12px!important}.plates-title h1{margin:6px 0 6px!important;font-size:2rem}.plates-title p{margin:0}
.plate-card .card-body{padding-bottom:10px}
.plate-check{cursor:pointer;justify-content:flex-start}.plate-check>div{flex:1;min-width:0}.plate-check.done .ing-box{background:var(--olive);border-color:var(--olive);color:#fff}.plate-check.done h3{text-decoration:line-through;color:#8a907d}
.sub-card{display:grid;grid-template-columns:1fr auto;align-items:center;column-gap:12px;max-width:none;padding:10px 14px}.sub-card .eyebrow{display:none}.sub-card h2{font-size:.9375rem;margin:0}.sub-card p{margin:2px 0 0;font-size:.75rem}.sub-card .sub-actions{margin:0;grid-column:2;grid-row:1/span 2}.sub-card .primary{min-height:40px;padding:8px 14px;font-size:.8125rem;width:auto}.sub-card .sub-continue{width:auto;min-height:40px;font-size:.8125rem}.sub-card .sub-cancel-link{font-size:.75rem}
.share-top{margin-top:10px;min-height:40px;padding:8px 14px}
.menu-summary{margin:4px 0 10px;font-size:.8125rem;color:var(--muted)}

.fav-kinds{margin:6px 0 14px}.fav-kinds .chip{min-height:38px;padding:7px 14px}

/* block O category chip softer */
.recipe-card .card-cat.on-photo{left:6px;bottom:6px;background:#fffdf6b8;font-size:.83rem;padding:3px 9px;box-shadow:none;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.recipe-card .card-cat.on-photo{left:4px;bottom:2px;font-size:.79rem;padding:2px 8px}
.recipe-card .card-cat.on-photo{left:8px}
.recipe-card .card-cat.on-photo{left:13px;bottom:7px}
.recipe-card .card-cat.on-photo{left:8px;bottom:2px}

/* block P colour switch */
.color-switch{display:flex;align-items:center;justify-content:space-between;gap:10px}.color-opts{display:flex;gap:6px}.color-opts .chip{min-height:36px;padding:6px 14px}

.grid-split{grid-column:1/-1;margin:8px 0 -4px;font-size:1rem;font-weight:700;display:flex;align-items:center;gap:8px}.grid-split span{font-size:.75rem;font-weight:600;color:var(--olive);background:var(--accent,#e8eddd);border-radius:10px;padding:2px 8px}
/* Q: Gemini review fixes */
body .bottom-dock.has-shop{transform:none;left:max(8px,calc(50% - 330px));right:max(8px,calc(50% - 330px));width:auto}
.detail{padding-bottom:18px}
.steel-hero .steel-name.no-child+.steel-age{display:block!important;margin:4px 0 2px;font-size:.9rem;line-height:1.35;color:var(--muted);max-width:32ch}
/* R: Філіжанка для команди ☕ */
.coffee{display:flex;flex-direction:column;align-items:center;gap:6px;margin:4px 0 18px;padding:16px;border:1px solid var(--line);border-radius:20px;background:var(--light);text-align:center}
.coffee-thanks{margin:0;font-weight:700}
.coffee-cup{width:145px;height:145px;padding:0;border-radius:50%;transition:transform .15s}
.coffee-cup:active{transform:scale(.94)}
.coffee-cup svg{width:100%;height:100%;overflow:visible}
.coffee-cup .cup-body,.coffee-cup .cup-handle{fill:none;stroke:var(--olive);stroke-width:4;stroke-linejoin:round;stroke-linecap:round}
.coffee-cup .cup-plate{fill:var(--line)}
.coffee-cup .cup-liquid rect{fill:#8a5a3b}
.coffee-cup .cup-foam{fill:#c79a6f}
.coffee-cup .cup-liquid{transition:transform 1.4s cubic-bezier(.3,1.4,.5,1)}
.coffee-cup .cup-steam path{fill:none;stroke:var(--muted);stroke-width:3;stroke-linecap:round;opacity:.55;animation:cup-steam 2.6s ease-in-out infinite}
.coffee-cup .cup-steam path:nth-child(2){animation-delay:.6s}.coffee-cup .cup-steam path:nth-child(3){animation-delay:1.2s}
@keyframes cup-steam{0%{opacity:0;transform:translateY(6px)}40%{opacity:.6}100%{opacity:0;transform:translateY(-8px)}}
.coffee-cup.is-pouring{animation:cup-wobble .5s .9s 2}
@keyframes cup-wobble{0%,100%{transform:rotate(0)}25%{transform:rotate(-4deg)}75%{transform:rotate(4deg)}}
.coffee-hint{margin:0;color:var(--muted);font-size:.92rem;max-width:30ch}
.coffee .full{margin-top:6px}
@media (prefers-reduced-motion:reduce){.coffee-cup .cup-steam path,.coffee-cup.is-pouring{animation:none}.coffee-cup .cup-liquid{transition:none}}
/* QA design7: shopping share bar + kids button touch zone */
.shop-share-bar>button{display:inline-flex;align-items:center;justify-content:center;gap:8px}
.shop-share-spacer{height:72px}
body .profile-button{position:relative;min-height:44px;min-width:44px}
body .profile-button::after{content:"";position:absolute;inset:-6px}
/* R: Мої дані доставки */
#delivery-form label{display:grid;gap:6px;margin:12px 0 0}
#delivery-form input{padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:1rem}
.delivery-carrier{margin-top:8px}
/* Вступні підказки */
#tour{position:fixed;inset:0;z-index:1000}
#tour .tour-spot{position:fixed;border-radius:16px;box-shadow:0 0 0 9999px #1f2a1acc;outline:3px solid #fff;transition:all .25s ease;pointer-events:none}
#tour .tour-spot::after{content:"";position:absolute;inset:-6px;border:2px solid #f3d38a;border-radius:20px;animation:tour-pulse 1.4s ease-out infinite}
@keyframes tour-pulse{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1.12)}}
#tour .tour-tip{position:fixed;left:16px;right:16px;max-width:420px;margin:auto;background:var(--paper);border-radius:18px;padding:14px 16px;box-shadow:0 10px 30px #0005}
#tour .tour-step{margin:0;color:var(--muted);font-size:.8rem}
#tour h3{margin:2px 0 4px;font-size:1.1rem}
#tour .tour-text{margin:0 0 12px}
#tour .tour-actions{display:flex;justify-content:space-between;align-items:center}
#tour .tour-actions .primary{min-height:44px;padding:0 22px}
@media (prefers-reduced-motion:reduce){#tour .tour-spot{transition:none}#tour .tour-spot::after{animation:none}}
.locked-results{grid-column:1/-1;margin-top:12px;padding:14px;border:1px dashed var(--line);border-radius:18px;background:var(--light)}
.locked-results h3{margin:0 0 8px;font-size:1rem}
.locked-results ul{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:6px}
.locked-results li button{width:100%;text-align:left;padding:10px 12px;border-radius:12px;background:var(--paper);border:1px solid var(--line);color:var(--muted);font-weight:600}
.listing-rule{padding:10px 12px;border-radius:12px;font-size:.92rem;margin:10px 0}
.listing-rule.blocked{background:#f9e3df;color:#8a2f22}
.listing-rule.review{background:var(--light);color:var(--ink)}
.listing-rule.warn{background:#fbf0d6;color:#6d5310}
/* Крамничка: компактна шапка */
.finds-hero{padding:12px 0 14px}.finds-hero h1{margin:4px 0 0}.finds-hero p{margin:6px 0 4px;line-height:1.4}.finds-hero>small{display:block;line-height:1.4}.finds-categories{margin-bottom:14px}.finds-categories button{padding:14px 6px;gap:9px}.market-demo-note{padding:9px 12px;line-height:1.4;margin:0 0 14px}
/* Мітка beta на Крамничці й Речах — маленька наліпка на іконці */
.nav-symbol,.beta-wrap{position:relative;display:inline-flex}.beta-tag{position:absolute;top:-9px;right:-22px;transform:rotate(12deg);padding:2px 5px 3px;border-radius:6px;background:#f3e3c4;color:#8a6a3a;font:800 10px/1 Manrope,system-ui,sans-serif;font-style:normal;letter-spacing:.4px;text-transform:lowercase;box-shadow:0 1px 3px #6b55301f;pointer-events:none}.context-stories button.active .beta-tag,.context-dock button.active .beta-tag{background:#fff4dc}
/* «Як користуватися?» у правому верхньому куті Крамнички й Речей */
.finds-hero,.market-hero{position:relative}.howto-btn{position:absolute;top:10px;right:0;display:inline-flex;align-items:center;gap:5px;padding:6px 11px;border-radius:14px;background:#eef2e6;color:#526d48;font-size:.75rem;font-weight:600;line-height:1.2}.howto-btn::before{content:"?";display:inline-grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#526d48;color:#fffef8;font-size:.625rem}
/* «Як користуватися» — у власному рядку зверху праворуч, не накладається на заголовок */
.hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:30px;margin-bottom:6px}.hero-top .howto-btn{position:static;margin-left:auto;flex-shrink:0}
/* Перемикач дітей — більший */
body .profile-button{min-height:52px;font-size:1.1875rem;padding:12px 18px;max-width:170px;border-radius:16px}.profile-button b,.profile-button span{font-size:.875rem}
/* Крамничка в нижньому меню: у спокої — як інші кнопки, заливка лише коли відкрита */
body .bottom-dock.has-shop .shop-launch:not(.active){background:#fffef8!important;box-shadow:0 5px 20px #1f2a1c1a!important;border:0!important;color:#666a5d}
/* beta на Крамничці в головному меню — на куточку іконки, як у меню Крамнички */
.shop-launch .nav-symbol .beta-tag{top:-4px;right:-13px}
/* «Як користуватися» на головному екрані — праворуч від логотипа */
.header-howto{position:static;flex-shrink:0;white-space:nowrap}
/* якщо поруч видно кнопку «Діти» — лише кружечок «?», щоб усе вмістилося в один рядок */
.header-actions:has(.profile-button:not(.on-home)) .header-howto{font-size:0;gap:0;padding:6px;border-radius:50%;min-width:44px;min-height:44px;justify-content:center}.header-actions:has(.profile-button:not(.on-home)) .header-howto::before{width:22px;height:22px;font-size:.8125rem}
/* М'яке затінення під нижнім меню: стрічка плавно зникає, а не просвічує між кнопками */
@media(max-width:650px){body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:calc(96px + env(safe-area-inset-bottom,0px));background:linear-gradient(to bottom,color-mix(in srgb,var(--dock-fade,#f2f5ee) 0%,transparent),var(--dock-fade,#f2f5ee) 62%);pointer-events:none;z-index:9}}
/* Картка дитини в «Моє» — того ж розміру й з тими ж відступами, що й «Моя кухня» */
body .mine-title+.child-panel.classic-profile{padding:18px 20px;border:1px solid #ffffffd4;border-radius:26px;background:linear-gradient(130deg,#fffef2,#dce6cd);box-shadow:0 8px 22px #536b4311;margin:0 0 14px}
/* «Моє»: нижчі картки «Моя кухня» й дитини — менші відступи й щільніший текст, ширина та сама */
body .mine-title{padding-top:14px!important;padding-bottom:14px!important;margin:8px 0 10px!important}body .mine-title h1{margin:2px 0 4px!important}body .mine-title p{font-size:.875rem;line-height:1.35}
body .mine-title+.child-panel.classic-profile{padding:12px 20px;margin:0 0 10px}body .mine-title+.child-panel.classic-profile h2.child-name{font-size:1.5rem;margin:0}body .mine-title+.child-panel.classic-profile p.child-age{line-height:1.3;margin:0 0 4px}body .mine-title+.child-panel.classic-profile .child-edit{padding:4px 0;min-height:36px}
/* Зручні для пальця цілі: не менше 44×44 px */
.trial-submit{min-width:44px;min-height:44px}.chip,.chips .chip,.allergen-chip{min-height:44px}.seasonal-chips button{min-height:44px;padding-inline:14px}.grid-toggle button{min-width:44px;min-height:44px}.recipe-card .quick-plan,.quick-plan{min-width:44px;min-height:44px}
.dialog-bottom-close{margin-top:14px;min-height:48px;border-radius:16px}
.friendly-error{text-align:center;padding:64px 24px}.friendly-error .oops{font-size:3.5rem;margin-bottom:12px}.friendly-error h1{font-size:1.5rem;margin:0 0 10px}.friendly-error p{margin:0 0 22px;color:var(--muted)}.friendly-error button{min-height:48px;padding:0 28px}
/* toast помилки зв'язку — як спливаюче «додано в улюблене», але з кнопкою */
#error-toast{position:fixed;bottom:112px;left:50%;transform:translateX(-50%);max-width:calc(100% - 30px);width:max-content;z-index:40;display:flex;align-items:center;gap:12px;background:#36452e;color:#fffaf1;border-radius:14px;padding:10px 10px 10px 16px;font-size:.8125rem;line-height:1.4;box-shadow:0 8px 24px #1f2a1c33}#error-toast button{flex-shrink:0;min-height:44px;padding:0 16px;border-radius:11px;background:#c9e6ad;color:#1f2a1c;font-weight:700}
.not-found h2{font-size:1.0625rem;line-height:1.35;margin:10px 0 6px}.alt-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:12px}.alt-chips button{min-height:44px;padding:0 16px;border-radius:999px;border:1px solid #c9e6ad;background:#f3f8ec;color:#3f8f22;font:inherit;font-weight:600}

/* fix-010: touch targets >=44px */
.voice-search,.trial-search .voice-search{min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important}
.round{min-width:44px;min-height:44px;width:44px;height:44px}
.note-edit,.personal-note-heading .note-edit,.personal-note.is-empty .note-edit,.personal-note .note-actions .note-edit{min-height:44px!important;min-width:44px}
.link-btn.shop-link,.shop-link{min-height:44px;min-width:44px;display:inline-flex;align-items:center}
.howto-btn,.header-howto,.header-actions:has(.profile-button:not(.on-home)) .header-howto{min-height:44px!important;min-width:44px!important}

/* fix-010: reflow at narrow widths (360px + 150% zoom + largest text) */
.app-shell,.app-shell>*{min-width:0}
img,video,svg{max-width:100%}
@media(max-width:420px){
 .bottom-nav,.bottom-dock.has-shop{left:8px!important;right:8px!important;width:auto!important;min-width:0!important;max-width:calc(100vw - 16px);transform:none!important}
 .bottom-nav button,.bottom-dock.has-shop .bottom-nav button{min-width:0!important}
 body .bottom-dock.has-shop .nav-label,.nav-label{white-space:normal!important;overflow-wrap:anywhere;hyphens:auto;text-align:center;max-width:100%}
 .brand,.header-actions{flex-wrap:wrap;min-width:0}
}
@media(max-width:300px){
 body .bottom-dock.has-shop .nav-label,.nav-label{font-size:9px!important}
 .bottom-dock.has-shop .shop-launch{width:48px!important}
 .recipe-grid{grid-template-columns:minmax(0,1fr)}
 .detail-actions{flex-wrap:wrap}
}

.free-bar{position:fixed;left:0;right:0;bottom:calc(var(--nav-h,76px) + env(safe-area-inset-bottom,0px) + 8px);z-index:20;padding:0 16px;pointer-events:none}
.free-bar button{pointer-events:auto;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:520px;margin:0 auto;min-height:48px;border:0;border-radius:999px;padding:10px 18px;background:var(--olive);color:#fff;font-weight:700;font-size:.9375rem;box-shadow:0 6px 18px #303a2b40}
.free-bar button small{font-weight:600}
.showcase-card .card-image{position:relative}.showcase-card .card-image img{filter:saturate(.9)}.showcase-card .card-title{display:block;text-align:left;font:inherit;font-weight:600;padding:0}
.showcase-lock{position:absolute;top:8px;right:8px;width:28px;height:28px;border-radius:50%;background:#fffc;display:grid;place-items:center;font-size:.8125rem}
#main{padding-bottom:calc(var(--nav-h,76px) + 72px)}

.birthday-offer{background:#fff7e6;border:1.5px solid #ecd9a8;border-radius:16px;padding:12px 14px;margin:10px 0}.birthday-offer p{margin:4px 0 10px}
.gift-link{word-break:break-all;background:#f3f1e8;border-radius:12px;padding:10px 12px;font-size:.875rem}
.gift-note{margin:8px 0;padding:10px 14px;border-left:3px solid #bccb85;background:#f4f7ee;border-radius:8px}
.gift-list,.invite-stats,.review-list{list-style:none;padding:0;margin:8px 0}.gift-list li{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-bottom:1px solid #e5e4d9}.invite-stats li{padding:4px 0}.review-list li{padding:10px 0;border-bottom:1px solid #e5e4d9}
.ambassador{font-weight:700;color:#3f5230}

/* видимі текстові поля: рамка, заливка, лупа, чіткий фокус, >=44px */
html body .search{border:1.5px solid #6f9a58!important;background:#fff!important;min-height:50px;box-shadow:0 2px 8px #2f7a1c14!important}
html body .search:focus-within{border-color:#2f7a1c!important;box-shadow:0 0 0 3px #86c45466!important}
html body .search>.icon{color:#2f7a1c!important}
html body .search input{min-height:44px}
html body .search input::placeholder{color:#6b7160!important;opacity:1}
html body dialog input:not([type=checkbox]):not([type=radio]):not([type=file]),html body dialog textarea,html body dialog select{border:1.5px solid #6f9a58!important;background:#fff!important;border-radius:14px;min-height:46px;padding:10px 12px;box-sizing:border-box}
html body dialog textarea{min-height:96px}
html body dialog input:focus,html body dialog textarea:focus,html body dialog select:focus{outline:none!important;border-color:#2f7a1c!important;box-shadow:0 0 0 3px #86c45466!important}
html body dialog input::placeholder,html body dialog textarea::placeholder{color:#6b7160;opacity:1}
/* Пошук знизу при гортанні: розмір і вигляд поля — ті самі, що й угорі */
html body .search.search-docked{position:fixed!important;left:50%;transform:translateX(-50%);width:var(--sd-w,calc(100vw - 32px));max-width:calc(100vw - 24px);bottom:var(--sd-b,84px);margin:0!important;z-index:40;box-shadow:0 8px 24px #2f7a1c33!important}
/* Нижнє меню: іконка завжди по центру над підписом (раніше зміщувалась ліворуч) */
html body .bottom-dock .nav-symbol,html body .context-dock .nav-symbol{display:flex!important;align-items:center!important;justify-content:center!important}
html body .bottom-dock .nav-symbol>.icon,html body .bottom-dock .nav-symbol>svg{margin:0!important;flex:0 0 auto}
.mine-tabs button{min-width:0;font-size:.82rem;display:grid;grid-template-rows:minmax(2.5em,1fr) auto;place-items:center;gap:3px;padding:6px 4px;line-height:1.25}
.mine-tabs button>span{overflow-wrap:anywhere}
.mine-tabs b{min-width:1.75em;margin:0;padding:2px 4px;white-space:nowrap;font-size:.6875rem;font-variant-numeric:tabular-nums;text-align:center}
.mine-subscription{margin:0 0 12px;border-radius:14px;background:#fffefb;box-shadow:inset 0 0 0 1px #e3ebd9}
.mine-subscription>summary{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;min-height:44px;padding:8px 12px;color:var(--ink);font-size:.8125rem;font-weight:700;list-style:none;cursor:pointer;border-radius:14px}
.mine-subscription>summary::-webkit-details-marker{display:none}
.mine-subscription-status{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right;color:var(--olive);font-size:.75rem;font-weight:500;font-variant-numeric:tabular-nums}
.mine-subscription>summary::after{content:'';width:7px;height:7px;border:solid #536446;border-width:0 1.5px 1.5px 0;transform:translateY(-2px) rotate(45deg)}
.mine-subscription[open]>summary::after{transform:translateY(2px) rotate(225deg)}
.mine-subscription>.sub-card{display:block;max-width:none;margin:0;padding:10px 12px 12px;border:0;border-top:1px solid #e3ebd9;border-radius:0 0 14px 14px}
.mine-subscription .sub-card h2{overflow-wrap:anywhere}
.mine-subscription .sub-actions{margin-top:8px}
.mine-subscription .sub-actions button{min-height:44px;flex:0 1 auto}
/* Нижнє меню рецептів/тарілочок = такого ж розміру, як меню Крамнички (72px, шрифт 12px) */
html body .bottom-dock.has-shop .bottom-nav{height:72px!important;padding:3px!important;border-radius:27px!important}
html body .bottom-dock.has-shop .bottom-nav button{height:66px!important;min-height:66px!important;font-size:12px!important;padding:6px 1px!important;border-radius:20px!important}
html body .bottom-dock.has-shop .shop-launch{height:72px!important;min-height:72px!important;font-size:12px!important;border-radius:22px!important}
.finds-more{margin-top:2px}.finds-more>summary{display:inline-block;list-style:none;cursor:pointer;min-height:32px;padding:4px 0;color:#2f7a1c;font-size:.85rem;font-weight:700}.finds-more>summary::-webkit-details-marker{display:none}.finds-more>summary::after{content:' ›'}.finds-more[open]>summary::after{content:' ⌃'}.finds-more small{display:block;margin-top:4px}
.mine-share{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 12px}.mine-share button{min-height:48px;padding:8px 10px;font-size:.85rem;line-height:1.2}
@media(max-width:340px){.mine-share{grid-template-columns:1fr}}
html body .mine-subscription>summary{min-height:54px;padding:10px 14px;font-size:1rem}
html body .mine-subscription-status{font-size:.9rem}
html body .mine-subscription>summary::after{width:9px;height:9px}
/* Імʼя дитини справа вгорі — той самий стиль, що на головному екрані; замість лічильника — маленький трикутник */
html body .profile-button{color:#2b3d30!important;font-weight:800!important;letter-spacing:-.06em}
html body .profile-button .name-caret{font-size:.65em!important;opacity:.7;margin-left:6px;letter-spacing:0;vertical-align:middle}
/* Картки рецептів: ширші колонки, однакові відступи (по краях = між картками), фото трохи витягнуте */
@media(max-width:650px){html body .recipe-grid:not(.grid-cols-1){margin-inline:-6px;gap:10px}}
html body .recipe-grid .recipe-photo:not(.plate-photo),html body .recipe-grid .placeholder{aspect-ratio:5/6}
/* Нижня панель стоїть на тій самій лінії, що й меню Крамнички (8px + безпечна зона) — не «стрибає» між екранами */
html body .bottom-dock.has-shop{bottom:calc(8px + max(0px,env(safe-area-inset-bottom),var(--tg-safe-area-inset-bottom,0px)))!important}
html body .mine-tabs button{font-size:.76rem;padding:6px 2px}html body .mine-tabs button>span{overflow-wrap:normal;word-break:normal;hyphens:none}
html body .child-panel.saved-child.classic-profile .child-age{font-size:1.15rem;font-weight:800;color:#2b3d30;margin:0 0 6px}

.welcome-splash{width:min(360px,calc(100% - 28px));max-height:calc(100dvh - 32px);border:0;border-radius:26px;padding:0;background:#fffef8;overflow:auto;color:#263320;box-shadow:0 20px 70px #17220d45}
.welcome-splash::backdrop{background:#17220d}
.welcome-splash>img{display:block;width:100%;height:210px;object-fit:cover;object-position:50% 67%}
.welcome-splash-copy{padding:16px 24px 12px;text-align:center}
.welcome-logo{max-width:110px;margin:0 auto}
.welcome-logo .logo-mark{width:100%;height:46px}
.welcome-splash h2{font-size:1.35rem;line-height:1.3;margin:10px 0}
.welcome-splash p{font-size:1rem;line-height:1.5;margin:0 0 16px}
.welcome-skip{min-height:44px;width:100%;margin-top:4px;font-size:.9375rem;color:#526347}
html body .child-panel.saved-child.classic-profile .child-name{font-size:1.5rem;font-weight:800;color:#2b3d30;margin:0 0 2px}
/* Тонший відступ між картками рецептів: більше картинок на екрані */
html body .recipe-grid{gap:6px 4px!important}
html body .recipe-card>.card-image{padding:3px 3px 0!important}

/* Shop button: same inner box and icon/label rhythm as the other dock buttons (no 1px jump between tabs) */
html body .bottom-dock.has-shop .shop-launch{padding:9px 1px!important;gap:6px!important}
/* Shop dock (Крамничка/Бажане/Корзина/Речі) uses the same icon box and label size as the main dock: no jump when switching */
html body .context-dock button{font-size:10.5px!important;line-height:1.2!important;gap:6px!important}
html body .context-dock button>.beta-wrap{display:flex;align-items:center;justify-content:center;height:31px}
html body .context-dock button>svg{margin:4.5px 0}

/* iOS наближає сторінку, якщо в полі шрифт менший за 16px, і не повертає масштаб назад: усі текстові поля не менше 16px. */
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=color]), select, textarea { font-size: max(16px, 1rem) !important; }

html.kb-open .bottom-dock, html.kb-open .context-dock, html.kb-open .free-bar { display: none !important; }

.free-info{margin:4px 0 10px;border-radius:12px;background:#f4f7ee;padding:2px 12px}.free-info>summary{list-style:none;cursor:pointer;min-height:40px;display:flex;align-items:center;font-weight:700;color:#3f5230}.free-info>summary::-webkit-details-marker{display:none}.free-info>summary::after{content:' ›';margin-left:4px}.free-info[open]>summary::after{content:' ⌃'}.free-info ul{margin:0 0 10px;padding-left:18px;color:#3f4a36;font-size:.9rem;line-height:1.4}.free-info li+li{margin-top:4px}.free-info p{margin:0 0 10px;color:#3f4a36;font-size:.9rem;line-height:1.4}

/* Requests and server matches in the community marketplace. */
.buyer-matches,.own-wanted,.wanted-board{margin:20px 0}.wanted-card,.wanted-renew,.seller-demand{padding:16px;margin:12px 0;border:1px solid #d4ddc5;border-radius:16px;background:#fafbf5;overflow-wrap:anywhere}.wanted-card h2,.wanted-card h3{margin:0 0 8px}.wanted-card p{margin:8px 0}.wanted-check{display:flex!important;align-items:flex-start;gap:10px}.wanted-check input{width:22px;min-width:22px;height:22px}.match-card{min-width:0}.match-card.is-offered{padding:8px;border:2px solid #728344;border-radius:20px;background:#f1f5e8}.offer-label{display:block;padding:8px;font-size:14px}.wanted-renew button{margin:8px 8px 0 0;min-height:44px}.seller-demand p{margin:0 0 8px}.market-filters{flex-wrap:wrap}#wanted-form{display:grid;gap:12px}#wanted-form label{display:grid;gap:6px}#wanted-form input:not([type=checkbox]),#wanted-form select,#wanted-form textarea{width:100%;box-sizing:border-box;min-height:44px}#wanted-form button{min-height:44px}

.add-choice{display:grid;gap:10px;margin-top:8px}.add-choice-opt{display:flex;flex-direction:column;gap:4px;align-items:flex-start;text-align:left;min-height:64px;padding:14px 16px;border:1px solid #d4ddc5;border-radius:14px;background:#fafbf5;font:inherit;color:inherit}.add-choice-opt strong{font-size:16px}.add-choice-opt span{font-size:13px;opacity:.75}

.section-heading.market-head{flex-wrap:nowrap;margin-bottom:2px}.market-head h2{flex:1;min-width:0}.market-subrow{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}.market-subrow .my-listings-link{margin:0;padding:8px 0}.market-subrow>span{font-size:.8125rem;color:var(--muted)}

.coffee-after-sale{display:flex;gap:10px;margin-top:12px}.coffee-after-sale button{flex:1;min-height:44px}

.child-panel.saved-child{position:relative;padding:14px 70px 14px 17px}.child-switch{position:absolute;top:50%;right:14px;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:#fffdf6;border:1px solid var(--line,#e3e6d8);color:var(--olive,#5b6b3a);box-shadow:0 2px 8px #3b4a2a14}.child-switch svg{width:22px;height:22px}.child-panel.saved-child h2{margin:2px 0}
/* Шестерня навпроти «Моя кухня»; кнопка зміни малюка — в одну вертикаль із нею */
.child-panel.saved-child .child-switch{right:2px}
/* Шестерня — у шапці праворуч, у вільному місці біля логотипу */
.header-actions .settings-gear{position:static;flex:none}
.market-support{display:flex;gap:12px;align-items:center;text-align:left;width:100%;margin-top:10px;padding:12px 14px;border-radius:18px;background:#fffdf6;border:1px solid var(--line,#e3e6d8)}
.market-support-icon{font-size:1.5rem;flex:none}.market-support strong{display:block;font-size:.9375rem}.market-support small{display:block;color:var(--muted);font-size:.8125rem;line-height:1.35;margin-top:2px}

/* Marketplace deals: Telegram colours, touch targets and a 375px column. */
.deal-card,.deal-queue{margin:16px 0;padding:16px;border:1px solid var(--tg-theme-hint-color,#d5d7cd);border-radius:18px;background:var(--tg-theme-secondary-bg-color,#fffdf7);overflow-wrap:anywhere;min-width:0}
.deal-card h2{font-size:20px;margin:0 0 10px}.deal-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.deal-actions button,.review-chips button{min-height:44px;white-space:normal;max-width:100%}.deal-actions p{flex-basis:100%;margin:6px 0}.deal-timer{font-variant-numeric:tabular-nums;font-weight:600}.shipping-warning{background:#fff1b8;color:#4a3800;padding:12px;border-radius:12px;font-size:14px}.shipping-speed{font-size:14px;line-height:1.5}.deal-messages{max-height:45vh;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:8px 0}.chat-message{align-self:flex-start;max-width:92%;padding:12px;border-radius:14px;background:var(--tg-theme-secondary-bg-color,#f3eee4);white-space:pre-wrap;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#e4eddc;color:#273924}.chat-message.system{align-self:center;font-style:italic;background:#fff1b8;color:#4a3800}.chat-message small{display:block;text-align:right;font-size:12px}.review-chips{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.seller-avatar{object-fit:cover}.deals-page{min-width:0}.deals-page .market-feed-switch{display:flex}.deals-page .market-feed-switch button{flex:1;min-height:44px}
.katya-greeting{display:flex;gap:14px;align-items:flex-start;background:linear-gradient(135deg,#fff7e8,#f6ead4);color:#4a3f2c;border:1px solid #e9d8bb;border-radius:20px;padding:14px;margin:0 0 14px;box-sizing:border-box;max-width:100%;animation:katya-in .45s ease-out both}
.katya-greeting img{flex:0 0 auto;width:124px;height:124px;object-fit:contain;object-position:center bottom;align-self:flex-end}
.katya-greeting>div{min-width:0}.katya-greeting p{margin:0;font-size:.9375rem;line-height:1.5;overflow-wrap:anywhere}
.katya-greeting .katya-sign{font-weight:700;margin-top:4px;color:#7a5c33}
.katya-ok{margin-top:10px;min-height:44px;padding:0 20px;border:0;border-radius:999px;background:#586b49;color:#fff;font:inherit;font-weight:700;cursor:pointer}
.katya-ok:focus-visible{outline:3px solid #c98a2b;outline-offset:2px}
@keyframes katya-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:360px){.katya-greeting{gap:10px;padding:12px}.katya-greeting img{width:96px;height:96px}}
@media (prefers-reduced-motion:reduce){.katya-greeting{animation:none}}
/* «Ми оновили правила»: повноекранний блок для платних підписників (решта застосунку схована, поки немає згоди) */
body.offer-blocked>:not(#offer-block):not(#toast){display:none!important}
.offer-block{position:fixed;inset:0;z-index:2147483000;overflow:auto;background:var(--paper,#fff);display:flex;align-items:center;justify-content:center;padding:24px 20px calc(24px + env(safe-area-inset-bottom))}
.offer-block-inner{max-width:480px;width:100%}
.offer-block-inner h1{margin:0 0 12px}
.offer-block-links a{color:var(--olive)}

/* Product filter: the dialog scrolls as one piece (no nested scroller that traps the swipe); action buttons stay visible. */
#product-filter-form .allergen-list{max-height:none;overflow:visible;overscroll-behavior:contain}
#product-filter-form .primary.full{position:sticky;bottom:0;z-index:1;box-shadow:0 -10px 14px -6px var(--paper,#faf8f2)}
dialog{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}

.coffee-amount{display:block;width:100%;text-align:left}.coffee .coffee-amount{margin-top:8px}
.product-media{position:relative}
.product-media>.commerce-save{top:auto;bottom:10px;right:10px}
.product-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;border-top:1px solid var(--line)}
.product-actions .product-link{flex:1 1 auto;width:auto;border-top:0;display:flex;align-items:center}
.product-actions .wish-cart{margin:0;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:0;display:grid;place-items:center;border-radius:14px;background:var(--accent);color:var(--olive);border:1px solid var(--line)}
.product-actions .wish-cart .icon{width:22px;height:22px}
.product-actions .wish-cart.in-cart{background:var(--olive);color:#fff;border-color:var(--olive)}
.allergen-oat-fold summary{cursor:pointer;font-weight:700;color:var(--olive);list-style:none;padding:6px 0;min-height:32px}
.allergen-oat-fold summary::-webkit-details-marker{display:none}
.allergen-oat-fold summary::after{content:" ▾"}
.allergen-oat-fold[open] summary::after{content:" ▴"}
.allergen-oat-fold p{margin:4px 0 0}
/* Katya greeting: big centred photo, short text, small «Дякую» on the right, no empty space */
.katya-greeting{flex-direction:column;align-items:center;gap:6px;padding:10px 14px 12px;margin:0 0 12px;text-align:left}
.katya-greeting img{width:160px;height:160px;align-self:center;object-fit:contain;object-position:center bottom;margin:0 0 -2px}
.katya-greeting>div{width:100%}
.katya-greeting p{font-size:.9rem;line-height:1.4}
.katya-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:6px}
.katya-foot .katya-sign{margin:0;font-weight:700;color:#7a5c33}
.katya-ok{margin:0;min-height:44px;padding:0 14px;font-size:.875rem;margin-left:auto}
@media(max-width:360px){.katya-greeting img{width:128px;height:128px}}
.quest-invite{background:linear-gradient(135deg,#eef4e2,#e4edd3);border:1px solid #c9d9ad;border-radius:20px;padding:14px;margin:0 0 14px;color:#2f4a2c;box-sizing:border-box;max-width:100%;animation:katya-in .45s ease-out both}
.quest-invite p{margin:0 0 10px;font-size:.95rem;line-height:1.45;font-weight:600}
.quest-invite-actions{display:flex;justify-content:flex-end;align-items:center;gap:10px}
.quest-invite-actions button{min-height:44px;padding:0 18px}
@media (prefers-reduced-motion:reduce){.quest-invite{animation:none}}
/* «Речі» · Мій профіль: компактно, великий аватар; мітки пошт — заглушки до офіційних логотипів */
.hero-actions{display:flex;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}.hero-top .hero-actions .howto-btn{margin-left:0}
.my-profile-btn{display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:4px 12px 4px 4px;border-radius:22px;background:#fffef8;border:1px solid #dce4d5;color:#3f5834;font-size:.8125rem;font-weight:600}.my-profile-btn .seller-avatar{width:32px;height:32px;font-size:.875rem}
.my-profile{display:flex;align-items:center;gap:16px;padding:16px;border-radius:24px;background:linear-gradient(145deg,#fffef8,#e8efdc);margin:14px 0 12px}
.my-profile-photo{position:relative;padding:0;border-radius:50%;flex-shrink:0}.seller-avatar.xl{width:104px;height:104px;font-size:2.4rem}
.my-profile-cam{position:absolute;right:2px;bottom:2px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#526d48;color:#fffef8}.my-profile-cam svg{width:16px;height:16px}
.my-profile-head{min-width:0}.my-profile-head h1{font:700 1.6rem/1.15 Manrope,system-ui,sans-serif;margin:4px 0 6px;overflow-wrap:anywhere}.my-profile-stats{margin:0;font-size:.8125rem;color:var(--muted)}
.my-profile-settings{display:flex;flex-direction:column;gap:6px;margin:0 0 18px}.my-profile-settings .settings-item{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 14px;border-radius:16px;background:#fffef8;text-align:left}.my-profile-settings .settings-item>span:not(.carrier-marks){flex:1;display:flex;flex-direction:column;gap:2px;font-weight:600}.my-profile-settings small{font-weight:400;font-size:.75rem;color:var(--muted)}
.carrier-marks{display:inline-flex;flex-shrink:0}.carrier-marks .carrier-mark+.carrier-mark{margin-left:-6px}.carrier-mark{flex-shrink:0;vertical-align:middle;width:26px;height:26px;border-radius:50%;object-fit:contain;background:#fff;border:1px solid var(--line,#e6e1d4);box-sizing:border-box}.delivery-carrier .chip{display:inline-flex;align-items:center;gap:6px}.delivery-carrier .carrier-mark{width:22px;height:22px}.my-profile-limit{display:block;margin:6px 0 14px;font-size:.75rem;color:var(--muted)}
.seller-profile{padding:20px 18px;margin-bottom:22px}.seller-profile>.seller-avatar{width:112px;height:112px;font-size:2.6rem}.seller-profile h1{font-size:1.9rem;margin:12px 0 6px}.seller-profile>p:not(.follow-note){margin:0 0 12px}.seller-profile-stats{margin-bottom:14px}
@media(max-width:360px){.seller-avatar.xl{width:88px;height:88px}.my-profile{gap:12px;padding:12px}}

/* Кава: компактне вікно з одним полем, щоб клавіатура нічого не перекривала */
#editor:has(.coffee-sheet){margin-top:8vh;margin-bottom:auto;max-height:80dvh}
.coffee-sheet .coffee-amount{margin:10px 0 12px}.coffee-sheet .coffee-amount input{width:100%;margin-top:6px}
.coffee-mini{width:106px;height:106px;margin:4px auto 0}.coffee-mini svg{width:100%;height:100%;overflow:visible}.coffee-mini .cup-body,.coffee-mini .cup-handle{fill:none;stroke:var(--olive);stroke-width:4;stroke-linejoin:round;stroke-linecap:round}.coffee-mini .cup-plate{fill:var(--line)}.coffee-mini .cup-liquid rect{fill:#8a5a3b}.coffee-mini .cup-foam{fill:#c79a6f}.coffee-mini .cup-steam path{fill:none;stroke:var(--muted);stroke-width:3;stroke-linecap:round;opacity:.55}
.coffee-sheet .coffee-amount{margin:6px 0 4px}.coffee-row{display:flex;gap:8px;align-items:stretch}.coffee-row input{flex:1;min-width:0;margin:0}.coffee-row .primary{flex:none;padding-inline:16px}.coffee-sheet .footnote{margin:10px 0}.coffee-mini .cup-steam path{animation:cup-steam 2.6s ease-in-out infinite}.coffee-mini .cup-steam path:nth-child(2){animation-delay:.6s}.coffee-mini .cup-steam path:nth-child(3){animation-delay:1.2s}@media (prefers-reduced-motion:reduce){.coffee-mini .cup-steam path{animation:none}}
.coffee-sheet.is-typing .coffee-intro{display:none}
.allergen-banner{flex-wrap:wrap!important}.allergen-banner>span.allergen-label{flex-basis:auto;font-weight:700}.allergen-tags{display:inline-flex;flex-wrap:wrap;gap:2px 10px}.allergen-banner .allergen-tag{display:inline-flex;align-items:center;gap:2px;min-height:28px;padding:0;background:none;border:0;color:#6b4a0f;font-weight:600;text-decoration:none}.allergen-tag b{font-size:1.05rem;line-height:1;padding:0 2px;color:#a0782f;font-weight:700}
.allergen-banner{row-gap:2px;padding-top:7px;padding-bottom:7px;line-height:1.3}.allergen-banner button,.allergen-banner .allergen-tag{min-height:26px}.allergen-actions{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.allergen-banner{border:0!important;background:#fbf4e6!important;padding:6px 10px!important;margin:4px 0 10px}
.chips:has(+ .allergen-banner){margin-bottom:6px!important}.allergen-banner{margin:0 0 8px!important}
/* Thanks: coffee pours in, then the cup fills by the amount */
.coffee-cup.is-pouring{position:relative}
.coffee-cup.is-pouring .cup-liquid{transition:transform 1.8s cubic-bezier(.25,.9,.35,1)}
.coffee-cup.is-full{animation:cup-wobble .5s 2.1s 2}
.coffee-cup.is-full .cup-foam{animation:cup-foam 1s 2.1s ease-out both}
@keyframes cup-foam{0%{transform:scaleY(1)}50%{transform:scaleY(2.2)}100%{transform:scaleY(1.4)}}
@media (prefers-reduced-motion:reduce){.coffee-cup.is-full,.coffee-cup.is-full .cup-foam{animation:none}}
.cup-sparks{position:absolute;inset:-10% -15%;pointer-events:none}
.cup-sparks i{position:absolute;font-style:normal;font-size:1.1rem;opacity:0;animation:cup-spark 1.6s 2.2s ease-out infinite}
.cup-sparks i:nth-child(1){left:8%;top:20%}.cup-sparks i:nth-child(2){left:82%;top:12%;animation-delay:2.5s}.cup-sparks i:nth-child(3){left:15%;top:62%;animation-delay:2.8s}.cup-sparks i:nth-child(4){left:86%;top:58%;animation-delay:3.1s}.cup-sparks i:nth-child(5){left:48%;top:-4%;animation-delay:2.4s}.cup-sparks i:nth-child(6){left:2%;top:40%;animation-delay:2.9s}.cup-sparks i:nth-child(7){left:92%;top:36%;animation-delay:3.3s}
@keyframes cup-spark{0%{opacity:0;transform:scale(.4) translateY(6px)}30%{opacity:1;transform:scale(1.1)}100%{opacity:0;transform:scale(.8) translateY(-14px)}}
.cup-crown{position:absolute;left:50%;top:-22%;font-size:2rem;transform:translateX(-50%) scale(0);animation:cup-crown .6s 2.3s cubic-bezier(.3,1.6,.5,1) forwards}
@keyframes cup-crown{to{transform:translateX(-50%) scale(1)}}
.coffee-cup.fx-turbo .cup-foam,.coffee-cup.fx-legend .cup-foam{animation:cup-foam-big 1.2s 2.1s ease-out both}
@keyframes cup-foam-big{0%{transform:scaleY(1)}50%{transform:scaleY(3.4)}100%{transform:scaleY(2.4)}}
@media (prefers-reduced-motion:reduce){.cup-sparks{display:none}.cup-crown{animation:none;transform:translateX(-50%) scale(1)}.coffee-cup .cup-foam{animation:none!important}}
.coffee-cap{margin:2px 0 0;font-size:.875rem;color:var(--muted)}
/* Allergen banner: one flowing block («Без: A × B × … Змінити · Показати всі»), bigger × targets, compact height */
.allergen-banner{display:block!important;padding:6px 10px!important;margin:0 0 8px!important;line-height:1.55!important;font-size:1rem!important}
.allergen-banner>span.allergen-label,.allergen-tags,.allergen-banner .allergen-tag,.allergen-actions{display:inline!important}
.allergen-tags{display:contents!important}
.allergen-banner>span.allergen-label{font-weight:700;margin-right:6px;white-space:nowrap}
.allergen-banner .allergen-tag{display:inline-flex!important;align-items:center;min-height:30px;margin:0 6px 0 0;padding:0;white-space:nowrap;font-size:1em}
.allergen-tag b{display:inline-grid;place-items:center;width:30px;height:30px;margin-left:0;font-size:1.3rem;line-height:1;color:#a0782f}
.allergen-actions{white-space:nowrap;margin-left:2px}
.allergen-actions button{min-height:30px;font-size:1em;padding:0 2px}
.allergen-actions i{margin:0 4px}
.allergen-tag b{font-size:1.7rem!important;font-weight:600}
/* Allergen banner v3: tight rows, × tucked against the word on the baseline, «Без:» as a small solid badge */
.allergen-banner{line-height:1.3!important;padding:7px 10px!important}
.allergen-banner>span.allergen-label{display:inline-block!important;margin:0 8px 0 0;padding:1px 9px 2px;border-radius:999px;background:#6b5a2a;color:#fff7e6;font-weight:700;font-size:.92em;line-height:1.25}
.allergen-banner>span.allergen-label .icon{width:14px;height:14px;vertical-align:-2px;margin-right:3px}
.allergen-banner .allergen-tag{display:inline!important;min-height:0!important;margin:0 10px 0 0!important;padding:0!important}
.allergen-tag b{display:inline-block!important;width:auto!important;height:auto!important;margin:-9px -6px -9px 1px;padding:9px 6px;font-size:1.25em!important;line-height:1;vertical-align:-.1em;font-weight:700!important;color:#9a6f1f}
.allergen-actions{display:inline!important}
.allergen-actions button{min-height:0!important;padding:6px 2px;margin:-6px 0}
.allergen-tag b{font-size:1.5em!important;vertical-align:-.14em;color:#8a5f12}
.allergen-tag b{vertical-align:-.3em!important}
.allergen-tag b{vertical-align:-.18em!important;margin-left:-1px}
/* Allergen banner v4: calm — app greens, regular weight, small; first 3 shown, rest behind «ще N» */
.allergen-banner{background:#f0f4e8!important;color:#4d5f3f!important;font-size:.9rem!important;padding:6px 10px!important}
.allergen-banner>span.allergen-label{background:#e0e9d0!important;color:#4d5f3f!important;font-weight:600!important;font-size:.85em!important;padding:0 8px 1px!important}
.allergen-banner .allergen-tag{color:#4d5f3f!important;font-weight:400!important}
.allergen-tag b{color:#8fa07c!important;font-weight:400!important;font-size:1.4em!important}
.allergen-banner .allergen-more{display:inline!important;color:#6f8160;font-weight:500;font-size:.95em;padding:6px 2px;margin:-6px 6px -6px 0;text-decoration:underline;text-underline-offset:3px}
.allergen-actions button{color:#4d5f3f!important;font-weight:500!important}
/* Delivery form: real dropdown for city / branch / index (native datalist does not show in Telegram) */
#delivery-form label{position:relative}
.dl-suggest{list-style:none;margin:6px 0 2px;padding:4px;border:1px solid var(--line);border-radius:14px;background:#fff;max-height:210px;overflow:auto;overscroll-behavior:contain;box-shadow:0 8px 22px #3b4a2e22}
.dl-suggest li{padding:11px 12px;border-radius:10px;font-size:.95rem;line-height:1.3;color:var(--ink)}
.dl-suggest li:active,.dl-suggest li:hover{background:var(--accent)}
.dl-suggest[hidden]{display:none}
/* Allergen banner v5: one text size everywhere (.9rem); «Без:» a bit larger; bigger × centred on the word */
.allergen-banner .allergen-tag,.allergen-banner .allergen-more,.allergen-actions button,.allergen-actions i{font-size:.9rem!important;line-height:1.3}
.allergen-banner>span.allergen-label{font-size:1rem!important;padding:1px 10px 2px!important}
.allergen-tag b{font-size:1.7em!important;vertical-align:-.2em!important;margin-left:0}
/* Allergen banner v6: «Вимкнути» pinned top-right (far from the ×), «Змінити» last in the flow, big × tap areas, «Без:» same size as words */
.allergen-banner{position:relative!important;padding-right:88px!important}
.allergen-banner .allergen-off{position:absolute;top:2px;right:6px;padding:8px 6px;font-size:.9rem;font-weight:500;color:#4d5f3f;text-decoration:underline;text-underline-offset:3px;min-height:0}
.allergen-banner>span.allergen-label{font-size:.9rem!important}
.allergen-banner .allergen-tag{margin:0 14px 0 0!important}
.allergen-tag b{font-size:2.1em!important;vertical-align:-.28em!important;margin:-12px -12px -12px 0!important;padding:12px 12px!important}
.allergen-banner .allergen-edit{display:inline!important;font-size:.9rem;font-weight:500;color:#4d5f3f;text-decoration:underline;text-underline-offset:3px;padding:6px 2px;margin:-6px 0 -6px 14px;min-height:0}
/* v6b: both actions stacked in the right column; × smaller than v6, tighter to the word */
.allergen-banner{min-height:64px}
.allergen-banner .allergen-edit{position:absolute;top:32px;right:6px;margin:0!important;padding:8px 6px!important}
.allergen-tag b{font-size:1.8em!important;vertical-align:-.17em!important;margin:-12px -12px -12px -3px!important}
/* v6c: «Вимкнути»/«Змінити»/«ще N» look exactly like the allergen words (same colour, weight, size); only the underline differs */
.allergen-banner .allergen-tag,.allergen-banner .allergen-off,.allergen-banner .allergen-edit,.allergen-banner .allergen-more{color:#4d5f3f!important;font-weight:400!important;font-size:.9rem!important;opacity:1}
.allergen-banner .allergen-off,.allergen-banner .allergen-edit,.allergen-banner .allergen-more{text-decoration-thickness:1px;text-decoration-color:#4d5f3f99}
/* «Виключити алерген» button: tighter spacing to the row above and the block below */
.chips:has(+ .allergen-row),.age-chips:has(+ .allergen-row){margin-bottom:2px!important}
.allergen-row{margin:0 0 2px!important}
.allergen-row .chip{min-height:40px!important;padding-block:6px!important}
.allergen-row+.search,.allergen-row+.section-head,.allergen-row+.menu-hint{margin-top:4px!important}
/* Allergen explanation: collapsed in the dialog, tap the «Без: i» pill for a short note */
.allergen-info{margin:-4px 0 10px;font-size:.875rem;color:var(--muted)}.allergen-info summary{cursor:pointer;color:var(--olive);padding:4px 0}.allergen-info p{margin:4px 0 0}
.allergen-banner button.allergen-label{border:0;font:inherit}
.allergen-dot{display:inline-grid;place-items:center;width:15px;height:15px;margin-left:3px;border-radius:50%;border:1px solid #4d5f3f99;font-style:normal;font-size:.68rem;line-height:1;vertical-align:1px}
.allergen-banner .allergen-note{display:block;margin:6px 88px 0 0;padding:6px 8px;border-radius:10px;background:#e7eedb;color:#4d5f3f;font-size:.82rem;line-height:1.35}
.allergen-banner>button.allergen-label{display:inline-block!important;margin:0 8px 0 0;padding:1px 10px 2px!important;border-radius:999px;background:#e0e9d0!important;color:#4d5f3f!important;font-weight:600!important;font-size:.9rem!important;line-height:1.25;min-height:0}
.allergen-banner>button.allergen-label{text-decoration:none!important}
.allergen-banner .allergen-note{margin:8px 0 0!important;font-weight:400!important;text-decoration:none!important;display:block;clear:both}
.allergen-banner .allergen-note{margin-right:-78px!important}
.allergen-banner>span.allergen-label{display:inline-block!important}
/* «Моє»: tighter vertical rhythm */
.mine-share{margin:6px 0 8px!important}
.mine-tabs{margin:6px 0 8px!important}
.mine-tabs button{grid-template-rows:minmax(2.2em,1fr) auto!important;padding-block:5px!important}
.mine-collect{margin:0 0 6px!important}
.fav-kinds{margin:0 0 4px!important}
.fav-kinds+.recipe-grid{margin-top:0}
/* Gift dialog: plans as compact one-line radio rows, tight fields */
#gift-form .cancel-reasons{margin:6px 0 4px!important}
#gift-form label.cancel-reason{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;padding:8px 0!important;margin:0!important;line-height:1.3}
#gift-form label.cancel-reason input{width:22px!important;height:22px!important;margin:0!important;flex:none}
#gift-form label.cancel-reason span{display:inline!important}
#gift-form>label:not(.cancel-reason):not(.settings-check){display:grid!important;gap:4px;margin:8px 0 0!important}
#gift-form textarea{min-height:64px}
#gift-form p{margin:6px 0}
#gift-form .footnote{margin:8px 0}
#gift-form h3{margin:14px 0 6px}
.allergen-tag b{margin:-12px -12px -12px -10px!important}
.allergen-banner .allergen-label{cursor:pointer;-webkit-tap-highlight-color:transparent}
.allergen-tag b{margin:-12px -12px -12px -10px!important;vertical-align:-.21em!important}
/* v7: tighter allergen bar — «Вимкнути»/«Змінити» stacked close together, shorter bar */
.allergen-banner{min-height:52px!important;padding-top:5px!important;padding-bottom:5px!important}
.allergen-banner .allergen-off{top:0!important;padding:5px 6px!important}
.allergen-banner .allergen-edit{top:24px!important;padding:5px 6px!important}
/* v8: narrower gap between «Про добірку» and the age chips */
.age-controls{margin-bottom:2px!important}
.age-context{margin-bottom:4px!important}
.age-context summary{padding:4px 0!important}
/* v9: only «Змінити» in the bar (reset lives in the dialog) — single row, big tap area */
.allergen-banner{min-height:40px!important}
.allergen-banner .allergen-edit{top:0!important;right:4px!important;padding:11px 8px!important}
/* v10: thin «Скинути все» next to «Як це працює» in the allergen dialog */
.allergen-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 12px}
.allergen-tools .allergen-info{flex:1 1 auto}.allergen-tools .allergen-info[open]{flex-basis:100%}
.allergen-reset-all{background:none;border:0;font:inherit;font-size:.875rem;font-weight:300;color:#4d5f3f;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;padding:10px 4px;min-height:44px;cursor:pointer}
.add-owned small,[data-action=wanted-edit] small{font-weight:500;opacity:.75;font-size:.8125rem}.market-hint{margin:8px 2px 4px}.market-hint summary{cursor:pointer;color:var(--olive);font-size:.8125rem;font-weight:600}.market-hint p{margin:6px 0 0;font-size:.8125rem;color:var(--muted)}
.market-actions{display:flex;gap:8px;margin:6px 0 4px}.market-actions .secondary{flex:1;margin:0;min-width:0;padding:12px 8px}.market-hint{margin:4px 2px 8px}.own-wanted{margin:10px 0}.my-profile .section-heading{margin-bottom:8px}
.cab-tabs{margin:0 0 10px}.cab-tabs button{padding:10px 6px}.cab-limit{font-size:.8125rem;color:var(--muted);margin:6px 2px 8px}.my-profile-settings{margin-bottom:12px}
.cab-btn{width:100%;min-height:52px;margin:0!important;padding:14px 18px!important;font-size:1rem!important}.cab-tabs{margin:0 0 6px!important}.my-profile-settings{margin-bottom:8px!important}.cab-limit{margin:2px 2px 4px!important}.cab-tabs~.empty{padding:26px 16px;margin:8px 0 14px}.cab-tabs~.market-hint{margin:6px 2px 2px}.my-profile{margin-bottom:8px}
.my-profile-btn.has-photo{padding:3px;border-radius:50%;min-height:0;gap:0}.my-profile-btn.has-photo .seller-avatar{width:54px;height:54px;font-size:1.25rem;object-fit:cover}

#market-avatar-form{text-align:center}#market-avatar-form .dialog-heading{text-align:left}#market-avatar-form .avatar-xl{width:150px;height:150px;display:block;margin:6px auto 14px;border-radius:50%;object-fit:cover}#market-avatar-form label{text-align:left}#market-avatar-form .avatar-note{margin-top:12px;text-align:left;font-size:.875rem;color:#64715b}#market-avatar-form .avatar-note summary{cursor:pointer;font-weight:600}
#delivery-form label[data-only][hidden]{display:none!important}
.card-hero h1{margin:6px 0 12px!important}
.my-profile-row{display:flex;align-items:center;gap:10px;background:#fbfbf6;border:1px solid #e5e9dc;border-radius:18px;padding:8px 8px 8px 10px;margin:0 0 12px}
.my-profile-card{flex:1;min-width:0;display:flex;align-items:center;gap:12px;text-align:left;background:none;border:0;padding:0;color:inherit}
.my-profile-card .seller-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;flex:none;display:grid;place-items:center;font-size:1.25rem}
.my-profile-card strong{display:block;font-size:1rem;color:#303a2b}.my-profile-card small{display:block;font-size:.8125rem;color:#777b6e}
.card-hero .howto-q{position:static;width:44px;height:44px;padding:0;justify-content:center;border-radius:50%;font-size:1.125rem;font-weight:800;flex:none}.card-hero .howto-q::before{display:none}
.quest-invite-prizes{margin:4px 0 10px;font-size:.9375rem}.quest-invite-prizes summary{cursor:pointer;font-weight:700;color:#3e6a22}.quest-invite-prizes ul{margin:8px 0 4px;padding-left:20px;line-height:1.5}.quest-invite-prizes p{margin:6px 0 0;line-height:1.45}
.quest-invite-more{display:inline-block;margin:2px 0 10px;padding:6px 0;background:none;border:0;font:inherit;font-weight:700;color:#3e6a22}
.checkout-consents .offer-check{display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:12px;margin:10px 0!important;font-size:.9375rem;line-height:1.4}
.checkout-consents .offer-check input[type=checkbox]{display:inline-block!important;width:24px!important;height:24px!important;min-height:0!important;margin:1px 0 0!important;padding:0!important;flex:none}
.checkout-consents .offer-check>span{flex:1;min-width:0}

.support-inbox-link{min-height:44px}
.support-inbox-link>span:first-child{flex:1;text-align:left}
.support-unread-dot{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%;background:#b13a39}
.support-unread-dot[hidden]{display:none}
.support-ticket{gap:12px;min-height:54px}
.support-ticket small,.support-message small{display:block;color:var(--muted);font-size:.8125rem}
.support-ticket strong{font-size:.9375rem}
.support-inbox-action,.support-back{margin-block:10px}
.support-transcript,.support-attachments{display:grid;gap:8px;margin-block:12px}
.support-message{padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--paper);overflow-wrap:anywhere}
.support-message-answer{background:var(--accent)}
.support-message p{margin:5px 0 0;white-space:pre-wrap}
.support-inbox-photo{width:100%;max-height:420px;object-fit:contain;border-radius:10px}

.product-price del,.basket-row del{font-size:.78em;color:var(--muted);margin-inline-start:.2em}

.product-discount{display:inline-block;font-size:.76em;color:var(--olive);white-space:nowrap}.product-discount-note,.product-promo{font-size:.8125rem;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}

/* First visit: Katya welcomes the user after the splash, before the mandatory terms. */
#editor:has(.katya-welcome){inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;box-sizing:border-box;overflow:auto}
.katya-welcome{min-height:100%;box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:var(--paper);color:var(--ink);padding:calc(20px + max(env(safe-area-inset-top,0px),var(--tg-safe-area-inset-top,0px),var(--tg-content-safe-area-inset-top,0px))) 24px calc(24px + max(env(safe-area-inset-bottom,0px),var(--tg-safe-area-inset-bottom,0px),var(--tg-content-safe-area-inset-bottom,0px)))}
.katya-welcome:focus{outline:none}
.katya-welcome img{display:block;flex:none;width:min(80vw,320px);height:clamp(180px,34dvh,320px);object-fit:contain;object-position:center bottom}
.katya-welcome-copy{width:100%;max-width:440px}
.katya-welcome h1{margin:0 0 14px;font-family:inherit;font-size:clamp(26px,7vw,32px);font-weight:800;line-height:1.2;letter-spacing:-.6px}
.katya-welcome p{margin:0 0 18px;font-size:1.0625rem;line-height:1.6}
.katya-welcome .katya-welcome-sign{font-weight:700;margin-bottom:24px}
.katya-welcome .primary{min-height:52px;border-radius:18px;font-size:1rem}
@media(max-width:360px){.katya-welcome{padding-inline:20px;gap:16px}}

/* First acceptance of the offer: the optional portrait has a reserved box. */
/* polish 2026-11-21: page titles, dialog spacing, no iOS focus ring on programmatically focused headings */
h1:focus,h2:focus,h3:focus,[tabindex="-1"]:focus{outline:none}
:root body .page-title h1{font-size:2rem;line-height:1.12}
:root body .page-title{margin:20px 0 14px}
:root body dialog label:not(.sr-only){margin:12px 0 6px}
:root[data-color] body dialog input:not([type=checkbox]):not([type=radio]):not([type=file]),:root[data-color] body dialog select{margin-top:6px;min-height:44px}
:root[data-color] body dialog textarea{margin-top:6px}
/* delivery consent: small text, small box aligned with the first text line */
:root body dialog .delivery-consent{display:flex;align-items:flex-start;gap:10px;font-size:.8125rem;line-height:1.4}
:root body dialog .delivery-consent input[type=checkbox]{display:block;flex:none;width:18px;height:18px;min-height:0;margin:0;padding:0}
:root body dialog .delivery-consent>span{flex:1;min-width:0;font-size:.8125rem;line-height:1.4}
/* my profile (Речі): readable eyebrow, tighter to the name */
:root body .my-profile-head .eyebrow{display:block;font-size:.75rem!important;letter-spacing:.5px!important;line-height:1.3;margin:0}
:root body .my-profile-head h1{margin:2px 0 6px}
/* empty states: Manrope like the rest of the screen (was Georgia serif), slightly smaller */
:root body .empty h2,:root body .empty h3{font-family:'Manrope',system-ui,sans-serif;font-size:1.25rem;font-weight:700;line-height:1.25;letter-spacing:0}
/* allergen banner: one flex row, everything centred on the same line; "Змінити" is in the flow, not absolutely positioned */
:root body .allergen-banner{display:flex!important;align-items:center;flex-wrap:wrap!important;gap:4px 8px;padding:6px 12px!important;min-height:40px!important;line-height:1.3!important}
:root body .allergen-banner .allergen-label{display:inline-flex!important;align-items:center;gap:4px;margin:0!important;flex:none}
:root body .allergen-banner .allergen-tags{display:flex!important;flex-wrap:wrap;align-items:center;gap:0 10px;flex:1 1 0;min-width:0;margin:0!important;padding:0}
:root body .allergen-banner .allergen-tag{display:inline-flex!important;align-items:center;margin:0!important;min-height:24px!important;line-height:1.3}
:root body .allergen-banner .allergen-tag b{display:inline-flex!important;align-items:center;width:auto!important;height:auto!important;margin:0 0 0 2px!important;padding:0 4px!important;vertical-align:baseline!important;line-height:.8;transform:translate(-2px,0)}
:root body .allergen-banner .allergen-more{display:inline-flex!important;align-items:center;margin:0!important;padding:0 2px!important;min-height:28px!important}
:root body .allergen-banner .allergen-edit,:root body .allergen-banner .allergen-off{position:static!important;display:inline-flex!important;align-items:center;flex:none;margin:0!important;padding:0 2px!important;min-height:28px!important;line-height:1.3}
:root body .allergen-banner .allergen-note{flex:0 0 100%;margin:4px 0 0!important}
/* Shop hero: title and "how to use" button on one row */
:root body .finds-hero .hero-top{margin-bottom:0;gap:10px}
:root body .finds-hero .hero-top h1{margin:0;min-width:0;flex:1 1 auto;overflow-wrap:anywhere}
:root body .finds-hero .hero-top .howto-btn{align-self:center}
/* one size for page-level titles: 2rem, no screaming headings; eyebrows max 12px (applies to light and dark) */
:root body :is(.page-title,.deals-page,.shop-intro,.market-hero,.finds-hero) h1{font-size:2rem;line-height:1.15}
:root body :is(.page-title,.deals-page,.shop-intro,.market-hero,.finds-hero,.my-profile-head) .eyebrow{font-size:.75rem!important;letter-spacing:.5px}
/* form dialogs (wanted, delivery, sell, resale, feedback, review): one compact rhythm */
:root body dialog .dialog-heading h2{font-family:'Manrope',system-ui,sans-serif;font-size:1.375rem;font-weight:700;line-height:1.2;letter-spacing:0;margin:0}
:root body dialog :is(#wanted-form,#delivery-form,#item-form,#resale-form,#feedback-form,#deal-review-form)>p:not(.form-error){font-size:.8125rem;line-height:1.35;margin:8px 0 6px}
:root body dialog :is(#wanted-form,#delivery-form,#item-form,#resale-form,#feedback-form,#deal-review-form)>label:not(.settings-check):not(.wanted-check):not(.delivery-consent):not(.sr-only){gap:0;margin:10px 0 0}
:root[data-color] body dialog :is(#wanted-form,#delivery-form,#item-form,#resale-form,#feedback-form,#deal-review-form)>label:not(.settings-check):not(.wanted-check):not(.delivery-consent) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){margin-top:4px}
:root body dialog :is(.wanted-check,.delivery-consent,.settings-check){display:flex!important;align-items:flex-start;gap:8px;margin:10px 0 0;font-size:.875rem;line-height:1.4}
:root body dialog :is(.wanted-check,.delivery-consent,.settings-check) input[type=checkbox]{display:block;flex:none;width:18px;height:18px;min-height:0;margin:1px 0 0;padding:0}
:root body dialog :is(.wanted-check,.delivery-consent,.settings-check){flex-direction:row}
:root body dialog :is(.wanted-check,.delivery-consent,.settings-check)>span{flex:1;min-width:0;font-size:.875rem;line-height:1.4}
:root body dialog label>small.footnote{margin:4px 0 0;font-size:.8125rem;line-height:1.35}
/* Plates / Recipes: even vertical rhythm (~10-14px) between "Про добірку", age chips, allergen strip, search and section heading */
:root body :is(.age-context,.age-controls)+.chips,:root body .plate-age-filters{margin-top:6px}
:root body .chips:has(+ :is(.allergen-row,.allergen-banner)){margin-bottom:8px!important}
:root body .allergen-row{margin:0 0 10px}
:root body .allergen-banner+.search,:root body .allergen-row+.search{margin-top:0}
:root body .search+.section-heading{margin-top:14px}
:root body .hotel-card{grid-template-columns:1fr}
/* First acceptance of the offer: no card, Katya cut out on the app background, cloud with the title (same style as the quest). */
#editor:has(.terms-hero){inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;box-shadow:none;background:var(--paper);box-sizing:border-box;overflow:auto;padding:calc(16px + env(safe-area-inset-top,0px)) 22px calc(20px + env(safe-area-inset-bottom,0px))}
#editor[open]:has(.terms-hero){display:flex;flex-direction:column;justify-content:center;justify-content:safe center}
.terms-hero{position:relative;flex:none;width:min(100%,360px);margin:14px auto}
.terms-hero-photo{display:block;width:64%;height:auto;aspect-ratio:352/390;margin:0 auto;border:0;background:none}
.terms-cloud{position:absolute;right:-14px;top:calc(-7.95% - 4px);width:42%;aspect-ratio:200/150;pointer-events:none}
.terms-cloud svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 5px #7a5c2c26)}
#editor .terms-cloud span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max-content;text-align:center;font-size:clamp(11px,3.4vw,14px);line-height:1.15;font-weight:750;color:#365b38!important;overflow-wrap:normal;hyphens:none}
#editor:has(.terms-hero)>p{margin:0 0 8px;font-size:.9375rem;line-height:1.45}
#editor:has(.terms-hero)>*{flex-shrink:0}
#editor:has(.terms-hero)>p.terms-intro{margin:0 0 6px;text-align:center;font-size:1.0625rem;font-weight:700;color:var(--ink)}
#editor:has(.terms-hero)>p:has(>a){display:flex;flex-wrap:wrap;gap:2px 18px;margin:2px 0 10px;font-size:0}
#editor:has(.terms-hero)>p>a{display:inline-block;min-height:0;padding:6px 0;font-size:.875rem;line-height:1.3;color:var(--olive);outline:none}
#editor:has(.terms-hero)>p>a:focus-visible{outline:2px solid var(--olive);outline-offset:2px;border-radius:4px}
#editor:has(.terms-hero) :is(.offer-check,.marketing-consent){display:flex;align-items:flex-start;gap:10px;margin:8px 0;padding:0;border:0;background:none;box-shadow:none;min-height:0;font-size:.9375rem;font-weight:400;line-height:1.4}
#editor:has(.terms-hero) :is(.offer-check,.marketing-consent)>input[type=checkbox]{margin:1px 0 0;width:20px;height:20px}
#editor:has(.terms-hero) :is(.offer-check,.marketing-consent)>span{flex:1;min-width:0}
#editor:has(.terms-hero) .settings-hint{display:block;margin-top:2px;font-size:.8125rem;line-height:1.35;color:var(--muted);font-weight:400}
.marketing-consent .consent-inline-note{display:inline;font-size:.8125rem;font-weight:400;color:var(--muted)}
#editor #offer-error{margin:6px 0 10px;text-align:center;font-size:.875rem;font-weight:700;color:var(--ink)}
#editor:has(.terms-hero) .primary.full{margin-top:12px}
/* Checkboxes in the app style: small, rounded, olive outline, olive fill with a white tick when on */
:where(input[type=checkbox]){width:20px;height:20px}
:root input[type=checkbox]{-webkit-appearance:none;appearance:none;flex:none;margin:0;border:1.5px solid var(--olive);border-radius:6px;background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:72%;cursor:pointer;vertical-align:middle}
:root input[type=checkbox]:checked{background-color:var(--olive);background-image: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")}
:root input[type=checkbox]:focus-visible{outline:2px solid var(--olive);outline-offset:2px}
:root input[type=checkbox]:disabled{opacity:.5;cursor:default}

/* «Інший день» у діалозі меню не впирається в край */
.menu-days button{font-size:.875rem;padding-left:6px;padding-right:6px}

/* Unified cooking list */
.unified-name{flex:1;min-width:0}.unified-name small{display:block}.unified-link,.unified-remove{border:0;background:transparent;color:var(--olive);font:inherit}.unified-link{text-decoration:underline;text-underline-offset:3px}.unified-remove{min-width:44px;min-height:44px;font-size:22px}.unified-shopping{text-align:right;margin-top:-2px}.unified-shopping button{min-height:40px;font-size:.8rem}.unified-meals{display:grid;grid-template-columns:1fr 1fr}.unified-meals button:last-child{grid-column:1/-1}

.unified-meals button{min-height:44px}.unified-remove{color:var(--ink)}
#toast .unified-undo{min-height:44px;padding:0 8px;border:0;background:none;color:inherit;font:inherit;text-decoration:underline}

.unified-editor{min-width:0;overflow-wrap:anywhere}
.unified-editor [hidden]{display:none}
.unified-meal-label{margin-top:12px;font-weight:650}
.unified-meals{grid-template-columns:repeat(2,minmax(0,1fr))}
.unified-meals button{min-width:0;white-space:normal}
.unified-meals .unified-later{
 display:inline-flex;
 align-items:center;
 gap:6px;
 min-height:44px;
 padding:4px 10px;
 justify-self:center;
 border:1px solid transparent;
 border-radius:12px;
}
.unified-meals .unified-later span{visibility:hidden}
.unified-meals .unified-later[aria-pressed=true]{
 border-color:var(--line);
 background:var(--accent);
 text-decoration:none;
}
.unified-meals .unified-later[aria-pressed=true] span{visibility:visible}
.unified-today{border-color:var(--olive)}
.unified-today h2{color:var(--olive);font-size:1.2rem;font-weight:750;margin:2px 0 10px}
.unified-day-caption{color:var(--muted)}

.unified-editor #mdlg-date-hint{margin:4px 0 0}
.unified-thumb{position:relative;overflow:hidden;color:var(--muted);border:0;padding:0;cursor:pointer}
.unified-thumb img{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit}
.unified-thumb img[hidden]{display:none}

.unified-menu .unified-item{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;align-items:center}
.unified-item .menu-title{display:block;width:100%;min-width:0;padding-inline:0;overflow-wrap:anywhere}
.unified-item .unified-link{padding-inline:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
.unified-name small{margin-top:2px;font-size:.8rem;line-height:1.3}
.unified-editor .dialog-heading h2{min-width:0;overflow-wrap:anywhere}
.unified-editor .unified-meals button{font-weight:650}
.unified-editor #mdlg-recipe{display:block;width:100%;min-width:0;max-width:100%;min-height:44px}

dialog#editor:has(>.unified-editor){
 box-sizing:border-box;
 max-inline-size:calc(100% - 24px);
 max-block-size:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
 overscroll-behavior:contain;
}
.unified-editor,.unified-editor #mdlg-date-row{
 min-inline-size:0;
 max-inline-size:100%;
}
.unified-editor #mdlg-recipe{
 box-sizing:border-box;
 min-inline-size:0;
 max-inline-size:100%;
}
.unified-editor .menu-date::-webkit-datetime-edit{min-width:0;padding:0}
.unified-editor .dialog-heading .round{flex-shrink:0}

.unified-select{position:relative;min-inline-size:0}
.unified-select::after{
 content:"";
 position:absolute;
 inset-inline-end:13px;
 top:50%;
 width:7px;
 height:7px;
 border:solid var(--olive);
 border-width:0 2px 2px 0;
 transform:translateY(-65%) rotate(45deg);
 pointer-events:none;
}
#editor .unified-select select{
 appearance:none;
 padding-inline:10px 32px;
 border:1px solid var(--line);
 border-radius:10px;
 background:var(--paper);
 color:var(--ink);
}


/* A shared frame keeps the native iOS date box aligned with the day selector. */
#editor .unified-field{
 position:relative;
 box-sizing:border-box;
 inline-size:100%;
 block-size:44px;
 margin-block-start:6px;
 overflow:hidden;
 border:1.5px solid var(--olive);
 border-radius:10px;
 background:var(--unified-field-surface,#fff);
}
:root[data-mode=dark] #editor .unified-field{--unified-field-surface:var(--light)}
#editor .unified-field:focus-within{
 border-color:var(--olive);
 box-shadow:0 0 0 3px color-mix(in srgb,var(--olive) 35%,transparent);
}
#editor .unified-field :is(#mdlg-day,#mdlg-date){
 appearance:none;
 position:absolute;
 inset:0;
 box-sizing:border-box;
 display:block;
 width:100%;
 height:100%;
 min-width:0;
 min-height:0;
 max-width:100%;
 margin:0;
 padding:0 10px;
 border:0!important;
 border-radius:0;
 background:transparent!important;
 box-shadow:none!important;
 color:var(--ink);
}
#editor .unified-field #mdlg-day{padding-inline-end:32px}
#editor .unified-field::after{z-index:1}
#editor .unified-field #mdlg-date::-webkit-date-and-time-value{
 display:flex;
 align-items:center;
 min-width:0;
 height:100%;
 margin:0;
 text-align:left;
}


/* Keep each count beside its tab label, with extra space for the longer labels. */
#main .segmented.mine-tabs{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
}
#main .segmented.mine-tabs button{
 display:flex;
 justify-content:center;
 min-width:0;
 min-height:44px;
 padding-inline:2px;
 font-size:clamp(.73rem,3.56vw,.9rem);
 text-align:center;
}
#main .segmented.mine-tabs button>span{white-space:normal;min-width:0;max-width:100%}
#main .segmented.mine-tabs .mine-tab-tail{display:inline-flex;align-items:center;gap:.24em;white-space:nowrap;vertical-align:middle}
#main .segmented.mine-tabs b{
 display:inline-block;
 min-width:1.55em;
 margin:0;
 padding:1px 3px;
 font-size:.72em;
 vertical-align:middle;
}

.unified-plate-label{
 display:inline-block;
 margin-inline-start:4px;
 padding:1px 5px;
 border-radius:5px;
 background:var(--accent);
 color:var(--olive);
 font-size:.72em;
 font-weight:650;
 white-space:nowrap;
 vertical-align:middle;
}
#main .segmented.mine-tabs{gap:4px}
#main .segmented.mine-tabs button{border-radius:12px;color:var(--ink)}
#main .segmented.mine-tabs button.active{
 background:var(--accent);
 color:var(--olive);
 box-shadow:inset 0 0 0 1px var(--olive);
 font-weight:750;
}
#main .segmented.mine-tabs button.active b{background:var(--paper);color:inherit}


.notes-collection{gap:10px}
.note-entry{padding:14px}
.note-entry-heading{gap:10px}
.note-entry-heading img,.note-entry-icon{width:56px;height:60px}
.note-entry h2{font-size:1rem;line-height:1.25;margin:2px 0}
.note-entry h2 button{padding-inline:0}
.note-entry-content{
 display:grid;
 grid-template-columns:minmax(0,1fr) 44px;
 align-items:start;
 column-gap:6px;
 margin-top:6px;
}
.note-entry .note-excerpt{font-size:.94rem;line-height:1.35;margin:0;padding-top:11px}
.note-entry .note-entry-edit{
 display:grid;
 place-items:center;
 width:44px;
 height:44px;
 padding:0;
 border-radius:10px;
 color:var(--olive);
}
.note-entry-edit .icon{width:18px;height:18px}
.notes-collection~.settings-row{min-height:48px;margin-top:10px;padding-block:8px}
.notes-collection~.legal-links{margin-top:14px}
.pay-offer-line{margin:8px 0 0;font-size:.8125rem;line-height:1.4;text-align:center;color:var(--muted)}.pay-offer-line a{color:inherit;text-decoration:underline}

/* Пошук: блоки результатів */
html body .search{position:relative}
html body .search.search-docked{position:fixed}
/* Під час пошуку сторінка не коротшає, тож не «підскакує», коли знайдено мало. */
.recipe-grid.searching{min-height:100vh;align-content:start}
.near-note,.did-you-mean{grid-column:1/-1;margin:4px 0}
