*{box-sizing:border-box}body{margin:0;background:var(--bg,#faf6ed);color:var(--ink,#302b24);font:16px system-ui}header,main{max-width:850px;margin:auto;padding:20px}header{border-bottom:1px solid var(--line,#d8c8a6)}h1{margin:0;font-size:26px}h2{font-size:22px}button,input,textarea{font:inherit;border:1px solid var(--border,#b5a482);border-radius:8px;padding:10px}button{background:var(--accent,#806a3c);color:white;cursor:pointer;margin:3px}input,textarea{width:100%;background:white;margin:5px 0}textarea{min-height:100px}article{background:white;border:1px solid var(--cardborder,#e2d8c4);border-radius:12px;padding:16px;margin:12px 0}nav{position:fixed;bottom:0;left:0;right:0;background:var(--nav,#fffaf0);display:flex;justify-content:center;border-top:1px solid var(--line,#d8c8a6)}nav button{background:transparent;color:var(--navink,#54462d);border:0;padding:12px 5px;flex:1;max-width:150px}nav button.active{background:var(--selected,#e9dcc0)}main{padding-bottom:100px}small{color:var(--mutedink,#766b57)}label{display:block;margin-top:8px} .muted{background:var(--muted,#eee4d2);color:var(--ink,#302b24)}pre{white-space:pre-wrap;font:inherit}body.dark{background:#25231f;color:#eee}body.dark article{background:#39352e}body.dark small{color:#ccc}

body{height:100dvh;display:flex;flex-direction:column;overflow:hidden}header{width:100%;flex:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 20px}header img{width:min(75%,420px);height:auto;max-height:76px;object-fit:contain;object-position:left}header small{white-space:nowrap}main{width:100%;flex:1;min-height:0;overflow:auto;padding-bottom:20px}nav{position:static;flex:none;padding-bottom:env(safe-area-inset-bottom)}body.dark nav{background:#25231f;border-color:#827044}body.dark nav button{color:#e8d9b8}body.dark nav button.active{background:var(--accent,#806a3c);color:white}.bookbar{position:sticky;top:-20px;z-index:2;background:var(--bg,#faf6ed);padding:12px 0;border-bottom:1px solid var(--line,#d8c8a6)}.dark .bookbar{background:#25231f}.booktitle{color:var(--accent,#806a3c)}.dark .booktitle{color:#C6A45E}.booklink{background:none;border:0;padding:0;margin:0;font:inherit;font-weight:bold;text-align:left;color:inherit}.booklink:hover{text-decoration:underline}.bookrow{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.bookrow h2{margin:8px auto 8px 0;overflow-wrap:anywhere}.toast{position:fixed;bottom:80px;left:50%;transform:translateX(-50%);background:#353b35;color:white;padding:12px 20px;border-radius:8px;z-index:10;max-width:90%;text-align:center;box-shadow:0 2px 12px #0004}body.dark input,body.dark textarea{background:#39352e;color:#eee} @media(max-width:420px){main{padding:12px}.bookbar{top:-12px}.bookrow button{padding:8px;font-size:14px}nav button{font-size:13px}}

header{justify-content:center}header img{object-position:center;width:min(90%,420px)}.bookcard h3{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}.bookcard h3 small{font-weight:normal;white-space:nowrap;font-size:13px}.bookcard p{margin:12px 0 0}.favorite-card{background:white}.dark .favorite-card{background:#39352e}.favorite-card summary{cursor:pointer;color:var(--accent,#806a3c);font-weight:bold;font-size:18px;overflow-wrap:anywhere}.dark .favorite-card summary{color:#C6A45E}.favorite-card[open] summary{margin-bottom:16px}.shopping-row{display:flex;align-items:center;gap:8px;padding:10px 16px}.shopping-row span{flex:1;overflow-wrap:anywhere}.shopping-row input{width:20px!important;height:20px;accent-color:var(--accent,#806a3c);flex:none}.shopping-row.done{opacity:.7}.shopping-row.done span{text-decoration:line-through}.shopping-row button{flex:none}
.shopping-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.shopping-heading h2{margin-right:auto}.shopping-add{margin-bottom:12px}[hidden]{display:none!important}
.bookbar .booktitle{text-align:center;margin:12px 0;overflow-wrap:anywhere}.bookrow{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.book-actions{display:flex;align-items:center;gap:4px;flex-wrap:nowrap}.book-actions.right{margin-left:auto}.bookrow button{margin:0}@media(max-width:480px){.bookrow{gap:4px}.book-actions{gap:3px}.bookrow button{font-size:12px;padding:7px 4px}}
.overviewbar{position:sticky;top:-20px;z-index:2;background:var(--bg,#faf6ed);padding:8px 0;border-bottom:1px solid var(--line,#d8c8a6)}.dark .overviewbar{background:#25231f}.sortrow{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-bottom:8px}.sortrow label{margin:0}select{font:inherit;border:1px solid var(--border,#b5a482);border-radius:8px;padding:8px;background:white;color:var(--ink,#302b24)}.dark select{background:#39352e;color:#eee}.portionrow{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.portionrow input{width:90px;margin:0}.nutrition{width:100%;border-collapse:collapse;margin:12px 0}.nutrition th,.nutrition td{padding:7px 4px;text-align:right;border-bottom:1px solid #b5a48255}.nutrition th:first-child,.nutrition td:first-child{text-align:left}.nutrition th{font-size:13px}.nutrientnote{display:block;margin:8px 0}@media(max-width:420px){.overviewbar{top:-12px}}.overview-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.overview-heading h2{margin:0 auto 0 0}.overview-heading .sortrow{padding:0;gap:6px;flex-wrap:nowrap}.overview-heading .sortrow label{white-space:nowrap}.overview-heading select,.dark .overview-heading select,.overview-heading .overview-add{height:40px;box-sizing:border-box;background:var(--accent,#806a3c);color:white;border:1px solid var(--border,#b5a482);border-radius:8px;font:inherit;padding:0 10px;margin:0}.overview-heading select{cursor:pointer;max-width:100%}.overview-heading select option{background:var(--accent,#806a3c);color:white}.overview-heading .overview-add{white-space:nowrap}@media(max-width:540px){.overview-heading{gap:6px}.overview-heading h2{font-size:18px}.overview-heading .sortrow label{font-size:13px}.overview-heading select,.dark .overview-heading select,.overview-heading .overview-add{font-size:13px;padding:0 6px}.overview-heading select{max-width:140px}}.recipe-category select{display:block;width:100%;margin:5px 0}*{scrollbar-width:thin;scrollbar-color:var(--accent,#806a3c) var(--bg,#faf6ed)}body.dark,body.dark *{scrollbar-color:var(--accent,#806a3c) #25231f}*::-webkit-scrollbar{width:8px;height:8px}*::-webkit-scrollbar-track{background:var(--bg,#faf6ed)}body.dark *::-webkit-scrollbar-track{background:#25231f}*::-webkit-scrollbar-thumb{background:var(--accent,#806a3c);border-radius:8px}.ingredient-check{display:flex;align-items:center;gap:10px;margin:8px 0}.ingredient-check input{width:auto;margin:0;accent-color:var(--accent,#806a3c)}.ingredient-check.checked span{text-decoration:line-through;opacity:.6}
.recipe-gallery{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.recipe-image{max-width:min(100%,360px);max-height:260px;object-fit:contain;border-radius:8px}.book-cover{max-width:100%;max-height:160px;object-fit:contain;border-radius:8px;display:block;margin:8px 0}.image-edit-row{display:flex;align-items:center;gap:8px;margin:8px 0}.image-edit-row img{max-width:120px;max-height:100px}h2{font-size:1.375em}h3{font-size:1.17em}
.nutrition-fold>summary{color:inherit;font-size:1rem;font-weight:400;cursor:pointer;margin:8px 0}.nutrition-fold{margin:8px 0}.nutrition-fold table{width:100%}@media print{body{height:auto;overflow:visible;background:white!important;color:black!important}header,nav,main{display:none!important}#print-recipe{display:block!important;color:black;background:white;padding:15mm}#print-recipe img{max-width:100%;max-height:70mm;object-fit:contain}#print-recipe pre{white-space:pre-wrap}#print-recipe h2,#print-recipe h3{break-after:avoid}}#print-recipe{display:none}.options-panel{display:flex;flex-direction:column;align-items:flex-start;gap:12px}.options-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.options-inline{display:flex;align-items:center;gap:8px;margin:0}.options-inline input[type=checkbox]{width:auto;margin:0}.options-inline select{margin:0}main:has(>.options-version){display:flex;flex-direction:column}.options-version{margin-top:auto;align-self:flex-end;padding-top:12px;font-size:12px;white-space:nowrap}main:has(>.options-version)>*{flex-shrink:0}
.icon16{width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:middle}nav button,.recipe-actions16 button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px}nav button .icon16{width:23px;height:23px}.options16{width:100%;max-width:620px;display:flex;flex-direction:column;gap:8px}.setting16{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;flex-wrap:wrap}.segment16,.step16{display:flex;align-items:center;gap:2px}.segment16{border:1px solid var(--accent,#806a3c);border-radius:8px;overflow:hidden}.segment16 button,.step16 button,.menu16,.recipe-actions16 button{background:transparent;color:inherit;border:0;margin:0;min-height:44px}.segment16 button[aria-pressed=true]{background:var(--accent,#806a3c);color:white;border-radius:0}.step16 span{min-width:58px;text-align:center;font-variant-numeric:tabular-nums}.switch16{width:48px;height:28px;border-radius:20px;background:#a6a39d;position:relative;padding:0;border:0;box-shadow:0 0 0 8px transparent}.switch16:before{content:'';position:absolute;left:4px;top:4px;width:20px;height:20px;background:white;border-radius:50%;transition:transform .15s}.switch16[aria-checked=true]{background:var(--accent,#806a3c)}.switch16[aria-checked=true]:before{transform:translateX(20px)}.options16 hr{width:100%;border:0;border-top:1px solid #b5a48288}.menu16{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:10px 4px}.menu16 .icon16:first-child,.recipe-actions16 .icon16,.booklink .icon16{color:var(--accent,#806a3c)}.dark .menu16 .icon16:first-child,.dark .recipe-actions16 .icon16,.dark .booklink .icon16{color:var(--focus,#c6a45e)}.menu16 .icon16:last-child{margin-left:auto;opacity:.65}.recipe-actions16{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid #b5a48266;padding-bottom:8px}.recipe-actions16 button{flex:1;font-size:.85em;min-width:54px;padding:6px 3px}.recipe-actions16 button[aria-pressed=true] svg{fill:currentColor}.more16{padding:8px;background:var(--muted,#efe8d8);border-radius:8px}.dark .more16{background:#302d27}.search-wrap{display:flex;align-items:center;gap:8px}.search-wrap input{flex:1;min-width:0}.search-wrap button{background:transparent;color:inherit;border:0}.search-wrap input::-webkit-search-cancel-button{display:none}.booklink .icon16{margin-right:8px}.bookcard h3 small{margin-left:auto}.empty16{text-align:center;padding:32px 16px;color:inherit}.empty16 .icon16{display:block;margin:0 auto 12px;width:40px;height:40px;color:var(--accent,#806a3c)}.empty16 p{opacity:.8}.dialog16{max-width:min(90vw,480px);border:1px solid var(--border,#b5a482);border-radius:14px;background:var(--bg,#faf6ed);color:var(--ink,#302b24);padding:22px}.dark .dialog16{background:#39352e;color:#eee}.dialog16::backdrop{background:#0008}.dialog-actions16{display:flex;justify-content:flex-end;flex-wrap:wrap}.toast{background:#38352e;bottom:90px}.toast button{background:transparent;border:0;color:#e2c88f;padding:5px}button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--focus,#c6a45e);outline-offset:2px}button:disabled{opacity:.5;cursor:not-allowed}.favorite-card summary{list-style:none;display:flex;justify-content:space-between;gap:8px}.favorite-card summary::-webkit-details-marker{display:none}.favorite-card summary:after{content:'›';transition:transform .15s}.favorite-card[open] summary:after{transform:rotate(90deg)}@media(prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}@media(max-width:420px){.setting16{gap:6px}.segment16 button{padding:7px}.recipe-actions16 button{font-size:.75em}}

.cooking19 header,.cooking19 nav{display:none}.cook-top19{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}.cook-title19{text-align:center}.cook-step19{font-size:1.5em;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;padding:18px 0}.cooking19 progress{width:100%;accent-color:var(--accent,#806a3c)}.timer-units19{display:flex;gap:8px}.timer-units19>div{flex:1;min-width:0}.timer-clock19{font-variant-numeric:tabular-nums;font-size:2em;color:var(--accent,#806a3c)}.dark .timer-clock19{color:var(--focus,#c6a45e)}button:disabled{opacity:.45;cursor:default}
.nutrition-documentation{border-top:1px solid var(--border,#b5a482);margin-top:12px;padding-top:10px;overflow-wrap:anywhere}.nutrition-documentation h4{margin:0 0 6px}.nutrition-documentation small{display:block;margin-bottom:12px}.nutrition-documentation strong{display:block;margin-top:12px}.nutrition-documentation pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 12px}
#access-gate{width:min(100% - 32px,540px);margin:auto;padding:26px;text-align:center;overflow:auto;max-height:calc(100dvh - 100px);background:white;border:1px solid var(--line,#d8c8a6);border-radius:14px;overflow-wrap:anywhere}#access-gate h2{color:var(--accent,#806a3c);white-space:pre-wrap}#access-gate label{text-align:left}#access-gate button{margin:8px 3px}#access-gate form{margin-top:20px}

.help-controls21{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.help-topic21{border:1px solid var(--border,#b5a482);border-radius:12px;margin:10px 0;padding:14px;overflow-wrap:anywhere}.help-topic21 summary{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:bold;list-style:none}.help-topic21 summary::-webkit-details-marker{display:none}.help-topic21 summary:after{content:'▾';margin-left:auto}.help-topic21[open] summary:after{content:'▴'}.help-topic21 li{margin:9px 0;line-height:1.5}.help-mock21{margin:16px 0;max-width:620px}.help-panel21{background:#25231f;color:#f2e9d8;border:1px solid #ac8b48;border-radius:12px;padding:10px}.help-mock-title21{color:#d5aa50;font-weight:bold;padding:8px;border-bottom:1px solid #ac8b48}.help-mock-row21{padding:9px;border:1px solid #827044;border-radius:6px;margin:6px 0}.help-figcaption21{font-size:.85em;margin-bottom:6px}.help-note21{border-left:3px solid #ac8b48;padding:8px 12px}.help-shot21{display:block;width:100%;max-width:580px;height:auto;border:1px solid #ac8b48;border-radius:8px}.help-shot-button21{background:transparent;border:0;padding:0;margin:0;max-width:100%;color:inherit;text-align:left}.help-image-dialog21{max-width:96vw;max-height:95dvh;overflow:auto}.help-image-dialog21 img{display:block;width:auto;max-width:85vw;height:auto;max-height:78dvh;object-fit:contain}.help-print21{display:none}@media print{body.help-printing21{display:block;height:auto;overflow:visible;background:white;color:black}body.help-printing21 header,body.help-printing21 nav,body.help-printing21 #main,body.help-printing21 .toast{display:none!important}body.help-printing21 .help-print21{display:block!important;color:black;background:white;margin:0;font:11pt system-ui}body.help-printing21 .help-print21 section{break-inside:avoid-page;margin:0 0 18px}body.help-printing21 .help-print21 h2{font-size:15pt}body.help-printing21 .help-print21 img{max-width:95%;max-height:125mm;object-fit:contain}}

.book-menu-toggle{white-space:nowrap}.book-edit-menu{width:min(100%,270px);margin:8px 0 0 auto;border:1px solid var(--border,#b5a482)}.book-edit-menu .menu16+.menu16{border-top:1px solid #b5a48255}.book-edit-menu .book-delete,.book-edit-menu .book-delete .icon16:first-child{color:#a02727}.dark .book-edit-menu .book-delete,.dark .book-edit-menu .book-delete .icon16:first-child{color:#e9a09a}

.segment16{flex-wrap:wrap;max-width:100%}.segment16 button{flex:1 0 auto}.favorite-card{overflow-anchor:none}main{overflow-anchor:none}
body[data-theme="tilly"]{--bg:#FAEFF2;--ink:#50343D;--accent:#96566B;--border:#B994A1;--line:#D9B9C4;--cardborder:#EBD1DA;--nav:#FFFAFC;--navink:#50343D;--selected:#EBD1DA;--mutedink:#765460;--muted:#EBD1DA;--focus:#B87589;}
body[data-theme="salbei"]{--bg:#EDF2EA;--ink:#34452E;--accent:#526D49;--border:#9AAE91;--line:#C2D0BA;--cardborder:#D6E2D0;--nav:#FAFCF8;--navink:#34452E;--selected:#D6E2D0;--mutedink:#52664B;--muted:#D6E2D0;--focus:#829779;}
body[data-theme="lavendel"]{--bg:#F1EBF8;--ink:#483653;--accent:#76578E;--border:#B2A0C4;--line:#D1C1E0;--cardborder:#DFD2ED;--nav:#FCF9FF;--navink:#483653;--selected:#DFD2ED;--mutedink:#6C577B;--muted:#DFD2ED;--focus:#806298;}
body[data-theme] article,body[data-theme] .favorite-card,body[data-theme] input,body[data-theme] textarea,body[data-theme] select{background:var(--nav);color:var(--ink)}body[data-theme] .overview-heading select{background:var(--accent);color:white}
 .share-split28{display:flex;gap:1px;align-items:stretch;max-width:520px}.share-split28 button{margin:0;min-width:0;border-radius:8px 0 0 8px}.share-split28 button:first-child{flex:1}.share-split28 button:last-child{flex:0 0 44px;border-radius:0 8px 8px 0;border-left:1px solid #ffffff66}.share-menu28{max-width:520px;margin-top:12px}.share-menu28 label{display:flex;align-items:center;gap:8px}.share-menu28 input[type=checkbox]{width:auto;margin:0}.share-menu28 button{display:block;width:100%;margin:5px 0}.share-result28{max-width:520px;padding:12px;border:1px solid var(--border);border-radius:8px;margin-top:12px}.share-result28[hidden],.share-menu28[hidden]{display:none!important}

.favorite-card>.recipe-heading{display:flex;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:nowrap}.recipe-title{flex:1;min-width:0;overflow-wrap:anywhere}.favorite-card>.recipe-heading:after{flex:none;margin-left:2px}.favorite-card:not([open])>.recipe-heading>.header-portions{display:none}.header-portions{flex:none;display:flex;flex-wrap:nowrap;gap:4px;font-size:13px;font-weight:normal;cursor:default}.header-portions input{width:48px;min-width:0;padding:5px 3px;text-align:center;font-size:inherit}.header-portions button{margin:0;padding:6px 8px;min-width:30px;font-size:inherit}.header-portions>span{white-space:nowrap}@media(max-width:480px){.header-portions{gap:3px;font-size:11px}.header-portions input{width:36px}.header-portions button{padding:5px;min-width:24px}.header-portions>span{display:none}.favorite-card>.recipe-heading{gap:5px}.recipe-title{font-size:16px}}

.bookbar{padding:4px 0 6px;position:sticky;z-index:3;overflow:visible}.bookbar .bookrow{flex-wrap:nowrap;justify-content:flex-start;gap:8px}.bookbar .booktitle{flex:1;min-width:0;text-align:left;margin:0;font-size:1.15em;overflow-wrap:anywhere}.bookbar .book-actions{flex:none}.bookbar .book-actions.right{margin-left:0}.bookbar .bookrow button{min-height:40px;padding:7px 10px;white-space:nowrap;font-size:0.9em}.bookbar .book-menu-toggle{font-size:24px!important;line-height:1;width:42px}.bookbar .book-category{width:32%;min-width:0;margin:0;min-height:40px}.book-category-mobile{display:block;width:100%;max-width:none;margin:8px 0 4px}.bookbar .book-edit-menu{position:absolute;right:0;top:100%;z-index:4;background:var(--card,#fff);box-shadow:0 4px 12px #0002}.dark .bookbar .book-edit-menu{background:#39352e}@media(max-width:600px){.bookbar .bookrow{gap:6px}.bookbar .booktitle{text-align:center;font-size:1em}.bookbar .bookrow button{padding:7px 8px;min-height:44px}.bookbar .book-menu-toggle{width:44px}.bookbar{padding:3px 0 5px}}

.favorite-card[open]{padding-top:24px!important}.favorite-card:not([open])>.recipe-heading>.recipe-info{display:none}.recipe-info{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0!important;margin:0!important;background:transparent!important;color:inherit!important;border:0!important;box-shadow:none!important}.recipe-info[aria-expanded=true]{outline:1px solid currentColor;outline-offset:-2px}.recipe-info:focus-visible{outline:2px solid currentColor}.nutrition-fold h3{margin:0 0 8px}.favorite-card>[hidden]{display:none!important}@media(max-width:480px){.recipe-info{width:28px;height:32px}.recipe-info svg{width:20px;height:20px}}

.recipe-shell:not(:has(>details[open]))>.recipe-actions16,.recipe-shell:not(:has(>details[open]))>.recipe-top-menu{display:none!important}.recipe-shell>.recipe-actions16{margin-bottom:12px}.recipe-shell>.favorite-card{box-shadow:none}
body.hide-brand38>header{display:none}
body[data-theme="custom"] button:not(.segment16 button):not(nav button):not(.recipe-actions16 button):not(.menu16):not(.step16 button){color:var(--buttonink)}body[data-theme="custom"] .segment16 button[aria-pressed=true]{color:var(--buttonink)}.custom39{display:grid;gap:12px;border-block:1px solid var(--line,#d8c8a6);padding:12px 0}.palette39{flex-wrap:wrap}.palette39 button{flex:1;white-space:nowrap}.color39{display:flex;align-items:center;gap:10px;margin:0}.color39 input{width:48px;height:44px;padding:3px;cursor:pointer;margin:0}.preview39{margin:0;background:var(--card,var(--nav,white))}.previewbar39{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;border-bottom:1px solid var(--line);padding-bottom:10px;color:var(--accent);font-size:.85em}.sample39{display:inline-block;background:var(--accent);color:var(--buttonink,white);padding:8px;border-radius:8px}.editor-section40{border:1px solid var(--line,#c9b997);border-radius:12px;padding:12px;margin:10px 0}.editor-section40 summary{cursor:pointer;font-weight:600;padding:6px}.ingredient40{display:flex;gap:8px;align-items:center;margin:6px 0}.ingredient40 input{flex:1;min-width:0}.ingredient40 button{width:auto}.editor-section40 small{display:block}
.editor-category41{display:flex;align-items:center;gap:8px;margin:8px 0;max-width:100%}.editor-category41>label{display:flex;align-items:center;gap:6px;flex:0 1 540px;min-width:0;margin:0}.editor-category41 select{flex:1;min-width:0;width:100%;margin:0}.editor-category41>.editor-new-category41{flex:none;margin:0;white-space:nowrap;min-height:44px}.editor-category41 select{min-height:44px;box-sizing:border-box}@media(max-width:600px){.editor-category41>label{flex:1}.editor-category41 .category-button-text41{display:none}.editor-category41>.editor-new-category41{min-width:44px;padding:8px;font-size:20px}}
.food-result42{display:block;width:100%;text-align:left;margin:4px 0;white-space:normal} .editor-section40 details{margin:8px 0;padding:8px;border:1px solid var(--border);border-radius:8px}
.exchange-tabs43{display:flex;flex-wrap:nowrap;margin:12px 0 18px}.exchange-tabs43 button{flex:1 1 0;min-width:0;padding:8px 4px;font-size:clamp(12px,3.5vw,16px)}.exchange-panel43{max-width:680px;margin:auto}.exchange-panel43 select{width:100%;margin-bottom:12px}.exchange-settings43{border:1px solid var(--border,#d9cbae);border-radius:10px;padding:12px;margin:12px 0}.exchange-settings43 label{display:flex;align-items:center;gap:10px;margin:8px 0}.exchange-settings43 input{width:auto}.exchange-actions43{display:grid;grid-template-columns:1fr 1fr;gap:8px}.exchange-actions43 button{margin:0;min-height:44px}.exchange-primary43{grid-column:1/-1}.exchange-actions43 button:not(.exchange-primary43){background:transparent;color:inherit!important;border:1px solid var(--accent)}@media print{.print-book-recipe43{break-before:page}}
.backup44-card{display:grid;gap:10px;margin:12px 0;padding:16px}.backup44-card h3,.backup44-card p{margin:0}.backup44-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;text-align:center}.backup44-stats strong,.backup44-stats small{display:block}.backup44-stats strong{font-size:24px}.backup44-stats small{overflow-wrap:anywhere}.backup44-card select{max-width:100%}.import45{display:grid;gap:12px}.import45-action{text-align:left;padding:14px;width:100%;font-weight:600}.import45-action small{display:block;font-weight:400;margin-top:5px}.import45 details{margin:0}.import45 input[hidden],.import45 [hidden]{display:none!important}progress{width:100%;accent-color:var(--accent)}.safety50-banner{position:fixed;z-index:1000;bottom:calc(65px + env(safe-area-inset-bottom,0px));left:12px;right:12px;max-width:620px;margin:auto;padding:12px;border:1px solid currentColor;border-radius:12px;background:var(--card,#faf6ed);color:var(--ink,#30291e);box-shadow:0 2px 12px #0004}.dark .safety50-banner{background:#242424;color:#fff}.safety50-banner button{margin:4px 4px 0 0}.safety50-banner p{margin:0 0 6px}.storage50 p{margin:6px 0}
.search-filters53{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:6px 0}.search-filters53 select{width:100%;min-width:0}.search-result53{display:grid;gap:6px}.search-result53 .booklink{text-align:left;justify-content:flex-start;width:100%;white-space:normal;overflow-wrap:anywhere}.search-result53 small,.search-preview53{overflow-wrap:anywhere}.search-preview53{margin:0;font-size:.9em;color:inherit}@media(max-width:340px){.search-filters53{grid-template-columns:1fr}}
.shopping-actions54{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:12px}.shopping-actions54 span{margin-right:auto}.shopping-group54{font-size:1em;margin:16px 0 6px}.shopping-row{flex-wrap:wrap}.shopping-row span{min-width:100px}.shopping-row button{font-size:.8em;padding:6px 8px}.shopping-row input:not([type=checkbox]){width:auto!important;height:auto;flex:1;min-width:120px}@media(max-width:380px){.shopping-row span{flex-basis:65%}.shopping-row button{margin-left:0}}

.be-entry55{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:8px 0;min-height:44px}.be-entry55 svg{width:20px;height:20px}.be-total55{border:1px solid var(--border,#b5a482);background:var(--card,#fff);padding:16px;border-radius:12px;margin:12px 0}.be-total55 h3,.be-head55 h3{margin:0}.be-total55 p{margin:8px 0}.be-value55{font-size:2rem;color:var(--ink,#302b24);display:block;margin:8px 0}.be-total55 small,.be-rowresult55 small{display:block;margin:6px 0;overflow-wrap:anywhere}.be-head55{display:flex;align-items:center;justify-content:space-between;gap:8px}.be-modes55{display:flex;margin:12px 0;flex-wrap:wrap}.be-modes55 button{flex:1;min-height:44px}.be-measures55{display:grid;grid-template-columns:1fr 1fr;gap:10px}.be-measures55 select{width:100%;min-height:44px;margin-top:5px}.be-suggest55{max-height:230px;overflow:auto;display:grid;gap:4px}.be-suggest55 button{text-align:left;margin:0;min-height:44px;white-space:normal}.be-selected55,.be-intro55{font-size:.9em}.be-rowresult55{border-top:1px solid var(--line,#d8c8a6);padding-top:12px;margin-top:12px}.be-rowresult55 p{margin:0}.be-add55{width:100%;min-height:44px;margin:6px 0}body.dark .be-total55{background:#39352e}@media(max-width:350px){.be-measures55{grid-template-columns:1fr}}

.cook-tabs56,.cook-controls56{display:flex;gap:8px;margin:12px 0}.cook-tabs56 button,.cook-controls56 button{flex:1;min-height:44px}.cook-check56{margin:12px 0}.cook-check56 label{display:flex;align-items:flex-start;gap:12px;padding:12px 8px;min-height:48px;margin:0;border-bottom:1px solid var(--line,#d8c8a6);cursor:pointer}.cook-check56 input[type=checkbox]{width:24px;height:24px;flex:none;margin:0;accent-color:var(--accent,#806a3c)}.cook-check56 span{overflow-wrap:anywhere;line-height:1.45}.cook-check56 .done56 span{text-decoration:line-through;color:var(--mutedink,#766b57)}.dark .cook-check56 .done56 span{color:#ccc}.cook-timers56{margin-top:20px}.timer-card56{padding:12px}.timer-card56 .timer-clock19{font-variant-numeric:tabular-nums;font-size:1.25em}.timer-actions56{justify-content:flex-start}.timer-actions56 button,.cook-top19 button{min-height:44px}.cook-resume56{margin:8px 0;padding:12px}.cook-resume56 p{margin:6px 0}.cooking19 button:focus-visible,.cook-check56 input:focus-visible{outline:2px solid currentColor;outline-offset:3px}.cooking19 main{padding-bottom:max(24px,env(safe-area-inset-bottom))}

/* Direct recipe photo actions: only displayed for recipes without a photo. */
.photo-offer65{border:2px dashed var(--border,#b5a482);border-radius:12px;padding:14px;margin:12px 0;display:grid;gap:8px;text-align:center;background:var(--bg,#faf6ed);color:var(--ink,#302b24)}.photo-offer65 h2,.photo-offer65 p{margin:0}.photo-actions65{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.photo-actions65 button{flex:1 1 135px;min-height:44px;margin:0}.photo-offer65 small[role=status]:empty{display:none}.photo-finished65{border-style:solid;margin:0 0 16px}.dark .photo-offer65{background:#25231f;color:#f5eee1}

/* V69: compact personal ratings and collapsible recipe search. */
.recipe-title{display:flex;flex-direction:column;align-items:flex-start;gap:0}.recipe-rating69{display:inline-flex;flex-wrap:nowrap;align-items:center;max-width:100%;font-weight:normal;line-height:1;color:inherit}.recipe-rating69 button{display:inline-flex;justify-content:center;align-items:center;color:inherit;background:transparent;border:0;border-radius:4px;padding:0!important;margin:0!important;min-width:0;width:20px;height:24px;min-height:0;font:normal 17px/1 system-ui;box-shadow:none}.recipe-rating69 button:focus-visible{outline:2px solid currentColor;outline-offset:0}.recipe-rating69 button:disabled{opacity:.65}.rating-preview69{color:var(--accent,#806a3c);font-size:15px;line-height:1}.dark .rating-preview69{color:#C6A45E}.search-fold69{margin:8px 0}.search-fold69>summary{cursor:pointer;font-weight:600}.search-fold69[open]>summary{margin-bottom:8px}.search-reset69{font-size:.85em;padding:6px 10px}.search-fold69 .search-filters53{display:grid}.search-fold69 .search-filters53 select{width:100%;min-width:0}@media(max-width:480px){.favorite-card[open]>.recipe-heading{flex-wrap:wrap}.favorite-card[open]>.recipe-heading>.recipe-title{min-width:100px}.favorite-card[open]>.recipe-heading>.header-portions{margin-left:auto}}

/* V70: three compact launchers, search and student filters in modal windows. */
.overview-launchers70{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:6px;margin:6px 0 0}.overview-launcher70{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:36px;width:100%;margin:0;padding:5px 2px;background:transparent;color:inherit;border:0;text-align:center;font-size:.86em;line-height:1.15;overflow-wrap:normal}.overview-launcher70[aria-pressed=true]{color:var(--accent,#806a3c);font-weight:600}.dark .overview-launcher70[aria-pressed=true]{color:#C6A45E}.launcher-short70{display:none}.overview-launcher70:first-child{justify-content:flex-start}.overview-launcher70:last-child{justify-content:flex-end}.result-header70{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:wrap}.result-header70 p{margin:8px 0}.search-dialog70{width:min(94vw,560px);max-width:94vw;max-height:85dvh;overflow:auto;padding:16px}.search-dialog70 h2{margin:0 0 10px}.search-dialog70 label{display:block;font-size:.9em}.search-dialog70 select{width:100%;min-width:0;margin-top:4px}.student-tags70{display:flex;flex-wrap:wrap;gap:4px;margin:5px 0}.student-tags70 button{font-size:.85em;margin:0;padding:5px 9px;overflow-wrap:anywhere;max-width:100%}.search-dialog70 .student-basic70{display:flex;align-items:center;gap:8px;margin:10px 0}.student-basic70 input{width:20px;height:20px;flex:none;accent-color:var(--accent,#806a3c)}.search-dialog70 .dialog-actions16{margin-top:12px}.search-dialog70 .search-wrap button{flex:none}.result-header70+small{display:block;margin-bottom:8px}@media(max-width:600px){.launcher-long70{display:none}.launcher-short70{display:inline}.overview-launcher70{font-size:clamp(10px,3vw,14px);gap:2px}.overview-launchers70{gap:2px}.search-dialog70 .search-filters53{grid-template-columns:1fr}}

/* V71: compact result actions outside the filter dialog. */
.result-actions71{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.result-actions71 button{margin:0;min-height:36px;white-space:nowrap}.result-header70>p{flex:1 0 auto}@media(max-width:600px){.result-actions71 button{font-size:.78em;padding:5px 7px}.result-actions71{gap:3px}}

/* V75: keyboard-aware student ingredient picker and match coverage. */
.student-dialog75{max-height:min(85dvh,calc(var(--student-vh75,100dvh) - 16px));width:min(94vw,560px);overscroll-behavior:contain;display:flex;flex-direction:column}.student-dialog75:modal{position:fixed;top:calc(var(--student-top75,0px) + 8px);bottom:auto;margin:0 auto;left:0;right:0}.student-dialog75 p{margin:0 0 8px}.student-picker75 input{min-height:44px;scroll-margin-bottom:96px}.student-suggestions75{border:1px solid var(--border,#b5a482);border-radius:8px;max-height:160px;overflow:auto;overscroll-behavior:contain;background:var(--bg,#faf6ed)}.student-suggestions75[hidden]{display:none}.student-choice75{display:block;width:100%;margin:0;text-align:left;background:transparent;color:inherit;border:0;border-bottom:1px solid var(--border,#b5a482);border-radius:0;min-height:44px;padding:8px 10px}.student-choice75:last-child{border-bottom:0}.student-choice75:focus-visible{outline-offset:-3px}.student-suggestions75 small{display:block;padding:8px}.student-picker-actions75{display:flex;justify-content:flex-end}.student-picker-actions75 button{font-size:.82em;min-height:32px;padding:4px 10px;margin:0}.student-pantry75{border:1px solid var(--border,#b5a482);border-radius:8px;padding:8px;margin:8px 0}.student-pantry75 summary{cursor:pointer}.student-actions75{position:sticky;bottom:0;z-index:2;background:var(--bg,#faf6ed);padding-top:8px;padding-bottom:max(4px,env(safe-area-inset-bottom,0px));margin-top:auto;border-top:1px solid #b5a48266;box-shadow:0 -6px 10px rgba(0,0,0,.06)}.dark .student-actions75{background:#39352e}.student-actions75 button{min-height:44px}.student-actions75 button:last-child{width:100%}.student-coverage75{display:grid;gap:4px}.student-coverage75 progress{width:100%;height:9px;accent-color:var(--accent,#806a3c)}.dark .student-suggestions75{background:#39352e}.student-dialog75 .student-tags70{max-height:135px;overflow:auto}
