.at-account-identity{display:block;margin-top:4px;max-width:250px;white-space:normal;line-height:1.5}
.at-account-identity strong,.at-account-identity small{display:block;overflow-wrap:anywhere}
.at-account-identity small{font-weight:400;color:#5c7088;font-size:11px}
.at-classic-modern #bs-header-navbar-collapse #dropMyAccount{display:grid!important;grid-template-columns:34px minmax(0,1fr);gap:3px 12px}
.at-classic-modern #dropMyAccount>.icon{grid-column:1;grid-row:1 / span 2}
.at-classic-modern #dropMyAccount>.text,.at-classic-modern #dropMyAccount>.at-account-identity{grid-column:2}
#atrack-logout-dialog{width:min(420px,calc(100vw - 32px));padding:28px;border:1px solid #dbe5f1;border-radius:20px;box-shadow:0 24px 80px #10254040;color:#132c49;background:#fff}
#atrack-logout-dialog::backdrop{background:#08192c80}
#atrack-logout-dialog h2{font-size:23px;margin:0 0 16px;font-weight:700}
#atrack-logout-dialog p{color:#5c7088;margin:12px 0;overflow-wrap:anywhere}
.at-logout-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}
.at-geofence-locator{margin-bottom:18px;padding:12px;border:1px solid #dbe5f1;border-radius:12px;background:#f4f8ff;color:#173957}
.at-geofence-locator strong{display:block;font-size:14px}
.at-geofence-locator label{display:block;font-size:11px;margin:10px 0 5px}
.at-geofence-locator small{display:block;line-height:1.5;margin-top:10px;color:#566b82}
.at-geofence-locator .input-group{display:flex}
.at-geofence-locator .form-control{min-width:0;flex:1;width:0}
.at-geofence-locator .input-group-btn{display:block;flex:none;width:auto}
/* Drawing must preserve the main navigation, including after fullscreen mode. */
body.at-geofence-edit #header{display:block!important;visibility:visible!important;z-index:1030}
@media(prefers-color-scheme:dark){body.theme-dark #atrack-logout-dialog{background:#192b38;color:#edf5ff}body.theme-dark #atrack-logout-dialog p{color:#b2c1d0}}

body.at-geofence-edit #header .main-navbar{top:0!important;transform:none!important}

/* The workspace owns one viewport. Focusing a long geofence form must not
   scroll the document and push its relative-positioned header off screen. */
html.at-workspace-viewport,html.at-workspace-viewport body{height:100%;width:100%;overflow:hidden!important;margin:0}
.at-workspace-viewport body.at-classic-modern{--at-header-height:70px}
.at-workspace-viewport .at-classic-modern #header{position:fixed!important;top:0!important;left:0;right:0;height:var(--at-header-height)!important;z-index:1030}
.at-workspace-viewport .at-classic-modern #sidebar{position:fixed!important;top:var(--at-header-height)!important;bottom:0;height:calc(100% - var(--at-header-height))!important;max-height:none!important;box-sizing:border-box}
.at-workspace-viewport .at-classic-modern #mapWrap{position:fixed!important;top:var(--at-header-height)!important;bottom:0;left:0;right:0;height:auto!important}
.at-workspace-viewport .at-classic-modern #map{height:100%!important;top:0!important}
.at-workspace-viewport .at-classic-modern #sidebar .tab-pane-body{box-sizing:border-box;max-width:100%;overflow-x:hidden}
.at-classic-modern #history-form .form-group{margin-left:0;margin-right:0;display:flex;align-items:flex-start;min-width:0}
.at-classic-modern #history-form .form-group>.control-label{flex:0 0 24%;width:24%;padding-left:0;padding-right:8px}
.at-classic-modern #history-form .form-group>.col-xs-9{flex:1;width:0;min-width:0;padding:0}
.at-classic-modern #history-form .form-group>.col-xs-12{width:100%;padding:0}
.at-classic-modern #history-form .col-xs-9>.input-group{display:grid;grid-template-columns:minmax(0,1fr) 76px;gap:6px;width:100%;min-width:0}
.at-classic-modern #history-form .col-xs-9>.input-group>.form-control{width:100%;min-width:0;border-radius:10px}
.at-classic-modern #history-form .col-xs-9>.input-group>.input-group-btn{display:block;width:auto;min-width:0;padding:0}
.at-classic-modern #history-form .bootstrap-select.form-control{width:100%!important;min-width:0!important;max-width:100%}
.at-classic-modern #history-form .bootstrap-select>.dropdown-toggle{width:100%;min-width:0;padding-left:8px;padding-right:22px;box-sizing:border-box}
.at-geofence-locator{box-sizing:border-box;max-width:100%;min-width:0}
.at-geofence-locator .input-group{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;width:100%;min-width:0}
.at-geofence-locator .form-control,.at-geofence-locator .bootstrap-select.form-control{width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box}
.at-geofence-locator .bootstrap-select>.dropdown-toggle{width:100%;min-width:0;max-width:100%;box-sizing:border-box}
.at-geofence-locator .input-group-btn{min-width:0}
.at-geofence-locator .input-group-btn>.btn{white-space:nowrap}
@media(max-width:700px){.at-workspace-viewport body.at-classic-modern{--at-header-height:62px}}

.at-workspace-viewport body.at-classic-modern.at-workspace-full{--at-header-height:0px}

/* Draft editing is visually separate from live vehicle interaction. */
body.at-geofence-drafting #map .leaf-device-marker,
body.at-geofence-drafting #map .leaf-device-tail,
body.at-geofence-drafting #map .ats-map-radar-wave,
body.at-geofence-drafting #map .cluster,
body.at-geofence-drafting #map .leaflet-popup-device{visibility:hidden!important;pointer-events:none!important}
body.at-geofence-drafting #widgets{display:none!important}
.at-geofence-search-point{pointer-events:none!important;background:transparent;border:0}
.at-geofence-search-point>span{display:block;box-sizing:border-box;width:16px;height:16px;border:3px solid #fff;border-radius:50%;background:#e83c48;box-shadow:0 0 0 2px #941829,0 2px 6px #10254060}
.at-geofence-locator [data-geofence-radius-row]{margin-top:10px}
.at-geofence-locator [data-geofence-radius-row] input{height:34px}
