/* PSP 156-R5.2.2 — Procedure / Kitchen Output redesign */
#pspWorkflowOutputSectionV55>.inner{padding-top:8px}
#pspWorkflowOutputSectionV55>.inner>.pspWorkflowSectionNoteV55{margin:0 0 8px;padding:7px 9px;font-size:12px;line-height:1.3}
#pspWorkflowOutputSectionV55>.inner>details.card{margin:7px 0;border-radius:12px}
#pspWorkflowOutputSectionV55>.inner>details.card>summary{min-height:39px;padding:8px 38px 8px 11px;font-size:15px}
#pspWorkflowOutputSectionV55>.inner>details.card>.inner{padding:8px 9px 10px}
.pspKitchenAtGlanceR51{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 9px}
.pspKitchenMetricR51{border:1px solid #c9dfd0;border-radius:10px;background:#f7fbf8;padding:7px 9px;min-width:0}
.pspKitchenMetricR51 span{display:block;color:#526158;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.035em;line-height:1.15}
.pspKitchenMetricR51 b{display:block;margin-top:2px;color:#13251b;font-size:14px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}
.pspKitchenMetricR51.pspKitchenMetricWideR51{grid-column:1/-1}
#kitchenRecipe .c5LiveSection{margin:0 0 7px;border:1px solid #d8e6dc;border-radius:10px;overflow:hidden;background:#fff}
#kitchenRecipe .c5LiveSection h3{margin:0;padding:7px 9px;background:#eef7f0;color:#0b6037;font-size:14px;line-height:1.2}
#kitchenRecipe .c5LiveRow{padding:5px 9px;font-size:13px;line-height:1.25;border-top:1px solid #edf2ee}
#kitchenRecipe .c5LiveRow:first-of-type{border-top:0}
#kitchenRecipe .pspKitchenSecondaryR51{display:none}
#kitchenRecipe .pspKitchenMoreR51{margin:7px 0 0;border-top:1px solid #dce8df;padding-top:6px}
#kitchenRecipe .pspKitchenMoreR51>summary{cursor:pointer;color:#0b6037;font-size:13px;font-weight:850;list-style:none}
#kitchenRecipe .pspKitchenMoreR51>summary::-webkit-details-marker{display:none}
#kitchenRecipe .pspKitchenMoreR51[open]~.pspKitchenSecondaryR51,#kitchenRecipe .pspKitchenMoreR51[open]+.pspKitchenSecondaryR51{display:block}
#procedure .c5LiveMode{margin:0 0 6px;padding:0;background:none;border:0;font-size:13px;color:#32483c}
#procedure .pspProcGlobalNote{display:none}
#procedure .pspProcedureBatchStripR51{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 9px}
#procedure .pspProcedureBatchStripR51>div{border:1px solid #cfe1d4;border-radius:9px;background:#f7fbf8;padding:6px 7px;min-width:0}
#procedure .pspProcedureBatchStripR51 span{display:block;font-size:9px;line-height:1.1;color:#5a6b61;font-weight:800;text-transform:uppercase;letter-spacing:.03em}
#procedure .pspProcedureBatchStripR51 b{display:block;margin-top:2px;font-size:12px;line-height:1.15;color:#15251c;overflow-wrap:anywhere}
#procedure .pspGuidedProcedure{gap:8px}
#procedure .pspProcDay{border-radius:11px}
#procedure .pspProcDayHeading{padding:7px 10px;font-size:15px}
#procedure .pspProcDaySteps{padding:0 9px 2px}
#procedure .pspProcStepSummary{grid-template-columns:64px minmax(0,1fr) 14px;gap:6px;min-height:38px;padding:4px 0}
#procedure .pspProcTimeCol{font-size:12px}
#procedure .pspProcStepTitle{font-size:13px;line-height:1.15;white-space:normal;overflow:visible;text-overflow:clip}
#procedure .pspProcStepBrief{display:block!important;margin-top:1px;color:#5c6c63;font-size:11px;line-height:1.18;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#procedure .pspProcChevron{font-size:15px}
#procedure .pspProcExpanded{margin:0 0 7px 4px;padding:8px 9px;border-left-width:3px;border-radius:0 9px 9px 0}
#procedure .pspProcIntro{display:none}
#procedure .pspProcBlock{margin-bottom:8px}
#procedure .pspProcLabel{font-size:10px;margin-bottom:3px}
#procedure .pspProcList{padding-left:17px}
#procedure .pspProcList li{margin:2px 0;font-size:13px;line-height:1.25}
#procedure .pspProcKv>div{padding:3px 0;font-size:13px}
#procedure .pspProcDetails{margin-top:5px}
#procedure .pspProcDetails summary{padding:5px 0 2px;font-size:12px}
@media(max-width:380px){
 .pspKitchenAtGlanceR51{grid-template-columns:1fr 1fr}
 #procedure .pspProcedureBatchStripR51{grid-template-columns:1fr 1fr}
 #procedure .pspProcedureBatchStripR51>div:last-child{grid-column:1/-1}
 #procedure .pspProcStepSummary{grid-template-columns:58px minmax(0,1fr) 12px;gap:5px}
 #procedure .pspProcTimeCol{font-size:11px}
 #procedure .pspProcStepTitle{font-size:12.5px}
}

/* R5.2 visible kitchen-first hierarchy */
#procedure .pspProcStep{border-bottom:1px solid #dce7df}
#procedure .pspProcStepSummary{background:#fff}
#procedure .pspProcStep[open] .pspProcStepSummary{background:#f3faf5}
#procedure .pspProcStepTitle{font-weight:900;color:#173d29}
#procedure .pspProcStepBrief{color:#53655b}
#procedure .pspProcExpanded .pspProcMeasure{background:#f4faf5;border:1px solid #d4e6d9;border-radius:8px;padding:6px 8px}
#procedure .pspProcExpanded .pspProcWhy{border-top:1px dashed #cbd9cf;padding-top:5px}



/* R5.4 kitchen readability polish */
.c5KitchenGrouped .c5KitchenReferenceBlock{break-inside:avoid;margin:0 0 10px}
.c5KitchenGrouped .c5KitchenReferenceBlock:last-child{margin-bottom:0}
.c5KitchenGrouped .c5KitchenReferenceBlock h3{margin:0 0 5px;color:#174f31;font-size:14px}
.c5KitchenActionPlan .c5KitchenPhase{break-inside:avoid;margin:0 0 10px;border:1px solid #d6e4da;border-radius:9px;overflow:hidden}
.c5KitchenActionPlan .c5KitchenPhase h3{margin:0;padding:6px 9px;background:#eef7f0;color:#145b35;font-size:14px}
.c5KitchenActionPlan .c5KitchenPhase ol{margin:0;padding:7px 10px 7px 31px}
.c5KitchenActionPlan .c5KitchenPhase li{margin:0 0 5px;line-height:1.32}
.c5KitchenActionPlan .c5KitchenPhase li:last-child{margin-bottom:0}
#kitchenRecipe .pspKitchenMoreR51{display:block}
#kitchenRecipe .pspKitchenMoreR51>.c5LiveSection{display:block}
#procedure .pspProcStepBrief{white-space:normal;display:-webkit-box!important;-webkit-line-clamp:1;-webkit-box-orient:vertical}


/* R5.4 kitchen readability polish — presentation only */
.c5KitchenActionPlan .c5KitchenPhase{margin-bottom:8px}
.c5KitchenActionPlan .c5KitchenPhase ol{padding-top:6px;padding-bottom:6px}
.c5KitchenActionPlan .c5KitchenPhase li{padding:2px 0 4px;margin:0;border-bottom:1px dotted #dfe8e1;line-height:1.28}
.c5KitchenActionPlan .c5KitchenPhase li:last-child{border-bottom:0;padding-bottom:1px}
.c5KitchenActionText{display:inline}
.c5KitchenVerb{color:#163f29;font-weight:900}
.c5KitchenValue{font-weight:900;color:#111;white-space:nowrap}
.c5KitchenLookFeel{display:block;margin:3px 0 0;padding-left:0;color:#59675f;font-size:.91em;line-height:1.22}
.c5KitchenLookFeel b{color:#425249}
.c5KitchenDash{white-space:nowrap}
@media(max-width:620px){
 .c5KitchenActionPlan .c5KitchenPhase h3{font-size:13.5px}
 .c5KitchenActionPlan .c5KitchenPhase ol{padding-left:28px}
 .c5KitchenActionPlan .c5KitchenPhase li{font-size:12.5px}
}


/* R5.5 consolidated kitchen-output refinement */
.c5KitchenMetrics>div{display:grid;grid-template-columns:minmax(78px,auto) minmax(0,1fr);column-gap:9px;align-items:start}
.c5KitchenMetrics span{padding-top:2px;line-height:1.15}
.c5KitchenMetrics b{margin-top:0;line-height:1.2;overflow-wrap:anywhere}
.c5KitchenLookFeel{margin:5px 0 1px;padding:5px 7px;border-left:3px solid #9fc8aa;background:#f5faf6;border-radius:0 6px 6px 0}
.c5KitchenLookFeel b{display:block;margin:0 0 2px;color:#28513a;font-size:.92em;text-transform:uppercase;letter-spacing:.025em}
.c5KitchenLookFeel span{display:block;color:#4d5e54}
@media(max-width:620px){.c5KitchenMetrics>div{grid-template-columns:1fr;row-gap:1px}.c5KitchenMetrics span{padding-top:0}.c5KitchenMetrics b{font-size:12.5px}}

/* R5.5.1 print-safe semantic spacing */
.c5KitchenMetrics span,.pspKitchenMetricR51 span{margin-right:4px}
.c5KitchenLookFeel b{display:inline-block;margin-right:4px}
@media print{.c5KitchenMetrics>div{display:block}.c5KitchenMetrics span,.c5KitchenMetrics b{display:inline}.c5KitchenLookFeel{display:block;break-inside:avoid}.c5KitchenLookFeel b,.c5KitchenLookFeel span{display:inline}}
