/* Native-sized map shell. Desktop management screens retain their existing layout. */
.cmt-root[hidden],.cmt-return[hidden]{display:none!important}
.cmt-root{--cmt-ink:#202523;--cmt-muted:#737c78;--cmt-panel:#fff;--cmt-line:#e8ece9;position:fixed;inset:0;z-index:160;pointer-events:none;font:14px/1.45 Geist,Arial,sans-serif;color:var(--cmt-ink)}
.cmt-root *,.cmt-overlay *{box-sizing:border-box}
.cmt-root button,.cmt-overlay button,.cmt-return{cursor:pointer;font:inherit;border:0;color:inherit;min-height:44px}
.cmt-root svg,.cmt-overlay svg,.cmt-return svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.cmt-root button:focus-visible,.cmt-overlay :is(button,input):focus-visible,.cmt-return:focus-visible{outline:3px solid #ff3600;outline-offset:2px}
.cmt-toolbar{position:absolute!important;top:max(12px,env(safe-area-inset-top));left:14px;right:14px;height:44px!important;padding:0!important;display:flex!important;align-items:center;gap:12px;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:auto}
.cmt-round{width:44px;height:44px;min-width:44px;border-radius:50%;display:inline-grid;place-items:center;background:#fff;box-shadow:0 3px 16px #1628201c;padding:10px}
.cmt-round>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cmt-picker{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;max-width:240px;margin:auto;padding:8px 12px;border-radius:24px;background:#fff;box-shadow:0 3px 16px #1628201c;font-weight:600!important;min-width:0}
.cmt-picker>span{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.cmt-picker svg{color:#ff3600}
.cmt-map-controls{position:absolute;right:14px;top:76px;display:grid;gap:10px;pointer-events:auto}
.cmt-map-status{position:absolute;left:14px;top:64px;max-width:calc(100% - 88px);font-size:10px!important;background:#ffffffec;padding:6px 9px;border-radius:8px;color:#556157!important;box-shadow:0 2px 9px #16282012}
.cmt-root button:disabled{opacity:.5;cursor:default}
.cmt-sheet{position:absolute;bottom:max(8px,env(safe-area-inset-bottom));left:10px;right:10px;max-height:42dvh;border:1px solid #e9ede9;border-radius:23px;background:var(--cmt-panel);box-shadow:0 5px 30px #16282020;pointer-events:auto;overflow:hidden;display:flex;flex-direction:column;transition:max-height .2s ease}
.cmt-sheet.expanded{max-height:82dvh}
.cmt-sheet.expanded.route-view{max-height:52dvh}
.cmt-sheet.expanded .cmt-health,.cmt-sheet.expanded .cmt-address{display:none}
.cmt-handle{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:100%;min-height:22px!important;height:22px;background:none;touch-action:none;padding:0}
.cmt-handle:before{content:'';width:34px;height:4px;border-radius:4px;background:#d7ddd9}
.cmt-handle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cmt-summary{padding:0 16px 8px;flex-shrink:0}
.cmt-vehicle-title{display:flex;align-items:center;gap:10px}
.cmt-car-badge{display:grid;place-items:center;background:#fff1eb;color:#ff3600;width:36px;height:36px;border-radius:50%;flex-shrink:0}
.cmt-vehicle-title>div{min-width:0;flex:1}
.cmt-root h2{font-size:15px!important;line-height:1.3!important;letter-spacing:-.2px!important;margin:0!important;color:inherit!important}
.cmt-root p{margin:4px 0;font-size:12px;line-height:1.5;color:var(--cmt-muted)}
.cmt-vehicle-title p{margin:2px 0;font-size:10px}
.cmt-vehicle-title .cmt-round{width:32px;min-width:32px;box-shadow:none;background:#f6f8f6;padding:7px}
.cmt-status{display:flex;align-items:center;gap:8px;margin:9px 0;font-size:10px;color:#6a746e}
.cmt-status strong{font-size:10px;border-radius:5px;padding:3px 7px;background:#f1f4f1;color:#404d43}
.cmt-health{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.cmt-health button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:2px;background:#f8faf8;border-radius:10px;padding:6px 2px;min-height:62px;font-size:10px}
.cmt-health svg{height:19px;width:19px;color:#4c5850}
.cmt-health small{color:var(--cmt-muted);font-size:8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cmt-address{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px!important;margin:7px 0 0!important}
.cmt-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#f6f8f6;border-top:1px solid var(--cmt-line);flex-shrink:0}
.cmt-tabs button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;background:transparent;font-size:10px;min-height:54px;padding:6px}
.cmt-tabs button[aria-current=page]{color:#cf3108;background:#fff0e9}
.cmt-tabs button:disabled{opacity:.45}
.cmt-tabs svg{width:20px;height:20px}
.cmt-body{overflow:auto;overscroll-behavior:contain;padding:0 16px;min-height:0;scrollbar-width:thin}
.cmt-body:empty{display:none}
.cmt-sheet:not(.expanded) .cmt-body{display:none}
.cmt-body:not(:empty){padding:16px}
.cmt-body h3{font-size:16px!important;margin:0 0 14px!important;color:inherit!important;letter-spacing:-.3px}
.cmt-body>button,.cmt-row>button,.cmt-date-form>button,.cmt-settings>button,.cmt-replay>button{border:1px solid #e2e7e2!important;border-radius:12px;background:#fff;padding:10px 14px;display:inline-flex;align-items:center;justify-content:center;gap:7px;margin:4px 5px 8px 0;font-size:12px;font-weight:600}
.cmt-body>button:first-of-type,.cmt-settings>button{background:#ff3600;color:#fff;border-color:#ff3600!important}
.cmt-empty{padding:18px 0!important;line-height:1.6!important}
.cmt-note{font-size:11px!important;margin:12px 0!important}
.cmt-date-form{display:flex;align-items:end;gap:10px;margin-bottom:12px}
.cmt-date-form label{display:grid;gap:5px;font-size:11px;flex:1}
.cmt-root input:not([type=checkbox]):not([type=range]),.cmt-search{min-height:44px;border:1px solid #dce2dc;border-radius:10px;padding:10px;background:#fff;color:#202523;font:16px Geist,Arial,sans-serif;max-width:100%;width:100%}
.cmt-date-form>button{margin:0}
.cmt-row{padding:14px 0;border-top:1px solid var(--cmt-line)}
.cmt-row>strong{font-size:13px;display:block}
.cmt-row small{display:block;font-size:10px;color:var(--cmt-muted)}
.cmt-row[data-severity=critical]{border-left:3px solid #d93035;padding-left:10px}
.cmt-readings{margin:0 0 20px}
.cmt-readings>div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--cmt-line);font-size:12px}
.cmt-readings dt{color:var(--cmt-muted)}
.cmt-readings dd{margin:0;text-align:right;overflow-wrap:anywhere}
.cmt-settings{display:grid;gap:10px}
.cmt-settings label{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 0;font-size:12px}
.cmt-settings input[type=checkbox]{width:22px;height:22px;accent-color:#ff3600}
.cmt-settings input[type=number]{max-width:100px!important}
.cmt-replay{display:flex;gap:10px;align-items:center}
.cmt-replay input{min-width:0;flex:1;accent-color:#ff3600}
.cmt-overlay{position:fixed;inset:0;z-index:2000;background:#14251d55;display:flex;align-items:end;color:#202523;font:14px/1.45 Geist,Arial,sans-serif}
.cmt-dialog{background:#f6f8f6;width:100%;max-height:90dvh;overflow:auto;border-radius:24px 24px 0 0;padding:14px 16px max(24px,env(safe-area-inset-bottom));box-shadow:0 -8px 40px #16282020}
.cmt-dialog>header{display:flex;align-items:center;gap:14px;margin-bottom:18px;position:static!important;padding:0!important;height:44px!important;background:none!important;border:0!important}
.cmt-dialog h2{font-size:17px!important;letter-spacing:-.3px!important;margin:0!important}
.cmt-search{margin-bottom:16px}
.cmt-vehicle-option,.cmt-menu-row{width:100%;display:grid;grid-template-columns:32px 1fr;column-gap:10px;text-align:left;background:#fff;border-radius:12px!important;padding:14px!important;margin:0 0 8px!important;align-items:center}
.cmt-vehicle-option svg,.cmt-menu-row svg{grid-row:1/3;color:#ff3600}
.cmt-vehicle-option small{grid-column:2;color:#78817a;font-size:11px}
.cmt-vehicle-option[aria-pressed=true]{outline:2px solid #ff3600;outline-offset:-2px}
.cmt-dialog>button:not(.cmt-menu-row){background:#fff;padding:10px 16px;border-radius:12px;margin-top:12px}
.cmt-return{position:fixed;right:16px;bottom:max(78px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;z-index:120;background:#ff3600;color:#fff!important;border-radius:25px;padding:10px 16px;box-shadow:0 4px 20px #16282022}
body.cmt-map-active{overflow:hidden!important}
body.cmt-map-active .left-sidebar,body.cmt-map-active .cf-mobile-bottom,body.cmt-map-active .dashboard-header,body.cmt-map-active .topbar{display:none!important}
body.cmt-map-active #dispatch-live-map{position:fixed!important;inset:0 0 240px!important;width:100vw!important;height:auto!important;min-height:0!important;z-index:150!important;border-radius:0!important;visibility:visible!important}
body.cmt-map-active #cl-dispatch-section :is(.dispatch-map-head,.dispatch-map-foot,.cf-map-fleet,.fi-vehicle-detail,.dispatch-map-empty){display:none!important}
body.cmt-map-active .dashboard-main{overflow:hidden!important}
@media(min-width:761px){.cmt-sheet{left:calc(50% - 230px);right:calc(50% - 230px)}.cmt-overlay{justify-content:center}.cmt-dialog{max-width:480px}.cmt-toolbar{max-width:480px;left:calc(50% - 240px);right:auto;width:480px}}
@media(prefers-reduced-motion:reduce){.cmt-sheet{transition:none}}

/* One mobile map header; override legacy dashboard header specificity. */
html body.v2-dashboard.fleet-workspace.cf-mobile-ready.cmt-map-active:not(#cmt-header) .left-sidebar,
html body.v2-dashboard.fleet-workspace.cmt-map-active:not(#cmt-header) .app-topbar{display:none!important}
.cmt-root .cmt-toolbar{top:0!important;left:0!important;right:0!important;width:auto!important;max-width:none!important;height:calc(64px + env(safe-area-inset-top))!important;padding:calc(10px + env(safe-area-inset-top)) 12px 10px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px;gap:10px!important;background:#fff!important;border-bottom:1px solid var(--cmt-line)!important;box-shadow:0 2px 12px #16282008!important}
.cmt-toolbar .cmt-round{box-shadow:none;background:#f6f8f6}
.cmt-toolbar .cmt-picker{width:100%;max-width:320px;min-width:0;height:44px;margin:0 auto;padding:8px 12px;background:#f6f8f6;box-shadow:none;font-size:14px!important}
.cmt-toolbar .cmt-round svg{width:25px;height:25px}
.cmt-map-controls{top:calc(80px + env(safe-area-inset-top))}
.cmt-map-status{top:calc(72px + env(safe-area-inset-top));margin:0!important}
@media(max-width:360px){.cmt-root .cmt-toolbar{gap:6px!important;padding-left:8px!important;padding-right:8px!important}.cmt-toolbar .cmt-picker{font-size:13px!important;gap:6px;padding:8px}}

/* Mobile tracking density: readable type, compact rows, one navigation menu. */
.cmt-root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}
.cmt-overlay{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.cmt-root h2{font-size:17px!important}
.cmt-vehicle-title p{font-size:12px;line-height:1.4}
.cmt-status,.cmt-status strong{font-size:11px}
.cmt-health{gap:6px}
.cmt-health button{font-size:12px;min-height:62px;padding:6px 2px}
.cmt-health small{font-size:10px}
.cmt-tabs button{font-size:12px;min-height:50px;gap:2px}
.cmt-address{font-size:12px!important}
.cmt-summary{padding:0 12px 8px}
.cmt-toolbar .cmt-picker{font-size:15px!important}
.cmt-dialog h2{font-size:17px!important}
.cmt-vehicle-option,.cmt-menu-row{font-size:14px!important;padding:11px 12px!important;margin-bottom:6px!important;min-height:44px!important}
.cmt-vehicle-option small{font-size:12px}
.cmt-body h3{font-size:17px!important;margin-bottom:12px!important}
.cmt-body .cmt-row{padding:10px 0}
.cmt-row>strong{font-size:14px}
.cmt-row small,.cmt-note{font-size:12px!important}
.cmt-readings>div,.cmt-settings label{font-size:13px}
.cmt-date-form{align-items:center;gap:8px}
.cmt-date-form label{font-size:12px;min-width:0}
.cmt-date-form .cmt-day-step{width:44px;min-width:44px;height:44px;padding:10px!important;margin:17px 0 0!important;align-self:center}
.cmt-day-step span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
html body.cmt-navigation-enabled .cf-mobile-bottom{display:none!important}
html body.cmt-navigation-enabled .cmt-return{display:none!important}

.cmt-trip-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}.cmt-trip-totals>div{display:flex;flex-direction:column;gap:2px;padding:9px 6px;background:#f6f8f6;border-radius:9px;text-align:center}.cmt-trip-totals strong{font-size:15px}.cmt-trip-totals span{font-size:11px;color:#737c78}

.cmt-vehicle-title .cmt-details{display:inline-flex;align-items:center;justify-content:center;gap:3px;flex-shrink:0;min-height:44px;padding:7px 9px;border:1px solid #e8ece9;border-radius:12px;background:#f6f8f6;font-size:12px;font-weight:600;white-space:nowrap}.cmt-details span{order:-1}.cmt-details svg{width:16px;height:16px}

.cmt-details-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.cmt-details-heading h3{margin:0!important}.cmt-details-close{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:8px 10px;background:#f6f8f6;border-radius:10px;font-size:12px}.cmt-details-close svg{width:17px;height:17px}

/* Keep the vehicle tools at the panel foot while details scroll above. */
.cmt-sheet .cmt-body{flex:1 1 auto;min-height:0}
.cmt-sheet .cmt-tabs{order:10;flex:0 0 auto;margin-top:auto}

.cmt-sheet.cmt-details-open .cmt-details{display:none!important}

.cmt-make-badge{display:inline-grid;place-items:center;flex-shrink:0;width:34px;height:34px;border-radius:50%;color:#fff;font-size:16px;font-weight:600;line-height:1}
.cmt-make-badge img{display:block;width:23px;height:23px;object-fit:contain;filter:brightness(0) invert(1)}
.cmt-picker>.cmt-make-badge{width:27px;height:27px}.cmt-picker>.cmt-make-badge img{width:20px;height:20px}
.cmt-vehicle-title .cmt-car-badge{border:0;padding:0;background:transparent;min-width:44px;min-height:44px;width:44px;height:44px;position:relative}
.cmt-car-badge>.cmt-make-badge{width:38px;height:38px}
.cmt-car-badge>span:not(.cmt-make-badge){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.cmt-vehicle-option>.cmt-make-badge{grid-row:1/3;width:32px;height:32px}
.cmt-appearance-preview{display:flex;align-items:center;gap:12px;padding:12px 0 18px}
.cmt-appearance-field{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;border-top:1px solid #e8ece9;font-size:14px}
.cmt-appearance-field select{font:16px -apple-system,sans-serif;padding:9px;border:1px solid #dce2dc;border-radius:8px;background:white;color:#202523}
.cmt-appearance-field input{width:22px;height:22px;accent-color:#2563eb}

/* Dedicated arrow columns prevent iOS date controls from overlapping navigation. */
.cmt-root .cmt-date-form{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:end!important;gap:8px!important;width:100%;min-width:0}
.cmt-root .cmt-date-form label{display:grid;gap:5px;min-width:0;width:100%;margin:0}
.cmt-root .cmt-date-form input[type=date]{display:block;box-sizing:border-box;width:100%!important;min-width:0!important;max-width:100%!important;height:44px!important;padding:8px!important;text-align:center}
.cmt-root .cmt-date-form .cmt-day-step{position:static!important;inset:auto!important;transform:none!important;align-self:end!important;display:grid!important;place-items:center!important;box-sizing:border-box;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;margin:0!important;padding:10px!important;flex:none!important}
.cmt-root .cmt-date-form .cmt-day-step svg{display:block;width:22px;height:22px;margin:0}

/* Compact tools for the selected vehicle; account navigation stays separate. */
.cmt-root .cmt-vehicle-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.cmt-root .cmt-vehicle-action{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:9px;row-gap:2px;align-content:center;min-height:68px;padding:10px!important;border:1px solid #e8ece9!important;border-radius:12px!important;background:#f7f9f8!important;text-align:left!important;min-width:0}
.cmt-root .cmt-vehicle-action svg{grid-row:1/3;width:20px;height:20px;color:#ed410f;align-self:center}
.cmt-root .cmt-vehicle-action>span{font-size:13px;font-weight:600;line-height:1.3;min-width:0}
.cmt-root .cmt-vehicle-action small{font-size:11px;line-height:1.4;color:#737c78;min-width:0}
.cmt-root .cmt-vehicle-info{margin-top:12px;border-top:1px solid #e8ece9}
.cmt-root .cmt-vehicle-info>summary{min-height:48px;padding:14px 0;font-size:13px;font-weight:600;cursor:pointer}
.cmt-root .cmt-hub-back{display:flex;align-items:center;gap:6px;min-height:44px;padding:6px 0;margin:0 0 8px;background:transparent;color:#59645e;font-size:12px}
.cmt-root .cmt-hub-back svg{width:18px;height:18px}

.cmt-root .cmt-body>.cmt-hub-back,.cmt-root .cmt-body>.cmt-hub-back:first-of-type{background:transparent!important;color:#59645e!important;border:0!important;justify-content:flex-start;padding:6px 0!important;font-weight:500}

/* Mobile account actions live in navigation, leaving the bell in the header. */
body.cmt-native-app #nav-user-menu,body.cmt-native-app .cf-footer-account{display:none!important}
body.cmt-native-app .cmt-navigation{background:#fff}
body.cmt-native-app .cmt-navigation>header{justify-content:space-between}
body.cmt-native-app .cmt-navigation>header .cmt-round{box-shadow:none;background:#f5f7f6}
body.cmt-native-app .cmt-navigation>.cmt-menu-row{grid-template-columns:24px minmax(0,1fr) 20px;gap:14px;background:transparent;min-height:52px!important;margin:0!important;padding:12px 6px!important}
body.cmt-native-app .cmt-navigation>.cmt-menu-row svg{grid-row:auto;color:#202523;width:22px;height:22px}
body.cmt-native-app .cmt-navigation>.cmt-menu-row svg:last-child{width:18px;height:18px;color:#939c96}
.cmt-profile-identity{display:grid;gap:5px;margin-bottom:12px;padding:6px 4px 16px;border-bottom:1px solid #e8ece9;overflow-wrap:anywhere}
.cmt-profile-identity strong{font-size:16px;font-weight:600}.cmt-profile-identity small{font-size:12px;color:#737c78}

/* Keep the date control inside its own column on iOS. */
.cmt-root .cmt-date-form{grid-template-columns:44px minmax(0,1fr) 44px!important;gap:8px!important;align-items:end!important}
.cmt-root .cmt-date-form label{overflow:hidden;min-width:0!important}
.cmt-root .cmt-date-form input[type=date]{-webkit-appearance:none;appearance:none;display:block;width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
.cmt-root .cmt-date-form input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:center}
.cmt-root .cmt-date-form .cmt-day-step{position:static!important;align-self:end!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;margin:0!important;z-index:1}


/* Cleaner mobile map and vehicle workspace. */
body.cmt-native-app .cmt-root{color:#192231}
body.cmt-native-app .cmt-sheet{left:10px;right:10px;border:1px solid #e7e9ed;border-radius:20px;background:#fff;box-shadow:0 7px 24px #15203520;max-height:40dvh}
body.cmt-native-app .cmt-sheet.expanded{max-height:78dvh}
body.cmt-native-app .cmt-sheet.expanded.route-view{max-height:52dvh}
body.cmt-native-app .cmt-summary{padding:0 14px 10px}
body.cmt-native-app .cmt-vehicle-title{gap:10px}
body.cmt-native-app .cmt-vehicle-title h2{font-size:15px!important;line-height:1.25;margin:0!important}
body.cmt-native-app .cmt-vehicle-title p{font-size:12px;color:#75808c;line-height:1.3;margin:3px 0 0}
body.cmt-native-app .cmt-details{background:#f5f6f8;border:0;border-radius:10px;min-height:40px;padding:6px 10px}
body.cmt-native-app .cmt-status{margin-top:6px;color:#717d87}
body.cmt-native-app .cmt-health{gap:6px;margin-top:10px}
body.cmt-native-app .cmt-health button{min-height:55px;border-radius:10px;background:#f5f6f8}
body.cmt-native-app .cmt-tabs{background:#fafbfc;border-top:1px solid #edf0f2}
body.cmt-native-app .cmt-tabs button{min-height:52px;color:#66717e;font-size:11px;font-weight:500}
body.cmt-native-app .cmt-tabs button[aria-current=page]{color:#dc3b12;background:#fff2ed;font-weight:600}
body.cmt-native-app .cmt-body:not(:empty){padding:14px}
body.cmt-native-app .cmt-body h3{font-size:16px!important;margin:0 0 10px!important}
body.cmt-native-app .cmt-body .cmt-hub-back{min-height:40px;margin:0 0 4px!important}
body.cmt-native-app .cmt-trip-totals{gap:6px;margin:0 0 12px}
body.cmt-native-app .cmt-trip-totals>div{background:#f5f6f8;border-radius:10px;padding:8px 4px}
body.cmt-native-app .cmt-row{padding:12px 0;border-color:#edf0f2}
body.cmt-native-app .cmt-empty{color:#737f8a;line-height:1.5}
body.cmt-native-app .cmt-toolbar .cmt-picker,body.cmt-native-app .cmt-toolbar .cmt-round{background:#f5f6f8}
body.cmt-native-app .cmt-map-status{border-radius:10px;background:#ffffffeb;color:#66717e!important}
@media(max-width:360px){body.cmt-native-app .cmt-sheet{left:8px;right:8px}body.cmt-native-app .cmt-summary,body.cmt-native-app .cmt-body:not(:empty){padding-left:12px;padding-right:12px}}


/* Organize vehicle details into a balanced, compact mobile panel. */
.cmt-root .cmt-details-heading{margin-bottom:10px!important;gap:8px}
.cmt-root .cmt-details-heading h3{font-size:16px!important}
.cmt-root .cmt-details-close{min-height:40px!important;padding:7px 10px!important}
.cmt-root .cmt-vehicle-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:8px 0 14px!important}
.cmt-root .cmt-vehicle-action{min-height:62px!important;padding:9px 10px!important}
.cmt-root .cmt-vehicle-action:last-child:nth-child(odd){grid-column:1 / -1}
.cmt-root .cmt-vehicle-info{margin-top:8px!important}
.cmt-root .cmt-vehicle-info>summary{min-height:44px!important;padding:12px 0!important}
.cmt-root .cmt-vehicle-info .cmt-readings{margin-bottom:12px}
.cmt-root .cmt-vehicle-info .cmt-readings>div{padding:9px 0;align-items:baseline}
.cmt-root .cmt-vehicle-info .cmt-readings>div>*{min-width:0;overflow-wrap:anywhere}

/* One continuous mobile menu with the account identity at the top. */
body.cmt-native-app .cmt-navigation .cmt-profile-identity{margin:0 0 8px;padding:4px 6px 12px;border:0}
body.cmt-native-app .cmt-navigation>.cmt-menu-row{margin:0!important}

body.cmt-native-app .cmt-navigation{background:#f3f4f5!important}
body.cmt-native-app .cmt-navigation>header{justify-content:space-between!important;margin-bottom:12px!important}
body.cmt-native-app .cmt-navigation .cmt-menu-logout{width:auto!important;min-height:44px!important;background:#fff!important;border-radius:24px!important;padding:8px 16px!important;font-size:13px!important}
body.cmt-native-app .cmt-navigation .cmt-menu-logout svg{display:none}
body.cmt-native-app .cmt-navigation .cmt-profile-identity{background:#fff;border-radius:14px 14px 0 0;margin:0!important;padding:14px!important}
body.cmt-native-app .cmt-menu-group{background:#fff;border-radius:14px;overflow:hidden}
body.cmt-native-app .cmt-profile-identity + .cmt-menu-group{border-radius:0 0 14px 14px}
body.cmt-native-app .cmt-menu-group .cmt-menu-row{display:grid!important;grid-template-columns:24px 1fr!important;gap:14px!important;width:100%;min-height:50px!important;margin:0!important;padding:12px 14px!important;background:#fff!important;border-radius:0!important;border-top:1px solid #eef0f2;text-align:left}
body.cmt-native-app .cmt-menu-group .cmt-menu-row svg{color:#283d5a!important;width:21px;height:21px;grid-row:auto}
body.cmt-native-app .cmt-menu-group-title{font-size:14px;font-weight:500;margin:20px 10px 8px}

/* Align mobile menu header controls and keep the sign-out label on one line. */
body.cmt-native-app .cmt-navigation>header{display:flex!important;align-items:center!important;gap:10px!important}
body.cmt-native-app .cmt-navigation>header h2{flex:1 1 auto;min-width:0}
body.cmt-native-app .cmt-navigation>header .cmt-round{flex:0 0 44px}
body.cmt-native-app .cmt-navigation>header .cmt-menu-logout{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap!important;flex:0 0 auto!important;width:auto!important;min-width:max-content!important;min-height:44px!important;padding:8px 14px!important}

/* Full-height mobile menu, with account controls kept visible. */
body.cmt-native-app .cmt-overlay:has(.cmt-navigation){align-items:stretch!important}
body.cmt-native-app .cmt-navigation{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;border-radius:0!important;padding:env(safe-area-inset-top) 16px max(24px,env(safe-area-inset-bottom))!important}
body.cmt-native-app .cmt-navigation>header{position:sticky!important;top:0!important;z-index:2;background:#f3f4f5!important;height:60px!important;margin:0 0 12px!important}

body.cmt-native-app .cmt-navigation>.cmt-menu-logout{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:48px!important;margin:20px 0 0!important;border-radius:14px!important;white-space:nowrap;font-weight:600}

/* Text-only menu rows. */
body.cmt-native-app .cmt-navigation .cmt-menu-group .cmt-menu-row svg{display:none!important}
body.cmt-native-app .cmt-navigation .cmt-menu-group .cmt-menu-row{grid-template-columns:minmax(0,1fr)!important;gap:0!important;padding-left:16px!important}

.cmt-dialog .cmt-menu-row small{grid-column:2;color:#737c78;font-size:12px}.cmt-dialog .cmt-menu-row[aria-pressed=true]{outline:2px solid #ff3600;outline-offset:-2px}
