:root{color-scheme:light;--ink:#2e2430;--muted:#65534f;--tomato:#a82721;--tomato-hi:#8c1e1a;--plum:#4c3356;--herb:#28543b;--olive:#dceacb;--lavender:#eadcf1;--pink:#f9d9d4;--lemon:#fcdf82;--cream:#fff8ec;--paper:#fffcf7;--line:#dbcbbd;--input-line:#a68b82;--radius:1.3rem;font:100%/1.55 system-ui,-apple-system,sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);min-height:100svh;padding-bottom:6rem}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #765288;outline-offset:3px}button[disabled]{opacity:.57;cursor:not-allowed}a{color:var(--herb);text-underline-offset:.13em}img{display:block}.shell{max-width:68rem;margin:auto;padding-inline:clamp(.83rem,3.9vw,2.1rem)}
.mast{background:var(--paper);border-bottom:1px solid var(--line)}.brand{min-height:5rem;display:flex;align-items:center;gap:.72rem;padding-block:.65rem}.brand img{width:2.8rem;height:2.8rem}.brand b{font-family:Georgia,serif;font-size:1.65rem;line-height:1.1;display:block;letter-spacing:-.07em}.brand small{font-size:.7rem;letter-spacing:.095em;color:var(--muted);font-weight:800}.private{margin-left:auto;font-size:.78rem;color:var(--herb);padding:.3rem .62rem;background:var(--olive);border-radius:999px;white-space:nowrap;font-weight:780}
#main{padding-top:clamp(.8rem,3vw,1.72rem)}.hero{border-radius:clamp(1.2rem,3vw,1.85rem);color:var(--ink);background:#f9d8d0;border:1px solid #e4aaa1;padding:clamp(1.12rem,4.4vw,2.8rem);position:relative;isolation:isolate;overflow:hidden;box-shadow:0 .35rem 1.15rem #694a3a12}.hero:has(.actions){background-color:#fbe5c1;border-color:#e8bb9c}.hero:has(.actions)>*{max-width:55%}.hero h1{font-family:Georgia,"New York",serif;font-weight:500;line-height:.98;font-size:clamp(2.4rem,6.65vw,5.1rem);letter-spacing:-.075em;max-width:14ch;margin:.32rem 0 1.03rem;text-wrap:balance}.hero p:not(.kicker){color:#513a3d;max-width:42ch}.hero:has(.actions) p:not(.kicker){max-width:min(39ch,53%)}.hero p.kicker{color:#7d372e}.hero .actions{margin-top:.9rem}.hero:not(:has(.actions)){background:radial-gradient(ellipse at 100% 0%,#eeb5a8,transparent 62%),var(--pink)}.hero:not(:has(.actions)) h1{max-width:18ch}
.kicker{margin:0;color:var(--herb);font-size:.75rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}h1,h2,h3,p{overflow-wrap:break-word}h1,h2,h3{color:inherit}h1{font:500 clamp(2.25rem,7vw,3.75rem)/1.03 Georgia,serif;margin:.1rem 0 .4rem;letter-spacing:-.07em}h2{font:500 1.8rem/1.09 Georgia,serif;margin:0 0 .55rem;letter-spacing:-.06em}h3{line-height:1.22;margin:0 0 .3rem;font-size:1.1rem;letter-spacing:-.015em}p{margin:.3rem 0 .76rem}.muted{color:var(--muted)}.small{font-size:.92rem}.actions,.heading,.row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.heading,.row{justify-content:space-between}.heading{margin-bottom:.7rem}.section{margin-top:clamp(1.25rem,4vw,2.25rem)}
.button,button{min-height:44px;border:1px solid var(--line);background:var(--paper);border-radius:.83rem;padding:.61rem .86rem;font-weight:730;line-height:1.27}.primary{background:var(--tomato);border-color:var(--tomato);color:#fff8ed;box-shadow:0 2px 0 #751c1750}.primary:hover,.primary:focus-visible{background:var(--tomato-hi)}.quiet{background:transparent;border-color:#ae8c82}.quiet:hover{background:#b6625510}.hero .quiet{border-color:#9c7468;background:#fff8e370}.hero .quiet:hover{background:#fff8e3}
.cards{display:grid;gap:.72rem}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(.85rem,2.3vw,1.18rem);box-shadow:0 3px 0 #7d483207}.empty{border:1px dashed #bba998;background:#fffaf0}.badge{font-size:.82rem;font-weight:760;display:inline-block;padding:.27rem .61rem;background:var(--olive);border-radius:999px;color:var(--herb);line-height:1.25;max-width:100%}.warn{color:#842d23;background:var(--pink)}.top-line .badge:not(.warn){background:var(--lavender);color:var(--plum)}.label{display:block;font-weight:690;margin:.44rem 0}.label input,.label select,.label textarea{display:block;width:100%;min-width:0;margin:.22rem 0 .42rem;border:1px solid var(--input-line);background:white;padding:.64rem;border-radius:.65rem;min-height:44px}.label textarea{min-height:6rem}.grid{display:grid;gap:.62rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,11rem),1fr))}.filters{margin-bottom:.8rem}.pills,.tabs .shell{display:flex;gap:.4rem}.pills{flex-wrap:wrap;margin-top:.5rem}.pills button[aria-pressed=true]{background:var(--herb);color:#fff;border-color:var(--herb)}.pills button[data-value="Running low"][aria-pressed=true],.pills button[data-pick-stock="Running low"][aria-pressed=true]{background:var(--lemon);color:#56391d;border-color:#8a6628}.pills button[data-value="Out"][aria-pressed=true],.pills button[data-pick-stock="Out"][aria-pressed=true]{background:var(--plum);color:#fff;border-color:var(--plum)}
.tabs{position:fixed;bottom:0;inset-inline:0;z-index:3;background:#fff9efd6;backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:.4rem .17rem max(.45rem,env(safe-area-inset-bottom))}.tabs .shell{max-width:35rem}.tabs .shell button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.23rem;border-color:transparent;font-size:.85rem;background:transparent;min-height:49px;padding:.35rem;border-radius:.75rem;color:var(--muted)}.tabs button svg{width:1.16rem;height:1.16rem;stroke:currentColor;fill:none;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.tabs .shell button[aria-current=page]{background:var(--pink);color:#7e271f}.tabs .shell button:hover{border-color:var(--line)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}dialog{border:1px solid var(--line);border-radius:1.2rem;max-width:min(36rem,calc(100% - 1rem));width:100%;max-height:88svh;padding:1rem;color:var(--ink);box-shadow:0 1rem 3rem #291b2955;background:var(--paper)}dialog::backdrop{background:#352131a8}.sheet-top{display:flex;align-items:center;justify-content:space-between;gap:.5rem;position:sticky;top:-1rem;z-index:2;background:var(--paper);padding:.6rem 0}.sheet-top h2{margin:0}.review{margin:.55rem 0;min-inline-size:0}.review legend{font-weight:780;overflow-wrap:anywhere;padding:0 .25rem}.check{display:flex;align-items:center;gap:.6rem;font-weight:720;min-height:44px}.check input{width:1.15rem;height:1.15rem;accent-color:var(--herb)}.notice{padding:.6rem .75rem;background:var(--lavender);color:var(--plum);border-radius:.7rem}.danger{color:var(--tomato-hi)}.footer{padding:1.25rem 0;color:var(--muted);font-size:.92rem}.recipe-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr))}.recipe{border-top:4px solid #d6a8de}.recipe:nth-child(2){border-top-color:#eec65e}.recipe:nth-child(3){border-top-color:#95b585}.recipe ol{padding-left:1.24rem}.recipe li{padding:.2rem 0}.recipe .badge{margin-bottom:.5rem}.pills button{font-size:.94rem}.top-line{display:flex;justify-content:space-between;align-items:flex-start;gap:.42rem;flex-wrap:wrap}.top-line p{margin:0}summary{cursor:pointer;font-weight:680;min-height:2rem}.footer details{padding:.35rem 0}
@media(max-width:42rem){.hero:has(.actions)>*{max-width:100%}.hero:has(.actions) p:not(.kicker){max-width:100%}.hero:has(.actions) h1{position:relative;max-width:74%;font-size:clamp(2.15rem,9vw,3.2rem)}.hero:has(.actions) p:not(.kicker){position:relative}.hero .actions{gap:.5rem}.hero .actions button{padding:.57rem .63rem}}
@media(max-width:345px){.brand img{width:2.45rem;height:2.45rem}.brand small{font-size:.63rem;letter-spacing:.04em}.private{font-size:.67rem}.tabs button,.pills button{padding:.48rem}.hero .actions button{min-width:min(100%,8rem)}}
@media(max-width:345px){.hero .actions .primary{flex-basis:100%}.hero .actions .quiet{font-size:.88rem;min-width:0;padding-inline:.54rem}}
/* Home shelf cards turn the brand motif into a real inventory shortcut. */
.hero.home-hero{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr);align-items:center;gap:clamp(1.2rem,3vw,2.9rem);background:#fff0dc;border-color:#e9c7ac}
.hero.home-hero>*{max-width:none}.hero.home-hero h1{max-width:14ch;font-size:clamp(2.5rem,6.4vw,4.7rem);margin-top:0}.hero.home-hero p:not(.kicker){max-width:34ch}
.hero .actions .tertiary{font-weight:690;background:transparent;border-color:transparent;color:var(--herb);text-decoration:underline;text-underline-offset:.19em;box-shadow:none}.hero .actions .tertiary:hover{background:#eadfc9}
.shelf-board{min-width:0;margin:0;padding:1.05rem 1.02rem .86rem;background:#fffaf0;border:1px solid #e6c8ab;border-radius:1.15rem;box-shadow:0 .26rem .8rem #54322010}.shelf-board h2{font-size:clamp(1.28rem,2.8vw,1.68rem);margin:0 0 .7rem}
.shelf-bins{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.43rem;align-items:stretch;border-bottom:5px solid #a35c40;padding-bottom:.22rem;border-radius:0 0 .24rem .24rem}
.shelf-bin{display:grid;gap:.18rem;align-content:center;justify-items:start;padding:clamp(.45rem,1.4vw,.7rem);min-width:0;min-height:5.6rem;border-radius:.55rem .55rem .25rem .25rem;font-size:clamp(.72rem,1.56vw,.9rem);font-weight:860;text-align:left;overflow-wrap:anywhere;box-shadow:inset 0 3px 0 #ffffff70;transition:transform 140ms ease}
.shelf-bin:hover{transform:translateY(-.17rem)}.shelf-bin:active{transform:none}.shelf-bin:focus-visible{outline-offset:2px}.shelf-count{font:500 clamp(1.6rem,4.6vw,2.75rem)/1 Georgia,serif;letter-spacing:-.07em}
.bin-0{color:#682c29;background:#f6cdc0;border-color:#d9998a}.bin-1{color:#433251;background:#e7d9f3;border-color:#b9a1cd}.bin-2{color:#35502e;background:#dbe9b6;border-color:#9fac74}
@media(min-width:43rem){.hero .actions{align-items:center;gap:.48rem}}
@media(max-width:42rem){
 .hero.home-hero{grid-template-columns:1fr;gap:.9rem;padding:clamp(1rem,4.7vw,1.4rem)}
 .hero.home-hero h1{font-size:clamp(2.25rem,9vw,3.2rem);max-width:15ch;line-height:1.02;margin-bottom:.64rem}
 .hero .actions .primary{flex-basis:100%}.hero .actions button{padding:.56rem .66rem}.hero .actions .quiet{font-size:.89rem;min-width:0}.hero .actions .tertiary{padding-inline:.42rem}
 .shelf-board{padding:.67rem .63rem .55rem}.shelf-board h2{margin-bottom:.42rem}
 .shelf-bin{min-height:3.7rem;justify-items:center;text-align:center;padding:.37rem .16rem}
}
@media(prefers-reduced-motion:reduce){.shelf-bin{transition:none}.shelf-bin:hover{transform:none}}

/* Window light, tactile color, and a real shelf edge. */
body{
 background:
 radial-gradient(ellipse at 18% -4%,#fffef7 2%,transparent 48%),
 radial-gradient(ellipse at 92% 25%,#f7ebf1 0%,transparent 45%),
 linear-gradient(160deg,#fff6e8 0%,#fff8ee 55%,#f7eee6 100%);
}
.mast{background:#fffcf6ea;box-shadow:0 .32rem 1.4rem #5f39350a}
.brand img{filter:drop-shadow(0 3px 5px #8b2c3c23)}
.hero.home-hero{
 background:radial-gradient(ellipse 103% 88% at 9% 3%,#fff8e5 3%,transparent 78%),linear-gradient(135deg,#fff3da,#f8dfc8 72%,#f2d1cf);
 border-color:#e5c1a4;
 box-shadow:0 1px 1px #74503e24,0 .58rem 1rem -.58rem #8e483a48,0 1.8rem 3.5rem -2.65rem #6a354979,inset 0 1px #fffdf1;
}
.hero .primary{
 background:linear-gradient(175deg,#af3127,#91221d);
 border-color:#89231d;
 box-shadow:inset 0 1px 0 #ffbba354,0 2px 0 #671a1a68,0 .48rem 1rem -.65rem #772724b8;
}
.hero .primary:hover,.hero .primary:focus-visible{background:linear-gradient(175deg,#a52b21,#781a16)}
.hero .actions .quiet:not(.tertiary){box-shadow:0 1px 0 #70433124,inset 0 1px #fffef3}
.shelf-board{
 background:radial-gradient(ellipse at 11% 0%,#fffefd 3%,transparent 85%),linear-gradient(150deg,#fff8ed,#f5dacf);
 border-color:#e1bea8;
 box-shadow:inset 0 1px 0 #fffef1,0 .4rem .75rem -.36rem #98665059,0 1.42rem 2.15rem -1.64rem #613d535a;
}
.shelf-bins{position:relative;isolation:isolate;border:0;border-radius:0;padding-bottom:.45rem;gap:.52rem}
.shelf-bins::after{
 content:"";position:absolute;z-index:-1;inset:auto -.2rem 0;height:.61rem;border-radius:.12rem .12rem .28rem .28rem;
 background:linear-gradient(180deg,#eebd91 0 27%,#ba7955 31%,#905634 94%);
 box-shadow:0 .24rem .25rem #834e3a34,0 .47rem .52rem -.17rem #61432e47;
}
.shelf-bin{
 position:relative;border-radius:.64rem .64rem .24rem .24rem;overflow:hidden;
 box-shadow:inset 0 1px 0 #fffdf0c4,inset -.21rem 0 #48343f12,0 3px 0 #67382a38,0 .24rem .45rem #7041351e;
}
.shelf-bin::after{
 content:"";pointer-events:none;position:absolute;inset:.3rem .36rem auto auto;width:.42rem;aspect-ratio:1;
 border-top:1px solid #fff8df;border-right:1px solid #fff8df;border-radius:0 .22rem 0 0;opacity:.9;
}
.bin-0{background:linear-gradient(138deg,#fbe1d1,#f4b8a9);color:#682c29}
.bin-1{background:linear-gradient(138deg,#efe6fa,#d8c1ea);color:#433251}
.bin-2{background:linear-gradient(138deg,#eaf2c8,#c9dd9a);color:#35502e}
.shelf-bin:hover{box-shadow:inset 0 1px 0 #fffdf0c4,inset -.21rem 0 #48343f12,0 .56rem .6rem -.33rem #70413570}
#main .card:not(.empty){box-shadow:0 .34rem 1rem -.85rem #56364360}
.tabs{background:#fffcf6ec;box-shadow:0 -.28rem 1.3rem #552f4010}
.tabs .shell button[aria-current=page]{background:linear-gradient(150deg,#fce3d7,#f5cec8);box-shadow:inset 0 1px #fff2e8,0 1px 0 #c1797426}
@media(min-width:43rem){.shelf-board{padding:1.3rem 1.2rem 1.13rem}.shelf-bin{min-height:6.4rem}.shelf-bins{gap:.66rem}.hero.home-hero{padding-block:clamp(1.65rem,4.6vw,3.25rem)}}

/* Ceramic shelf labels and a quieter, editorial frame. */
.hero.home-hero{background:radial-gradient(ellipse at 0% 0%,#fffdf0 4%,transparent 67%),radial-gradient(ellipse at 101% 100%,#e8c1ce 0%,transparent 55%),linear-gradient(115deg,#fcf0d6 12%,#f5dcc4 72%)}
.hero.home-hero h1{text-wrap:balance}
.shelf-board{background:radial-gradient(ellipse at 10% -10%,#fffcf6,transparent 90%),#e9c9b8;border-color:#d5aa91;box-shadow:inset 0 1px #fffaf1,0 1px 2px #48302620,0 19px 26px -21px #63382caa}
.shelf-board h2{display:flex;align-items:center;gap:.64rem}
.shelf-board h2::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,#a4665059,#a466501c)}
.shelf-bin{gap:.28rem;padding-block-start:.64rem;border-radius:.86rem .86rem .42rem .42rem;background:radial-gradient(ellipse at 14% -9%,var(--glaze),transparent 86%),linear-gradient(150deg,var(--tile-top),var(--tile-base));box-shadow:inset 0 2px 0 #fffdf0b5,inset -3px -2px 0 #4e324013,0 2px 0 #663f3448,0 .25rem .5rem #70413525}
.shelf-bin::after{inset:.34rem .48rem auto auto;width:.57rem;height:.16rem;border:0;border-radius:99px;background:#fffcf2b3}
.shelf-bin .shelf-count{font-variant-numeric:lining-nums tabular-nums}
.bin-0{--glaze:#fff0df;--tile-top:#f4c7b7;--tile-base:#eeb3a4;color:#602823}
.bin-1{--glaze:#f9efff;--tile-top:#e6d4f0;--tile-base:#d5bfe7;color:#3c2852}
.bin-2{--glaze:#f8fbd8;--tile-top:#e0edb4;--tile-base:#c6d996;color:#2d4828}
.shelf-bins::after{height:.68rem;background:linear-gradient(#edbb90 0 23%,#be7953 24% 47%,#995e3d 50%,#814827)}
@media(max-width:42rem){.hero.home-hero h1{text-wrap:wrap}.shelf-bin{padding-block-start:.48rem;border-radius:.64rem .64rem .35rem .35rem}.shelf-bin::after{inset:.24rem .34rem auto auto;width:.42rem}}
