/* Public builder footer only. Buttons are the existing controls, including Review Build actions. */
body.bc-compact-builder #bc-builder-footer[hidden],
body.bc-compact-builder #bc-builder-footer [hidden]{display:none!important}
body.bc-compact-builder #bc-builder-footer{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;
 padding:8px max(16px,calc((100vw - 1440px)/2)) calc(8px + env(safe-area-inset-bottom,0px));
}
body.bc-compact-builder #bc-builder-footer #builder-live-price{
 flex:1 1 210px;grid-template-columns:auto auto;justify-content:start;gap:2px 12px;
 font-size:13px;
}
body.bc-compact-builder #bc-builder-footer #builder-live-price strong{font-size:20px}
body.bc-compact-builder #bc-builder-footer #builder-live-price small{font-size:11px}
body.bc-compact-builder #bc-builder-footer #builder-step-actions{
 flex:0 1 auto;gap:8px!important;max-width:100%;
}
body.bc-compact-builder #bc-builder-footer #builder-step-actions button{
 min-height:44px;min-width:0;margin:0;padding:8px 12px;
 font-size:13px;line-height:1.2;
}
body.bc-compact-builder.build-summary-page .bc-summary-checkout-actions:empty{display:none}
@media(max-width:820px){
 body.bc-compact-builder #bc-builder-footer{
  gap:5px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));
 }
 body.bc-compact-builder #bc-builder-footer #builder-live-price{
  flex:1 0 100%;grid-template-columns:1fr auto;gap:1px 8px;
  font-size:11px;line-height:1.2;
 }
 body.bc-compact-builder #bc-builder-footer #builder-live-price strong{font-size:17px}
 body.bc-compact-builder #bc-builder-footer #builder-live-price small{font-size:10px}
 body.bc-compact-builder #bc-builder-footer #builder-step-actions{
  display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);
  flex:1 0 100%;width:100%;gap:5px!important;
 }
 body.bc-compact-builder #bc-builder-footer #builder-step-actions button{
  width:100%;min-width:0!important;min-height:44px!important;
  padding:6px!important;font-size:12px!important;line-height:1.15;
 }
 body.bc-compact-builder #bc-builder-footer.bc-review-footer #builder-step-actions{
  grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));
 }
}

/* Agreed November 21: bottom actions replace the top step tabs.
   Leave hidden step nodes in DOM for unchanged existing builder routing. */
body.bc-compact-builder.bc-shared-chrome nav.steps:not([hidden]){display:none!important}
body.bc-compact-builder #bc-builder-menu .bc-company-logout{display:none!important}
body.bc-compact-builder #bc-builder-menu [data-menu-signout]{display:flex!important}
body.bc-compact-builder #bc-builder-menu .bc-signout-error{color:#a33220;padding:8px 12px}
@media(max-width:820px){
 body.bc-compact-builder #bc-builder-footer #builder-step-actions,
 body.bc-compact-builder #bc-builder-footer.bc-review-footer #builder-step-actions{
  display:grid!important;grid-auto-flow:row!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%;gap:5px!important;
 }
 body.bc-compact-builder #builder-step-actions [data-ribbon-back]{grid-column:1}
 body.bc-compact-builder #builder-step-actions [data-action="review"]{grid-column:2}
 body.bc-compact-builder #builder-step-actions [data-next-step]{grid-column:3}
 body.bc-compact-builder #bc-builder-footer #builder-step-actions button{
  overflow-wrap:anywhere;white-space:normal!important;min-height:44px!important;
 }
}
@media print{body.bc-compact-builder #bc-builder-footer{display:none!important}}
