/* Preparation belongs to the recipe line, independently of its catalog identity. */
.recipe-ingredient-editor-row {margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid #dce5d5;min-width:0}
.recipe-ingredient-editor-row:last-of-type {margin-bottom:8px}
.recipe-ingredient-editor-row>.editable-line {margin-bottom:7px}
.ingredient-preparation-label {display:block;font:650 11px/1.5 var(--sans,system-ui,sans-serif);color:#456044}
.ingredient-preparation-label>span,.quick-preparation-label>span {font-size:10px;font-weight:400;margin-left:4px;color:#60755b}
.ingredient-preparation-label>input {display:block;width:100%;min-width:0;min-height:44px;margin-top:5px;padding:10px 12px;border:1px solid #c4d2bb;border-radius:9px;background:#fffef8;color:#294634;font:400 12px/1.5 var(--sans,system-ui,sans-serif)}
.ingredient-preparation-label>input::placeholder {color:#60755b;opacity:1}
.recipe-yield-help {margin:9px 0 0;font-size:11px;line-height:1.65;color:#586d53}
.recipe-ingredients-heading h3 {margin:0}
.recipe-base-yield {margin:7px 0 0;font-size:12px;line-height:1.6;color:#536d50}
.recipe-base-yield>strong {font-weight:650;color:#294634}
.recipe-batch-toolbar {display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:17px 0 15px;min-width:0}
.recipe-batch-buttons {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;min-width:0;flex:1}
.recipe-batch-buttons>button {display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:46px;padding:9px 10px;border:1px solid #bdcdb7;border-radius:10px;background:#fffef8;color:#294634;font:650 11px/1.4 var(--sans,system-ui,sans-serif);cursor:pointer;transition:background-color .18s,border-color .18s}
.recipe-batch-buttons>button>strong {font-size:13px;font-weight:800;color:inherit}
.recipe-batch-buttons>button>span {min-width:0;overflow-wrap:anywhere}
.recipe-batch-buttons>button:hover {border-color:#b98964;background:#f7e6d5}
.recipe-batch-buttons>button[aria-pressed="true"] {background:#f4c69f;border-color:#b98964;color:#294634}
html[data-theme] .recipe-batch-buttons>button[aria-pressed="true"]>strong {color:inherit}
.recipe-scale-picker {display:flex;flex-direction:column;gap:5px;flex:0 1 165px;min-width:0;color:#536d50;font-size:10px;font-weight:650}
.recipe-scale-picker>.sprig-select {display:flex;width:100%}
.recipe-selected-yield {font-size:13px!important;font-weight:700;color:#294634!important;margin-bottom:4px!important;line-height:1.65}
.recipe-checkoff-help {font-size:11px;color:#586d53;line-height:1.65;margin:0 0 16px}
.recipe-ingredients-panel .inglabel {min-width:0;overflow-wrap:anywhere}
.recipe-cook-yield {margin:0 0 14px;padding:10px 12px;border:1px solid #c4d2bb;border-radius:10px;background:#edf2e6;color:#294634;font-size:12px;font-weight:650;line-height:1.6}
.recipe-cook-scale-note {font-size:11px;color:#586d53;line-height:1.65;margin:-3px 0 16px}
html[data-theme="dark"] .recipe-ingredient-editor-row {border-color:#4a6350}
html[data-theme="dark"] :is(.ingredient-preparation-label,.recipe-base-yield,.recipe-scale-picker,.recipe-yield-help,.recipe-checkoff-help,.recipe-cook-scale-note) {color:#b1c1ac}
html[data-theme="dark"] :is(.ingredient-preparation-label>span,.quick-preparation-label>span) {color:#b1c1ac}
html[data-theme="dark"] .ingredient-preparation-label>input {background:#21382b;border-color:#587052;color:#edece0}
html[data-theme="dark"] .ingredient-preparation-label>input::placeholder {color:#b1c1ac}
html[data-theme="dark"] .recipe-base-yield>strong {color:#edece0}
html[data-theme="dark"] .recipe-batch-buttons>button {background:#263c30;border-color:#587052;color:#edece0}
html[data-theme="dark"] .recipe-batch-buttons>button:hover {background:#344d39;border-color:#b98964}
html[data-theme="dark"] .recipe-batch-buttons>button[aria-pressed="true"] {background:#efba91;border-color:#b98964;color:#294634}
html[data-theme="dark"] .recipe-selected-yield {color:#edece0!important}
html[data-theme="dark"] .recipe-cook-yield {background:#304936;border-color:#587052;color:#edece0}
@media(max-width:900px) {.recipe-batch-toolbar{align-items:stretch;flex-direction:column}.recipe-scale-picker{flex:none;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.recipe-scale-picker>.sprig-select{width:min(210px,72%)}}
@media(max-width:500px) {.recipe-batch-buttons>button{padding:8px 7px;gap:5px;font-size:10px}.ingredient-preparation-label>input{font-size:16px}.recipe-ingredient-editor-row{padding-bottom:13px;margin-bottom:13px}.recipe-base-yield{font-size:11px}.recipe-selected-yield{font-size:12px!important}}
@media(prefers-reduced-motion:reduce) {.recipe-batch-buttons>button{transition:none}}
