/* V15.3.0 — viewport-first adaptive layout. Preserves original business logic. */
html{max-width:100%;overflow-x:clip}body{min-width:0!important;max-width:100%;box-sizing:border-box;overflow-x:clip}*,*:before,*:after{box-sizing:border-box}
#main-header,#main-header-inner,main,#content-tracking{min-width:0!important;max-width:100%!important}
#workspace-sidebar{overscroll-behavior:contain}
#tracking-table-scroll{max-width:100%;overflow-x:auto!important;overscroll-behavior-x:contain}
#tracking-toolbar-actions{flex-wrap:wrap!important}
#tracking-report-section{min-width:0!important;max-width:100%!important}
.ws2-filterbar{min-width:0!important}.ws2-search-wrap{min-width:0!important}
@media(min-width:1001px){
 body:not(.ws-mobile-device){--ws-side:238px}body.ws-collapsed:not(.ws-mobile-device){--ws-side:68px}
 #main-header-inner{max-width:100%!important;padding-inline:clamp(14px,2vw,28px)!important}
 main{width:100%!important;max-width:100%!important;margin-inline:0!important}
 #header-controls-block{min-width:0;max-width:68%;flex-wrap:wrap!important;justify-content:flex-start!important;overflow:visible!important}
 #header-brand-block{flex-shrink:0}
}
/* Detect phone from device properties, not browser CSS viewport which can be faked by Desktop Site. */
body.ws-mobile-device{padding:0!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
body.ws-mobile-device #workspace-sidebar{display:flex!important;position:fixed!important;right:0!important;left:auto!important;top:0!important;bottom:0!important;width:min(310px,88vw)!important;max-width:88vw!important;transform:translateX(110%)!important;z-index:1005!important}
body.ws-mobile-device.ws-mobile-open #workspace-sidebar{transform:translateX(0)!important}
body.ws-mobile-device .ws-mobile-button{display:block!important;position:fixed!important;right:12px!important;bottom:18px!important;z-index:1007!important}
body.ws-mobile-device.ws-mobile-open .ws-scrim{display:block!important;position:fixed!important;inset:0!important;z-index:1004!important;background:#102a2799!important}
body.ws-mobile-device #workspace-sidebar .ws-brand strong,body.ws-mobile-device #workspace-sidebar .ws-brand small,body.ws-mobile-device #workspace-sidebar .ws-group-title,body.ws-mobile-device #workspace-sidebar .ws-label,body.ws-mobile-device #workspace-sidebar .ws-footer{display:initial!important}
body.ws-mobile-device #workspace-sidebar .ws-group-title{display:block!important}
body.ws-mobile-device #workspace-sidebar .ws-link{justify-content:flex-start!important;padding:12px!important}
body.ws-mobile-device #main-header{width:100%!important;position:relative!important;inset:auto!important}
body.ws-mobile-device #main-header-inner{width:100%!important;max-width:100%!important;display:flex!important;flex-direction:column!important;gap:9px!important;padding:12px 11px!important}
body.ws-mobile-device #header-brand-block{width:100%!important;max-width:100%!important;justify-content:flex-start!important}
body.ws-mobile-device #header-controls-block{width:100%!important;max-width:100%!important;flex-wrap:nowrap!important;overflow-x:auto!important;justify-content:flex-start!important;padding-bottom:5px!important}
body.ws-mobile-device main{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:10px 8px!important;display:block!important}
body.ws-mobile-device #content-tracking,body.ws-mobile-device #tracking-report-section{width:100%!important;min-width:0!important;max-width:100%!important}
body.ws-mobile-device #content-tracking>div>div:first-child{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:9px!important;padding:12px!important}
body.ws-mobile-device #tracking-toolbar-actions{width:100%!important;flex-wrap:wrap!important}
body.ws-mobile-device .ws2-filterbar{padding:9px!important;gap:6px!important}
body.ws-mobile-device .ws2-search-wrap{flex:1 1 100%!important;min-width:0!important;max-width:100%!important}
body.ws-mobile-device .ws2-quiet{flex:1 1 auto!important}
body.ws-mobile-device #ui-mainTitle{font-size:clamp(15px,4.6vw,20px)!important}
body.ws-mobile-device #ui-logo-container{width:43px!important;height:43px!important}
body.ws-mobile-device #tracking-table-scroll{overflow-x:auto!important;max-width:100%!important}
body.ws-mobile-device #tracking-report-section{padding:3px!important}
@media(max-width:1000px){body:not(.ws-mobile-device) #main-header-inner{flex-direction:column!important;align-items:stretch!important}body:not(.ws-mobile-device) #header-controls-block{width:100%;max-width:100%;overflow-x:auto}main{padding-inline:10px!important}}
@media(max-width:640px){#main-header-inner{padding:9px!important}#header-controls-block{gap:6px!important}#content-tracking>div>div:first-child{flex-wrap:wrap!important}#tracking-toolbar-actions{width:100%!important}.ws2-search-wrap{flex-basis:100%!important}}
@media print{body.ws-mobile-device{overflow:visible!important}body.ws-mobile-device #workspace-sidebar,body.ws-mobile-device .ws-mobile-button,body.ws-mobile-device .ws-scrim{display:none!important}}
