/* Existing media views share the shipment tab bar and its scroll container. */
.shipment-details-shell>.sd-tabs{position:sticky!important;z-index:75!important;}
.shipment-details-shell>.fm-inline-section[open]{display:block!important;position:relative!important;inset:auto!important;margin:0!important;width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;min-width:0!important;padding:0!important;border:0!important;box-shadow:none!important;overflow:visible!important;background:#f5f8fa;border-radius:18px!important;}
.shipment-details-shell>.fm-inline-section[hidden],.shipment-details-shell>.sd-tab-panel[hidden]{display:none!important;}
.fm-inline-section>.fm-stage-form{display:flex!important;flex-direction:column!important;height:auto!important;max-height:none!important;}
.fm-inline-section .fm-stage-scroll{overflow:visible!important;max-height:none!important;flex:none!important;}
.fm-inline-section .fm-stage-head,.fm-inline-section .sdx-top{position:static!important;}
.fm-inline-section .fm-stage-footer{position:static!important;}
.fm-inline-section .fm-stage-close,.fm-inline-section [data-sdx-back]{display:none!important;}
.fm-inline-section .sdx-sheet{margin:0!important;}

.shipment-details-shell>.sd-tab-panel,.shipment-details-shell>.fm-inline-section{min-height:calc(100dvh - 120px)!important;}
.shipment-details-shell>.sd-tabs{scroll-margin-top:0;}
@media(max-width:767px){body:not(.fm-embedded-task) .shipment-details-shell>.sd-tabs{scroll-margin-top:calc(62px + env(safe-area-inset-top,0px));}}
[data-supplier-order-drawer] .shipment-details-shell>.sd-tabs{scroll-margin-top:0!important;}
