.recipe-app{background:#fcf9f1;color:#38271c}.recipe-header{max-width:1440px;margin:auto;padding:24px 32px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e6d6c2}.recipe-header nav{display:flex;gap:22px;font-size:.85rem}.recipe-header .brand small{display:block;font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;margin-top:5px}.recipe-app #recipe-main{max-width:1440px;margin:auto;padding:32px}.recipe-app h1{font-size:clamp(1.9rem,3.5vw,2.65rem);line-height:1.2;margin:8px 0 12px}.recipe-app h2{font-size:1.18rem;margin:0 0 18px}.recipe-app h3{font-size:1rem}.recipe-eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.65rem;color:#876c53}.recipe-muted{color:#7b6e60;font-size:.85rem}.recipe-toolbar,.recipe-actions,.recipe-tabs{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.recipe-toolbar{justify-content:space-between;margin-bottom:24px}.recipe-tabs{border-bottom:1px solid #dfcfb8;margin:22px 0;gap:4px;padding-bottom:10px}.recipe-app button,.recipe-app .recipe-button{min-height:44px;border:1px solid #d7c0a6;border-radius:7px;padding:10px 15px;background:#fffefa;color:#664020;font:inherit;font-size:.85rem;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:5px}.recipe-app button.primary,.recipe-app button[aria-current=page]{color:#fff;background:#784d29;border-color:#784d29}.recipe-app button.danger{color:#9e382c}.recipe-app button:disabled{opacity:.5;cursor:not-allowed}.recipe-app button:focus-visible,.recipe-app input:focus-visible,.recipe-app select:focus-visible,.recipe-app textarea:focus-visible{outline:3px solid #b98149;outline-offset:2px}.recipe-app label{display:grid;gap:7px;font-size:.8rem;font-weight:600;min-width:0}.recipe-app input,.recipe-app select,.recipe-app textarea{width:100%;min-width:0;min-height:44px;background:white;border:1px solid #d9c4ac;border-radius:6px;padding:10px 12px;font:inherit;font-weight:400;color:#35271e;box-sizing:border-box}.recipe-app textarea{resize:vertical;min-height:88px;line-height:1.6}.recipe-app input[type=checkbox]{width:22px;height:22px;min-height:22px;accent-color:#78502f}.recipe-card{border:1px solid #e5d7c6;border-radius:12px;background:#fffefa;padding:24px;margin-bottom:20px}.recipe-card>header,.recipe-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.recipe-card>header h2,.recipe-section-head h3{margin:0}.recipe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.recipe-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.recipe-fields.two{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-fields .wide{grid-column:1/-1}.recipe-filters{display:grid;grid-template-columns:minmax(200px,2fr) repeat(3,minmax(130px,1fr));gap:12px;margin-bottom:16px}.recipe-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.recipe-library .recipe-card{margin:0;display:flex;flex-direction:column;gap:12px}.recipe-library .recipe-card h2{font-size:1.15rem;margin:0;line-height:1.5}.recipe-library .recipe-card .recipe-actions{margin-top:auto}.recipe-badge{display:inline-flex;align-self:flex-start;text-transform:capitalize;font-size:.7rem;padding:4px 8px;background:#f2eadc;border-radius:4px;color:#73502d}.recipe-badge.production{background:#e8eedf;color:#3d613e}.recipe-badge.testing{background:#fff0cf}.recipe-empty{text-align:center;padding:60px 24px;color:#7b6e60;grid-column:1/-1}.recipe-pagination{display:flex;justify-content:space-between;align-items:center;margin-top:22px}.recipe-ingredient-editor{display:grid;grid-template-columns:34px minmax(140px,2fr) minmax(74px,.7fr) minmax(68px,.6fr) minmax(120px,1.4fr) 92px;gap:10px;align-items:start;margin:12px 0;padding:14px 0;border-top:1px solid #eddfcf}.recipe-ingredient-editor .recipe-row-extra{grid-column:2/-2}.recipe-row-buttons{display:flex;gap:4px;align-items:center;padding-top:24px}.recipe-row-buttons button,.recipe-app .recipe-drag{padding:8px;min-width:40px}.recipe-app .recipe-drag{margin-top:24px;min-width:30px;cursor:grab}.recipe-ingredient-editor.dragging{opacity:.45}.recipe-ingredient-editor.drag-over{border-top:3px solid #9b7047}.recipe-row-extra>summary{font-size:.75rem;color:#806344;cursor:pointer}.recipe-row-extra[open]>.recipe-fields{margin-top:12px}.recipe-step-editor{border-top:1px solid #ecdfce;padding-top:16px;margin-top:16px}.recipe-step-editor .recipe-fields{margin-top:12px}.recipe-step-editor .recipe-actions{justify-content:flex-end}.recipe-sticky-save{position:sticky;bottom:0;z-index:5;background:rgba(252,249,241,.97);border-top:1px solid #dbc8b2;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;backdrop-filter:blur(8px)}.recipe-status-text{font-size:.8rem;color:#7b6e60}.recipe-error{color:#953327;background:#fff0ed;border:1px solid #e4b3a8;padding:14px;border-radius:8px}.recipe-notice{padding:14px;background:#f5eddc;border:1px solid #decaab;border-radius:8px;font-size:.85rem;line-height:1.6}.recipe-app #recipe-notice:not(:empty){position:fixed;right:24px;bottom:24px;max-width:min(480px,90vw);padding:16px 20px;border-radius:8px;background:#39291c;color:white;z-index:90;box-shadow:0 5px 25px #0002}.recipe-app dialog{max-width:850px;width:calc(100% - 32px);max-height:90dvh;border:1px solid #dfc9ae;border-radius:14px;padding:25px;background:#fcf9f1;color:#38271c;box-sizing:border-box}.recipe-app dialog::backdrop{background:#201b168c}.recipe-app dialog>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:16px}.recipe-app dialog>header h2{margin:0}.recipe-app dialog>header button{font-size:1.25rem;width:44px;padding:5px}.recipe-table-wrap{overflow-x:auto}.recipe-table{width:100%;border-collapse:collapse;font-size:.9rem}.recipe-table th{text-align:left;font-weight:600;font-size:.73rem;color:#7a634d}.recipe-table th,.recipe-table td{padding:12px 8px;border-bottom:1px solid #e7d8c5;vertical-align:top}.recipe-table td.numeric{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.recipe-table .recipe-muted{font-size:.75rem}.recipe-photos{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0}.recipe-photos figure{margin:0;flex:1;min-width:130px;max-width:320px}.recipe-photos img{max-height:230px;width:100%;object-fit:contain;background:#f4ede1;border-radius:9px}.recipe-photos figcaption{font-size:.75rem;margin-top:7px;color:#806a56}.recipe-check{display:flex;gap:12px;align-items:flex-start!important;line-height:1.65;font-weight:400!important;font-size:1rem!important}.recipe-check input{flex:0 0 22px;margin-top:3px}.recipe-check:has(input:checked)>span{color:#968775;text-decoration:line-through}.recipe-method-step{padding:13px 0;border-bottom:1px solid #ecdfce}.recipe-step-meta{font-size:.8rem;margin:6px 0 0 34px;color:#886743}.recipe-production .recipe-table{font-size:1.1rem}.recipe-production .recipe-check{font-size:1.1rem!important}.recipe-production .recipe-card{padding:26px}.recipe-production .recipe-table td{padding:16px 8px}.recipe-yield{display:flex;gap:8px;flex-wrap:wrap;margin:15px 0}.recipe-yield span{padding:7px 12px;border-radius:6px;background:#efe5d3;font-size:.85rem}.recipe-scale{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr;gap:12px;align-items:end}.recipe-diff td{overflow-wrap:anywhere;max-width:300px}.recipe-resource-row{display:flex;justify-content:space-between;gap:15px;align-items:center;padding:16px 0;border-bottom:1px solid #e5d8c7}.recipe-print-root{display:none}.recipe-app .recipe-tab-panel[hidden]{display:none}.recipe-inline-check{display:flex!important;align-items:center;gap:10px;margin:14px 0}.recipe-source-text{white-space:pre-wrap;font-size:.85rem;line-height:1.6;max-height:350px;overflow:auto}.recipe-advanced{margin-top:16px}.recipe-advanced>summary{cursor:pointer;font-size:.85rem;color:#79562f;padding:9px 0}.recipe-advanced[open]>.recipe-fields{margin-top:12px}.recipe-back{margin-bottom:20px}.recipe-production .recipe-private{display:none}
@media(max-width:1050px){.recipe-library{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-ingredient-editor{grid-template-columns:30px minmax(130px,2fr) minmax(70px,1fr) minmax(65px,1fr) 90px}.recipe-ingredient-editor>label:nth-of-type(3){grid-column:2/-2}.recipe-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.recipe-header{padding:18px;align-items:flex-start}.recipe-header nav{flex-direction:column;gap:8px;text-align:right;font-size:.72rem}.recipe-header .brand{font-size:.8rem}.recipe-header .brand img{display:none}.recipe-app #recipe-main{padding:22px 16px}.recipe-card{padding:18px}.recipe-grid,.recipe-library{grid-template-columns:1fr}.recipe-fields,.recipe-fields.two,.recipe-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-tabs{flex-wrap:nowrap;overflow:auto}.recipe-tabs button{white-space:nowrap;flex-shrink:0}.recipe-ingredient-editor{grid-template-columns:32px 1fr 1fr 85px;gap:8px}.recipe-ingredient-editor>.recipe-ingredient-picker{grid-column:2/-1}.recipe-ingredient-editor>label:first-of-type{grid-column:2}.recipe-ingredient-editor>label:nth-of-type(3){grid-column:2/-1}.recipe-ingredient-editor .recipe-row-buttons{grid-column:4;grid-row:2}.recipe-ingredient-editor .recipe-row-extra{grid-column:2/-1}.recipe-ingredient-editor .recipe-drag{grid-row:1/3}.recipe-sticky-save{padding:12px 0;flex-wrap:wrap}.recipe-sticky-save .recipe-actions{width:100%}.recipe-sticky-save .primary{flex:1}.recipe-production .recipe-card{padding:18px}.recipe-scale label:first-child{grid-column:1/-1}.recipe-photos img{max-height:170px}.recipe-filters{grid-template-columns:1fr 1fr}.recipe-filters label:first-child{grid-column:1/-1}}
@media print{body>*{display:none!important}body>.recipe-print-root{display:block!important;background:white;color:#222}.recipe-print-root{font:10pt Arial,sans-serif}.recipe-print-root h1{font-size:23pt}.recipe-print-root h2{font-size:13pt;border-bottom:1px solid #bca284;padding-bottom:6px;margin-top:18px}.recipe-print-root h3{font-size:11pt}.recipe-print-root .recipe-print-cover,.recipe-print-root article,.recipe-print-root .recipe-reference{break-before:page}.recipe-print-root article:first-child{break-before:auto}.recipe-print-root table{border-collapse:collapse;width:100%;margin:10px 0}.recipe-print-root th,.recipe-print-root td{padding:6px;border-bottom:1px solid #ddd;text-align:left}.recipe-print-root thead{display:table-header-group}.recipe-print-root tr,.recipe-print-root li,.recipe-print-root figure{break-inside:avoid}.recipe-print-root img{max-height:180px;max-width:45%;object-fit:contain;margin:8px}.recipe-print-root h2,.recipe-print-root h3{break-after:avoid}.recipe-print-root li{margin-bottom:7px;line-height:1.5}.recipe-print-root .recipe-yield{display:flex;gap:16px}.recipe-print-root .recipe-muted{font-size:9pt;color:#555}.recipe-print-root.presentation{font-family:inherit;color:#38271c}.recipe-print-root.presentation h1{font-family:inherit;color:#78502f}.recipe-print-root.presentation h2{color:#78502f}.recipe-print-root .recipe-print-note{padding:10px;border-left:3px solid #b68f62;background:#f8f2e6;white-space:pre-wrap}}
.recipe-app .recipe-check{display:flex}.recipe-app h1{font-family:Lobster,serif;font-weight:400}.recipe-app>.skip-link{position:absolute;left:12px;top:-100px;z-index:100;background:#fff;padding:12px}.recipe-app>.skip-link:focus{top:8px}.recipe-print-root.presentation h1{font-family:Lobster,serif}

@media print{.recipe-print-root:not(.presentation) h1{font-family:Arial,sans-serif;font-weight:700;font-size:21pt}.recipe-print-root:not(.presentation) img{max-height:32mm}.recipe-print-root.presentation h1{font-family:Lobster,serif;font-size:26pt}.recipe-print-root.presentation table{background:#fffcf7}.recipe-print-root.presentation th{background:#f3eadb;color:#67482e}.recipe-print-root:not(.presentation) td,.recipe-print-root:not(.presentation) th{padding:4px 6px}.recipe-print-root .recipe-reference h1{font-size:20pt}}

.recipe-editor-outline{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.recipe-editor-outline a{font-size:.78rem;border:1px solid #dfcfb8;border-radius:6px;padding:9px 12px;text-decoration:none}.recipe-editor-outline a:hover{background:#f2e7d7}#recipe-editor>section{scroll-margin-top:20px}
.recipe-packaging-photos{padding-top:16px}.recipe-packaging-photos>.recipe-section-head{flex-wrap:wrap}.recipe-packaging-photos h3,.recipe-packaging-photos .recipe-actions{margin:0}@media(max-width:700px){.recipe-packaging-photos>.recipe-section-head h3{flex-basis:100%}.recipe-packaging-photos .recipe-actions{width:100%}.recipe-packaging-photos .recipe-actions button{flex:1}}
.recipe-component-intro .recipe-muted{margin:5px 0 0}.recipe-component-title{flex:1;max-width:640px;min-width:0}.recipe-component-title input{font-size:1.1rem;font-weight:600}.recipe-component-title .recipe-eyebrow{display:block;margin-bottom:8px}
.recipe-packaging-item{display:grid;grid-template-columns:minmax(160px,1fr) 120px 90px auto;gap:16px;align-items:center;padding:18px 0;border-bottom:1px solid #e5d8c7}.recipe-packaging-item>div{min-width:0;overflow-wrap:anywhere}.recipe-packaging-item p{margin:6px 0}.recipe-packaging-item input[readonly]{background:#f4ede2}.recipe-linked-packaging{padding-left:22px}.recipe-linked-packaging li{margin:10px 0;line-height:1.6}.recipe-linked-packaging span{display:block}@media(max-width:700px){.recipe-packaging-item{grid-template-columns:minmax(0,1fr) 80px auto;gap:12px}.recipe-packaging-item>div{grid-column:1/-1}.recipe-packaging-item>button{align-self:end;min-height:44px}.recipe-packaging-editor>.recipe-section-head{align-items:center}}
.recipe-ingredient-picker{position:relative;min-width:0}.recipe-ingredient-picker>label{margin-bottom:6px}.recipe-ingredient-link{font-size:.7rem;line-height:1.5;color:#7b6e60;margin:6px 0 0;overflow-wrap:anywhere}.recipe-ingredient-options{position:absolute;top:74px;left:0;right:0;z-index:25;max-height:310px;overflow:auto;background:#fffefb;border:1px solid #cba884;border-radius:8px;box-shadow:0 8px 24px #38271c24}.recipe-ingredient-options[hidden]{display:none}.recipe-app .recipe-ingredient-options button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid #ebdfd0;border-radius:0;padding:12px;min-height:48px;white-space:normal;overflow-wrap:anywhere}.recipe-ingredient-options button>span{display:block;font-size:.72rem;color:#7b6e60;margin-top:5px}.recipe-app .recipe-ingredient-options button:hover,.recipe-app .recipe-ingredient-options button[aria-selected=true]{background:#f3e8d8}.recipe-ingredient-options>p{font-size:.8rem;padding:12px;line-height:1.6;margin:0}
.recipe-component-editor>.recipe-section-head{align-items:flex-end}.recipe-component-editor>.recipe-section-head>.recipe-actions{margin-bottom:0}.recipe-component-editor .recipe-group{border:0;padding:0;margin:0 0 22px}
.recipe-procedure-editor{padding-top:12px;border-top:1px solid #e5d8c7}.recipe-procedure-editor+.recipe-procedure-editor{margin-top:20px}.recipe-procedure-editor>.recipe-section-head{align-items:flex-start}.recipe-procedure-options{max-width:680px}.recipe-procedure-options summary{font-size:.75rem;color:#79502d;cursor:pointer;text-align:right}.recipe-procedure-options[open]{flex:1}.recipe-procedure-options[open] summary{margin-bottom:12px}
.recipe-step-editor{border:0;border-bottom:1px solid #eee1cf;padding:12px 0;margin:0}.recipe-step-editor textarea{min-height:66px}.recipe-step-editor>.recipe-actions{justify-content:flex-end;margin-top:6px;gap:6px}.recipe-step-editor>.recipe-actions button{min-height:36px;padding:6px 10px;font-size:.72rem}.recipe-add-step{margin-top:14px}.recipe-add-component{margin:-4px 0 22px}
.recipe-optional>details>summary{cursor:pointer;font-weight:600}.recipe-optional>details[open]>summary{margin-bottom:20px}.recipe-yield-extra{margin-top:16px}.recipe-yield-extra summary{cursor:pointer;font-size:.8rem;color:#79502d;margin-bottom:12px}
.recipe-component-view .recipe-procedure-view{margin-top:24px;padding-top:14px;border-top:1px solid #e5d8c7}.recipe-component-view>.recipe-table-wrap{margin-bottom:8px}.recipe-component-view .recipe-table td{vertical-align:middle}
@media(max-width:700px){.recipe-component-editor>.recipe-section-head{align-items:stretch;flex-direction:column}.recipe-component-editor>.recipe-section-head>.recipe-actions{align-self:flex-end}.recipe-procedure-options[open]{width:100%;max-width:none}.recipe-procedure-editor>.recipe-section-head{flex-wrap:wrap}.recipe-step-editor>.recipe-actions button{min-height:44px;min-width:44px}.recipe-component-editor h3{margin-top:20px}}
@media print{body.recipe-app{background:white!important}.recipe-print-group,.recipe-print-method{break-inside:avoid}.recipe-print-group h3{font-size:13pt;margin-bottom:8px}.recipe-print-group h4{font-size:10pt;break-after:avoid;margin:14px 0 7px}.recipe-print-group ol{margin-top:6px}.recipe-print-method h3{break-after:avoid}}
.recipe-app .recipe-form-section{margin:28px 0 10px;padding-top:22px;border-top:1px solid #e5d8c7}.recipe-access-row>div:first-child{min-width:0;overflow-wrap:anywhere}.recipe-access-row .recipe-actions{align-items:end}@media(max-width:700px){.recipe-access-row{align-items:stretch;flex-direction:column}.recipe-access-row .recipe-actions{flex-wrap:wrap}}
.recipe-supplier-quote{padding:18px 0;border-bottom:1px solid #e5d8c7;margin-bottom:18px}.recipe-cost-preference{display:block;margin:22px 0 12px}.recipe-supplier-quote .recipe-fields+.recipe-fields{margin-top:16px}
#recipe-purchase-form>.recipe-muted{margin:14px 0}

/* Compact resource tables: keep purchase packs and per-unit costs visible. */
.recipe-skeleton{min-height:540px}
.recipe-skeleton-heading{padding:0 0 20px;max-width:640px}.recipe-skeleton-heading>.recipe-skeleton-name{height:45px;max-width:340px;margin:15px 0}
.recipe-skeleton-name,.recipe-skeleton-button,.recipe-skeleton-field{background:#e9dfd1;border-radius:7px;display:block}
.recipe-skeleton-name{height:24px;width:75%;margin:20px 0}.recipe-skeleton-button{height:38px;width:105px;margin-top:20px}
.recipe-skeleton-tabs{display:flex;gap:10px;padding:0 0 20px;margin-bottom:24px;overflow:hidden;border-bottom:1px solid #e5d8c7}.recipe-skeleton-tabs .recipe-skeleton-button{flex:0 0 95px;margin:0}
.recipe-skeleton-filters{display:grid;grid-template-columns:2fr repeat(3,1fr);gap:12px;margin-bottom:32px}.recipe-skeleton-field{height:44px;min-width:0}
.recipe-skeleton .tlb-skeleton-card{min-height:220px;padding:24px}
.recipe-skeleton-table{border:1px solid #e5d8c7;border-radius:12px;padding:10px 20px;background:#fffefa}.recipe-skeleton-row{display:grid;grid-template-columns:2fr 1fr 60px;gap:20px;align-items:center;border-bottom:1px solid #efe6d9;min-height:54px}.recipe-skeleton-row:last-child{border:0}.recipe-skeleton-row .recipe-skeleton-button{width:50px;height:30px;margin:0}
.recipe-skeleton .tlb-skeleton-line,.recipe-skeleton-name,.recipe-skeleton-button,.recipe-skeleton-field{background:linear-gradient(100deg,#e9dfd1 25%,#f5eee3 45%,#e9dfd1 65%);background-size:220% 100%;animation:recipe-skeleton-shimmer 1.8s ease-in-out infinite}
.recipe-loading-ready{animation:recipe-content-reveal .16s ease-out}
@keyframes recipe-skeleton-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@keyframes recipe-content-reveal{from{opacity:.7}to{opacity:1}}
@media(max-width:1050px){.recipe-skeleton-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.recipe-skeleton .tlb-skeleton-card{min-height:210px}.recipe-skeleton .tlb-skeleton-card:nth-child(n+3){display:none}.recipe-skeleton-tabs{gap:8px}.recipe-skeleton-row{grid-template-columns:2fr 1fr 50px;gap:8px}}
@media(prefers-reduced-motion:reduce){.recipe-skeleton .tlb-skeleton-line,.recipe-skeleton-name,.recipe-skeleton-button,.recipe-skeleton-field,.recipe-loading-ready{animation:none}}
.recipe-resource-card{--resource-space:7px;border:1px solid #e5d8c7;border-radius:12px;background:#fffefa;overflow:hidden;margin-bottom:20px}
.recipe-resource-card[data-density=comfortable]{--resource-space:15px}
.recipe-resource-heading{padding:20px 22px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.recipe-resource-heading h2{margin:0;font-size:1.25rem}.recipe-resource-heading p{margin:4px 0 0;font-size:.78rem;color:#756757}
.recipe-resource-toolbar{display:flex;align-items:center;gap:10px;padding:16px 22px}
.recipe-app .recipe-resource-search{flex:1;max-width:430px}.recipe-app .recipe-resource-search input{font-size:.8rem}
.recipe-resource-sort{margin-left:auto}.recipe-app .recipe-resource-sort select{font-size:.78rem;max-width:220px}
.recipe-resource-density{display:flex;padding:3px;gap:1px;background:#f3ebdd;border-radius:7px}
.recipe-app .recipe-resource-density button{min-height:36px;border:0;padding:7px 10px;font-size:.72rem;background:transparent;color:#756757;border-radius:5px}
.recipe-app .recipe-resource-density button[aria-pressed=true]{background:#fffefa;box-shadow:0 1px 5px #38271c12;color:#38271c}
.recipe-resource-table{width:100%;border-collapse:collapse;font-size:.85rem}
.recipe-resource-table th{padding:10px 14px;background:#f5efe4;border-top:1px solid #e5d8c7;border-bottom:1px solid #e5d8c7;text-align:left;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:#756757}
.recipe-resource-table td{padding:var(--resource-space) 14px;border-bottom:1px solid #efe6d9;vertical-align:middle}
.recipe-resource-table th:first-child,.recipe-resource-table td:first-child{padding-left:22px}
.recipe-resource-table th:last-child,.recipe-resource-table td:last-child{padding-right:22px}
.recipe-resource-table tbody tr:last-child td{border-bottom:0}.recipe-resource-table tbody tr:nth-child(even){background:#fcf9f3}.recipe-resource-table tbody tr:hover{background:#f4ecde}
.recipe-resource-table .numeric{text-align:right;font-variant-numeric:tabular-nums}
.recipe-resource-name{display:flex;align-items:center;gap:9px;min-width:0}.recipe-resource-name>div{overflow-wrap:anywhere;min-width:0}
.recipe-resource-title{font-weight:600}.recipe-resource-meta{font-size:.72rem;color:#756757;margin-left:7px}
.recipe-resource-dot{display:inline-block;width:6px;height:6px;background:#40634b;border:1px solid #40634b;border-radius:50%;flex:none}
.recipe-resource-dot.inactive{background:transparent;border-color:#8a7c6c}.recipe-resource-inactive{display:inline-block;font-size:.64rem;color:#756757;padding:1px 5px;background:#ede8df;border-radius:3px;margin-left:7px}
.recipe-resource-purchase{width:25%}.recipe-resource-purchase strong{font-weight:600;white-space:nowrap}
.recipe-resource-unit{width:20%;font-size:.78rem;color:#756757}.recipe-resource-unit>span:first-child{white-space:nowrap}
.recipe-resource-pack{font-size:.72rem;color:#756757;margin-left:6px;display:inline-block;overflow-wrap:anywhere}
.recipe-resource-missing{font-size:.74rem;color:#756757}.recipe-resource-action{width:82px;text-align:right}
.recipe-app .recipe-resource-edit{font-size:.72rem;min-height:32px;min-width:50px;padding:5px 11px;border-radius:5px;background:transparent}
.recipe-app .recipe-resource-edit:hover{background:#f0e3ce;border-color:#79502d}
.recipe-resource-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 22px;border-top:1px solid #e5d8c7;color:#756757;font-size:.68rem}
.recipe-resource-empty{padding:40px 22px;text-align:center;color:#756757;font-size:.85rem}
.recipe-resource-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.recipe-resource-action{width:140px;white-space:nowrap}.recipe-resource-action button+button{margin-left:5px}
.recipe-resource-summary{font-size:.76rem;color:#756757;overflow-wrap:anywhere;max-width:540px}
.recipe-directory-table .recipe-resource-identity{width:40%}
@media(max-width:1000px){.recipe-resource-toolbar{flex-wrap:wrap}.recipe-app .recipe-resource-search{max-width:none}.recipe-resource-density{margin-left:auto}.recipe-resource-meta{display:block;margin:3px 0 0}.recipe-resource-heading{align-items:flex-start}.recipe-resource-heading .recipe-actions{justify-content:flex-end}}
@media(max-width:700px){
 .recipe-resource-heading{padding:16px 14px 0;flex-wrap:wrap}.recipe-resource-heading .recipe-actions{justify-content:flex-start}
 .recipe-resource-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:13px 14px;gap:9px}.recipe-app .recipe-resource-search{grid-column:1/-1}.recipe-resource-sort{margin-left:0}.recipe-resource-density{margin-left:0}
 .recipe-app .recipe-resource-sort select{font-size:.7rem;max-width:100%;padding-left:8px;padding-right:24px}.recipe-app .recipe-resource-density button{min-height:38px;font-size:.65rem;padding:7px}
 .recipe-resource-table thead{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}
 .recipe-resource-table tbody{display:block}.recipe-resource-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:calc(var(--resource-space) + 4px) 14px;border-bottom:1px solid #e5d8c7}
 .recipe-resource-table tr:last-child{border-bottom:0}.recipe-resource-table td{border:0;padding:0!important;width:auto!important}
 .recipe-resource-identity{grid-column:1;grid-row:1}.recipe-resource-table .recipe-resource-purchase{grid-column:1;grid-row:2;text-align:left;padding-left:15px!important}
 .recipe-resource-table .recipe-resource-unit{grid-column:1;grid-row:3;text-align:left;padding-left:15px!important;font-size:.72rem}
 .recipe-resource-action{grid-column:2;grid-row:1/4;align-self:center}.recipe-resource-title{font-size:.8rem}.recipe-resource-meta{font-size:.69rem}
 .recipe-app .recipe-resource-edit{min-height:44px;min-width:48px}.recipe-resource-footer{padding:12px 14px;flex-wrap:wrap;gap:4px}
 .recipe-resource-action{display:flex;gap:5px;white-space:normal}.recipe-resource-action button+button{margin-left:0}
 .recipe-directory-table .recipe-resource-summary{grid-column:1;grid-row:2;padding-left:15px!important}.recipe-directory-table .recipe-resource-action{grid-row:1/3}
}
.recipe-view-actions{align-items:flex-end}.recipe-status-control{display:flex;align-items:end;gap:8px}.recipe-status-control label{min-width:112px}.recipe-app [hidden]{display:none!important}.recipe-badge.hidden{background:#eee8f2;color:#62506d}.recipe-badge.archived{background:#ece9e4;color:#655d53}.recipe-table th.numeric{text-align:right}.recipe-header .recipe-button.primary{background:#784d29;color:white;border-color:#784d29}
.recipe-kitchen-view .recipe-header{padding:12px 24px}.recipe-kitchen-view .recipe-header nav{align-items:center;gap:16px}.recipe-kitchen-view #recipe-main{padding:18px 24px}.recipe-production h1{font-size:clamp(1.4rem,2.6vw,2rem);margin:4px 0 7px}.recipe-production .recipe-toolbar{margin-bottom:14px;gap:12px}.recipe-production .recipe-card{padding:16px;margin-bottom:12px}.recipe-production .recipe-card h2{margin-bottom:10px}.recipe-production .recipe-scale{grid-template-columns:minmax(120px,1fr) minmax(140px,1fr) minmax(100px,1fr);gap:10px}.recipe-production .recipe-scale label:first-child{grid-column:auto}.recipe-production .recipe-yield{margin:10px 0 0}.recipe-production .recipe-yield span{padding:5px 9px}.recipe-kitchen-adjustments{margin-top:9px}.recipe-kitchen-adjustments>summary,.recipe-kitchen-reference>summary{cursor:pointer;color:#79562f;font-size:.82rem;padding:6px 0}.recipe-kitchen-adjustments>label{max-width:300px;margin:10px 0}.recipe-kitchen-reference{margin-bottom:12px}.recipe-kitchen-reference .recipe-reader-reference{padding:6px 0}.recipe-kitchen-reference .recipe-photos img{max-height:180px}
.recipe-kitchen-nav{position:sticky;top:var(--tlb-site-header-height,0px);z-index:4;background:#fcf9f1;padding:8px 0;margin-bottom:6px;scroll-margin-top:0}.recipe-kitchen-selector{display:flex;align-items:end;gap:8px}.recipe-kitchen-selector label{flex:1}.recipe-kitchen-selector button{min-width:44px;padding:8px}.recipe-kitchen-pane{display:none;gap:8px;margin-top:8px}.recipe-kitchen-pane button{flex:1}.recipe-kitchen-pane button[aria-pressed=true]{background:#784d29;color:white}.recipe-kitchen-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}.recipe-production .recipe-table{font-size:.94rem}.recipe-production .recipe-table td{padding:7px 6px}.recipe-production .recipe-table th{padding:8px 6px}.recipe-production .recipe-check{font-size:.94rem!important;line-height:1.45;gap:9px;min-height:28px;align-items:center!important}.recipe-production .recipe-check input{margin:0;flex-shrink:0}.recipe-production .recipe-method-step{padding:8px 0}.recipe-production .recipe-procedure-view h3{margin:4px 0 9px}.recipe-production .recipe-step-meta{margin:5px 0 0 31px}.recipe-production .recipe-table td:first-child{overflow-wrap:anywhere}.recipe-production .recipe-table .recipe-check{padding:3px 0;min-height:30px}.recipe-kitchen-columns>.recipe-table-wrap{overflow-x:visible}
@media(max-width:700px){.recipe-kitchen-view .recipe-header{padding:10px 12px;align-items:center;gap:8px}.recipe-kitchen-view .recipe-header nav{gap:8px;flex-direction:row;justify-content:flex-end;flex-wrap:wrap}.recipe-kitchen-view .recipe-header .brand{max-width:120px;font-size:.7rem}.recipe-kitchen-view .recipe-header .brand small{font-size:.58rem}.recipe-kitchen-view .recipe-header nav .recipe-button{font-size:.72rem;padding:8px 10px}.recipe-kitchen-view #recipe-main{padding:12px}.recipe-production .recipe-toolbar .recipe-actions{gap:6px}.recipe-production .recipe-toolbar .recipe-actions button{padding:8px 11px;min-height:40px;font-size:.78rem}.recipe-production .recipe-card{padding:12px}.recipe-production .recipe-scale{grid-template-columns:1fr 1fr;gap:8px}.recipe-production .recipe-scale label:first-child{grid-column:1/-1}.recipe-production .recipe-scale input,.recipe-production .recipe-scale select{padding:8px;font-size:.85rem}.recipe-production .recipe-scale label{gap:4px}.recipe-kitchen-columns{display:block}.recipe-kitchen-methods{margin-top:20px}.recipe-production .recipe-table{table-layout:auto}.recipe-production .recipe-table td.numeric{font-size:.95rem;font-weight:600}.recipe-production .recipe-resource-row{padding:10px 0}.recipe-production .recipe-photos{margin:10px 0}.recipe-production .recipe-photos img{max-height:160px}}
.recipe-production h1{font-family:inherit;font-weight:650;letter-spacing:-.025em}.recipe-kitchen-production-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.recipe-kitchen-production-summary strong{display:block;font-size:1.12rem}.recipe-kitchen-production-summary small{display:block;margin-top:5px;font-size:.8rem;color:#7b6e60}.recipe-kitchen-production-summary .recipe-quick-quantity{margin:0}.recipe-kitchen-production-fields{margin-top:12px;padding-top:12px;border-top:1px solid #e7d8c5}.recipe-production .recipe-kitchen-production .recipe-scale{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-size-options{border:0;margin:0;padding:0;min-width:0;grid-column:1/-1}.recipe-size-options legend{font-size:.8rem;font-weight:600;margin-bottom:7px;padding:0}.recipe-size-options button{overflow-wrap:anywhere;max-width:100%}.recipe-production .recipe-kitchen-production .recipe-scale>label{grid-column:auto;min-width:0}.recipe-production .recipe-kitchen-methods>.recipe-procedure-view:first-child{border-top:0;padding-top:0;margin-top:0}.recipe-production .recipe-allergens{margin:7px 0}.recipe-production .recipe-kitchen-reference{margin-bottom:8px}
.recipe-cost-highlights,.recipe-cost-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:16px 0}
.recipe-cost-highlights>div{background:#f4ebdf;border:1px solid #e5d5c0;border-radius:9px;padding:14px;min-width:0}
.recipe-cost-highlights dt,.recipe-cost-breakdown dt{font-size:.78rem;color:#6b5947;line-height:1.45}
.recipe-cost-highlights dd,.recipe-cost-breakdown dd{margin:5px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-weight:650}
.recipe-cost-highlights dd{font-size:1.22rem}.recipe-cost-breakdown>div{min-width:0;border-bottom:1px solid #ecdfcf;padding:9px 0}
.recipe-direct-cost{border-top:1px solid #e5d8c7;padding:14px 0}.recipe-direct-cost>.danger{margin-top:10px}
.recipe-cost-product{border-top:1px solid #dfcfb9;padding:22px 0}.recipe-cost-product h3{margin:0;overflow-wrap:anywhere}.recipe-cost-product .recipe-muted{font-size:.8rem}
.recipe-cost-lines summary{cursor:pointer;padding:12px 0}.recipe-cost-overview .recipe-filters{margin-top:20px}
@media(max-width:600px){.recipe-cost-highlights,.recipe-cost-breakdown{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.recipe-cost-highlights>div{padding:10px}.recipe-cost-highlights dd{font-size:1.02rem}.recipe-cost-product .recipe-section-head{align-items:start;flex-wrap:wrap}.recipe-cost-product .recipe-section-head>div{min-width:0}.recipe-cost-product button{min-height:44px}}

/* Approved recipe UX: production shortcuts, visible brands and focused costing. */
.recipe-test-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:22px;align-items:start}.recipe-test-workspace>*{min-width:0}
.recipe-test-notes{position:sticky;top:12px;max-height:calc(100dvh - 115px);overflow:auto;padding:20px}.recipe-test-notes>label{margin:16px 0}.recipe-test-notes textarea{min-height:80px}
.recipe-test-tabs{display:none!important}.recipe-test-workspace .recipe-ingredient-head,.recipe-test-workspace .recipe-ingredient-compact{grid-template-columns:26px minmax(135px,1fr) 70px 60px 84px 58px;gap:6px}.recipe-test-workspace .recipe-ingredient-identity input{min-width:100px}
@media(max-width:1100px) and (min-width:701px){.recipe-test-workspace{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.recipe-test-workspace .recipe-ingredient-head{display:none}.recipe-test-workspace .recipe-ingredient-compact{grid-template-columns:26px minmax(0,1fr) 60px 84px}.recipe-test-workspace .recipe-ingredient-compact>.recipe-ingredient-picker{grid-column:2/-1;grid-row:1}.recipe-test-workspace .recipe-ingredient-compact>label:nth-of-type(1){grid-column:2;grid-row:2}.recipe-test-workspace .recipe-ingredient-compact>label:nth-of-type(2){grid-column:3;grid-row:2}.recipe-test-workspace .recipe-ingredient-compact>.recipe-row-buttons{grid-column:4;grid-row:2}.recipe-test-workspace .recipe-ingredient-details{grid-column:2/-1;grid-row:3}}
@media(max-width:700px){.recipe-test-workspace{display:block}.recipe-test-tabs{display:flex!important;margin-bottom:16px}.recipe-test-tabs button{flex:1}.recipe-test-notes{position:static;max-height:none}.recipe-test-workspace[data-test-pane=formula]>.recipe-test-notes,.recipe-test-workspace[data-test-pane=notes]>#recipe-editor{display:none}.recipe-test-workspace .recipe-ingredient-compact{grid-template-columns:26px minmax(0,1fr) 60px 84px;gap:6px}}
.recipe-quick-quantity,.recipe-kitchen-sections,.recipe-segmented{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.recipe-quick-quantity{margin-bottom:10px}.recipe-quick-quantity>span:first-child{font-size:.8rem;font-weight:600;margin-right:5px}
.recipe-quick-quantity button,.recipe-kitchen-sections button,.recipe-segmented button{min-height:48px}
.recipe-quick-quantity button[aria-pressed=true],.recipe-kitchen-sections button[aria-pressed=true],.recipe-segmented button[aria-pressed=true]{background:#784d29;color:white;border-color:#784d29}
.recipe-kitchen-sections{margin-bottom:7px}.recipe-kitchen-sections button{font-size:.78rem;padding:9px 12px}
.recipe-ingredient-head,.recipe-ingredient-compact{display:grid;grid-template-columns:30px minmax(180px,1fr) 100px 76px 84px 72px;gap:10px;align-items:start}
.recipe-ingredient-head{font-size:.7rem;color:#7b6e60;padding-bottom:8px}
.recipe-ingredient-compact{margin:0;padding:10px 0;position:relative}.recipe-ingredient-compact>.recipe-drag,.recipe-ingredient-compact .recipe-row-buttons{margin:0;padding-top:0}
.recipe-ingredient-compact>.recipe-drag{padding:8px}.recipe-ingredient-compact>.recipe-row-buttons{grid-column:5;grid-row:1}
.recipe-ingredient-compact>.recipe-ingredient-picker{grid-column:2;grid-row:1}.recipe-ingredient-compact>label:nth-of-type(1){grid-column:3;grid-row:1}.recipe-ingredient-compact>label:nth-of-type(2){grid-column:4;grid-row:1}
.recipe-ingredient-compact>label{font-size:0;gap:0}.recipe-ingredient-compact>label input{font-size:.9rem}
.recipe-ingredient-compact .recipe-ingredient-picker>label{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}
.recipe-ingredient-identity{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.recipe-ingredient-identity input{flex:1;min-width:130px}
.recipe-ingredient-brand{font-size:.72rem;padding:5px 7px;background:#f0e5d5;border-radius:5px;max-width:100%;overflow-wrap:anywhere}
.recipe-ingredient-compact .recipe-ingredient-options{top:46px}.recipe-ingredient-compact .recipe-ingredient-link{margin-top:4px;line-height:1.35}
.recipe-ingredient-details{grid-column:6;grid-row:1}.recipe-ingredient-details summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:.75rem;color:#79502d}
.recipe-ingredient-details[open]{grid-column:2/-1;grid-row:2}.recipe-ingredient-details[open] summary{min-height:34px}.recipe-ingredient-details .recipe-fields{padding:10px 0}
.recipe-cost-controls{display:grid;grid-template-columns:1.3fr 1fr 160px;gap:15px;align-items:end}.recipe-control-label{display:block;font-size:.78rem;font-weight:600;margin-bottom:7px}
.recipe-cost-support>summary{cursor:pointer;padding:15px 0;color:#79502d;font-size:.85rem}.recipe-cost-summary>p{line-height:1.55}
.recipe-cost-comparison{width:100%;border-collapse:collapse;font-size:.8rem}.recipe-cost-comparison caption{text-align:left}
.recipe-cost-comparison th,.recipe-cost-comparison td{border-bottom:1px solid #e5d8c7;padding:14px 9px;vertical-align:top;text-align:left}
.recipe-cost-comparison thead th{background:#f3ebde;font-size:.72rem}.recipe-cost-comparison tbody th{font-weight:400;min-width:160px;max-width:270px;overflow-wrap:anywhere}
.recipe-cost-comparison tbody th>span{display:block;color:#7b6e60;font-size:.7rem;margin-top:6px}.recipe-cost-comparison .numeric{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.recipe-cost-comparison .recipe-cost-flag{color:#79502d;font-weight:600}.recipe-cost-comparison .recipe-cost-flag.negative{color:#953327}
.recipe-cost-row-details summary{cursor:pointer;color:#79502d;min-height:44px;display:flex;align-items:center}.recipe-cost-row-details>div{min-width:130px;max-width:260px;font-size:.75rem;line-height:1.6}.recipe-cost-row-details button{font-size:.75rem;padding:8px}
@media(min-width:701px){.recipe-kitchen-selector{display:none}}
@media(max-width:1050px){.recipe-ingredient-head,.recipe-ingredient-compact{grid-template-columns:30px minmax(140px,1fr) 80px 66px 84px 66px;gap:7px}.recipe-ingredient-brand{padding:3px 6px}.recipe-cost-controls{grid-template-columns:1fr 1fr}.recipe-cost-controls>label{grid-column:1/-1;max-width:220px}}
@media(max-width:700px){
 .recipe-kitchen-sections{display:none}.recipe-quick-quantity{gap:5px}.recipe-quick-quantity>span:first-child{display:none}.recipe-quick-quantity>span:last-child{flex-basis:100%}
 .recipe-production .recipe-check,.recipe-production .recipe-table .recipe-check{min-height:48px;padding:0}.recipe-production .recipe-table td{padding:3px 6px}
 .recipe-ingredient-head{display:none}.recipe-ingredient-compact{grid-template-columns:26px minmax(0,1fr) 72px 84px;gap:8px;padding:13px 0}
 .recipe-ingredient-compact>.recipe-ingredient-picker{grid-column:2/-1;grid-row:1}.recipe-ingredient-compact>.recipe-drag{grid-column:1;grid-row:1/3}
 .recipe-ingredient-compact>label:nth-of-type(1){grid-column:2;grid-row:2}.recipe-ingredient-compact>label:nth-of-type(2){grid-column:3;grid-row:2}.recipe-ingredient-compact>label{font-size:.75rem;gap:5px}
 .recipe-ingredient-compact>.recipe-row-buttons{grid-column:4;grid-row:2;align-self:end}.recipe-ingredient-details,.recipe-ingredient-details[open]{grid-column:2/-1;grid-row:3}
 .recipe-resource-action{flex-direction:column}.recipe-resource-action button{width:100%}
 .recipe-cost-comparison thead{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.recipe-cost-comparison tbody{display:block}
 .recipe-cost-comparison tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px;padding:16px 0;border-bottom:1px solid #e5d8c7}
 .recipe-cost-comparison th,.recipe-cost-comparison td{border:0;padding:3px 0;max-width:none;min-width:0}.recipe-cost-comparison th,.recipe-cost-comparison td:last-child{grid-column:1/-1}
 .recipe-cost-comparison td.numeric{text-align:left;white-space:normal;overflow-wrap:anywhere;font-weight:600}.recipe-cost-comparison td.numeric:before{content:attr(data-label);display:block;font-size:.7rem;font-weight:400;color:#7b6e60;margin-bottom:4px}
 .recipe-cost-row-details>div{max-width:none}
 .recipe-app dialog.recipe-cost-sheet{width:100%;max-width:none;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border:0;padding:0 18px 20px}
 .recipe-cost-sheet>header{position:sticky;top:0;background:#fcf9f1;z-index:2;padding:14px 0;margin-bottom:10px;border-bottom:1px solid #e5d8c7}.recipe-app .recipe-cost-sheet>header button{min-width:48px;min-height:48px}
 .recipe-cost-controls{gap:12px}.recipe-cost-controls>div{grid-column:1/-1}.recipe-cost-controls .recipe-segmented{flex-wrap:nowrap}.recipe-cost-controls button{flex:1}
 .recipe-cost-sheet .recipe-cost-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}.recipe-cost-sheet .recipe-cost-highlights>div:last-child:nth-child(odd){grid-column:1/-1}
}

.recipe-scaling-option{margin:16px 0 22px}.recipe-scaling-option>.danger{margin-top:10px}

.recipe-sticky-save>.recipe-actions{align-items:flex-end}.recipe-sticky-save select,.recipe-sticky-save button{height:44px}.recipe-sticky-save select{min-width:90px}
@media(max-width:420px){.recipe-sticky-save>.recipe-actions{display:grid;grid-template-columns:minmax(0,1fr) auto}.recipe-sticky-save>.recipe-actions>label{grid-column:1/-1}.recipe-sticky-save>.recipe-actions>button{min-width:0}}

.recipe-unit-equivalent{display:grid;grid-template-columns:minmax(80px,1fr) auto minmax(100px,1.3fr) minmax(70px,.7fr) auto;align-items:end;gap:10px;margin:14px 0}.recipe-equivalent-equals{align-self:end;padding-bottom:12px}@media(max-width:600px){.recipe-unit-equivalent{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding-bottom:16px;border-bottom:1px solid #e7d8c5}.recipe-equivalent-equals{display:none}.recipe-unit-equivalent>button{justify-self:start}}

.recipe-cost-comparison .recipe-cost-group-heading>th{padding:12px 9px 8px;max-width:none;background:#f7f0e5;border-top:1px solid #dfcfb8}.recipe-cost-group-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.recipe-cost-group-header small{display:block;margin-top:4px;color:#7b6e60;font-size:.7rem}.recipe-cost-group-actions{display:flex;gap:8px;flex-wrap:wrap}.recipe-cost-comparison [data-cost-product]>th,.recipe-cost-comparison [data-cost-product]>td{padding:8px 9px;vertical-align:middle}.recipe-cost-comparison tbody+tbody .recipe-cost-group-heading>th{border-top:2px solid #dfcfb8}@media(max-width:700px){.recipe-cost-comparison .recipe-cost-group-heading{display:block;padding:10px 0 0;border-bottom:0}.recipe-cost-comparison .recipe-cost-group-heading>th{display:block;padding:12px}.recipe-cost-group-actions button{padding:8px 12px}.recipe-cost-comparison [data-cost-product]>th,.recipe-cost-comparison [data-cost-product]>td{padding:3px 0}}

@media(max-width:700px){.recipe-cost-comparison [data-cost-product]>td[data-empty=true]{display:none}}

/* Linked ingredient yield editor */
.recipe-yield-search{position:relative;margin:16px 0;display:grid;gap:7px}.recipe-yield-search .recipe-ingredient-options{top:100%;max-height:240px;overflow:auto}.recipe-yield-preview{padding:12px 14px;border:1px solid #e5d7c6;border-radius:7px;background:#f7efdf;font-size:.85rem;line-height:1.6;overflow-wrap:anywhere}[data-linked-ingredient]>label{max-width:420px}[data-yield-fields]>.recipe-fields{margin:16px 0}
.recipe-yield-source-row{border:1px solid #e5d7c6;border-radius:7px;padding:14px;margin:14px 0;min-width:0}.recipe-yield-source-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:.85rem}.recipe-yield-source-heading button{padding:7px 12px;min-height:40px}.recipe-yield-source-row .recipe-yield-search{margin:10px 0 12px}.recipe-yield-source-row .recipe-fields.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* Compact procedure rows keep the entire instruction readable. */
.recipe-step-editor{display:grid;grid-template-columns:28px minmax(0,1fr) 44px;gap:8px;align-items:start;padding:7px 0;margin:0;border:0;border-bottom:1px solid #eee1cf}
.recipe-step-number{padding-top:11px;font-size:.8rem;font-weight:600;color:#876c53;text-align:right}.recipe-app .recipe-step-instruction{display:block;min-width:0}.recipe-step-editor textarea{min-height:44px;line-height:1.5;resize:none;overflow:hidden;padding:10px 12px;font-size:.85rem}
.recipe-step-options{position:relative}.recipe-step-options[open]{z-index:8}.recipe-step-options>summary{list-style:none;display:grid;place-items:center;box-sizing:border-box;min-width:44px;min-height:44px;border:1px solid #d7c0a6;border-radius:7px;background:#fffefa;color:#664020;font-size:1.3rem;cursor:pointer}.recipe-step-options>summary::-webkit-details-marker{display:none}.recipe-step-options>summary:focus-visible{outline:3px solid #b98149;outline-offset:2px}
.recipe-step-menu{position:absolute;right:0;top:calc(100% + 4px);width:180px;padding:6px;display:grid;gap:4px;background:#fffefa;border:1px solid #d7c0a6;border-radius:8px;box-shadow:0 5px 18px #38271c20}.recipe-app .recipe-step-menu>button{justify-content:flex-start;width:100%;min-height:44px;border-color:transparent}.recipe-step-menu>button:hover:not(:disabled){background:#f4eadc}.recipe-step-editor>.recipe-photos{grid-column:2/-1;margin:4px 0}
@media(max-width:600px){.recipe-step-editor{grid-template-columns:22px minmax(0,1fr) 44px;gap:6px}.recipe-step-editor textarea{padding:10px;font-size:.9rem}}
