/* Consistent recipe action panel; all existing controls and handlers are retained. */
#recipepage:not(.cooking-mode) .recipe-cooking-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:28px;align-items:start}
#recipepage:not(.cooking-mode) .recipe-ingredients{grid-column:1;grid-row:1;min-width:0}
#recipepage:not(.cooking-mode) .recipe-preparation{grid-column:1/-1;grid-row:2;min-width:0}
.recipe-action-sidebar{grid-column:2;grid-row:1;min-width:0;align-self:start}
#recipepage .recipe-action-sidebar .recipeactions{display:grid;grid-template-rows:auto auto auto;gap:18px;width:100%;height:auto;max-width:none;margin:0;padding:18px;border:1px solid #dce1d6;border-radius:16px;background:#fffdf8;box-shadow:0 5px 18px #26392f06}
#recipepage .recipe-action-sidebar .recipe-actions-main{display:grid;grid-template-columns:1fr;gap:9px}
#recipepage .recipe-action-sidebar .recipe-actions-main button{width:100%;min-height:44px;margin:0;padding:11px 12px;border-radius:9px;font:600 13px/1.35 system-ui,sans-serif;white-space:normal}
#recipepage .recipe-action-sidebar #startCooking{background:#4f6d50;color:#fff;border:1px solid #4f6d50;box-shadow:none}
#recipepage .recipe-action-sidebar #openRecipeBooks{background:#f0f3e9;color:#304c38;border:1px solid #d7dfce;box-shadow:none}
#recipepage .recipe-action-sidebar .recipe-action-heading{grid-column:1/-1;margin:0 0 6px;padding:0;font:650 11px/1.4 system-ui,sans-serif;letter-spacing:.07em;text-transform:uppercase;color:#758270}
#recipepage .recipe-action-sidebar .recipe-actions-marks{display:grid;grid-template-columns:1fr;gap:4px;margin:0;padding:0 0 16px;border:0;border-bottom:1px solid #e3e7dd;border-radius:0;background:transparent}
#recipepage .recipe-action-sidebar .recipe-actions-marks:not(:has(button:not([hidden]))){display:none}
#recipepage .recipe-action-sidebar .recipe-actions-marks button{display:flex;justify-content:flex-start;align-items:center;gap:10px;min-height:42px;width:100%;padding:9px 8px;border:1px solid transparent;border-radius:8px;font:500 12px/1.4 system-ui,sans-serif;text-align:left;color:#344e3c;background:transparent;box-shadow:none}
#recipepage .recipe-action-sidebar .recipe-actions-marks button:before{content:'';display:grid;place-items:center;box-sizing:border-box;flex:0 0 17px;width:17px;height:17px;border:1.5px solid #a6b49f;border-radius:4px;background:#fff;font-size:12px;line-height:1}
#recipepage .recipe-action-sidebar .recipe-actions-marks button[aria-pressed=true]{background:#edf3e7;border-color:#dce6d3}
#recipepage .recipe-action-sidebar .recipe-actions-marks button[aria-pressed=true]:before{content:'✓';background:#4f6d50;border-color:#4f6d50;color:white}
#recipepage .recipe-action-sidebar .recipe-actions-tools{display:grid;grid-template-columns:1fr;align-items:stretch;gap:6px;min-height:0;margin:0;padding:0;border:0}
#recipepage .recipe-action-sidebar .recipe-actions-tools>button,#recipepage .recipe-action-sidebar .recipe-actions-tools>a{display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;width:100%;min-height:40px;flex:none;margin:0;padding:9px 10px;border:1px solid #e2e6dc;border-radius:8px;background:#fffdf8;color:#405545;font:500 12px/1.4 system-ui,sans-serif;text-align:left;text-decoration:none}
#recipepage .recipe-action-sidebar .recipe-actions-tools>button:hover,#recipepage .recipe-action-sidebar .recipe-actions-tools>a:hover{background:#f2f5ec;border-color:#cbd7c2}
#recipepage .recipe-action-sidebar .recipe-manage-status{grid-column:1/-1;width:100%;margin:2px 0;padding:0 2px;font:400 11px/1.4 system-ui,sans-serif;color:#62735b;overflow-wrap:anywhere}
#recipepage .recipe-action-sidebar .recipe-manage-status:empty{display:none}
#recipepage .recipe-action-sidebar .recipe-actions-tools>.recipe-delete-button{grid-column:1/-1;margin-top:8px;padding:11px 10px;border:0;border-top:1px solid #e3e7dd;border-radius:0;background:transparent;color:#9a4f3b}
#recipepage .recipe-action-sidebar .recipe-actions-tools>.recipe-delete-button:hover{background:#fcf2ee;color:#843d2e}
#recipepage .recipe-action-sidebar :focus-visible{outline:3px solid #ad5a37;outline-offset:3px}
#recipepage.cooking-mode .recipe-action-sidebar{display:none!important}
@media(max-width:767px){
 #recipepage:not(.cooking-mode) .recipe-cooking-layout{grid-template-columns:minmax(0,1fr);gap:20px}
 #recipepage:not(.cooking-mode) .recipe-action-sidebar{grid-column:1;grid-row:1}
 #recipepage:not(.cooking-mode) .recipe-ingredients{grid-column:1;grid-row:2}
 #recipepage:not(.cooking-mode) .recipe-preparation{grid-column:1;grid-row:3}
 #recipepage .recipe-action-sidebar .recipeactions{padding:16px;gap:16px}
 #recipepage .recipe-action-sidebar .recipe-actions-main{grid-template-columns:1fr 1fr}
 #recipepage .recipe-action-sidebar .recipe-actions-tools{grid-template-columns:1fr 1fr}
 #recipepage .recipe-action-sidebar .recipe-actions-marks button{font-size:13px}
}
@media print{.recipe-action-sidebar{display:none!important}#recipepage:not(.cooking-mode) .recipe-preparation{grid-column:2!important;grid-row:1!important}}
