/* G724 fixed 5-tab navigation: no overlap on narrow Android screens.
   Last loaded stylesheet wins against G470/G514/G528/G682 legacy CSS. */
html,body{max-width:100%;overflow-x:hidden}
body #portalTabs:not(.hide), body #tabs.g528-five-tabs:not(.hide){
 position:fixed!important;left:0!important;right:0!important;bottom:0!important;
 display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
 grid-auto-flow:column!important;align-items:stretch!important;justify-items:stretch!important;
 gap:0!important;width:100%!important;min-width:0!important;max-width:100vw!important;
 height:auto!important;min-height:65px!important;box-sizing:border-box!important;
 padding:5px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom))
 max(5px,env(safe-area-inset-left))!important;
 background:#fff!important;border-top:1px solid #dbe4ec!important;
 box-shadow:0 -4px 17px rgba(8,31,58,.10)!important;z-index:95!important;
 overflow:hidden!important;white-space:normal!important
}
body #portalTabs.hide,body #tabs.hide{display:none!important}
body #portalTabs:not(.hide)>button,
body #tabs.g528-five-tabs:not(.hide)>button:not(.hide){
 width:100%!important;min-width:0!important;max-width:100%!important;
 height:55px!important;min-height:55px!important;max-height:55px!important;
 padding:5px 1px!important;margin:0!important;border:0!important;
 display:flex!important;flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:3px!important;
 overflow:hidden!important;box-sizing:border-box!important;
 background:transparent!important;color:#536980!important;
 font:600 10px/13px Roboto,Arial,sans-serif!important;
 text-align:center!important;white-space:nowrap!important;
 border-radius:9px!important;flex:none!important;
}
body #portalTabs:not(.hide)>button.active,
body #tabs.g528-five-tabs:not(.hide)>button.active{
 background:#fff8e8!important;color:#173b5e!important;
 box-shadow:inset 0 2px #c99a31!important;
}
body #portalTabs:not(.hide)>button>span,
body #tabs.g528-five-tabs:not(.hide)>button>span{
 min-width:0!important;max-width:100%!important;flex:none!important;
 overflow:hidden!important;text-overflow:ellipsis!important;
 white-space:nowrap!important;line-height:13px!important;
}
body #portalTabs:not(.hide)>button .wx-icon,
body #tabs.g528-five-tabs:not(.hide)>button .wx-icon,
body #portalTabs:not(.hide)>button svg,
body #tabs.g528-five-tabs:not(.hide)>button svg{
 width:21px!important;height:21px!important;max-width:21px!important;max-height:21px!important;
 min-height:21px!important;display:block!important;flex-shrink:0!important;
 overflow:visible!important;margin:0!important;
}
body #portalTabs:not(.hide)>button .g682-tab-icon,
body #portalTabs:not(.hide)>button .g514-nav-glyph{height:21px!important;min-height:21px!important;width:22px!important;
 margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
body #portalTabs:not(.hide)>button .g514-nav-label{font:600 10px/13px Roboto,Arial,sans-serif!important}
body #tabs.g528-five-tabs #navHistory.hide{display:none!important}
body #tabs.g528-five-tabs #navHome{order:1}body #tabs.g528-five-tabs #navOrders{order:2}
body #tabs.g528-five-tabs #navTasks{order:3}body #tabs.g528-five-tabs #navReports{order:4}
body #tabs.g528-five-tabs #navAccount{order:5}
body #portalContent,body #content{padding-bottom:calc(95px + env(safe-area-inset-bottom))!important}
main{padding-bottom:calc(110px + env(safe-area-inset-bottom))!important}
.g724-driver-photolist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.g724-driver-photo{display:flex;flex-direction:column;gap:6px;align-items:stretch;padding:9px 4px;
 border:1px solid #dbe6f1;border-radius:12px;background:#f6f9fd;min-width:0}
.g724-driver-photo>strong{font-size:11px;line-height:1.25;color:#183d61;text-align:center}
.g724-driver-photo button{width:100%!important;min-height:44px!important;padding:8px 3px!important;font-size:11px!important;
 overflow-wrap:break-word}
.g724-driver-photo span{display:block;font-size:10px;line-height:1.25;text-align:center;color:#506982;overflow-wrap:anywhere}
.g724-driver-photo img{display:block;width:100%;height:76px;object-fit:cover;border-radius:8px;margin-top:3px}
.g724-uj-proof-card{border:1px solid #e6dcb9;background:#fffaf0;border-radius:12px;padding:12px;margin:9px 0}
.g724-uj-proof-card p{font-size:12px;margin:5px 0}
@media(max-width:350px){
 body #portalTabs:not(.hide)>button,body #tabs.g528-five-tabs:not(.hide)>button:not(.hide){font-size:9px!important}
 body #portalTabs:not(.hide)>button .g514-nav-label{font-size:9px!important}
 .g724-driver-photo>strong{font-size:10px}
}
