/* Review & Sign keeps automatic overflow; compact content avoids needless tablet scrolling. */
html body.driver-mode #driverPortal > .driver-main.finalise-embedded:has(.driver-finalise-flow-panel[data-current-step="review"]){display:flex!important;flex-direction:column!important;align-items:stretch!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
html body.driver-mode #driverPortal .driver-main.finalise-embedded:has([data-current-step="review"]) > .driver-main-tabs{position:relative!important;inset:auto!important;flex:0 0 auto!important}
html body.driver-mode #driverPortal .driver-main.finalise-embedded #podModal:has([data-current-step="review"]){position:relative!important;inset:auto!important;flex:1 1 0px!important;height:0!important;min-height:0!important;max-height:none!important;overflow:hidden!important;margin:0!important;padding:0!important}
html body.driver-mode #driverPortal #podModal .driver-finalise-flow-panel[data-current-step="review"]{display:flex!important;flex-direction:column!important;position:relative!important;inset:auto!important;box-sizing:border-box!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding:8px 12px 0!important;gap:6px!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] > :is(.driver-complete-head,.driver-finalise-steps,.driver-finalise-footer){position:relative!important;inset:auto!important;flex:0 0 auto!important;margin:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-complete-head{padding:4px 0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-complete-head h3{margin:0 0 4px!important;font-size:22px!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-steps{gap:8px!important;padding:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-step{min-height:48px!important;padding:7px!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] > [data-finalise-pane="review"].active{display:block!important;position:relative!important;inset:auto!important;flex:1 1 0px!important;height:0!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch;padding:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] :is(.driver-finalise-review-grid,.driver-review-totals-section,.driver-review-signature-section){display:block!important;position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;max-height:none!important;min-width:0!important;overflow:visible!important;margin:0!important;padding:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-review-signature-section{margin-top:10px!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-complete-section-head{margin:0 0 6px!important;padding:7px 10px!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-signoff-copy{margin:6px 0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] #signatureCanvas{display:block!important;width:100%!important;height:clamp(150px,16.5dvh,190px)!important;min-height:0!important;max-height:none!important;margin:0 0 6px!important;touch-action:none!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] #clearSignatureBtn{min-height:42px!important;margin:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-nav-row{margin:4px 0!important;padding:0!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-footer{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:8px 0!important;background:#fff!important}
html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-footer button{min-height:46px!important;margin:0!important;min-width:0!important;font-size:clamp(14px,2.4vw,18px)!important;padding:8px 12px!important}
@media(min-width:560px){
 html body.driver-mode #driverPortal #podModal [data-current-step="review"] :is(.driver-finalise-review-head,.driver-finalise-review-line){display:grid!important;grid-template-columns:minmax(130px,1.4fr) repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:center!important;padding:9px 10px!important;min-height:0!important;margin:0 0 4px!important;font-size:16px!important}
 html body.driver-mode #driverPortal #podModal [data-current-step="review"] .driver-finalise-review-head{font-size:13px!important;padding:3px 10px!important}
}


