/* Scoped host navigation and stage rail. Original map styles are unchanged. */
#routeTracking .rtNotice.loading{display:block}
#routeTracking .rtTopbar,#routeReportsWorkspace .rtTopbar{height:48px;min-height:48px;padding:0 16px;background:#061c35;color:#fff;gap:20px}
#routeTracking .rtTopbar nav,#routeReportsWorkspace .rtTopbar nav{display:flex;height:100%;align-items:center;gap:26px;flex-shrink:0}
#routeTracking .rtTopbar nav button,#routeReportsWorkspace .rtTopbar nav button{font-size:14px;color:#b8c8da;font-weight:600;white-space:nowrap}
#routeTracking .rtTopbar nav button.active,#routeReportsWorkspace .rtTopbar nav button.active{font-size:16px;color:#fff;font-weight:700}
#routeTracking .rtTopbar nav button.active:after,#routeReportsWorkspace .rtTopbar nav button.active:after{height:3px;background:#397dff;box-shadow:none}
#routeReportsWorkspace.routeReportsWorkspacePage{height:calc(100dvh - 64px);min-height:0}
body:has(#routeReportsWorkspace.active) .main{padding-bottom:12px}
#routeTracking .rtCommand{grid-template-columns:92px minmax(210px,1.5fr) repeat(3,minmax(96px,.8fr)) minmax(140px,1.4fr) 58px 54px;min-height:58px;overflow:visible;padding:8px 12px}
#routeTracking .rtStageRail{grid-template-columns:repeat(7,minmax(0,1fr));overflow:visible;margin:10px 14px;gap:2px;padding:5px}
#routeTracking .rtStageRail button{min-height:84px;padding:10px 8px;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;gap:4px 8px;transform:none}
#routeTracking .rtStageRail button>span{width:28px;height:28px;font-size:15px;grid-row:1/3;border-radius:8px}
#routeTracking .rtStageRail small{font-size:12px;line-height:1.4;white-space:normal}
#routeTracking .rtStageRail b{font-size:24px}
@media(max-width:1100px){#routeTracking .rtCommand{grid-template-columns:90px minmax(210px,1.5fr) repeat(3,minmax(90px,1fr))}#routeTracking .rtSearch{grid-column:1/4}#routeTracking .rtStageRail{grid-template-columns:repeat(4,minmax(0,1fr))}#routeReportsWorkspace.routeReportsWorkspacePage{height:calc(100dvh - 48px)}}
@media(max-width:640px){#routeTracking .rtTopbar,#routeReportsWorkspace .rtTopbar{padding:0 10px}#routeTracking .rtLive,#routeReportsWorkspace .rtLive{display:none}#routeTracking .rtCommand{grid-template-columns:repeat(2,minmax(0,1fr))}#routeTracking .rtDateRange,#routeTracking .rtSearch{grid-column:1/-1}#routeTracking .rtStageRail{grid-template-columns:repeat(2,minmax(0,1fr))}#routeReportsWorkspace.routeReportsWorkspacePage{height:calc(100dvh - 32px)}}
