/* Readable recipe actions and explicit measurement settings. */
.recipe-shell .at-notebook-tools {display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.recipe-shell .at-notebook-tools[hidden] {display:none!important;}
.recipe-shell .at-notebook-tools button,
.recipe-shell .at-notebook-tools button:first-child,
.recipe-shell .at-notebook-tools button+button {
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 min-height:44px;margin:0;padding:10px 14px;border:1px solid #dfc9c4;
 border-radius:9px;background:#fffaf6;color:#74223f;box-shadow:none;
 font:650 14px/1.3 system-ui,sans-serif;cursor:pointer;
}
.recipe-shell .at-notebook-tools button::before,
.recipe-shell .at-notebook-tools button+button::before,
.recipe-shell .at-notebook-tools button[aria-pressed="true"]+button::before {
 content:"";display:block!important;position:static;width:22px;height:22px;flex:0 0 22px;margin:0;
 background:transparent center/22px 22px no-repeat;
}
.recipe-shell .at-notebook-tools [data-at-cook]::before {background-image:url('/assets/core/recipe-tools/cook.svg');}
.recipe-shell .at-notebook-tools [data-at-print]::before {background-image:url('/assets/core/recipe-tools/print.svg');}
.recipe-shell .at-notebook-tools [data-at-reset]::before {background-image:url('/assets/core/recipe-tools/reset.svg');}
.recipe-shell .at-notebook-tools button:hover {background:#fbe9ed;color:#8a1641;box-shadow:none;}
.recipe-shell .at-notebook-tools button[aria-pressed="true"] {padding:10px 14px;background:#a8184d;border:1px solid #a8184d;border-radius:9px;color:#fff;}
.recipe-shell .at-notebook-tools button[aria-pressed="true"]::before {filter:brightness(0) invert(1);}
.recipe-shell .at-notebook-tools button:focus-visible,
.recipe-shell .at-pantry .at-units button:focus-visible {outline:2px solid #a8184d;outline-offset:3px;}
.recipe-shell .at-pantry .at-ingredient-toolbar {
 display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:14px;
 margin:0 0 16px;padding:12px 14px;border:1px solid #ecdcd3;border-radius:10px;background:#fffaf5;
}
.recipe-shell .at-pantry .at-base-yield {min-height:44px;height:auto;padding:0;font-size:14px;line-height:1.4;}
.recipe-shell .at-pantry .at-base-yield::after,
.recipe-shell .at-pantry .at-units::after {display:none;}
.recipe-shell .at-pantry .at-ingredient-controls {display:flex;flex-wrap:wrap;align-items:flex-start;gap:16px;min-width:0;}
.recipe-shell .at-pantry .at-units {display:flex;flex-wrap:wrap;align-items:center;gap:4px;height:auto;min-height:44px;max-width:100%;}
.recipe-shell .at-pantry .at-units-label {display:block;flex-basis:100%;margin-bottom:2px;color:#69515a;font:650 12px/1.4 system-ui,sans-serif;}
.recipe-shell .at-pantry .at-units button {min-height:44px;height:auto;padding:10px 12px;border:1px solid #e2cec7;border-radius:8px!important;font:650 14px/1.3 system-ui,sans-serif;background:#fff;box-shadow:none;cursor:pointer;}
.recipe-shell .at-pantry .at-units button[aria-pressed="true"] {background:#f5dfe8;border-color:#b82a58;color:#7b173b;box-shadow:none;}
.recipe-shell .at-pantry .at-quantity {display:grid;grid-template-columns:minmax(0,1fr);gap:5px;height:auto;min-height:44px;max-width:320px;}
.recipe-shell .at-pantry .at-quantity label {display:block!important;position:static;width:auto;height:auto;margin:0;padding:0;clip:auto;clip-path:none;overflow:visible;color:#69515a;font:650 12px/1.4 system-ui,sans-serif;}
.recipe-shell .at-pantry .at-quantity select {max-width:100%;min-height:44px;height:auto;padding:10px 30px 10px 11px;border:1px solid #d5b6c0;border-radius:8px!important;background-color:#fff;font:600 14px/1.35 system-ui,sans-serif;color:#522633;}
.recipe-shell .at-pantry .at-quantity small {display:block!important;max-width:320px;color:#746069;font:400 12px/1.45 system-ui,sans-serif;}
@media(max-width:700px){.recipe-shell .at-notebook-heading{justify-content:flex-start;}.recipe-shell .at-notebook-tools{width:100%;}.recipe-shell .at-notebook-tools button{flex:1 1 auto;}.recipe-shell .at-pantry .at-ingredient-toolbar{padding:12px;}.recipe-shell .at-pantry .at-ingredient-controls{width:100%;}.recipe-shell .at-pantry .at-quantity{max-width:100%;}}
@media print {.recipe-shell .at-notebook-tools,.recipe-shell .at-pantry .at-ingredient-toolbar{display:none!important;}}

.recipe-shell [data-at-controls][hidden] {display:none!important;}
