*{box-sizing:border-box}:root{font-family:system-ui,sans-serif;color-scheme:light;--bg:#faf7ef;--paper:#fffdfa;--ink:#242820;--muted:#626658;--line:#e3dfd2;--green:#244735;--on-green:#fff;--accent:#ffc58a;--soft:#edf1df}:root[data-theme=dark]{color-scheme:dark;--bg:#191e1b;--paper:#232b25;--ink:#f7f2e8;--muted:#bac3b4;--line:#414a41;--green:#294c39;--soft:#313c30}@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#191e1b;--paper:#232b25;--ink:#f7f2e8;--muted:#bac3b4;--line:#414a41;--green:#294c39;--soft:#313c30}}body{margin:0;background:var(--bg);color:var(--ink);line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button{border:1px solid var(--line);border-radius:12px;padding:.55rem .85rem;background:var(--paper);cursor:pointer;min-height:42px}button:hover:not(:disabled){filter:brightness(.95)}button:disabled{opacity:.48;cursor:default}:focus-visible{outline:3px solid #e98d43;outline-offset:3px}input:not([type=checkbox]),select,textarea{min-width:0;width:100%;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:.6rem .75rem}input[type=checkbox]{width:1.1rem;height:1.1rem;accent-color:#467955;flex-shrink:0;margin:0}textarea{min-height:6rem;resize:vertical}label{display:grid;gap:.3rem}header{background:var(--paper);border-bottom:1px solid var(--line)}.bar,main{max-width:1200px;margin:auto;padding-inline:clamp(14px,4vw,48px)}.bar{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap;padding-block:9px}nav,.actions,.inline,.tabs{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}nav button,.brand{border-color:transparent;background:transparent}nav [aria-current],.tabs [aria-pressed=true]{background:var(--soft);border-color:var(--line);font-weight:650}.brand{font-weight:750;font-size:1.2rem;padding-inline:0;display:flex;align-items:center;gap:.6rem}.mark{width:34px;height:34px;background:var(--green);color:var(--accent);border-radius:10px;display:grid;place-items:center}main{padding-top:clamp(20px,4vw,44px);padding-bottom:65px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.1}h1{font-family:Georgia,serif;font-size:clamp(2.2rem,5vw,4.2rem);letter-spacing:-.045em;overflow-wrap:anywhere}h2{font-size:1.5rem}h3{font-size:1.2rem;overflow-wrap:anywhere}.hero,.recipe-head{display:flex;justify-content:space-between;align-items:center;gap:1.4rem;border-radius:24px;padding:clamp(20px,5vw,55px);background:var(--green);color:var(--on-green);margin-bottom:1.5rem}.hero p,.recipe-head p{margin-top:.65rem;color:#ecf0dd}.accent{background:var(--accent);color:#30251b;border-color:transparent;white-space:nowrap;font-weight:700}.primary{background:var(--green);color:var(--on-green);border-color:transparent}.spread{justify-content:space-between}.catalog-heading{margin:1.5rem 0 1rem}.catalog-heading input{max-width:300px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.card,.panel,.empty{border:1px solid var(--line);border-radius:18px;background:var(--paper)}.card{overflow:hidden}.card img,.card-art{width:100%;height:155px;object-fit:cover}.card-art{background:var(--soft);display:grid;place-items:center;font-size:3rem}.card-body,.panel,.empty{padding:clamp(15px,3vw,30px)}.card-body h3,.panel h1,.panel h2,.empty h3{margin-bottom:1rem}.empty{text-align:center;padding-block:2.8rem}.recipe-head{margin-top:1rem}.recipe-head img{max-width:36%;width:300px;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.tabs{margin-bottom:.75rem}.tabs button{flex:1}.tag{font-size:.85rem;text-transform:uppercase;letter-spacing:.08em}.muted{color:var(--muted);margin-top:1rem}.list{list-style:none;padding:0;margin:1rem 0}.list li{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-top:1px solid var(--line);padding:.7rem 0}.list label{display:flex;align-items:center;gap:.65rem;overflow-wrap:anywhere}.done{text-decoration:line-through;color:var(--muted)}.inline input{flex:1}.step-copy{white-space:pre-wrap;overflow-wrap:anywhere}.steps li+li{margin-top:1.2rem}.steps button{margin-top:.5rem}.stack,.editor{display:grid;gap:1rem}.stack>button,.editor>button{justify-self:start}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:.65rem}.edit-row{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:.35rem}.step-edit{display:grid;grid-template-columns:1fr minmax(80px,120px) auto;gap:.5rem;align-items:end}.notice,.timer-strip{padding:.75rem 1rem;margin-bottom:1rem;background:var(--soft);border-radius:12px}.timer-strip{display:flex;gap:.6rem 1rem;flex-wrap:wrap}.timer-strip button{min-height:32px;padding:.1rem .55rem}@media(max-width:570px){.hero,.recipe-head{align-items:flex-start;flex-direction:column}.recipe-head img{max-width:100%;width:100%}.step-edit{grid-template-columns:1fr auto}.step-edit label:first-child{grid-column:1/-1}.edit-row{grid-template-columns:1fr 1fr auto}.edit-row input:first-child{grid-column:1/-1}}
