/* IMRO appearance: SmartDispatch palette, including navigation. */
html[data-imro-ui]{--imro-appearance-bg:#f4f6fa;--imro-appearance-surface:#fff;--imro-appearance-ink:#273476;--imro-appearance-muted:#58647c;--imro-appearance-line:#dce3ec;--imro-appearance-accent:#167657;--imro-appearance-soft:#edf8f3}
html[data-imro-theme=dark]{color-scheme:dark;--imro-appearance-bg:#151c30;--imro-appearance-surface:#202a42;--imro-appearance-ink:#edf1fa;--imro-appearance-muted:#b8c4dc;--imro-appearance-line:#36425d;--imro-appearance-accent:#7ad6ad;--imro-appearance-soft:#233d3c;--bg:#151c30;--surface:#202a42;--ink:#edf1fa;--muted:#b8c4dc;--line:#36425d;--accent:#7ad6ad;--soft:#233d3c;--nav:#202a42;--navy:#b9c6ff;--border:#36425d;--green:#7ad6ad;--imro-ink:#edf1fa;--imro-muted:#b8c4dc;--imro-line:#36425d;--imro-wash:#151c30}
html[data-imro-ui] [hidden]{display:none!important}
html[data-imro-ui] :is(.hub-sidebar-footer,.sd-sidebar-footer,.sidebar-footer,.sidebar-user,.book-account,.sidebar-account).imro-account-panel{display:flex;flex-direction:column;align-items:stretch;gap:13px;margin-top:auto;padding:15px;border:1px solid var(--imro-appearance-line);border-radius:15px;background:#f4f6fa;color:var(--imro-appearance-ink);font-size:13px;line-height:1.4;text-transform:none;letter-spacing:normal}
.imro-account-summary{display:flex;align-items:center;gap:11px;min-width:0}.imro-account-avatar{display:grid;place-items:center;flex:0 0 35px;width:35px;height:35px;border-radius:12px;background:#e0f0e9;color:#156e59;font-size:14px;font-weight:750}.imro-account-meta{min-width:0;display:grid;gap:3px}.imro-account-caption{color:var(--imro-appearance-muted);font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}
html[data-imro-ui] .imro-account-meta :is(strong,.account-name,.menu-account-name,.user-badge,span:not(.imro-account-caption)){display:block;max-width:none;margin:0;font-size:13px;line-height:1.4;font-weight:650;color:var(--imro-appearance-ink);overflow-wrap:anywhere;white-space:normal;overflow:visible;text-overflow:clip}
.imro-account-meta .user-badge:before{display:none}.imro-account-buttons{display:grid;gap:6px}.imro-account-buttons:empty{display:none}.imro-account-buttons form{margin:0;width:100%}
.imro-account-panel>.sidebar-caption{display:none!important}.imro-account-panel>span{color:var(--imro-appearance-muted);font-size:11px}
.imro-account-panel>.badge{align-self:flex-start;width:auto;padding:3px 8px}
html[data-imro-ui] .imro-account-panel .imro-logout{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:39px;margin:0;padding:8px 10px;border:1px solid var(--imro-appearance-line);border-radius:9px;background:var(--imro-appearance-surface);color:var(--imro-appearance-ink);font:600 12px/1.4 'Segoe UI',system-ui,sans-serif;letter-spacing:normal;text-decoration:none;cursor:pointer;position:static!important}
.imro-logout:before{content:'↪';font-size:16px;font-weight:600}.imro-logout:hover{filter:brightness(.97)}
html[data-imro-ui] .imro-theme-toggle{display:flex;align-items:center;gap:8px;width:100%;min-height:41px;padding:9px 10px;margin:0;border:0;border-radius:9px;background:transparent;color:var(--imro-appearance-ink);font:600 12px/1.4 'Segoe UI',system-ui,sans-serif;cursor:pointer;text-align:left}
.imro-theme-icon{font-size:16px}.imro-theme-label{flex:1}.imro-theme-track{position:relative;width:31px;height:18px;flex:0 0 31px;border-radius:20px;background:#bdc8d5}.imro-theme-track:before{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;background:white;border-radius:50%;transition:transform .15s}
.imro-theme-toggle[aria-pressed=true] .imro-theme-track{background:#7ad6ad}.imro-theme-toggle[aria-pressed=true] .imro-theme-track:before{transform:translateX(13px);background:#151c30}
.imro-theme-toggle:hover{background:var(--imro-appearance-soft)!important}.imro-theme-toggle:focus-visible,.imro-logout:focus-visible{outline:3px solid #27ad7a;outline-offset:3px}
html[data-imro-theme=dark] body,html[data-imro-theme=dark] :is(.app-content,.workspace,.sd-content,main){background:#151c30;color:#edf1fa}
html[data-imro-theme=dark] :is(.hub-sidebar,.sd-sidebar,.app-body>.sidebar,.layout>.sidebar,.today-page>.sidebar,body>.sidebar,.app-sidebar,.sidebar-inner,.topbar,.sd-topbar,.app-header){background:#202a42!important;color:#edf1fa!important;border-color:#36425d!important}
html[data-imro-theme=dark] :is(.sidebar,.hub-sidebar,.sd-sidebar,.sidebar-inner) :is(a,.brand,.sd-brand,.sidebar-link,.sd-nav-item,.menu-group summary,.nav-settings summary){color:#edf1fa!important}
html[data-imro-theme=dark] :is(.brand-copy,.brand-caption,.brand-sub,.sidebar-caption,.sidebar-label,.nav-caption,.sd-nav-label,.hub-sidebar-caption,.nav-section-label,.sd-brand small,.sd-breadcrumb,.imro){color:#b8c4dc!important;border-color:#36425d!important}
html[data-imro-theme=dark] :is(.sidebar,.hub-sidebar,.sd-sidebar,.sidebar-inner) :is(a:hover,.sidebar-link:hover,.sd-nav-item:hover){background:#293752!important;color:#edf1fa!important}
html[data-imro-theme=dark] :is(.sidebar,.hub-sidebar,.sd-sidebar,.sidebar-inner) :is(a.active,a.selected,a[aria-current=page],.sd-nav-item.active,.sidebar-link.active){background:#233d3c!important;color:#7ad6ad!important;box-shadow:inset 3px 0 #7ad6ad!important}
html[data-imro-theme=dark] :is(.hub-menu-symbol,.sidebar-symbol,.sd-nav-item>span){background:#293752!important;color:#b8c4dc!important}
html[data-imro-theme=dark] :is(.brand-name,.wordmark,.sd-brand>span,.brand span){color:#edf1fa!important}
html[data-imro-theme=dark] :is(.brand-accent,.wordmark>span,.sd-brand>span>span){color:#7ad6ad!important}
html[data-imro-theme=dark] .imro-account-panel{background:#192238!important;border-color:#36425d!important}
html[data-imro-theme=dark] .imro-account-avatar{background:#233d3c;color:#7ad6ad}
html[data-imro-theme=dark] .imro-account-panel .imro-logout{background:#202a42!important;color:#edf1fa!important;border-color:#36425d!important}
html[data-imro-theme=dark] .sd-app .step{color:#edf1fa!important;border-color:#36425d!important}html[data-imro-theme=dark] .sd-app .step small{color:#b8c4dc!important}html[data-imro-theme=dark] .sd-step-number{color:#b8c4dc!important;background:#293752!important}
@media(min-width:801px){html[data-imro-ui] .layout>.sidebar{position:sticky;top:0;align-self:flex-start;height:calc(100dvh - 91px);min-height:400px;overflow:hidden}html[data-imro-ui] .layout>.sidebar>nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;flex-wrap:nowrap}html[data-imro-ui] .layout>.sidebar>nav>*{flex-shrink:0}html[data-imro-ui] .layout>.sidebar>.imro-account-panel{flex-shrink:0}}
html[data-imro-theme=dark] .app-body .brand-logo img{background:#f4f6fa;padding:8px;border-radius:10px}
@media(min-width:851px){html[data-imro-ui] .sidebar-content>.sidenav{overflow-y:auto;min-height:0;flex:1}.sidebar-content>.imro-account-panel{flex-shrink:0}}
html[data-imro-theme=dark] :is(.app-card,.settings-panel,.history-panel,.panel,.card,.workflow-card,.login-card,.login-panel,.metric,.table-scroll,.trip-card,.result-card,.summary-card,dialog,.modal-content){background:#202a42!important;color:#edf1fa!important;border-color:#36425d!important;box-shadow:0 8px 28px #0002}
html[data-imro-theme=dark] main :is(section,details:not(.menu-group):not(.nav-settings)){background:#202a42;color:#edf1fa;border-color:#36425d}
html[data-imro-theme=dark] main :is(h1,h2,h3,h4,strong,td,th,label,summary){color:#edf1fa!important}
html[data-imro-theme=dark] main :is(.muted,small,.lead,.hero-description,.section-description,.app-description,.settings-copy>span,.metric span){color:#b8c4dc!important}
html[data-imro-theme=dark] main :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background:#18233a!important;color:#edf1fa!important;border-color:#4f607c!important}
html[data-imro-theme=dark] main :is(table,thead,tbody,tr,td,th){background:transparent;border-color:#36425d!important}
html[data-imro-theme=dark] main th{background:#293752!important}html[data-imro-theme=dark] main a:not(.primary-button):not(.button):not(.btn){color:#9ee5c5}
html[data-imro-theme=dark] :is(.primary-button,button.primary,.button.primary,.btn-primary,.btn-sim-primary){background:#35488e!important;color:#fff!important;border-color:#5368ae!important}
html[data-imro-theme=dark] :is(.order-controls button,.button:not(.primary),button.secondary,.role-badge,.badge){background:#293752!important;color:#edf1fa!important;border-color:#4f607c!important}
html[data-imro-theme=dark] :is(.order-row,.settings-row,.settings-header,.settings-footer,.today-week,.supervisor-card,.replacement-block){border-color:#36425d!important;background:#202a42;color:#edf1fa}
html[data-imro-theme=dark] :is(.notice,.message.success){background:#233d3c!important;color:#a4e4cb!important;border-color:#477968!important}
html[data-imro-theme=dark] :is(.error,.message.error){background:#452a38!important;color:#ffd2d5!important;border-color:#8b5266!important}
html[data-imro-theme=dark] .skip-link,html[data-imro-theme=dark] .skip{background:#202a42;color:#edf1fa}
@media(max-width:980px){html[data-imro-ui] :is(.hub-sidebar-footer,.sidebar-footer,.sidebar-account,.book-account).imro-account-panel{display:flex;margin-top:16px;max-width:100%;padding:12px;gap:10px}.imro-account-panel .imro-account-summary{min-width:0}.imro-account-buttons,.imro-theme-toggle{max-width:100%}}
@media(prefers-reduced-motion:reduce){.imro-theme-track:before{transition:none}}
html[data-imro-ui] .imro-account-panel .imro-account-caption{color:var(--imro-appearance-muted)!important;font-size:10px!important}
html[data-imro-ui] .imro-account-panel :is(.imro-theme-label,.imro-theme-icon){color:var(--imro-appearance-ink)!important}
html[data-imro-ui] .imro-account-panel :is(.imro-account-caption,.imro-theme-label,.imro-theme-icon,.imro-theme-track){display:block}
html[data-imro-ui] .imro-account-panel .imro-account-avatar{display:grid}
@media(max-width:980px){html[data-imro-ui] .app-layout.has-sidebar{grid-template-rows:auto minmax(0,1fr);align-items:start}}
html[data-imro-theme=dark] .imro-account-panel .imro-logout{background:#202a42!important;color:#edf1fa!important;border-color:#36425d!important}

/* IMRO suite navigation, 20261006-v1 */
[data-suite-menu] .suite-menu-heading{display:flex;justify-content:flex-end;margin:0 0 12px;flex-shrink:0}
[data-suite-menu] .suite-menu-toggle{display:flex;justify-content:center;align-items:center;width:34px;height:34px;padding:6px;border:1px solid #8795a640;border-radius:9px;background:transparent;color:inherit;cursor:pointer}
[data-suite-menu] .suite-menu-toggle:hover{background:#8795a620}
[data-suite-menu] .suite-menu-toggle:focus-visible{outline:3px solid #159276;outline-offset:2px}
[data-suite-menu] .suite-menu-icon{width:20px;height:20px;display:block;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
[data-suite-menu] nav :is(a,button,summary){display:flex;align-items:center;gap:11px}
[data-suite-menu] nav .suite-menu-label{font-size:inherit;line-height:inherit;width:auto;min-width:0;flex:1;background:none!important;color:inherit}
[data-suite-menu] nav .suite-menu-symbol{flex-shrink:0}
[data-suite-menu].suite-menu-compact{width:82px!important;padding-left:12px!important;padding-right:12px!important}
.suite-menu-compact .suite-menu-heading{justify-content:center}
.suite-menu-compact .suite-menu-toggle svg{transform:rotate(180deg)}
.suite-menu-compact :is(.suite-menu-label,.imro-account-meta,.hub-sidebar-caption,.sd-nav-label,.sidebar-caption,.sidebar-label,.nav-section-label,.quick-nav-title){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.suite-menu-compact nav :is(a,button){justify-content:center!important;padding:12px 8px!important;margin-left:0!important;min-height:44px;gap:0!important}
.suite-menu-compact nav summary{display:none!important}
.suite-menu-compact :is(.nav-submenu,.quick-nav-links){padding:0!important;margin:0!important}
.suite-menu-compact :is(.sd-brand,.brand,.brand-logo){justify-content:center;font-size:0;gap:0}
.suite-menu-compact :is(.sd-brand,.brand)>span{display:none}
.suite-menu-compact .sd-brand img#appLogo{width:40px;height:40px}
.suite-menu-compact .brand-logo img{max-width:52px;height:auto}
.suite-menu-compact .sidebar-inner{padding-left:0!important;padding-right:0!important}
.suite-menu-compact .imro-account-panel{padding:9px 5px!important;gap:10px!important}
.suite-menu-compact .imro-account-summary{justify-content:center}
.suite-menu-compact .imro-logout{font-size:0!important;padding:8px 0!important;gap:0!important}
.suite-menu-compact .imro-logout::before{font-size:20px}
.suite-menu-compact .imro-theme-toggle{justify-content:center!important;padding:8px 0!important;gap:0!important}
.suite-menu-compact :is(.imro-theme-label,.imro-theme-track){display:none!important}
@media(min-width:901px){html.suite-compact-smartdispatch .sd-content{margin-left:82px}html.suite-compact-book :is(.workspace,.today-page .workspace){margin-left:82px}html.suite-compact-webhub .hub-with-menu>.shell{width:min(1120px,calc(100% - 146px));margin-left:max(114px,calc(82px + (100vw - 82px - 1120px)/2))}}
@media(min-width:851px){html.suite-compact-smartgo .app-content{margin-left:82px}}
@media(min-width:981px){html.suite-compact-smartsign .app-layout.has-sidebar{grid-template-columns:82px minmax(0,1fr)}}
@media(max-width:900px){:is([data-suite-menu=webhub],[data-suite-menu=smartdispatch],[data-suite-menu=book]) .suite-menu-heading{display:none}}
@media(max-width:850px){[data-suite-menu=smartgo] .suite-menu-heading{display:none}}
@media(max-width:980px){[data-suite-menu=smartsign] .suite-menu-heading{display:none}}

/* IMRO unified sticky application header, 20261006-v1 */
html[data-suite-header]{scroll-padding-top:94px}
html[data-suite-header] body{padding-top:78px!important}
html[data-suite-header] .suite-app-header{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;height:78px!important;min-height:78px!important;box-sizing:border-box;padding:0 24px!important;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff!important;color:#273476;border-bottom:1px solid #dfe6ed;z-index:40;margin:0!important}
html[data-suite-header] .suite-header-brand{display:flex!important;align-items:center;gap:12px!important;margin:0!important;text-decoration:none;color:inherit!important;font-size:24px!important;font-weight:700;letter-spacing:-.5px;min-width:0}
html[data-suite-header] .suite-header-brand img{width:44px!important;height:44px!important;max-width:44px!important;object-fit:contain;filter:none!important;flex-shrink:0}
html[data-suite-header] .suite-header-brand :is(small,.brand-caption,.brand-sub){display:block;font-size:10px!important;line-height:1.5;letter-spacing:.6px;color:#6c7a8c!important;margin-top:2px}
html[data-suite-header] .suite-brand-copy{display:flex;flex-direction:column;gap:1px}
html[data-suite-header] .suite-brand-copy strong{font-size:24px;line-height:1.1;color:inherit}
html[data-suite-header] .brand-name{font-size:24px!important}
html[data-suite-header] .suite-header-brand .wordmark{font-size:24px!important}
html[data-suite-header=webhub] .topbar-inner{width:100%;max-width:none;min-height:0;padding:0!important;margin:0!important}
html[data-suite-header=smartdispatch] .sd-breadcrumb,html[data-suite-header=book] .topbar>.breadcrumb{display:none}
html[data-suite-header=smartgo] .sidebar-head{display:none}
html[data-suite-header=smartgo] .suite-app-header #menu-toggle{display:none}
html[data-suite-header=smartsign] .suite-header-brand .brand-divider,html[data-suite-header=smartsign] .header-right .app-label{display:none}
.suite-menu-compact .imro-account-panel>span{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
html[data-imro-theme=dark][data-suite-header] .suite-app-header{background:#202a42!important;color:#edf1fa!important;border-color:#36425d!important}
html[data-imro-theme=dark][data-suite-header] .suite-header-brand :is(small,.brand-caption,.brand-sub){color:#b8c4dc!important}
@media(min-width:901px){
 html[data-suite-header=webhub] .hub-sidebar,html[data-suite-header=smartdispatch] .sd-sidebar,html[data-suite-header=book] body>.sidebar{top:78px!important;bottom:0!important;height:calc(100dvh - 78px)!important;min-height:0!important}
}
@media(min-width:851px){html[data-suite-header=smartgo] #app-sidebar{top:78px!important;height:calc(100dvh - 78px)!important}}
@media(min-width:801px){html[data-suite-header=smartcall] .layout>.sidebar{top:78px!important;height:calc(100dvh - 78px)!important}}
@media(min-width:981px){
 html[data-suite-header=smartsign] .app-layout{min-height:calc(100dvh - 78px)}
 html[data-suite-header=smartsign] .app-sidebar{position:sticky;top:78px;align-self:start;height:calc(100dvh - 78px);min-height:0}
 html[data-suite-header=smartsign] .sidebar-inner{position:static;height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
 html[data-suite-header=smartsign] .sidebar-inner>nav{min-height:0;overflow-y:auto;flex:1;align-content:start}
}
@media(max-width:850px){html[data-suite-header=smartgo] .suite-app-header #menu-toggle{display:inline-flex}html[data-suite-header=smartgo] #app-sidebar{top:78px!important}.suite-app-header #menu-toggle{margin:0}}
@media(max-width:600px){html[data-suite-header] .suite-app-header{padding-inline:16px!important;gap:10px}html[data-suite-header] .suite-header-brand{gap:9px!important;font-size:21px!important}html[data-suite-header] .suite-header-brand img{width:36px!important;height:36px!important}html[data-suite-header] .suite-brand-copy strong{font-size:21px}html[data-suite-header=webhub] .brand-divider,html[data-suite-header=webhub] .imro{display:none}html[data-suite-header=smartsign] .header-right{display:none}}

/* Book quick-access label width fix, 20261006-v1 */
.sidebar:not(.suite-menu-compact) nav .quick-nav-list a .suite-menu-label{flex:1 1 0!important;width:auto!important;min-width:0;font-size:inherit;line-height:inherit;overflow-wrap:break-word}

/* SmartGo menu row spacing fix, 20261006-v1 */
[data-suite-menu=smartgo] .sidenav{align-content:start;gap:3px}
@media(min-width:851px){
 [data-suite-menu=smartgo] .sidenav a{min-height:40px;padding:9px 12px}
 [data-suite-menu=smartgo] .sidebar-label{margin:10px 14px 12px}
 [data-suite-menu=smartgo] .nav-section-label{margin-top:14px;margin-bottom:6px}
}
