:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ink:#241c16;--muted:#8a7668;--paper:#f3ecdf;--card:#fffaf3;--line:#eadfce;--terra:#c4512c;--terra-deep:#8d3418;--cream:#fffaf3;--sand:#f7f1e6;color:var(--ink);background:#e7dccb;font-family:Vazirmatn,Tahoma,sans-serif;line-height:1.5}*{box-sizing:border-box}body{min-height:100dvh;margin:0}button,input,select{font:inherit;color:inherit}main{background:radial-gradient(520px 220px at 100% 0%, #f6d7c4 0%, transparent 60%), var(--paper);flex-direction:column;width:min(440px,100%);height:100dvh;margin:0 auto;display:flex;overflow:hidden}@media (width>=760px){body{place-items:center;padding:28px 16px;display:grid}main{border-radius:32px;height:min(920px,100dvh - 56px);box-shadow:0 30px 80px #462a162e}}.screen{padding:max(1.15rem, env(safe-area-inset-top)) 1.15rem 1.35rem 1.15rem;flex:1;overflow:auto}.topbar{justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.1rem;display:flex}.brand{letter-spacing:.14em;text-transform:uppercase;color:var(--terra-deep);margin:0;font-size:.78rem;font-weight:700}.who,h1{margin:0}h1{letter-spacing:-.03em;font-size:1.7rem;font-weight:750}.who{background:var(--cream);color:var(--muted);border-radius:999px;padding:.35rem .7rem;font-size:.82rem;font-weight:600}.session{align-items:center;gap:.35rem;display:flex}.hello p{color:var(--muted);margin:0;font-size:.92rem}.hello h2{letter-spacing:-.04em;margin:.15rem 0 1rem;font-size:2.15rem;font-weight:750;line-height:1.15}.bento{grid-template-columns:1fr 1fr;gap:.7rem;display:grid}.poster,.tile,ul>li,ol:not(.steps)>li,.adder,.field select,.field input{background:var(--card)}.poster{text-align:right;cursor:pointer;border:0;border-radius:1.4rem;grid-column:1/-1;align-items:center;gap:.95rem;width:100%;padding:1rem;display:flex;box-shadow:0 10px 30px #5a32180f}.poster em,.tile span,.row em,.meta,.status,.lead,button.card p{color:var(--muted);font-style:normal}.poster em{color:var(--terra);font-size:.78rem;font-weight:700;display:block}.poster strong{letter-spacing:-.03em;margin-top:.15rem;font-size:1.35rem;display:block}.poster small{color:var(--muted);margin-top:.2rem;display:block}.tile{text-align:right;cursor:pointer;border:0;border-radius:1.25rem;min-height:6.2rem;padding:.9rem 1rem}.tile strong{letter-spacing:-.04em;font-variant-numeric:tabular-nums;font-size:2rem;display:block}.tile.warm{color:#fff8f3;background:#c4512c}.tile.warm span{color:#ffd8c8}.block{margin-top:1.35rem}.block-head{justify-content:space-between;align-items:baseline;margin-bottom:.55rem;display:flex}.block-head h2{font-size:1.05rem}.block-head button{color:var(--terra);cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.rail{scroll-snap-type:x mandatory;grid-auto-columns:68%;grid-auto-flow:column;gap:.65rem;padding-bottom:.15rem;display:grid;overflow-x:auto}.rail button{scroll-snap-align:start;background:var(--card);text-align:right;cursor:pointer;border:0;border-radius:1.25rem;justify-items:start;gap:.35rem;min-height:8.5rem;padding:.9rem;display:grid}.rail strong{font-size:1.05rem}.rail small,.quiet{color:var(--muted);font-size:.82rem}.quiet{margin:0}ul.panel{background:var(--card);border-radius:1.2rem;gap:0;padding:.15rem .95rem}ul.panel>li{box-shadow:none;border-bottom:1px solid var(--line);background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem 0;display:flex}ul.panel>li:last-child{border-bottom:0}ul.panel span{color:var(--muted);font-size:.86rem}.skeleton{background:linear-gradient(100deg,#efe6d8 20%,#f8f3ea 45%,#efe6d8 70%) 0 0/200% 100%;border-radius:1.3rem;animation:1.1s ease-in-out infinite sheen;display:block}.skeleton.poster{min-height:6.4rem}.skeleton.tile,.skeleton.stock{min-height:4.6rem}.pantry-bar{justify-content:space-between;align-items:center;gap:.75rem;margin:.15rem 0 .7rem;display:flex}.pantry-count{margin:0}.captures{grid-template-columns:1fr 1fr;gap:.65rem;margin-bottom:.95rem;display:grid}.capture{background:var(--ink);color:#fff8f2;cursor:pointer;border-radius:1.3rem;flex-direction:column;justify-content:space-between;gap:.85rem;min-height:7.6rem;padding:.85rem .9rem .95rem;display:flex;position:relative;overflow:hidden;box-shadow:0 12px 28px #241c161f}.capture.cook{background:var(--card);color:var(--ink);box-shadow:0 10px 24px #5a32180f}.capture .mark{background:#fff8f224;border-radius:.65rem;place-items:center;width:1.85rem;height:1.85rem;font-size:1.15rem;font-weight:700;line-height:1;display:grid}.capture.cook .mark{color:var(--terra-deep);background:#f6d7c4}.capture strong,.capture small{display:block}.capture strong{letter-spacing:-.02em;font-size:1.02rem;line-height:1.3}.capture small{color:inherit;opacity:.72;margin-top:.15rem;font-size:.74rem;line-height:1.45}.capture.busy{opacity:.65}.capture input,.photo input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.segment{background:#fff;border-radius:999px;grid-template-columns:auto auto;gap:.15rem;padding:.2rem;display:grid}.segment button{color:var(--muted);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:.38rem .7rem;font-size:.78rem;font-weight:700}.segment button.chosen{background:var(--ink);color:#fff8f2}.search{margin:0 0 .8rem;display:block}.search input{width:100%;color:var(--ink);background:#fff;border:0;border-radius:999px;padding:.78rem 1rem;box-shadow:0 8px 22px #5a32180d}.search input::placeholder{color:#b3a394}.sr{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.stock-list{gap:.55rem;display:grid}.stock-list>li{background:var(--card);border-radius:1.2rem;gap:.42rem;padding:.9rem 1rem;display:grid;box-shadow:0 8px 22px #5a32180d}.stock-top{justify-content:space-between;align-items:baseline;gap:.75rem;display:flex}.stock-top b{font-variant-numeric:tabular-nums;white-space:nowrap}.stock-list small{color:var(--muted)}.track{background:#efe4d4;border-radius:999px;height:.38rem;display:block;overflow:hidden}.track>span{border-radius:inherit;background:#2f6b45;height:100%;display:block}.stock-list li.low .track>span{background:var(--terra)}.stock-list li.low small{color:var(--terra-deep)}.delta{font-variant-numeric:tabular-nums}.delta.plus{color:#2f6b45}.delta.minus{color:var(--terra-deep)}@keyframes sheen{0%{background-position:100% 0}to{background-position:-100% 0}}.shortcuts{gap:.45rem;margin-top:.9rem;display:flex;overflow:auto}.shortcuts button,.text-action,.photo,.filters button{white-space:nowrap;cursor:pointer;color:var(--ink);background:#fff;border:0;border-radius:999px;padding:.55rem .85rem}.ring{border-radius:50%;flex:none;place-items:center;width:4.4rem;height:4.4rem;display:grid}.ring>span{background:var(--card);border-radius:50%;place-items:center;width:3.25rem;height:3.25rem;font-size:.95rem;font-weight:750;display:grid}.row .ring{width:3.1rem;height:3.1rem}.row .ring>span{width:2.3rem;height:2.3rem;font-size:.75rem}ul,.menu{gap:.55rem;margin:.2rem 0 0;padding:0;list-style:none;display:grid}ul>li,ol:not(.steps)>li{border-radius:1.15rem;padding:.85rem .95rem}:is(ul>li:has(.row),ul>li:has(.card)){padding:0}.row,button.card{border-radius:inherit;text-align:right;cursor:pointer;background:0 0;border:0;align-items:center;gap:.75rem;width:100%;padding:.7rem .75rem;display:flex}.row strong,h2{margin:0;font-size:1.02rem;font-weight:700;display:block}.row em{font-size:.82rem;display:block}.back{color:var(--terra);cursor:pointer;background:0 0;border:0;margin:0 0 .8rem;padding:0;font-weight:700}.filters,.actions,.adder{flex-wrap:wrap;align-items:end;gap:.45rem;margin:0 0 .8rem;display:flex}.text-action.chosen,.primary{background:var(--ink);color:#fff8f2;font-weight:700}.primary{cursor:pointer;border:0;border-radius:999px;width:100%;margin-top:.9rem;padding:.9rem 1rem}.primary:disabled,.text-action:disabled{opacity:.4;cursor:default}.photo.busy{opacity:.6}.photo input{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.field{min-width:7rem;color:var(--muted);gap:.25rem;font-size:.86rem;display:grid}.field input,.field select{background:var(--sand);border:0;border-radius:.8rem;padding:.55rem .7rem}.section{margin:1.2rem 0 .6rem;font-size:1rem}ol:not(.steps){gap:.45rem;margin:.8rem 0 0;padding:0;list-style:none;display:grid}ol:not(.steps)>li.short{color:var(--terra-deep);background:#fde8df}.basket{grid-template-columns:auto 1fr;align-items:center;gap:.7rem;display:grid}.rank{width:2rem;height:2rem;color:var(--terra-deep);background:#f6d7c4;border-radius:50%;place-items:center;font-weight:750;display:grid}.price{margin:.25rem 0 0;font-weight:750}.lead{margin:.7rem 0 0}.status{color:var(--terra-deep);background:#fff6f1;border-radius:1rem;margin:.75rem 0;padding:.8rem .95rem;line-height:1.65}.tabbar{margin:0 .7rem calc(.7rem + env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffaf3e0;border-radius:1.3rem;grid-template-columns:repeat(4,1fr);gap:.2rem;padding:.35rem;display:grid;box-shadow:0 10px 30px #462a161a}.tabbar button{color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:1rem;justify-items:center;gap:.1rem;padding:.4rem .1rem .35rem;font-size:.72rem;font-weight:650;display:grid}.tabbar svg{width:1.35rem;height:1.35rem}.tabbar button.on{background:var(--ink);color:#fff8f2}.head-back{background:#fff;border-radius:999px;margin:0;padding:.35rem .75rem}.loading-stack{gap:.55rem;display:grid}.segment.trio{grid-template-columns:repeat(3,1fr);width:100%;margin-bottom:.75rem}.recipe-list{margin-top:.75rem}ul.recipe-list>li{background:var(--card);padding:0;box-shadow:0 8px 22px #5a32180d}.recipe-row{border-radius:inherit;text-align:right;cursor:pointer;background:0 0;border:0;align-items:center;gap:.75rem;width:100%;padding:.75rem .8rem;display:flex}.recipe-row strong{display:block}.recipe-row small{color:var(--muted);margin-top:.15rem;font-size:.78rem;display:block}.recipe-hero{align-items:center;gap:.95rem;display:flex}.recipe-hero h1{letter-spacing:-.04em;font-size:1.85rem;line-height:1.15}.recipe-hero p{color:var(--muted);margin:.3rem 0 0;font-size:.88rem}.facts{grid-template-columns:repeat(3,1fr);gap:.5rem;margin-top:.95rem;display:grid}.facts span{background:var(--card);color:var(--muted);border-radius:1rem;gap:.12rem;padding:.7rem .75rem;font-size:.75rem;display:grid}.facts b{color:var(--ink);font-size:.92rem;font-weight:750}.method{background:var(--card);border-radius:1.2rem;margin:0;padding:1rem 1.05rem;line-height:1.9;box-shadow:0 8px 22px #5a32180d}ol.steps{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}ol.steps>li{background:var(--card);border-radius:1.1rem;grid-template-columns:auto 1fr;align-items:start;gap:.7rem;padding:.85rem .95rem;display:grid;box-shadow:0 8px 22px #5a32180d}ol.steps p{margin:0;line-height:1.8}.step-no{width:1.65rem;height:1.65rem;color:var(--terra-deep);background:#f6d7c4;border-radius:50%;place-items:center;font-size:.78rem;font-weight:750;display:grid}.block-head .warn,.block-head .ok-note{font-size:.8rem;font-weight:700}.block-head .warn{color:var(--terra-deep)}.block-head .ok-note{color:#2f6b45}ul.ingredients{gap:.55rem}ul.ingredients>li{background:var(--card);gap:.35rem;display:grid;box-shadow:0 8px 22px #5a32180d}ul.ingredients>li.short{background:#fff6f1}ul.ingredients .line{justify-content:space-between;align-items:baseline;gap:.6rem;display:flex}ul.ingredients .tag{white-space:nowrap;font-size:.75rem;font-style:normal;font-weight:750}ul.ingredients>li.ok .tag{color:#2f6b45}ul.ingredients>li.short .tag{color:var(--terra-deep)}ul.ingredients>li.optional .tag{color:var(--muted)}ul.ingredients>li.short .track>span{background:var(--terra)}ul.ingredients small{color:var(--muted)}.cook-note{margin-top:.65rem}.receipt-banner{margin-bottom:.95rem}.receipt-banner .capture{flex-direction:row;justify-content:flex-start;align-items:center;gap:.85rem;min-height:0;padding:1rem 1.05rem}.receipt-banner .capture small{margin-top:.12rem}.empty-card{background:var(--card);border-radius:1.2rem;padding:1.05rem 1rem;box-shadow:0 8px 22px #5a32180d}.empty-card strong{margin-bottom:.2rem;display:block}.empty-card p{color:var(--muted);margin:0;font-size:.88rem;line-height:1.7}ul.shop-lines{gap:.55rem}ul.shop-lines>li{background:var(--card);justify-items:start;gap:.35rem;display:grid;box-shadow:0 8px 22px #5a32180d}ul.shop-lines .line{justify-content:space-between;align-items:baseline;gap:.7rem;width:100%;display:flex}ul.shop-lines b{font-variant-numeric:tabular-nums;white-space:nowrap}ul.shop-lines small{color:var(--muted)}.buy{background:var(--ink);color:#fff8f2;cursor:pointer;border:0;border-radius:999px;padding:.42rem .9rem;font-size:.82rem;font-weight:700}.buy:disabled{opacity:.45;cursor:default}.shop-note{margin-top:.65rem}.winner{background:var(--ink);color:#fff8f2;border-radius:1.3rem;grid-template-columns:auto 1fr;align-items:center;gap:.35rem .85rem;padding:1rem;display:grid;box-shadow:0 14px 32px #241c1624}.winner em{color:#f6d7c4;font-size:.75rem;font-style:normal;font-weight:750;display:block}.winner strong{letter-spacing:-.02em;margin-top:.1rem;font-size:1.15rem;display:block}.winner small{color:#fff8f2b8;margin-top:.15rem;font-size:.8rem;display:block}.winner .rank{color:var(--terra-deep);background:#f6d7c4}.price-lg{letter-spacing:-.04em;font-variant-numeric:tabular-nums;grid-column:1/-1;margin:.35rem 0 0;font-size:1.65rem;font-weight:750}ul.basket-list{background:var(--card);border-radius:1.2rem;gap:0;margin-top:.65rem;padding:.2rem .95rem;box-shadow:0 8px 22px #5a32180d}ul.basket-list>li{border-bottom:1px solid var(--line);background:0 0;border-radius:0;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.8rem 0;display:grid}ul.basket-list>li:last-child{border-bottom:0}ul.basket-list strong,ul.basket-list small{display:block}ul.basket-list small{color:var(--muted);font-size:.78rem}ul.basket-list b{font-variant-numeric:tabular-nums;white-space:nowrap}.confirm-hero h1{letter-spacing:-.03em;font-size:1.7rem;line-height:1.2}.confirm-hero p{color:var(--muted);margin:.3rem 0 0;font-size:.88rem}.note-card{background:var(--card);border-radius:1.15rem;margin:.9rem 0 0;padding:.9rem 1rem;line-height:1.7;box-shadow:0 8px 22px #5a32180d}.note-card.warn{color:var(--terra-deep);background:#fff6f1}.note-card.empty{color:var(--muted)}ul.drafts{gap:.6rem;margin-top:.8rem}ul.drafts>li{background:var(--card);gap:.5rem;display:grid;box-shadow:0 8px 22px #5a32180d}ul.drafts label,.composer label{display:block}ul.drafts>li>button{justify-self:start}ul.drafts>li.short{background:#fff6f1}ul.drafts .line{justify-content:space-between;align-items:baseline;gap:.6rem;width:100%;display:flex}ul.drafts .tag{white-space:nowrap;font-size:.75rem;font-style:normal;font-weight:750}ul.drafts>li.ok .tag{color:#2f6b45}ul.drafts>li.short .tag{color:var(--terra-deep)}ul.drafts select,.composer select,.qty input{width:100%;color:var(--ink);background:#fff;border:0;border-radius:.9rem;padding:.7rem .8rem}ul.drafts>li.short select,ul.drafts>li.short .qty input{background:#fff}.qty{grid-template-columns:1fr auto;align-items:center;gap:.45rem;width:100%;display:grid}.qty span{color:var(--muted);white-space:nowrap;font-size:.82rem;font-weight:700}.composer{gap:.55rem;margin-top:1.15rem;display:grid}.ghost{cursor:pointer;background:#fff;border:0;border-radius:999px;padding:.72rem 1rem;font-weight:750;box-shadow:0 8px 22px #5a32180d}.stage{animation:.32s rise}@keyframes rise{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}button,.capture,.poster,.tile,.recipe-row{transition:transform .16s,background .16s,color .16s}.poster:active,.tile:active,.recipe-row:active,.capture:active,.primary:active,.buy:active,.ghost:active,.tabbar button:active{transform:scale(.985)}:focus-visible{outline:2px solid var(--terra);outline-offset:3px}.catalog-filter{width:100%;color:var(--ink);background:#fff;border:0;border-radius:999px;padding:.78rem 1rem;box-shadow:0 8px 22px #5a32180d}ul.catalog{gap:.5rem}ul.catalog>li{background:var(--card);justify-content:space-between;align-items:baseline;gap:.75rem;display:flex;box-shadow:0 8px 22px #5a32180d}ul.catalog small{color:var(--muted);white-space:nowrap;font-size:.78rem}.gate{align-content:center;gap:.35rem;min-height:100%;display:grid}.gate h1{margin-top:.8rem}.lead{color:var(--muted);margin:0 0 1rem}.auth-form{gap:.7rem;display:grid}.auth-form .field{min-width:0}.auth-form .field input{background:var(--card);border-radius:1rem;width:100%;padding:.85rem .95rem;box-shadow:0 8px 22px #5a32180d}.auth-switch{justify-self:center;margin-top:.4rem}@media (prefers-reduced-motion:reduce){.stage,.skeleton,button,.capture,.poster,.tile,.recipe-row{transition:none;animation:none}}
