@charset "UTF-8";
@font-face{font-family:Nunito;src:url("./fonts/nunito.ttf") format("truetype");font-style:normal;font-weight:200 1000;font-display:swap}
:root{color-scheme:dark;--bg:#281d2b;--panel:#392b3e;--panel2:#49364e;--line:#705774;--text:#fff1f6;--muted:#d5becf;--orange:#fda2b3;--orange-dark:#573448;--green:#c8da9c;--red:#ffbacb;--sage-panel:#30473d;--sage-text:#d9edc5;--sage-line:#63816d;--art1:#73485e;--art2:#476650;--art3:#66506d;--shadow:0 18px 60px #160d2229;font-family:Nunito,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-synthesis:none}
:root[data-theme=light]{color-scheme:light;--bg:#fce8ef;--panel:#fff5f8;--panel2:#f5ccdc;--line:#d7a9bd;--text:#48283c;--muted:#775367;--orange:#892c3e;--orange-dark:#f4bac6;--green:#345536;--red:#952e4d;--sage-panel:#e0edcd;--sage-text:#345536;--sage-line:#a4bf8b;--art1:#f4bac6;--art2:#c8da9c;--art3:#e5cce6;--shadow:0 18px 60px #892c3e18}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button{border:0;background:none;min-height:44px}a{color:var(--orange);text-underline-offset:4px}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--orange);outline-offset:3px}svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin:0}h1{font-size:clamp(31px,4vw,44px);letter-spacing:-1.7px;line-height:1.13;font-weight:650}h2{font-size:22px;letter-spacing:-.6px;line-height:1.3}h3{font-size:16px;line-height:1.4;font-weight:600}small,.small{font-size:12px}main{max-width:1130px;margin:auto;padding:38px 36px 130px}header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:27px 36px;border-bottom:1px solid var(--line);gap:12px}.brand{display:flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-.8px;font-weight:650}.brand-mark{background:var(--orange);color:#231f18;border-radius:12px;display:inline-grid;place-items:center;font-size:27px;font-weight:750;width:43px;height:43px;letter-spacing:-2px}.header-meta{display:flex;gap:14px;align-items:center}.prototype{font-size:10px;text-transform:uppercase;letter-spacing:1.1px;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:6px}.icon-btn{width:44px;display:inline-flex;justify-content:center;align-items:center;border-radius:50%}.icon-btn:hover{background:var(--panel2)}.muted{color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:1.7px;text-transform:uppercase;color:var(--orange);font-weight:650;margin-bottom:12px}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}.page-head p{color:var(--muted);margin-top:9px;font-size:14px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:12px 18px;border-radius:12px;font-size:14px;font-weight:600;background:var(--panel2);border:1px solid var(--line);min-height:46px;text-decoration:none}.btn.primary{background:var(--orange);color:#241e16;border-color:var(--orange)}.btn.full{width:100%}.btn.small-btn{font-size:12px;padding:8px 12px}.hero{border:1px solid var(--line);border-radius:22px;background:linear-gradient(120deg,var(--panel),var(--panel2));padding:30px 34px;position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 220px;align-items:center;margin-bottom:30px;min-height:200px}.hero h2{font-size:28px;max-width:370px;letter-spacing:-1px}.hero p{color:var(--muted);font-size:13px;max-width:400px;margin:12px 0 20px}.hero .eyebrow{margin-bottom:10px}.pantry-art{width:190px;height:160px;stroke:none;transform:rotate(-5deg);color:var(--orange);overflow:visible}.hero-stats{display:flex;gap:22px}.hero-stats span{display:block;color:var(--muted);font-size:11px}.hero-stats strong{font-weight:600;font-size:21px;letter-spacing:-.5px}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 17px}.section-bar h2{font-size:20px}.count{font-size:12px;background:var(--panel2);padding:4px 8px;border-radius:6px;color:var(--muted);margin-left:7px}.segments{display:flex;background:var(--panel);border:1px solid var(--line);padding:4px;border-radius:12px;gap:4px;flex-shrink:0}.segments button{border-radius:8px;padding:7px 17px;font-size:13px;min-height:44px;color:var(--muted)}.segments button.active{background:var(--panel2);color:var(--text);box-shadow:0 1px 3px #0002}.toolbar{display:flex;align-items:center;gap:14px}.search{display:flex;align-items:center;gap:10px;flex:1;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:0 15px;color:var(--muted)}.search input{border:0;background:transparent;outline:none;color:var(--text);width:100%;min-height:48px;font-size:14px;min-width:0}.search svg{width:18px}.chips{display:flex;gap:7px;overflow:auto;padding:14px 0 20px;scrollbar-width:none}.chips::-webkit-scrollbar{display:none}.chip{white-space:nowrap;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:24px;font-size:12px;color:var(--muted)}.chip.active{color:var(--orange);border-color:var(--orange);background:var(--orange-dark)}.inventory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product{display:flex;align-items:center;border:1px solid var(--line);background:var(--panel);border-radius:14px;padding:10px;gap:11px;min-width:0}.product-symbol{width:46px;height:48px;border-radius:11px;background:var(--panel2);display:grid;place-items:center;color:var(--green);font-size:22px;flex-shrink:0}.product-info{flex:1;min-width:0;text-align:left;padding:0;min-height:48px}.product-info h3{font-size:13px;letter-spacing:-.1px}.product-info p{font-size:11px;color:var(--muted);margin-top:3px}.stock{font-size:11px;display:block;color:var(--green);margin-top:3px}.stock.unknown{color:var(--muted)}.stock.zero{color:var(--orange)}.add-circle{border:1px solid var(--line);border-radius:50%;width:44px;flex-shrink:0;display:grid;place-items:center;color:var(--orange)}.add-circle:hover{background:var(--orange-dark)}nav{position:fixed;bottom:0;left:0;right:0;background:color-mix(in srgb,var(--bg) 94%,transparent);backdrop-filter:blur(20px);border-top:1px solid var(--line);z-index:20;display:flex;justify-content:center;padding:8px 20px max(12px,env(safe-area-inset-bottom))}nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--muted);font-size:10px;min-width:100px;position:relative;padding:6px 23px;min-height:58px}nav button.active{color:var(--orange)}nav button.active:before{content:"";position:absolute;top:-9px;left:25%;right:25%;height:2px;background:var(--orange)}.badge{position:absolute;top:1px;right:28px;min-width:15px;background:var(--orange);color:#231f18;font-size:9px;border-radius:10px;padding:0 4px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recipe-card{padding:0;text-align:left;border:1px solid var(--line);border-radius:17px;overflow:hidden;background:var(--panel);display:flex;flex-direction:column}.recipe-art{height:130px;background:var(--panel2);position:relative;overflow:hidden;display:grid;place-items:center}.plate{width:102px;height:102px;border-radius:50%;background:#fff5f8;box-shadow:0 6px 15px #48283c18,inset 0 0 0 8px #ffe5ee,inset 0 0 0 10px #d7a9bd;display:grid;place-items:center;transform:rotate(-14deg);font-size:49px;line-height:1}.recipe-art:before,.recipe-art:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;border:1px solid #ffffff09;right:-20px;top:-45px}.recipe-art:after{right:auto;left:-50px;top:60px;width:160px;height:160px}.recipe-body{padding:15px;flex:1}.recipe-body h3{font-size:15px;letter-spacing:-.3px;min-height:42px}.recipe-meta{display:flex;gap:10px;font-size:11px;color:var(--muted);margin-top:10px}.recipe-type{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--orange);margin-bottom:7px}.recipe-art.tone0,.recipe-art.tone4{background:var(--art2)}.recipe-art.tone1,.recipe-art.tone3{background:var(--art1)}.recipe-art.tone2{background:var(--art3)}.back{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);padding-left:0;margin-bottom:16px}.detail-top{max-width:720px}.detail-top h1{font-size:36px;max-width:650px}.detail-meta{display:flex;gap:16px;margin:15px 0;color:var(--muted);font-size:13px}.detail-layout{display:grid;grid-template-columns:1fr 1.15fr;gap:28px;margin-top:26px;align-items:start}.card{border:1px solid var(--line);border-radius:17px;background:var(--panel);padding:22px}.card h2{font-size:20px;margin-bottom:18px}.portions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:20px 0}.portions .segments{background:var(--bg)}.ingredient{display:flex;justify-content:space-between;gap:15px;padding:13px 0;border-bottom:1px solid var(--line);font-size:13px}.ingredient:last-child{border:0}.ingredient strong{font-weight:550;white-space:nowrap}.ingredient small{display:block;color:var(--muted);margin-top:4px;line-height:1.55}.ingredient .qty{text-align:right;min-width:64px}.notice{background:var(--orange-dark);color:var(--orange);padding:14px 16px;font-size:12px;border-radius:12px;margin:16px 0;line-height:1.6}.steps{counter-reset:stage}.stage{padding:0 0 25px 41px;position:relative;border-left:1px solid var(--line);margin-left:13px}.stage:last-child{border:0;padding-bottom:0}.stage:before{counter-increment:stage;content:counter(stage);position:absolute;left:-14px;top:0;width:28px;height:28px;background:var(--panel2);color:var(--orange);border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;font-size:12px}.stage h3{font-size:14px;margin-bottom:7px}.stage p{font-size:13px;color:var(--muted)}.time{font-size:10px;font-weight:400;color:var(--muted);margin-left:6px}.preline{white-space:pre-line;font-size:13px;color:var(--muted);line-height:1.8}.source{margin-top:22px;font-size:11px;color:var(--muted);overflow-wrap:anywhere}.list-header{padding:22px;background:var(--panel);border:1px solid var(--line);border-radius:17px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:18px}.progress-track{height:4px;background:var(--panel2);border-radius:5px;margin-top:13px;width:180px;max-width:100%}.progress-track span{display:block;height:100%;background:var(--green);border-radius:5px}.shop-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.shop-row .body{flex:1}.shop-row h3{font-size:14px}.shop-row p{font-size:12px;color:var(--muted);margin-top:3px}.check{width:44px;height:44px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;flex-shrink:0}.shop-row.done .check{color:var(--green);background:#91a57b15;border-color:var(--green)}.shop-row.done h3{text-decoration:line-through;color:var(--muted)}.shop-actions{display:flex;align-items:center}.shop-actions .icon-btn{color:var(--muted)}.empty{padding:50px 24px;text-align:center;background:var(--panel);border:1px dashed var(--line);border-radius:18px}.empty svg{width:36px;height:36px;color:var(--orange);margin-bottom:15px}.empty h3{font-size:18px;margin-bottom:8px}.empty p{font-size:13px;color:var(--muted);max-width:340px;margin:auto auto 20px}.idea-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.note{background:var(--panel);border:1px solid var(--line);padding:22px;border-radius:15px}.note .note-meta{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.note p{font-size:13px;color:var(--muted);white-space:pre-wrap}.note h3{margin-bottom:10px}.note .note-meta span{color:var(--orange);font-size:10px;letter-spacing:1px;text-transform:uppercase}.inspiration-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inspiration{display:block;border:1px solid var(--line);border-radius:13px;padding:18px;text-decoration:none;background:var(--panel);color:var(--text)}.inspiration p{font-size:12px;color:var(--muted);margin-top:7px}.inspiration small{color:var(--orange)}dialog{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:22px;width:calc(100% - 30px);max-width:490px;padding:0;max-height:87dvh;box-shadow:var(--shadow)}dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}.sheet-inner{padding:24px}.sheet-head{display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:20px}.sheet-head h2{font-size:23px;align-self:center}.sheet-head .icon-btn{margin:-7px -8px 0 0;flex-shrink:0}.field{display:block;margin-bottom:17px;font-size:12px;color:var(--muted)}.field input,.field select,.field textarea{display:block;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--text);width:100%;padding:12px 13px;min-height:48px;margin-top:7px;min-width:0}.field textarea{resize:vertical;min-height:120px}.field-row{display:grid;grid-template-columns:1fr 110px;gap:12px}.form-help{font-size:12px;color:var(--muted);margin:12px 0 18px;line-height:1.7}.text-btn{color:var(--orange);font-size:12px;padding:9px 0;text-decoration:underline;text-underline-offset:4px}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:15px 0;border-bottom:1px solid var(--line);gap:10px;font-size:13px}.setting-row select{background:var(--bg);border:1px solid var(--line);color:var(--text);border-radius:10px;padding:10px;min-height:44px}.review-row{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.review-row input{width:22px;height:22px;margin:12px 0;accent-color:var(--orange)}.review-row label{display:block;flex:1;font-size:13px;min-height:44px;cursor:pointer}.review-row small{display:block;color:var(--muted);margin-top:3px}.review-row label strong{display:block}.review-list{max-height:42dvh;overflow:auto;margin-bottom:18px}.error{font-size:12px;color:var(--red);margin:0 0 14px}.file-input{display:none}#toast{position:fixed;left:50%;bottom:105px;transform:translate(-50%,15px);background:var(--text);color:var(--bg);padding:13px 19px;border-radius:12px;box-shadow:var(--shadow);font-size:13px;max-width:calc(100% - 30px);width:max-content;opacity:0;pointer-events:none;transition:.2s;z-index:100}#toast.visible{opacity:1;transform:translate(-50%,0)}.loading{min-height:80vh;display:grid;place-content:center;text-align:center;gap:20px}.loading .brand-mark{margin:auto}.loading p{color:var(--muted);font-size:14px}.footer-note{font-size:11px;color:var(--muted);margin-top:19px}.divider{height:1px;background:var(--line);margin:20px 0}.review-actions{display:flex;gap:10px}.restore-warning{background:var(--orange-dark);padding:18px;border-radius:12px;font-size:13px;color:var(--orange);margin-bottom:18px}.full-span{grid-column:1/-1}
@media(min-width:1000px){nav{left:50%;right:auto;transform:translateX(-50%);bottom:20px;border:1px solid var(--line);border-radius:19px;padding:5px 20px;box-shadow:var(--shadow)}nav button{min-width:120px}nav button.active:before{top:-6px;border-radius:3px}main{padding-top:42px}}
@media(max-width:700px){header{padding:17px 20px}.brand{font-size:20px;gap:9px}.brand-mark{width:36px;height:36px;font-size:24px;border-radius:10px}.header-meta{gap:6px}.prototype{font-size:8px;padding:4px 6px;letter-spacing:.6px}main{padding:27px 20px 120px}.page-head{gap:10px;margin-bottom:22px}.page-head .btn{font-size:0;width:46px;padding:0;flex-shrink:0}.page-head .btn svg{width:22px}h1{font-size:32px}.page-head p{font-size:12px}.hero{padding:23px 22px;grid-template-columns:1fr 95px;min-height:185px;border-radius:17px;margin-bottom:24px}.hero h2{font-size:24px;max-width:210px}.hero p{font-size:11px;margin:10px 0 16px;max-width:205px}.hero .eyebrow{font-size:9px;letter-spacing:1.4px}.pantry-art{width:120px;height:145px;position:relative;left:-8px}.hero-stats{gap:20px}.hero-stats strong{font-size:19px}.hero-stats span{font-size:10px}.section-bar{margin-top:22px;gap:6px}.section-bar h2{font-size:19px}.count{font-size:10px;padding:3px 6px;margin-left:3px}.segments button{padding:7px 11px;font-size:11px}.toolbar{gap:9px}.chips{padding:12px 0 17px;margin-right:-20px}.chip{font-size:11px;min-height:44px;padding:8px 13px}.inventory{grid-template-columns:1fr;gap:9px}.product{padding:10px 11px;gap:12px;border-radius:13px}.product-symbol{width:43px;height:45px;font-size:21px}.product-info h3{font-size:13px}.product-info p{font-size:10px}.stock{font-size:11px}.product-info{min-height:45px}nav{padding-left:12px;padding-right:12px}nav button{min-width:0;flex:1;padding:6px 13px}nav .badge{right:24%}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.recipe-art{height:115px}.plate{width:91px;height:91px;font-size:43px}.recipe-body{padding:12px}.recipe-body h3{font-size:13px;min-height:54px}.recipe-meta{font-size:10px;gap:8px;flex-wrap:wrap}.recipe-type{font-size:8px;letter-spacing:.8px}.detail-top h1{font-size:30px}.detail-layout{grid-template-columns:1fr;gap:18px}.card{padding:19px}.detail-meta{font-size:11px;gap:13px}.detail-layout .card h2{font-size:20px}.idea-grid,.inspiration-grid{grid-template-columns:1fr}.list-header{padding:18px;gap:10px}.list-header .btn{font-size:11px;padding:9px 12px}.list-header h3{font-size:15px}.progress-track{width:145px}.shop-row{gap:10px}.shop-actions{flex-direction:column}.shop-actions .icon-btn{min-height:44px;width:44px}.shop-actions .btn{font-size:10px;padding:7px;min-height:44px}.shop-row h3{font-size:13px}.shop-row p{font-size:11px}.sheet-inner{padding:22px}dialog{border-radius:22px 22px 0 0;width:100%;max-width:100%;margin:auto 0 0;max-height:90dvh;border-bottom:0}.sheet-inner{max-width:490px;margin:auto}.field-row{grid-template-columns:1fr 110px}.review-row label{font-size:12px}.source{font-size:10px}}
.quantity-display{display:block;width:100%;margin-top:7px;text-align:left;font-size:24px;font-weight:600;background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:6px 13px;min-height:48px}.quantity-display:after{content:"⌄";float:right;color:var(--orange);font-size:19px}.quantity-options{margin:0 0 20px;padding:14px;border:1px solid var(--line);border-radius:12px;background:var(--bg)}.quantity-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.quantity-grid button{border-radius:9px;min-width:44px;min-height:44px}.segments button{min-width:44px;min-height:44px}button[hidden],input[hidden],[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Status is readable without relying on its colour. */
.product-info h3{overflow-wrap:anywhere}.home-sections{flex-wrap:wrap}.product-info .stock{font-size:13px;font-weight:600}.product-info .stock.present{color:var(--green)}.shop-row .body{min-width:0;overflow-wrap:anywhere}header{padding-top:max(17px,env(safe-area-inset-top))}main{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.sheet-inner{padding-bottom:max(24px,env(safe-area-inset-bottom))}:root[data-theme=light] .btn.primary,:root[data-theme=light] .brand-mark,:root[data-theme=light] .badge{color:#fff8fa}

.quantity-edit{min-width:44px;min-height:44px;color:var(--orange);text-decoration:underline;text-underline-offset:4px;text-align:left;padding:6px 0}.migration-issue{border-bottom:1px solid var(--line);padding:16px 0}.migration-originals{font-size:12px;color:var(--muted);padding-left:20px;overflow-wrap:anywhere}.notice .btn{margin-left:12px}.shop-actions{flex-shrink:0}

.home-domains{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%}.home-domains button{border:1px solid var(--line);border-radius:12px;padding:10px;color:var(--muted);min-height:44px}.home-domains button.active{border-color:var(--orange);background:var(--orange-dark);color:var(--orange)}.home-sections{align-items:stretch;flex-direction:column}.product-gear{flex-shrink:0;color:var(--muted)}.historical-label{color:var(--muted);font-size:11px}.product{gap:8px}.product-info{overflow-wrap:anywhere}@media(max-width:700px){.home-domains{grid-template-columns:repeat(2,minmax(0,1fr))}.product-symbol{width:36px;height:44px}.product{padding:10px;gap:7px}}
.product-choice{white-space:normal;overflow-wrap:anywhere;text-align:left;justify-content:flex-start}
.detail-layout.cooking-layout{display:flex;flex-direction:column;max-width:760px;gap:20px}.cooking-layout>.card{width:100%;min-width:0}.ingredient-main{min-width:0;flex:1;overflow-wrap:anywhere}.ingredient-main strong{white-space:normal}.ingredient-amount{display:block;font-weight:600;margin-top:4px}.ingredient .add-circle{flex-shrink:0;align-self:center}.ingredient .text-btn{min-width:44px;min-height:44px}.ingredient-note{white-space:pre-wrap;margin-top:8px;color:var(--text)}.component-heading{margin:22px 0 18px;font-size:16px}.steps+.steps{margin-top:26px}.cooking-layout .preline+.preline{margin-top:16px}
.recipe-card{position:relative}.recipe-open{display:block;text-align:left;width:100%;height:100%;border:0;padding:0;background:transparent;color:inherit}.recipe-gear{position:absolute;right:5px;top:5px;background:var(--panel);border-radius:12px}.recipe-title-row{display:flex;align-items:start;gap:12px;justify-content:space-between}.recipe-title-row .icon-btn{flex-shrink:0}.editor-section{margin-top:24px}.editor-section .section-bar{margin:12px 0}.editor-item{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.editor-item>span{flex:1;min-width:140px;overflow-wrap:anywhere;font-size:13px}.editor-item-actions{display:flex;gap:4px;margin-left:auto}.editor-item-actions button{width:44px;min-height:44px}.editor-item-actions button:disabled{opacity:.3;cursor:default}.history-version{padding:12px 0;border-bottom:1px solid var(--line)}details>summary{min-height:44px;padding:12px 0;cursor:pointer}.history-version p,.history-version li{font-size:13px}.editor-section+button{margin-top:20px}
.connection-status{padding:10px max(20px,env(safe-area-inset-right)) 10px max(20px,env(safe-area-inset-left));padding-top:max(10px,env(safe-area-inset-top));background:var(--panel2);color:var(--text);font-size:13px;overflow-wrap:anywhere}.connection-status[hidden]{display:none}
button,summary{min-width:44px;min-height:44px}.icon-btn,.add-circle,.check{min-width:44px;min-height:44px;width:44px;flex-shrink:0}a{display:inline-block;min-width:44px;min-height:44px;max-width:100%;overflow-wrap:anywhere;vertical-align:middle}h1,h2,h3,.btn,.note,.notice,.card,.editor-item,.sheet-inner,.source{overflow-wrap:anywhere}.card,.note,.recipe-card,.field,form,.detail-top,.recipe-body{min-width:0}.btn{white-space:normal}.field-row{grid-template-columns:minmax(0,1fr) 110px}
dialog{overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding:20px;max-height:calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 24px)}body:has(dialog[open]){overflow:hidden}.sheet-inner{padding-left:max(22px,env(safe-area-inset-left));padding-right:max(22px,env(safe-area-inset-right));padding-bottom:max(24px,env(safe-area-inset-bottom))}main{padding-bottom:calc(130px + env(safe-area-inset-bottom))}.preline,.ingredient-note{overflow-wrap:anywhere}
@media(max-width:700px){input,select,textarea{font-size:16px!important}dialog{max-height:calc(100dvh - env(safe-area-inset-top) - 12px);padding-bottom:env(safe-area-inset-bottom)}.detail-meta{flex-wrap:wrap}.recipe-title-row h1{min-width:0}.editor-item-actions{max-width:100%;flex-wrap:wrap}}

/* Pudrowe powierzchnie: roz i szalwia. */
header{background:var(--orange-dark)}
.brand-mark{background:var(--sage-panel);color:var(--sage-text);border:1px solid var(--sage-line)}
.brand-mark svg{width:29px;height:29px;stroke-width:1.7}
.product:nth-child(even),.note:nth-child(even),.inspiration:nth-child(even){background:var(--sage-panel);border-color:var(--sage-line)}
.product:nth-child(even) .product-info p,.product:nth-child(even) .product-gear,.note:nth-child(even) p,.inspiration:nth-child(even) p{color:var(--sage-text)}
.product-symbol{background:var(--sage-panel);color:var(--sage-text)}
.home-domains button{background:var(--sage-panel);border-color:var(--sage-line);color:var(--sage-text)}
.home-domains button.active{background:var(--orange-dark);border-color:var(--orange);color:var(--orange)}
nav{background:var(--sage-panel);border-color:var(--sage-line)}
nav button{color:var(--sage-text)}
nav button.active{background:var(--orange-dark);color:var(--orange);border-radius:12px}
:root[data-theme=light] .brand-mark{color:var(--sage-text)}
.recipe-gear{color:var(--text)}

.home-domains{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:700px){.home-domains{gap:6px}.home-domains button{padding:8px 4px;font-size:12px}}

.brand{font-weight:850;letter-spacing:-.5px}h1{font-weight:850;letter-spacing:-1px}h2{font-weight:800}h3,.product-info h3{font-weight:750}.btn{font-weight:800}.recipe-body h3{font-weight:800}
