/* Composição exclusiva da PWA instalada e do navegador móvel em celulares. */
html.pwa-mobile-app,
html.pwa-mobile-app body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  background: #f3f6fa;
}


@media (max-width:768px){
 html.pwa-mobile-app #mobile-vehicles-sheet{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:7px!important;text-align:left!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;min-height:17px!important;padding-top:1px!important;color:#151922!important;font-size:14px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-heading strong{font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-chevron{font-size:16px!important;line-height:14px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-row{display:grid!important;grid-template-columns:37px minmax(0,1fr) auto auto!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:38px!important;padding:3px 5px!important;border:1px solid #e4e5e8!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:7px!important;background:#a9153b!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-icon svg{width:25px!important;height:25px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity{display:grid!important;gap:1px!important;min-width:0!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity strong{overflow:hidden!important;color:#171b24!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity small{overflow:hidden!important;color:#5c626c!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-status,html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-motion{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:2px 7px!important;border-radius:99px!important;background:#e4f6e9!important;color:#207b3d!important;font-size:9px!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-motion{background:#f0f1f3!important;color:#313640!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-empty{font-size:10px!important}
}

html.pwa-mobile-app #workspace {
  position: relative;
  /* app.css has later desktop shell rules with !important that reserve a
     sidebar column. Reset the shell here so the map can use the full phone. */
  display: flex !important;
  width: 100%;
  height: 100vh;
  height: var(--pwa-viewport-height, 100dvh);
  min-height: 0;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

html.pwa-mobile-app #workspace > .sidebar {
  display: none !important;
}

html.pwa-mobile-app #workspace > .app-main {
  display: flex;
  width: 100%;
  height: auto;
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  grid-column: auto !important;
  grid-row: auto !important;
  overflow: hidden;
}

html.pwa-mobile-app #workspace > .topbar {
  position: relative;
  z-index: 520;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas:
    "brand notifications account"
    "metrics metrics metrics";
  align-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none;
  gap: 7px;
  padding: max(7px, env(safe-area-inset-top)) 10px 8px;
  overflow: visible;
  border-bottom: 1px solid #e7edf4;
  box-shadow: 0 2px 8px #162c440a;
}

html.pwa-mobile-app #workspace .app-header-brand {
  grid-area: brand;
  width: clamp(76px, 25vw, 100px);
  max-width: 100%;
  min-width: 0;
  height: 37px;
  flex: none;
  margin: 0;
}

html.pwa-mobile-app #workspace.sidebar-collapsed > .topbar .app-header-brand {
  width: clamp(76px, 25vw, 100px);
  flex: none;
}

html.pwa-mobile-app .app-header-brand img {
  display: block;
  width: 100%;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
}

html.pwa-mobile-app .notification-bell,
html.pwa-mobile-app .account-menu-button {
  display: grid;
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  flex: none;
  place-items: center;
  padding: 0;
  border: 1px solid #e5ebf3;
  border-radius: 10px;
  background: #fff;
  color: #174a88;
}

html.pwa-mobile-app .notification-bell svg,
html.pwa-mobile-app .account-menu-button svg {
  width: 20px;
  height: 20px;
}

html.pwa-mobile-app #notification-settings {
  grid-area: notifications;
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
}

html.pwa-mobile-app .notification-bell {
  position: relative;
  color: #182b43;
}

html.pwa-mobile-app .notification-unread-count:not([hidden]) {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid white;
  border-radius: 50%;
  background: #e33b4c;
  font-size: 0;
}

html.pwa-mobile-app .account-area {
  grid-area: account;
  position: relative;
  display: block;
  flex: none;
  margin: 0;
  padding: 0;
  border: 0;
}

html.pwa-mobile-app #notification-settings,
html.pwa-mobile-app .account-area {
  order: 1;
}

html.pwa-mobile-app .top-profile,
html.pwa-mobile-app .account-chevron,
html.pwa-mobile-app .account-menu-button > span:not(.account-chevron) {
  display: none;
}

html.pwa-mobile-app .account-menu-button {
  background: #edf4ff;
}

html.pwa-mobile-app .account-menu-button svg {
  display: none;
}

html.pwa-mobile-app .account-menu-button::before {
  content: "RT";
  font-size: 12px;
  font-weight: 750;
}

html.pwa-mobile-app .account-menu {
  position: absolute;
  z-index: 900;
  top: calc(100% + 8px);
  right: 0;
  width: min(300px, calc(100vw - 24px));
  max-height: min(70dvh, 520px);
  overflow: auto;
  box-shadow: 0 12px 34px #1024402b;
}

html.pwa-mobile-app #workspace .top-metrics {
  grid-area: metrics;
  display: grid;
  width: 100%;
  min-width: 0;
  flex: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

html.pwa-mobile-app .metric-chip {
  min-width: 0;
  height: 35px;
  justify-content: center;
  gap: 4px;
  padding: 2px 4px;
  border: 1px solid #e7edf4;
  border-radius: 10px;
}

html.pwa-mobile-app .metric-chip:first-child,
html.pwa-mobile-app .metric-chip:nth-child(3) {
  background: #f1faf6;
}

html.pwa-mobile-app .metric-chip:nth-child(2) {
  background: #fff6f6;
}

html.pwa-mobile-app .metric-chip:nth-child(2) .metric-icon {
  background: #ffecef;
  color: #d84b59;
}

html.pwa-mobile-app #workspace .top-metrics .metric-chip:nth-child(3) {
  display: flex;
}

html.pwa-mobile-app .metric-icon {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
}

html.pwa-mobile-app .metric-icon svg {
  width: 16px;
  height: 16px;
}

html.pwa-mobile-app .metric-chip > span:last-child {
  min-width: 0;
}

html.pwa-mobile-app .metric-chip b {
  font-size: 12px;
  line-height: 1;
}

html.pwa-mobile-app .metric-chip small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  font-size: 8px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html.pwa-mobile-app .app-main {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
  padding-bottom: calc(62px + env(safe-area-inset-bottom));
}

html.pwa-mobile-app .map-view {
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

html.pwa-mobile-app .mobile-status-tabs {
  display: none !important;
}

html.pwa-mobile-app .mobile-vehicle-tools .search-input,
html.pwa-mobile-app .mobile-vehicle-tools .filter-button {
  height: 42px;
}

html.pwa-mobile-app .mobile-vehicle-tools .filter-button {
  width: 44px;
  border-radius: 10px;
}

html.pwa-mobile-app .mobile-status-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

html.pwa-mobile-app .mobile-status-tabs button {
  min-height: 42px;
  gap: 2px;
  padding: 4px 2px;
  border-radius: 9px;
  font-size: 9px;
}

html.pwa-mobile-app .mobile-status-tabs button b {
  font-size: 13px;
}

html.pwa-mobile-app .notice:not(:empty) {
  position: absolute;
  top: 8px;
  left: 10px;
  z-index: 470;
  max-width: calc(100% - 20px);
  margin: 0;
  box-shadow: 0 3px 12px #10244020;
}

html.pwa-mobile-app .fleet-layout {
  position: relative;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

html.pwa-mobile-app .fleet-layout > .map-panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

html.pwa-mobile-app .map-toolbar {
  top: 9px;
  right: 9px;
  left: 9px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

html.pwa-mobile-app .map-switch {
  display: flex;
  width: max-content;
  min-width: 0;
  gap: 3px;
  padding: 4px;
  border-radius: 11px;
}

html.pwa-mobile-app .map-switch button {
  min-width: 62px;
  min-height: 36px;
  flex: none;
  padding: 0 9px;
  border-radius: 8px;
  font-size: 11px;
}

html.pwa-mobile-app .map-actions {
  position: relative;
  justify-self: auto;
  gap: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html.pwa-mobile-app .map-layers-toggle {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  background: #fffffff5;
  box-shadow: 0 3px 12px #1024401a;
  color: #405872;
}

html.pwa-mobile-app .map-layers-toggle svg {
  width: 22px;
  height: 22px;
}

html.pwa-mobile-app .map-layer-options {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html.pwa-mobile-app .map-layer-options[hidden] {
  display: none !important;
}

html.pwa-mobile-app .map-layer-options:not([hidden]) {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: min(240px, calc(100vw - 40px));
  gap: 8px;
  padding: 10px;
  border: 1px solid #e0e8f1;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px #10244024;
}

html.pwa-mobile-app .map-layer-options .map-provider-control {
  display: flex;
  min-width: 0;
  width: 100%;
  grid-column: 1 / -1;
}

html.pwa-mobile-app .map-layer-options .map-provider-control select {
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 38px;
  padding: 0 24px 0 9px;
  font-size: 11px;
}

html.pwa-mobile-app .map-layer-options .map-control {
  width: 38px;
  height: 38px;
  border: 1px solid #e6edf5;
  border-radius: 9px;
  background: #f8faff;
  font-size: 17px;
}

html.pwa-mobile-app .map-layer-options #map-center {
  width: 100%;
  grid-column: 1 / -1;
  font-size: 12px;
}

html.pwa-mobile-app .map-control {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 17px;
}

html.pwa-mobile-app .map-attribution-note {
  display: block;
  bottom: 76px;
  left: 7px;
  max-width: calc(100% - 14px);
  font-size: 8px;
  white-space: normal;
}

html.pwa-mobile-app #map .leaflet-control-attribution {
  margin: 0 7px 0 0 !important;
  padding: 0 3px;
  border-radius: 5px;
  background: #fffffff0;
  font-size: 8px;
  line-height: 9px;
}

html.pwa-mobile-app .fleet-layout > .vehicle-panel,
html.pwa-mobile-app .fleet-layout > .vehicle-drawer {
  display: none !important;
}

html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open {
  position: fixed;
  z-index: 660;
  inset: auto 10px calc(68px + env(safe-area-inset-bottom));
  display: flex !important;
  width: auto;
  height: min(58dvh, 470px);
  overflow: auto;
  border: 1px solid var(--rt-border);
  border-radius: 14px;
  background: #fffffff8;
  box-shadow: var(--rt-shadow-md);
  backdrop-filter: blur(12px);
}

html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel {
  position: absolute;
  z-index: 570;
  inset: auto 9px 9px;
  display: flex !important;
  width: auto;
  height: min(69%, 530px);
  max-height: calc(100% - 18px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #fffffff8;
  box-shadow: 0 12px 34px #10244030;
  backdrop-filter: blur(14px);
}

html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading {
  min-height: 54px;
  flex: none;
  padding: 9px 12px 7px;
}

html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1 {
  font-size: 17px;
}

html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading p {
  font-size: 10px;
}

html.pwa-mobile-app .vehicle-panel-close {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
}

html.pwa-mobile-app .vehicles-sheet-expanded .list-tools {
  flex: none;
  padding: 0 10px 8px;
}

html.pwa-mobile-app .vehicles-sheet-expanded .list-tools .search-input {
  min-height: 39px;
}

html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add,
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  min-width: 40px;
  min-height: 39px;
}

html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-list {
  display: block;
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  padding: 0 8px max(10px, env(safe-area-inset-bottom));
  overscroll-behavior: contain;
}

html.pwa-mobile-app .vehicles-sheet-expanded .vehicle {
  margin: 0;
  padding: 10px 7px;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  border-radius: 0;
}

html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-functions {
  flex-wrap: wrap;
}

html.pwa-mobile-app .vehicles-sheet-expanded .filter-options.vehicle-filter-options {
  top: 104px;
  right: 9px;
  z-index: 580;
}

html.pwa-mobile-app #mobile-vehicles-view {
  min-height: 0;
  flex: 1 1 auto;
  padding-bottom: calc(62px + env(safe-area-inset-bottom));
}

html.pwa-mobile-app .mobile-vehicle-list {
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}

html.pwa-mobile-app .pwa-mobile-nav {
  position: fixed;
  z-index: 800;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  min-height: calc(58px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  padding: 5px max(7px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(7px, env(safe-area-inset-left));
  border-top: 1px solid #e2e9f2;
  background: #fffffff7;
  box-shadow: 0 -3px 14px #1024400d;
  backdrop-filter: blur(14px);
}

html.pwa-mobile-app .pwa-install-prompt {
  bottom: calc(58px + env(safe-area-inset-bottom) + 10px);
}

html.pwa-mobile-app .pwa-mobile-nav[hidden],
html.pwa-mobile-app .pwa-mobile-nav button[hidden] {
  display: none !important;
}

html.pwa-mobile-app .pwa-mobile-nav button {
  display: grid;
  min-width: 0;
  min-height: 48px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 3px 1px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #63738d;
  font-size: 9px;
  line-height: 1.1;
}

html.pwa-mobile-app .pwa-mobile-nav button[aria-current="page"],
html.pwa-mobile-app .pwa-mobile-nav button[aria-expanded="true"] {
  background: #edf4ff;
  color: #075bbb;
  font-weight: 700;
}

html.pwa-mobile-app .pwa-mobile-nav .nav-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  color: currentColor;
}

html.pwa-mobile-app .pwa-mobile-nav .nav-icon svg {
  width: 20px;
  height: 20px;
}

html.pwa-mobile-app .pwa-mobile-nav .pwa-more-icon svg {
  width: 22px;
  height: 22px;
}

html.pwa-mobile-app .pwa-more-scrim:not([hidden]) {
  position: fixed;
  z-index: 780;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #08182c66;
}

html.pwa-mobile-app .pwa-more-panel {
  position: fixed;
  z-index: 790;
  right: max(10px, env(safe-area-inset-right));
  bottom: calc(67px + env(safe-area-inset-bottom));
  left: max(10px, env(safe-area-inset-left));
  display: grid;
  max-height: min(64dvh, 520px);
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 40px #07182d38;
}

html.pwa-mobile-app .pwa-more-panel[hidden] {
  display: none !important;
}

html.pwa-mobile-app .pwa-more-heading {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  border-bottom: 1px solid #e8edf4;
  color: #172b45;
  font-size: 14px;
}

html.pwa-mobile-app .pwa-more-close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 9px;
  background: #f1f4f8;
  color: #526681;
  font-size: 22px;
}

html.pwa-mobile-app .pwa-more-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 7px;
  overflow: auto;
  padding: 11px;
  overscroll-behavior: contain;
}

html.pwa-mobile-app .pwa-more-items button {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border: 1px solid #e7edf4;
  border-radius: 10px;
  background: #fff;
  color: #344b6b;
  text-align: left;
  font-size: 11px;
}

html.pwa-mobile-app .pwa-more-items button:active {
  border-color: #a9c8f4;
  background: #f4f8ff;
}

html.pwa-mobile-app .pwa-more-items button[aria-current="page"] {
  border-color: #e6c3ce;
  background: #f8edf1;
  color: #a9153b;
  font-weight: 700;
}

html.pwa-mobile-app .pwa-more-items .nav-icon {
  width: 20px;
  flex: none;
  color: #1457a6;
}

html.pwa-mobile-app .pwa-more-items .nav-icon svg {
  width: 19px;
  height: 19px;
}

html.pwa-mobile-app :is(input, select, textarea, button) {
  touch-action: manipulation;
}

html.pwa-mobile-login .login-screen {
  background: #f3f6fa;
  background-image: none;
}

html.pwa-mobile-login .login-access {
  align-items: center;
  padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
  background: transparent;
}

html.pwa-mobile-login .login-card {
  min-height: 0;
  justify-content: center;
  padding-top: max(26px, env(safe-area-inset-top));
  padding-bottom: max(24px, env(safe-area-inset-bottom));
}

html.pwa-mobile-login .login-brand {
  padding-bottom: 22px;
}

html.pwa-mobile-login .login-card h2 {
  margin-bottom: 8px;
  color: #182638;
  font-size: clamp(25px, 7vw, 30px);
  letter-spacing: -0.6px;
}

html.pwa-mobile-login .login-intro {
  margin: 0 0 17px;
  color: #5d6878;
  font-size: 15px;
  line-height: 1.5;
}

html.pwa-mobile-login .portal-status {
  min-height: 58px;
  margin: 0 0 18px;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 13px;
}

html.pwa-mobile-login .login-card form {
  gap: 13px;
}

html.pwa-mobile-login .login-field {
  font-size: 13px;
}

html.pwa-mobile-login .field-control {
  min-height: 52px;
  border-radius: 11px;
}

html.pwa-mobile-login .field-control input {
  min-height: 50px;
  font-size: 16px;
}

html.pwa-mobile-login .field-control input:-webkit-autofill,
html.pwa-mobile-login .field-control input:-webkit-autofill:hover,
html.pwa-mobile-login .field-control input:-webkit-autofill:focus {
  -webkit-text-fill-color: #152847;
  box-shadow: 0 0 0 1000px #eaf1fc inset;
  caret-color: #152847;
}

html.pwa-mobile-login .login-submit {
  min-height: 54px;
  border-radius: 12px;
  font-size: 15px;
}

html.pwa-mobile-login .login-help {
  margin-top: 17px;
  padding-top: 15px;
}

@media (max-width: 360px) {
  html.pwa-mobile-app .topbar {
    gap: 5px;
    padding-right: 7px;
    padding-left: 7px;
  }

  html.pwa-mobile-app .app-header-brand {
    width: 86px;
    flex-basis: 86px;
  }

  html.pwa-mobile-app .notification-bell,
  html.pwa-mobile-app .account-menu-button {
    width: 32px;
    min-width: 32px;
    height: 34px;
    min-height: 34px;
  }

  html.pwa-mobile-app #notification-settings {
    width: 32px;
    height: 34px;
  }

  html.pwa-mobile-app .metric-chip {
    gap: 2px;
    padding-inline: 2px;
  }

  html.pwa-mobile-app .metric-icon {
    width: 20px;
    height: 20px;
  }

  html.pwa-mobile-app .metric-chip small {
    font-size: 7px;
  }
}

@media (max-height: 640px) {
  html.pwa-mobile-login .login-card {
    justify-content: flex-start;
    padding-top: max(18px, env(safe-area-inset-top));
  }

  html.pwa-mobile-login .login-brand {
    padding-bottom: 12px;
  }

  html.pwa-mobile-login .login-card form {
    gap: 10px;
  }

  html.pwa-mobile-login .login-help {
    margin-top: 11px;
    padding-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.pwa-mobile-app *,
  html.pwa-mobile-login * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact basemap control shared with the web map. */
html.pwa-mobile-app .map-actions{position:relative;align-items:center;gap:3px;padding:0;border:0;background:transparent;box-shadow:none}
html.pwa-mobile-app .map-layer-menu{position:relative;display:flex}
html.pwa-mobile-app .map-layers-toggle{width:32px;height:32px;border-radius:8px}
html.pwa-mobile-app .map-layers-toggle svg{width:18px;height:18px}
html.pwa-mobile-app .map-layer-options:not([hidden]){top:calc(100% + 6px);right:0;display:block!important;width:min(210px,calc(100vw - 28px));padding:7px}
html.pwa-mobile-app .map-provider-option{min-height:32px;padding:6px 8px;font-size:10px}
html.pwa-mobile-app .map-switch{gap:2px}
html.pwa-mobile-app .map-switch button{height:28px;min-height:28px;padding:0 7px;border-radius:6px;font-size:9px}
html.pwa-mobile-app .map-actions>.map-control{width:30px;height:30px;min-height:30px;border-radius:7px;font-size:14px}


/* PWA map controls: right-side vertical zoom/center stack. */
html.pwa-mobile-app .map-toolbar{top:8px;right:8px;left:auto;width:max-content;justify-content:flex-end}
html.pwa-mobile-app .map-actions{display:grid;grid-template-columns:32px 32px 32px;grid-template-rows:repeat(3,32px);gap:6px}
html.pwa-mobile-app .map-actions>#map-refresh{grid-column:1;grid-row:1}
html.pwa-mobile-app .map-layer-menu{grid-column:2;grid-row:1}
html.pwa-mobile-app .map-actions>#map-zoom-in{grid-column:3;grid-row:1}
html.pwa-mobile-app .map-actions>#map-zoom-out{grid-column:3;grid-row:2}
html.pwa-mobile-app .map-actions>#map-center{grid-column:3;grid-row:3}
html.pwa-mobile-app #map-refresh svg{width:18px;height:18px}
html.pwa-mobile-app .map-refresh-control{border-color:#efc2c7;background:#fff4f5;color:#e32636}
html.pwa-mobile-app .map-refresh-control:hover{border-color:#e999a2;background:#ffe9eb;color:#c91f2e}
html.pwa-mobile-app .map-actions>.map-control{width:32px;height:32px;min-height:32px}
html.pwa-mobile-app .map-layer-options:not([hidden]){top:0;right:calc(100% + 6px)}


/* PWA map controls: subtle contrast on varied map tiles. */
html.pwa-mobile-app .map-layers-toggle,
html.pwa-mobile-app .map-actions>.map-control{
  border:1px solid #bfd0e6;
  background:#f0f5fc;
  color:#294f7c;
  box-shadow:0 2px 8px #10244024;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
html.pwa-mobile-app .map-layers-toggle:hover,
html.pwa-mobile-app .map-actions>.map-control:hover,
html.pwa-mobile-app .map-layers-toggle:focus-visible,
html.pwa-mobile-app .map-actions>.map-control:focus-visible{
  border-color:#9db8da;
  background:#e6effb;
  box-shadow:0 3px 10px #10244030;
}
html.pwa-mobile-app .map-layers-toggle:active,
html.pwa-mobile-app .map-actions>.map-control:active{
  background:#dce8f7;
  transform:scale(.96);
}

/* PWA: alinhar o quadro da foto à altura combinada de velocidade e motorista. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column {
  grid-template-rows: 158px auto !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column > .vehicle-detail-visual {
  height: 158px !important;
  min-height: 158px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-summary-speed {
  height: 98px !important;
  min-height: 98px !important;
  flex: none;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact {
  min-height: 54px !important;
  grid-template-rows: auto auto auto;
  row-gap: 1px;
}
/* O crédito não pode ficar sobre o conteúdo do drawer aberto. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact > small:not(.vehicle-detail-driver-code) {
  grid-column: 2;
  grid-row: 1;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact > strong {
  grid-column: 2;
  grid-row: 2;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact > .vehicle-detail-driver-code {
  grid-column: 2;
  grid-row: 3;
  font-size: 8px;
}


html.pwa-mobile-app .fleet-layout:has(> .vehicle-drawer.open) #map .leaflet-control-attribution {
  display: none !important;
}

/* PWA: baixa o drawer de detalhes sem bloquear a rolagem do conteúdo. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open {
  height: min(calc(58dvh - 24px), 446px) !important;
}

/* PWA: abrir espaço para modelo/placa e compactar os atalhos da ficha. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr) !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column {
  grid-template-rows: 149px auto !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column > .vehicle-detail-visual {
  height: 149px !important;
  min-height: 149px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact {
  min-height: 46px !important;
  padding: 3px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact small {
  gap: 2px;
  font-size: 7px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact small svg {
  width: 12px !important;
  height: 12px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact strong {
  display: -webkit-box;
  overflow: hidden;
  max-width: 100%;
  font-size: 12px !important;
  line-height: 1.1 !important;
  white-space: normal !important;
  text-overflow: clip !important;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-plate-fact strong {
  display: block;
  font-size: 11px !important;
  white-space: nowrap !important;
  overflow-wrap: normal;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions {
  justify-content: flex-end !important;
  gap: 4px !important;
  margin-top: -11px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon {
  width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  padding: 3px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon svg {
  width: 17px !important;
  height: 17px !important;
}

/* Manter a foto alinhada à coluna direita após compactar a ficha. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side {
  gap: 5px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-summary-speed {
  height: 90px !important;
  min-height: 90px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions {
  margin-top: -6px !important;
}


/* PWA: compactar proporcionalmente os cartões da ficha de veículo. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators {
  grid-template-rows: 48px !important;
  gap: 3px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) {
  width: calc(100% - 4px);
  min-height: 48px !important;
  height: 48px !important;
  padding: 2px 0 !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span,
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span svg {
  width: 16px !important;
  height: 16px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) strong {
  font-size: 8px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column {
  grid-template-rows: 136px auto !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column > .vehicle-detail-visual {
  height: 136px !important;
  min-height: 136px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side {
  gap: 5px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-summary-speed {
  height: 82px !important;
  min-height: 82px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact {
  min-height: 49px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions {
  gap: 3px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon {
  width: 24px !important;
  height: 24px !important;
  min-height: 24px !important;
  padding: 2px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon svg {
  width: 15px !important;
  height: 15px !important;
}


/* PWA: segunda compactação leve dos cartões e botões da ficha. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon {
  width: calc(100% - 4px) !important;
  height: 36px !important;
  min-height: 36px !important;
  justify-self: center;
  padding: 2px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon svg {
  width: 16px !important;
  height: 16px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators {
  grid-template-rows: 44px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) {
  width: calc(100% - 6px);
  min-height: 44px !important;
  height: 44px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span,
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span svg {
  width: 15px !important;
  height: 15px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column {
  grid-template-rows: 128px auto !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column > .vehicle-detail-visual {
  height: 128px !important;
  min-height: 128px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-summary-speed {
  height: 76px !important;
  min-height: 76px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact {
  min-height: 47px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon {
  width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon svg {
  width: 14px !important;
  height: 14px !important;
}


/* PWA: terceira compactação proporcional da ficha de veículo. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon {
  height: 32px !important;
  min-height: 32px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon svg {
  width: 14px !important;
  height: 14px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators {
  grid-template-rows: 40px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) {
  width: calc(100% - 8px);
  min-height: 40px !important;
  height: 40px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span,
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator:not([data-kind="speed"]) > span svg {
  width: 14px !important;
  height: 14px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column {
  grid-template-rows: 112px auto !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column > .vehicle-detail-visual {
  height: 112px !important;
  min-height: 112px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-summary-speed {
  height: 66px !important;
  min-height: 66px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side > .vehicle-detail-driver-fact {
  height: 41px !important;
  min-height: 41px !important;
  padding-block: 2px !important;
  row-gap: 0 !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon {
  width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon svg {
  width: 13px !important;
  height: 13px !important;
}


/* PWA: nivelar identificação, reduzir contadores e separar atalhos de mapa. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row {
  align-items: stretch !important;
  grid-auto-rows: 46px;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact {
  align-self: stretch !important;
  height: 46px !important;
  min-height: 46px !important;
  box-sizing: border-box !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary > .vehicle-detail-stat {
  min-height: 62px !important;
  padding: 5px 3px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary > .vehicle-detail-stat > small {
  gap: 3px !important;
  font-size: 8px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary > .vehicle-detail-stat > small svg {
  width: 12px !important;
  height: 12px !important;
  padding: 2px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary > .vehicle-detail-stat > strong {
  font-size: 14px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions {
  gap: 8px !important;
}


/* PWA: alinhar estritamente os cartões Modelo e Placa na mesma linha. */
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-template-rows: 46px !important;
  grid-auto-rows: 46px !important;
  align-items: stretch !important;
  align-content: start !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row > .vehicle-detail-fact {
  width: auto !important;
  height: 46px !important;
  min-width: 0 !important;
  min-height: 46px !important;
  max-height: 46px !important;
  margin: 0 !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  box-sizing: border-box !important;
  transform: none !important;
}


/* PWA: cabeçalho compacto e recolhimento do drawer de detalhes. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open {
  border-radius: 20px;
  transition: height 220ms ease;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  height: 24px !important;
  min-height: 24px !important;
  box-sizing: border-box;
  margin: 0 4px 0;
  padding: 0 8px;
  border-radius: 18px;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > strong {
  display: none !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-back {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  border: 0;
  border-radius: 50%;
  background: #ffffff24;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-back svg {
  width: 19px;
  height: 19px;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-close {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  z-index: 1;
  display: grid !important;
  place-items: center;
  box-sizing: border-box !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: 20px !important;
  min-height: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  transform: translateY(-50%) !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-close svg {
  display: block;
  width: 11px;
  height: 11px;
  margin: 0;
}
html.pwa-mobile-app #vehicle-drawer:not(.vehicle-drawer-collapsed) > .vehicle-detail-scroll {
  padding-top: 4px !important;
}
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open.vehicle-drawer-collapsed {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
  overflow: hidden !important;
}
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .vehicle-detail-header {
  flex: 0 0 24px;
}
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .vehicle-detail-scroll,
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .vehicle-detail-scroll[hidden] {
  display: block !important;
  flex: 0 0 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  max-height: 38px !important;
  box-sizing: border-box;
  padding: 6px 14px 0 !important;
  overflow: hidden !important;
}
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .vehicle-detail-scroll > :not(.vehicle-detail-iconbar) {
  display: none !important;
}
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed .vehicle-detail-iconbar {
  height: 32px;
  margin: 0 !important;
}
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .drawer-tabs,
html.pwa-mobile-app #vehicle-drawer.vehicle-drawer-collapsed > .vehicle-detail-tab-note {
  display: none !important;
}


/* PWA: baixar o drawer aberto para reduzir o vão até a navegação inferior. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open:not(.vehicle-drawer-collapsed) {
  bottom: calc(68px + env(safe-area-inset-bottom)) !important;
  height: min(calc(58dvh - 84px), 386px) !important;
  transition: height 220ms ease, bottom 220ms ease;
}
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open.vehicle-drawer-collapsed {
  bottom: calc(68px + env(safe-area-inset-bottom)) !important;
}

/* PWA: substituir a lista pela ficha dentro do mesmo painel móvel. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-drawer.open:not(.vehicle-drawer-collapsed) {
  position: absolute !important;
  z-index: 580 !important;
  inset: auto 9px 9px !important;
  display: flex !important;
  width: auto !important;
  height: min(69%, 530px) !important;
  min-height: 0 !important;
  max-height: calc(100% - 18px) !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #dce5f0 !important;
  border-radius: 16px !important;
  background: #fffffff8 !important;
  box-shadow: 0 12px 34px #10244030 !important;
  backdrop-filter: blur(14px);
  transition: height 220ms ease, inset 220ms ease;
}
html.pwa-mobile-app #vehicle-drawer:not(.vehicle-drawer-collapsed) > .vehicle-detail-header {
  flex: 0 0 24px !important;
}
html.pwa-mobile-app #vehicle-drawer:not(.vehicle-drawer-collapsed) > .vehicle-detail-scroll {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: auto !important;
  overscroll-behavior: contain;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-close {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  right: 7px !important;
}
html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header > .vehicle-detail-close svg {
  width: 10px !important;
  height: 10px !important;
}

/* PWA: a ficha substitui a lista quando um veículo é selecionado. */
html.pwa-mobile-app .fleet-layout > .vehicle-panel[aria-hidden="true"] {
  display: none !important;
}

/* PWA: usar o próprio painel Veículos como moldura dos detalhes selecionados. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-panel {
  position: absolute !important;
  z-index: 570 !important;
  inset: auto 9px 9px !important;
  display: flex !important;
  width: auto !important;
  height: min(69%, 530px) !important;
  max-height: calc(100% - 18px) !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid #dce5f0 !important;
  border-radius: 16px !important;
  background: #fffffff8 !important;
  box-shadow: 0 12px 34px #10244030 !important;
  backdrop-filter: blur(14px);
}
html.pwa-mobile-app #vehicle-panel.vehicle-details-active > :not(#vehicle-drawer) {
  display: none !important;
}
html.pwa-mobile-app #vehicle-panel > #vehicle-drawer.open {
  position: relative !important;
  inset: auto !important;
  z-index: auto !important;
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
html.pwa-mobile-app .fleet-layout:has(#vehicle-drawer.open) #map .leaflet-control-attribution {
  display: none !important;
}
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-panel:has(> #vehicle-drawer.vehicle-drawer-collapsed) {
  height: 68px !important;
  min-height: 68px !important;
  max-height: 68px !important;
}

/* PWA: faixa branca de controles e ficha terminando logo após os indicadores. */
html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-panel:has(> #vehicle-drawer.open:not(.vehicle-drawer-collapsed)) {
  height: min(calc(69% - 64px), 466px) !important;
}
html.pwa-mobile-app #vehicle-panel > #vehicle-drawer.open > .vehicle-detail-header {
  background: #fff !important;
  color: #244a72 !important;
  border: 1px solid #dce5f0 !important;
  box-shadow: 0 1px 3px #10244012;
}
html.pwa-mobile-app #vehicle-panel > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-back {
  color: #155e9f !important;
  background: #eaf3ff !important;
}
html.pwa-mobile-app #vehicle-panel > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-close {
  color: #171b24 !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* PWA: cabeçalho e controles da lista Veículos mais compactos e alinhados. */
html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading {
  box-sizing: border-box;
  height: 40px;
  min-height: 40px;
  padding: 0 10px;
  gap: 6px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading > div,
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1 {
  min-width: 0;
  display: flex;
  align-items: center;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1 {
  gap: 6px;
  margin: 0;
  font-size: 14px;
  line-height: 1;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading .vehicle-heading-icon {
  width: 20px;
  height: 20px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  max-width: 24px;
  height: 24px;
  min-height: 24px;
  max-height: 24px;
  padding: 0;
  border-radius: 6px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close svg {
  display: block;
  width: 12px;
  height: 12px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .list-tools {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px 6px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .list-tools .search-input {
  box-sizing: border-box;
  height: 34px;
  min-height: 34px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add,
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  box-sizing: border-box;
  display: grid;
  place-items: center;
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 34px;
  min-height: 34px;
  max-height: 34px;
  padding: 0;
  border-radius: 8px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add {
  font-size: 20px;
  line-height: 1;
}
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle svg {
  display: block;
  width: 16px;
  height: 16px;
}

/* PWA: segunda compactação do cabeçalho da lista e dos botões de filtro. */
html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading {
  height: 24px;
  min-height: 24px;
  padding: 0 9px;
  gap: 5px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1 {
  gap: 5px;
  font-size: 12px;
  line-height: 14px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading .vehicle-heading-icon {
  width: 15px;
  height: 15px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  max-height: 18px;
  border-radius: 5px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close svg {
  width: 10px;
  height: 10px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .list-tools {
  gap: 7px;
  padding: 4px 9px 6px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .list-tools .search-input,
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add,
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  height: 30px;
  min-height: 30px;
  max-height: 30px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add,
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  width: 30px;
  min-width: 30px;
  max-width: 30px;
  border-radius: 7px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add {
  font-size: 18px;
}
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  align-items: center;
  justify-content: center;
}
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle svg {
  width: 14px;
  height: 14px;
  margin: 0;
}

/* PWA: a lista usa a mesma moldura dos detalhes; faixa clara e ações destacadas. */
html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel {
  height: min(calc(69% - 64px), 466px) !important;
}
html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading {
  background: #fff !important;
  color: #174f87 !important;
  border-bottom: 1px solid #e3eaf2 !important;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1 {
  color: #174f87 !important;
  font-size: 13px;
  font-weight: 700;
}
html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading .vehicle-heading-icon {
  color: #0871c4 !important;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close {
  border: 1px solid #cbd9e8 !important;
  border-radius: 50%;
  background: #f5f9ff !important;
  color: #b42332 !important;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close svg {
  stroke: currentColor;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add,
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle {
  border: 1px solid #b8cee5 !important;
  background: #fff !important;
  color: #075da8 !important;
  box-shadow: 0 2px 6px #12385c1a;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add {
  font-weight: 700;
}
html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle svg {
  stroke: currentColor;
  stroke-width: 2.2;
}

/* PWA: mesma ênfase vermelha nos X e título pequeno na faixa dos detalhes. */
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-panel-close {
  border-color: #f0c9ce !important;
  background: #fff1f2 !important;
  color: #b42332 !important;
}
html.pwa-mobile-app #vehicle-panel > #vehicle-drawer.open > .vehicle-detail-header > strong {
  display: block !important;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  justify-self: start;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #244a72;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table {
  width: 100%;
  table-layout: fixed;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th {
  padding: 4px 2px;
  font-size: 8px;
  line-height: 1.15;
  white-space: normal;
  vertical-align: middle;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th:nth-child(1) {
  width: 23px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th:nth-child(2) {
  width: 31%;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th:nth-child(3) {
  width: 11%;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th:nth-child(4) {
  width: 28%;
  overflow-wrap: anywhere;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-table th:nth-child(5) {
  width: 30%;
  border-left: 1px solid #e3e8ef;
  padding-left: 4px;
  text-align: center;
}

/* PWA: popover de filtros compacto e junto ao botão que o abre. */
html.pwa-mobile-app .vehicles-sheet-expanded .filter-options.vehicle-filter-options {
  top: 62px;
  right: 8px;
  width: min(190px, calc(100% - 18px));
  max-height: min(38dvh, 245px);
  gap: 6px;
  padding: 8px;
  border-radius: 9px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-options > label {
  gap: 3px;
  font-size: 10px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-options > label select {
  min-height: 32px;
  padding: 0 7px;
  font-size: 11px;
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-choices {
  gap: 1px;
  max-height: min(26dvh, 148px);
}
html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-choices button {
  min-height: 27px;
  padding: 5px 7px;
  border-radius: 5px;
  font-size: 11px;
}


/* PWA: seletor de camadas compacto com indicador circular da camada ativa. */
html.pwa-mobile-app .map-layer-options:not([hidden]) {
  width: min(174px, calc(100vw - 24px));
  max-height: min(34dvh, 160px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid #bfd2e8;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 8px 22px #17385d35, 0 0 0 2px #eaf2fc;
  scrollbar-width: thin;
}
html.pwa-mobile-app .map-provider-options {
  display: grid;
  gap: 2px;
}
html.pwa-mobile-app .map-provider-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 10px;
  line-height: 1.25;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}
html.pwa-mobile-app .map-provider-option::before {
  content: "";
  box-sizing: border-box;
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 1.5px solid #8295aa;
  border-radius: 50%;
  background: #fff;
}
html.pwa-mobile-app .map-provider-option.active {
  border-color: #d9e7f7;
  background: #eef5ff;
  color: #0757b5;
  font-weight: 700;
}
html.pwa-mobile-app .map-provider-option.active::before {
  border-color: #1265bb;
  background: #1265bb;
  box-shadow: inset 0 0 0 3px #fff;
}
html.pwa-mobile-app .map-provider-option:disabled::before {
  border-color: #c6ced8;
  background: #f3f5f8;
}
html.pwa-mobile-app .map-provider-option:focus-visible {
  outline: 2px solid #6da2df;
  outline-offset: 1px;
}


/* PWA: diálogos de confirmação de ações do veículo com tamanho padronizado. */
html.pwa-mobile-app dialog.customer-command-confirmation,
html.pwa-mobile-app dialog.anchor-confirmation-dialog {
  box-sizing: border-box;
  width: min(340px, calc(100vw - 32px));
  height: min(220px, calc(var(--pwa-viewport-height, 100dvh) - 24px));
  max-width: none;
  max-height: calc(var(--pwa-viewport-height, 100dvh) - 24px);
  min-height: 0;
  overflow: hidden;
  padding: 12px;
  border-radius: 13px;
}
html.pwa-mobile-app dialog.customer-command-confirmation > .report-editor-form,
html.pwa-mobile-app dialog.anchor-confirmation-dialog > .report-editor-form {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
}
html.pwa-mobile-app dialog.customer-command-confirmation h2,
html.pwa-mobile-app dialog.anchor-confirmation-dialog h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}
html.pwa-mobile-app dialog.customer-command-confirmation .customer-command-summary {
  gap: 4px;
  padding: 0;
}
html.pwa-mobile-app dialog.customer-command-confirmation .customer-command-summary p,
html.pwa-mobile-app dialog.customer-command-confirmation > .report-editor-form > p,
html.pwa-mobile-app dialog.anchor-confirmation-dialog > .report-editor-form > p {
  margin: 0;
  font-size: 12px;
  line-height: 1.32;
}
html.pwa-mobile-app dialog.customer-command-confirmation .customer-command-question {
  font-size: 12px;
  line-height: 1.32;
}
html.pwa-mobile-app dialog.anchor-confirmation-dialog .anchor-confirmation-note {
  font-size: 11px;
  line-height: 1.3;
}
html.pwa-mobile-app dialog.anchor-confirmation-dialog .geofence-anchor-block-options {
  gap: 4px 10px;
  margin: 0;
}
html.pwa-mobile-app dialog.anchor-confirmation-dialog .geofence-anchor-block-options label {
  gap: 4px;
  font-size: 10px;
  line-height: 1.2;
}
html.pwa-mobile-app dialog.anchor-confirmation-dialog .geofence-anchor-block-options input {
  width: 14px;
  height: 14px;
}
html.pwa-mobile-app dialog.customer-command-confirmation .customer-command-actions,
html.pwa-mobile-app dialog.anchor-confirmation-dialog .customer-command-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 2px 0 0;
}
html.pwa-mobile-app dialog.customer-command-confirmation .customer-command-actions .button,
html.pwa-mobile-app dialog.anchor-confirmation-dialog .customer-command-actions .button {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 30px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.2;
}


/* PWA: avisos compactos de confirmação, sucesso e cancelamento das ações do veículo. */
html.pwa-mobile-app .vehicle-action-toast-host {
  right: auto;
  bottom: calc(58px + env(safe-area-inset-bottom));
  left: 50%;
  width: min(320px, calc(100vw - 32px));
  gap: 6px;
  transform: translateX(-50%);
}
html.pwa-mobile-app .vehicle-action-toast {
  box-sizing: border-box;
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 8px 10px;
  border-radius: 10px;
}
html.pwa-mobile-app .vehicle-action-toast-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 12px;
}
html.pwa-mobile-app .vehicle-action-toast > div {
  min-width: 0;
  gap: 1px;
}
html.pwa-mobile-app .vehicle-action-toast strong {
  font-size: 12px;
  line-height: 1.2;
}
html.pwa-mobile-app .vehicle-action-toast span:last-child {
  font-size: 11px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}


/* PWA: painel de notificações compacto e caixa de entrada sem sobreposição do popover. */
html.pwa-mobile-app .notification-popover {
  right: 4px;
  width: min(260px, calc(100vw - 32px));
  max-height: calc(var(--pwa-viewport-height, 100dvh) - 150px - env(safe-area-inset-bottom));
  gap: 6px;
  padding: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
html.pwa-mobile-app .notification-popover::-webkit-scrollbar {
  display: none;
}
html.pwa-mobile-app .notification-popover-heading {
  gap: 6px;
}
html.pwa-mobile-app .notification-popover-heading > strong {
  font-size: 12px;
  line-height: 1.2;
}
html.pwa-mobile-app .notification-popover-heading .button {
  min-height: 30px;
  padding: 3px 7px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-inbox-preview {
  gap: 5px;
  max-height: 170px;
}
html.pwa-mobile-app .notification-sound-settings,
html.pwa-mobile-app .notification-customer-preferences {
  gap: 4px;
  padding: 5px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-map-toast-settings {
  gap: 4px;
  padding: 5px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-sound-settings summary,
html.pwa-mobile-app .notification-customer-preferences summary,
html.pwa-mobile-app .notification-map-toast-settings summary {
  min-height: 26px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-sound-settings label,
html.pwa-mobile-app .notification-customer-preferences label,
html.pwa-mobile-app .notification-map-toast-settings > label {
  grid-template-columns: minmax(0, 1fr) minmax(90px, auto);
  gap: 4px;
  font-size: 11px;
  line-height: 1.15;
}
html.pwa-mobile-app .notification-sound-settings label:first-of-type,
html.pwa-mobile-app .notification-customer-preferences label,
html.pwa-mobile-app .notification-map-toast-settings > label:first-of-type {
  grid-template-columns: 18px minmax(0, 1fr);
}
html.pwa-mobile-app .notification-sound-settings select,
html.pwa-mobile-app .notification-map-toast-settings select {
  min-width: 0;
  min-height: 28px;
  padding: 3px 5px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-map-toast-event-filter {
  padding: 5px;
}
html.pwa-mobile-app .notification-map-toast-event-filter > div {
  max-height: 112px;
}
html.pwa-mobile-app #notification-sound-save-event,
html.pwa-mobile-app #notification-sound-test {
  min-height: 28px;
  padding: 3px 7px;
  font-size: 11px;
}
html.pwa-mobile-app .notification-inbox-dialog {
  box-sizing: border-box;
  width: calc(100vw - 32px);
  max-height: calc(var(--pwa-viewport-height, 100dvh) - 32px);
  padding: 12px;
  border-radius: 14px;
}
html.pwa-mobile-app .notification-inbox-dialog > header {
  gap: 8px;
}
html.pwa-mobile-app .notification-inbox-dialog > header h2 {
  font-size: 20px;
  line-height: 1.2;
}
html.pwa-mobile-app .notification-inbox-dialog > header .button {
  min-height: 40px;
  padding: 5px 9px;
  font-size: 12px;
}
html.pwa-mobile-app .notification-inbox-dialog-status {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.4;
}
html.pwa-mobile-app .notification-inbox-empty {
  padding: 8px 4px;
  font-size: 12px;
}


/* PWA: menu da conta mais compacto com saída fácil de identificar. */
html.pwa-mobile-app .account-menu {
  width: min(270px, calc(100vw - 32px));
  padding: 6px;
  border-radius: 11px;
}
html.pwa-mobile-app .account-menu-item {
  min-height: 40px;
  gap: 8px;
  padding: 5px 7px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.2;
}
html.pwa-mobile-app .account-menu-item > span:last-child {
  gap: 1px;
}
html.pwa-mobile-app .account-menu-item small {
  font-size: 9px;
  line-height: 1.2;
}
html.pwa-mobile-app .account-item-icon {
  width: 18px;
  font-size: 16px;
}
html.pwa-mobile-app .account-menu hr {
  margin: 4px 0;
}
html.pwa-mobile-app .account-menu #logout {
  min-height: 40px;
  border: 1px solid #f1d3d7;
  background: #fff4f5;
  color: #a92535;
  font-weight: 650;
}
html.pwa-mobile-app .account-menu #logout .account-item-icon {
  color: #b42335;
}
html.pwa-mobile-app .account-menu #logout:hover,
html.pwa-mobile-app .account-menu #logout:focus-visible {
  border-color: #eab8c0;
  background: #ffe8eb;
  color: #8f1d2b;
}

/* Histórico: busca de veículo e seletor de data compacto no mobile/PWA. */
#period-controls .history-mobile-date-control{display:none}
@media(max-width:760px){
 #history-view #period-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:9px 10px;border:1px solid #dce4ef;border-radius:10px;background:#fff;box-shadow:0 2px 8px #1736570a}
 #history-view #period-controls>.period-vehicle-field{grid-column:1/-1}
 #history-view #period-controls>label{position:relative;display:grid;gap:4px;min-width:0;color:#53647b;font-size:10px;font-weight:650}
 #history-view #period-controls>label>input[type=datetime-local],#history-view #period-controls .period-vehicle-field>select{display:none!important}
 #history-view .history-mobile-vehicle-search{position:relative;display:block;min-width:0}
 #history-view #history-vehicle-search,.history-date-form input{width:100%;min-width:0;height:36px;padding:0 10px;border:1px solid #d8e1ed;border-radius:7px;background:#fff;color:#263b59;font:inherit;font-size:12px}
 #history-view #history-vehicle-options{position:absolute;z-index:1000;top:calc(100% + 4px);right:0;left:0;max-height:190px;overflow:auto;border:1px solid #d8e1ed;border-radius:8px;background:#fff;box-shadow:0 8px 22px #10244024}
 #history-view .history-vehicle-option{display:grid;width:100%;gap:2px;padding:8px 10px;border:0;border-bottom:1px solid #edf1f6;background:#fff;color:#263b59;text-align:left}
 #history-view .history-vehicle-option[aria-selected=true]{background:#edf5ff;color:#145cb4}
 #history-view .history-vehicle-option strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
 #history-view .history-vehicle-option small{overflow:hidden;color:#64748b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
 #history-view .history-vehicle-empty{margin:0;padding:10px;color:#64748b;font-size:11px}
 #history-view .history-mobile-date-control{display:none}
 #history-date-dialog{width:min(320px,calc(100vw - 32px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid #dce4ef;border-radius:14px;background:#fff;color:#1d2d45;box-shadow:0 18px 50px #10244038}
 #history-date-dialog::backdrop{background:#10244066}
 .history-date-form{display:grid;grid-template-columns:1fr 104px;align-items:end;gap:10px;padding:15px}
 .history-date-form h2{grid-column:1/-1;margin:0 0 2px;font-size:16px;line-height:1.25}
 .history-date-form>label{display:grid;gap:4px;color:#53647b;font-size:10px;font-weight:650}
 .history-date-form input{height:38px;font-size:13px;font-weight:500;letter-spacing:.02em}
 .history-date-error{grid-column:1/-1;margin:0;color:#b42335;font-size:11px;line-height:1.35}
 .history-date-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:7px;margin-top:2px}
 .history-date-actions .button{min-height:34px;padding:6px 11px;font-size:11px}
}
@media(max-width:760px){#history-view .history-mobile-date-control{display:block}#history-view .history-mobile-date-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:36px;padding:0 9px;border:1px solid #d8e1ed;border-radius:7px;background:#fff;color:#263b59;font-size:10px;font-weight:600;text-align:left;white-space:nowrap}#history-view .history-mobile-date-button::after{content:'▦';margin-left:4px;color:#2361a8;font-size:13px}}

/* O destaque azul do atualizar precisa prevalecer sobre o estilo comum dos controles PWA. */
html.pwa-mobile-app #map-panel .map-refresh-control{border-color:#efc2c7;background:#fff4f5;color:#e32636}
html.pwa-mobile-app #map-panel .map-refresh-control:hover,
html.pwa-mobile-app #map-panel .map-refresh-control:focus-visible{border-color:#e999a2;background:#ffe9eb;color:#c91f2e}

html.pwa-mobile-app #mobile-vehicle-refresh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}


/* LAB mobile map overlay layout — 2026-11-05 */
html.pwa-mobile-app #workspace > .topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 750;
  grid-template-columns: minmax(0, 1fr) 36px 36px;
  grid-template-areas: "brand notifications account";
  background: transparent;
  border: 0;
  box-shadow: none;
}

html.pwa-mobile-app #workspace .top-metrics {
  display: none !important;
}

html.pwa-mobile-app #workspace .app-header-brand,
html.pwa-mobile-app #workspace .app-header-brand img {
  background: transparent !important;
  box-shadow: none !important;
}

html.pwa-mobile-app .map-toolbar {
  top: calc(max(7px, env(safe-area-inset-top)) + 53px);
}

html.pwa-mobile-app .map-actions {
  display: grid;
  grid-template-columns: 32px;
  grid-template-rows: repeat(5, 32px);
  align-content: start;
  gap: 5px;
}

html.pwa-mobile-app .map-actions > .map-layer-menu {
  grid-column: 1;
  grid-row: 1;
  width: 32px;
  height: 32px;
}

html.pwa-mobile-app .map-actions > #map-zoom-in {
  grid-column: 1;
  grid-row: 2;
}

html.pwa-mobile-app .map-actions > #map-zoom-out {
  grid-column: 1;
  grid-row: 3;
}

html.pwa-mobile-app .map-actions > #map-center {
  grid-column: 1;
  grid-row: 4;
}

html.pwa-mobile-app .map-actions > #map-refresh {
  grid-column: 1;
  grid-row: 5;
  border: 1px solid #bfd0e6;
  background: #f0f5fc;
  color: #294f7c;
  box-shadow: 0 2px 8px #10244024;
}

html.pwa-mobile-app .map-actions > #map-refresh:hover,
html.pwa-mobile-app .map-actions > #map-refresh:focus-visible {
  border-color: #9db8da;
  background: #e6effb;
  box-shadow: 0 3px 10px #10244030;
}

html.pwa-mobile-app .map-actions > #map-refresh:active {
  background: #dce8f7;
  transform: scale(.96);
}


/* PWA map controls: right column below account — 2026-11-06 */
html.pwa-mobile-app #map-panel .map-toolbar {
  position: fixed !important;
  top: calc(max(7px, env(safe-area-inset-top)) + 52px) !important;
  right: max(10px, env(safe-area-inset-right) + 10px) !important;
  left: auto !important;
  z-index: 760 !important;
  display: block !important;
  width: 32px !important;
  pointer-events: none;
}

html.pwa-mobile-app #map-panel .map-actions {
  display: grid !important;
  grid-template-columns: 32px !important;
  grid-template-rows: repeat(5, 32px) !important;
  align-content: start;
  justify-items: stretch;
  gap: 6px !important;
  width: 32px;
  pointer-events: auto;
}

html.pwa-mobile-app #map-panel .map-actions > .map-layer-menu {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  width: 32px;
  height: 32px;
}

html.pwa-mobile-app #map-panel .map-actions > .map-layer-menu > #map-layers-toggle,
html.pwa-mobile-app #map-panel .map-actions > #map-zoom-in,
html.pwa-mobile-app #map-panel .map-actions > #map-zoom-out,
html.pwa-mobile-app #map-panel .map-actions > #map-center,
html.pwa-mobile-app #map-panel .map-actions > #map-refresh {
  grid-column: 1 !important;
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
}

html.pwa-mobile-app #map-panel .map-actions > #map-zoom-in { grid-row: 2 !important; }
html.pwa-mobile-app #map-panel .map-actions > #map-zoom-out { grid-row: 3 !important; }
html.pwa-mobile-app #map-panel .map-actions > #map-center { grid-row: 4 !important; }
html.pwa-mobile-app #map-panel .map-actions > #map-refresh {
  grid-row: 5 !important;
  border: 1px solid #bfd0e6 !important;
  background: #f0f5fc !important;
  color: #294f7c !important;
  box-shadow: 0 2px 8px #10244024 !important;
}

html.pwa-mobile-app #map-panel .map-actions > #map-refresh:hover,
html.pwa-mobile-app #map-panel .map-actions > #map-refresh:focus-visible {
  border-color: #9db8da !important;
  background: #e6effb !important;
  color: #294f7c !important;
}


/* PWA mobile map: transparent overlay header and full-bleed map — 2026-11-06 */
html.pwa-mobile-app #workspace > .topbar {
  position: absolute !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 770;
  grid-template-columns: minmax(0, 1fr) 36px 36px !important;
  grid-template-areas: "brand notifications account" !important;
  height: calc(max(7px, env(safe-area-inset-top)) + 44px) !important;
  min-height: 0 !important;
  gap: 7px;
  padding: max(7px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right) + 10px) 1px max(10px, env(safe-area-inset-left) + 10px) !important;
  overflow: visible;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
}

html.pwa-mobile-app #workspace > .topbar .app-header-brand,
html.pwa-mobile-app #workspace > .topbar #notification-settings,
html.pwa-mobile-app #workspace > .topbar .account-area {
  pointer-events: auto;
}

html.pwa-mobile-app #workspace > .topbar .top-metrics {
  display: none !important;
}

html.pwa-mobile-app #workspace > .app-main {
  position: relative;
  z-index: 1;
}

/* PWA: lista e detalhes usam a mesma altura e a mesma moldura do mapa. */
@media (max-width: 768px) {
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active { position:fixed!important;inset:135px 10px 10px!important;z-index:690!important;display:block!important;box-sizing:border-box!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;border:0!important;background:transparent!important;transform:none!important; }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open { position:absolute!important;inset:0!important;display:flex!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;border:1px solid #d7d9de!important;border-radius:22px!important;background:#fff!important; }
 html.pwa-mobile-app #pwa-mobile-nav { display:none!important; }
 html.pwa-mobile-app #map-view { bottom:0!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet { bottom:10px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel { bottom:10px!important; }
 html.pwa-mobile-app #vehicle-panel>#vehicle-drawer.open { position:fixed!important;inset:135px 10px 10px!important;z-index:690!important;display:flex!important;width:auto!important;height:auto!important;max-height:none!important;min-height:0!important;overflow:hidden!important;border:1px solid #d7d9de!important;border-radius:22px!important;background:#fff!important;box-shadow:0 4px 18px #1520332a!important; }
 html.pwa-mobile-app #vehicle-panel>#vehicle-drawer.open .vehicle-detail-scroll { height:auto!important; }
 html.pwa-mobile-app #history-view:not([hidden]) { height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important;padding-bottom:8px!important; }
 html.pwa-mobile-app #history-view .history-page-heading { order:0!important; }
 html.pwa-mobile-app #history-view #history-controls-anchor { order:1!important; }
 html.pwa-mobile-app #history-view .history-map-card { order:4!important; }
 html.pwa-mobile-app #history-view #history-metrics { order:3!important; }
 html.pwa-mobile-app #history-view #history-result { order:6!important; }
 html.pwa-mobile-app #history-view #history-trip-strip { order:5!important; }
 html.pwa-mobile-app #history-view #history-map-host { height:98px!important;min-height:98px!important; }
 html.pwa-mobile-app #history-view #period-controls { display:grid!important;grid-template-columns:1fr 1fr!important; }
 html.pwa-mobile-app #history-view #period-controls label:first-child { grid-column:1/-1!important; }
 html.pwa-mobile-app #history-view .history-result .history-structured-table-wrap>table { display:none!important; }
 html.pwa-mobile-app #history-view .history-mobile-cards { display:grid!important; }
 html.pwa-mobile-app #workspace>.topbar #pwa-mobile-menu { grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#111!important;font-size:0!important; }
 html.pwa-mobile-app #workspace>.topbar #pwa-mobile-menu svg { width:23px!important;height:23px!important; }
 html.pwa-mobile-app #workspace>.topbar .app-header-brand { grid-column:2!important;grid-row:1!important; }
 html.pwa-mobile-app #workspace>.topbar #account-area { grid-column:3!important;grid-row:1!important; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar { position:fixed!important;top:62px!important;bottom:0!important;left:0!important;z-index:760!important;display:block!important;width:min(82vw,290px)!important;padding:10px!important;overflow:auto!important;background:#fff!important;box-shadow:8px 0 28px #0e17283d!important; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar #primary-nav { display:grid!important;gap:4px!important; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar .nav-item { display:flex!important;align-items:center!important;min-height:44px!important;padding:8px 12px!important;border-radius:9px!important;font-size:13px!important; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar .nav-item.active { background:#f6e8ec!important;color:var(--pwa-red)!important; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open::after { content:"";position:fixed;inset:62px 0 0;z-index:750;background:#11182755; }
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar { z-index:760!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header { position:relative!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs button { flex:0 0 62px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs button[aria-selected=true] { background:#f7e9ed!important;color:var(--pwa-red)!important;border-bottom-color:var(--pwa-red)!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body { min-height:0!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body>.map-vehicle-tab { min-height:0!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid { grid-template-columns:repeat(3,minmax(0,1fr))!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid button { min-height:64px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview { display:grid!important;place-items:center!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions { position:sticky!important;bottom:0!important; }
 html.pwa-mobile-app #fleet-layout.has-selection #vehicle-panel { display:flex!important; }
 html.pwa-mobile-app #fleet-layout.has-selection #vehicle-panel.vehicle-details-active > :not(#vehicle-drawer) { display:none!important; }
 html.pwa-mobile-app #fleet-layout.has-selection #vehicle-panel #vehicle-drawer.open { display:flex!important; }
 html.pwa-mobile-app #vehicle-panel .vehicle-filter-options:not([hidden]) { top:76px!important;right:8px!important;z-index:10!important;width:min(196px,calc(100% - 18px))!important;max-height:190px!important;padding:7px!important; }
 html.pwa-mobile-app #vehicle-panel .vehicle-filter-options>label select { height:30px!important;min-height:30px!important;font-size:10px!important; }
 html.pwa-mobile-app #vehicle-panel .vehicle-filter-choices { max-height:94px!important; }
 html.pwa-mobile-app #vehicle-panel .vehicle-filter-choices button { min-height:28px!important;padding:4px 7px!important;font-size:10px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll { display:flex!important;flex-direction:column!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-summary { order:0!important;display:block!important;flex:none!important;margin:0 0 6px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity-row { display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:4px 8px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-icon { grid-row:1/3!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:8px!important;background:#f6e8ec!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-icon svg { width:30px!important;height:30px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity { display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity strong { font-size:13px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity span { overflow:hidden!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badges { display:flex!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;overflow:hidden!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badge { display:inline-flex!important;align-items:center!important;min-width:0!important;min-height:21px!important;padding:2px 6px!important;border-radius:99px!important;background:#f1f2f4!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badge.communication { background:#e7f6ed!important;color:#19804a!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-times { display:grid!important;grid-template-columns:1fr!important;gap:1px!important;margin:4px 0 0!important;padding-left:2px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-times p { margin:0!important;font-size:9px!important;line-height:13px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-name { display:none!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary { display:contents!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column { display:none!important; }
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs { order:1!important;position:sticky!important;top:-9px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators { order:2!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side { display:contents!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed { order:3!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact { order:4!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions { order:5!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary { order:6!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar { order:7!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions { order:8!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-network,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-events { order:9!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-summary~.vehicle-detail-iconbar { margin-top:7px!important; }
 html.pwa-mobile-app .fleet-layout.has-selection>.vehicle-panel { display:flex!important; }
 html.pwa-mobile-app .fleet-layout.has-selection>.vehicle-panel>#vehicle-drawer.open { position:fixed!important;inset:135px 10px 76px!important;z-index:690!important;width:auto!important;height:auto!important;max-height:none!important;border-radius:22px!important; }
 html.pwa-mobile-app .fleet-layout.has-selection>.vehicle-panel>#vehicle-drawer.open .vehicle-detail-header { grid-template-columns:38px minmax(0,1fr) 38px!important; }
 html.pwa-mobile-app #history-view:not([hidden]) { display:flex!important; }
 html.pwa-mobile-app #history-view[hidden] { display:none!important; }
 html.pwa-mobile-app #history-view .history-map-card { order:3!important;flex:none!important;margin:0!important;padding:4px!important; }
 html.pwa-mobile-app #history-view #history-map-host { height:104px!important;min-height:104px!important; }
 html.pwa-mobile-app #history-view #history-metrics { order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important; }
 html.pwa-mobile-app #history-view #history-metrics>.metric-card,html.pwa-mobile-app #history-view #history-metrics>.history-metric { min-height:38px!important;padding:4px!important;border:0!important;border-radius:8px!important;background:#f0f1f3!important; }
 html.pwa-mobile-app #history-view #history-metrics strong { font-size:12px!important;color:var(--pwa-red)!important; }
 html.pwa-mobile-app #history-view #history-metrics small,html.pwa-mobile-app #history-view #history-metrics span { font-size:9px!important;line-height:1.1!important; }
 html.pwa-mobile-app #history-view .history-result-card,html.pwa-mobile-app #history-view #history-result { order:5!important;display:block!important;margin:0!important;padding:4px!important;border:1px solid #d9dbe0!important;border-radius:10px!important;background:#fff!important; }
 html.pwa-mobile-app #history-view .history-map-card .section-heading h2 { display:none!important; }
 html.pwa-mobile-app #history-view #history-trip-strip { order:4!important; }
 html.pwa-mobile-app #history-view .history-result table { display:none!important; }
 html.pwa-mobile-app #history-view .history-structured-table-wrap { display:block!important;overflow:visible!important; }
 html.pwa-mobile-app #history-view .history-structured-table-wrap .history-mobile-cards { display:grid!important;gap:4px!important; }
 html.pwa-mobile-app #history-view .history-mobile-record-fields[hidden] { display:none!important; }
 html.pwa-mobile-app #history-view .history-mobile-map-action { min-height:30px!important;padding:4px 8px!important;font-size:10px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] { display:flex!important;flex-direction:column!important;inset:0!important;width:100vw!important;height:var(--pwa-viewport-height, 100dvh)!important;max-width:none!important;max-height:var(--pwa-viewport-height, 100dvh)!important;margin:0!important;border:0!important;border-radius:0!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-frame,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form { display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;max-height:none!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header { flex:none!important;min-height:48px!important;padding:6px 10px!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon { width:30px!important;height:30px!important;font-size:16px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header h2 { font-size:15px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header p { font-size:10px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs { display:flex!important;flex:none!important;flex-wrap:nowrap!important;gap:0!important;height:50px!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs::-webkit-scrollbar { display:none!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs button { display:flex!important;flex:0 0 62px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;box-sizing:border-box!important;min-width:62px!important;min-height:48px!important;height:48px!important;padding:2px!important;font-size:9px!important;line-height:1.05!important;white-space:normal!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body { flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;padding:8px 9px 12px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section { margin:0 0 7px!important;padding:8px!important;border-radius:9px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section h3 { margin:0 0 6px!important;font-size:12px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field { margin:5px 0!important;font-size:10px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select { height:32px!important;min-height:32px!important;margin-top:3px!important;padding:0 8px!important;border-radius:7px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea { min-height:58px!important;margin-top:3px!important;padding:6px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-note { margin:5px 0!important;font-size:9px!important;line-height:1.3!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-option { min-height:63px!important;padding:3px!important;border-radius:9px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview { height:34px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview img,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview svg { width:38px!important;height:32px!important;object-fit:contain!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid small { font-size:9px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-grid { display:grid!important;grid-template-columns:1fr!important;gap:5px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-swatches { grid-template-columns:repeat(8,minmax(0,1fr))!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body input[type=checkbox],html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body input[type=radio] { width:15px!important;height:15px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions { position:sticky!important;bottom:0!important;z-index:4!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;flex:none!important;margin:0!important;padding:7px 9px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions button { min-height:38px!important;height:38px!important;padding:0 8px!important;font-size:11px!important; }
 html.pwa-mobile-app #map-view[hidden],html.pwa-mobile-app #mobile-vehicles-view[hidden],html.pwa-mobile-app #history-view[hidden],html.pwa-mobile-app #module-view[hidden] { display:none!important; }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools { display:block!important; }
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #mobile-map-tools { display:none!important; }
 html.pwa-mobile-app #workspace>.topbar #account-menu-button { display:grid!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .filter-options:not([hidden]) { position:absolute!important;top:86px!important;right:8px!important;z-index:8!important;display:grid!important;grid-template-columns:1fr!important;gap:6px!important;width:min(210px,calc(100% - 18px))!important;max-height:210px!important;overflow:auto!important;padding:8px!important;border:1px solid #d9dce1!important;border-radius:12px!important;background:#fff!important;box-shadow:0 4px 14px #171d2826!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .filter-options[hidden] { display:none!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table-row { position:relative!important;z-index:1!important;cursor:pointer!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .filter-options:not([hidden])~.vehicle-list-scroll { pointer-events:none!important; }
 html.pwa-mobile-app #history-view:not([hidden]) .history-map-host { display:block!important; }
 html.pwa-mobile-app #history-view:not([hidden]) #map-panel { display:block!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] { display:flex!important;flex-direction:column!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-header { position:sticky!important;top:0!important;z-index:4!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px!important;align-items:center!important;flex:none!important;min-height:50px!important;height:50px!important;padding:0 8px!important;background:#fff!important;border-bottom:1px solid #dedfe2!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-header h2 { margin:0!important;font-size:15px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] [role=tablist] { order:1!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content { order:2!important;display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;overflow:auto!important;padding:8px 10px 12px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-actions { order:3!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [role=tabpanel] { padding:0!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content .vehicle-icon-grid,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [class*=icon-grid] { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [class*=icon-option] { min-height:64px!important;padding:4px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [class*=icon-option] img,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [class*=icon-option] svg { width:38px!important;height:34px!important;object-fit:contain!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content [class*=icon-option] span { font-size:9px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content label { gap:3px!important;margin:0 0 6px!important;font-size:10px!important;line-height:1.15!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content input:not([type=checkbox]):not([type=radio]),html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content select { height:32px!important;min-height:32px!important;padding:0 8px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content textarea { min-height:58px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content section { margin:0 0 8px!important;padding:8px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content h2,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-content h3 { margin:0 0 6px!important;font-size:13px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-actions { position:sticky!important;bottom:0!important;z-index:5!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;flex:none!important;min-height:52px!important;margin:0!important;padding:7px 10px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-dialog-actions button { min-height:38px!important;height:38px!important;font-size:12px!important; }
  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel {
    height: min(338px, calc(100% - 18px)) !important;
    min-height: 0 !important;
    max-height: calc(100% - 18px) !important;
    border-radius: 20px !important;
  }

  html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-panel.vehicle-details-active {
    height: min(calc(69dvh - 64px), 466px) !important;
    min-height: 0 !important;
    max-height: calc(100% - 18px) !important;
    border-radius: 20px !important;
  }

  /* Override the more specific open-drawer height and stop after the metrics row. */
  html.pwa-mobile-app .fleet-layout.has-selection > .vehicle-panel.vehicle-details-active:has(> #vehicle-drawer.open:not(.vehicle-drawer-collapsed)) {
    height: min(338px, calc(100% - 18px)) !important;
  }

  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading {
    position: relative !important;
    display: grid !important;
    place-items: center !important;
    box-sizing: border-box !important;
    flex: 0 0 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    padding: 0 !important;
  }

  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading > div,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > .panel-heading {
    display: none !important;
  }

  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading > .vehicle-panel-close {
    position: absolute !important;
    inset: 2px auto auto 50% !important;
    display: grid !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    padding: 0 !important;
    transform: translateX(-50%) !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eaf3ff !important;
    color: #155e9f !important;
  }

  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading > .vehicle-panel-close svg {
    display: none !important;
  }

  html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded > .vehicle-panel > .panel-heading > .vehicle-panel-close::before {
    width: 8px;
    height: 8px;
    content: '';
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    flex: 1 1 auto !important;
    overflow: auto !important;
    border: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
  }

  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr) !important;
    place-items: center !important;
    flex: 0 0 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 4px !important;
    padding: 0 8px !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: #fff !important;
  }

  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header > strong,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-close {
    display: none !important;
  }

  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-back {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: center !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 20px !important;
    min-height: 20px !important;
    max-height: 20px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eaf3ff !important;
    color: #155e9f !important;
  }

  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-back svg {
    width: 16px !important;
    height: 16px !important;
  }
}
/* PWA: manter a seta de recolher e mostrar o X para fechar a lista e os detalhes. */
@media (max-width: 768px) {
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active > #vehicle-drawer.open > .vehicle-detail-header > .vehicle-detail-close {
    display: grid !important;
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: center !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Central de alertas compacta no PWA instalado; não altera outras páginas. */
@media (max-width: 768px) {
  html.pwa-mobile-app body:has(#module-view:not([hidden]) .alert-center-workspace) #module-view:has(.alert-center-workspace) {
    box-sizing: border-box;
    padding-top: calc(max(7px, env(safe-area-inset-top)) + 54px) !important;
    gap: 8px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .module-header {
    align-items: center !important;
    gap: 7px !important;
    margin: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-eyebrow,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-description {
    display: none !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-title {
    margin: 0 !important;
    font-size: 21px !important;
    line-height: 1.15 !important;
    letter-spacing: -.3px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-actions {
    gap: 6px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-configure {
    min-height: 36px !important;
    padding: 5px 9px !important;
    border-radius: 9px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-refresh {
    display: none !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace:not(.alert-config-mode)) .alert-tabs {
    display: none !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-center-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 8px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-main-column {
    min-width: 0 !important;
    gap: 8px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: end !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 9px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-period-field {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-date-field {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-vehicle-field {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-advanced-filters {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field {
    display: grid !important;
    gap: 4px !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field label {
    font-size: 10px !important;
    line-height: 1.2 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field input,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 8px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-filters > summary {
    min-height: 30px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields:not([hidden]) {
    position: static !important;
    inset: auto !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 5px !important;
    padding: 8px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields > .module-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields > .module-select {
    width: 100% !important;
    min-width: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: 48px 16px 22px !important;
    align-content: center !important;
    justify-items: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 4px !important;
    text-align: center !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-kpi-icon {
    display: grid !important;
    place-items: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-kpi-symbol {
    display: block !important;
    width: 44px !important;
    height: 44px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-kpi-icon + span {
    max-width: 100% !important;
    overflow: hidden !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 16px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > strong {
    font-size: 20px !important;
    line-height: 22px !important;
  }
  html.pwa-mobile-app body:has(#module-view:not([hidden]) .alert-center-workspace) #map-panel .map-toolbar,
  html.pwa-mobile-app body:has(#module-view:not([hidden]) .alert-center-workspace) #mobile-map-tools,
  html.pwa-mobile-app body:has(#module-view:not([hidden]) .alert-center-workspace) #mobile-vehicles-sheet {
    display: none !important;
  }
}

/* Central de alertas PWA: texto dos indicadores centralizado com o ícone. */
@media (max-width: 768px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > span:nth-child(2) {
    display: block !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
    text-align-last: center !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > strong {
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    margin-inline: auto !important;
    text-align: center !important;
  }
}

/* Central de alertas PWA: lista rolável e paginação lado a lado. */
@media (max-width: 768px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card {
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    min-height: 280px !important;
    max-height: min(42dvh, 360px) !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    scrollbar-width: thin !important;
    scrollbar-color: #8ca3bf #edf2f8 !important;
    scrollbar-gutter: stable !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card::-webkit-scrollbar {
    width: 8px;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card::-webkit-scrollbar-track {
    border-radius: 8px;
    background: #edf2f8;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card::-webkit-scrollbar-thumb {
    border: 2px solid #edf2f8;
    border-radius: 8px;
    background: #8ca3bf;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-pagination {
    position: sticky !important;
    bottom: -11px !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    align-items: center !important;
    gap: 7px !important;
    margin: auto -11px -11px !important;
    padding: 8px 11px 11px !important;
    border-top: 1px solid #e7edf4 !important;
    background: #fff !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-pagination > span {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    text-align: center !important;
    font-size: 10px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-pagination > button {
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
  }
}


/* Histórico mobile/PWA: compactação aprovada pelo proprietário — 2026-11-06. */
html.pwa-mobile-app #history-view .history-title-mobile{display:none}
@media(max-width:768px){
 html.pwa-mobile-app #history-view .history-page-heading .eyebrow,
 html.pwa-mobile-app #history-view .history-page-heading>div>p:not(.eyebrow),
 html.pwa-mobile-app #history-view .history-limit-note{display:none!important}
 html.pwa-mobile-app #history-view .history-page-heading h1{margin:0;font-size:20px;line-height:1.2}
 html.pwa-mobile-app #history-view .history-title-desktop{display:none}
 html.pwa-mobile-app #history-view .history-title-mobile{display:inline}
 html.pwa-mobile-app #history-view .history-page-actions{align-self:flex-start!important;margin-top:2px!important}
 html.pwa-mobile-app #history-view .history-page-actions>.history-page-action{flex:0 0 72px!important;width:72px!important;min-width:72px!important;max-width:72px!important;height:28px!important;min-height:28px!important;padding:4px 7px!important;font-size:10px!important}
 html.pwa-mobile-app #history-view #history-page-actions #map-refresh{display:none!important}
 html.pwa-mobile-app #history-view #period-controls{width:calc(100% + 24px)!important;margin-right:-12px!important;margin-left:-12px!important;padding-right:22px!important;padding-left:22px!important}
 html.pwa-mobile-app #history-view .history-mobile-date-button::after{display:none!important;content:none!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #map-panel .map-toolbar{display:none!important}
 html.pwa-mobile-app #history-view:not([hidden]) #history-map-host:has(#history-map-empty:not([hidden])){touch-action:pan-y!important}
 html.pwa-mobile-app #history-view:not([hidden]) #history-map-host:has(#history-map-empty:not([hidden])) #map-panel{pointer-events:none!important;touch-action:pan-y!important}
}


/* Histórico mobile/PWA: Salvar junto às ações da consulta — 2026-11-06. */
@media(max-width:768px){
 html.pwa-mobile-app #history-view .history-actions{display:flex!important;flex:0 1 auto!important;flex-wrap:nowrap!important;align-items:center!important;gap:4px!important;min-width:0!important}
 html.pwa-mobile-app #history-view .history-actions>.button{box-sizing:border-box!important;display:inline-flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:4px 6px!important;font-size:9px!important;line-height:1.1!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-actions>#history-load{flex:0 1 108px!important;width:108px!important;max-width:108px!important}
 html.pwa-mobile-app #history-view .history-actions>#history-clear{flex:0 1 96px!important;width:96px!important;max-width:96px!important}
 html.pwa-mobile-app #history-view .history-actions>#history-save{flex:0 1 72px!important;width:72px!important;max-width:72px!important}
}


/* Histórico mobile/PWA: cabeçalho sem ações após mover Salvar — 2026-11-06. */
@media(max-width:768px){html.pwa-mobile-app #history-view #history-page-actions{display:none!important}}


/* Motoristas PWA mobile: layout compacto aprovado — 2026-11-06. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.drivers-view #module-eyebrow,
 html.pwa-mobile-app #module-view.drivers-view #module-description,
 html.pwa-mobile-app #module-view.drivers-view>.module-header>.drivers-header-csv-button,
 html.pwa-mobile-app #module-view.drivers-view>.module-header>#module-refresh{display:none!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin:0 0 2px!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header>div:first-child{grid-column:1;grid-row:1;min-width:0}
 html.pwa-mobile-app #module-view.drivers-view>.module-header h1{margin:0!important;font-size:23px!important;line-height:1.15!important;letter-spacing:-.3px!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header>.drivers-new-button{grid-column:2;grid-row:1;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:0!important;max-width:none!important;height:35px!important;min-height:35px!important;margin:0!important;padding:5px 10px!important;border-radius:8px!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view>.report-content.drivers-workspace{display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-content:start!important;gap:8px!important;min-width:0!important;margin:0!important;padding:0 0 12px!important;overflow:visible!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;align-items:end!important;gap:6px!important;width:100%!important;min-width:0!important;margin:0!important;padding:8px!important;border-radius:11px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.module-field{grid-column:auto!important;min-width:0!important;margin:0!important;gap:3px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.drivers-search-field{grid-column:1/-1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.module-field label{font-size:10px!important;line-height:1.1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters input,
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters select{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;padding:5px 8px!important;font-size:11px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.drivers-search-field input{height:37px!important;min-height:37px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters .drivers-clear-filters{grid-column:3!important;min-width:0!important;height:32px!important;min-height:32px!important;margin:0!important;padding:3px 4px!important;font-size:9px!important;line-height:1.1!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-dashboard-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;width:100%!important;margin:0!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-dashboard-metric{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:5px!important;box-sizing:border-box!important;min-width:0!important;min-height:58px!important;padding:6px!important;border-radius:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-icon{flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-icon svg{width:15px!important;height:15px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy{display:grid!important;gap:2px!important;min-width:0!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy small{overflow:hidden!important;font-size:9px!important;line-height:1.1!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy strong{font-size:17px!important;line-height:1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-list-card{display:flex!important;flex-direction:column!important;grid-column:1!important;grid-row:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:visible!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>h2{margin:0 0 8px!important;font-size:16px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-table{width:100%!important;min-width:0!important;table-layout:auto!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr{gap:3px 7px!important;margin:0 0 6px!important;padding:8px!important;border-radius:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td{padding:2px 0!important;font-size:10px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-cell{gap:7px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-avatar{flex:0 0 32px!important;width:32px!important;height:32px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy strong{font-size:12px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy small{display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:last-child .button{min-height:28px!important;padding:4px 7px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-pagination{gap:5px!important;margin-top:8px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-detail-drawer:has(.driver-detail-placeholder){display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-detail-drawer{position:static!important;grid-column:1!important;grid-row:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:visible!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-detail-drawer>h2{font-size:15px!important}
}
@media(max-width:370px){
 html.pwa-mobile-app #module-view.drivers-view>.module-header h1{font-size:21px!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header>.drivers-new-button{height:33px!important;min-height:33px!important;padding-inline:7px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters .drivers-clear-filters{grid-column:1/-1!important;justify-self:end!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-dashboard-metric{gap:4px!important;padding:5px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-icon{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy small{font-size:8px!important}
}


/* Motoristas PWA: alinhamento final conforme referência mobile aprovada — 2026-11-06. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#module-view.drivers-view:not([hidden])) #workspace>.topbar{height:calc(max(7px,env(safe-area-inset-top)) + 50px)!important;grid-template-columns:minmax(0,1fr) 44px 40px!important}
 html.pwa-mobile-app body:has(#module-view.drivers-view:not([hidden])) #module-view.drivers-view{box-sizing:border-box!important;padding:calc(max(7px,env(safe-area-inset-top)) + 54px) 12px 12px!important;gap:10px!important;min-width:0!important;overflow-x:hidden!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header{grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;margin:0!important;padding:0 2px!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header>div:first-child{grid-column:1!important;grid-row:1!important;min-width:0!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header h1{font-size:22px!important;line-height:1.15!important}
 html.pwa-mobile-app #module-view.drivers-view>.module-header>.drivers-new-button{grid-column:2!important;grid-row:1!important;height:34px!important;min-height:34px!important;padding:5px 9px!important;font-size:10px!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.drivers-view>.report-content.drivers-workspace{gap:8px!important;padding:0 0 12px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto!important;gap:5px!important;padding:8px!important;border-radius:11px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.drivers-search-field{grid-column:1/-1!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.drivers-search-field input{height:36px!important;min-height:36px!important;font-size:12px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.module-field:not(.drivers-search-field){gap:3px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters>.module-field:not(.drivers-search-field) label{font-size:10px!important;line-height:1.1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-filters input,html.pwa-mobile-app #module-view.drivers-view .drivers-filters select{height:34px!important;min-height:34px!important;padding:5px 8px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters .drivers-clear-filters{grid-column:3!important;align-self:end!important;justify-self:end!important;height:32px!important;min-height:32px!important;padding:3px 5px!important;font-size:9px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-dashboard-metric{min-height:54px!important;padding:6px!important;gap:6px!important;border-radius:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-icon{flex:0 0 28px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy{gap:2px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy small{font-size:9px!important;line-height:1.1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy strong{font-size:16px!important;line-height:1!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-list-card{padding:9px!important;border-radius:13px!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>h2{margin:0 0 7px!important;padding:0 2px 7px!important;border-bottom:1px solid #e8edf3!important;font-size:16px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-table{display:table!important;width:100%!important;min-width:0!important;table-layout:fixed!important;border-collapse:collapse!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table thead{display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody{display:block!important;width:100%!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr{position:relative!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) auto 28px!important;grid-template-rows:24px 20px!important;align-items:center!important;gap:2px 8px!important;box-sizing:border-box!important;width:100%!important;min-height:68px!important;margin:0!important;padding:7px 3px!important;border:0!important;border-bottom:1px solid #e5eaf0!important;border-radius:0!important;background:transparent!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr:last-child{border-bottom:0!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td{position:static!important;display:block!important;box-sizing:border-box!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(1){grid-column:1/3!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:9px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-cell .drivers-avatar{flex:0 0 34px!important;width:34px!important;height:34px!important;min-width:34px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy{min-width:0!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy strong{display:block!important;overflow:hidden!important;font-size:12px!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy small{display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(2){grid-column:2!important;grid-row:2!important;color:#64748b!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-contact-cell{display:flex!important;align-items:center!important;gap:5px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-contact-icon{width:13px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(3){grid-column:3!important;grid-row:1/3!important;align-self:center!important;justify-self:center!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-status-badge{gap:5px!important;padding:4px 8px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(4){grid-column:2!important;grid-row:3!important;color:#64748b!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(5){position:absolute!important;right:2px!important;bottom:5px!important;grid-column:auto!important;grid-row:auto!important;display:flex!important;align-items:center!important;justify-content:flex-end!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table .driver-detail-trigger{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-row-more>summary{width:26px!important;height:28px!important;font-size:19px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-pagination{gap:5px!important;margin-top:7px!important;padding-top:7px!important;font-size:10px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-detail-drawer:has(.driver-detail-placeholder){display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-detail-drawer{position:static!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:visible!important}
}
@media(max-width:370px){
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-filters .drivers-clear-filters{grid-column:1/-1!important;justify-self:end!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-dashboard-metric{gap:4px!important;padding:5px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-icon{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-metric-copy small{font-size:8px!important}
}


/* Motoristas PWA: linhas na densidade da referência final — 2026-11-06. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr{grid-template-rows:21px 16px!important;gap:1px 7px!important;min-height:46px!important;padding:4px 3px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(4){display:none!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:nth-child(5){position:static!important;grid-column:4!important;grid-row:1/3!important;align-self:center!important;justify-self:end!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-row-more>summary{width:25px!important;height:26px!important}
}


/* Motoristas PWA: nome e contato alinhados à esquerda, sem rodapé de página única. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy{display:block!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-name-copy strong{text-align:left!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-contact-cell{text-align:left!important;justify-content:flex-start!important;padding-left:5px!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-pagination:not(:has(.drivers-page-button:not(:disabled))){display:none!important}
}


/* Motoristas PWA: menu de ações visível e fechável ao tocar fora. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.drivers-view .drivers-workspace>.drivers-list-card{position:relative!important;z-index:1!important;overflow:visible!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-list-card>.drivers-table,
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody,
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr,
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody td:last-child{overflow:visible!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-table tbody tr:has(.drivers-row-more[open]){position:relative!important;z-index:100!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-row-more[open]{position:relative!important;z-index:101!important}
 html.pwa-mobile-app #module-view.drivers-view .drivers-row-more[open] .drivers-row-menu{position:absolute!important;z-index:102!important;top:calc(100% + 3px)!important;right:0!important;bottom:auto!important;display:grid!important;min-width:130px!important;max-width:calc(100vw - 28px)!important;pointer-events:auto!important}
}


/* PWA mobile: cabeçalho e controles padronizados apenas em Histórico e Alertas. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar{height:calc(max(7px,env(safe-area-inset-top)) + 50px)!important;min-height:0!important;grid-template-columns:minmax(0,1fr) 44px 40px!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #notification-settings{width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) .notification-bell,
 html.pwa-mobile-app body:has(#history-view:not([hidden])) .account-menu-button{box-sizing:border-box!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border-radius:10px!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) .notification-bell svg,
 html.pwa-mobile-app body:has(#history-view:not([hidden])) .account-menu-button svg{width:20px!important;height:20px!important}
 html.pwa-mobile-app #history-view{box-sizing:border-box!important;padding:calc(max(7px,env(safe-area-inset-top)) + 54px) 12px 12px!important;gap:8px!important}
 html.pwa-mobile-app #history-view .history-page-heading{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;width:100%!important;min-height:0!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #history-view .history-page-heading>div{display:block!important;min-width:0!important}
 html.pwa-mobile-app #history-view .history-page-heading h1{margin:0!important;text-align:left!important;font-size:22px!important;line-height:1.15!important;letter-spacing:-.3px!important}
}


/* PWA Veículos: lista compacta aprovada */
@media(max-width:768px){
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicles-heading{min-height:48px!important;padding:6px 16px!important;border-bottom:0!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicles-heading h1{margin:0!important;font-size:21px!important;line-height:1.2!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicles-heading>.mobile-back-button,
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicles-heading>.mobile-vehicle-action,
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicles-heading>.mobile-add-vehicle{display:none!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-tools{gap:8px!important;padding:8px 14px!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-tools .search-input{min-height:42px!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-tools>.filter-button{width:42px!important;height:42px!important;flex:none!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-status-tabs{display:none!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-full-link{display:flex!important;justify-content:center!important;padding:4px 14px 8px!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-full-link>.button{width:auto!important;min-width:min(220px,100%)!important;min-height:40px!important;padding:0 14px!important;border:1px solid #1d4ed8!important;border-radius:10px!important;background:#1d4ed8!important;color:#fff!important;font-size:13px!important;font-weight:650!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-view>.mobile-vehicle-list{padding:0 14px calc(16px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-row{min-height:58px!important;gap:6px!important;padding:6px 2px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-icon{width:36px!important;height:36px!important;border-radius:9px!important;font-size:17px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-row>.status-dot{width:8px!important;height:8px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-copy{display:flex!important;align-items:baseline!important;gap:6px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-copy strong{flex:none!important;font-size:13px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-copy small{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-meta{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:5px!important;max-width:none!important;min-width:0!important;white-space:nowrap!important;font-size:11px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-meta span,
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-meta small{max-width:74px!important;font-size:11px!important}
 html.pwa-mobile-app #mobile-vehicles-view .mobile-vehicle-arrow{font-size:21px!important;line-height:1!important}
}


/* PWA Veículos: título abaixo do cabeçalho compartilhado */
@media(max-width:768px){
 html.pwa-mobile-app #mobile-vehicles-view{box-sizing:border-box!important;padding-top:calc(max(7px,env(safe-area-inset-top)) + 50px)!important}
}

/* Cercas: composição do layout aprovado, exclusiva do PWA instalado. */
@media (max-width: 768px) {
 html.pwa-mobile-app #module-view.geofences-view{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:4px!important;padding:calc(max(7px,env(safe-area-inset-top)) + 40px) 14px 0!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header{position:relative!important;display:block!important;margin:0!important;padding:0!important;flex:0 0 auto!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header>div:first-child{display:block!important;min-height:36px!important;padding-right:48px!important}
 html.pwa-mobile-app #module-view.geofences-view #module-eyebrow,html.pwa-mobile-app #module-view.geofences-view #module-description,html.pwa-mobile-app #module-view.geofences-view #module-refresh,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-refresh{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view #module-title{margin:0!important;font-size:19px!important;line-height:1.15!important;letter-spacing:-.25px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{display:grid!important;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;gap:6px!important;margin-top:6px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-anchor-shortcut,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-status{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{position:absolute!important;top:0!important;right:0!important;z-index:2!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:#214be4!important;color:#fff!important;font-size:24px!important;line-height:1!important;box-shadow:0 2px 7px #214be42b!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-search{width:100%!important;min-width:0!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 10px!important;border:1px solid #dbe2ec!important;border-radius:10px!important;background:#fff!important;font:inherit!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{width:100%!important;min-width:0!important;max-width:100%!important;height:35px!important;min-height:35px!important;box-sizing:border-box!important;padding:0 32px!important;border:1px solid #dbe2ec!important;border-radius:10px!important;background-color:#fff!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofences-workspace{display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;margin-top:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{position:relative!important;display:block!important;min-height:0!important;height:100%!important;margin:0 -14px!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-panel{position:absolute!important;inset:0!important;z-index:0!important;width:auto!important;height:auto!important;min-height:0!important;transform:none!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{position:absolute!important;z-index:600!important;left:12px!important;right:12px!important;bottom:8px!important;display:flex!important;flex-direction:column!important;min-height:0!important;max-height:min(43dvh,420px)!important;overflow:hidden!important;padding:8px 12px 10px!important;border:1px solid #dce4ef!important;border-radius:24px!important;background:#fffffff7!important;box-shadow:0 5px 22px #182b4430!important;backdrop-filter:blur(12px)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:has(.geofence-inline-editor:not([hidden])){max-height:78dvh!important;overflow:auto!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-handle{flex:none!important;width:58px!important;height:5px!important;min-height:5px!important;margin:0 auto 12px!important;border-radius:99px!important;background:#d5ddeb!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-count{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;margin:0!important;padding:0 4px 10px!important;color:#24364f!important;font-size:18px!important;font-weight:700!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge{display:grid!important;place-items:center!important;min-width:34px!important;height:28px!important;padding:0 9px!important;border-radius:99px!important;background:#edf3ff!important;color:#214be4!important;font-size:14px!important;font-weight:750!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table-wrap{min-height:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table-wrap::-webkit-scrollbar{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table{width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0 8px!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table thead{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody{display:grid!important;gap:2px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:4px 8px!important;padding:12px 10px!important;border:1px solid #dce5f2!important;border-radius:17px!important;background:#f9fbff!important;box-shadow:0 1px 3px #1c2e4608!important;cursor:pointer!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td{min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:#50627d!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1){grid-column:1!important;grid-row:1!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) strong{display:block!important;overflow:hidden!important;color:#23364f!important;font-size:15px!important;font-weight:700!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) small{display:block!important;margin-top:4px!important;color:#65758f!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2){grid-column:1!important;grid-row:2!important;justify-self:start!important;padding:3px 8px!important;border-radius:99px!important;background:#eaf1ff!important;color:#2855ce!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2)[data-geometry-type="POLYGON"]{background:#e8f7f1!important;color:#14805e!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(3){grid-column:2!important;grid-row:2!important;justify-self:end!important;color:#64758d!important;font-size:12px!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(4){display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(5){grid-column:2!important;grid-row:1!important;justify-self:end!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(6){grid-column:3!important;grid-row:1/3!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-actions{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button,html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{display:grid!important;place-items:center!important;flex:none!important;width:42px!important;height:42px!important;min-width:42px!important;padding:0!important;border:1px solid #dbe4f0!important;border-radius:13px!important;background:#fff!important;color:#31578e!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button svg,html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{border-color:#f2d5dc!important;background:#fff8f9!important;color:#c83e52!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-hint{flex:none!important;margin:9px 5px 0!important;padding-top:8px!important;border-top:1px solid #e9edf3!important;color:#70809a!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-modes{top:12px!important;left:12px!important;z-index:450!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-legend{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-dialog{width:min(360px,calc(100vw - 28px))!important}
}

/* Cercas PWA: botão compacto de camadas no canto superior direito. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;z-index:520!important;width:32px!important;height:32px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-layers-toggle{display:grid!important;width:32px!important;height:32px!important;min-height:32px!important;place-items:center!important;padding:0!important;border:1px solid #e6edf5!important;border-radius:8px!important;background:#fffffff5!important;box-shadow:0 3px 12px #1024401a!important;color:#405872!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-layers-toggle svg{width:18px!important;height:18px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-layer-options:not([hidden]){top:calc(100% + 6px)!important;right:0!important;left:auto!important;display:block!important;width:142px!important;max-width:calc(100vw - 32px)!important;padding:6px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .geofence-map-modes{position:static!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-provider-options{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-provider-option{box-sizing:border-box!important;min-height:32px!important;padding:6px 8px 6px 28px!important;border-radius:7px!important;font-size:11px!important;text-align:left!important}
}
/* No desenho, o formulário recolhe e libera o mapa para os toques. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:has(.geofence-inline-editor:not([hidden])){max-height:54dvh!important;overflow:auto!important;padding:8px 10px max(8px,env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:has(.geofence-inline-editor:not([hidden])) .geofence-overview-count{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:has(.geofence-inline-editor.is-drawing:not([hidden])){max-height:30dvh!important;overflow:hidden!important;padding:5px 9px 7px!important;border-radius:18px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing h3,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing> .module-hint:not(.geofence-draw-help){display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:4px!important;padding:5px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-vehicle-picker,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-block-automation,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-vehicle-location-status,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-coordinate-summary{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-draw-help{grid-column:1/-1!important;margin:0!important;padding:6px 8px!important;font-size:11px!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form>.button{min-height:32px!important;padding:4px 7px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-map-location-actions{grid-column:1/-1!important;display:flex!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-map-location-actions>.geofence-locate-vehicle{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-map-location-actions>.button{width:100%!important;min-height:32px!important;padding:4px 7px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form>.geofence-polygon-point-count{grid-column:1/-1!important;display:block!important;margin:0!important;text-align:center!important;font-size:10px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form-actions{grid-column:1/-1!important;display:flex!important;gap:5px!important;padding:5px 0 0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form-actions .button{flex:1!important;min-height:34px!important;padding:4px 8px!important;font-size:11px!important}
}

/* Alça acessível para recolher e reabrir o editor de cercas no PWA. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-handle{appearance:none!important;-webkit-appearance:none!important;display:grid!important;place-items:center!important;flex:none!important;width:100%!important;height:28px!important;min-height:28px!important;margin:-3px 0 5px!important;padding:0!important;border:0!important;background:transparent!important;cursor:pointer!important;touch-action:manipulation!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-grabber{display:block!important;width:58px!important;height:5px!important;border-radius:99px!important;background:#d5ddeb!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed{height:48px!important;min-height:48px!important;max-height:48px!important;overflow:hidden!important;padding:7px 10px!important;border-radius:20px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-overview-count,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-overview-table-wrap,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-overview-selection,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-inline-editor,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-sheet-hint{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-sheet-handle{height:32px!important;min-height:32px!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-sheet-grabber{position:relative!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list.is-collapsed .geofence-sheet-grabber:after{position:absolute!important;top:-5px!important;left:24px!important;width:10px!important;height:10px!important;border-right:2px solid #71829a!important;border-bottom:2px solid #71829a!important;content:""!important;transform:rotate(45deg)!important}
}

/* Keep the module hidden when navigation leaves Cercas; its mobile layout must not override the hidden state. */
@media (max-width: 768px) {
 html.pwa-mobile-app #module-view.geofences-view[hidden]{display:none!important}
}

/* Equipamentos mobile/PWA — layout homologado pela proposta de 2026-11-07. */
.device-mobile-create-control{display:none}
.device-summary-total{display:none}
@media(max-width:760px){
 #module-view.devices-view{display:block;min-width:0;padding:calc(max(7px,env(safe-area-inset-top)) + 54px) 12px 88px}
 #module-view.devices-view>.module-header{display:block;min-width:0;margin:0 0 10px;padding:0;border:0;background:transparent;box-shadow:none}
 #module-view.devices-view>.module-header>div:first-child{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:5px 8px;min-width:0}
 #module-view.devices-view #module-eyebrow{display:none}
 #module-view.devices-view #module-title{grid-column:1;grid-row:1;margin:0;font-size:22px;line-height:1.18;letter-spacing:-.35px}
 #module-view.devices-view #module-description{grid-column:1/-1;grid-row:2;margin:0;color:var(--rt-muted);font-size:12px;line-height:1.35}
 #module-view.devices-view>.module-header>.device-header-actions{display:none!important}
 #module-view.devices-view .device-mobile-create-control{display:block;position:relative;grid-column:2;grid-row:1;justify-self:end;align-self:center;z-index:30}
 #module-view.devices-view .device-mobile-create-toggle{display:inline-flex;align-items:center;justify-content:center;min-width:84px;height:38px;min-height:38px;padding:0 12px;border:1px solid #2148e8;border-radius:9px;background:#2148e8;color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
 #module-view.devices-view .device-mobile-create-menu{position:absolute;top:calc(100% + 6px);right:0;z-index:50;display:grid;min-width:176px;padding:5px;border:1px solid var(--rt-border);border-radius:11px;background:#fff;box-shadow:var(--rt-shadow-md)}
 #module-view.devices-view .device-mobile-create-menu[hidden]{display:none!important}
 #module-view.devices-view .device-mobile-create-option{min-height:40px;padding:8px 10px;border:0;border-radius:7px;background:#fff;color:var(--rt-text);font-size:13px;text-align:left}
 #module-view.devices-view .device-mobile-create-option:active{background:#eff5ff}
 #module-view.devices-view>.module-header+#module-status{display:none}
 #module-view.devices-view .device-summary-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 9px}
 #module-view.devices-view .device-summary-card{display:flex;min-width:0;min-height:62px;flex-direction:column;align-items:flex-start;justify-content:center;gap:3px;padding:7px 8px;border-radius:10px;font-size:9px;line-height:1.2;overflow:hidden}
 #module-view.devices-view .device-summary-card span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 #module-view.devices-view .device-summary-card strong{font-size:19px;line-height:1.05}
 #module-view.devices-view .device-summary-total{display:flex}
 #module-view.devices-view .device-summary-card[data-metric="unassigned"]{display:none}
 #module-view.devices-view .device-filter-row{grid-template-columns:minmax(0,1fr) 42px;grid-template-rows:auto auto;gap:7px;margin:0 0 9px}
 #module-view.devices-view .device-filter-row>.device-filters{display:contents}
 #module-view.devices-view .device-filter-row>.device-filters>.module-field{grid-column:1;grid-row:1;margin:0}
 #module-view.devices-view .device-search-caption{display:none}
 #module-view.devices-view .device-filter-row input[type="search"]{box-sizing:border-box;width:100%;height:42px;min-height:42px;padding:0 12px;border-radius:10px;font-size:13px}
 #module-view.devices-view .device-filter-toggle{grid-column:2;grid-row:1;display:grid;width:42px;min-width:42px;height:42px;min-height:42px;place-items:center;padding:0;border-radius:10px;font-size:0}
 #module-view.devices-view .device-filter-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 #module-view.devices-view .device-filter-controls{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:8px;border-radius:10px;box-shadow:none}
 #module-view.devices-view .device-filter-controls[hidden]{display:none!important}
 #module-view.devices-view .device-filter-controls>.module-field{min-width:0;margin:0;font-size:10px}
 #module-view.devices-view .device-filter-controls select{box-sizing:border-box;width:100%;min-width:0;min-height:36px;padding:5px 7px;font-size:11px}
 #module-view.devices-view .device-filter-submit{grid-column:2;grid-row:3;min-height:36px;margin:0;padding:6px 9px;font-size:11px}
 #module-view.devices-view .device-inventory-card{min-width:0;margin:0;padding:11px 10px;border-radius:13px;overflow:hidden!important}
 #module-view.devices-view .device-inventory-card>h2{margin:0 0 8px;padding:0 0 8px;border-bottom:1px solid var(--rt-border);font-size:17px;line-height:1.2}
 #module-view.devices-view .device-inventory-table{display:block;width:100%;border:0}
 #module-view.devices-view .device-inventory-table thead{display:none}
 #module-view.devices-view .device-inventory-table tbody{display:grid;width:100%}
 #module-view.devices-view .device-inventory-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto 30px;grid-template-rows:auto auto;align-items:center;gap:2px 6px;min-width:0;min-height:58px;margin:0;padding:9px 2px;border:0;border-bottom:1px solid var(--rt-border);border-radius:0;background:transparent}
 #module-view.devices-view .device-inventory-table tbody tr:last-child{border-bottom:0}
 #module-view.devices-view .device-inventory-table tbody td{display:block;width:auto!important;min-width:0;padding:0;border:0;font-size:11px;overflow:hidden}
 #module-view.devices-view .device-inventory-table tbody td.device-name-cell{grid-column:1;grid-row:1;display:grid;gap:2px}
 #module-view.devices-view .device-inventory-table tbody td.device-name-cell strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
 #module-view.devices-view .device-inventory-table tbody td.device-name-cell small{display:none!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}
 #module-view.devices-view .device-inventory-table tbody td:nth-child(2),
 #module-view.devices-view .device-inventory-table tbody td:nth-child(5),
 #module-view.devices-view .device-inventory-table.has-device-registry tbody td:nth-child(6){display:none!important}
 #module-view.devices-view .device-inventory-table tbody td:nth-child(3){grid-column:2;grid-row:1;justify-self:end;white-space:nowrap}
 #module-view.devices-view .device-inventory-table tbody td:nth-child(4){grid-column:1;grid-row:2;color:var(--rt-muted);font-size:10px;text-overflow:ellipsis;white-space:nowrap}
 #module-view.devices-view .device-inventory-table tbody td:last-child{grid-column:3;grid-row:1/3;display:flex;align-items:center;justify-content:center;padding-left:4px}
 #module-view.devices-view .device-inventory-table tbody td:last-child .button{display:grid;width:30px;min-width:30px;height:34px;min-height:34px;flex:none;place-items:center;margin:0;padding:0;border:0;background:transparent;color:var(--rt-muted);font-size:0}
 #module-view.devices-view .device-inventory-table tbody td:last-child .button::after{content:"⋮";font-size:21px;line-height:1}
 #module-view.devices-view .device-pager{gap:6px;padding-top:8px}
 #module-view.devices-view .device-pager .button{min-height:34px;padding:6px 8px;font-size:10px}
 #module-view.devices-view .device-pager span{font-size:10px}
 #module-view.devices-view .device-detail-placeholder{display:none}
}

@media(max-width:768px){html.pwa-mobile-app body:has(#module-view.devices-view:not([hidden])) #workspace>.topbar{height:calc(max(7px,env(safe-area-inset-top)) + 50px)!important;min-height:0!important;grid-template-columns:minmax(0,1fr) 44px 40px!important}}
/* Proposta aprovada: Mapa e painéis vinculados no navegador móvel/PWA. */
@media (max-width: 768px) {
 html.pwa-mobile-app { --pwa-ink:#121a2e; --pwa-muted:#667085; --pwa-line:#d8dbe1; --pwa-soft:#f2f3f6; --pwa-red:#a9153b; }
 html.pwa-mobile-app body { background:#f3f4f6!important; color:var(--pwa-ink)!important; }
 html.pwa-mobile-app #workspace>.topbar { position:absolute!important;top:0!important;left:0!important;right:0!important;z-index:700!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 40px!important;grid-template-areas:"brand brand account"!important;align-items:center!important;gap:8px!important;height:62px!important;min-height:62px!important;padding:8px 12px!important;background:#fff!important;border-bottom:1px solid #e3e4e8!important;box-shadow:none!important; }
 html.pwa-mobile-app #workspace .app-header-brand { justify-self:center!important;grid-area:brand!important;width:min(48vw,180px)!important;height:32px!important;margin:0 auto!important; }
 html.pwa-mobile-app .app-header-brand img { max-height:30px!important;object-position:center!important; }
 html.pwa-mobile-app #workspace>.topbar .top-metrics,html.pwa-mobile-app #workspace>.topbar .notification-settings,html.pwa-mobile-app #workspace>.topbar #account-menu-button { display:none!important; }
 html.pwa-mobile-app #workspace>.topbar #account-area { grid-area:account!important;justify-self:end!important; }
 html.pwa-mobile-app #workspace>.topbar .top-profile { display:none!important; }
 html.pwa-mobile-app #workspace>.topbar .account-area { display:block!important; }
 html.pwa-mobile-app #workspace>.topbar .account-menu-button { display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--pwa-red)!important;color:#fff!important;font-size:12px!important; }
 html.pwa-mobile-app #workspace>.topbar .account-menu-button svg,html.pwa-mobile-app #workspace>.topbar .account-menu-button span:not(.avatar) { display:none!important; }
 html.pwa-mobile-app #workspace>.topbar .account-menu-button::after { content:"RT";font-weight:700!important; }
 html.pwa-mobile-app #workspace>.app-main { position:relative!important;padding-top:62px!important; }
 html.pwa-mobile-app #map-view { position:absolute!important;inset:62px 0 68px!important;display:block!important;overflow:hidden!important; }
 html.pwa-mobile-app #map-panel { position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important; }
 html.pwa-mobile-app #map-panel #map { position:absolute!important;inset:0!important;width:100%!important;height:100%!important; }
 html.pwa-mobile-app #mobile-map-tools { position:fixed!important;z-index:650!important;top:72px!important;left:12px!important;right:12px!important;display:block!important;margin:0!important;padding:0!important;background:transparent!important; }
 html.pwa-mobile-app #mobile-map-tools .mobile-vehicle-tools { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important; }
 html.pwa-mobile-app #mobile-map-search { box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 42px!important;border:1px solid #d2d4d9!important;border-radius:12px!important;background:#fff!important;color:#242833!important;font-size:14px!important;box-shadow:0 1px 4px #1f293710!important; }
 html.pwa-mobile-app #mobile-map-tools .search-input>span { left:14px!important;font-size:19px!important;color:#202633!important; }
 html.pwa-mobile-app #mobile-map-filter { display:none!important; }
 html.pwa-mobile-app #map-panel .map-toolbar { position:absolute!important;top:72px!important;right:12px!important;left:auto!important;z-index:480!important;margin:0!important;padding:0!important;background:transparent!important; }
 html.pwa-mobile-app #map-panel .map-actions { display:grid!important;grid-template-columns:42px!important;gap:7px!important; }
 html.pwa-mobile-app #map-panel .map-actions>* { width:42px!important;height:42px!important;min-height:42px!important;border-radius:11px!important;background:#fff!important;color:#303744!important;box-shadow:0 2px 7px #20263426!important; }
 html.pwa-mobile-app #map-panel .map-actions>#map-refresh { display:none!important; }
 html.pwa-mobile-app #pwa-mobile-nav { position:fixed!important;z-index:720!important;right:0!important;bottom:0!important;left:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:0!important;height:68px!important;padding:5px 4px max(5px,env(safe-area-inset-bottom))!important;border-top:1px solid #e0e1e5!important;background:#fff!important;box-shadow:none!important; }
 html.pwa-mobile-app #pwa-mobile-nav button { display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:0!important;min-height:52px!important;padding:3px 1px!important;border:0!important;border-radius:14px!important;background:transparent!important;color:#67758a!important;font-size:11px!important; }
 html.pwa-mobile-app #pwa-mobile-nav button[aria-current="page"] { background:#f5e8ec!important;color:var(--pwa-red)!important;font-weight:700!important; }
 html.pwa-mobile-app #pwa-mobile-nav svg { width:22px!important;height:22px!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet { position:fixed!important;z-index:620!important;right:16px!important;bottom:76px!important;left:16px!important;display:block!important;box-sizing:border-box!important;width:auto!important;height:94px!important;min-height:94px!important;padding:12px!important;border:1px solid #d8dadd!important;border-radius:20px!important;background:#fff!important;color:var(--pwa-ink)!important;text-align:left!important;box-shadow:0 2px 9px #17223518!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet::before { content:"";position:absolute;top:7px;left:calc(50% - 23px);width:46px;height:4px;border-radius:9px;background:#a5a7aa; }
 html.pwa-mobile-app #mobile-vehicles-sheet strong { display:block!important;margin:6px 0 7px!important;font-size:15px!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet .mobile-vehicle-sheet-row { display:flex!important;align-items:center!important;gap:8px!important;min-width:0!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet .mobile-vehicle-sheet-row>* { font-size:12px!important; }
 html.pwa-mobile-app #mobile-vehicles-sheet[aria-expanded="true"] { display:none!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel { position:fixed!important;z-index:680!important;right:10px!important;bottom:76px!important;left:10px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:auto!important;height:min(69dvh,590px)!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 130px)!important;overflow:hidden!important;padding:9px 10px 11px!important;border:1px solid #d7d9de!important;border-radius:24px!important;background:#fff!important;box-shadow:0 4px 16px #1b243224!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.vehicle-panel-handle { display:block!important;flex:none!important;width:42px!important;height:4px!important;min-height:4px!important;margin:0 auto 10px!important;border-radius:9px!important;background:#a5a7aa!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-panel-heading { display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;min-height:27px!important;margin:0 1px 8px!important;padding:0!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-panel-heading h2 { margin:0!important;font-size:17px!important;line-height:1.1!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-panel-close { display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;background:transparent!important;font-size:21px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-toolbar { display:grid!important;grid-template-columns:minmax(0,1fr) 42px 42px!important;gap:7px!important;flex:none!important;margin:0 0 7px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-search { height:38px!important;min-height:38px!important;padding:0 12px 0 36px!important;border-radius:10px!important;font-size:13px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-toolbar button { width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:10px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-panel:not([hidden]) { position:relative!important;z-index:5!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;max-height:154px!important;margin:0 0 6px!important;padding:8px!important;overflow:auto!important;border:1px solid #dadde2!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-panel label { display:grid!important;grid-template-columns:68px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;font-size:11px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-panel select { height:32px!important;min-height:32px!important;padding:0 8px!important;font-size:11px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-list-scroll { flex:1 1 auto!important;min-height:0!important;overflow:auto!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table { width:100%!important;min-width:0!important;font-size:12px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table th { height:34px!important;padding:4px!important;background:#f0f1f4!important;font-size:11px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td { padding:8px 5px!important;font-size:12px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td:nth-child(n+4) { display:none!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td:first-child { width:32px!important; }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td:nth-child(2) { max-width:156px!important; }
 html.pwa-mobile-app #fleet-layout.has-selection #vehicle-panel { display:none!important; }
 html.pwa-mobile-app .fleet-layout.has-selection>#vehicle-drawer.open,html.pwa-mobile-app .fleet-layout.has-selection>.vehicle-panel>#vehicle-drawer.open { position:fixed!important;z-index:690!important;right:10px!important;bottom:76px!important;left:10px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:auto!important;height:min(72dvh,610px)!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 155px)!important;min-height:0!important;overflow:hidden!important;border:1px solid #d7d9de!important;border-radius:24px!important;background:#fff!important;box-shadow:0 4px 18px #1520332a!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header { display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px!important;align-items:center!important;flex:none!important;min-height:48px!important;height:48px!important;padding:0 8px!important;border-bottom:1px solid #e2e3e7!important;background:#fff!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header strong { overflow:hidden!important;font-size:16px!important;font-weight:700!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header button { display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;background:transparent!important;color:#202633!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll { flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:9px 10px 14px!important;overscroll-behavior:contain!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-name { display:none!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary { display:flex!important;flex:0 0 auto!important;min-height:0!important;margin:0 0 6px!important;padding:0!important;border:0!important;background:transparent!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-photo,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-photo-column>.vehicle-detail-visual { display:none!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row { display:flex!important;align-items:center!important;gap:8px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row>.vehicle-detail-fact { display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row .vehicle-detail-fact small { display:none!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row .vehicle-detail-fact strong { font-size:13px!important;line-height:1.1!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0 7px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator { display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:4px!important;min-width:0!important;min-height:37px!important;padding:4px 5px!important;border:1px solid #dddfe4!important;border-radius:9px!important;background:#f7f7f8!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>span { grid-row:1/3!important;width:18px!important;height:18px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>small { overflow:hidden!important;font-size:9px!important;line-height:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>strong { overflow:hidden!important;font-size:11px!important;line-height:13px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs { position:sticky!important;top:-9px!important;z-index:4!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:none!important;min-height:38px!important;margin:0 -10px 7px!important;padding:0 8px!important;border-bottom:1px solid #d9dbe0!important;background:#fff!important; }
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs button { min-width:0!important;min-height:38px!important;padding:5px 3px!important;border:0!important;border-bottom:3px solid transparent!important;background:transparent!important;color:#252a33!important;font-size:11px!important; }
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs button.active { border-bottom-color:var(--pwa-red)!important;color:var(--pwa-red)!important;font-weight:700!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed { display:grid!important;grid-template-columns:22px 1fr!important;grid-template-rows:auto auto!important;align-items:center!important;min-height:50px!important;margin:0 0 5px!important;padding:5px 7px!important;border:1px solid #dddfe4!important;border-radius:9px!important;background:#f7f7f8!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed>span { grid-row:1/3!important;width:20px!important;height:20px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed small { font-size:9px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed strong { font-size:12px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact { display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;min-height:42px!important;margin:0 0 5px!important;padding:4px 7px!important;border:1px solid #dddfe4!important;border-radius:9px!important;background:#f7f7f8!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact>svg { grid-row:1/3!important;width:20px!important;height:20px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact small { font-size:9px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact strong { overflow:hidden!important;font-size:12px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions { display:flex!important;justify-content:center!important;gap:8px!important;margin:5px 0!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon { width:34px!important;height:34px!important;min-height:34px!important;padding:5px!important;border:1px solid #d9dbe0!important;border-radius:8px!important;background:#fff!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat { display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:43px!important;padding:4px 5px!important;border:1px solid #dddfe4!important;border-radius:8px!important;background:#f7f7f8!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary small { overflow:hidden!important;font-size:9px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary strong { overflow:hidden!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:6px 0!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon { display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-width:0!important;min-height:38px!important;padding:4px!important;border:1px solid #dadce1!important;border-radius:9px!important;background:#fff!important;font-size:10px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon svg { width:18px!important;height:18px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions { margin:4px 0!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary { display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:38px!important;padding:0 10px!important;border:1px solid #dadce1!important;border-radius:9px!important;background:#f7f7f8!important;font-size:12px!important;font-weight:600!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location-main,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-network,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-events { font-size:11px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location-main { margin:7px 0!important;padding:8px!important;border:1px solid #e0e2e7!important;border-radius:9px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location-main h3 { margin:0 0 3px!important;font-size:12px!important; }
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location-main p,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location-main strong { margin:2px 0!important;font-size:10px!important; }
 html.pwa-mobile-app .history-view { position:relative!important;display:flex!important;flex-direction:column!important;gap:5px!important;box-sizing:border-box!important;width:100%!important;height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important;min-height:0!important;margin:0!important;padding:4px 10px 8px!important;overflow:auto!important;background:#f3f4f6!important; }
 html.pwa-mobile-app .history-view .history-page-heading { flex:none!important;margin:0!important;padding:0!important; }
 html.pwa-mobile-app .history-view .history-page-heading h1 { margin:0!important;font-size:18px!important;line-height:22px!important; }
 html.pwa-mobile-app .history-view .history-page-heading p { margin:0!important;font-size:11px!important; }
 html.pwa-mobile-app .history-view #history-map-host { flex:none!important;height:115px!important;min-height:115px!important;overflow:hidden!important;border:1px solid #d8dbe0!important;border-radius:12px!important; }
 html.pwa-mobile-app .history-view #history-map-host #map-panel { position:relative!important;inset:auto!important;height:100%!important;min-height:0!important;border:0!important; }
 html.pwa-mobile-app .history-view #period-controls { display:grid!important;grid-template-columns:1fr 1fr!important;gap:5px!important;margin:0!important;padding:6px!important;border:1px solid #dddfe3!important;border-radius:10px!important;background:#fff!important; }
 html.pwa-mobile-app .history-view #period-controls>label { min-width:0!important;font-size:10px!important; }
 html.pwa-mobile-app .history-view #period-controls input,html.pwa-mobile-app .history-view #period-controls select { box-sizing:border-box!important;width:100%!important;height:32px!important;min-height:32px!important;font-size:11px!important; }
 html.pwa-mobile-app .history-view .history-summary,.history-view .history-metrics { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important; }
 html.pwa-mobile-app .history-view .history-summary-card,html.pwa-mobile-app .history-view .history-metric { min-width:0!important;min-height:39px!important;padding:4px!important;border:0!important;border-radius:8px!important;background:#f0f1f4!important;font-size:10px!important; }
 html.pwa-mobile-app .history-view .history-result { margin:0!important;padding:5px!important;border:1px solid #d8dbe0!important;border-radius:10px!important;background:#fff!important; }
 html.pwa-mobile-app .history-view .history-structured-table-wrap { overflow:visible!important; }
 html.pwa-mobile-app .history-view .history-structured-table-wrap table { display:none!important; }
 html.pwa-mobile-app .history-view .history-mobile-cards { display:grid!important;gap:4px!important; }
 html.pwa-mobile-app .history-view .history-mobile-record { margin:0!important;border:1px solid #dcdee3!important;border-radius:9px!important;background:#fff!important;overflow:hidden!important; }
 html.pwa-mobile-app .history-view .history-mobile-record>summary { display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 18px!important;align-items:center!important;gap:5px!important;min-height:36px!important;padding:4px 7px!important;font-size:10px!important;list-style:none!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-heading { font-size:10px!important;font-weight:700!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-secondary { overflow:hidden!important;font-size:9px!important;text-overflow:ellipsis!important;white-space:nowrap!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-fields { display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px 8px!important;margin:0!important;padding:5px 8px!important;background:#f2f3f5!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-fields>div { min-width:0!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-fields dt { font-size:9px!important;color:#606673!important; }
 html.pwa-mobile-app .history-view .history-mobile-record-fields dd { overflow-wrap:anywhere!important;margin:0!important;font-size:10px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog,html.pwa-mobile-app dialog.map-share-dialog { position:fixed!important;inset:0!important;box-sizing:border-box!important;width:100vw!important;max-width:none!important;height:var(--pwa-viewport-height, 100dvh)!important;max-height:var(--pwa-viewport-height, 100dvh)!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#fff!important; }
 html.pwa-mobile-app dialog.share-creation-dialog::backdrop,html.pwa-mobile-app dialog.map-share-dialog::backdrop { background:#fff!important; }
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header,html.pwa-mobile-app dialog.map-share-dialog .map-share-heading { position:sticky!important;top:0!important;z-index:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:52px!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid #dddfe2!important;color:#171b24!important; }
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header h2,html.pwa-mobile-app dialog.map-share-dialog .map-share-heading h2 { margin:0!important;font-size:16px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body { display:block!important;box-sizing:border-box!important;height:calc(var(--pwa-viewport-height, 100dvh) - 52px)!important;overflow:auto!important;padding:12px 14px 80px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog form { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog label { display:grid!important;gap:4px!important;font-size:12px!important;font-weight:600!important; }
 html.pwa-mobile-app dialog.share-creation-dialog label input,html.pwa-mobile-app dialog.share-creation-dialog label select { box-sizing:border-box!important;width:100%!important;height:38px!important;min-height:38px!important;font-size:13px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog label:has(input[type=date]),html.pwa-mobile-app dialog.share-creation-dialog label:has(input[type=time]) { display:inline-grid!important;width:calc(50% - 5px)!important;vertical-align:top!important; }
 html.pwa-mobile-app dialog.share-creation-dialog .share-permissions { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:4px!important;margin-top:2px!important; }
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-actions { position:fixed!important;right:0!important;bottom:0!important;left:0!important;z-index:3!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:8px 14px max(8px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #e1e2e5!important; }
 html.pwa-mobile-app dialog.map-share-dialog .map-share-content { box-sizing:border-box!important;height:calc(var(--pwa-viewport-height, 100dvh) - 52px)!important;max-height:none!important;overflow:auto!important;padding:10px 12px!important; }
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row { display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:start!important;gap:7px!important;min-height:84px!important;max-height:none!important;padding:9px!important;border:1px solid #dedfe3!important;border-radius:10px!important; }
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row>* { min-width:0!important; }
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row p { overflow-wrap:anywhere!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row strong { font-size:13px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] { position:fixed!important;inset:0!important;box-sizing:border-box!important;width:100vw!important;max-width:none!important;height:var(--pwa-viewport-height, 100dvh)!important;max-height:var(--pwa-viewport-height, 100dvh)!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::backdrop { background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-header { position:sticky!important;top:0!important;z-index:4!important;display:grid!important;grid-template-columns:32px minmax(0,1fr) 32px!important;align-items:center!important;min-height:50px!important;padding:0 8px!important;background:#fff!important;border-bottom:1px solid #dedfe2!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-header h2 { margin:0!important;font-size:15px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-tabs { display:flex!important;flex-wrap:nowrap!important;gap:0!important;min-height:52px!important;overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;border-bottom:1px solid #dedfe2!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-tabs::-webkit-scrollbar { display:none!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-tabs [role=tab] { display:flex!important;flex:0 0 62px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;min-width:62px!important;min-height:50px!important;padding:2px!important;border:0!important;border-bottom:3px solid transparent!important;background:#fff!important;font-size:9px!important;line-height:1.05!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-tabs [role=tab][aria-selected=true] { border-bottom-color:var(--pwa-red)!important;background:#fbf3f5!important;color:var(--pwa-red)!important;font-weight:700!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll { display:block!important;box-sizing:border-box!important;height:calc(var(--pwa-viewport-height, 100dvh) - 158px)!important;min-height:0!important;overflow:auto!important;padding:8px 10px 12px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll section { margin:0 0 8px!important;padding:8px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll h2,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll h3 { margin:0 0 6px!important;font-size:13px!important;line-height:1.2!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll label { display:grid!important;gap:3px!important;margin:0 0 6px!important;font-size:10px!important;line-height:1.15!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll input:not([type=checkbox]):not([type=radio]),html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll select { box-sizing:border-box!important;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;padding:0 8px!important;border-radius:7px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll textarea { box-sizing:border-box!important;min-height:58px!important;padding:7px!important;font-size:11px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-grid { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option { min-width:0!important;min-height:64px!important;padding:4px!important;border-radius:9px!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option img,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option svg { width:38px!important;height:34px!important;object-fit:contain!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option span { font-size:9px!important;line-height:1.05!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-actions { position:fixed!important;right:0!important;bottom:0!important;left:0!important;z-index:5!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;min-height:52px!important;margin:0!important;padding:7px 10px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important; }
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-actions button { min-height:38px!important;height:38px!important;padding:0 8px!important;font-size:12px!important; }
}

/* Final precedence layer for the approved mobile/PWA composition. */
@media (max-width:768px){
 html.pwa-mobile-app #map-view[hidden],html.pwa-mobile-app #mobile-vehicles-view[hidden],html.pwa-mobile-app #history-view[hidden],html.pwa-mobile-app #module-view[hidden]{display:none!important}
 html.pwa-mobile-app #workspace>.topbar{position:absolute!important;inset:0 0 auto!important;display:grid!important;grid-template-columns:36px minmax(0,1fr) 38px!important;grid-template-areas:none!important;height:62px!important;min-height:62px!important;padding:7px 10px!important;background:#fff!important;border-bottom:1px solid #dedfe3!important;box-shadow:none!important}
 html.pwa-mobile-app #workspace>.topbar #pwa-mobile-menu{grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;background:transparent!important;color:#121820!important;font-size:0!important}
 html.pwa-mobile-app #workspace>.topbar #pwa-mobile-menu svg{width:22px!important;height:22px!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand{grid-column:2!important;grid-row:1!important;justify-self:center!important;width:min(48vw,175px)!important;height:32px!important;margin:0!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand img{max-height:30px!important;object-position:center!important}
 html.pwa-mobile-app #workspace>.topbar .top-metrics,html.pwa-mobile-app #workspace>.topbar .notification-settings,html.pwa-mobile-app #workspace>.topbar .top-profile{display:none!important}
 html.pwa-mobile-app #workspace>.topbar #account-area{grid-column:3!important;grid-row:1!important;display:block!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important;font-size:0!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button svg,html.pwa-mobile-app #workspace>.topbar #account-menu-button span{display:none!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button:after{content:"RT";font-size:12px!important;font-weight:700!important}
 html.pwa-mobile-app #workspace>.app-main{position:relative!important;padding-top:62px!important}
 html.pwa-mobile-app #map-view:not([hidden]){position:absolute!important;inset:62px 0 0!important;display:block!important;overflow:hidden!important}
 html.pwa-mobile-app #map-panel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #map-panel #map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools{position:fixed!important;z-index:650!important;top:72px!important;left:12px!important;right:12px!important;display:block!important;margin:0!important;padding:0!important;background:transparent!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #mobile-map-tools{display:none!important}
 html.pwa-mobile-app #mobile-map-tools .mobile-vehicle-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html.pwa-mobile-app #mobile-map-search{box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 40px!important;border:1px solid #d2d4d9!important;border-radius:11px!important;background:#fff!important;font-size:13px!important;box-shadow:0 1px 4px #1f293710!important}
 html.pwa-mobile-app #mobile-map-filter{display:none!important}
 html.pwa-mobile-app #map-panel .map-toolbar{position:absolute!important;top:72px!important;right:12px!important;left:auto!important;z-index:480!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #map-panel .map-actions{display:grid!important;grid-template-columns:42px!important;gap:7px!important}
 html.pwa-mobile-app #map-panel .map-actions>*{width:42px!important;height:42px!important;min-height:42px!important;border-radius:10px!important;background:#fff!important;color:#303744!important;box-shadow:0 2px 7px #20263426!important}
 html.pwa-mobile-app #map-panel .map-actions>#map-refresh{display:none!important}
 html.pwa-mobile-app #pwa-mobile-nav{display:none!important}
 html.pwa-mobile-app #mobile-vehicles-sheet{position:fixed!important;z-index:620!important;right:16px!important;bottom:10px!important;left:16px!important;display:block!important;box-sizing:border-box!important;width:auto!important;height:94px!important;min-height:94px!important;padding:12px!important;border:1px solid #d8dadd!important;border-radius:20px!important;background:#fff!important;color:#171b24!important;text-align:left!important;box-shadow:0 2px 9px #17223518!important}
 html.pwa-mobile-app #mobile-vehicles-sheet:before{content:"";position:absolute;top:7px;left:calc(50% - 23px);width:46px;height:4px;border-radius:9px;background:#a5a7aa}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel{position:fixed!important;z-index:680!important;inset:auto 10px 10px!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:auto!important;height:min(70dvh,590px)!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 75px)!important;overflow:hidden!important;padding:9px 10px!important;border:1px solid #d7d9de!important;border-radius:23px!important;background:#fff!important;box-shadow:0 4px 16px #1b243224!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-panel-handle{display:block!important;flex:none!important;width:42px!important;height:4px!important;margin:0 auto 8px!important;border-radius:9px!important;background:#a5a7aa!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .panel-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;min-height:30px!important;margin:0 0 5px!important;padding:0!important;background:#fff!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .panel-heading h1{margin:0!important;color:#171b24!important;font-size:16px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-panel-close{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-height:32px!important;padding:0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .list-tools{display:grid!important;grid-template-columns:minmax(0,1fr) 40px 40px!important;gap:6px!important;flex:none!important;padding:0 0 7px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-search{height:36px!important;min-height:36px!important;padding:0 10px 0 34px!important;font-size:12px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .list-tools button{width:40px!important;height:40px!important;min-height:40px!important;padding:0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options:not([hidden]){position:absolute!important;top:86px!important;right:7px!important;z-index:15!important;display:grid!important;gap:5px!important;width:min(190px,calc(100% - 16px))!important;max-height:190px!important;overflow:auto!important;padding:8px!important;border:1px solid #d9dce1!important;border-radius:11px!important;background:#fff!important;box-shadow:0 4px 14px #171d2826!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options[hidden]{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices{max-height:95px!important;overflow:auto!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-list{flex:1 1 auto!important;min-height:0!important;overflow:auto!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table{width:100%!important;min-width:0!important;font-size:11px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table th{height:32px!important;padding:4px!important;background:#f0f1f4!important;font-size:10px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td{padding:7px 4px!important;font-size:11px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td:nth-child(n+4){display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{position:fixed!important;inset:135px 10px 10px!important;z-index:690!important;display:block!important;box-sizing:border-box!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;padding:0!important;border:0!important;background:transparent!important;transform:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;overflow:hidden!important;border:1px solid #d7d9de!important;border-radius:20px!important;background:#fff!important;box-shadow:0 4px 18px #1520332a!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header{display:grid!important;grid-template-columns:36px minmax(0,1fr) 36px!important;align-items:center!important;flex:none!important;height:46px!important;min-height:46px!important;padding:0 7px!important;border-bottom:1px solid #e2e3e7!important;background:#fff!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header strong{overflow:hidden!important;font-size:15px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header button{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;background:transparent!important;color:#202633!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;min-height:0!important;overflow:auto!important;padding:8px!important;overscroll-behavior:contain!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-summary{order:0!important;display:block!important;flex:none!important;margin:0 0 5px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity-row{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:3px 7px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-icon{grid-row:1/3!important;display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border-radius:8px!important;background:#f6e8ec!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-icon svg{width:29px!important;height:29px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity{display:flex!important;align-items:center!important;gap:7px!important;min-width:0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity strong{font-size:12px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity span{overflow:hidden!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badges{display:flex!important;gap:3px!important;min-width:0!important;overflow:hidden!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badge{display:inline-flex!important;align-items:center!important;min-height:19px!important;padding:2px 5px!important;border-radius:99px!important;background:#f1f2f4!important;font-size:8px!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badge.communication{background:#e7f6ed!important;color:#19804a!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-times{display:grid!important;gap:1px!important;margin-top:3px!important;padding-left:1px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-times p{margin:0!important;font-size:9px!important;line-height:12px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll>.vehicle-detail-name{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll>.vehicle-detail-summary{display:contents!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll>.vehicle-detail-summary .vehicle-detail-photo-column{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll>.drawer-tabs{position:sticky!important;top:-8px!important;z-index:5!important;order:1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;flex:none!important;min-height:36px!important;margin:0 -8px 6px!important;padding:0 7px!important;border-bottom:1px solid #d9dbe0!important;background:#fff!important}
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs button{min-width:0!important;min-height:36px!important;padding:4px 2px!important;border:0!important;border-bottom:3px solid transparent!important;background:#fff!important;color:#252a33!important;font-size:10px!important}
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs button.active{border-bottom-color:#a9153b!important;color:#a9153b!important;font-weight:700!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:4px 0 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{display:grid!important;grid-template-columns:17px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;gap:1px 3px!important;min-width:0!important;min-height:36px!important;padding:3px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>span{grid-row:1/3!important;width:15px!important;height:15px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>small{overflow:hidden!important;font-size:8px!important;line-height:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>strong{overflow:hidden!important;font-size:10px!important;line-height:12px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side{display:contents!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed{order:3!important;display:grid!important;grid-template-columns:22px 1fr!important;grid-template-rows:auto auto!important;min-height:43px!important;margin:0 0 4px!important;padding:4px 6px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed small{font-size:8px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed strong{font-size:11px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact{order:4!important;display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto!important;min-height:40px!important;margin:0 0 4px!important;padding:4px 6px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact small{font-size:8px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact strong{overflow:hidden!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions{order:5!important;display:flex!important;justify-content:center!important;gap:6px!important;margin:4px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions .vehicle-detail-icon{width:32px!important;height:32px!important;min-height:32px!important;padding:4px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary{order:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:4px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;min-height:41px!important;padding:4px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary small{overflow:hidden!important;font-size:8px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary strong{overflow:hidden!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar{order:7!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:36px!important;padding:3px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#fff!important;font-size:9px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon svg{width:15px!important;height:15px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions{order:8!important;margin:4px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary{display:flex!important;align-items:center!important;min-height:36px!important;padding:0 9px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important;font-size:11px!important}
 html.pwa-mobile-app #history-view:not([hidden]){position:relative!important;display:flex!important;flex-direction:column!important;gap:5px!important;box-sizing:border-box!important;width:100%!important;height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important;min-height:0!important;margin:0!important;padding:5px 10px 8px!important;overflow:auto!important;background:#f3f4f6!important}
 html.pwa-mobile-app #history-view .history-page-heading{order:0!important;flex:none!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #history-view .history-page-heading h1{margin:0!important;font-size:17px!important;line-height:21px!important}
 html.pwa-mobile-app #history-view .history-page-heading p{display:none!important}
 html.pwa-mobile-app #history-view #history-controls-anchor{order:1!important;flex:none!important}
 html.pwa-mobile-app #history-view #period-controls{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;margin:0!important;padding:5px!important;border:1px solid #d9dce1!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app #history-view #period-controls>label{min-width:0!important;font-size:9px!important}
 html.pwa-mobile-app #history-view #period-controls input,html.pwa-mobile-app #history-view #period-controls select{box-sizing:border-box!important;width:100%!important;height:30px!important;min-height:30px!important;padding:0 5px!important;font-size:10px!important}
 html.pwa-mobile-app #history-view .history-map-card{order:4!important;flex:none!important;margin:0!important;padding:4px!important;border:1px solid #d8dbe0!important;border-radius:10px!important;background:#fff!important}
 html.pwa-mobile-app #history-view .history-map-card .section-heading{display:none!important}
 html.pwa-mobile-app #history-view #history-map-host{height:100px!important;min-height:100px!important;border-radius:8px!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view #history-metrics{order:3!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
 html.pwa-mobile-app #history-view #history-metrics>.metric-card{display:grid!important;min-width:0!important;min-height:38px!important;padding:4px!important;border:0!important;border-radius:8px!important;background:#f0f1f3!important;text-align:center!important}
 html.pwa-mobile-app #history-view #history-metrics .metric-card strong{font-size:11px!important;color:#a9153b!important}
 html.pwa-mobile-app #history-view #history-metrics .metric-card small,html.pwa-mobile-app #history-view #history-metrics .metric-card span{font-size:8px!important;line-height:10px!important}
 html.pwa-mobile-app #history-view #history-trip-strip{order:5!important;flex:none!important}
 html.pwa-mobile-app #history-view #history-result{order:6!important;display:block!important;margin:0!important;padding:4px!important;border:1px solid #d8dbe0!important;border-radius:10px!important;background:#fff!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap>table{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-cards{display:grid!important;gap:4px!important}
 html.pwa-mobile-app #history-view .history-mobile-record{margin:0!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view .history-mobile-record>summary{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 16px!important;align-items:center!important;gap:4px!important;min-height:34px!important;padding:4px 6px!important;font-size:9px!important;list-style:none!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px 7px!important;margin:0!important;padding:5px 7px!important;background:#f2f3f5!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dt{font-size:8px!important;color:#606673!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dd{overflow-wrap:anywhere!important;margin:0!important;font-size:9px!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action{min-height:28px!important;padding:3px 7px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]{position:fixed!important;inset:0!important;display:flex!important;flex-direction:column!important;box-sizing:border-box!important;width:100vw!important;max-width:none!important;height:var(--pwa-viewport-height, 100dvh)!important;max-height:var(--pwa-viewport-height, 100dvh)!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:#fff!important;overflow:hidden!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::backdrop{background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-frame,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;max-height:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header{flex:none!important;min-height:48px!important;padding:6px 10px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon{width:30px!important;height:30px!important;font-size:15px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header h2{font-size:14px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header p{font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs{display:flex!important;flex:none!important;flex-wrap:nowrap!important;gap:0!important;height:50px!important;min-height:50px!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs::-webkit-scrollbar{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs button{display:flex!important;flex:0 0 62px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;box-sizing:border-box!important;min-width:62px!important;min-height:48px!important;height:48px!important;padding:2px!important;font-size:8px!important;line-height:1.05!important;white-space:normal!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs button[aria-selected=true]{background:#f7e9ed!important;color:#a9153b!important;border-bottom-color:#a9153b!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{flex:1 1 auto!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:auto!important;padding:7px 8px 10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tab[hidden]{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section{margin:0 0 6px!important;padding:7px!important;border-radius:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section h3{margin:0 0 5px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{margin:4px 0!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select{height:31px!important;min-height:31px!important;margin-top:3px!important;padding:0 7px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea{min-height:52px!important;margin-top:3px!important;padding:6px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-note{margin:4px 0!important;font-size:8px!important;line-height:1.25!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-option{min-width:0!important;min-height:62px!important;padding:3px!important;border-radius:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview{height:34px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview img,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-preview svg{width:37px!important;height:31px!important;object-fit:contain!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid small{font-size:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-grid{display:grid!important;grid-template-columns:1fr!important;gap:4px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-swatches{grid-template-columns:repeat(8,minmax(0,1fr))!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions{position:sticky!important;bottom:0!important;z-index:5!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;flex:none!important;margin:0!important;padding:6px 8px max(6px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions button{min-height:37px!important;height:37px!important;padding:0 7px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open],html.pwa-mobile-app dialog.map-share-dialog[open]{position:fixed!important;inset:0!important;box-sizing:border-box!important;width:100vw!important;max-width:none!important;height:var(--pwa-viewport-height, 100dvh)!important;max-height:var(--pwa-viewport-height, 100dvh)!important;margin:0!important;padding:0!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#fff!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form{display:flex!important;flex-direction:column!important;height:100%!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header{flex:none!important;min-height:50px!important;padding:0 12px!important;background:#fff!important;color:#171b24!important;border-bottom:1px solid #dedfe3!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header h2{font-size:15px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body{display:block!important;flex:1 1 auto!important;height:auto!important;overflow:auto!important;padding:12px 14px 8px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-intro{margin:0 0 9px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-identity-grid{display:grid!important;grid-template-columns:1fr!important;gap:9px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form .module-field{display:grid!important;gap:3px!important;margin:0 0 7px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form .module-field input{height:36px!important;min-height:36px!important;padding:0 9px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-expiry-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:2px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body>h3{margin:9px 0 4px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-permission-options{display:grid!important;grid-template-columns:1fr!important;gap:2px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-permission-option{min-height:30px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-actions{position:fixed!important;right:0!important;bottom:0!important;left:0!important;z-index:4!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;padding:7px 12px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-share-dialog>header{display:flex!important;align-items:center!important;justify-content:space-between!important;min-height:48px!important;padding:0 13px!important;background:#fff!important;border-bottom:1px solid #dedfe3!important}
 html.pwa-mobile-app dialog.map-share-dialog>header h2{margin:0!important;font-size:15px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-quick-status{margin:8px 10px!important;padding:7px!important;border-radius:8px!important;background:#f0f1f4!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-list{display:grid!important;gap:7px!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 85px)!important;overflow:auto!important;padding:5px 10px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:5px 7px!important;min-height:78px!important;padding:9px!important;border:1px solid #dedfe3!important;border-radius:10px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-main strong{font-size:12px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-main p{font-size:10px!important;line-height:1.3!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-actions{grid-column:1/-1!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #mobile-vehicles-sheet{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:7px!important;text-align:left!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;min-height:17px!important;padding-top:1px!important;color:#151922!important;font-size:14px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-heading strong{font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-chevron{font-size:16px!important;line-height:14px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-row{display:grid!important;grid-template-columns:37px minmax(0,1fr) auto auto!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:38px!important;padding:3px 5px!important;border:1px solid #e4e5e8!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:7px!important;background:#a9153b!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-icon svg{width:25px!important;height:25px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity{display:grid!important;gap:1px!important;min-width:0!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity strong{overflow:hidden!important;color:#171b24!important;font-size:11px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity small{overflow:hidden!important;color:#5c626c!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-status,html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-motion{display:inline-flex!important;align-items:center!important;min-height:22px!important;padding:2px 7px!important;border-radius:99px!important;background:#e4f6e9!important;color:#207b3d!important;font-size:9px!important;white-space:nowrap!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-motion{background:#f0f1f3!important;color:#313640!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-empty{font-size:10px!important}
}

/* Ajustes finais por componente: Mapa mobile e seus painéis. */
@media (max-width:768px){
 html.pwa-mobile-app #workspace>.topbar{position:fixed!important;z-index:800!important;top:0!important;right:0!important;left:0!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand{width:min(70vw,230px)!important;height:38px!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand img{width:100%!important;max-width:210px!important;max-height:36px!important;object-fit:contain!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button>*{display:none!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button:after{content:'RT'!important;display:block!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
 html.pwa-mobile-app #map-view:not([hidden]){z-index:1!important}
 html.pwa-mobile-app #mobile-map-tools .search-input{display:flex!important;align-items:center!important;box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0 10px!important;border:1px solid #d2d4d9!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 4px #1f293710!important}
 html.pwa-mobile-app #mobile-map-tools .search-input>span{position:static!important;flex:none!important;width:24px!important;margin:0!important;font-size:17px!important;line-height:1!important}
 html.pwa-mobile-app #mobile-map-search{flex:1 1 auto!important;width:0!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0 5px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:13px!important}
 html.pwa-mobile-app #mobile-map-search:focus{outline:none!important;box-shadow:none!important}
 html.pwa-mobile-app #mobile-vehicles-sheet{height:108px!important;min-height:108px!important;padding:9px 9px 8px!important;gap:5px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-row{width:100%!important;box-sizing:border-box!important;grid-template-columns:34px minmax(0,1fr) auto auto!important;min-height:38px!important;padding:2px 4px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-icon{width:30px!important;height:30px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-identity{justify-self:start!important;width:100%!important;text-align:left!important}
 html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-status,html.pwa-mobile-app #mobile-vehicles-sheet .pwa-vehicle-sheet-motion{font-size:9px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options:not([hidden]){position:static!important;inset:auto!important;display:grid!important;grid-template-columns:1fr!important;width:auto!important;max-height:none!important;margin:0 0 7px!important;padding:8px!important;border:1px solid #dedfe3!important;border-radius:10px!important;box-shadow:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;max-height:none!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button{min-width:0!important;min-height:30px!important;padding:3px 4px!important;border:1px solid #dedfe3!important;border-radius:7px!important;background:#fff!important;font-size:9px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-list{min-height:0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table th{height:28px!important;padding:3px!important;font-size:9px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-table td{padding:5px 4px!important;font-size:10px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{inset:154px 10px 10px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open{border-radius:18px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-drawer-handle,html.pwa-mobile-app #vehicle-drawer .drawer-handle{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header{grid-template-columns:36px minmax(0,1fr) 36px!important;height:42px!important;min-height:42px!important;padding:0 7px!important;border-bottom:1px solid #e0e1e5!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-back{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;color:#202633!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll{padding:7px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-summary{margin:0 0 4px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-identity-row{grid-template-columns:36px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:2px 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-badges{grid-column:2!important;grid-row:2!important;flex-wrap:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-mobile-times p{font-size:8px!important;line-height:11px!important}
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs{grid-template-columns:repeat(3,minmax(0,1fr))!important;min-height:34px!important;margin:0 -7px 5px!important;padding:0 5px!important}
 html.pwa-mobile-app #vehicle-drawer .drawer-tabs button{min-height:34px!important;font-size:9px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:54px!important;gap:4px!important;overflow:visible!important;margin:4px 0 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;align-items:center!important;justify-items:start!important;min-width:0!important;width:auto!important;height:54px!important;min-height:54px!important;max-width:none!important;padding:4px!important;overflow:hidden!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important;text-align:left!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="motion"],html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOn"],html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOff"]{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;width:13px!important;height:13px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;min-width:0!important;font-size:8px!important;line-height:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;min-width:0!important;font-size:10px!important;line-height:11px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed{min-width:0!important;width:auto!important;height:54px!important;min-height:54px!important;margin:0!important;padding:4px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed>small{font-size:8px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed>strong{font-size:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-side{display:contents!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;min-height:38px!important;margin:0 0 5px!important;padding:4px 7px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact>svg{grid-row:1/3!important;width:17px!important;height:17px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact>small{font-size:8px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact>strong{font-size:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:4px 0 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat{min-width:0!important;min-height:48px!important;padding:4px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat small{font-size:7px!important;line-height:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat strong{overflow:hidden!important;font-size:10px!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar button{display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:40px!important;height:40px!important;padding:3px!important;font-size:9px!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #pwa-mobile-nav{display:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open]{inset:62px 0 0!important;height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body{padding:10px 14px 68px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form input[type="checkbox"]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0 5px 0 0!important;flex:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-permission-option{display:flex!important;align-items:center!important;gap:5px!important;min-height:30px!important;padding:2px 0!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]{inset:62px 0 0!important;height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 62px)!important}
 html.pwa-mobile-app dialog.map-share-dialog>header{min-height:46px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-list{max-height:calc(var(--pwa-viewport-height, 100dvh) - 120px)!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header{min-height:43px!important;height:43px!important;padding:0 11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header h2{font-size:15px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs{height:46px!important;min-height:46px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role="tab"]{min-width:59px!important;min-height:44px!important;padding:3px 2px!important;font-size:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role="tab"] svg{width:17px!important;height:17px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{padding:7px 9px 60px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section{margin:0 0 7px!important;padding:8px!important;border-radius:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section h3{margin:0 0 5px!important;font-size:12px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{gap:2px!important;margin:0 0 5px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input:not([type="checkbox"]),html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select{height:32px!important;min-height:32px!important;padding:0 7px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea{min-height:58px!important;padding:6px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:50px!important;max-height:210px!important;overflow:auto!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option{min-height:48px!important;height:48px!important;padding:3px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option img,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .vehicle-editor-scroll .vehicle-icon-option svg{width:30px!important;height:26px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions{min-height:48px!important;padding:5px 8px max(5px,env(safe-area-inset-bottom))!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #workspace:not(.pwa-mobile-menu-open)>.sidebar{display:none!important}
 html.pwa-mobile-app #workspace.pwa-mobile-menu-open>.sidebar{position:fixed!important;z-index:760!important;top:62px!important;bottom:0!important;left:0!important;display:block!important;width:min(82vw,290px)!important}
 html.pwa-mobile-app #map-view:not([hidden]) #fleet-layout{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;overflow:visible!important}
 html.pwa-mobile-app #map-view:not([hidden]) #map-panel{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important}
 html.pwa-mobile-app #map-view:not([hidden]) #map-panel #map{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;overflow:visible!important}
}

/* Composição de referência aprovada: Mapa e painéis vinculados, somente mobile/PWA. */
@media (max-width:768px){
 html.pwa-mobile-app #workspace>.topbar{height:62px!important;min-height:62px!important;display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px!important;align-items:center!important;gap:7px!important;padding:0 10px!important;background:#fff!important;border-bottom:1px solid #d8dbe0!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:40px!important;max-width:none!important;overflow:hidden!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:none!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand:after{content:'Rastreia Tracker'!important;color:#171b24!important;font-size:17px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.65px!important;white-space:nowrap!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button>*{display:none!important}
 html.pwa-mobile-app #workspace>.topbar #account-menu-button:after{content:'RT'!important;display:block!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
 html.pwa-mobile-app #mobile-map-tools{top:72px!important;right:12px!important;left:12px!important;width:auto!important}
 html.pwa-mobile-app #mobile-map-tools .search-input{height:42px!important;min-height:42px!important;border-radius:10px!important}
 html.pwa-mobile-app #mobile-vehicles-sheet{right:10px!important;left:10px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;width:auto!important;height:108px!important;min-height:108px!important;border:1px solid #d8dbe0!important;border-radius:18px!important;box-shadow:0 2px 10px #18212a22!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{position:fixed!important;z-index:720!important;top:82px!important;right:0!important;bottom:0!important;left:0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;overflow:hidden!important;border:1px solid #d4d6da!important;border-bottom:0!important;border-radius:18px 18px 0 0!important;background:#fff!important;box-shadow:0 -3px 16px #13172222!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open{display:flex!important;height:100%!important;max-height:none!important;min-height:0!important;border-radius:18px 18px 0 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-drawer-handle,html.pwa-mobile-app #vehicle-drawer .drawer-handle{display:block!important;position:relative!important;flex:none!important;width:100%!important;height:16px!important;min-height:16px!important;padding:0!important;background:#fff!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-drawer-handle:after,html.pwa-mobile-app #vehicle-drawer .drawer-handle:after{content:''!important;position:absolute!important;top:6px!important;left:calc(50% - 22px)!important;width:44px!important;height:4px!important;border-radius:4px!important;background:#9b9da2!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header{height:40px!important;min-height:40px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll{padding:7px 8px 12px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-rows:52px!important;gap:4px!important;overflow:visible!important;margin:4px 0 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOn"],html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOff"],html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="battery"]{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="speed"]{order:1!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"]{order:2!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]{order:3!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]{order:4!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"]{order:5!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]{order:6!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{grid-template-columns:15px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;align-items:center!important;justify-items:start!important;width:auto!important;height:52px!important;min-height:52px!important;padding:4px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;width:13px!important;height:13px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;font-size:8px!important;line-height:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;font-size:10px!important;line-height:11px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed{display:grid!important;grid-column:auto!important;grid-row:auto!important;order:1!important;width:auto!important;height:52px!important;min-height:52px!important;margin:0!important;padding:4px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed>small{font-size:8px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed>strong{font-size:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-driver-fact{grid-template-columns:22px minmax(0,1fr)!important;min-height:38px!important;margin:0 0 5px!important;padding:4px 7px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-supplementary{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:4px 0 6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat{min-width:0!important;min-height:47px!important;padding:4px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat small{font-size:8px!important;line-height:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat strong{font-size:10px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-quick-actions{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:5px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar button{min-height:40px!important;height:40px!important;font-size:9px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions{margin:4px 0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary{min-height:38px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]{position:fixed!important;top:62px!important;right:0!important;bottom:0!important;left:0!important;inset:62px 0 0 0!important;width:auto!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-list{display:grid!important;gap:8px!important;max-height:calc(var(--pwa-viewport-height, 100dvh) - 132px)!important;overflow:auto!important;padding:8px 12px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-share-row{min-height:86px!important;padding:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:10!important;display:grid!important;grid-template-columns:1fr 1.2fr!important;min-height:54px!important;padding:6px 12px max(6px,env(safe-area-inset-bottom))!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions button{min-height:40px!important;height:40px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{padding-bottom:65px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section{margin-bottom:6px!important;padding:7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{margin:0 0 5px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select{height:31px!important;min-height:31px!important}
}

@media (max-width:768px){
 html.pwa-mobile-app .account-menu-button::before{content:none!important;display:none!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand:after{background:linear-gradient(90deg,#a9153b 0 47%,#171b24 47% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
 html.pwa-mobile-app #map-refresh[hidden]{display:flex!important}
 html.pwa-mobile-app #map-panel .map-actions{display:flex!important;flex-direction:column!important}
 html.pwa-mobile-app #map-panel #map-refresh{order:0!important}
 html.pwa-mobile-app #workspace,html.pwa-mobile-app #map-view,html.pwa-mobile-app #fleet-layout{transform:none!important;filter:none!important;perspective:none!important;contain:none!important;will-change:auto!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{position:fixed!important;inset:82px 0 0 0!important;top:82px!important;right:0!important;bottom:0!important;left:0!important;height:auto!important;max-height:none!important;transform:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important;grid-auto-flow:row dense!important;grid-auto-rows:52px!important;}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{grid-column:auto!important;grid-row:auto!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed{grid-column:auto!important;grid-row:auto!important;position:static!important;transform:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-tab-content .vehicle-detail-location{display:block!important}
 html.pwa-mobile-app #history-view:not([hidden]){display:flex!important;flex-direction:column!important;gap:5px!important;overflow:auto!important}
 html.pwa-mobile-app #history-view .history-page-heading{display:block!important;order:0!important;flex:none!important;min-height:28px!important}
 html.pwa-mobile-app #history-view .history-page-heading .history-title-mobile{display:block!important;font-size:16px!important;font-weight:700!important;line-height:20px!important}
 html.pwa-mobile-app #history-view .history-query-overview{display:block!important;order:1!important;flex:none!important;min-height:28px!important;margin:0!important;padding:5px 8px!important;border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app #history-view #history-controls-anchor{order:2!important;flex:none!important}
 html.pwa-mobile-app #history-view #history-metrics{order:3!important;flex:none!important}
 html.pwa-mobile-app #history-view .history-content{display:flex!important;flex-direction:column!important;gap:5px!important;order:4!important;min-height:0!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-map-card{order:0!important;flex:none!important;height:auto!important;min-height:0!important}
 html.pwa-mobile-app #history-view #history-map-host{height:104px!important;min-height:104px!important}
 html.pwa-mobile-app #history-view .history-side{display:contents!important}
 html.pwa-mobile-app #history-view .history-trip-strip{order:1!important;flex:none!important}
 html.pwa-mobile-app #history-view .history-result{order:2!important;flex:none!important}
}

@media (max-width:768px){
 html.pwa-mobile-app .account-menu-button::before{content:none!important;display:none!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand{grid-area:auto!important;min-width:0!important;max-width:none!important;overflow:visible!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand:after{font-size:15px!important;letter-spacing:-.5px!important;background:linear-gradient(90deg,#a9153b 0 45%,#171b24 45% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
 html.pwa-mobile-app #map-view #map-refresh[hidden]{display:flex!important}
 html.pwa-mobile-app #map-view #map-panel .map-actions{display:flex!important;flex-direction:column!important}
 html.pwa-mobile-app #map-view #map-panel #map-refresh{order:0!important}
 html.pwa-mobile-app #map-view #map-panel .map-layer-menu{order:1!important}
 html.pwa-mobile-app #workspace,html.pwa-mobile-app #map-view,html.pwa-mobile-app #fleet-layout{transform:none!important;filter:none!important;perspective:none!important;contain:none!important;will-change:auto!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{inset:-80px 0 0 0!important;top:-80px!important;right:0!important;bottom:0!important;left:0!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-columns:auto!important;grid-auto-flow:row dense!important;grid-auto-rows:52px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{grid-column:auto!important;grid-row:auto!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-summary-speed{grid-column:auto!important;grid-row:auto!important;position:static!important;transform:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-location{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-tab-content .vehicle-detail-location{display:block!important}
 html.pwa-mobile-app #history-view .history-page-heading{grid-area:auto!important}
 html.pwa-mobile-app #history-view .history-page-heading .history-title-mobile{display:block!important}
 html.pwa-mobile-app #history-view .history-query-overview{min-height:0!important;padding:4px 7px!important}
 html.pwa-mobile-app #history-view .history-query-overview>*,html.pwa-mobile-app #history-view .history-query-overview .history-mobile-vehicle-search{margin-top:0!important;margin-bottom:0!important}
 html.pwa-mobile-app #history-view .history-toolbar{display:none!important}
 html.pwa-mobile-app #history-view #history-controls-anchor{margin:0!important;padding:0!important}
 html.pwa-mobile-app #history-view #history-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:42px!important}
 html.pwa-mobile-app #history-view #history-metrics>.metric-card:nth-child(n+7){display:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open],html.pwa-mobile-app dialog.map-share-dialog[open]{padding-top:62px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open]::before,html.pwa-mobile-app dialog.map-share-dialog[open]::before{content:'☰   Rastreia Tracker   RT'!important;position:fixed!important;z-index:20!important;top:0!important;right:0!important;left:0!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid #dedfe3!important;color:#a9153b!important;font-size:15px!important;font-style:italic!important;font-weight:800!important}
 html.pwa-mobile-app dialog.map-share-dialog>header{display:flex!important;visibility:visible!important;align-items:center!important;justify-content:center!important;position:relative!important;min-height:46px!important;height:46px!important;background:#fff!important;color:#171b24!important;border-bottom:1px solid #dedfe3!important}
 html.pwa-mobile-app dialog.map-share-dialog>header h2{display:block!important;visibility:visible!important;color:#171b24!important;font-size:15px!important}
 html.pwa-mobile-app dialog.map-share-dialog .map-quick-status{margin:8px 10px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header{min-height:46px!important;height:46px!important;justify-content:center!important;position:relative!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header h2{font-size:15px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-close{position:absolute!important;right:10px!important;top:5px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body{padding:9px 12px 65px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-intro{margin-bottom:8px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form .module-field{font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-creation-form .module-field input{height:34px!important;min-height:34px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-permission-option{font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]{padding-top:62px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::before{content:'📍  Rastreia Tracker  MAPA'!important;position:absolute!important;top:0!important;right:0!important;left:0!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 13px!important;background:#a9153b!important;color:#fff!important;font-size:13px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-frame{height:calc(100% - 62px)!important;max-height:calc(100% - 62px)!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form>.module-actions{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:10!important;display:grid!important;grid-template-columns:1fr 1.2fr!important;min-height:54px!important;padding:6px 12px max(6px,env(safe-area-inset-bottom))!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{padding-bottom:65px!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{position:fixed!important;z-index:760!important;inset:82px 0 0 0!important;top:82px!important;right:0!important;bottom:0!important;left:0!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;border-radius:18px 18px 0 0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel:not(.vehicle-details-active){position:fixed!important;z-index:700!important;inset:118px 8px 8px!important;top:118px!important;right:8px!important;bottom:8px!important;left:8px!important;width:auto!important;height:auto!important;max-height:none!important;border-radius:20px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll>.vehicle-detail-events{display:none!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-tab-content .vehicle-detail-events{display:block!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions{grid-column:1/-1!important;width:100%!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary{width:100%!important;box-sizing:border-box!important}
 html.pwa-mobile-app #history-view .history-toolbar{display:flex!important;flex-wrap:wrap!important;gap:4px!important;order:2!important;margin:0!important}
 html.pwa-mobile-app #history-view .history-toolbar button{min-height:30px!important;height:30px!important;padding:0 7px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open]::before,html.pwa-mobile-app dialog.map-share-dialog[open]::before{content:'☰   Rastreia Tracker   RT'!important;position:fixed!important;z-index:20!important;top:0!important;right:0!important;left:0!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 14px!important;background:#fff!important;border-bottom:1px solid #dedfe3!important;color:#a9153b!important;font-size:15px!important;font-style:italic!important;font-weight:800!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::before{content:'📍  Rastreia Tracker  MAPA'!important;position:absolute!important;top:0!important;right:0!important;left:0!important;z-index:12!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 13px!important;background:#a9153b!important;color:#fff!important;font-size:13px!important;font-weight:700!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #map-view:has(#fleet-layout.has-selection) #mobile-map-tools{display:none!important}
 html.pwa-mobile-app #map-view #map-panel #map-center{order:2!important}
 html.pwa-mobile-app #map-view #map-panel #map-zoom-in{order:3!important}
 html.pwa-mobile-app #map-view #map-panel #map-zoom-out{order:4!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{position:relative!important;grid-template-columns:34px minmax(0,1fr) 34px!important;min-height:38px!important;height:38px!important;max-height:38px!important;margin:0!important;border-bottom:1px solid #e1e2e5!important;border-radius:0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>strong{display:block!important;visibility:visible!important;grid-column:2!important;grid-row:1!important;justify-self:start!important;font-size:14px!important;font-weight:700!important;color:#141923!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back{display:grid!important;grid-column:1!important;grid-row:1!important;width:32px!important;height:32px!important;min-height:32px!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close{display:grid!important;grid-column:3!important;grid-row:1!important;width:32px!important;height:32px!important;min-height:32px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;height:38px!important;min-height:38px!important;padding:0 10px!important;font-size:11px!important;line-height:1.2!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary svg{display:block!important;flex:0 0 19px!important;width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary span{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::before{content:'⌖   Rastreia Tracker   MAPA'!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-icon{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header h2{margin-left:0!important;font-size:15px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-grid{grid-auto-rows:70px!important;max-height:280px!important;overflow:auto!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-icon-option{height:68px!important;min-height:68px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-swatches button,html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-swatches [role=button]{min-width:25px!important;min-height:25px!important;height:25px!important;padding:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-color-swatch-list{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:4px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer{position:absolute!important;right:0!important;bottom:0!important;left:0!important;z-index:15!important;display:grid!important;grid-template-columns:1fr 1.2fr!important;gap:8px!important;min-height:54px!important;padding:6px 12px max(6px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer button{min-height:40px!important;height:40px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form-status{flex:none!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #history-view .history-query-overview[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-page-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle{flex:none!important;min-height:28px!important;height:28px!important;padding:0 7px!important;border:1px solid #dedfe3!important;border-radius:7px!important;background:#fff!important;color:#a9153b!important;font-size:8px!important}
 html.pwa-mobile-app #history-view .history-query-overview:not([hidden]){display:block!important}
 html.pwa-mobile-app #history-view .history-query-overview:not([hidden]) .history-mobile-date-control{display:block!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open]::before{content:'●  Rastreia Tracker  MAPA'!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-header{margin-top:0!important}
 html.pwa-mobile-app dialog.share-creation-dialog .share-dialog-body{padding-top:7px!important}
}
.pwa-history-query-toggle{display:none}
@media (max-width:768px){html.pwa-mobile-app #history-view .pwa-history-query-toggle{display:block!important}}
@media (max-width:768px){html.pwa-mobile-app #history-view .history-query-overview[hidden]{display:block!important}html.pwa-mobile-app #history-view #history-controls-anchor[hidden],html.pwa-mobile-app #history-view .history-toolbar[hidden]{display:none!important}html.pwa-mobile-app #history-view #history-metrics{display:grid!important}}

/* Revisão fiel das capturas aprovadas: o cabeçalho de marca aparece apenas nas três telas finais do editor. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"],
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="vehicle"],
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"]{padding-top:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="vehicle"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"]::before{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"] .map-vehicle-frame,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="vehicle"] .map-vehicle-frame,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-frame{height:100%!important;max-height:100%!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]::before{content:'⌖  Rastreia Tracker  MAPA'!important}
 html.pwa-mobile-app #map-view #map-panel #map-refresh{display:flex!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:5!important}
 html.pwa-mobile-app #map-view #map-panel #map-refresh[hidden]{display:flex!important}
 html.pwa-mobile-app #map-view #map-panel #map-refresh svg{width:20px!important;height:20px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>.vehicle-detail-scroll .vehicle-detail-header .vehicle-detail-back{transform:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active>.vehicle-detail-scroll .vehicle-detail-header .vehicle-detail-back::before{content:'←'!important;font-size:24px!important;color:#171b24!important}
}

/* Ajustes de acabamento contra as referências mobile aprovadas. */
@media (max-width:768px){
 html.pwa-mobile-app #workspace>.topbar .app-header-brand:after{display:block!important;visibility:visible!important;text-align:center!important;font-style:italic!important;font-weight:800!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{grid-template-columns:42px minmax(0,1fr) 36px!important;column-gap:5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header::before{content:''!important;position:absolute!important;top:5px!important;left:calc(50% - 23px)!important;width:46px!important;height:5px!important;border-radius:5px!important;background:#9a9da3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back{width:38px!important;height:36px!important;min-height:36px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#171b24!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back svg{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back::before{content:'←'!important;display:block!important;font-size:23px!important;line-height:1!important;color:#171b24!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>strong{font-size:15px!important;color:#111827!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{color:#171b24!important;border-color:#d5d6d9!important;background:#fff!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator :is(strong,b,span){color:#171b24!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator svg{color:#26303b!important;stroke:#26303b!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-tab-content [role=tab][aria-selected=true]{background:#a9153b!important;border-color:#a9153b!important;color:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]::before{content:'●  Rastreia Tracker  MAPA'!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{font-size:11px!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input:not([type=checkbox]),
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea{border-color:#c9cbd0!important;background:#fff!important;color:#171b24!important;font-size:12px!important}
}

/* Lista de veículos e painéis: cartões compactos como na referência aprovada. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel{position:fixed!important;top:236px!important;right:8px!important;bottom:60px!important;left:8px!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:9px 10px!important;border:1px solid #d5d7db!important;border-radius:20px!important;background:#fff!important;box-shadow:0 3px 14px #1b24321f!important;overflow:hidden!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-list{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important;gap:6px!important;overflow:auto!important;padding:5px 0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-table{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;grid-template-rows:1fr 1fr!important;align-items:center!important;column-gap:8px!important;min-height:58px!important;height:58px!important;padding:5px 7px!important;border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important;color:#171b24!important;text-align:left!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card.selected{border-color:#a9153b!important;background:#fbedf0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{grid-row:1/3!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:8px!important;background:#f5e6ea!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{width:27px!important;height:27px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{display:flex!important;min-width:0!important;flex-direction:column!important;gap:1px!important;grid-column:2!important;grid-row:1/3!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;font-weight:700!important;color:#111827!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{font-size:10px!important;color:#60656d!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{grid-column:3!important;grid-row:1!important;justify-self:end!important;padding:3px 7px!important;border-radius:12px!important;font-size:9px!important;font-weight:700!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.online{background:#e1f5e5!important;color:#197a31!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.offline{background:#fde5e6!important;color:#a51823!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.never{background:#e8e9eb!important;color:#62666d!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{grid-column:3!important;grid-row:2!important;justify-self:end!important;font-size:9px!important;color:#30343a!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-list-heading{min-height:36px!important;font-size:16px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-share-dialog[open],html.pwa-mobile-app dialog.share-creation-dialog[open]{padding-top:62px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::before,html.pwa-mobile-app dialog.share-creation-dialog[open]::before{content:'☰'!important;position:fixed!important;z-index:30!important;top:0!important;right:0!important;left:0!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 15px!important;border-bottom:1px solid #dedfe3!important;background:#fff!important;color:#171b24!important;font-size:20px!important;font-weight:400!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::after,html.pwa-mobile-app dialog.share-creation-dialog[open]::after{content:'Rastreia Tracker'!important;position:fixed!important;z-index:31!important;top:0!important;left:48px!important;right:48px!important;display:flex!important;align-items:center!important;justify-content:center!important;height:62px!important;color:#171b24!important;font-size:15px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.4px!important;background:linear-gradient(90deg,#a9153b 0 46%,#171b24 46% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header::after,html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-header::after{content:'RT'!important;position:fixed!important;z-index:32!important;top:12px!important;right:14px!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header{min-height:56px!important;height:56px!important;padding:0 48px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header h2{font-size:16px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-quick-status{margin:10px 12px!important;padding:10px!important;border-radius:8px!important;background:#f0f1f4!important;color:#343942!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-list{display:flex!important;flex-direction:column!important;gap:12px!important;padding:0 12px 14px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:12px!important;border:1px solid #d9dade!important;border-radius:10px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-main strong{font-size:14px!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-main p{padding-left:25px!important;font-size:11px!important;line-height:1.5!important;color:#272b31!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status{align-self:start!important;border-radius:12px!important;padding:4px 8px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-body{padding:10px 12px 70px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field{font-size:12px!important;color:#111827!important;margin:0 0 12px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field input{height:38px!important;min-height:38px!important;border:1px solid #c8c9cd!important;border-radius:8px!important;font-size:13px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field:nth-of-type(3),html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field:nth-of-type(4){display:inline-flex!important;width:calc(50% - 5px)!important;vertical-align:top!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field:nth-of-type(3){margin-right:6px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-actions{position:fixed!important;right:0!important;bottom:0!important;left:0!important;z-index:25!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;padding:8px 12px max(8px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dedfe3!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #history-view .history-mobile-selected-date{display:flex!important;align-items:center!important;gap:8px!important;min-height:34px!important;margin:0 10px 5px!important;padding:0 10px!important;border:1px solid #d6d7da!important;border-radius:9px!important;background:#fff!important;color:#262a30!important;font-size:11px!important}
 html.pwa-mobile-app #history-view .history-mobile-selected-date::before{content:'▦'!important;color:#353a42!important;font-size:15px!important}
 html.pwa-mobile-app #history-view .history-page-heading .eyebrow,html.pwa-mobile-app #history-view .history-page-heading>div>p:last-child,html.pwa-mobile-app #history-view .history-limit-note{display:none!important}
 html.pwa-mobile-app #history-view .history-page-heading{min-height:45px!important;height:45px!important;margin:0!important;padding:0 12px!important;justify-content:center!important;border-bottom:1px solid #d8dbe0!important}
 html.pwa-mobile-app #history-view .history-page-heading>div{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important}
 html.pwa-mobile-app #history-view .history-page-heading h1{font-size:17px!important;line-height:1.1!important;text-align:center!important}
 html.pwa-mobile-app #history-view #history-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:48px!important;gap:5px!important}
 html.pwa-mobile-app #history-view .history-map-card>.section-heading{display:none!important}
 html.pwa-mobile-app #history-view .history-content{gap:6px!important}
 html.pwa-mobile-app #history-view .history-map-card{padding:6px!important}
 html.pwa-mobile-app #history-view .history-map-host{height:100px!important;min-height:100px!important;border-radius:10px!important}
 html.pwa-mobile-app #history-view .history-events-card>.history-events-heading .history-events-heading-copy{display:none!important}
 html.pwa-mobile-app #history-view .history-events-card{padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs{min-height:36px!important}
 html.pwa-mobile-app #history-view .history-replay{display:grid!important;grid-template-columns:32px 1fr auto!important;gap:6px!important;padding:5px!important;border-radius:8px!important;background:#f4f5f6!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header{display:grid!important;grid-template-columns:36px minmax(0,1fr) 32px!important;align-items:center!important;min-height:44px!important;height:44px!important;padding:0 8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-back{display:grid!important;place-items:center!important;width:32px!important;height:36px!important;min-height:36px!important;padding:0!important;border:0!important;background:transparent!important;color:#a9153b!important;font-size:23px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-close{width:32px!important;height:36px!important;min-height:36px!important;border:0!important;background:transparent!important;color:#171b24!important;font-size:23px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header>div{min-width:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header h2{font-size:15px!important;line-height:1.1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header p{font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context{display:grid!important;grid-template-columns:36px auto 1fr!important;align-items:center!important;gap:7px!important;min-height:40px!important;padding:0 10px!important;border-bottom:1px solid #e1e2e5!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context[hidden]{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context-icon{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;border-radius:7px!important;background:#f6e9ed!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context-icon svg{width:25px!important;height:25px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context strong{font-size:11px!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-context small{font-size:10px!important;color:#454a52!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-swipe-hint{display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;height:26px!important;min-height:26px!important;margin:3px 8px!important;border-radius:7px!important;background:#f0f1f3!important;color:#30343a!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role=tab][aria-selected=true]{background:#a9153b!important;color:#fff!important;border-bottom-color:#a9153b!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role=tab][aria-selected=true] svg{color:#fff!important;stroke:#fff!important}
}
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-swipe-hint{display:flex!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-back{display:grid!important;grid-column:1!important;grid-row:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header>div{grid-column:2!important;grid-row:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-close{grid-column:3!important;grid-row:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-context,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-context,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-context{display:grid!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role=tab]{border-bottom:2px solid transparent!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role=tab][aria-selected=true]{background:#a9153b!important;border-radius:6px 6px 0 0!important;color:#fff!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-expiry-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-expiry-grid>.module-field{width:auto!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-expiry-grid input{box-sizing:border-box!important;width:100%!important;min-width:0!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-identity-grid input{box-sizing:border-box!important;width:100%!important;min-width:0!important}
}
@media (max-width:768px){
 html.pwa-mobile-app .map-pwa-brandbar{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:45!important;display:grid!important;grid-template-columns:38px minmax(0,1fr) 38px!important;align-items:center!important;height:62px!important;padding:0 12px!important;border-bottom:1px solid #dedfe3!important;background:#fff!important}
 html.pwa-mobile-app .map-pwa-brandbar button{width:34px!important;height:38px!important;min-height:38px!important;border:0!important;background:transparent!important;color:#171b24!important;font-size:20px!important}
 html.pwa-mobile-app .map-pwa-brandbar strong{justify-self:center!important;white-space:nowrap!important;color:#171b24!important;font-size:16px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.4px!important}
 html.pwa-mobile-app .map-pwa-brandbar strong::first-letter{color:#a9153b!important}
 html.pwa-mobile-app .map-pwa-brandbar>span{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-pwa-brandbar,html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar{display:grid!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::before,html.pwa-mobile-app dialog.share-creation-dialog[open]::before,html.pwa-mobile-app dialog.map-share-dialog[open]::after,html.pwa-mobile-app dialog.share-creation-dialog[open]::after{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-row{grid-template-columns:32px minmax(0,1fr) auto!important;align-items:start!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-link-icon{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:6px!important;background:#f0f1f3!important;color:#4b5057!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-link-icon svg{width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-title{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-details{display:grid!important;gap:5px!important;margin-top:8px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-detail-line{display:flex!important;align-items:flex-start!important;gap:7px!important;margin:0!important;font-size:11px!important;line-height:1.35!important;color:#262a30!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-detail-line svg{flex:0 0 17px!important;width:17px!important;height:17px!important;fill:none!important;stroke:#535860!important;stroke-width:1.7!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions{grid-column:2/4!important;justify-self:end!important}
}
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-row{min-height:94px!important;padding:9px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions{grid-column:3!important;grid-row:2!important;align-self:center!important;justify-self:end!important;min-height:28px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions .button{min-height:32px!important;height:32px!important;padding:0 11px!important;border:1px solid #a9153b!important;border-radius:7px!important;background:#fff!important;color:#a9153b!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-main p{padding-left:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-list{gap:10px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-revoked{background:#f9e8eb!important;color:#8f1933!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-active{background:#e1f4e5!important;color:#246f31!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-expired{background:#e8e9eb!important;color:#33373d!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{margin:0 0 8px!important;line-height:1.25!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select{height:34px!important;min-height:34px!important;font-size:12px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"] .map-vehicle-body{padding-top:8px!important}
}
@media (max-width:768px){
 html.pwa-mobile-app .map-pwa-brandbar[hidden]{display:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-pwa-brandbar:not([hidden]),html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar:not([hidden]){display:grid!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-header .map-vehicle-back:not([hidden]){display:grid!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-swipe-hint:not([hidden]){display:flex!important}
 html.pwa-mobile-app #history-view .history-mobile-selected-date[hidden]{display:none!important}
 }

@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:14px 32px 14px 32px 32px!important;gap:4px!important;max-height:none!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices::before{content:'Comunicação';grid-column:1/-1!important;grid-row:1!important;align-self:end!important;font-size:11px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices::after{content:'Movimento                         Ignição';grid-column:1/-1!important;grid-row:3!important;white-space:pre!important;font-size:10px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button{height:32px!important;min-height:32px!important;padding:2px 3px!important;border:1px solid #d8dbe0!important;border-radius:7px!important;background:#fff!important;color:#252a31!important;font-size:9px!important;line-height:1.05!important;white-space:normal!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button[aria-pressed="true"]{background:#a9153b!important;border-color:#a9153b!important;color:#fff!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(1){grid-row:2;grid-column:2}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(2){grid-row:2;grid-column:3}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(3){grid-row:2;grid-column:4}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(6){grid-row:2;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(7){grid-row:4;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(8){grid-row:4;grid-column:2}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(9){grid-row:4;grid-column:3}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(10){grid-row:4;grid-column:4}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(4){grid-row:5;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel .vehicle-filter-choices button:nth-child(5){grid-row:5;grid-column:2}
}

/* Ajuste final das telas 5 e 7–12: elimina o deslocamento duplicado do diálogo
   e aproxima a densidade dos formulários da referência aprovada. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.share-creation-dialog[open]{padding-top:0!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-header{margin-top:0!important;min-height:48px!important;height:48px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-body{padding-top:8px!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form .module-field{margin:0 0 8px!important;line-height:1.2!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-form input:not([type=checkbox]){height:36px!important;min-height:36px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{padding:6px 8px 8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section{padding:8px!important;border-color:#dedfe3!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section h3{margin:0 0 6px!important;font-size:14px!important;line-height:1.2!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section .module-field{margin:0 0 5px!important;line-height:1.15!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section input:not([type=checkbox]),
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section select,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea{height:31px!important;min-height:31px!important;padding:4px 8px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-section textarea{height:62px!important;min-height:62px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:8px!important;row-gap:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>h3,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>label:nth-of-type(-n+4),
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>label:nth-of-type(n+7),
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>.map-vehicle-counter-grid,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>.map-vehicle-note{grid-column:1/-1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>.map-vehicle-counter-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important;margin-top:2px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-counter-card{min-width:0!important;padding:6px!important;border:1px solid #d8dbe0!important;border-radius:8px!important;background:#f7f8fa!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-data-section>.map-vehicle-note{font-size:9px!important;line-height:1.25!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]::before{content:'⌖  Rastreia Tracker  MAPA'!important;background:#a9153b!important;color:#fff!important;letter-spacing:0!important;font-size:13px!important;font-style:normal!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-section{padding:7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-grid{gap:5px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-footer,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-footer,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-footer{padding-bottom:max(7px,env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #history-view .history-map-card{height:100px!important;min-height:100px!important}
 html.pwa-mobile-app #history-view .history-map-host{height:100px!important;min-height:100px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-tabs [role=tab][aria-selected=true],
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer .button-primary,
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-footer .button-primary{background:#a9153b!important;border-color:#a9153b!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer .button-secondary,
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-dialog-footer .button-secondary{background:#f0f1f4!important;border-color:#f0f1f4!important;color:#242832!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]::before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]::before{content:'●  Rastreia Tracker  MAPA'!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #mobile-vehicles-sheet{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading{display:flex!important;position:relative!important;align-items:center!important;justify-content:space-between!important;flex:none!important;height:30px!important;min-height:30px!important;margin:0 0 6px!important;padding:0!important;background:#fff!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading>div{display:block!important;min-width:0!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading h1{display:block!important;margin:0!important;font-size:16px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading p{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading>.vehicle-panel-close{position:static!important;inset:auto!important;transform:none!important;display:grid!important;place-items:center!important;flex:none!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;border:0!important;border-radius:7px!important;background:transparent!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading>.vehicle-panel-close svg{display:block!important;width:19px!important;height:19px!important;stroke:currentColor!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel>.panel-heading>.vehicle-panel-close::before{display:none!important;content:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options:not([hidden]){position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:5px!important;max-height:205px!important;margin:0 0 7px!important;padding:7px!important;overflow:auto!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options>label{display:grid!important;grid-template-columns:56px minmax(0,1fr)!important;align-items:center!important;gap:5px!important;margin:0!important;font-size:10px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #filter-options>label select{height:30px!important;min-height:30px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:14px 32px 14px 32px 32px!important;gap:4px!important;max-height:none!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices::before{content:'Comunicação';grid-column:1/-1!important;grid-row:1!important;align-self:end!important;font-size:11px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices::after{content:'Movimento                                      Ignição';grid-column:1/-1!important;grid-row:3!important;margin:0!important;white-space:pre!important;font-size:10px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button{height:32px!important;min-height:32px!important;padding:2px 3px!important;border:1px solid #d8dbe0!important;border-radius:7px!important;background:#fff!important;color:#252a31!important;font-size:9px!important;line-height:1.05!important;white-space:normal!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button[aria-pressed="true"]{background:#a9153b!important;border-color:#a9153b!important;color:#fff!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(1){grid-row:2;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(2){grid-row:2;grid-column:2}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(3){grid-row:2;grid-column:3}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(6){grid-row:2;grid-column:4}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(7){grid-row:4;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(8){grid-row:4;grid-column:2}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(9){grid-row:4;grid-column:3}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(10){grid-row:4;grid-column:4}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(4){grid-row:5;grid-column:1}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-choices button:nth-child(5){grid-row:5;grid-column:2}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel #vehicle-filter-note{grid-column:1/-1!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #workspace>.topbar .app-header-brand:after{background:linear-gradient(90deg,#a9153b 0 55%,#171b24 55% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-grid{display:grid!important;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;grid-template-rows:auto auto!important;align-items:stretch!important;gap:7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-live-preview{grid-column:1!important;grid-row:1/3!important;display:flex!important;min-width:0!important;flex-direction:column!important;justify-content:center!important;padding:8px!important;border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-live-preview strong{font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-preview-road{height:78px!important;min-height:78px!important;margin:6px 0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card{min-width:0!important;padding:7px!important;border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:first-child{grid-column:2!important;grid-row:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2){grid-column:2!important;grid-row:2!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card header{min-height:22px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatches{display:grid!important;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:3px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatch{width:100%!important;height:17px!important;min-height:17px!important;border-radius:4px!important}
}

/* Revisão de fidelidade das telas mobile aprovadas: marca existente e painéis 7, 11 e 12. */
@media (max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand{width:min(62vw,205px)!important;height:36px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:block!important;width:100%!important;max-width:205px!important;max-height:34px!important;object-fit:contain!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"] .map-vehicle-protection-note{display:flex!important;align-items:center!important;min-height:52px!important;margin:4px 0 9px!important;padding:9px 11px!important;border:1px solid #f0dce3!important;border-radius:9px!important;background:#f7e9ee!important;color:#34313a!important;font-size:12px!important;line-height:1.3!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="device"] .map-vehicle-protection-note:before{content:'♙';display:inline-grid;place-items:center;flex:none;width:28px;height:28px;margin-right:8px;border-radius:7px;color:#8c1839;font-size:19px}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-contact-grid{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-driver-summary{display:grid!important;gap:8px!important;margin:5px 0 11px!important;padding:12px!important;border:1px solid #e1e3e7!important;border-radius:10px!important;background:#eef0f3!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-driver-summary-row{display:grid!important;gap:1px!important;min-width:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-driver-summary-row span{font-size:11px!important;color:#343945!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-driver-summary-row strong{overflow-wrap:anywhere!important;font-size:12px!important;font-weight:700!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-contact-section>label:has(select[name="driverId"]){margin-top:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-contact-section>.map-vehicle-note{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]:before{content:'⌖  Rastreia Tracker  MAPA'!important}
}

/* Proporções refinadas para a paleta e cabeçalho das referências aprovadas. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after{display:block!important;content:'Rastreia Tracker'!important;color:#171b24!important;font-size:16px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.55px!important;white-space:nowrap!important;background:linear-gradient(90deg,#a9153b 0 45%,#171b24 45% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatches:not([hidden]){display:flex!important;flex-wrap:nowrap!important;gap:4px!important;max-width:100%!important;overflow-x:auto!important;padding:2px 0!important;scrollbar-width:thin!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatch{flex:0 0 21px!important;width:21px!important;height:19px!important;min-width:21px!important;min-height:19px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-live-preview{align-self:start!important;min-height:142px!important;max-height:160px!important;grid-row:1/3!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-preview-road{height:70px!important;min-height:70px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]:before{content:'●  Rastreia Tracker  MAPA'!important}
}

@media(max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatches[hidden]{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2) .map-vehicle-color-preview,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2) .map-vehicle-color-custom{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2){align-self:start!important;min-height:44px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2) header{min-height:32px!important}
}

@media(max-width:768px){
 html.pwa-mobile-app body:has(dialog.share-creation-dialog[open]) #workspace>.topbar,
 html.pwa-mobile-app body:has(dialog.map-share-dialog[open]) #workspace>.topbar{display:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar,
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-pwa-brandbar{z-index:1200!important;display:grid!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar[hidden],
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-pwa-brandbar[hidden]{display:grid!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar strong,
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-pwa-brandbar strong{color:#171b24!important}
}

@media(max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card{display:grid!important;grid-template-columns:minmax(0,1fr) 28px!important;grid-template-rows:auto auto auto!important;align-items:center!important;gap:5px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card header{grid-column:1/-1!important;grid-row:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-preview{grid-column:2!important;grid-row:2!important;width:25px!important;height:25px!important;min-height:25px!important;border:1px solid #d6d8dc!important;border-radius:6px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-custom{grid-column:1!important;grid-row:2!important;display:flex!important;align-items:center!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-custom>span,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-custom>input[type="color"]{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-custom .map-vehicle-color-hex{display:block!important;width:100%!important;height:29px!important;min-height:29px!important;padding:0 8px!important;border:1px solid #d8dbe0!important;border-radius:6px!important;background:#fff!important;color:#252a31!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card .map-vehicle-color-swatches{grid-column:1/-1!important;grid-row:3!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2) .map-vehicle-color-preview,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="appearance"] .map-vehicle-color-card:nth-child(2) .map-vehicle-color-custom{display:none!important}
}

dialog.map-vehicle-dialog .map-vehicle-color-hex{display:none}

@media(max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details{margin:0 0 7px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#fff!important;overflow:hidden!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details>summary{display:flex!important;align-items:center!important;min-height:38px!important;padding:0 10px!important;background:#f7f8fa!important;color:#171b24!important;font-size:11px!important;font-weight:700!important;list-style:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details>summary::-webkit-details-marker{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details[open]>.map-vehicle-installation-grid,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details[open]>.map-vehicle-installation-meta{display:grid!important;gap:5px!important;margin:0!important;padding:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary{justify-content:space-between!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>div,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>p{margin:0!important;padding:8px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-section>.map-vehicle-note{margin:5px 0!important;font-size:9px!important;line-height:1.3!important}
}

@media(max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-swipe-hint,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-swipe-hint,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-swipe-hint{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-tabs,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-tabs,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-tabs{min-height:40px!important;height:40px!important}
}

@media(max-width:768px){
 html.pwa-mobile-app #history-view #history-status[data-level="success"]{display:none!important}
}

@media(max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"]:before,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"]:before{content:'Rastreia Tracker  MAPA'!important;padding-left:39px!important;background-color:#a9153b!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:12px center!important;background-size:18px 18px!important}
}

dialog.map-vehicle-dialog .map-vehicle-driver-summary{display:none}

@media(max-width:768px){
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar .app-header-brand{width:min(70vw,230px)!important;height:36px!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:none!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar .app-header-brand:after{display:block!important;content:'Rastreia Tracker'!important;font-size:16px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.55px!important;white-space:nowrap!important;background:linear-gradient(90deg,#a9153b 0 45%,#171b24 45% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important}
}

/* O rodapé do editor permanece acessível em todas as abas, mesmo quando o formulário rola. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form{position:relative!important;min-height:0!important;height:var(--pwa-viewport-height, 100dvh)!important;max-height:var(--pwa-viewport-height, 100dvh)!important;overflow:hidden!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;padding-bottom:16px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer{position:relative!important;z-index:20!important;display:grid!important;grid-template-columns:1fr 1.2fr!important;flex:none!important;gap:8px!important;min-height:54px!important;margin:0!important;padding:7px 12px max(7px,env(safe-area-inset-bottom))!important;border-top:1px solid #dedfe3!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer .button{width:100%!important;min-width:0!important;height:38px!important;min-height:38px!important;padding:0 8px!important;border-radius:8px!important;font-size:11px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-form-status:not([hidden]){position:sticky!important;bottom:54px!important;z-index:19!important;flex:none!important;margin:0 8px!important}
}

/* A lista de links recebe a mesma moldura de navegação PWA da criação de compartilhamento. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-share-dialog[open]{padding-top:62px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::before{content:'☰  Menu'!important;position:fixed!important;z-index:40!important;top:0!important;right:0!important;left:0!important;display:flex!important;align-items:center!important;height:62px!important;padding:0 14px!important;border-bottom:1px solid #dedfe3!important;background:#fff!important;color:#30343a!important;font-size:13px!important;font-weight:500!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::after{content:'Rastreia Tracker'!important;position:fixed!important;z-index:41!important;top:0!important;left:90px!important;right:45px!important;display:flex!important;align-items:center!important;justify-content:center!important;height:62px!important;color:#171b24!important;font-size:15px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.4px!important;background:linear-gradient(90deg,#a9153b 0 46%,#171b24 46% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header::after{content:'RT'!important;position:fixed!important;z-index:42!important;top:13px!important;right:12px!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header{min-height:48px!important;height:48px!important;padding:0 12px!important}
}

/* Instalação: preserva todos os campos e organiza a verificação em linhas compactas. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-section>h3{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details{margin:0 0 5px!important;border:1px solid #d8dbe0!important;border-radius:8px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details>summary{min-height:28px!important;padding:5px 8px!important;font-size:10px!important;font-weight:700!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details .module-field{margin:4px 0!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details select{height:27px!important;min-height:27px!important;margin-top:2px!important;padding:0 6px!important;font-size:10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photos>h4{margin:0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary{min-height:28px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-count{min-height:45px!important;padding:5px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-checklist-title{margin:4px 0!important;font-size:15px!important;line-height:1.15!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:3px 6px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field{min-width:0!important;margin:0!important;font-size:9px!important;line-height:1.05!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(5){grid-column:1/-1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(n+6){grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr) 132px!important;align-items:center!important;gap:5px!important;min-height:24px!important;padding:1px 3px!important;border-bottom:1px solid #e5e6e9!important;font-size:10px!important;font-weight:600!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field select{box-sizing:border-box!important;width:100%!important;height:25px!important;min-height:25px!important;margin:0!important;padding:0 5px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(5) textarea{height:38px!important;min-height:38px!important;margin-top:2px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.vehicle-installation-save,html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.vehicle-installation-feedback{grid-column:1/-1!important;min-height:30px!important;margin:3px 0!important}
}

/* Cabeçalho Android do editor: o veículo aparece uma vez na faixa de contexto. */
@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-header,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-header,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-header{min-height:38px!important;height:38px!important;padding:3px 10px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="chip"] .map-vehicle-header p,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="driver"] .map-vehicle-header p,
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-header p{display:none!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details .module-field{margin:2px 0!important;font-size:8px!important;line-height:1.05!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details select{height:24px!important;min-height:24px!important;margin-top:1px!important;padding:0 5px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary{display:flex!important;align-items:center!important;min-height:26px!important;padding:3px 7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary h4{display:flex!important;align-items:center!important;gap:4px!important;margin:0!important;font-size:10px!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary .map-vehicle-photos-icon{display:inline-grid!important;place-items:center!important;width:13px!important;height:13px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photos{margin-bottom:4px!important}
}

@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-count{min-height:30px!important;height:30px!important;padding:3px 4px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-count-icon{width:20px!important;height:20px!important;font-size:12px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-count-copy small{font-size:7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-count-copy strong{font-size:12px!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-summary{gap:4px!important;margin:0 0 4px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details>summary{min-height:23px!important;padding:3px 7px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details .module-field{margin:1px 0!important;font-size:7px!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details select{height:21px!important;min-height:21px!important;margin-top:1px!important;padding:0 4px!important;font-size:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-details .map-vehicle-installation-grid{gap:2px 5px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary{min-height:22px!important;padding:2px 6px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-checklist-title{margin:2px 0!important;font-size:13px!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field{font-size:7px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field input:not([type=checkbox]),html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field select{height:21px!important;min-height:21px!important;font-size:8px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(n+6){min-height:19px!important;padding:0 2px!important;font-size:9px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(n+6) select{height:19px!important;min-height:19px!important;font-size:8px!important}
}

@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-footer{position:fixed!important;right:0!important;bottom:max(8px,env(safe-area-inset-bottom))!important;left:0!important;min-height:54px!important;padding:7px 12px!important;background:#fff!important;box-shadow:0 -3px 12px #17202a12!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open] .map-vehicle-body{padding-bottom:82px!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(n+6){min-height:17px!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .vehicle-installation-form>.module-field:nth-of-type(n+6) select{height:17px!important;min-height:17px!important}
}

@media (max-width:768px){
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-installation-photo-details>summary h4{flex:1 1 auto!important;justify-content:flex-start!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-photos-icon{position:relative!important;flex:none!important;width:13px!important;height:13px!important;margin:0 4px 0 0!important}
 html.pwa-mobile-app dialog.map-vehicle-dialog[open][data-editor-tab="installation"] .map-vehicle-photos-icon svg{position:static!important;width:13px!important;height:13px!important;transform:none!important}
}

/* Proposta móvel 2026-11-23: mapa, cercas, histórico e alertas. Escopo PWA/mobile. */
@media (max-width:760px){
 html.pwa-mobile-app{--rt-primary:#991a43;--rt-primary-strong:#86143a;--rt-primary-soft:#f9e9ef;--rt-border:#dedee3;--rt-muted:#656873;--rt-text:#17181c;--rt-bg:#f4f4f6;--rt-shadow-md:0 7px 22px #22212a20;color:#17181c;background:#f4f4f6;font-size:14px;-webkit-text-size-adjust:100%}
 html.pwa-mobile-app body{background:#f4f4f6;color:#17181c}
 html.pwa-mobile-app .topbar{height:58px;min-height:58px;padding-top:env(safe-area-inset-top);background:#fff;border-bottom:1px solid #dedee3;box-shadow:0 1px 2px #12121a08}
 html.pwa-mobile-app .app-header-brand{min-width:0}
 html.pwa-mobile-app .app-header-brand img,html.pwa-mobile-app .app-header-brand .brand-logo-image{max-width:min(190px,54vw);height:30px;object-fit:contain}
 html.pwa-mobile-app #pwa-mobile-menu,html.pwa-mobile-app .topbar .header-icon-button,html.pwa-mobile-app .topbar .account-menu-button{min-width:42px;min-height:42px}
 html.pwa-mobile-app .pwa-mobile-nav{min-height:calc(66px + env(safe-area-inset-bottom));grid-template-columns:repeat(5,minmax(0,1fr));padding:4px max(5px,env(safe-area-inset-right)) max(4px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));border-top:1px solid #dedee3;background:#fff;box-shadow:0 -3px 12px #25202b0c}
 html.pwa-mobile-app .pwa-mobile-nav button{min-height:52px;gap:3px;border-radius:10px;color:#45464c;font-size:10px;font-weight:500}
 html.pwa-mobile-app .pwa-mobile-nav button[aria-current="page"]{background:#f9e8ee;color:#96183e;font-weight:700}
 html.pwa-mobile-app .pwa-mobile-nav .nav-icon{width:21px;height:21px;color:inherit}
 html.pwa-mobile-app .pwa-mobile-nav .nav-icon svg{width:21px;height:21px;stroke:currentColor}
 html.pwa-mobile-app button:not(.leaflet-control-zoom-in):not(.leaflet-control-zoom-out),html.pwa-mobile-app input,html.pwa-mobile-app select{touch-action:manipulation}
 html.pwa-mobile-app button{font-family:inherit}
 html.pwa-mobile-app .button,html.pwa-mobile-app .button-primary,html.pwa-mobile-app .button-secondary,html.pwa-mobile-app .button-danger{min-height:42px;border-radius:10px;font-size:13px;font-weight:650}
 html.pwa-mobile-app .button-primary,html.pwa-mobile-app .button-danger{border-color:#991a43;background:#991a43;color:#fff}
 html.pwa-mobile-app input:not([type=checkbox]):not([type=radio]):not([type=range]),html.pwa-mobile-app select,html.pwa-mobile-app textarea{min-height:42px;border-color:#d5d5db;border-radius:10px;background:#fff;color:#202127;font-size:14px}
 html.pwa-mobile-app #module-view,html.pwa-mobile-app #history-view{box-sizing:border-box;background:#f4f4f6}
 html.pwa-mobile-app #module-view:not([hidden]){padding:calc(max(7px,env(safe-area-inset-top)) + 58px) 13px calc(76px + env(safe-area-inset-bottom))}
 html.pwa-mobile-app #module-view>.module-header{min-height:42px;margin:0 0 10px;padding:0;border:0;background:transparent;box-shadow:none}
 html.pwa-mobile-app #module-view>.module-header>div:first-child{min-height:40px}
 html.pwa-mobile-app #module-view #module-title{color:#19191d;font-size:23px;font-weight:750;letter-spacing:-.35px}
 html.pwa-mobile-app #module-view #module-description{font-size:12px;line-height:1.35}
 html.pwa-mobile-app #module-view #module-refresh{width:40px;min-width:40px;height:40px;min-height:40px;border:1px solid #dedee3;border-radius:10px;background:#fff;color:#991a43}
 html.pwa-mobile-app #module-view #module-refresh svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
 html.pwa-mobile-app #module-status:empty{display:none}
 html.pwa-mobile-app .panel,html.pwa-mobile-app .module-card{border-color:#e0e0e5;border-radius:14px;background:#fff;box-shadow:0 1px 3px #15151a0a}
 html.pwa-mobile-app .module-filters{gap:8px;padding:10px;border:1px solid #e0e0e5;border-radius:13px;background:#fff}
 html.pwa-mobile-app .module-field,html.pwa-mobile-app .module-filters label{font-size:12px;font-weight:650}
 html.pwa-mobile-app .module-field input,html.pwa-mobile-app .module-filters input,html.pwa-mobile-app .module-filters select{width:100%;box-sizing:border-box}
 html.pwa-mobile-app #map-view{padding-top:calc(58px + env(safe-area-inset-top))}
 html.pwa-mobile-app .fleet-layout{background:#f4f4f6}
 html.pwa-mobile-app #map .leaflet-control-zoom a,html.pwa-mobile-app .map-layers-toggle,html.pwa-mobile-app .map-control{border-color:#d7d7de!important;color:#292a30!important;background:#fff!important;box-shadow:0 2px 7px #11111a18!important}
 html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded>.vehicle-panel{inset:auto 9px calc(74px + env(safe-area-inset-bottom));height:min(65dvh,570px);max-height:calc(100% - 88px);border-color:#dedee3;border-radius:22px;background:#fff;box-shadow:0 8px 28px #17151b28}
 html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading{min-height:54px;padding:7px 14px 8px}
 html.pwa-mobile-app .vehicles-sheet-expanded .panel-heading h1{font-size:18px;font-weight:750}
 html.pwa-mobile-app .vehicles-sheet-expanded .list-tools{display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:8px;padding:0 12px 9px}
 html.pwa-mobile-app .vehicles-sheet-expanded .list-tools .search-input{min-height:42px;border-radius:10px;font-size:14px}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-add{width:44px;min-width:44px;height:42px;min-height:42px;border-radius:10px;background:#991a43;color:#fff}
 html.pwa-mobile-app .vehicles-sheet-expanded #filter-toggle{grid-column:1/-1;min-height:42px;border:1px solid #e0e0e5;border-radius:10px;background:#fafafd;color:#22232a;font-size:14px;font-weight:700}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-list{padding:0 10px max(12px,env(safe-area-inset-bottom))}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle{display:grid;grid-template-columns:52px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:82px;padding:10px 8px;border:1px solid #e2e2e7;border-radius:13px;background:#fff}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-name{font-size:15px;font-weight:750;white-space:normal;overflow-wrap:anywhere}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle small,html.pwa-mobile-app .vehicles-sheet-expanded .vehicle .vehicle-meta{font-size:12px}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-functions{gap:5px}
 html.pwa-mobile-app .fleet-layout.has-selection>.vehicle-panel:has(>#vehicle-drawer.open:not(.vehicle-drawer-collapsed)){inset:auto 9px calc(74px + env(safe-area-inset-bottom));height:min(73dvh,620px);max-height:calc(100% - 88px);border-color:#dedee3;border-radius:22px;background:#fff}
 html.pwa-mobile-app #vehicle-panel>#vehicle-drawer.open>.vehicle-detail-scroll{padding:10px 12px 16px}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header{min-height:50px;background:#fff;color:#1b1b20}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header>strong{font-size:18px;font-weight:750}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header>button{min-width:42px;min-height:42px;color:#25262c}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-status,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-fact,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat{border-color:#e1e1e5;border-radius:12px;background:#fff}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-fact strong,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat strong{overflow-wrap:anywhere}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar{gap:6px}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon{min-height:50px;border:1px solid #e2e2e7;border-radius:10px;background:#fff;color:#8f153d;font-size:12px}
 html.pwa-mobile-app #vehicle-drawer details>summary,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-more-actions>summary{min-height:46px;border:1px solid #dedee3;border-radius:11px;background:#fafafd}
 html.pwa-mobile-app .vehicle-action-toast-host{right:12px;bottom:calc(76px + env(safe-area-inset-bottom));left:12px;width:auto;max-height:26dvh;overflow:auto;gap:5px;overscroll-behavior:contain}
 html.pwa-mobile-app .vehicle-action-toast{min-height:46px;max-height:90px;padding:7px 9px;border:1px solid #e2d5da;border-radius:11px;background:#fff;box-shadow:0 4px 15px #1b17201d}
 html.pwa-mobile-app .vehicle-action-toast strong{font-size:12px}
 html.pwa-mobile-app .vehicle-action-toast span:last-child{font-size:11px}

 /* Cercas: mapa em tela e folha inferior, com formulário completo no mesmo mapa. */
 html.pwa-mobile-app #module-view.geofences-view:not([hidden]){display:flex;flex-direction:column;padding:calc(max(7px,env(safe-area-inset-top)) + 58px) 13px calc(74px + env(safe-area-inset-bottom));overflow:hidden}
 html.pwa-mobile-app #module-view.geofences-view>.module-header{position:relative;z-index:3;flex:none;display:block;min-height:40px;margin:0;padding:0 45px 0 0}
 html.pwa-mobile-app #module-view.geofences-view>.module-header>div:first-child{min-height:38px;padding:0}
 html.pwa-mobile-app #module-view.geofences-view #module-title{display:block;font-size:23px;line-height:1.1}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:7px;margin:6px 0 8px}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-search,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{height:40px;min-height:40px;font-size:13px}
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{top:0;width:42px;height:42px;border-radius:11px;background:#991a43}
 html.pwa-mobile-app #module-view.geofences-view .geofences-workspace{display:flex;flex:1 1 auto;min-height:0;height:auto;margin:0 -13px}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{position:relative;display:block;flex:1;min-height:250px;height:auto;margin:0;overflow:hidden}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-panel{position:absolute;inset:0;width:auto;height:auto;min-height:0;border:0;border-radius:0}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map{position:absolute;inset:0;width:100%;height:100%}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{bottom:8px;left:12px;right:12px;max-height:min(38dvh,360px);padding:8px 11px 10px;border-color:#dedee3;border-radius:20px;background:#fff;box-shadow:0 5px 22px #17151b26}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-handle{height:26px;min-height:26px}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-count{margin:0 3px 6px;color:#19191d;font-size:18px;font-weight:750}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:4px 8px!important;padding:10px!important;border-color:#dedee3!important;border-radius:12px!important;background:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) strong{font-size:14px!important;white-space:normal!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2){background:#f4f4f6!important;color:#4d4d56!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2)[data-geometry-type="POLYGON"]{background:#f7e8ee!important;color:#98183f!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(6){grid-column:2;grid-row:1/3}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button,html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{width:40px;height:40px;min-width:40px;border-radius:10px;color:#991a43}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:has(.geofence-inline-editor:not([hidden])){max-height:min(74dvh,640px);overflow:auto;padding:7px 9px max(10px,env(safe-area-inset-bottom))}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor:not([hidden]){display:block!important;overflow-y:auto;max-height:calc(68dvh - 80px);padding:10px;border:1px solid #e1e1e5;border-radius:12px;background:#fff}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-vehicle-picker,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-block-automation,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-vehicle-location-status,html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-coordinate-summary{display:block!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;padding:4px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-draw-help{grid-column:1!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-map-location-actions{display:flex!important;flex-wrap:wrap;gap:6px}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-map-location-actions>.geofence-locate-vehicle{display:inline-flex!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form-actions{display:flex!important;gap:7px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor.is-drawing .geofence-inline-form-actions>.button{flex:1;min-height:42px!important;font-size:13px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-dialog{width:min(360px,calc(100vw - 28px))}

 /* Histórico: filtros compactos, cinco abas em faixa rolável e registros em cartões. */
 html.pwa-mobile-app #history-view:not([hidden]){padding:calc(max(7px,env(safe-area-inset-top)) + 58px) 13px calc(74px + env(safe-area-inset-bottom));overflow-y:auto}
 html.pwa-mobile-app #history-view .history-page-heading{position:relative;display:block;margin:0 0 8px;padding:0;border:0;background:transparent;box-shadow:none}
 html.pwa-mobile-app #history-view .history-page-heading .eyebrow,html.pwa-mobile-app #history-view .history-page-heading>div>p:not(.history-limit-note){display:none}
 html.pwa-mobile-app #history-view .history-page-heading h1{margin:0 0 7px;font-size:23px;font-weight:750;line-height:1.1}
 html.pwa-mobile-app #history-view .history-limit-note{margin:0 0 7px;padding:7px 9px;border-radius:9px;background:#eeeef1;color:#54555e;font-size:11px;line-height:1.35}
 html.pwa-mobile-app #history-view .history-query-overview{display:flex;flex-direction:column;gap:7px;margin:0 0 8px}
 html.pwa-mobile-app #history-view .history-query-overview>.history-metrics{order:3}
 html.pwa-mobile-app #history-view .history-query-overview .history-controls{order:1}
 html.pwa-mobile-app #history-view .history-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:9px;border:1px solid #e0e0e5;border-radius:12px;background:#fff}
 html.pwa-mobile-app #history-view .history-toolbar .history-period-label{font-size:14px;font-weight:750}
 html.pwa-mobile-app #history-view .history-toolbar input,html.pwa-mobile-app #history-view .history-toolbar select,html.pwa-mobile-app #history-view .history-mobile-date-button{min-height:40px;border-radius:9px;font-size:13px}
 html.pwa-mobile-app #history-view .history-actions{display:grid;grid-template-columns:1.15fr 1fr auto;gap:6px}
 html.pwa-mobile-app #history-view .history-actions .button{min-height:39px;padding:7px;font-size:12px}
 html.pwa-mobile-app #history-view .history-content{display:flex;flex-direction:column;gap:8px}
 html.pwa-mobile-app #history-view .history-map-card{order:1;min-height:88px;max-height:130px;overflow:hidden;border:1px solid #e0e0e5;border-radius:12px;background:#fff}
 html.pwa-mobile-app #history-view .history-map-card .section-heading{display:none}
 html.pwa-mobile-app #history-view .history-map-host{height:110px;min-height:88px;border-radius:10px}
 html.pwa-mobile-app #history-view .history-side{order:2;min-width:0}
 html.pwa-mobile-app #history-view .history-events-card{padding:9px;border:1px solid #e0e0e5;border-radius:12px;background:#fff}
 html.pwa-mobile-app #history-view .history-events-heading{display:block;margin:0 0 7px}
 html.pwa-mobile-app #history-view .history-events-heading h2{font-size:16px;font-weight:750}
 html.pwa-mobile-app #history-view .history-events-heading p{display:none}
 html.pwa-mobile-app #history-view #history-map-options{display:flex;gap:5px;overflow-x:auto}
 html.pwa-mobile-app #history-view .history-map-option{min-height:38px;white-space:nowrap;border:1px solid #e0e0e5;border-radius:9px;background:#fff;font-size:11px}
 html.pwa-mobile-app #history-view .content-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px 0 7px;scrollbar-width:none}
 html.pwa-mobile-app #history-view .content-tab{flex:1 0 auto;min-width:62px;min-height:39px;padding:6px 8px;border:1px solid #dedee3;border-radius:9px;background:#fff;color:#4c4c54;font-size:12px;font-weight:600}
 html.pwa-mobile-app #history-view .content-tab.active{border-color:#991a43;background:#991a43;color:#fff}
 html.pwa-mobile-app #history-view .history-result{min-height:90px}
 html.pwa-mobile-app #history-view .history-mobile-record{margin:5px 0;border:1px solid #e1e1e5;border-radius:11px;background:#fff}
 html.pwa-mobile-app #history-view .history-mobile-record>summary{min-height:48px;padding:8px 10px;font-size:13px}
 html.pwa-mobile-app #history-view .history-mobile-record-fields{padding:8px 10px;background:#f4f4f6;font-size:12px}
 html.pwa-mobile-app #history-view .history-mobile-map-action{min-height:40px}

 /* Central e configuração de Alertas: apresentação de cartões, detalhe e painéis completos. */
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-description{display:block;font-size:12px}
 html.pwa-mobile-app .alert-center-workspace{display:block;min-width:0}
 html.pwa-mobile-app .alert-tabs{display:none!important}
 html.pwa-mobile-app .alert-workspace-pane{min-width:0}
 html.pwa-mobile-app .alert-center-layout{display:flex;flex-direction:column;gap:8px}
 html.pwa-mobile-app .alert-main-column,html.pwa-mobile-app .alert-detail-slot{min-width:0}
 html.pwa-mobile-app .alert-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:7px;padding:9px}
 html.pwa-mobile-app .alert-filters .module-field,html.pwa-mobile-app .alert-filters label{min-width:0;font-size:12px}
 html.pwa-mobile-app .alert-filters input,html.pwa-mobile-app .alert-filters select{min-height:40px;font-size:13px}
 html.pwa-mobile-app .alert-advanced-filters{border-top:1px solid #eee;padding-top:7px}
 html.pwa-mobile-app .alert-advanced-filters>summary{min-height:38px;padding:9px;border-radius:8px;background:#f4f4f6;font-size:13px;font-weight:700}
 html.pwa-mobile-app .alert-advanced-fields{display:grid;gap:7px;padding-top:7px}
 html.pwa-mobile-app .alert-filter-actions{display:flex;gap:7px}
 html.pwa-mobile-app .alert-filter-actions .button{flex:1;min-height:40px}
 html.pwa-mobile-app .alert-severity-filter,html.pwa-mobile-app .alert-severity-options{display:flex;gap:5px;overflow-x:auto;padding:5px 0;scrollbar-width:none}
 html.pwa-mobile-app .alert-severity-filter button,html.pwa-mobile-app .alert-severity-options button{min-height:38px;flex:0 0 auto;border:1px solid #e0e0e5;border-radius:99px;background:#fff;font-size:12px}
 html.pwa-mobile-app .alert-severity-filter button[aria-pressed=true],html.pwa-mobile-app .alert-severity-options button[aria-pressed=true]{border-color:#991a43;background:#f9e9ef;color:#94163c}
 html.pwa-mobile-app .alert-results-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 html.pwa-mobile-app .alert-summary-card{display:grid;grid-template-columns:42px minmax(0,1fr);gap:8px;padding:11px;border:1px solid #e0e0e5;border-radius:13px;background:#fff}
 html.pwa-mobile-app .alert-summary-card .alert-row-select{grid-column:1/-1;min-height:36px}
 html.pwa-mobile-app .alert-summary-card .alert-event-copy{min-width:0}
 html.pwa-mobile-app .alert-summary-card strong{font-size:14px;line-height:1.25;overflow-wrap:anywhere}
 html.pwa-mobile-app .alert-summary-card small,html.pwa-mobile-app .alert-summary-card p{font-size:12px;line-height:1.35}
 html.pwa-mobile-app .alert-status-pill,html.pwa-mobile-app .alert-origin-badge{display:inline-flex;min-height:24px;align-items:center;padding:3px 8px;border-radius:99px;background:#eeeef1;color:#46464d;font-size:11px;font-weight:700}
 html.pwa-mobile-app .alert-status-pill.pending{background:#fff0c9;color:#805500}
 html.pwa-mobile-app .alert-status-pill.delivered,html.pwa-mobile-app .alert-status-pill.success{background:#e1f5e9;color:#17643a}
 html.pwa-mobile-app .alert-status-pill.failed,html.pwa-mobile-app .alert-status-pill.not-configured{background:#fde5e8;color:#9e2637}
 html.pwa-mobile-app .alert-detail-drawer,html.pwa-mobile-app .alert-detail-slot>.module-card{padding:10px;border:1px solid #e0e0e5;border-radius:14px;background:#fff;box-shadow:0 4px 18px #19161d17}
 html.pwa-mobile-app .alert-detail-event-name{font-size:17px;font-weight:750}
 html.pwa-mobile-app .alert-detail-fact{padding:8px 9px;border-bottom:1px solid #ededf0;font-size:12px}
 html.pwa-mobile-app .alert-detail-slot .module-card{margin-top:7px;padding:9px}
 html.pwa-mobile-app .alert-detail-slot details>summary,html.pwa-mobile-app .alert-detail-slot .section-heading{min-height:42px;font-size:13px;font-weight:700}
 html.pwa-mobile-app .alert-technical-id{overflow-wrap:anywhere;font-family:ui-monospace,monospace;font-size:11px}
 html.pwa-mobile-app .alert-configuration-tabs{display:flex;gap:4px;margin:0 -3px 8px;overflow-x:auto;padding:0 3px 6px;scrollbar-width:none}
 html.pwa-mobile-app .alert-configuration-tabs .alert-tab{flex:0 0 auto;min-width:64px;max-width:82px;min-height:48px;padding:5px 6px;border:1px solid #dedee3;border-radius:9px;background:#fff;color:#292a30;font-size:10px;line-height:1.15;white-space:normal}
 html.pwa-mobile-app .alert-configuration-tabs .alert-tab.active{border-color:#991a43;background:#991a43;color:#fff}
 html.pwa-mobile-app .alert-config-mode .alert-header-back{display:none}
 html.pwa-mobile-app .alert-rule-editor,html.pwa-mobile-app .alert-contact-form{display:grid;gap:8px;padding:10px;border:1px solid #dedee3;border-radius:13px;background:#fff}
 html.pwa-mobile-app .alert-rule-editor input,html.pwa-mobile-app .alert-rule-editor select,html.pwa-mobile-app .alert-contact-form input,html.pwa-mobile-app .alert-contact-form select{min-height:40px}
 html.pwa-mobile-app .alert-rule-editor details,html.pwa-mobile-app .alert-rule-editor .alert-form-section,html.pwa-mobile-app .alert-rule-editor .alert-form-step{padding:8px;border:1px solid #e2e2e7;border-radius:10px;background:#fff}
 html.pwa-mobile-app .alert-form-section-title{min-height:40px;background:#f4f4f6;font-size:13px;font-weight:750}
 html.pwa-mobile-app .alert-form-actions,html.pwa-mobile-app .alert-contact-form-actions{position:sticky;bottom:calc(66px + env(safe-area-inset-bottom));z-index:5;display:flex;gap:7px;padding:7px;background:#fffffff2;border-top:1px solid #e1e1e5}
 html.pwa-mobile-app .alert-form-actions .button,html.pwa-mobile-app .alert-contact-form-actions .button{flex:1;min-height:43px}
 html.pwa-mobile-app .alert-channel-readiness{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 html.pwa-mobile-app .alert-channel-status{display:grid;grid-template-columns:1fr auto;gap:4px;padding:8px;border:1px solid #e0e0e5;border-radius:10px;background:#fff;font-size:11px}
 html.pwa-mobile-app .alert-channel-status strong{font-size:12px}
 html.pwa-mobile-app .alert-table-actions,html.pwa-mobile-app .alert-rule-actions{display:flex;flex-wrap:wrap;gap:5px}
 html.pwa-mobile-app .alert-table-actions .button,html.pwa-mobile-app .alert-rule-actions .button{min-height:38px;padding:6px 9px;font-size:11px}
 html.pwa-mobile-app .alert-pagination{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 0}
 html.pwa-mobile-app .alert-pagination .button{min-height:40px}
 html.pwa-mobile-app .alert-contact-form-actions{position:static}
 html.pwa-mobile-app .alert-diagnostic-results,html.pwa-mobile-app .alert-diagnostic-filters{min-width:0}
 html.pwa-mobile-app .alert-diagnostic-filters{display:grid;gap:7px;padding:9px;border-radius:11px;background:#f6f6f8}
 html.pwa-mobile-app .alert-diagnostic-results table{font-size:12px}
 html.pwa-mobile-app :is(#history-view,#module-view) :focus-visible{outline:3px solid #bd6b87;outline-offset:2px}
}
@media(max-width:380px){
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle{grid-template-columns:44px minmax(0,1fr);}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-functions{grid-column:2;justify-content:flex-start}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{grid-template-columns:minmax(0,1fr)}
 html.pwa-mobile-app #history-view .history-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 html.pwa-mobile-app .alert-channel-readiness{grid-template-columns:minmax(0,1fr)}
}
@media(orientation:landscape) and (max-height:520px){
 html.pwa-mobile-app .pwa-mobile-nav{min-height:52px;grid-template-columns:repeat(5,minmax(0,1fr));padding-bottom:max(3px,env(safe-area-inset-bottom))}
 html.pwa-mobile-app #module-view:not([hidden]),html.pwa-mobile-app #history-view:not([hidden]){padding-top:calc(max(5px,env(safe-area-inset-top)) + 52px);padding-bottom:62px}
 html.pwa-mobile-app #module-view.geofences-view:not([hidden]){padding-bottom:62px}
 html.pwa-mobile-app .geofence-overview-list{max-height:42dvh!important}
 html.pwa-mobile-app .fleet-layout.vehicles-sheet-expanded>.vehicle-panel{height:min(68dvh,340px)}
}
@media(max-width:760px){
 html.pwa-mobile-app #pwa-mobile-nav{display:grid!important}
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #pwa-mobile-nav{display:grid!important}
 html.pwa-mobile-app #map-view:not([hidden]){inset:62px 0 calc(66px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #mobile-vehicles-sheet{bottom:calc(75px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel{bottom:calc(75px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{inset:72px 10px calc(76px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app #vehicle-panel>#vehicle-drawer.open{inset:72px 10px calc(76px + env(safe-area-inset-bottom))!important}
}
@media(max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{width:auto!important;min-width:92px!important;height:42px!important;padding:0 12px!important;background:#991a43!important;font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app .alert-summary{display:flex!important;gap:5px!important;overflow-x:auto!important;padding:6px 0!important;scrollbar-width:none!important}
 html.pwa-mobile-app .alert-summary-card{display:flex!important;flex:0 0 auto!important;min-width:62px!important;min-height:39px!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 8px!important;border:1px solid #e1e1e5!important;border-radius:99px!important;background:#fff!important;box-shadow:none!important;color:#373840!important}
 html.pwa-mobile-app .alert-summary-card .alert-kpi-icon{display:none!important}
 html.pwa-mobile-app .alert-summary-card>span:not(.alert-kpi-icon){font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app .alert-summary-card strong{font-size:12px!important}
 html.pwa-mobile-app .alert-summary-card[aria-pressed=true]{border-color:#991a43!important;background:#f9e8ee!important;color:#90163c!important}
 html.pwa-mobile-app .alert-detail-open .alert-main-column{display:none!important}
 html.pwa-mobile-app .alert-detail-open .alert-center-layout{display:block!important}
 html.pwa-mobile-app .alert-detail-open .alert-detail-slot{display:block!important}
 html.pwa-mobile-app .alert-detail-open .alert-detail-drawer{min-height:calc(var(--pwa-viewport-height, 100dvh) - 230px)!important}
 html.pwa-mobile-app .alert-detail-back{width:auto!important;min-height:40px!important;margin:0 0 8px!important;padding:5px 10px!important;color:#92163d!important}
 html.pwa-mobile-app .alert-config-mode .alert-header-back{display:grid!important;position:absolute!important;top:0!important;right:46px!important;place-items:center!important;width:40px!important;height:40px!important;min-height:40px!important;overflow:hidden!important;padding:0!important;border:1px solid #dedee3!important;border-radius:10px!important;background:#fff!important;color:transparent!important;font-size:0!important}
 html.pwa-mobile-app .alert-config-mode .alert-header-back:before{content:'←';color:#98183f;font-size:22px;font-weight:600}
 html.pwa-mobile-app #module-view.alerts-view .module-header{position:relative!important}
}
@media(max-width:760px){
 html.pwa-mobile-app #workspace>.topbar{display:flex!important;justify-content:flex-start!important;gap:10px!important;padding-left:12px!important;padding-right:10px!important}
 html.pwa-mobile-app #pwa-mobile-menu{display:none!important}
 html.pwa-mobile-app #workspace .topbar .app-header-brand{flex:1 1 auto!important;min-width:0!important;margin-right:auto!important}
 html.pwa-mobile-app #workspace .topbar .app-header-brand img{display:block!important;width:auto!important;max-width:180px!important;height:32px!important;object-fit:contain!important;object-position:left center!important}
 html.pwa-mobile-app #workspace .topbar .top-metrics{display:none!important}
 html.pwa-mobile-app #workspace .topbar #notification-settings{display:block!important;position:static!important;flex:none!important;margin:0!important}
 html.pwa-mobile-app #workspace .topbar #notification-menu-button{display:grid!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;place-items:center!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#991a43!important}
 html.pwa-mobile-app #workspace .topbar #notification-menu-button svg{width:21px!important;height:21px!important}
 html.pwa-mobile-app #workspace .topbar .top-profile{display:none!important}
 html.pwa-mobile-app #workspace .topbar #account-area{display:block!important;flex:none!important;margin:0!important}
 html.pwa-mobile-app #workspace .topbar #account-menu-button{display:grid!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;place-items:center!important;overflow:hidden!important;padding:0!important;border:0!important;border-radius:50%!important;background:#991a43!important;color:#fff!important;font-size:0!important}
 html.pwa-mobile-app #workspace .topbar #account-menu-button svg,html.pwa-mobile-app #workspace .topbar #account-menu-button span{display:none!important}
 html.pwa-mobile-app #workspace .topbar #account-menu-button:before{content:'RT';font-size:13px;font-weight:700}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary{display:flex!important;grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:max-content!important;gap:5px!important;overflow-x:auto!important;padding:6px 0!important;scrollbar-width:none!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi{display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important;flex:0 0 auto!important;min-width:62px!important;min-height:39px!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:5px 8px!important;border:1px solid #e1e1e5!important;border-radius:99px!important;background:#fff!important;box-shadow:none!important;color:#373840!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi .alert-kpi-icon{display:none!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>span:nth-child(2){display:inline!important;min-width:0!important;text-align:center!important;font-size:11px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>strong{font-size:12px!important;color:inherit!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi[aria-pressed=true]{border-color:#991a43!important;background:#f9e8ee!important;color:#90163c!important}
 html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-main-column{display:none!important}
 html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-slot{position:fixed!important;inset:58px 0 calc(66px + env(safe-area-inset-bottom))!important;z-index:750!important;display:block!important;overflow:auto!important;padding:10px 12px!important;background:#f4f4f6!important}
 html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-drawer{position:static!important;width:auto!important;max-width:none!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:10px!important;border:1px solid #dedee3!important;border-radius:14px!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-drawer>h2{margin:2px 0 8px!important;font-size:18px!important}
 html.pwa-mobile-app #module-view .alert-configuration-tabs{flex-wrap:nowrap!important;justify-content:flex-start!important;width:100%!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}
 html.pwa-mobile-app #module-view .alert-configuration-tabs .alert-tab{flex:0 0 64px!important;width:64px!important;min-width:64px!important;max-width:70px!important}
 html.pwa-mobile-app #module-view .alert-rule-editor{grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;align-items:stretch!important}
 html.pwa-mobile-app #module-view .alert-rule-editor>*{grid-column:1!important}
}
@media(max-width:760px){
 html.pwa-mobile-app #workspace>.topbar button#pwa-mobile-menu{display:none!important;width:0!important;min-width:0!important;padding:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img,
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar .app-header-brand img,
 html.pwa-mobile-app body:has(#module-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:block!important;width:auto!important;max-width:180px!important;height:32px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after,
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar .app-header-brand:after,
 html.pwa-mobile-app body:has(#module-view:not([hidden])) #workspace>.topbar .app-header-brand:after{display:none!important;content:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{background:#991a43!important;color:#fff!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi{width:max-content!important;min-width:max-content!important;max-width:none!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>span:nth-child(2){overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace.alert-config-mode) .alert-header-back{display:grid!important;position:absolute!important;top:0!important;right:46px!important;place-items:center!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;border:1px solid #dedee3!important;border-radius:10px!important;background:#fff!important;color:transparent!important;font-size:0!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace.alert-config-mode) .alert-header-back:before{content:'←';color:#98183f;font-size:22px;font-weight:600}
 html.pwa-mobile-app #module-view:has(.alert-rule-editor){padding-bottom:calc(158px + env(safe-area-inset-bottom))!important}
 html.pwa-mobile-app .alert-rule-editor>.alert-form-actions{position:fixed!important;right:12px!important;bottom:calc(66px + env(safe-area-inset-bottom))!important;left:12px!important;z-index:780!important;display:flex!important;gap:7px!important;padding:8px!important;border:1px solid #e1e1e5!important;border-radius:12px!important;background:#fffffff5!important;box-shadow:0 3px 14px #17151b1a!important}
 html.pwa-mobile-app .alert-rule-editor>.alert-form-actions .button{flex:1!important;min-height:43px!important}
}
@media(max-width:760px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar button#pwa-mobile-menu,
 html.pwa-mobile-app body:has(#history-view:not([hidden])) #workspace>.topbar button#pwa-mobile-menu,
 html.pwa-mobile-app body:has(#module-view:not([hidden])) #workspace>.topbar button#pwa-mobile-menu{display:none!important;width:0!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi{width:max-content!important;min-width:max-content!important;flex-basis:max-content!important;padding-left:10px!important;padding-right:10px!important}
}
@media(max-width:760px){
 html.pwa-mobile-app #workspace>.topbar .app-header-brand{flex:0 0 174px!important;width:174px!important;min-width:174px!important;margin-left:0!important;margin-right:auto!important;justify-content:flex-start!important}
 html.pwa-mobile-app #workspace>.topbar .app-header-brand img{width:174px!important;max-width:174px!important;height:auto!important;max-height:34px!important;object-fit:contain!important;object-position:left center!important}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-options label,html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-choices button,html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-options select{font-size:12px!important;line-height:1.25!important}
 html.pwa-mobile-app .vehicles-sheet-expanded .vehicle-filter-choices button{min-height:42px!important;padding:7px 9px!important;border-radius:9px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-scroll{font-size:13px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-identity-row strong,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-header>strong{font-size:17px!important;line-height:1.25!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-status,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator strong,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat strong,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-fact strong{font-size:12px!important;line-height:1.25!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator small,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-stat small,html.pwa-mobile-app #vehicle-drawer .vehicle-detail-fact small{font-size:11px!important;line-height:1.25!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{min-height:62px!important;padding:7px!important}
 html.pwa-mobile-app #history-view .content-tab{flex:1 0 58px!important;min-width:58px!important;padding:5px 5px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>span:nth-child(2){margin-right:4px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>strong{margin-left:2px!important}
 html.pwa-mobile-app .alert-list-card .alert-data-table tbody td{background:#fff!important}
 html.pwa-mobile-app .alert-list-card .alert-select-row{border-bottom:1px solid #e5e5e9!important;background:#fff!important}
}

/* Tela aprovada de criação/edição de cerca: mapa próprio acima do formulário. */
@media(max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header{min-height:38px!important;margin-bottom:5px!important;padding-right:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>div:first-child{min-height:38px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-header-actions{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofences-workspace{display:block!important;position:relative!important;min-height:0!important;height:auto!important;flex:1 1 auto!important;margin:0 -13px!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:166px minmax(0,1fr)!important;position:absolute!important;inset:0!important;min-height:0!important;height:auto!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{display:block!important;position:relative!important;inset:auto!important;grid-row:1!important;width:auto!important;height:166px!important;min-height:166px!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list{position:relative!important;inset:auto!important;grid-row:2!important;display:flex!important;flex-direction:column!important;width:auto!important;height:100%!important;max-height:none!important;margin:0 10px!important;padding:8px!important;overflow:hidden!important;border:1px solid #dedee3!important;border-radius:14px 14px 0 0!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-handle,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-count,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-table-wrap,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-selection,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-hint{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor:not([hidden]){display:block!important;flex:1 1 auto!important;width:auto!important;height:100%!important;max-height:none!important;margin:0!important;padding:10px!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor h2,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor h3{margin:0 0 8px!important;font-size:18px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr:active,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr:focus-within{background:#f8e9ee!important;box-shadow:inset 3px 0 #a31943!important}
}


/* Revisão de fidelidade: cerca selecionada, filtros do Histórico e cartões de Alertas. */
@media(max-width:760px){
 html.pwa-mobile-app #history-view .history-page-heading{text-align:left!important;justify-items:start!important;align-items:start!important}
 html.pwa-mobile-app #history-view .history-page-heading h1{text-align:left!important;font-size:23px!important}
 html.pwa-mobile-app #history-view #history-mobile-selected-date{display:none!important}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle{position:absolute!important;right:0!important;top:0!important;width:34px!important;min-width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;font-size:0!important;color:transparent!important}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle:after{content:'⌃';display:block;color:#95183e;font-size:18px;font-weight:700}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:hover td,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:active td,
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:focus-within td{background:#f8e9ee!important;color:#25252a!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:hover td:nth-child(2){background:#f2e8ec!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{grid-template-rows:94px minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{height:94px!important;min-height:94px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor:not([hidden]){padding:7px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor label{gap:3px!important;margin-bottom:4px!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor input,
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor select{min-height:34px!important;height:34px!important;padding:5px 8px!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor .button{min-height:38px!important;padding:6px 8px!important;font-size:12px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table{display:block!important;width:100%!important;border:0!important;border-collapse:separate!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table thead{display:none!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody{display:grid!important;gap:7px!important;padding:5px 0!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-areas:'check event event' 'check date state' 'check vehicle vehicle' 'check severity action'!important;gap:5px 7px!important;position:relative!important;margin:0!important;padding:9px!important;border:1px solid #dedee3!important;border-radius:12px!important;background:#fff!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td{display:flex!important;align-items:center!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;white-space:normal!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(1){grid-area:check;align-self:start;justify-content:center}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(2){grid-area:date;color:#62626a!important;font-size:11px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(3){grid-area:event;gap:7px;color:#1b1b20!important;font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(4){grid-area:vehicle;color:#52525a!important;font-size:12px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(5){grid-area:severity;justify-self:start}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(6){grid-area:state;justify-self:end}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(7){grid-area:action;justify-self:end}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card .alert-row-icon{flex:0 0 34px;width:34px;height:34px;border-radius:9px;background:#f8e9ee;color:#98183f}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card .alert-origin-badge{display:none!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card .button{min-height:36px;padding:5px 10px!important;border-color:#a31943!important;color:#90173c!important}
}

@media(max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header{display:flex!important;align-items:center!important;gap:7px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>div:first-child{flex:1!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-back{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;border:0!important;background:transparent!important;color:#94183c!important;font-size:25px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor h3{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor .module-hint{margin:0 0 7px!important;padding:7px 9px!important;border-radius:8px!important;background:#eef0f5!important;color:#555963!important;font-size:11px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr{-webkit-tap-highlight-color:transparent!important}
}

@media(max-width:760px){html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:active,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:focus,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:focus-within,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody tr:hover{background-color:#f8e9ee!important;-webkit-tap-highlight-color:transparent!important}html.pwa-mobile-app #history-view .history-map-empty{display:none!important}}
@media(max-width:760px){html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-drawer{position:relative!important;padding-top:9px!important}html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-back{position:absolute!important;top:7px!important;left:7px!important;width:36px!important;min-width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:transparent!important;font-size:0!important}html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-back:before{content:'←';color:#98183f;font-size:24px;font-weight:500}html.pwa-mobile-app #module-view .alert-center-workspace.alert-detail-open .alert-detail-drawer>h2{margin:0 40px 8px!important;text-align:center!important;font-size:15px!important;line-height:36px!important}}

/* Mapa: composição alinhada à proposta aprovada; isolada da tela Mapa no PWA. */
@media (max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar{
  position:fixed!important;inset:0 0 auto!important;z-index:700!important;display:grid!important;
  grid-template-columns:38px minmax(0,1fr) 38px 38px!important;grid-template-areas:none!important;
  align-items:center!important;gap:4px!important;width:100%!important;height:62px!important;min-height:62px!important;
  padding:5px 10px!important;background:#fff!important;border-bottom:1px solid #e0e0e3!important;box-shadow:none!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #pwa-mobile-menu{
  grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#17191d!important;font-size:0!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #pwa-mobile-menu svg{display:block!important;width:24px!important;height:24px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand{
  grid-column:2!important;grid-row:1!important;justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;max-width:190px!important;min-width:0!important;height:40px!important;margin:0!important;overflow:visible!important;text-decoration:none!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:before{
  content:""!important;position:relative!important;display:block!important;flex:none!important;width:17px!important;height:17px!important;margin:0 6px 0 0!important;
  border-radius:50% 50% 50% 0!important;background:radial-gradient(circle at 50% 43%,#fff 0 22%,transparent 24%),#a9153b!important;transform:rotate(-45deg)!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after{
  content:"Rastreia Tracker"!important;display:block!important;background:linear-gradient(90deg,#17191d 0 56%,#a9153b 56% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important;color:transparent!important;
  font-family:Arial,sans-serif!important;font-size:16px!important;font-style:italic!important;font-weight:800!important;letter-spacing:-.55px!important;line-height:1!important;white-space:nowrap!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .top-metrics{display:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #notification-settings{
  grid-column:3!important;grid-row:1!important;display:block!important;position:static!important;width:38px!important;height:38px!important;margin:0!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #notification-menu-button{
  display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#17191d!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #notification-menu-button svg{width:22px!important;height:22px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #account-area{grid-column:4!important;grid-row:1!important;display:block!important;margin:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar #account-menu-button{width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;border:0!important;border-radius:50%!important;background:#a9153b!important;color:#fff!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-view:not([hidden]){inset:62px 0 0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools{top:78px!important;right:12px!important;left:12px!important;z-index:650!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools .search-input{
  height:44px!important;min-height:44px!important;padding:0 12px!important;border:1px solid #d6d6da!important;border-radius:11px!important;background:#fff!important;box-shadow:0 2px 5px #17191d18!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools .search-input>span{width:26px!important;color:#202124!important;font-size:21px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-search{height:42px!important;padding:0!important;color:#24262a!important;font-size:14px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-search::placeholder{color:#5f6368!important;opacity:1!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-toolbar{top:86px!important;right:12px!important;left:auto!important;z-index:480!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions{display:grid!important;grid-template-columns:42px!important;gap:7px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>*{
  display:grid!important;place-items:center!important;width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;border:1px solid #e0e0e3!important;border-radius:10px!important;background:#fff!important;color:#303238!important;box-shadow:0 2px 7px #20212426!important;font-size:22px!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>#map-refresh{display:grid!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>#map-refresh svg,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>#map-layers-toggle svg{width:22px!important;height:22px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet{
  right:8px!important;left:8px!important;bottom:calc(75px + env(safe-area-inset-bottom))!important;height:108px!important;min-height:108px!important;
  padding:9px 10px 8px!important;border:1px solid #d9dade!important;border-radius:20px!important;background:#fff!important;box-shadow:0 2px 9px #17191d1c!important
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:before{top:7px!important;width:44px!important;height:4px!important;background:#a6a7aa!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #pwa-mobile-nav{height:68px!important;background:#fff!important;border-top:1px solid #e0e0e3!important;box-shadow:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #pwa-mobile-nav button{color:#24262a!important;font-size:10px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #pwa-mobile-nav button[aria-current="page"]{background:#f5e8ec!important;color:#a9153b!important}
}

/* Ajuste de precedência do menu e da sequência de controles na tela Mapa. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar button#pwa-mobile-menu{display:grid!important;visibility:visible!important;grid-column:1!important;grid-row:1!important;width:38px!important;min-width:38px!important;height:38px!important;min-height:38px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel #map-refresh{order:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-layer-menu{order:1!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel #map-center{order:2!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel #map-zoom-in{order:3!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel #map-zoom-out{order:4!important}
 html.pwa-mobile-app .leaflet-tooltip.pwa-map-vehicle-label{padding:5px 9px!important;border:0!important;border-radius:6px!important;background:#a9153b!important;color:#fff!important;box-shadow:0 2px 5px #17191d38!important;font-size:12px!important;font-weight:700!important;line-height:1.2!important;white-space:nowrap!important}
 html.pwa-mobile-app .leaflet-tooltip-top.pwa-map-vehicle-label:before{border-top-color:#a9153b!important}
}

@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand{justify-self:start!important;max-width:none!important;width:auto!important;margin-left:6px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after{content:'Rastreia\A Tracker'!important;width:61px!important;white-space:pre!important;font-size:14px!important;line-height:13px!important;letter-spacing:-.35px!important;background:linear-gradient(to bottom,#17191d 0 49%,#a9153b 50% 100%)!important;background-clip:text!important;-webkit-background-clip:text!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet{text-align:left!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-heading{width:100%!important;min-height:20px!important;justify-content:space-between!important;text-align:left!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-heading strong{font-size:14px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-identity strong{font-size:12px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-identity small{font-size:10px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map .leaflet-tile{filter:saturate(.58) brightness(1.045)!important}
}

@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet{right:0!important;left:0!important;bottom:68px!important;height:115px!important;min-height:115px!important;border-radius:20px 20px 0 0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #pwa-mobile-nav svg{width:23px!important;height:23px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #pwa-mobile-nav button{font-size:11px!important}
}
@media(max-width:768px){html.pwa-mobile-app body:has(#map-view:not([hidden])) #map .vehicle-map-marker>.vehicle-directional-icon{width:52px!important;height:52px!important}}


/* Revisão móvel/PWA: ações identificadas semanticamente, listas mais legíveis e formulários acessíveis. */
@media(max-width:760px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #mobile-map-tools .mobile-vehicle-tools .search-input{display:none!important}
 html.pwa-mobile-app #vehicle-panel .list-tools .search-input input{min-height:44px!important;height:44px!important;font-size:14px!important}
 html.pwa-mobile-app #vehicle-panel .mobile-map-vehicle-card{min-height:70px!important;height:auto!important;padding:8px!important;column-gap:10px!important;font-size:13px!important}
 html.pwa-mobile-app #vehicle-panel .mobile-map-vehicle-card .mobile-map-vehicle-copy strong{font-size:14px!important;line-height:1.25!important}
 html.pwa-mobile-app #vehicle-panel .mobile-map-vehicle-card .mobile-map-vehicle-copy small{font-size:12px!important;line-height:1.3!important}
 html.pwa-mobile-app #vehicle-panel .mobile-map-vehicle-card .mobile-map-vehicle-status,html.pwa-mobile-app #vehicle-panel .mobile-map-vehicle-card .mobile-map-vehicle-motion{font-size:11px!important;min-height:26px!important}
 html.pwa-mobile-app #vehicle-panel .vehicle-filter-choices button{min-height:44px!important;font-size:12px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicators{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(58px,auto)!important;gap:6px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator{grid-template-columns:19px minmax(0,1fr)!important;grid-template-rows:auto auto!important;min-height:58px!important;height:auto!important;padding:6px!important;gap:2px 5px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;width:18px!important;height:18px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>small{display:block!important;grid-column:2!important;grid-row:1!important;max-width:none!important;font-size:10px!important;line-height:12px!important;white-space:normal!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;font-size:12px!important;line-height:14px!important;white-space:normal!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar button{min-height:44px!important;height:44px!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-action-label{display:inline!important;font-size:11px!important;line-height:1.15!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-drawer .vehicle-detail-iconbar button:after{content:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{font-size:13px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-card,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-list-card{padding:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list button{min-height:42px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor{padding-bottom:132px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{position:fixed!important;right:12px!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;left:12px!important;z-index:820!important;display:flex!important;gap:8px!important;padding:8px!important;border:1px solid #dedee3!important;border-radius:12px!important;background:#fffffff5!important;box-shadow:0 3px 14px #17151b1a!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{flex:1!important;min-height:44px!important}
 html.pwa-mobile-app #history-view .history-toolbar,html.pwa-mobile-app #history-controls-anchor{font-size:13px!important}
 html.pwa-mobile-app #history-view .history-toolbar button,html.pwa-mobile-app #history-controls-anchor button{min-height:42px!important;font-size:12px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody{gap:10px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row{min-height:102px!important;padding:12px!important;gap:7px 9px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(3){font-size:15px!important}
 html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(7) .button{display:inline-flex!important;min-width:82px!important;min-height:40px!important;align-items:center!important;justify-content:center!important;padding:7px 12px!important;font-size:12px!important;line-height:1.2!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-detail-drawer .alert-delivery-list{display:grid!important;gap:8px!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-detail-drawer .alert-delivery-card{padding:10px!important;border:1px solid #dedee3!important;border-radius:10px!important;background:#fff!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-delivery-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:7px!important;font-size:13px!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-delivery-state{padding:4px 8px!important;border-radius:999px!important;background:#eef0f5!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-delivery-fact{display:grid!important;grid-template-columns:minmax(82px,.65fr) minmax(0,1fr)!important;gap:6px!important;padding:4px 0!important;border-top:1px solid #eeeef1!important;font-size:11px!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-delivery-fact>span{color:#666!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-delivery-fact>strong{overflow-wrap:anywhere!important;font-weight:600!important}
 html.pwa-mobile-app #module-view:has(.alert-detail-drawer) .alert-detail-fact:has(+ .alert-detail-fact){overflow-wrap:anywhere!important}
 html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor>.alert-form-actions{flex-direction:row-reverse!important}
 html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor>.alert-form-actions .button{flex:1!important}
}


/* Ajustes desta rodada: somente a tela inicial Mapa no mobile/PWA. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools{display:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand{justify-self:center!important;width:min(42vw,172px)!important;max-width:172px!important;min-width:0!important;height:38px!important;margin:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:34px!important;object-fit:contain!important;object-position:center!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:before,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #workspace>.topbar .app-header-brand:after{display:none!important;content:none!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-toolbar{right:12px!important;left:auto!important;width:44px!important;margin-right:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions{width:44px!important;gap:8px!important;padding:0!important;align-items:stretch!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle{box-sizing:border-box!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;flex:0 0 44px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button{padding:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle{position:absolute!important;inset:0!important;transform:translate(-1px,-1px)!important;margin:0!important;display:grid!important;place-items:center!important;padding:0!important;border:1px solid #e0e0e3!important;border-radius:10px!important;background:#fff!important;color:#303238!important;box-shadow:0 2px 7px #20212426!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:0!important;right:8px!important;left:8px!important;bottom:68px!important;width:auto!important;height:78px!important;min-height:78px!important;padding:20px 14px 8px!important;border-radius:18px 18px 0 0!important;overflow:hidden!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:before{top:7px!important;left:calc(50% - 22px)!important;width:44px!important;height:4px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:none!important;width:100%!important;min-height:24px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-heading strong{display:block!important;margin:0!important;font-size:15px!important;line-height:20px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-chevron{display:block!important;font-size:17px!important;line-height:20px!important}
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-row,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet .pwa-vehicle-sheet-empty{display:none!important}
}

/* Acabamento visual da tela inicial Mapa: painel branco e eixo único dos controles. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:hover,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:focus,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:focus-visible,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:focus-within,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:active,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet[aria-expanded="true"],
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet[aria-pressed="true"]{
  background:#fff!important;background-color:#fff!important;background-image:none!important;
  -webkit-tap-highlight-color:transparent!important;
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu{
  position:relative!important;display:block!important;box-sizing:border-box!important;
  flex:0 0 44px!important;width:44px!important;min-width:44px!important;
  height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;
  border:0!important;align-self:stretch!important;
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle{
  position:absolute!important;inset:0!important;box-sizing:border-box!important;
  width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  margin:0!important;padding:0!important;transform:none!important;
  display:grid!important;place-items:center!important;border:1px solid #bfd0e6!important;
  border-radius:10px!important;background:#f0f5fc!important;color:#294f7c!important;
  box-shadow:0 2px 8px #10244024!important;
 }
}
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button:hover,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button:focus-visible,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:hover,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:focus-visible,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>button:active,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:active{
  transform:none!important;
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:hover,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:focus-visible{
  border-color:#9db8da!important;background:#e6effb!important;box-shadow:0 3px 10px #10244030!important;
 }
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions>.map-layer-menu>#map-layers-toggle:active{
  background:#dce8f7!important;
 }
}

/* O span do título é o único filho do sheet recolhido; neutraliza o antigo estilo da seta. */
@media(max-width:768px){
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet>.pwa-vehicle-sheet-heading,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:hover>.pwa-vehicle-sheet-heading,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:focus>.pwa-vehicle-sheet-heading,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:focus-visible>.pwa-vehicle-sheet-heading,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet:active>.pwa-vehicle-sheet-heading,
 html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-vehicles-sheet[aria-expanded="true"]>.pwa-vehicle-sheet-heading{
  width:100%!important;height:auto!important;min-height:24px!important;
  padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;background-color:transparent!important;background-image:none!important;
  box-shadow:none!important;
 }
}

/* Tela 2 — painel expandido Veículos, isolado do mapa recolhido e dos detalhes. */
@media(max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel{
  top:228px!important;right:8px!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;left:8px!important;
  padding:14px 12px 10px!important;border-radius:20px!important;overflow:hidden!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel::before{
  content:""!important;position:absolute!important;top:7px!important;left:calc(50% - 22px)!important;
  display:block!important;width:44px!important;height:4px!important;border-radius:5px!important;background:#a6a7aa!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.panel-heading{
  height:38px!important;min-height:38px!important;margin:0 0 10px!important;padding:0 0 0!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.panel-heading h1{
  font-size:19px!important;line-height:1.2!important;letter-spacing:-.2px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.panel-heading .vehicle-heading-icon{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.panel-heading>.vehicle-panel-close{
  width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;border-radius:9px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.panel-heading>.vehicle-panel-close svg{width:20px!important;height:20px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.list-tools{
  display:grid!important;grid-template-columns:minmax(0,1fr) 48px!important;grid-template-rows:46px 46px!important;
  flex:none!important;gap:8px!important;margin:0 0 8px!important;padding:0!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.list-tools>.search-input{
  grid-row:1!important;grid-column:1!important;display:flex!important;box-sizing:border-box!important;
  width:100%!important;height:46px!important;min-height:46px!important;margin:0!important;padding:0 11px!important;
  border:1px solid #d6d8dd!important;border-radius:10px!important;background:#fff!important;font-size:14px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-search{
  width:100%!important;min-width:0!important;height:44px!important;min-height:44px!important;font-size:14px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-add{
  grid-row:1!important;grid-column:2!important;display:grid!important;place-items:center!important;
  box-sizing:border-box!important;width:46px!important;min-width:46px!important;height:46px!important;min-height:46px!important;
  margin:0!important;padding:0!important;border:0!important;border-radius:10px!important;background:#a9153b!important;
  color:#fff!important;font-size:26px!important;line-height:1!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-toggle{
  grid-row:2!important;grid-column:1/-1!important;position:relative!important;inset:auto!important;display:flex!important;align-items:center!important;
  justify-self:stretch!important;align-self:stretch!important;justify-content:flex-start!important;gap:10px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;
  height:46px!important;min-height:46px!important;margin:0!important;padding:0 13px!important;
  border:1px solid #d6d8dd!important;border-radius:10px!important;background:#fff!important;color:#22262d!important;
  font-size:14px!important;font-weight:650!important;text-align:left!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-toggle svg{display:block!important;width:20px!important;height:20px!important;flex:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-toggle::after{
  content:"⌄"!important;display:block!important;margin-left:auto!important;color:#42464e!important;font-size:20px!important;line-height:1!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-options:not([hidden]){
  position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  flex:none!important;gap:10px!important;max-height:min(42vh,350px)!important;margin:0 0 8px!important;padding:10px!important;
  overflow:auto!important;border:1px solid #dedfe3!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-options>.vehicle-group-filter{
  display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;
  margin:0!important;color:#242830!important;font-size:13px!important;font-weight:650!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #filter-options>.vehicle-group-filter select{
  box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0!important;
  padding:0 10px!important;border:1px solid #d6d8dd!important;border-radius:9px!important;background:#fff!important;
  color:#262a31!important;font-size:13px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-groups{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:10px 8px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group{
  display:grid!important;align-content:start!important;gap:6px!important;min-width:0!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-filter-communication-title,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-filter-registration-title{grid-column:1/-1!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group>strong{
  color:#252a31!important;font-size:13px!important;line-height:1.2!important;font-weight:700!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group-options{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;min-width:0!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group-options button{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;height:auto!important;min-height:44px!important;
  margin:0!important;padding:7px 6px!important;border:1px solid #d7d9de!important;border-radius:9px!important;
  background:#fff!important;color:#292d34!important;font-size:12px!important;line-height:1.2!important;white-space:normal!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group-options button[aria-pressed="true"]{
  border-color:#a9153b!important;background:#a9153b!important;color:#fff!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-filter-note{
  grid-column:1/-1!important;margin:0!important;color:#555b64!important;font-size:12px!important;line-height:1.35!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicles.vehicle-list{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:9px!important;min-height:90px!important;
  padding:3px 0 5px!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  display:grid!important;grid-template-columns:46px minmax(0,1fr) minmax(92px,auto)!important;
  grid-template-rows:auto auto auto!important;align-items:center!important;column-gap:9px!important;row-gap:3px!important;
  flex:none!important;box-sizing:border-box!important;width:100%!important;min-height:94px!important;height:auto!important;
  margin:0!important;padding:9px!important;border:1px solid #d9dbe0!important;border-radius:12px!important;
  background:#fff!important;color:#171b24!important;text-align:left!important;white-space:normal!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card.selected{
  border-color:#b21a43!important;background:#fff8fa!important;box-shadow:0 0 0 1px #b21a4320!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/4!important;display:grid!important;place-items:center!important;
  width:42px!important;height:42px!important;border-radius:10px!important;background:#f4f5f6!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{
  display:block!important;width:34px!important;height:34px!important;max-width:100%!important;max-height:100%!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1/4!important;display:grid!important;align-content:center!important;justify-items:start!important;
  gap:2px!important;min-width:0!important;overflow:visible!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{
  display:block!important;overflow:visible!important;max-width:100%!important;color:#171b24!important;
  font-size:14px!important;line-height:1.2!important;font-weight:750!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{
  display:block!important;overflow:visible!important;max-width:100%!important;margin:0!important;color:#4d535c!important;
  font-size:12px!important;line-height:1.25!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy .mobile-map-vehicle-communication{
  color:#626871!important;font-size:11px!important;line-height:1.2!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:3!important;grid-row:1!important;justify-self:stretch!important;display:flex!important;align-items:center!important;
  justify-content:center!important;min-width:0!important;min-height:26px!important;padding:4px 8px!important;
  border-radius:99px!important;font-size:11px!important;line-height:1.1!important;font-weight:700!important;text-align:center!important;white-space:normal!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.online{background:#e1f5e5!important;color:#197a31!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.offline,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.stale{background:#fde5e6!important;color:#a51823!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.never,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.unknown{background:#e8e9eb!important;color:#52575e!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:3!important;justify-self:stretch!important;min-width:0!important;color:#30343a!important;
  font-size:10px!important;line-height:1.2!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{grid-row:2!important}
html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{grid-row:3!important;color:#565c64!important}
}

/* Acabamento da tela 2: leitura confortável dos cartões e dos grupos de filtro. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.list-tools>.search-input{
  justify-content:flex-start!important;text-align:left!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel>.list-tools>.search-input>span{
  flex:0 0 25px!important;width:25px!important;margin:0!important;text-align:left!important;font-size:20px!important;line-height:1!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicle-search{
  padding:0 5px 0 0!important;text-align:left!important;text-indent:0!important;font-size:15px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  grid-template-columns:46px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;
  column-gap:11px!important;row-gap:5px!important;min-height:122px!important;padding:11px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/5!important;width:44px!important;height:44px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{width:36px!important;height:36px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1!important;gap:3px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{
  font-size:16px!important;line-height:1.25!important;font-weight:750!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{
  font-size:14px!important;line-height:1.3!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy .mobile-map-vehicle-communication{
  margin-top:1px!important;color:#555b64!important;font-size:13px!important;line-height:1.3!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:2!important;grid-row:2!important;justify-self:start!important;min-height:28px!important;padding:5px 10px!important;
  font-size:13px!important;line-height:1.2!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:2!important;justify-self:start!important;max-width:100%!important;color:#30343a!important;
  font-size:13px!important;line-height:1.3!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{grid-row:3!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{grid-row:4!important;color:#4d535c!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-groups{gap:12px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group:nth-child(1),
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group:nth-child(4){
  grid-column:1/-1!important;padding-bottom:10px!important;border-bottom:1px solid #e1e3e7!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group:nth-child(1) .vehicle-filter-group-options{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group>strong{
  font-size:14px!important;line-height:1.25!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group-options{gap:7px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .vehicle-filter-group-options button{
  min-height:46px!important;padding:8px!important;font-size:13px!important;line-height:1.25!important;
 }
}

/* Tela 2 — alinhamento dos cartões e escala dos ícones originais dos veículos. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  grid-template-columns:56px minmax(0,1fr) 96px!important;
  grid-template-rows:auto auto auto!important;align-items:center!important;column-gap:10px!important;row-gap:6px!important;
  min-height:132px!important;padding:11px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/4!important;align-self:center!important;justify-self:center!important;
  width:54px!important;height:54px!important;border-radius:11px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{
  width:46px!important;height:46px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1/2!important;align-self:center!important;gap:3px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{
  font-size:16px!important;line-height:1.24!important;font-weight:750!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{
  font-size:14px!important;line-height:1.3!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy .mobile-map-vehicle-communication{
  font-size:13px!important;line-height:1.3!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:stretch!important;
  box-sizing:border-box!important;width:96px!important;min-width:0!important;max-width:96px!important;min-height:30px!important;
  padding:5px 7px!important;font-size:12.5px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:2/4!important;justify-self:start!important;width:100%!important;max-width:none!important;
  min-height:0!important;color:#30343a!important;font-size:12.5px!important;line-height:1.3!important;
  text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{grid-row:2!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{grid-row:3!important;color:#4d535c!important}
}

/* Veículos mobile/PWA — acabamento da lista e detalhes, escopo restrito. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  display:grid!important;grid-template-columns:60px minmax(0,1fr) 102px!important;
  grid-template-rows:minmax(25px,auto) minmax(25px,auto) minmax(25px,auto)!important;
  align-items:center!important;column-gap:10px!important;row-gap:4px!important;
  box-sizing:border-box!important;width:100%!important;min-height:112px!important;height:auto!important;
  padding:10px 11px!important;border:1px solid #dadddf!important;border-radius:12px!important;
  background:#fff!important;text-align:left!important;white-space:normal!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/4!important;width:58px!important;height:58px!important;
  border-radius:10px!important;background:#f1f2f3!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{
  display:block!important;width:50px!important;height:50px!important;max-width:100%!important;max-height:100%!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1/3!important;display:grid!important;align-content:center!important;
  justify-items:start!important;gap:3px!important;min-width:0!important;overflow:visible!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{
  display:block!important;max-width:100%!important;overflow:visible!important;color:#171b24!important;
  font-size:16px!important;line-height:1.2!important;font-weight:750!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{
  display:block!important;max-width:100%!important;margin:0!important;overflow:visible!important;color:#4c525a!important;
  font-size:14px!important;line-height:1.25!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:3!important;grid-row:1!important;justify-self:stretch!important;align-self:center!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:30px!important;
  padding:5px 8px!important;border-radius:99px!important;font-size:13px!important;line-height:1.15!important;font-weight:700!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{
  grid-column:3!important;grid-row:2!important;justify-self:start!important;width:100%!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication{
  grid-column:2!important;grid-row:3!important;justify-self:start!important;width:100%!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:3!important;grid-row:3!important;justify-self:start!important;width:100%!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;margin:0!important;
  color:#30353c!important;font-size:12.5px!important;line-height:1.25!important;text-align:left!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication{color:#555c64!important;font-size:12px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion svg,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication svg,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition svg{
  flex:0 0 16px!important;width:15px!important;height:15px!important;color:#7f1535!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition span{min-width:0!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:9px!important;
  min-height:0!important;padding:10px 12px calc(18px + env(safe-area-inset-bottom))!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .drawer-tabs{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-tab-content{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{
  order:1!important;display:grid!important;gap:8px!important;flex:none!important;min-width:0!important;
  margin:0!important;padding:11px!important;border:1px solid #dedfe3!important;border-radius:12px!important;background:#fff!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-row{
  display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  align-items:center!important;gap:7px 10px!important;min-width:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon{
  grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;
  width:56px!important;height:56px!important;border-radius:10px!important;background:#f1f2f3!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon svg{
  display:block!important;width:48px!important;height:48px!important;max-width:100%!important;max-height:100%!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity{
  grid-column:2!important;grid-row:1!important;display:grid!important;gap:2px!important;min-width:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{
  color:#171b24!important;font-size:20px!important;line-height:1.16!important;font-weight:800!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{
  color:#333840!important;font-size:13px!important;line-height:1.25!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badges{
  grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;min-width:0!important;flex-wrap:nowrap!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{
  display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:30px!important;
  padding:5px 6px!important;border:1px solid #dadddf!important;border-radius:99px!important;background:#f7f8f9!important;
  color:#2f343b!important;font-size:11.5px!important;line-height:1.15!important;font-weight:650!important;text-align:center!important;white-space:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication{border-color:#c9e8ce!important;background:#e8f7eb!important;color:#18782c!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times{
  display:grid!important;gap:3px!important;margin:0!important;padding-top:6px!important;border-top:1px solid #eceef0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times p{
  display:flex!important;align-items:center!important;gap:7px!important;margin:0!important;color:#30353c!important;font-size:12px!important;line-height:1.35!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times svg{flex:0 0 16px!important;width:15px!important;height:15px!important;color:#666d76!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-name,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-photo-column{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;grid-auto-rows:minmax(76px,auto)!important;gap:7px!important;
  flex:none!important;overflow:visible!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  align-items:center!important;justify-items:start!important;gap:2px 6px!important;box-sizing:border-box!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:76px!important;margin:0!important;padding:8px!important;
  border:1px solid #dedfe3!important;border-radius:10px!important;background:#f8f8f9!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:21px!important;height:21px!important;color:#555c64!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{width:20px!important;height:20px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  grid-column:2!important;grid-row:1!important;min-width:0!important;color:#30353c!important;font-size:12px!important;line-height:1.2!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  grid-column:2!important;grid-row:2!important;min-width:0!important;color:#171b24!important;font-size:15px!important;line-height:1.2!important;font-weight:750!important;white-space:normal!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success>span{color:#21823d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger>span{color:#a9153b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="speed"]{order:1!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"]{order:2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]{order:3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]{order:4!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"]{order:5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary{
  order:4!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;flex:none!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat{
  display:grid!important;grid-template-rows:auto auto!important;align-content:center!important;gap:3px!important;
  box-sizing:border-box!important;min-width:0!important;min-height:66px!important;margin:0!important;padding:8px!important;
  border:1px solid #dedfe3!important;border-radius:10px!important;background:#f8f8f9!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small{
  display:flex!important;align-items:center!important;gap:5px!important;color:#30353c!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small svg{width:15px!important;height:15px!important;flex:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat strong{color:#171b24!important;font-size:15px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-summary-side{display:contents!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{
  order:3!important;display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  align-items:center!important;column-gap:8px!important;box-sizing:border-box!important;min-width:0!important;min-height:48px!important;
  margin:0!important;padding:6px 9px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#f7f7f8!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{grid-column:1!important;grid-row:1/3!important;width:20px!important;height:20px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small{grid-column:2!important;grid-row:1!important;color:#50565f!important;font-size:10px!important;line-height:1.15!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{grid-column:2!important;grid-row:2!important;min-width:0!important;color:#171b24!important;font-size:14px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{
  order:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
  min-width:0!important;margin:0!important;padding:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:54px!important;padding:5px!important;
  border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important;color:#30353c!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button svg{width:20px!important;height:20px!important;color:#8b1739!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button:after{
  display:block!important;color:#252a31!important;font-size:10.5px!important;line-height:1.15!important;text-align:center!important;white-space:normal!important
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions [data-location-action="focus"]:after{content:'Focar'!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions [data-location-action="google"]:after{content:'Google Maps'!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions [data-location-action="street"]:after{content:'Street View'!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar{
  order:5!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
  flex:none!important;margin:0!important;padding:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  box-sizing:border-box!important;width:100%!important;min-width:0!important;height:auto!important;min-height:54px!important;
  padding:5px!important;border:1px solid #dedfe3!important;border-radius:9px!important;background:#fff!important;color:#22272e!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg{width:21px!important;height:21px!important;color:#8b1739!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-label{display:block!important;font-size:11px!important;line-height:1.15!important;text-align:center!important;white-space:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions{grid-column:1/-1!important;width:100%!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{
  display:flex!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;min-height:46px!important;
  padding:0 11px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important;color:#22272e!important;font-size:13px!important;font-weight:700!important
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary svg{width:20px!important;height:20px!important;color:#8b1739!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;padding:8px 0 0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure{
  order:7!important;display:block!important;flex:none!important;min-width:0!important;margin:0!important;border:1px solid #dadddf!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary{
  display:flex!important;align-items:center!important;gap:9px!important;min-height:48px!important;padding:0 11px!important;
  color:#252a31!important;font-size:13px!important;line-height:1.2!important;font-weight:700!important;list-style:none!important;cursor:pointer!important
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary::-webkit-details-marker{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary svg{width:19px!important;height:19px!important;color:#8b1739!important;flex:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-disclosure-chevron{margin-left:auto!important;font-size:20px!important;line-height:1!important;transition:transform .15s ease!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure[open] .vehicle-detail-disclosure-chevron{transform:rotate(180deg)!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure-body{display:grid!important;gap:9px!important;padding:0 10px 10px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-location,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-network,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-events{display:block!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-location-main,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-network,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-events,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-extra-metrics{box-sizing:border-box!important;padding:9px!important;border:1px solid #e1e3e6!important;border-radius:9px!important;background:#fafafa!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-extra-indicators{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-extra-indicators .vehicle-detail-indicator{display:grid!important;min-height:64px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-unavailable{margin:0!important;color:#555b64!important;font-size:12px!important;line-height:1.4!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-header{flex:none!important}
}

/* Lista Veículos: identidade à esquerda, estado à direita e leituras em linhas amplas. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;
  column-gap:10px!important;row-gap:5px!important;min-height:126px!important;padding:10px 11px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/5!important;width:54px!important;height:54px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{width:48px!important;height:48px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:stretch!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:2!important;grid-row:1!important;justify-self:end!important;width:auto!important;min-width:82px!important;max-width:122px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:2!important;justify-self:stretch!important;min-height:20px!important;max-width:none!important;font-size:12px!important;line-height:1.25!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication{grid-row:2!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{grid-row:3!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{grid-row:4!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-header>strong{display:none!important}
}

@media (max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active{
  bottom:calc(70px + env(safe-area-inset-bottom))!important;height:auto!important;max-height:none!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.vehicle-detail-summary-speed{
  grid-column:auto!important;grid-row:auto!important;position:static!important;transform:none!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:76px!important;margin:0!important;padding:8px!important;
 }
}

@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
  inset:82px 0 calc(70px + env(safe-area-inset-bottom)) 0!important;top:82px!important;right:0!important;
  bottom:calc(70px + env(safe-area-inset-bottom))!important;left:0!important;height:auto!important;max-height:none!important;
 }
}

@media (max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{padding-bottom:100px!important}
}

/* Veículos mobile/PWA — distribuição final da lista e leitura dos detalhes. */
@media (max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card{
  grid-template-columns:54px minmax(0,1fr) 96px!important;
  grid-template-rows:auto auto auto!important;align-items:center!important;
  column-gap:9px!important;row-gap:6px!important;min-height:120px!important;padding:10px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon{
  grid-column:1!important;grid-row:1/4!important;width:52px!important;height:52px!important;
  background:#f0f1f2!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-icon svg{
  width:48px!important;height:48px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy{
  grid-column:2!important;grid-row:1!important;align-self:center!important;gap:2px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy strong{font-size:16px!important;line-height:1.25!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy small{font-size:14px!important;line-height:1.25!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status{
  grid-column:3!important;grid-row:1!important;justify-self:stretch!important;align-self:center!important;
  width:100%!important;min-width:0!important;max-width:none!important;min-height:32px!important;
  padding:5px 7px!important;font-size:13px!important;line-height:1.2!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication{
  grid-column:2!important;grid-row:2!important;justify-self:stretch!important;width:100%!important;min-height:22px!important;
  font-size:12.5px!important;line-height:1.25!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{
  grid-column:3!important;grid-row:2!important;justify-self:stretch!important;align-self:center!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  width:100%!important;min-height:30px!important;padding:4px 6px!important;box-sizing:border-box!important;
  border:1px solid #e0e1e3!important;border-radius:99px!important;background:#f2f3f4!important;
  color:#30343b!important;font-size:11.5px!important;line-height:1.18!important;text-align:center!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion svg{
  width:15px!important;height:15px!important;flex:0 0 15px!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion span{
  min-width:0!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition{
  grid-column:2/4!important;grid-row:3!important;justify-self:stretch!important;min-height:22px!important;
  font-size:12px!important;line-height:1.25!important;
 }

 /* O cabeçalho fica apenas com o puxador e o fechar; nome/modelo vivem no cartão de identidade. */
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{
  position:relative!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) 34px!important;
  align-items:center!important;min-height:42px!important;height:42px!important;max-height:42px!important;
  padding:0 6px!important;border:0!important;border-bottom:1px solid #eceef0!important;background:#fff!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header::before{
  content:''!important;position:absolute!important;top:8px!important;left:calc(50% - 22px)!important;
  width:44px!important;height:5px!important;border-radius:5px!important;background:#a4a6ab!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>strong{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back{
  position:absolute!important;left:50%!important;top:6px!important;z-index:2!important;display:block!important;
  width:44px!important;height:24px!important;min-width:44px!important;min-height:24px!important;
  opacity:0!important;transform:translateX(-50%)!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back:focus-visible{
  position:absolute!important;left:50%!important;top:4px!important;width:auto!important;min-width:140px!important;
  height:34px!important;min-height:34px!important;padding:0 8px!important;opacity:1!important;transform:translateX(-50%)!important;
  background:#fff!important;color:#7f1535!important;box-shadow:0 0 0 2px #7f1535!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-back::before{content:none!important;display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;width:34px!important;height:34px!important;
  min-width:34px!important;min-height:34px!important;margin:0!important;color:#20242a!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close svg{width:21px!important;height:21px!important}

 /* Identidade, badges e indicadores sem cortes; cada cartão pode crescer com o conteúdo real. */
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{gap:9px!important;padding:12px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-row{
  grid-template-columns:58px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:8px 11px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity{min-width:0!important;overflow:visible!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{
  display:block!important;max-width:100%!important;font-size:19px!important;line-height:1.22!important;overflow:visible!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{
  display:block!important;font-size:13px!important;line-height:1.3!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badges{gap:7px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{
  min-height:34px!important;padding:6px 7px!important;font-size:12px!important;line-height:1.2!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-rows:minmax(88px,auto)!important;gap:8px!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  grid-template-columns:22px minmax(0,1fr)!important;grid-template-rows:minmax(28px,auto) auto!important;
  min-height:88px!important;height:auto!important;padding:9px 8px!important;gap:3px 6px!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  width:22px!important;height:22px!important;align-self:start!important;margin-top:2px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{width:21px!important;height:21px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  align-self:center!important;font-size:12px!important;line-height:1.25!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  align-self:start!important;font-size:15px!important;line-height:1.24!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{
  grid-template-columns:24px minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;
  align-items:center!important;column-gap:9px!important;row-gap:2px!important;min-height:58px!important;height:auto!important;padding:7px 10px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{
  grid-column:1!important;grid-row:1/4!important;align-self:center!important;width:21px!important;height:21px!important;color:#30343b!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{
  grid-column:2!important;grid-row:1!important;font-size:11px!important;line-height:1.2!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{
  grid-column:2!important;grid-row:2!important;font-size:14px!important;line-height:1.24!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>.vehicle-detail-driver-code{
  grid-column:2!important;grid-row:3!important;margin:0!important;font-size:10px!important;line-height:1.2!important;
 }

 /* Ações com os mesmos pictogramas de linha bordô e na ordem da referência. */
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar{order:5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon{
  display:grid!important;place-items:center!important;width:28px!important;height:27px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg{
  display:block!important;width:24px!important;height:24px!important;color:#8b1739!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg *{
  stroke:#8b1739!important;fill:none!important;stroke-width:1.9!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure.vehicle-detail-location-events{order:8!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer>.vehicle-detail-scroll>.vehicle-detail-more-actions{order:9!important}
}
@media (max-width:768px){
html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.vehicle-detail-summary-speed{min-height:88px!important;height:auto!important;overflow:visible!important}
}

/* Acabamento da tela móvel Veículos: métricas em duas linhas e seções recolhidas. */
@media (max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;
  grid-auto-rows:minmax(74px,auto)!important;gap:6px!important;overflow:visible!important;margin:4px 0 7px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;grid-template-rows:minmax(18px,auto) minmax(18px,auto)!important;
  grid-auto-flow:row!important;align-content:center!important;align-items:center!important;justify-items:start!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:74px!important;max-width:none!important;
  margin:0!important;padding:7px 6px!important;gap:3px 5px!important;overflow:visible!important;box-sizing:border-box!important;
  border:1px solid #dedfe3!important;border-radius:9px!important;background:#f7f7f8!important;text-align:left!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;align-self:center!important;
  width:24px!important;height:24px!important;min-width:24px!important;margin:0!important;color:inherit!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{
  display:block!important;width:23px!important;height:23px!important;max-width:23px!important;max-height:23px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg *{
  stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  grid-column:2!important;grid-row:1!important;align-self:end!important;display:block!important;min-width:0!important;width:100%!important;
  margin:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;
  font-size:11px!important;line-height:1.2!important;font-weight:500!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  grid-column:2!important;grid-row:2!important;align-self:start!important;display:block!important;min-width:0!important;width:100%!important;
  margin:0!important;overflow:visible!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;
  font-size:14px!important;line-height:1.2!important;font-weight:700!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="speed"]{order:1!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"]{order:2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]{order:3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]{order:4!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"]{order:5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary{order:5!important;grid-auto-rows:minmax(48px,auto)!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{min-height:48px!important;height:auto!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small{font-size:10px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small svg{width:17px!important;height:17px!important;flex:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat strong{font-size:12px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{order:7!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-action-icon,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions svg{
  display:grid!important;place-items:center!important;width:25px!important;height:25px!important;min-width:25px!important;min-height:25px!important;
  color:#8b1739!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-action-icon svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions svg{
  display:block!important;width:23px!important;height:23px!important;color:#8b1739!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-action-icon svg *,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions svg *{
  stroke:#8b1739!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;fill:none!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure.vehicle-detail-location-events{order:8!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions{order:9!important;flex:none!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{
  min-height:46px!important;height:auto!important;box-sizing:border-box!important;font-size:13px!important;line-height:1.25!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion{
  min-width:0!important;max-width:100%!important;min-height:30px!important;padding:4px 7px!important;
  flex-wrap:nowrap!important;white-space:nowrap!important;overflow:hidden!important;font-size:11px!important;line-height:1.15!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion svg{display:none!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion span{
  display:block!important;min-width:0!important;width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;overflow-wrap:normal!important;text-align:center!important;
 }
}


/* Grade fixa dos seis indicadores nos detalhes de Veículos mobile/PWA. */
@media (max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(86px,auto))!important;grid-auto-rows:minmax(86px,auto)!important;
  grid-auto-flow:row!important;align-content:start!important;align-items:stretch!important;
  width:100%!important;height:auto!important;min-height:178px!important;max-height:none!important;
  box-sizing:border-box!important;overflow:visible!important;gap:7px!important;margin:5px 0 9px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  position:relative!important;inset:auto!important;transform:none!important;
  grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;
  display:grid!important;grid-template-columns:25px minmax(0,1fr)!important;
  grid-template-rows:minmax(22px,auto) minmax(22px,auto)!important;grid-auto-flow:row!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:86px!important;max-width:none!important;
  box-sizing:border-box!important;align-content:center!important;align-items:center!important;
  margin:0!important;padding:9px 7px!important;gap:4px 6px!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;
  align-self:center!important;width:25px!important;height:25px!important;min-width:25px!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{
  display:block!important;width:24px!important;height:24px!important;max-width:24px!important;max-height:24px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  grid-column:2!important;grid-row:1!important;align-self:end!important;display:block!important;
  width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important;text-overflow:clip!important;
  white-space:normal!important;overflow-wrap:anywhere!important;font-size:12px!important;line-height:1.25!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  grid-column:2!important;grid-row:2!important;align-self:start!important;display:block!important;
  width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important;text-overflow:clip!important;
  white-space:normal!important;overflow-wrap:anywhere!important;font-size:15px!important;line-height:1.24!important;font-weight:700!important;
 }
}


/* Detalhes do veículo mobile/PWA: viewport útil, conteúdo compacto e seções ordenadas. */
@media (max-width:768px){
 html.pwa-mobile-app body:has(#fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active){
  height:100%!important;overflow:hidden!important;overscroll-behavior:none!important;
 }
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
  --pwa-vehicle-detail-top:calc(max(7px,env(safe-area-inset-top)) + 68px);
  --pwa-vehicle-detail-bottom:calc(74px + env(safe-area-inset-bottom));
  position:fixed!important;top:var(--pwa-vehicle-detail-top)!important;right:env(safe-area-inset-right)!important;
  bottom:var(--pwa-vehicle-detail-bottom)!important;left:env(safe-area-inset-left)!important;
  width:auto!important;height:auto!important;min-height:0!important;
  max-height:calc(100vh - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important;
  box-sizing:border-box!important;overflow:hidden!important;
 }
 @supports(height:100dvh){
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
   max-height:calc(var(--pwa-viewport-height, 100dvh) - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important;
  }
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open{
  display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;max-height:100%!important;
  min-height:0!important;overflow:hidden!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{
  flex:0 0 36px!important;min-height:36px!important;height:36px!important;box-sizing:border-box!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{
  display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:stretch!important;
  gap:4px!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;
  box-sizing:border-box!important;margin:0!important;padding:5px 8px 7px!important;
  overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;
  scroll-padding-block:4px!important;-webkit-overflow-scrolling:touch!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{
  order:1!important;flex:none!important;gap:4px!important;min-width:0!important;margin:0!important;padding:7px!important;
  border-radius:10px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-row{
  grid-template-columns:44px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:3px 7px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon{
  grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:center!important;
  width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;
  margin:0!important;position:relative!important;z-index:0!important;overflow:hidden!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon svg{
  width:37px!important;height:37px!important;max-width:37px!important;max-height:37px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity{
  grid-column:2!important;grid-row:1!important;position:relative!important;z-index:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{
  font-size:17px!important;line-height:1.16!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{
  font-size:11.5px!important;line-height:1.22!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badges{
  grid-column:1/-1!important;grid-row:2!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:4px!important;position:relative!important;z-index:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{
  min-width:0!important;min-height:29px!important;height:auto!important;padding:4px 5px!important;
  font-size:11px!important;line-height:1.15!important;overflow-wrap:anywhere!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times{
  gap:2px!important;margin:0!important;padding-top:4px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times p{
  gap:5px!important;font-size:11.5px!important;line-height:1.2!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times svg{
  flex:0 0 14px!important;width:13px!important;height:13px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  order:2!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-template-rows:repeat(2,minmax(64px,auto))!important;grid-auto-rows:minmax(64px,auto)!important;
  grid-auto-flow:row!important;align-content:start!important;align-items:stretch!important;
  flex:none!important;width:100%!important;height:auto!important;min-height:133px!important;max-height:none!important;
  gap:5px!important;margin:0!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  order:initial!important;position:relative!important;inset:auto!important;transform:none!important;
  display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  grid-auto-flow:row!important;align-items:center!important;align-content:center!important;justify-items:start!important;
  grid-column:auto!important;grid-row:auto!important;align-self:stretch!important;
  width:auto!important;height:auto!important;min-width:0!important;min-height:64px!important;max-width:none!important;
  box-sizing:border-box!important;margin:0!important;padding:6px 5px!important;gap:2px 5px!important;
  overflow:visible!important;border-radius:8px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  grid-column:1!important;grid-row:1/3!important;align-self:center!important;
  width:19px!important;height:19px!important;min-width:19px!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{
  width:19px!important;height:19px!important;max-width:19px!important;max-height:19px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  grid-column:2!important;grid-row:1!important;align-self:end!important;display:block!important;
  width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important;
  white-space:normal!important;overflow-wrap:anywhere!important;font-size:11.5px!important;line-height:1.18!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  grid-column:2!important;grid-row:2!important;align-self:start!important;display:block!important;
  width:100%!important;min-width:0!important;margin:0!important;overflow:visible!important;
  white-space:normal!important;overflow-wrap:anywhere!important;font-size:14px!important;line-height:1.16!important;font-weight:750!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="speed"]{order:1!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"]{order:2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]{order:3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]{order:4!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"]{order:5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{
  order:3!important;min-height:40px!important;height:auto!important;padding:5px 8px!important;column-gap:7px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{
  width:18px!important;height:18px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small{
  font-size:10.5px!important;line-height:1.15!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{
  font-size:13.5px!important;line-height:1.18!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary{
  order:4!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:5px!important;flex:none!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{
  min-height:48px!important;height:auto!important;gap:2px!important;padding:5px 4px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small{
  gap:3px!important;font-size:10.5px!important;line-height:1.15!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small svg{
  width:13px!important;height:13px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat strong{
  font-size:14px!important;line-height:1.16!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar{
  order:5!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  flex:none!important;margin:0!important;padding:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{
  min-height:46px!important;height:auto!important;padding:3px 4px!important;gap:2px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button svg{
  width:19px!important;height:19px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-label{
  font-size:10.5px!important;line-height:1.12!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{
  order:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;
  flex:none!important;margin:0!important;padding:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{
  justify-content:center!important;min-width:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button:after{
  font-size:10px!important;line-height:1.1!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer>.vehicle-detail-scroll>.vehicle-detail-more-actions{
  order:7!important;display:block!important;flex:none!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list{
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;padding:5px 0 0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list>.vehicle-detail-icon{
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;min-height:46px!important;height:auto!important;padding:3px 2px!important;gap:2px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list .vehicle-detail-action-icon svg{
  width:18px!important;height:18px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list .vehicle-detail-action-label{
  font-size:9.5px!important;line-height:1.08!important;overflow-wrap:anywhere!important;text-align:center!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure.vehicle-detail-location-events{
  order:8!important;flex:none!important;margin:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{
  min-height:44px!important;height:auto!important;padding-top:4px!important;padding-bottom:4px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure-body{
  padding:0 8px 7px!important;gap:6px!important;
 }
}


/* Em viewports baixas, reduz apenas espaços; fontes e alvos de toque permanecem legíveis. */
@media (max-width:768px) and (max-height:720px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{gap:3px!important;padding:4px 7px 5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{gap:3px!important;padding:5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{min-height:27px!important;padding:3px 4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times{gap:1px!important;padding-top:3px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{grid-template-rows:repeat(2,minmax(60px,auto))!important;grid-auto-rows:minmax(60px,auto)!important;min-height:125px!important;gap:5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{min-height:60px!important;padding:5px 4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{min-height:38px!important;padding:4px 7px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{min-height:46px!important;padding:4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list>.vehicle-detail-icon{min-height:44px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{min-height:42px!important}
}


/* Homologação prioritária 361 × 800 CSS px: todos os resumos e cabeçalhos recolhidos visíveis. */
@media (max-width:380px) and (min-height:760px) and (max-height:840px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
  --pwa-vehicle-detail-top:calc(max(7px,env(safe-area-inset-top)) + 68px);
  --pwa-vehicle-detail-bottom:calc(74px + env(safe-area-inset-bottom));
  max-height:calc(100vh - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important;
 }
 @supports(height:100dvh){
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
   max-height:calc(var(--pwa-viewport-height, 100dvh) - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important;
  }
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{
  flex-basis:34px!important;min-height:34px!important;height:34px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{
  gap:3px!important;padding:3px 6px 4px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{
  gap:3px!important;padding:5px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-row{
  grid-template-columns:40px minmax(0,1fr)!important;gap:2px 6px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon{
  width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon svg{
  width:34px!important;height:34px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{
  font-size:16px!important;line-height:1.12!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{
  font-size:11px!important;line-height:1.15!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badges{gap:3px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{
  min-height:26px!important;padding:3px 4px!important;font-size:10.5px!important;line-height:1.12!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times{
  gap:1px!important;padding-top:2px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times p{
  gap:4px!important;font-size:11px!important;line-height:1.14!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  grid-template-rows:repeat(2,minmax(58px,auto))!important;grid-auto-rows:minmax(58px,auto)!important;
  min-height:121px!important;gap:4px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:15px auto auto!important;
  justify-items:center!important;align-content:center!important;align-items:center!important;gap:1px!important;
  min-height:58px!important;padding:4px 3px!important;text-align:center!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{
  grid-column:1!important;grid-row:1!important;align-self:center!important;justify-self:center!important;
  width:15px!important;height:15px!important;min-width:15px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{
  width:15px!important;height:15px!important;max-width:15px!important;max-height:15px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{
  grid-column:1!important;grid-row:2!important;align-self:center!important;width:auto!important;
  font-size:10.5px!important;line-height:1.12!important;white-space:normal!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-align:center!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  grid-column:1!important;grid-row:3!important;align-self:center!important;width:auto!important;max-width:100%!important;
  font-size:12.5px!important;line-height:1.12!important;white-space:normal!important;
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-align:center!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{
  min-height:36px!important;padding:3px 7px!important;column-gap:6px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small{
  font-size:10px!important;line-height:1.12!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{
  font-size:12.5px!important;line-height:1.12!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary{gap:4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{
  min-height:43px!important;padding:3px!important;gap:1px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small{
  gap:2px!important;font-size:9.5px!important;line-height:1.1!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small svg{
  width:13px!important;height:13px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat strong{
  font-size:13px!important;line-height:1.12!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{gap:4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{
  min-height:44px!important;height:44px!important;padding:2px!important;gap:1px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button svg{
  width:17px!important;height:17px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-label,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button:after{
  font-size:9.5px!important;line-height:1.05!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary{
  min-height:44px!important;height:44px!important;padding:0 9px!important;white-space:nowrap!important;
  overflow-wrap:normal!important;word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list>.vehicle-detail-icon{
  min-height:44px!important;height:44px!important;padding:2px 1px!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list .vehicle-detail-action-label{
  font-size:9px!important;line-height:1.05!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;
 }
}


/* Composição compacta dos detalhes conforme referência: 361 × 800 CSS px. */
@media (max-width:380px) and (min-height:760px) and (max-height:840px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{
  --pwa-vehicle-detail-top:calc(max(7px,env(safe-area-inset-top)) + 68px);
  --pwa-vehicle-detail-bottom:calc(74px + env(safe-area-inset-bottom));
  max-height:calc(100vh - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important;
 }
 @supports(height:100dvh){html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active{max-height:calc(var(--pwa-viewport-height, 100dvh) - var(--pwa-vehicle-detail-top) - var(--pwa-vehicle-detail-bottom))!important}}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header{flex-basis:28px!important;min-height:28px!important;height:28px!important;padding:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header::before{top:5px!important;height:4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;position:absolute!important;right:0!important;top:-8px!important;z-index:3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close svg{width:20px!important;height:20px!important;stroke:currentColor!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close:hover{background:#f2f3f5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-header>.vehicle-detail-close:focus-visible{outline:2px solid #7f1535!important;outline-offset:-2px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active>#vehicle-drawer.open>.vehicle-detail-scroll{gap:3px!important;padding:3px 6px 4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-summary{gap:3px!important;padding:5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-row{grid-template-columns:40px minmax(0,1fr)!important;gap:2px 6px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-icon svg{width:34px!important;height:34px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{font-size:16px!important;line-height:1.12!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{font-size:11px!important;line-height:1.15!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badges{gap:3px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{display:flex!important;flex-direction:row!important;justify-content:center!important;gap:3px!important;min-height:26px!important;padding:3px 4px!important;font-size:10.5px!important;line-height:1.12!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge-icon{display:inline-flex!important;align-items:center!important;flex:0 0 12px!important;width:12px!important;height:12px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge-icon svg{display:block!important;width:12px!important;height:12px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge-icon+span{min-width:0!important;overflow-wrap:normal!important;word-break:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication{color:#188038!important;background:#e8f5e9!important;border-color:#c8e6c9!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion{color:#30343b!important;background:#f3f4f6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition{color:#30343b!important;background:#f3f4f6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times{gap:1px!important;padding-top:2px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times p{gap:4px!important;font-size:11px!important;line-height:1.14!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-indicators{display:grid!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(54px,auto))!important;grid-auto-rows:minmax(54px,auto)!important;
  min-height:112px!important;gap:4px!important;margin:2px 0 3px!important;padding:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  display:grid!important;grid-template-columns:16px minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  grid-auto-flow:row!important;align-content:center!important;align-items:center!important;justify-items:start!important;
  min-width:0!important;width:auto!important;height:auto!important;min-height:54px!important;max-height:none!important;
  padding:4px!important;gap:1px 4px!important;box-sizing:border-box!important;overflow:visible!important;text-align:left!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;align-self:center!important;justify-self:center!important;width:15px!important;height:15px!important;min-width:16px!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{width:15px!important;height:15px!important;max-width:16px!important;max-height:16px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;align-self:end!important;width:100%!important;min-width:0!important;margin:0!important;font-size:10.5px!important;line-height:1.1!important;white-space:normal!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;align-self:start!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;font-size:12px!important;line-height:1.1!important;font-weight:750!important;white-space:nowrap!important;overflow:visible!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;letter-spacing:-.15px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{color:#188038!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>span svg{color:#188038!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]>span svg{width:18px!important;height:18px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{
  display:grid!important;grid-template-columns:18px auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  grid-auto-flow:row!important;align-items:center!important;align-content:center!important;column-gap:6px!important;row-gap:1px!important;
  min-height:39px!important;height:auto!important;padding:3px 7px!important;box-sizing:border-box!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{grid-column:1!important;grid-row:1/3!important;align-self:center!important;width:17px!important;height:17px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{grid-column:2!important;grid-row:1!important;font-size:10px!important;line-height:1.1!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{grid-column:3!important;grid-row:1!important;align-self:center!important;min-width:0!important;width:100%!important;font-size:12px!important;line-height:1.13!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>.vehicle-detail-driver-code{grid-column:2/4!important;grid-row:2!important;align-self:start!important;margin:0!important;font-size:9.5px!important;line-height:1.05!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:0!important;min-height:42px!important;margin:0!important;padding:0!important;
  border:1px solid #e0e1e4!important;border-radius:8px!important;background:#fff!important;overflow:visible!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat{
  display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;
  min-width:0!important;min-height:40px!important;height:auto!important;margin:0!important;padding:2px 3px!important;border:0!important;border-radius:0!important;background:transparent!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-supplementary>.vehicle-detail-stat+ .vehicle-detail-stat{border-left:1px solid #e2e3e6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small{display:flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;font-size:9.5px!important;line-height:1.08!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;text-align:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat small svg{width:12px!important;height:12px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat strong{font-size:12.5px!important;line-height:1.1!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar{order:5!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button{display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;min-height:45px!important;height:45px!important;padding:2px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon{width:18px!important;height:18px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg{width:18px!important;height:18px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-label{font-size:10px!important;line-height:1.05!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions{order:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:4px!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:2px 3px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button svg{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button:after{display:block!important;font-size:9.5px!important;line-height:1.05!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer>.vehicle-detail-scroll>.vehicle-detail-more-actions{order:7!important;margin:0!important;flex:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary{display:flex!important;align-items:center!important;min-height:44px!important;height:44px!important;padding:0 9px!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure.vehicle-detail-location-events{order:8!important;margin:0!important;flex:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;padding:4px 0 0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list>.vehicle-detail-icon{display:flex!important;min-height:44px!important;height:44px!important;padding:2px 1px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions-list .vehicle-detail-action-label{font-size:9px!important;line-height:1.05!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
}


/* Acabamento textual e acessível dos detalhes em 361 × 800. */
@media (max-width:380px) and (min-height:760px) and (max-height:840px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{white-space:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{list-style:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary::-webkit-details-marker{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary::after{content:'⌄';display:block!important;margin-left:auto!important;padding-left:8px!important;font-size:18px!important;line-height:1!important;color:#4b5057!important;transition:transform .15s ease!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions[open]>summary::after{transform:rotate(180deg)!important}
}

/* Ficha do veículo em telas estreitas: duas colunas mantêm rótulos íntegros. */
@media (max-width:350px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;
  grid-auto-rows:minmax(54px,auto)!important;
  min-height:0!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{
  min-height:54px!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
 }
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
 }
}

/* Acabamento dos pesos tipográficos e cores dos detalhes mobile/PWA. */
@media (max-width:767px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity strong{font-weight:750!important;color:#17191d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity span{font-weight:400!important;color:#30343b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{font-weight:500!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication{font-weight:500!important;color:#16813b!important;background:#eaf7ec!important;border-color:#cdebd2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition{color:#30343b!important;background:#f4f4f5!important;border-color:#dedfe2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-times p{font-weight:400!important;color:#272a30!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{font-weight:450!important;color:#30343b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{font-weight:750!important;color:#17191d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]>span svg{color:#16813b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]>span svg rect{fill:currentColor!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>span svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{color:#16813b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{font-weight:500!important;color:#34373d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{font-weight:750!important;color:#17191d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-code{font-weight:400!important;color:#62666e!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat>small{font-weight:600!important;color:#34373d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat>strong{font-weight:750!important;color:#17191d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button{color:#24262b!important;font-weight:500!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-icon svg.vehicle-detail-painted-icon{filter:grayscale(1) brightness(.5) sepia(1) saturate(5) hue-rotate(285deg)!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar>button .vehicle-detail-action-label{font-weight:500!important;color:#24262b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-quick-actions button{font-weight:500!important;color:#34373d!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary{font-weight:650!important;color:#292c32!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary>svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-disclosure>summary>svg{color:#8f1238!important}
}

/* Cartões de estado uniformes e faixa do motorista sem colisões. */
@media (max-width:380px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{box-sizing:border-box!important;height:23px!important;min-height:23px!important;max-height:23px!important;padding:2px 4px!important;line-height:1!important;white-space:nowrap!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,46px)!important;grid-auto-rows:46px!important;min-height:96px!important;gap:4px!important;align-items:stretch!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{box-sizing:border-box!important;display:grid!important;grid-template-columns:14px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;justify-items:start!important;width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:3px 4px!important;gap:0 4px!important;overflow:visible!important;text-align:left!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;width:13px!important;height:13px!important;min-width:14px!important;align-self:center!important;justify-self:center!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{width:13px!important;height:13px!important;max-width:14px!important;max-height:14px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;align-self:end!important;width:100%!important;margin:0!important;font-size:9.5px!important;line-height:1.05!important;white-space:nowrap!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;align-self:start!important;width:100%!important;max-width:none!important;margin:0!important;font-size:10.5px!important;font-weight:750!important;line-height:1.05!important;letter-spacing:-.2px!important;white-space:nowrap!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{font-size:10px!important;letter-spacing:-.28px!important;white-space:nowrap!important;color:#16813b!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{display:grid!important;grid-template-columns:18px auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;align-content:center!important;column-gap:5px!important;row-gap:1px!important;box-sizing:border-box!important;min-height:42px!important;height:auto!important;padding:3px 7px!important;overflow:visible!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{grid-column:1!important;grid-row:1/3!important;width:17px!important;height:17px!important;align-self:center!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:10px!important;line-height:1.1!important;font-weight:500!important;white-space:nowrap!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{grid-column:3!important;grid-row:1!important;align-self:center!important;min-width:0!important;width:100%!important;font-size:11.5px!important;line-height:1.12!important;font-weight:750!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>.vehicle-detail-driver-code{grid-column:2/4!important;grid-row:2!important;align-self:start!important;margin:0!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}
}

/* A mesma composição compacta também em celulares com viewport CSS acima de 380 px. */
@media (max-width:430px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge{box-sizing:border-box!important;height:23px!important;min-height:23px!important;max-height:23px!important;padding:2px 5px!important;line-height:1!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:repeat(2,46px)!important;grid-auto-rows:46px!important;min-height:96px!important;gap:4px!important;align-items:stretch!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator{box-sizing:border-box!important;display:grid!important;grid-template-columns:14px minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-content:center!important;align-items:center!important;justify-items:start!important;width:100%!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:3px 5px!important;gap:0 4px!important;overflow:visible!important;text-align:left!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span{grid-column:1!important;grid-row:1/3!important;width:13px!important;height:13px!important;min-width:14px!important;align-self:center!important;justify-self:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{width:13px!important;height:13px!important;max-width:14px!important;max-height:14px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;align-self:end!important;width:100%!important;margin:0!important;font-size:9.5px!important;line-height:1.05!important;white-space:nowrap!important;overflow:visible!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{grid-column:2!important;grid-row:2!important;align-self:start!important;width:100%!important;max-width:none!important;margin:0!important;font-size:10.5px!important;font-weight:750!important;line-height:1.05!important;letter-spacing:-.2px!important;white-space:nowrap!important;overflow:visible!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{font-size:10px!important;letter-spacing:-.28px!important;white-space:nowrap!important;color:#16813b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact{display:grid!important;grid-template-columns:18px auto minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center!important;align-content:center!important;column-gap:5px!important;row-gap:1px!important;box-sizing:border-box!important;min-height:42px!important;height:auto!important;padding:3px 7px!important;overflow:visible!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>svg{grid-column:1!important;grid-row:1/3!important;width:17px!important;height:17px!important;align-self:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{grid-column:2!important;grid-row:1!important;align-self:center!important;font-size:10px!important;line-height:1.1!important;font-weight:500!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>strong{grid-column:3!important;grid-row:1!important;align-self:center!important;min-width:0!important;width:100%!important;font-size:11.5px!important;line-height:1.12!important;font-weight:750!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>.vehicle-detail-driver-code{grid-column:2/4!important;grid-row:2!important;align-self:start!important;margin:0!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important}
}

/* Corrige a regra histórica de Velocidade que excedia a altura da linha. */
@media (max-width:430px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{grid-template-rows:repeat(2,40px)!important;grid-auto-rows:40px!important;min-height:84px!important;gap:4px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.vehicle-detail-summary-speed{box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:2px 5px!important;align-content:center!important;overflow:visible!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.vehicle-detail-summary-speed{grid-column:auto!important;grid-row:auto!important;order:0!important;position:static!important;transform:none!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>small{font-size:9px!important;line-height:1!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{font-size:10px!important;line-height:1!important;letter-spacing:-.2px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{font-size:9px!important;letter-spacing:-.3px!important;white-space:nowrap!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer>.vehicle-detail-scroll>.vehicle-detail-mobile-disclosure.vehicle-detail-location-events{order:7!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer>.vehicle-detail-scroll>.vehicle-detail-more-actions{order:8!important}
}


/* Acabamento tipográfico da comparação aprovada: caixa normal e chevron no resumo mobile. */
@media (max-width:767px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-driver-fact>small:first-of-type{text-transform:none!important;font-weight:400!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-stat>small{text-transform:none!important;font-weight:450!important}
}
@media (max-width:430px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary{list-style:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary::-webkit-details-marker{display:none!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions>summary::after{content:'⌄';display:block!important;margin-left:auto!important;padding-left:8px!important;font-size:18px!important;line-height:1!important;color:#4b5057!important;transition:transform .15s ease!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-more-actions[open]>summary::after{transform:rotate(180deg)!important}
}


/* Oito indicadores reais em duas linhas iguais: quatro cartões por linha. */
@media (max-width:430px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:repeat(2,50px)!important;grid-auto-rows:50px!important;align-items:stretch!important;gap:4px!important;min-height:104px!important;height:auto!important;margin:0 0 5px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator{box-sizing:border-box!important;display:grid!important;grid-template-columns:13px minmax(0,1fr)!important;grid-template-rows:1fr 1fr!important;align-content:center!important;align-items:center!important;justify-items:start!important;min-width:0!important;width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;margin:0!important;padding:3px 4px!important;gap:0 3px!important;overflow:hidden!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#f7f7f8!important;text-align:left!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>span{grid-column:1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:center!important;width:13px!important;height:13px!important;min-width:13px!important;margin:0!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>span svg{display:block!important;width:13px!important;height:13px!important;max-width:13px!important;max-height:13px!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;align-self:center!important;width:100%!important;min-width:0!important;margin:0!important;font-size:9px!important;line-height:1!important;font-weight:450!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>strong{grid-column:1/-1!important;grid-row:2!important;align-self:center!important;justify-self:center!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;font-size:10.5px!important;line-height:1.05!important;font-weight:750!important;letter-spacing:-.12px!important;text-align:center!important;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important;overflow:hidden!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator[data-kind="lock"]>strong{font-size:9px!important;white-space:nowrap!important;color:#16813b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator[data-kind="lock"]>span svg{color:#16813b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator[data-kind="signal"]>span svg{color:#16813b!important}
}


/* Centraliza o conjunto ícone/rótulo e posiciona o valor logo abaixo. */
@media (max-width:430px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator{grid-template-columns:13px max-content!important;justify-content:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>span{grid-column:1!important;grid-row:1!important;justify-self:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>small{grid-column:2!important;grid-row:1!important;justify-self:center!important;width:auto!important;max-width:100%!important;text-align:left!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator>strong{grid-column:1/-1!important;grid-row:2!important;justify-self:center!important;text-align:center!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="speed"]{order:8!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"]{order:2!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]{order:3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="signal"]{order:4!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"]{order:5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]{order:6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOn"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOff"]{order:7!important}
html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="battery"]{order:1!important}
}

/* Cercas: reprodução mobile das referências aprovadas, isolada do desktop. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view{padding:calc(max(7px,env(safe-area-inset-top)) + 8px) 14px 0!important;gap:8px!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header{position:relative!important;display:block!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header>div:first-child{min-height:40px!important;padding-right:116px!important}
 html.pwa-mobile-app #module-view.geofences-view #module-title{color:#1e1e22!important;font-size:20px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.2px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:4px 0 0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-status,html.pwa-mobile-app #module-view.geofences-view .geofence-anchor-shortcut{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{position:absolute!important;top:0!important;right:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:108px!important;height:42px!important;min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#a31943!important;color:#fff!important;font-size:14px!important;font-weight:700!important;line-height:1!important;box-shadow:0 3px 9px #a3194328!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-search,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 12px!important;border:1px solid #dedee3!important;border-radius:11px!important;background:#fff!important;color:#28282d!important;font-size:14px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{padding-right:36px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofences-workspace{display:block!important;flex:1 1 auto!important;min-height:0!important;height:auto!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{position:relative!important;display:block!important;width:auto!important;height:100%!important;min-height:0!important;margin:0 -14px!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-panel,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{position:absolute!important;right:0!important;bottom:0!important;left:0!important;max-height:min(44dvh,420px)!important;padding:8px 14px 12px!important;overflow:hidden!important;border:1px solid #e0e0e4!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;box-shadow:0 -3px 18px #16161b12!important;backdrop-filter:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-handle{width:42px!important;height:5px!important;min-height:5px!important;margin:0 auto 12px!important;background:#bdbdc3!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-count{padding:0 2px 10px!important;color:#202025!important;font-size:17px!important;font-weight:750!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge{min-width:32px!important;height:28px!important;background:#f8e9ee!important;color:#a31943!important;font-size:14px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table-wrap{padding:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table{border-spacing:0 8px!important;font-size:13px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody{gap:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr{grid-template-columns:minmax(0,1fr) auto auto!important;gap:5px 8px!important;padding:12px!important;border:1px solid #dedee3!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td{color:#4e4e55!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) strong{overflow:visible!important;color:#202025!important;font-size:15px!important;font-weight:750!important;line-height:1.25!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) small{margin-top:5px!important;color:#73737b!important;font-size:12px!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2){background:#f8e9ee!important;color:#a31943!important;font-size:11px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2)[data-geometry-type="POLYGON"]{background:#f8e9ee!important;color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(3){color:#46464d!important;font-size:12px!important;font-weight:650!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(5){padding:4px 8px!important;border-radius:99px!important;background:#f1f1f3!important;color:#55555c!important;font-size:11px!important;font-weight:600!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button,html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{width:42px!important;height:42px!important;min-width:42px!important;border:1px solid #ead5dc!important;border-radius:12px!important;background:#fff!important;color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button svg,html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button svg{width:20px!important;height:20px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{background:#fff!important;color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-hint{margin:8px 2px 0!important;padding-top:8px!important;border-top:1px solid #ededf0!important;color:#777780!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu{top:12px!important;right:12px!important;width:42px!important;height:42px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-layers-toggle{width:42px!important;height:42px!important;min-height:42px!important;border-color:#dedee3!important;border-radius:10px!important;color:#34343a!important}
}

@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header{display:flex!important;align-items:center!important;gap:8px!important;min-height:40px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>div:first-child{flex:1!important;min-width:0!important;padding:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) #module-title{overflow:visible!important;text-align:right!important;font-size:19px!important;font-weight:750!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-back{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;color:#a31943!important;font-size:26px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-header-actions{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{position:absolute!important;inset:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:clamp(112px,16dvh,148px) minmax(0,1fr)!important;min-height:0!important;height:auto!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{position:relative!important;inset:auto!important;grid-row:1!important;width:auto!important;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list{position:relative!important;inset:auto!important;grid-row:2!important;display:flex!important;width:auto!important;height:100%!important;max-height:none!important;margin:0 10px!important;padding:8px 10px 12px!important;overflow:hidden!important;border:1px solid #dedee3!important;border-bottom:0!important;border-radius:15px 15px 0 0!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-handle,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-count,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-table-wrap,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-selection,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-hint{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor:not([hidden]){display:block!important;flex:1 1 auto!important;width:auto!important;height:100%!important;max-height:none!important;margin:0!important;padding:8px 8px 100px!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#fff!important;overscroll-behavior:contain!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor h3{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor>.module-hint{margin:0 0 9px!important;padding:9px 11px!important;border-radius:9px!important;background:#eef0f5!important;color:#50515a!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form{display:grid!important;gap:10px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker>label{display:grid!important;gap:5px!important;margin:0!important;color:#55555d!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form input:not([type=range]),html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form select,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-search{box-sizing:border-box!important;width:100%!important;min-height:42px!important;height:42px!important;padding:8px 10px!important;border:1px solid #dedee3!important;border-radius:9px!important;background:#fff!important;color:#29292f!important;font-size:14px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker{display:grid!important;gap:4px!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-results{top:66px!important;max-height:190px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .module-hint{margin:0!important;padding:9px 11px!important;border-radius:9px!important;background:#eef0f5!important;color:#50515a!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .button{box-sizing:border-box!important;min-height:44px!important;padding:8px 10px!important;border-radius:9px!important;font-size:13px!important;font-weight:650!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{min-height:44px!important;color:#53535b!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form input[type=range]{width:100%!important;min-height:28px!important;accent-color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{position:fixed!important;right:14px!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;left:14px!important;z-index:820!important;display:flex!important;gap:8px!important;padding:8px!important;border:1px solid #dedee3!important;border-radius:13px!important;background:#fffffff7!important;box-shadow:0 3px 14px #17151b1a!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{flex:1 1 0!important;min-height:48px!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-secondary{order:1!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-primary{order:2!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation{display:grid!important;gap:8px!important;margin:0!important;padding:10px!important;border:1px solid #dedee3!important;border-radius:10px!important;background:#f8f8fa!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation label{display:flex!important;align-items:center!important;gap:8px!important;min-height:32px!important;color:#29292f!important;font-size:13px!important;font-weight:500!important;white-space:normal!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation input[type=checkbox]{width:20px!important;height:20px!important;accent-color:#a31943!important}
}

@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>.module-hint:before{content:'ⓘ';display:inline-block;margin-right:7px;color:#61636c;font-size:15px;font-weight:700;vertical-align:-1px}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button:first-child{border-color:#a31943!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button:last-child{border-color:#dedee3!important;background:#f4f4f6!important;color:#585860!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button svg{flex:none!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button span{min-width:0!important;white-space:normal!important}
}

/* Cercas mobile/PWA — composição aprovada, com mapa dimensionado pelo espaço útil. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view:not([hidden]){display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;max-height:100%!important;height:auto!important;overflow:hidden!important;padding:calc(max(7px,env(safe-area-inset-top)) + 8px) 14px 0!important;gap:8px!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header{position:relative!important;display:block!important;flex:none!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #module-view.geofences-view .module-header>div:first-child{min-height:40px!important;padding-right:116px!important}
 html.pwa-mobile-app #module-view.geofences-view #module-title{margin:0!important;color:#1e1e22!important;font-size:20px!important;font-weight:750!important;line-height:1.2!important;letter-spacing:-.2px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:4px 0 0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-status,html.pwa-mobile-app #module-view.geofences-view .geofence-anchor-shortcut{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{position:absolute!important;top:0!important;right:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:108px!important;height:42px!important;min-height:42px!important;padding:0 16px!important;border:0!important;border-radius:12px!important;background:#a31943!important;color:#fff!important;font-size:15px!important;font-weight:700!important;line-height:1!important;box-shadow:0 3px 9px #a3194328!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-search,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 12px!important;border:1px solid #dedee3!important;border-radius:11px!important;background:#fff!important;color:#28282d!important;font-size:14px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-vehicle-filter-row{display:grid!important;grid-template-columns:54px minmax(0,1fr)!important;align-items:center!important;gap:8px!important;margin:0!important;color:#24242a!important;font-size:14px!important;font-weight:650!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-vehicle{padding-right:36px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofences-workspace{position:relative!important;display:flex!important;flex:1 1 0!important;flex-direction:column!important;min-height:0!important;height:auto!important;margin:0 -14px!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{position:relative!important;display:block!important;flex:1 1 auto!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-panel,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{position:absolute!important;z-index:600!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;flex-direction:column!important;min-height:0!important;max-height:min(44dvh,420px)!important;padding:8px 14px 12px!important;overflow:hidden!important;border:1px solid #e0e0e4!important;border-bottom:0!important;border-radius:20px 20px 0 0!important;background:#fff!important;box-shadow:0 -3px 18px #16161b12!important;backdrop-filter:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-handle{appearance:none!important;-webkit-appearance:none!important;display:grid!important;place-items:center!important;flex:none!important;width:100%!important;height:28px!important;min-height:28px!important;margin:-3px 0 5px!important;padding:0!important;border:0!important;background:transparent!important;cursor:pointer!important;touch-action:manipulation!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-grabber{position:static!important;display:block!important;width:58px!important;height:5px!important;border-radius:99px!important;background:#c4c4ca!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-grabber:after{display:none!important;content:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-count{display:flex!important;align-items:center!important;justify-content:flex-start!important;flex:none!important;gap:0!important;margin:0!important;padding:0 2px 7px!important;color:#202025!important;font-size:17px!important;font-weight:750!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge{display:inline!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge:before,html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge:after{content:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-hint{position:relative!important;flex:none!important;margin:0 0 5px!important;padding:8px 10px 8px 30px!important;border:0!important;border-radius:8px!important;background:#f0f1f5!important;color:#5d5d65!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-sheet-hint:before{position:absolute!important;top:50%!important;left:10px!important;content:'ⓘ'!important;color:#677181!important;font-size:14px!important;font-weight:700!important;transform:translateY(-50%)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table-wrap{min-height:0!important;padding:0!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table-wrap::-webkit-scrollbar{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table{width:100%!important;min-width:0!important;border-collapse:separate!important;border-spacing:0 7px!important;font-size:13px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table thead{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tbody{display:grid!important;gap:0!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr{display:grid!important;grid-template-columns:auto auto minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:7px 7px!important;padding:11px 10px!important;border:1px solid #dedee3!important;border-radius:13px!important;background:#fff!important;box-shadow:none!important;cursor:pointer!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td{min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:#4e4e55!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1){grid-column:1/4!important;grid-row:1!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) strong{display:block!important;overflow:visible!important;color:#202025!important;font-size:14px!important;font-weight:750!important;line-height:1.25!important;text-overflow:clip!important;text-transform:uppercase!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(1) small{display:block!important;margin-top:3px!important;color:#73737b!important;font-size:12px!important;line-height:1.25!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2){grid-column:1!important;grid-row:2!important;justify-self:start!important;padding:4px 8px!important;border-radius:99px!important;background:#f8e9ee!important;color:#a31943!important;font-size:11px!important;font-weight:700!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(2)[data-geometry-type="POLYGON"]{background:#f8e9ee!important;color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(3){grid-column:2!important;grid-row:2!important;justify-self:start!important;color:#46464d!important;font-size:12px!important;font-weight:650!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(4){display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(5){grid-column:4!important;grid-row:1!important;justify-self:end!important;padding:4px 7px!important;border-radius:99px!important;background:#f1f1f3!important;color:#55555c!important;font-size:11px!important;font-weight:600!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-status:before{display:inline-block!important;width:8px!important;height:8px!important;margin-right:4px!important;border-radius:50%!important;background:#d94c5b!important;content:''!important;vertical-align:middle!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-status.active:before{background:#2eaa59!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table td:nth-child(6){grid-column:3/5!important;grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-actions{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;box-sizing:border-box!important;width:auto!important;min-width:74px!important;height:38px!important;min-height:38px!important;padding:0 8px!important;border:1px solid #d8c2ca!important;border-radius:9px!important;background:#fff!important;color:#97183e!important;font-size:12px!important;font-weight:700!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-edit-button svg{width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border:1px solid #e6cbd2!important;border-radius:9px!important;background:#fff!important;color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-delete-button svg{width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu{top:12px!important;right:12px!important;bottom:auto!important;left:auto!important;z-index:650!important;width:42px!important;height:42px!important;pointer-events:auto!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-map-layer-menu .map-layers-toggle{width:38px!important;height:38px!important;min-height:38px!important}
 html.pwa-mobile-app #module-view.geofences-view .leaflet-control-zoom{display:block!important;margin:8px!important;border:1px solid #dedee3!important;border-radius:8px!important;overflow:hidden!important;box-shadow:0 2px 6px #14141a18!important}
 html.pwa-mobile-app #module-view.geofences-view .leaflet-control-zoom a{width:34px!important;height:34px!important;line-height:33px!important;border:0!important;background:#fff!important;color:#27272c!important;font-size:21px!important}
 html.pwa-mobile-app body:has(#module-view.geofences-view:not([hidden])) #workspace>.topbar .account-menu-button{border-color:#a31943!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header{display:flex!important;align-items:center!important;gap:8px!important;min-height:40px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>div:first-child{flex:1!important;min-width:0!important;padding:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) #module-title{overflow:visible!important;text-align:left!important;font-size:19px!important;font-weight:750!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-mobile-back{display:grid!important;place-items:center!important;flex:0 0 40px!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;color:#a31943!important;font-size:26px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-header-actions{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{position:absolute!important;inset:0!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:clamp(112px,16dvh,145px) minmax(0,1fr)!important;min-height:0!important;height:auto!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{position:relative!important;inset:auto!important;grid-row:1!important;width:auto!important;height:auto!important;min-height:0!important;border:0!important;border-radius:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list{position:relative!important;inset:auto!important;grid-row:2!important;display:flex!important;width:auto!important;height:100%!important;max-height:none!important;margin:0 10px!important;padding:8px 10px 12px!important;overflow:hidden!important;border:1px solid #dedee3!important;border-bottom:0!important;border-radius:15px 15px 0 0!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-handle,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-count,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-table-wrap,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-selection,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-hint{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor:not([hidden]){display:block!important;flex:1 1 auto!important;width:auto!important;height:100%!important;max-height:none!important;margin:0!important;padding:8px 12px calc(132px + env(safe-area-inset-bottom))!important;overflow:auto!important;border:0!important;border-radius:0!important;background:#fff!important;overscroll-behavior:contain!important;scroll-padding-block:10px 90px!important;-webkit-overflow-scrolling:touch!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor h3{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor>.module-hint{margin:0 0 8px!important;padding:8px 10px!important;border-radius:8px!important;background:#eef0f5!important;color:#50515a!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form{display:grid!important;gap:7px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker>label{display:grid!important;gap:4px!important;margin:0!important;color:#55555d!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form input:not([type=range]),html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form select,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-search{box-sizing:border-box!important;width:100%!important;min-height:38px!important;height:38px!important;padding:7px 10px!important;border:1px solid #dedee3!important;border-radius:9px!important;background:#fff!important;color:#29292f!important;font-size:14px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .module-hint{margin:0!important;padding:8px 10px!important;border-radius:8px!important;background:#eef0f5!important;color:#50515a!important;font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .button{box-sizing:border-box!important;min-height:42px!important;padding:7px 8px!important;border-radius:9px!important;font-size:13px!important;font-weight:650!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-height:42px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button:first-child{border-color:#a31943!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button:last-child{border-color:#dedee3!important;background:#f4f4f6!important;color:#585860!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button svg{flex:none!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form input[type=range]{width:100%!important;min-height:28px!important;accent-color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-radius-field{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:4px 8px!important;color:#55555d!important;font-size:12px!important;font-weight:650!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-radius-field strong{grid-column:2!important;grid-row:1!important;color:#25252a!important;font-size:12px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-radius-field input[type=range]{grid-column:1/-1!important;grid-row:2!important;height:20px!important;min-height:20px!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-coordinate-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:6px!important;margin:0!important;padding:7px 9px!important;border-radius:8px!important;background:#f4f4f6!important;color:#4b4b52!important;font-size:12px!important;line-height:1.2!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-coordinate-summary>strong{font-size:12px!important;font-weight:700!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-center-state{padding:5px 8px!important;border-radius:99px!important;background:#eeeef1!important;color:#65656d!important;font-size:11px!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation{display:grid!important;gap:4px!important;margin:0!important;padding:7px 9px!important;border:1px solid #dedee3!important;border-radius:9px!important;background:#f8f8fa!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation legend{padding:0 4px!important;font-size:12px!important;font-weight:650!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation label{display:flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;color:#29292f!important;font-size:13px!important;font-weight:500!important;white-space:normal!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation input[type=checkbox]{width:18px!important;height:18px!important;flex:none!important;accent-color:#a31943!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{position:fixed!important;right:12px!important;bottom:calc(68px + env(safe-area-inset-bottom))!important;left:12px!important;z-index:820!important;display:flex!important;gap:8px!important;padding:7px!important;border:1px solid #dedee3!important;border-radius:12px!important;background:#fffffff7!important;box-shadow:0 3px 14px #17151b1a!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{flex:1 1 0!important;min-height:44px!important;margin:0!important;font-size:13px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-secondary{order:1!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-primary{order:2!important;background:#a31943!important;color:#fff!important}
}
@supports not (height:100dvh){
 @media(max-width:768px){
  html.pwa-mobile-app #module-view.geofences-view:not([hidden]){height:auto!important;flex:1 1 0!important}
  html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{max-height:min(44vh,420px)!important}
  html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{grid-template-rows:128px minmax(0,1fr)!important}
  html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{height:128px!important;min-height:128px!important}
 }
}


/* Ajustes finais de largura e cabeçalho, restritos a Cercas no mobile/PWA. */
@media(max-width:768px){
 html.pwa-mobile-app #workspace:has(#module-view.geofences-view:not([hidden]))>.app-main{box-sizing:border-box!important;display:flex!important;flex:1 1 0!important;width:100%!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
 html.pwa-mobile-app #module-view.geofences-view:not([hidden]){box-sizing:border-box!important;align-self:stretch!important;width:100%!important;min-width:0!important;max-width:100%!important;margin-right:0!important;margin-left:0!important;overflow-x:clip!important}
 html.pwa-mobile-app #module-view.geofences-view .geofences-workspace,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{box-sizing:border-box!important;min-width:0!important;max-width:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions{position:static!important;inset:auto!important;transform:none!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin:4px 0 0!important;grid-template-columns:minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-body{width:auto!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map-panel,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-map,html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{min-width:0!important;max-width:none!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-count{gap:0!important;white-space:nowrap!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-count-badge{display:inline!important;width:auto!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header{justify-content:flex-start!important;gap:4px!important;width:100%!important;min-width:0!important;min-height:40px!important;margin:0 0 4px!important;padding:0!important;text-align:left!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>.geofence-mobile-back{order:0!important;flex:0 0 40px!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .module-header>div{order:1!important;display:flex!important;flex:1 1 auto!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;text-align:left!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) #module-title{display:block!important;width:auto!important;margin:0!important;text-align:left!important;text-indent:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofences-workspace{width:auto!important;min-width:0!important;max-width:none!important;margin-right:-14px!important;margin-left:-14px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{width:auto!important;min-width:0!important;max-width:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list{box-sizing:border-box!important;width:auto!important;min-width:0!important;max-width:none!important;margin-right:10px!important;margin-left:10px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor:not([hidden]){box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin-right:0!important;margin-left:0!important;padding-top:6px!important;padding-right:10px!important;padding-left:10px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form{width:100%!important;min-width:0!important;max-width:none!important;gap:5px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker>label{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-search{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:none!important;font-size:12px!important;letter-spacing:-.15px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-search::placeholder{font-size:12px!important;letter-spacing:-.2px!important;opacity:1!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .module-hint{padding-top:6px!important;padding-bottom:6px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation{gap:2px!important;padding:6px 9px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation label{min-height:42px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:not(:has(.geofence-inline-editor:not([hidden]))){max-height:min(39dvh,360px)!important}
}

@supports not (height:100dvh){@media(max-width:768px){html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list:not(:has(.geofence-inline-editor:not([hidden]))){max-height:min(39vh,360px)!important}}}


/* Proporções, espaçamento e tons da referência aprovada de Cercas. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-header-actions[hidden]{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{grid-template-rows:clamp(88px,11dvh,102px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>label{gap:3px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form{gap:4px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-editor>.module-hint{margin-bottom:5px!important;padding:6px 9px!important;background:#eef0f5!important;color:#50515a!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form>label,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-picker>label{color:#29292f!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .button{min-height:38px!important;padding:5px 7px!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{min-height:38px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation{gap:2px!important;padding:5px 8px!important;background:#f8f8fa!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation label{min-height:34px!important;color:#29292f!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-block-automation input[type=checkbox]{width:15px!important;height:15px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{gap:6px!important;padding:5px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-secondary{border-color:#d7d7dc!important;background:#f4f4f6!important;color:#29292f!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button-primary{border-color:#a31943!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form input:not([type=range]),html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form select,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-vehicle-search{min-height:36px!important;height:36px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{min-height:38px!important;font-size:12px!important}
}

@supports not (height:100dvh){@media(max-width:768px){html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body{grid-template-rows:92px minmax(0,1fr)!important}html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-map-panel{height:92px!important;min-height:92px!important}}}


/* Cercas mobile/PWA: enquadramento, painel em três estados e marcação no mapa. */
@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list{transition:height .24s ease,max-height .24s ease,padding .24s ease!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list[data-sheet-state=expanded]:not(:has(.geofence-inline-editor:not([hidden]))){height:auto!important;max-height:min(39dvh,360px)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list[data-sheet-state=intermediate]:not(:has(.geofence-inline-editor:not([hidden]))){height:min(29dvh,270px)!important;max-height:min(29dvh,270px)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list[data-sheet-state=collapsed]:not(:has(.geofence-inline-editor:not([hidden]))){height:76px!important;max-height:76px!important;padding:7px 10px!important;overflow:hidden!important;border-radius:18px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr[tabindex]:focus-visible{outline:3px solid #a31943!important;outline-offset:2px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-table tr.is-selected{border-color:#a31943!important;box-shadow:0 0 0 2px #a3194326!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body:has(.geofence-overview-list[data-sheet-state=expanded]){grid-template-rows:clamp(88px,11dvh,102px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body:has(.geofence-overview-list[data-sheet-state=intermediate]){grid-template-rows:clamp(190px,31dvh,270px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body:has(.geofence-overview-list[data-sheet-state=collapsed]){grid-template-rows:clamp(220px,39dvh,330px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-handle{display:grid!important;place-items:center!important;flex:none!important;width:100%!important;height:18px!important;min-height:18px!important;margin:0 0 5px!important;padding:0!important;border:0!important;background:transparent!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-sheet-grabber{display:block!important;width:42px!important;height:4px!important;border-radius:99px!important;background:#c9c9d0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list[data-sheet-state=collapsed] .geofence-inline-editor{display:none!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list[data-sheet-state=intermediate] .geofence-inline-editor,html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-list[data-sheet-state=expanded] .geofence-inline-editor{display:block!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor.is-drawing:not([hidden])) .geofence-overview-body{grid-template-rows:clamp(210px,35dvh,300px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-inline-editor .geofence-cancel-map-pick{justify-self:start!important;min-height:34px!important;padding:5px 10px!important;border-color:#d7d7dc!important;background:#f4f4f6!important;color:#34343a!important;font-size:12px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-vehicle-location-status{display:block!important;min-height:18px!important;color:#50515a!important;font-size:11px!important;line-height:1.3!important}
}
@supports not (height:100dvh){@media(max-width:768px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list[data-sheet-state=intermediate]:not(:has(.geofence-inline-editor:not([hidden]))){height:min(29vh,270px)!important;max-height:min(29vh,270px)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-overview-body:has(.geofence-overview-list[data-sheet-state=intermediate]){grid-template-rows:clamp(190px,31vh,270px) minmax(0,1fr)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor.is-drawing:not([hidden])) .geofence-overview-body{grid-template-rows:clamp(210px,35vh,300px) minmax(0,1fr)!important}
}}

@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-create-shortcut{min-width:90px!important;height:36px!important;min-height:36px!important;padding:0 11px!important;font-size:14px!important;border-radius:10px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-mobile-edit-button{width:64px!important;min-width:64px!important;max-width:64px!important;height:34px!important;min-height:34px!important;padding:0 4px!important;gap:2px!important;font-size:10.5px!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-mobile-edit-button svg{width:13px!important;height:13px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-delete-button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list .geofence-delete-button svg{width:15px!important;height:15px!important}
}


@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-cancel-map-pick{display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 9px!important;font-size:11px!important;line-height:1!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{box-sizing:border-box!important;height:36px!important;min-height:36px!important;max-height:36px!important;padding:5px 7px!important;gap:4px!important;font-size:11px!important;line-height:1.15!important;border-radius:9px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button svg{width:15px!important;height:15px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{gap:6px!important;padding:4px!important;border-radius:11px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{box-sizing:border-box!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:6px 8px!important;font-size:12px!important;line-height:1.15!important;border-radius:9px!important}
}

@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view .geofence-overview-list button.geofence-cancel-map-pick{box-sizing:border-box!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 9px!important;font-size:11px!important;line-height:1!important}
}

@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .geofence-cancel-map-pick{height:34px!important;min-height:34px!important;max-height:34px!important;padding:0 6px!important;font-size:10px!important}
}

@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions{width:100%!important;max-width:300px!important;margin-inline:auto!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{width:100%!important;max-width:150px!important;justify-self:center!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{right:auto!important;left:50%!important;width:calc(100% - 24px)!important;max-width:330px!important;box-sizing:border-box!important;transform:translateX(-50%)!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{min-width:0!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form .geofence-cancel-map-pick{width:max-content!important;min-width:0!important;max-width:100%!important;justify-self:start!important}
}

/* Compactação final das ações do formulário de Cercas no mobile. */
@media (max-width:760px){
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions{width:100%!important;max-width:220px!important;margin-inline:auto!important;column-gap:4px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button{box-sizing:border-box!important;width:100%!important;max-width:108px!important;min-width:0!important;height:32px!important;min-height:32px!important;max-height:32px!important;padding:3px 4px!important;gap:3px!important;font-size:9.5px!important;line-height:1!important;white-space:nowrap!important;border-radius:8px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-map-location-actions .button svg{width:13px!important;height:13px!important;flex:0 0 13px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions{width:calc(100% - 24px)!important;max-width:250px!important;gap:4px!important;padding:3px!important}
 html.pwa-mobile-app #module-view.geofences-view:has(.geofence-inline-editor:not([hidden])) .geofence-inline-form-actions .button{box-sizing:border-box!important;min-width:0!important;height:34px!important;min-height:34px!important;max-height:34px!important;padding:4px 5px!important;font-size:10.5px!important;line-height:1!important;white-space:nowrap!important;border-radius:8px!important}
}



/* Barra única para todas as telas autenticadas do PWA/mobile. */
@media (max-width:760px){
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header{position:fixed!important;top:0!important;right:0!important;left:0!important;z-index:800!important;display:flex!important;grid-template-columns:none!important;grid-template-areas:none!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;gap:8px!important;width:100%!important;height:62px!important;min-height:62px!important;margin:0!important;padding:0 10px 0 12px!important;background:#fff!important;border-bottom:1px solid #d8dbe0!important;box-shadow:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #pwa-mobile-menu{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand{position:relative!important;display:flex!important;grid-column:auto!important;grid-row:auto!important;flex:1 1 auto!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;max-width:170px!important;height:40px!important;margin:0 auto 0 0!important;gap:0!important;overflow:visible!important;text-decoration:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand img{display:block!important;width:auto!important;max-width:164px!important;height:36px!important;max-height:36px!important;object-fit:contain!important;object-position:left center!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand:before,html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand:after{display:none!important;content:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .top-metrics{display:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-settings{position:relative!important;display:block!important;flex:none!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#991a43!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-menu-button svg{display:block!important;width:21px!important;height:21px!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-area{position:relative!important;display:block!important;flex:none!important;width:36px!important;min-width:36px!important;height:36px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .top-profile{display:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;place-items:center!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid #991a43!important;border-radius:50%!important;background:#fff!important;color:#991a43!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button>*{display:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button:before{display:none!important;content:none!important}
 html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button:after{display:block!important;content:'RT'!important;color:#991a43!important;font-size:11px!important;font-weight:700!important;line-height:1!important}
}

/* Histórico PWA: consultar, trajeto e detalhes, mantendo a barra global intacta. */
@media (max-width: 900px), (pointer: coarse) and (max-width: 1366px){
 html.pwa-mobile-app #workspace:has(#history-view:not([hidden]))>.app-main{position:relative!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view:not([hidden]){position:fixed!important;inset:62px 0 calc(66px + env(safe-area-inset-bottom))!important;z-index:300!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;margin:0!important;padding:12px 12px 8px!important;overflow-x:hidden!important;overflow-y:auto!important;background:#f4f4f6!important;color:#17191e!important}
 html.pwa-mobile-app #history-view .history-page-heading{position:relative!important;display:flex!important;flex:none!important;align-items:flex-start!important;justify-content:flex-start!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view .history-page-heading>div{display:block!important;width:100%!important;min-width:0!important}
 html.pwa-mobile-app #history-view .history-page-heading .eyebrow,html.pwa-mobile-app #history-view .history-limit-note{display:none!important}
 html.pwa-mobile-app #history-view .history-page-heading .history-title-mobile{display:block!important;margin:0!important;color:#191b20!important;font-size:23px!important;font-weight:750!important;line-height:1.15!important;letter-spacing:-.3px!important}
 html.pwa-mobile-app #history-view .history-page-heading .history-title-desktop{display:none!important}
 html.pwa-mobile-app #history-view .history-page-heading>div>p:not(.eyebrow){display:block!important;margin:3px 0 0!important;color:#4b4f57!important;font-size:13px!important;line-height:1.35!important}
 html.pwa-mobile-app #history-view .history-page-actions{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-query-summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto;align-items:center;column-gap:8px;row-gap:2px;flex:none!important;min-width:0;margin:0!important;padding:9px 10px!important;border:1px solid #dedfe3!important;border-radius:11px!important;background:#fff!important;box-shadow:0 1px 3px #1b20280b!important}
 html.pwa-mobile-app #history-view .history-mobile-query-summary[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-summary-vehicle{grid-column:1;grid-row:1;min-width:0;color:#17191e;font-size:14px;font-weight:700;line-height:1.2;overflow-wrap:anywhere;white-space:normal}
 html.pwa-mobile-app #history-view .history-mobile-summary-period{grid-column:1;grid-row:2;min-width:0;color:#545962;font-size:11px;line-height:1.2;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle{position:static!important;grid-column:2;grid-row:1/3;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:62px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 10px!important;border:1px solid #cfd1d6!important;border-radius:8px!important;background:#fff!important;color:#343840!important;font-size:12px!important;font-weight:650!important;line-height:1!important}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle[hidden]{display:none!important}
 html.pwa-mobile-app #history-view #history-save{grid-column:3;grid-row:1/3;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:62px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:0 9px!important;border:1px solid #d8c7cd!important;border-radius:8px!important;background:#fff!important;color:#94183f!important;font-size:12px!important;font-weight:650!important;line-height:1!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view #history-save:disabled{opacity:.55!important}
 html.pwa-mobile-app #history-view .history-query-overview{display:block!important;flex:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view .history-query-overview #history-metrics{display:none!important}
 html.pwa-mobile-app #history-view #history-controls-anchor{display:block!important;min-width:0!important}
 html.pwa-mobile-app #history-view #history-controls-anchor[hidden],html.pwa-mobile-app #history-view .history-toolbar[hidden]{display:none!important}
 html.pwa-mobile-app #history-view #period-controls{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px 8px!important;margin:0!important;padding:12px!important;border:1px solid #dedfe3!important;border-radius:12px!important;background:#fff!important;box-shadow:0 1px 4px #25202b0b!important}
 html.pwa-mobile-app #history-view #period-controls>label{display:grid!important;grid-column:span 1!important;gap:4px!important;min-width:0!important;margin:0!important;color:#292c32!important;font-size:12px!important;font-weight:650!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view #period-controls>.period-vehicle-field{grid-column:1/-1!important}
 html.pwa-mobile-app #history-view #period-controls input,html.pwa-mobile-app #history-view #period-controls select,html.pwa-mobile-app #history-view .history-mobile-date-button{box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:40px!important;padding:8px 10px!important;border:1px solid #d4d6da!important;border-radius:9px!important;background:#fff!important;color:#24272d!important;font-size:13px!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search{position:relative!important;display:block!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search{width:100%!important;min-height:38px!important}
 html.pwa-mobile-app #history-view #history-vehicle-options{z-index:120!important;max-height:min(36dvh,260px)!important;overflow:auto!important;border:1px solid #d5d6da!important;border-radius:9px!important;background:#fff!important;box-shadow:0 7px 20px #17191e20!important}
 html.pwa-mobile-app #history-view .history-mobile-date-control{display:block!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app #history-view .history-mobile-date-button{min-height:40px!important;height:auto!important;padding:6px 8px!important;font-size:11px!important;line-height:1.2!important;white-space:normal!important}
 html.pwa-mobile-app #history-view .history-toolbar{display:flex!important;flex:none!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:7px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
 html.pwa-mobile-app #history-view .period-presets{display:flex!important;align-items:center!important;gap:6px!important;min-width:0!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-period-label{display:none!important}
 html.pwa-mobile-app #history-view .period-preset{min-height:32px!important;height:32px!important;padding:0 12px!important;border:1px solid #d7d8dc!important;border-radius:8px!important;background:#fff!important;color:#363a41!important;font-size:12px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view .period-preset.selected{border-color:#a31943!important;background:#f9e8ee!important;color:#94183f!important}
 html.pwa-mobile-app #history-view .history-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;flex:1 1 auto!important;align-items:center!important;justify-content:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app #history-view .history-actions>.button{display:inline-flex!important;flex:0 1 auto!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:36px!important;height:auto!important;margin:0!important;padding:7px 10px!important;border-radius:8px!important;font-size:12px!important;font-weight:650!important;line-height:1.2!important;text-align:center!important;white-space:normal!important}
 html.pwa-mobile-app #history-view #history-load{flex:1 1 150px!important;background:#a31943!important;border-color:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #history-view #history-clear{background:#fff!important;border-color:#d4d5d9!important;color:#33373e!important}
 html.pwa-mobile-app #history-view #history-status{flex:none!important;min-height:0!important;margin:0!important;padding:0!important;font-size:11px!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view #history-status:empty{display:none!important}
 html.pwa-mobile-app #history-view .history-content{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(150px,1fr) auto!important;flex:1 1 auto!important;gap:8px!important;min-width:0!important;min-height:300px!important;margin:0!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-map-card{position:relative!important;display:block!important;min-width:0!important;min-height:0!important;height:100%!important;margin:0!important;padding:0!important;overflow:hidden!important;border:1px solid #d7d8dc!important;border-radius:13px!important;background:#e8e8e8!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view .history-map-card>.section-heading{display:none!important}
 html.pwa-mobile-app #history-view #history-map-host{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;min-height:0!important;overflow:hidden!important;border:0!important;border-radius:inherit!important}
 html.pwa-mobile-app #history-view #history-map-host #map-panel{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:inherit!important}
 html.pwa-mobile-app #history-view #history-map-empty{display:grid!important;place-content:center!important;gap:5px!important;min-height:0!important;padding:16px!important;text-align:center!important;background:transparent!important;color:#383c42!important;pointer-events:none!important;font-size:12px!important}
 html.pwa-mobile-app #history-view #history-map-empty[hidden]{display:none!important}
 html.pwa-mobile-app #history-view #history-map-empty strong{font-size:12px!important;line-height:1.35!important}
 html.pwa-mobile-app #history-view #history-map-empty small{font-size:11px!important;line-height:1.35!important}
 html.pwa-mobile-app #history-view #history-map-options{position:absolute!important;right:8px!important;bottom:8px!important;z-index:700!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:4px!important;max-width:calc(100% - 16px)!important;margin:0!important;padding:5px!important;border:1px solid #d9dadd!important;border-radius:9px!important;background:#fffffff2!important;box-shadow:0 1px 5px #12151a20!important}
 html.pwa-mobile-app #history-view .history-map-option{display:inline-flex!important;align-items:center!important;gap:4px!important;min-width:0!important;min-height:26px!important;padding:3px 6px!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#383c43!important;font-size:10px!important;line-height:1.15!important;white-space:normal!important}
 html.pwa-mobile-app #history-view .history-map-option[aria-pressed="true"]{background:#f7e8ed!important;color:#86163b!important}
 html.pwa-mobile-app #history-view .history-map-option-dot{width:12px!important;height:12px!important;flex:0 0 12px!important;border:1px solid currentColor!important;border-radius:3px!important;background:#fff!important}
 html.pwa-mobile-app #history-view .history-map-option[aria-pressed="true"] .history-map-option-dot{background:#a31943!important;box-shadow:inset 0 0 0 2px #fff!important}
 html.pwa-mobile-app #history-view .history-side{display:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-side{display:block!important}
 html.pwa-mobile-app #history-view .history-events-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:20px auto auto!important;gap:5px!important;box-sizing:border-box!important;width:100%!important;height:clamp(156px,25dvh,218px)!important;min-height:156px!important;margin:0!important;padding:8px 9px!important;overflow:hidden!important;border:1px solid #dedfe3!important;border-radius:18px 18px 10px 10px!important;background:#fff!important;box-shadow:0 -2px 12px #22202a0b!important}
 html.pwa-mobile-app #history-view .history-details-toggle{grid-row:1!important;display:grid!important;place-items:center!important;width:100%!important;min-width:0!important;height:20px!important;min-height:20px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:#7a7e86!important;cursor:pointer!important}
 html.pwa-mobile-app #history-view .history-details-toggle>span:first-child{display:block!important;width:52px!important;height:5px!important;border-radius:4px!important;background:#c6c7cc!important}
 html.pwa-mobile-app #history-view .history-details-toggle:focus-visible{outline:2px solid #a31943!important;outline-offset:1px!important;border-radius:8px!important}
 html.pwa-mobile-app #history-view .history-events-heading{display:none!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs{grid-row:3!important;display:flex!important;flex-wrap:nowrap!important;gap:4px!important;min-width:0!important;min-height:34px!important;margin:0!important;padding:0!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs::-webkit-scrollbar{display:none!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tab{flex:1 0 auto!important;min-width:0!important;min-height:32px!important;height:32px!important;padding:0 8px!important;border:1px solid #dedfe3!important;border-radius:8px!important;background:#fff!important;color:#42464e!important;font-size:11px!important;line-height:1!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tab.active{border-color:#a31943!important;background:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #history-view #history-trip-strip{grid-row:4!important;min-width:0!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view #history-result{grid-row:5!important;display:none!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;overflow:auto!important;border:0!important;background:transparent!important}
 html.pwa-mobile-app #history-view #history-result .empty-state{padding:10px!important;font-size:12px!important}
 html.pwa-mobile-app #history-view .history-replay{grid-row:2!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:5px 8px!important;min-width:0!important;min-height:54px!important;margin:0!important;padding:5px 3px!important;border:0!important;border-radius:0!important;background:transparent!important}
 html.pwa-mobile-app #history-view .history-replay[hidden]{display:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle{grid-column:1!important;grid-row:1/3!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#a31943!important;color:#fff!important;font-size:0!important}
 html.pwa-mobile-app #history-view #history-replay-toggle::after{content:'▶';font-size:13px;font-weight:700}
 html.pwa-mobile-app #history-view #history-replay-toggle[aria-pressed="true"]::after{content:'Ⅱ';font-size:14px}
 html.pwa-mobile-app #history-view #history-replay-start{grid-column:2!important;grid-row:1!important;overflow:hidden!important;color:#454950!important;font-size:10px!important;line-height:1.2!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view #history-replay-range{grid-column:1/-1!important;grid-row:2!important;width:100%!important;min-width:0!important;height:18px!important;margin:0!important;accent-color:#a31943!important}
 html.pwa-mobile-app #history-view #history-replay-time{grid-column:3!important;grid-row:1!important;justify-self:end!important;min-width:0!important;max-width:100%!important;overflow:hidden!important;color:#202329!important;font-size:11px!important;font-variant-numeric:tabular-nums!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-replay label{grid-column:4!important;grid-row:1!important;display:flex!important;align-items:center!important;gap:3px!important;margin:0!important;color:#565a62!important;font-size:0!important}
 html.pwa-mobile-app #history-view .history-replay label select{min-width:52px!important;min-height:30px!important;height:30px!important;padding:2px 4px!important;border:1px solid #d4d5d9!important;border-radius:7px!important;background:#fff!important;color:#292d33!important;font-size:11px!important}
 html.pwa-mobile-app #history-view .history-query-expanded:not([data-mobile-state="results"]) #history-controls-anchor{display:block!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"]{overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-page-heading{flex:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-page-heading .history-title-mobile{font-size:21px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-page-heading>div>p:not(.eyebrow){display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-query-overview,html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-toolbar{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] #history-status{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-content{grid-template-rows:minmax(110px,1fr) auto!important;min-height:220px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-events-card{grid-template-rows:20px auto auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-events-card .content-tabs{grid-row:3!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-details-toggle{grid-row:1!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-replay{grid-row:2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-events-card:has(.history-replay[hidden]){grid-template-rows:20px auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded{overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{grid-template-rows:minmax(120px,1fr) auto!important;min-height:390px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{grid-template-rows:20px auto auto auto minmax(90px,1fr) auto!important;gap:6px!important;height:min(52dvh,calc(100dvh - 62px - 66px - env(safe-area-inset-bottom) - 150px))!important;min-height:230px!important;max-height:520px!important;padding:8px 9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-row:2!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;margin:0!important;padding:0 2px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading-copy{display:block!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{margin:0!important;color:#17191e!important;font-size:15px!important;font-weight:750!important;line-height:1.2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-map-options{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{grid-row:3!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-trip-strip{grid-row:4!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-result{grid-row:5!important;display:block!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-row:6!important;grid-template-columns:34px minmax(0,1fr) auto!important;flex:none!important;border-top:1px solid #e5e5e8!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-result-card{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;align-items:start!important;gap:5px 8px!important;margin:0 0 6px!important;padding:9px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 3px #1b20280b!important}
 html.pwa-mobile-app #history-view .history-result-card>*{min-width:0!important}
 html.pwa-mobile-app #history-view .history-result-card h3,html.pwa-mobile-app #history-view .history-result-card strong{overflow-wrap:anywhere!important;word-break:normal!important;color:#22252b!important}
 html.pwa-mobile-app #history-view .history-result-card p,html.pwa-mobile-app #history-view .history-result-card small{color:#545962!important;line-height:1.35!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-result-card .history-result-card-icon{grid-row:1/4!important;display:grid!important;place-items:center!important;width:30px!important;height:30px!important;border-radius:8px!important;background:#f7e8ed!important;color:#94183f!important}
 html.pwa-mobile-app #history-view .history-result-card button{min-width:34px!important;min-height:32px!important;border:1px solid #d9dade!important;border-radius:8px!important;background:#fff!important;color:#94183f!important}
 html.pwa-mobile-app #history-view .history-result .history-structured-table-wrap{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-inline:contain!important}
 html.pwa-mobile-app #history-view .history-result table{min-width:0!important;width:100%!important;table-layout:fixed!important}
 html.pwa-mobile-app #history-view .history-result th,html.pwa-mobile-app #history-view .history-result td{max-width:42vw!important;padding:6px 5px!important;overflow-wrap:anywhere!important;font-size:10px!important}
 html.pwa-mobile-app #history-view .history-result-card,html.pwa-mobile-app #history-view .history-stop-card,html.pwa-mobile-app #history-view .history-trip-card,html.pwa-mobile-app #history-view .history-event-card,html.pwa-mobile-app #history-view .history-gap-card{overflow-wrap:anywhere!important;word-break:normal!important}
 html.pwa-mobile-app #history-view .history-stop-card,html.pwa-mobile-app #history-view .history-trip-card,html.pwa-mobile-app #history-view .history-event-card,html.pwa-mobile-app #history-view .history-gap-card{margin:0 0 6px!important;padding:10px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important;box-shadow:0 1px 3px #1b20280b!important}
 html.pwa-mobile-app #history-view .history-stop-card h3,html.pwa-mobile-app #history-view .history-trip-card h3,html.pwa-mobile-app #history-view .history-event-card h3,html.pwa-mobile-app #history-view .history-gap-card h3{margin:0 0 4px!important;color:#22252b!important;font-size:13px!important;line-height:1.3!important}
 html.pwa-mobile-app #history-view .history-stop-card p,html.pwa-mobile-app #history-view .history-trip-card p,html.pwa-mobile-app #history-view .history-event-card p,html.pwa-mobile-app #history-view .history-gap-card p{margin:2px 0!important;color:#545962!important;font-size:11px!important;line-height:1.4!important}
 html.pwa-mobile-app #history-view .history-stop-card .history-stop-address,html.pwa-mobile-app #history-view .history-event-card .history-event-address{overflow-wrap:anywhere!important;word-break:normal!important}
 html.pwa-mobile-app #history-view :focus-visible{outline-color:#a31943!important}
}
@media (max-width:900px) and (max-height:560px), (pointer: coarse) and (max-width:1366px) and (max-height:560px){
 html.pwa-mobile-app #history-view:not([hidden]){overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"]{overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-content{grid-template-rows:minmax(110px,1fr) auto!important;min-height:310px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-events-card{height:156px!important;min-height:156px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{height:190px!important;min-height:190px!important}
}

@media (max-width:900px), (pointer: coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-structured-table-wrap{display:block!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap>table{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-cards{display:grid!important;gap:7px!important;min-width:0!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #history-view .history-mobile-record{position:relative!important;display:block!important;min-width:0!important;margin:0!important;overflow:hidden!important;border:1px solid #dedfe3!important;border-radius:11px!important;background:#fff!important;box-shadow:0 1px 3px #1b20280b!important}
 html.pwa-mobile-app #history-view .history-mobile-record>summary{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,auto) 18px!important;align-items:center!important;gap:4px 8px!important;min-height:54px!important;margin:0!important;padding:7px 9px!important;list-style:none!important;color:#25282e!important}
 html.pwa-mobile-app #history-view .history-mobile-record>summary::-webkit-details-marker{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-record-heading{min-width:0!important;overflow:hidden!important;color:#24272d!important;font-size:12px!important;font-weight:700!important;line-height:1.3!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-mobile-record-secondary{min-width:0!important;overflow:hidden!important;color:#535860!important;font-size:10px!important;line-height:1.3!important;text-overflow:ellipsis!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-mobile-record-chevron{color:#737780!important;font-size:13px!important;text-align:center!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px 10px!important;margin:0!important;padding:9px!important;border-top:1px solid #e6e6e9!important;background:#fafafb!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields>div{min-width:0!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dt{margin:0 0 2px!important;color:#737780!important;font-size:10px!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dd{margin:0!important;color:#34383f!important;font-size:11px!important;line-height:1.35!important;overflow-wrap:anywhere!important;word-break:normal!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:30px!important;margin:0 9px 8px!important;padding:4px 8px!important;border:1px solid #d9c5cc!important;border-radius:7px!important;background:#fff!important;color:#8f173d!important;font-size:10px!important;font-weight:650!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action:disabled{opacity:.55!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record>summary{grid-template-columns:26px minmax(0,1fr) auto 18px!important;min-height:58px!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record>summary:before{grid-column:1!important;grid-row:1!important;display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border-radius:8px!important;background:#f7e8ed!important;color:#94183f!important;font-size:13px!important;font-weight:800!important;content:'Ⅱ'!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-heading{grid-column:2!important;grid-row:1!important;font-size:12px!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-secondary{grid-column:2!important;grid-row:2!important;font-size:10px!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-chevron{grid-column:4!important;grid-row:1/3!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-map-action{position:absolute!important;right:8px!important;top:12px!important;width:28px!important;min-width:28px!important;height:28px!important;min-height:28px!important;margin:0!important;padding:4px!important;font-size:0!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-map-action:after{display:block!important;width:14px!important;height:14px!important;border:2px solid currentColor!important;border-radius:50% 50% 50% 0!important;transform:rotate(-45deg)!important;content:''!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-map-action:disabled:after{opacity:.5!important}
 html.pwa-mobile-app #history-view .history-result[aria-busy="true"]{opacity:.7!important}
}

@media (max-width:900px), (pointer: coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view #period-controls .history-query-card-title{grid-column:1/-1!important;margin:0 0 1px!important;color:#25282e!important;font-size:14px!important;font-weight:750!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded{overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-content{flex:0 0 min(56dvh,420px)!important;min-height:280px!important}
}


/* Histórico PWA: consulta inicial legível e ações integradas ao cartão. */
@media(max-width:768px){
 html.pwa-mobile-app #history-view[data-mobile-state="consult"]{overflow-y:auto!important;overflow-x:hidden!important;}
 html.pwa-mobile-app #history-view .history-content{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:8px!important;min-height:220px!important;}
 html.pwa-mobile-app #history-view .history-map-card{flex:1 1 0!important;height:auto!important;min-height:120px!important;max-height:none!important;}
 html.pwa-mobile-app #history-view .history-side{flex:0 0 auto!important;}
 html.pwa-mobile-app #history-view #history-map-options{inset:auto 8px 8px auto!important;width:auto!important;height:auto!important;max-height:calc(100% - 16px)!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty small{display:none!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="results"]:not(.history-query-expanded) .history-query-overview,html.pwa-mobile-app #history-view[data-mobile-state="results"]:not(.history-query-expanded) .history-toolbar{display:none!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-query-overview{display:block!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-toolbar{display:grid!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls{grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:14px!important;}
 html.pwa-mobile-app #history-view .history-query-card-title{grid-column:1/-1!important;margin:0 0 1px!important;color:#191b20!important;font-size:16px!important;font-weight:750!important;line-height:1.25!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls>label{grid-column:1/-1!important;gap:5px!important;font-size:13px!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-date-button{min-height:44px!important;padding:9px 11px!important;text-align:left!important;font-size:14px!important;font-variant-numeric:tabular-nums!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-toolbar{grid-column:1/-1!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important;margin:2px 0 0!important;padding:0!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-presets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset{min-height:38px!important;height:38px!important;font-size:13px!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;margin:0!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>.button{width:100%!important;min-height:44px!important;padding:10px 12px!important;font-size:14px!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>#history-load{grid-row:1!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:none!important;background:#a31943!important;border-color:#a31943!important;color:#fff!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>#history-clear{grid-row:2!important;flex:1 1 100%!important;width:100%!important;min-width:0!important;max-width:none!important;background:#fff!important;color:#33373e!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-options{display:none!important;}
 html.pwa-mobile-app #history-view #history-mobile-selected-date{display:none!important;}
 html.pwa-mobile-app #history-view #history-mobile-selected-date[hidden]{display:none!important;}
 
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty{z-index:1100!important;display:grid!important;place-content:center!important;gap:7px!important;min-height:100%!important;padding:18px!important;border-radius:inherit!important;background:transparent!important;color:#333740!important;text-align:center!important;pointer-events:none!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty>span{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;margin:auto!important;border-radius:50%!important;background:#fff!important;color:#a31943!important;box-shadow:0 2px 12px #15182020!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty>span svg{width:26px!important;height:26px!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty strong{display:block!important;max-width:min(290px,calc(100vw - 70px))!important;margin:auto!important;padding:10px 13px!important;border:1px solid #dedfe3!important;border-radius:10px!important;background:#fff!important;box-shadow:0 2px 12px #15182020!important;color:#292c32!important;font-size:14px!important;line-height:1.4!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty small{max-width:min(290px,calc(100vw - 70px))!important;margin:auto!important;padding:8px 12px!important;border-radius:8px!important;background:#fff!important;color:#5c6069!important;font-size:12px!important;line-height:1.4!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty small{display:none!important;}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-content{grid-template-rows:minmax(130px,1fr)!important;min-height:160px!important;}
 html.pwa-mobile-app #history-view #history-status[data-level="error"]{padding:8px 10px!important;border-radius:8px!important;background:#fff0f0!important;color:#8c1c2c!important;line-height:1.4!important;overflow-wrap:anywhere!important;}
 html.pwa-mobile-app #history-view #history-status[data-level="success"]{display:none!important;}
}


/* Ajustes finais do Histórico mobile/PWA: cartões legíveis e replay com ações no painel. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-replay{grid-template-columns:34px minmax(0,1fr) minmax(70px,auto) 54px!important;grid-template-rows:auto auto auto!important;align-items:center!important;gap:5px 7px!important;padding:5px 2px!important;}
 html.pwa-mobile-app #history-view .history-replay[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading{grid-column:1/-1!important;grid-row:1!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-width:0!important;}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading h3{margin:0!important;color:#202329!important;font-size:14px!important;font-weight:750!important;line-height:1.25!important;}
 html.pwa-mobile-app #history-view #history-save{position:static!important;grid-area:auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:60px!important;min-height:30px!important;height:30px!important;margin:0!important;padding:4px 9px!important;border:1px solid #d4d5d9!important;border-radius:7px!important;background:#fff!important;color:#30343a!important;font-size:11px!important;line-height:1.15!important;}
 html.pwa-mobile-app #history-view #history-replay-toggle{grid-column:1!important;grid-row:2!important;width:32px!important;height:32px!important;min-height:32px!important;}
 html.pwa-mobile-app #history-view #history-replay-start{grid-column:2!important;grid-row:2!important;min-width:0!important;max-width:none!important;overflow:visible!important;color:#545962!important;font-size:11px!important;line-height:1.25!important;text-overflow:clip!important;white-space:normal!important;}
 html.pwa-mobile-app #history-view #history-replay-time{grid-column:3!important;grid-row:2!important;min-width:68px!important;max-width:none!important;overflow:visible!important;font-size:12px!important;font-weight:700!important;text-overflow:clip!important;}
 html.pwa-mobile-app #history-view .history-replay label{grid-column:4!important;grid-row:2!important;}
 html.pwa-mobile-app #history-view #history-replay-range{grid-column:1/-1!important;grid-row:3!important;width:100%!important;height:20px!important;margin:0!important;}
 html.pwa-mobile-app #history-view .history-mobile-record>summary{grid-template-columns:minmax(0,1fr) 18px!important;grid-template-rows:auto auto!important;align-items:start!important;gap:3px 8px!important;min-height:0!important;padding:9px 10px!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-heading{grid-column:1!important;grid-row:1!important;overflow:visible!important;font-size:13px!important;line-height:1.35!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-secondary{grid-column:1!important;grid-row:2!important;overflow:visible!important;font-size:11px!important;line-height:1.4!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-chevron{grid-column:2!important;grid-row:1/3!important;align-self:center!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px 10px!important;padding:10px!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-fields>div.is-wide{grid-column:1/-1!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dd{font-size:12px!important;line-height:1.45!important;white-space:pre-line!important;overflow-wrap:anywhere!important;}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dt{font-size:10px!important;}
 html.pwa-mobile-app #history-view .history-mobile-map-action{min-height:32px!important;margin:0 10px 9px!important;font-size:11px!important;}
}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-mobile-record-preview{margin:0!important;padding:0 10px 9px!important;color:#535860!important;font-size:11px!important;line-height:1.4!important;overflow-wrap:anywhere!important;}
 html.pwa-mobile-app #history-view #history-replay-start{max-width:none!important;width:auto!important;overflow-wrap:normal!important;word-break:normal!important;}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){html.pwa-mobile-app #history-view .history-mobile-record-preview{grid-column:1/-1!important;grid-row:3!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;color:#535860!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important;}html.pwa-mobile-app #history-view .history-mobile-record-chevron{grid-row:1/4!important;}}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-events-card .content-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;overflow:visible!important;}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs .content-tab{box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:32px!important;height:auto!important;margin:0!important;padding:4px 2px!important;font-size:10px!important;line-height:1.15!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere!important;}
}


/* Histórico mobile: aproximação visual das telas aprovadas. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view{font-family:Roboto,"Arial",sans-serif!important;color:#202124!important}
 html.pwa-mobile-app #history-view .history-page-heading .history-title-mobile{font-weight:700!important;letter-spacing:-.25px!important}
 html.pwa-mobile-app #history-view .history-mobile-summary-vehicle{display:flex!important;grid-column:1!important;grid-row:1!important;align-items:center!important;gap:8px!important;color:#202124!important;font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app #history-view .history-mobile-summary-vehicle svg{display:block!important;flex:0 0 20px!important;width:20px!important;height:20px!important;color:#292c31!important}
 html.pwa-mobile-app #history-view .history-mobile-query-summary{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;column-gap:8px!important;padding:8px 10px!important}
 html.pwa-mobile-app #history-view .history-mobile-summary-period{grid-column:1!important;grid-row:2!important;justify-self:start!important;color:#555a62!important;font-size:11px!important}
 html.pwa-mobile-app #history-view .pwa-history-query-toggle{grid-column:3!important;grid-row:1/3!important;min-width:62px!important;height:30px!important;min-height:30px!important;padding:0 9px!important;border-radius:7px!important;font-size:11px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view #period-controls{gap:7px 7px!important;padding:10px!important;border-radius:11px!important}
 html.pwa-mobile-app #history-view #period-controls .history-query-card-title{margin:0 0 1px!important;color:#202124!important;font-size:14px!important;font-weight:700!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls>label{gap:3px!important;color:#292c31!important;font-size:11px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view #period-controls input,html.pwa-mobile-app #history-view #period-controls select{min-height:32px!important;padding:6px 9px!important;border-radius:7px!important;color:#25272b!important;font-size:12px!important;font-weight:400!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search{margin-bottom:4px!important}
 html.pwa-mobile-app #history-view #history-vehicle-search{min-height:30px!important;padding-left:30px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656a72' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:9px center!important;background-size:14px!important;font-weight:400!important}
 html.pwa-mobile-app #history-view #period-controls>.period-vehicle-field>select#vehicle{display:block!important;width:100%!important;min-height:32px!important;margin-top:4px!important;padding:5px 28px 5px 9px!important;border-radius:7px!important;background-color:#fff!important;font-size:12px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-date-control{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(82px,.9fr)!important;gap:6px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-date-button{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(82px,.9fr)!important;gap:6px!important;min-height:32px!important;padding:0!important;border:0!important;background:transparent!important;font-size:11px!important;font-weight:400!important}
 html.pwa-mobile-app #history-view .history-mobile-date-part{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:5px!important;min-width:0!important;min-height:32px!important;padding:4px 7px!important;border:1px solid #d7d8dc!important;border-radius:6px!important;background:#fff!important;color:#303238!important;font-size:11px!important;font-weight:400!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-mobile-date-part svg{display:block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;color:#454950!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-presets{gap:6px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:30px!important;height:30px!important;padding:4px 8px!important;border-radius:7px!important;background:#fff!important;color:#292c31!important;font-size:11px!important;font-weight:500!important}
 html.pwa-mobile-app #history-view .period-preset svg{width:14px!important;height:14px!important;flex:0 0 14px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions{gap:6px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>.button{min-height:34px!important;height:34px!important;padding:6px 10px!important;border-radius:7px!important;font-size:12px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>#history-load{background:#a31943!important;border-color:#a31943!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-actions>#history-clear{background:#fff!important;border-color:#d5d6da!important;color:#33363c!important;font-weight:500!important}
 html.pwa-mobile-app #history-view #history-map-options{right:7px!important;bottom:7px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:4px!important;width:max-content!important;max-width:calc(100% - 14px)!important;padding:4px!important;border:1px solid #e1e1e4!important;border-radius:9px!important;background:#fffffff5!important;box-shadow:0 1px 5px #12151a1c!important}
 html.pwa-mobile-app #history-view .history-map-option{display:inline-flex!important;align-items:center!important;gap:4px!important;min-width:0!important;min-height:25px!important;padding:2px 4px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#36383d!important;font-size:10px!important;font-weight:500!important;line-height:1.1!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-map-option[aria-pressed="true"]{background:transparent!important;color:#36383d!important}
 html.pwa-mobile-app #history-view .history-map-option-dot{position:relative!important;display:block!important;width:14px!important;height:14px!important;flex:0 0 14px!important;border:1px solid #888b91!important;border-radius:3px!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view .history-map-option[aria-pressed="true"] .history-map-option-dot{border-color:#a31943!important;background:#a31943!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view .history-map-option[aria-pressed="true"] .history-map-option-dot:after{position:absolute!important;left:3px!important;top:1px!important;width:5px!important;height:8px!important;border-right:2px solid #fff!important;border-bottom:2px solid #fff!important;transform:rotate(45deg)!important;content:""!important}
 html.pwa-mobile-app #history-view .history-events-heading{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{grid-template-rows:20px auto auto auto minmax(80px,1fr) auto!important;gap:5px!important;padding:8px 9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-row:2!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;margin:0!important;padding:0 2px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading-copy{display:block!important;flex:1 1 auto!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{margin:0!important;color:#17191d!important;font-size:15px!important;font-weight:700!important;line-height:1.2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-save{display:inline-flex!important;flex:0 0 auto!important;width:auto!important;min-width:58px!important;height:29px!important;min-height:29px!important;margin:0!important;padding:3px 8px!important;border:1px solid #d1d2d6!important;border-radius:7px!important;background:#fff!important;color:#25282d!important;font-size:11px!important;font-weight:600!important}
 html.pwa-mobile-app #history-view #history-save svg{width:14px!important;height:14px!important;margin-right:4px!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading h3{font-weight:700!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-heading{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-column:1/-1!important;grid-row:6!important;grid-template-columns:34px minmax(0,1fr) auto 54px!important;grid-template-rows:auto auto!important;gap:4px 7px!important;padding:5px 2px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{grid-column:1!important;grid-row:1!important;width:32px!important;height:32px!important;min-height:32px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-start{grid-column:2!important;grid-row:1!important;color:#555961!important;font-size:10px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-time{grid-column:3!important;grid-row:1!important;min-width:66px!important;text-align:center!important;font-size:12px!important;font-weight:700!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay label{grid-column:4!important;grid-row:1!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-range{grid-column:1/-1!important;grid-row:2!important;height:18px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-record-heading{color:#25272c!important;font-size:12px!important;font-weight:700!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-record-secondary{color:#53565d!important;font-size:10px!important;font-weight:500!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-record-preview{color:#454950!important;font-size:10px!important;font-weight:400!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record>summary:before{width:24px!important;height:24px!important;border-radius:7px!important;background:#f8e9ee!important;color:#a31943!important;font-size:0!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record>summary:before{content:""!important;background-image:linear-gradient(#a31943,#a31943),linear-gradient(#a31943,#a31943)!important;background-size:2px 10px,2px 10px!important;background-position:9px center,13px center!important;background-repeat:no-repeat!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action{top:11px!important;right:8px!important;width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;margin:0!important;padding:0!important;border:1px solid #d8d9dd!important;border-radius:7px!important;background:#fff!important;color:#991a43!important;font-size:0!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action:after{width:12px!important;height:12px!important;border-width:1.8px!important}
 html.pwa-mobile-app #history-view .history-mobile-record{border-color:#dedfe3!important;border-radius:10px!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle::after{content:""!important;width:0!important;height:0!important;margin-left:3px!important;border-top:6px solid transparent!important;border-bottom:6px solid transparent!important;border-left:9px solid #fff!important;font-size:0!important}
 html.pwa-mobile-app #history-view #history-replay-toggle[aria-pressed="true"]::after{width:10px!important;height:12px!important;margin:0!important;border:0!important;background:linear-gradient(90deg,#fff 0 3px,transparent 3px 7px,#fff 7px 10px)!important}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:before{position:absolute!important;left:9px!important;top:50%!important;z-index:2!important;width:14px!important;height:14px!important;transform:translateY(-50%)!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23656a72' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.8' cy='10.8' r='6.8'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E") center/contain no-repeat!important;content:""!important}
 html.pwa-mobile-app #history-view #history-vehicle-search{background-image:none!important;padding-left:30px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .pwa-history-query-toggle:before{display:block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343840' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h16M4 18h16'/%3E%3Ccircle cx='8' cy='6' r='2' fill='white'/%3E%3Ccircle cx='16' cy='12' r='2' fill='white'/%3E%3Ccircle cx='10' cy='18' r='2' fill='white'/%3E%3C/svg%3E") center/contain no-repeat!important;content:""!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .pwa-history-query-toggle:after{display:none!important;content:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .pwa-history-query-toggle{gap:5px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-column:1/-1!important;min-height:29px!important;align-items:center!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading-copy{flex:1 1 auto!important;width:auto!important;max-width:none!important;text-align:left!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{text-align:left!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-save{position:static!important;grid-column:auto!important;grid-row:auto!important;align-self:center!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{height:min(47dvh,calc(100dvh - 62px - 66px - env(safe-area-inset-bottom) - 150px))!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action{position:absolute!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset:before{display:block!important;flex:0 0 14px!important;width:14px!important;height:14px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23363a41' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3.5 10h17'/%3E%3C/svg%3E") center/contain no-repeat!important;content:""!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-load:before{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;margin-right:6px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3.5 10h17M12 13v5m-2.5-2.5h5'/%3E%3C/svg%3E") center/contain no-repeat!important;content:""!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-clear:before{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;margin-right:6px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333373e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12a8 8 0 1 0 2.34-5.66L4 8.5'/%3E%3Cpath d='M4 4v4.5h4.5'/%3E%3C/svg%3E") center/contain no-repeat!important;content:""!important}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty{position:absolute!important;inset:auto 0 0!important;top:auto!important;right:0!important;bottom:0!important;left:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;box-sizing:border-box!important;width:100%!important;height:31px!important;min-height:31px!important;padding:4px 9px!important;border-top:1px solid #dedfe3!important;border-radius:0 0 12px 12px!important;background:#f8f8fa!important;color:#373a40!important;text-align:left!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty>span{display:grid!important;place-items:center!important;flex:0 0 15px!important;width:15px!important;height:15px!important;margin:0!important;border-radius:50%!important;background:transparent!important;color:#6c7179!important;box-shadow:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty>span svg{width:14px!important;height:14px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty strong{display:block!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#42464d!important;font-size:10px!important;font-weight:400!important;line-height:1.2!important;text-align:left!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-map-empty small{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-date-control{display:block!important;width:100%!important}html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-date-button{width:100%!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading-copy{flex:1 1 0!important;width:0!important;min-width:0!important;margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{margin:0!important;text-align:left!important}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-replay:not([hidden]){grid-template-rows:auto auto auto auto!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-count{grid-column:1/-1!important;grid-row:4!important;justify-self:start!important;margin:0!important;color:#555a62!important;font-size:9px!important;line-height:1.2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-count{display:none!important}
}


/* Histórico mobile/PWA: formulário reaberto por Alterar conserva a composição da consulta inicial. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded *{box-sizing:border-box!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #history-controls-anchor,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-toolbar,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-presets,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-actions{width:100%!important;min-width:0!important;max-width:100%!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls>label{grid-column:1/-1!important;width:100%!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls>.period-vehicle-field{grid-column:1/-1!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls .history-mobile-date-control,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded #period-controls .history-mobile-date-button{width:100%!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-toolbar{align-items:stretch!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-presets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-preset{width:100%!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-auto-flow:row!important;gap:7px!important;flex:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-actions>.button{grid-column:1!important;width:100%!important;min-width:0!important;max-width:none!important;min-height:38px!important;height:auto!important;white-space:normal!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-actions>#history-load{grid-row:1!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:none!important;background:#a31943!important;border-color:#a31943!important;color:#fff!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .history-actions>#history-clear{grid-row:2!important;flex:0 0 100%!important;width:100%!important;min-width:0!important;max-width:none!important;background:#fff!important;border-color:#d4d5d9!important;color:#33373e!important}
}


/* Histórico mobile/PWA — estado inicial Consultar conforme composição aprovada. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls>label.period-vehicle-field{gap:4px!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #period-controls .history-mobile-vehicle-search{margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-presets{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:max-content!important;max-width:100%!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset{flex:0 0 auto!important;width:auto!important;min-width:68px!important;padding:4px 9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .history-content{grid-template-rows:minmax(130px,1fr)!important;min-height:160px!important;flex:1 1 auto!important}
}

/* Acabamento dos três estados do Histórico mobile/PWA. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls,
 html.pwa-mobile-app #history-view:not([hidden]) #history-controls-anchor,
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls>label,
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls .history-mobile-date-control,
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls .history-mobile-date-button{
  box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;margin-left:0!important;margin-right:0!important
 }
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls{padding:10px!important}
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls .period-vehicle-field{position:relative!important}
 html.pwa-mobile-app #history-view:not([hidden]) #period-controls>.period-vehicle-field>select#vehicle{padding-left:31px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23454950' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13.5v-3l2.2-5h13.6l2.2 5v3M3 13.5h18v5H3zM6.5 18.5v2M17.5 18.5v2M5.2 10.5h13.6'/%3E%3Ccircle cx='6.5' cy='15.5' r='1'/%3E%3Ccircle cx='17.5' cy='15.5' r='1'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:9px center!important;background-size:16px!important}
 html.pwa-mobile-app #history-view .history-mobile-date-control{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(82px,.9fr)!important;gap:6px!important}
 html.pwa-mobile-app #history-view .history-mobile-date-button{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(82px,.9fr)!important;gap:6px!important}
 html.pwa-mobile-app #history-view .history-replay:not([hidden]){grid-template-columns:40px minmax(0,1fr) minmax(76px,auto) 64px!important;grid-template-rows:auto auto auto auto!important;align-items:center!important;column-gap:8px!important;row-gap:5px!important;min-height:88px!important;padding:7px 4px 4px!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading{grid-column:1/-1!important;grid-row:1!important;min-height:20px!important;margin:0 0 1px!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading h3{font-size:15px!important;font-weight:700!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view #history-replay-toggle{grid-column:1!important;grid-row:2!important;width:38px!important;height:38px!important;min-height:38px!important}
 html.pwa-mobile-app #history-view #history-replay-start{grid-column:2!important;grid-row:2!important;align-self:center!important;font-size:11px!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view #history-replay-time{grid-column:3!important;grid-row:2!important;justify-self:center!important;min-width:76px!important;font-size:14px!important;font-weight:750!important;line-height:1.2!important;font-variant-numeric:tabular-nums!important}
 html.pwa-mobile-app #history-view .history-replay label{grid-column:4!important;grid-row:2!important;justify-self:end!important}
 html.pwa-mobile-app #history-view .history-replay label select{box-sizing:border-box!important;min-width:62px!important;min-height:34px!important;height:34px!important;padding:3px 7px!important;font-size:12px!important;font-weight:650!important}
 html.pwa-mobile-app #history-view #history-replay-range{grid-column:1/-1!important;grid-row:3!important;width:100%!important;height:20px!important;margin:1px 0 0!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-count{grid-column:1/-1!important;grid-row:4!important;justify-self:start!important;margin:0!important;font-size:10px!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view .history-events-card:not(.history-details-expanded *) .content-tabs{margin-top:5px!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs{gap:4px!important}
 html.pwa-mobile-app #history-view .history-mobile-record{overflow:hidden!important}
 html.pwa-mobile-app #history-view .history-mobile-record>summary{position:relative!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) 32px!important;grid-template-rows:auto auto auto!important;align-items:start!important;gap:3px 9px!important;min-height:0!important;padding:10px 10px!important}
 html.pwa-mobile-app #history-view .history-mobile-record-heading{grid-column:1!important;grid-row:1!important;overflow:visible!important;font-size:13px!important;font-weight:700!important;line-height:1.3!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-mobile-record-secondary{grid-column:1!important;grid-row:2!important;overflow:visible!important;color:#53565d!important;font-size:11px!important;font-weight:500!important;line-height:1.4!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-mobile-record-preview{grid-column:1!important;grid-row:3!important;margin:0!important;padding:0!important;color:#454950!important;font-size:11px!important;line-height:1.4!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-mobile-record-chevron{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action{position:static!important;grid-column:2!important;grid-row:1/4!important;align-self:center!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:6px!important;border:1px solid #d8d9dd!important;border-radius:8px!important;background:#fff!important;color:#94183f!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action:after{display:none!important;content:none!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action svg{display:block!important;width:17px!important;height:17px!important}
 html.pwa-mobile-app #history-view .history-mobile-map-action:disabled{opacity:.45!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields{gap:8px 10px!important;padding:10px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{grid-template-rows:minmax(105px,.72fr) auto!important;min-height:300px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{height:min(56dvh,calc(100dvh - 62px - 66px - env(safe-area-inset-bottom) - 145px))!important;min-height:260px!important;max-height:560px!important;grid-template-rows:20px auto auto auto minmax(90px,1fr) auto!important;gap:6px!important;padding:8px 9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-row:2!important;min-height:28px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{font-size:16px!important;font-weight:750!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{grid-row:3!important;margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-result{grid-row:5!important;min-height:0!important;overscroll-behavior:contain!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-row:6!important;grid-template-columns:40px minmax(0,1fr) minmax(76px,auto) 64px!important;grid-template-rows:auto auto auto!important;min-height:72px!important;padding:7px 2px 0!important;border-top:1px solid #e5e5e8!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-heading{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{grid-column:1!important;grid-row:1!important;width:36px!important;height:36px!important;min-height:36px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-start{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-time{grid-column:2!important;grid-row:1!important;justify-self:center!important;min-width:82px!important;font-size:14px!important;font-weight:750!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay label{grid-column:3!important;grid-row:1!important;justify-self:end!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-range{grid-column:1/-1!important;grid-row:2!important;height:20px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-count{display:none!important}
}
@media (max-width:900px) and (orientation:landscape), (pointer:coarse) and (max-width:1366px) and (orientation:landscape){
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{height:min(62dvh,calc(100dvh - 62px - 66px - env(safe-area-inset-bottom) - 105px))!important;min-height:220px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{grid-template-rows:minmax(92px,.55fr) auto!important;min-height:230px!important}
}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record>summary{grid-template-columns:26px minmax(0,1fr) 34px!important;grid-template-rows:auto auto auto!important;align-items:start!important;gap:3px 8px!important;padding:10px!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-heading{grid-column:2!important;grid-row:1!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-secondary{grid-column:2!important;grid-row:2!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-preview{grid-column:2!important;grid-row:3!important;min-width:0!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-record-chevron{display:none!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-map-action{position:static!important;grid-column:3!important;grid-row:1/4!important;align-self:center!important;width:32px!important;min-width:32px!important;height:32px!important;min-height:32px!important;margin:0!important;padding:6px!important;font-size:0!important}
 html.pwa-mobile-app #history-view .history-structured-table-wrap[data-history-table="stops"] .history-mobile-map-action:after{display:none!important;content:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"]:not(.history-details-expanded) .history-events-card .content-tabs{margin-top:5px!important}
}

/* Histórico PWA: rolagem do drawer e foco de parada sem deslocar cabeçalho/resumo. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="results"]{overflow:hidden!important;min-height:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-page-heading,
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .history-mobile-query-summary{position:relative!important;z-index:2!important;flex:0 0 auto!important;scroll-margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded{overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(104px,.58fr) minmax(0,1.42fr)!important;flex:1 1 0!important;min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;overflow:hidden!important;gap:8px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-map-card{grid-row:1!important;min-height:0!important;height:100%!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-side{grid-row:2!important;display:block!important;min-width:0!important;min-height:0!important;height:100%!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{box-sizing:border-box!important;display:grid!important;grid-template-rows:20px auto auto auto minmax(0,1fr) auto!important;gap:6px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:8px 9px!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-details-toggle{grid-row:1!important;flex:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-row:2!important;display:flex!important;align-items:center!important;min-height:28px!important;margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{grid-row:3!important;min-height:32px!important;margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-trip-strip{grid-row:4!important;min-height:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-result{grid-row:5!important;display:block!important;min-width:0!important;min-height:0!important;height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;scrollbar-gutter:stable!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-row:6!important;grid-template-columns:38px minmax(0,1fr) 78px 60px!important;grid-template-rows:auto auto!important;min-width:0!important;min-height:64px!important;margin:0!important;padding:6px 2px 0!important;border-top:1px solid #e2e3e6!important;gap:4px 7px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{grid-column:1!important;grid-row:1!important;width:34px!important;height:34px!important;min-height:34px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-time{grid-column:2!important;grid-row:1!important;justify-self:center!important;min-width:76px!important;font-size:14px!important;font-weight:750!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay label{grid-column:3!important;grid-row:1!important;justify-self:end!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-range{grid-column:1/-1!important;grid-row:2!important;height:17px!important;margin:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-heading,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-start,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-count{display:none!important}
 html.pwa-mobile-app #history-view.history-location-focused #history-map-options{display:none!important;visibility:hidden!important;pointer-events:none!important}
 html.pwa-mobile-app #history-view .history-mobile-record-heading{font-size:14px!important;line-height:1.35!important}
 html.pwa-mobile-app #history-view .history-mobile-record-secondary{font-size:12px!important;line-height:1.45!important}
 html.pwa-mobile-app #history-view .history-mobile-record-preview{font-size:12px!important;line-height:1.45!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dt{font-size:11px!important;line-height:1.35!important}
 html.pwa-mobile-app #history-view .history-mobile-record-fields dd{font-size:13px!important;line-height:1.5!important}
}
@media (max-width:900px) and (orientation:landscape), (pointer:coarse) and (max-width:1366px) and (orientation:landscape){
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{grid-template-rows:minmax(64px,.48fr) minmax(0,1.52fr)!important;gap:5px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{min-height:23px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{gap:4px!important;padding:5px 7px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{min-height:28px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tab{min-height:26px!important;height:26px!important;font-size:9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{min-height:52px!important;padding-top:3px!important}
}
@media (max-width:900px) and (orientation:landscape), (pointer:coarse) and (max-width:1366px) and (orientation:landscape){
 html.pwa-mobile-app #history-view[data-mobile-state="results"]{inset:62px 0 calc(52px + env(safe-area-inset-bottom))!important;gap:4px!important;padding:5px 8px 4px!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-query-summary{grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:1px 6px!important;padding:4px 7px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-summary-vehicle{font-size:12px!important;line-height:1.15!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-summary-period{font-size:10px!important;line-height:1.15!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .pwa-history-query-toggle{height:25px!important;min-height:25px!important;font-size:10px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-content{display:flex!important;flex:1 1 0!important;flex-direction:column!important;gap:4px!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-map-card{flex:0 0 42px!important;order:0!important;width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-side{display:block!important;flex:1 1 0!important;order:1!important;width:100%!important;height:auto!important;min-width:0!important;min-height:0!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{display:grid!important;grid-template-rows:14px 20px 26px minmax(0,1fr) 46px!important;gap:3px!important;width:100%!important;height:100%!important;min-height:0!important;max-height:none!important;padding:4px 6px!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .history-details-toggle{grid-row:1!important;height:14px!important;min-height:14px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{grid-row:2!important;min-height:20px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading h2{font-size:13px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{grid-row:3!important;min-height:26px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tab{min-height:24px!important;height:24px!important;padding:2px 1px!important;font-size:9px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-trip-strip{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-result{grid-row:4!important;min-height:0!important;overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-row:5!important;grid-template-columns:32px minmax(0,1fr) 72px 54px!important;grid-template-rows:auto auto!important;min-height:46px!important;padding:3px 1px 0!important;gap:2px 4px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{width:28px!important;height:28px!important;min-height:28px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-time{min-width:70px!important;font-size:12px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay label select{min-width:52px!important;min-height:27px!important;height:27px!important;font-size:10px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-range{height:14px!important}
}
@media (max-width:900px) and (orientation:landscape), (pointer:coarse) and (max-width:1366px) and (orientation:landscape){
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-map-card{flex:0 0 32px!important;height:32px!important;min-height:32px!important;max-height:32px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card{grid-template-rows:10px 18px 22px minmax(20px,1fr) 36px!important;gap:3px!important;padding:3px 5px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-details-toggle{height:10px!important;min-height:10px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-heading{min-height:18px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tabs{min-height:22px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card .content-tab{min-height:20px!important;height:20px!important;padding:1px!important;font-size:8px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{min-height:36px!important;padding:2px 1px 0!important;gap:2px 4px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{width:25px!important;height:25px!important;min-height:25px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay label select{min-height:24px!important;height:24px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-range{height:11px!important}
}

/* Histórico mobile/PWA v11: busca única selecionável, controles vetoriais sem sobreposição. */
@media(max-width:760px){
 html.pwa-mobile-app #history-view #period-controls>.period-vehicle-field>select#vehicle{display:none!important;position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;opacity:0!important;pointer-events:none!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search{position:relative!important;display:flex!important;align-items:center!important;min-height:38px!important;margin:0!important;border:1px solid #d7d8dc!important;border-radius:8px!important;background:#fff!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon{display:block!important;position:absolute!important;left:11px!important;top:50%!important;width:17px!important;height:17px!important;transform:translateY(-50%)!important;fill:none!important;stroke:#62666d!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within .history-vehicle-search-icon,html.pwa-mobile-app #history-view .history-mobile-vehicle-search:has(#history-vehicle-search[data-selected="true"]) .history-vehicle-search-icon{display:none!important}
 html.pwa-mobile-app #history-view #history-vehicle-search{box-sizing:border-box!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;min-height:36px!important;height:36px!important;margin:0!important;padding:7px 37px 7px 35px!important;border:0!important;border-radius:8px!important;background:transparent!important;background-image:none!important;box-shadow:none!important;color:#24262b!important;font-size:13px!important;font-weight:400!important;outline:none!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus{padding-left:12px!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus::placeholder{color:transparent!important;opacity:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search[data-selected="true"]{padding-left:12px!important;font-weight:700!important}
 html.pwa-mobile-app #history-view #history-vehicle-search::-webkit-search-cancel-button{display:none!important}
 html.pwa-mobile-app #history-view .history-vehicle-clear{position:absolute!important;right:5px!important;top:50%!important;display:grid!important;place-items:center!important;width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#6b6d73!important;transform:translateY(-50%)!important}
 html.pwa-mobile-app #history-view .history-vehicle-clear[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-vehicle-clear svg{width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important}
 html.pwa-mobile-app #history-view .history-vehicle-options{z-index:1200!important;top:calc(100% + 4px)!important;left:0!important;right:0!important;max-height:min(40vh,260px)!important;overflow:auto!important;border:1px solid #d7d8dc!important;border-radius:9px!important;background:#fff!important;box-shadow:0 8px 22px #17191e24!important}
 html.pwa-mobile-app #history-view .history-vehicle-option{box-sizing:border-box!important;width:100%!important;min-height:38px!important;padding:8px 11px!important;text-align:left!important;color:#24262b!important;font-size:12px!important}
 html.pwa-mobile-app #history-view .history-vehicle-option strong{font-weight:700!important}
 html.pwa-mobile-app #history-view .history-vehicle-empty{margin:0!important;padding:10px!important;color:#656970!important;font-size:12px!important}
 html.pwa-mobile-app #history-view .period-preset{box-sizing:border-box!important;flex:0 0 auto!important;min-width:0!important;width:auto!important;max-width:48%!important;min-height:30px!important;height:30px!important;padding:4px 8px!important;border-radius:7px!important;font-size:11px!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .period-preset svg{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
 html.pwa-mobile-app #history-view #history-replay-toggle::before,html.pwa-mobile-app #history-view #history-replay-toggle::after{content:none!important;display:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle{display:grid!important;place-items:center!important;padding:0!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg{display:block!important;width:18px!important;height:18px!important;fill:#fff!important;stroke:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-replay-vehicle-marker{background:transparent!important;border:0!important}
 html.pwa-mobile-app #history-view .history-replay-vehicle-icon{display:block!important;width:40px!important;height:40px!important;filter:drop-shadow(0 1px 2px #20212477)!important}
 html.pwa-mobile-app #history-view .history-replay-vehicle-icon svg{display:block!important;width:100%!important;height:100%!important;overflow:visible!important}
}
@media(max-width:760px){html.pwa-mobile-app #history-view .period-preset::before,html.pwa-mobile-app #history-view .period-preset::after{content:none!important;display:none!important}html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-preset{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;min-height:30px!important;height:30px!important;padding:4px 8px!important;border-radius:7px!important;font-size:11px!important}}


/* Histórico PWA v12: corrigir ícones duplicados, busca, atalhos e painel sem replay. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within .history-vehicle-search-icon,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:has(#history-vehicle-search[data-selected="true"]) .history-vehicle-search-icon{display:none!important;visibility:hidden!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within:before,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:has(#history-vehicle-search[data-selected="true"]):before{display:none!important;content:none!important;background:none!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within #history-vehicle-search,
 html.pwa-mobile-app #history-view #history-vehicle-search[data-selected="true"]{padding-left:12px!important}
 html.pwa-mobile-app #history-view .history-vehicle-options{box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important}
 html.pwa-mobile-app #history-view .history-vehicle-option{box-sizing:border-box!important;display:flex!important;align-items:center!important;width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:9px 12px!important;overflow:visible!important;line-height:1.4!important;white-space:normal!important}
 html.pwa-mobile-app #history-view .history-vehicle-option strong{display:block!important;box-sizing:border-box!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;overflow:visible!important;color:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app #history-view .history-mobile-date-button:before,
 html.pwa-mobile-app #history-view .history-mobile-date-button:after{display:none!important;content:none!important;background:none!important}
 html.pwa-mobile-app #history-view .history-mobile-date-button{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(82px,.9fr)!important;align-items:center!important;gap:6px!important;min-height:38px!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important}
 html.pwa-mobile-app #history-view .history-mobile-date-part{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;min-width:0!important;min-height:36px!important;padding:0 8px!important;border:1px solid #d7d8dc!important;border-radius:7px!important;background:#fff!important;color:#303238!important;font-size:12px!important;font-weight:400!important;line-height:1.25!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-mobile-date-part svg{display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;overflow:visible!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important;color:#454950!important}
 html.pwa-mobile-app #history-view .period-preset:before,
 html.pwa-mobile-app #history-view .period-preset:after{display:none!important;content:none!important;background:none!important}
 html.pwa-mobile-app #history-view .period-preset{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;gap:5px!important;width:auto!important;min-width:0!important;max-width:none!important;height:32px!important;min-height:32px!important;padding:0 10px!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .period-preset svg{display:block!important;flex:0 0 15px!important;width:15px!important;height:15px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-presets{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;width:100%!important;min-width:0!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-query-expanded .period-preset{width:auto!important;min-width:0!important;max-width:none!important;flex:0 0 auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]){grid-template-rows:20px auto auto minmax(0,1fr)!important;gap:5px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) .history-events-heading{grid-row:2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) .content-tabs{grid-row:3!important;min-height:32px!important;height:32px!important;align-self:start!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) .content-tab{flex:1 1 0!important;min-height:32px!important;height:32px!important;align-self:center!important;font-size:11px!important;line-height:1!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) #history-trip-strip[hidden]{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) #history-result{grid-row:4!important;min-height:0!important;height:100%!important;overflow-y:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) #history-replay{display:none!important}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset:before,
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] .period-preset:after,
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .period-preset:before,
 html.pwa-mobile-app #history-view[data-mobile-state="results"] .period-preset:after{display:none!important;content:none!important;background:none!important}
}

/* Histórico mobile v13: elimina as lupas herdadas e mantém apenas o SVG controlado pelo estado. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search::before,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search::after{content:none!important;display:none!important;background:none!important;background-image:none!important}
 html.pwa-mobile-app #history-view #history-vehicle-search,
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-vehicle-search,
 html.pwa-mobile-app #history-view[data-mobile-state="results"] #history-vehicle-search{background-image:none!important;background:none!important;padding-left:12px!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon{display:block!important;visibility:visible!important;opacity:1!important;left:10px!important;width:15px!important;height:15px!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within .history-vehicle-search-icon,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:has(#history-vehicle-search[data-selected="true"]) .history-vehicle-search-icon,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon[hidden]{display:none!important;visibility:hidden!important;opacity:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus{padding-left:12px!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus::placeholder{color:transparent!important;opacity:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search[data-selected="true"]{padding-left:12px!important}
 html.pwa-mobile-app #history-view .history-vehicle-options{box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important}
 html.pwa-mobile-app #history-view .history-vehicle-option{box-sizing:border-box!important;display:flex!important;align-items:center!important;width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;padding:9px 12px!important;overflow:visible!important;line-height:1.4!important;white-space:normal!important}
 html.pwa-mobile-app #history-view .history-vehicle-option strong{display:block!important;box-sizing:border-box!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;overflow:visible!important;font-size:13px!important;font-weight:700!important;line-height:1.4!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
}

/* Histórico PWA v14: estados exclusivos da busca, play óptico e abas sem esticar. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search::before,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search::after{content:none!important;display:none!important;background:none!important;background-image:none!important}
 html.pwa-mobile-app #history-view #history-vehicle-search,
 html.pwa-mobile-app #history-view[data-mobile-state="consult"] #history-vehicle-search,
 html.pwa-mobile-app #history-view[data-mobile-state="results"] #history-vehicle-search{background-color:transparent!important;background-image:none!important}
 html.pwa-mobile-app #history-view #history-vehicle-search::placeholder{color:transparent!important;opacity:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus:placeholder-shown::placeholder{color:#666a72!important;opacity:1!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon{display:block!important;visibility:visible!important;opacity:1!important}
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:focus-within .history-vehicle-search-icon,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search:has(#history-vehicle-search[data-selected="true"]) .history-vehicle-search-icon,
 html.pwa-mobile-app #history-view .history-mobile-vehicle-search .history-vehicle-search-icon[hidden]{display:none!important;visibility:hidden!important;opacity:0!important}
 html.pwa-mobile-app #history-view #history-vehicle-search:focus{padding-left:12px!important}
 html.pwa-mobile-app #history-view #history-vehicle-search[data-selected="true"]{padding-left:12px!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:32px!important;align-items:start!important;align-content:start!important;gap:3px!important;width:100%!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view .history-events-card .content-tab,
 html.pwa-mobile-app #history-view .history-events-card .content-tab.active{box-sizing:border-box!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;align-self:start!important;width:100%!important;min-width:0!important;height:32px!important;min-height:32px!important;max-height:32px!important;margin:0!important;padding:0 1px!important;border-width:1px!important;border-radius:8px!important;font-size:10px!important;font-weight:600!important;line-height:1!important;text-align:center!important;white-space:nowrap!important;overflow:hidden!important}
 html.pwa-mobile-app #history-view .history-events-card:has(.history-replay[hidden]){grid-template-rows:20px minmax(0,1fr) 32px auto auto!important}
 html.pwa-mobile-app #history-view .history-events-card:has(.history-replay[hidden]) .content-tabs{grid-row:3!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]){grid-template-rows:20px auto 32px auto minmax(0,1fr)!important;gap:5px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) .history-events-heading{grid-row:2!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) .content-tabs{grid-row:3!important;height:32px!important;min-height:32px!important;max-height:32px!important;align-self:start!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) #history-trip-strip{grid-row:4!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-events-card:has(.history-replay[hidden]) #history-result{grid-row:5!important;min-height:0!important;height:100%!important;overflow-y:auto!important}
 html.pwa-mobile-app #history-view #history-replay-toggle::before,
 html.pwa-mobile-app #history-view #history-replay-toggle::after{content:none!important;display:none!important;background:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle{box-sizing:border-box!important;display:grid!important;place-items:center!important;align-self:center!important;justify-self:start!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#a31943!important;color:#fff!important;font-size:0!important;line-height:0!important;overflow:hidden!important;-webkit-tap-highlight-color:transparent!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg{display:block!important;position:static!important;flex:none!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;transform:none!important;fill:#fff!important;stroke:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle .history-replay-play-icon{margin-left:1px!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg[hidden]{display:none!important}
 html.pwa-mobile-app #history-view .history-replay{grid-template-columns:44px minmax(0,1fr) auto auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay{grid-template-columns:44px minmax(0,1fr) auto 54px!important}
}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){html.pwa-mobile-app #history-view #history-replay-toggle{grid-row:1!important}}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;grid-row:1!important}}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view #history-replay-toggle{position:relative!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg{position:absolute!important;left:calc(50% + 1px)!important;top:50%!important;transform:translate(-50%,-50%)!important}
}
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){html.pwa-mobile-app #history-view #history-replay-toggle .history-replay-play-icon{margin-left:0!important}}

/* Histórico PWA v15: painel de reprodução em linhas estáveis, sem sobrepor o título. */
@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view .history-replay:not([hidden]),
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]){
  box-sizing:border-box!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:minmax(22px,auto) 44px 20px auto!important;align-items:center!important;align-content:start!important;column-gap:8px!important;row-gap:4px!important;min-width:0!important;min-height:0!important;height:auto!important;margin:0!important;padding:5px 2px 2px!important;overflow:visible!important
 }
 html.pwa-mobile-app #history-view .history-mobile-replay-heading,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-mobile-replay-heading{box-sizing:border-box!important;display:flex!important;position:static!important;grid-column:1/-1!important;grid-row:1!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;min-width:0!important;min-height:22px!important;height:auto!important;margin:0!important;padding:0!important;overflow:visible!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading h3{margin:0!important;font-size:15px!important;font-weight:700!important;line-height:1.25!important}
 html.pwa-mobile-app #history-view .history-mobile-replay-heading #history-save{position:static!important;grid-area:auto!important;align-self:center!important;justify-self:end!important;flex:0 0 auto!important;margin:0!important}
 html.pwa-mobile-app #history-view #history-replay-toggle,
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded #history-replay-toggle{box-sizing:border-box!important;position:relative!important;inset:auto!important;display:grid!important;grid-column:1!important;grid-row:2!important;align-self:center!important;justify-self:start!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:visible!important;transform:none!important;-webkit-tap-highlight-color:transparent!important}
 html.pwa-mobile-app #history-view #history-replay-toggle::before,
 html.pwa-mobile-app #history-view #history-replay-toggle::after{content:none!important;display:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg{box-sizing:border-box!important;display:block!important;position:absolute!important;inset:50% auto auto 50%!important;flex:none!important;width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;max-width:34px!important;max-height:34px!important;margin:0!important;padding:0!important;transform:translate(-50%,-50%)!important;overflow:visible!important;fill:none!important;stroke:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle svg[hidden]{display:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle .history-replay-button-circle{fill:#a31943!important;stroke:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle .history-replay-button-symbol{fill:#fff!important;stroke:none!important}
 html.pwa-mobile-app #history-view #history-replay-toggle .history-replay-play-icon{margin:0!important}
 html.pwa-mobile-app #history-view #history-replay-start{display:none!important}
 html.pwa-mobile-app #history-view #history-replay-time{box-sizing:border-box!important;position:static!important;grid-column:2!important;grid-row:2!important;align-self:center!important;justify-self:center!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;font-size:14px!important;font-weight:700!important;line-height:1.2!important;text-align:center!important;text-overflow:clip!important;white-space:nowrap!important}
 html.pwa-mobile-app #history-view .history-replay>label{box-sizing:border-box!important;position:static!important;grid-column:3!important;grid-row:2!important;align-self:center!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:0!important;min-width:0!important;margin:0!important;padding:0!important;font-size:0!important;line-height:0!important}
 html.pwa-mobile-app #history-view .history-replay>label select{box-sizing:border-box!important;min-width:54px!important;width:54px!important;max-width:54px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:3px 6px!important;font-size:12px!important;line-height:1.2!important}
 html.pwa-mobile-app #history-view #history-replay-range{box-sizing:border-box!important;position:static!important;grid-column:1/-1!important;grid-row:3!important;align-self:center!important;width:100%!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app #history-view #history-replay-count{position:static!important;grid-column:1/-1!important;grid-row:4!important;justify-self:end!important;display:block!important;min-height:0!important;margin:0!important;padding:0!important;font-size:10px!important;line-height:1.2!important}
}

@media (max-width:900px), (pointer:coarse) and (max-width:1366px){
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]){grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-rows:minmax(22px,auto) 44px 20px auto!important;min-height:0!important;height:auto!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) .history-mobile-replay-heading{display:flex!important;grid-column:1/-1!important;grid-row:1!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) #history-replay-toggle{grid-column:1!important;grid-row:2!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;max-width:44px!important;max-height:44px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) #history-replay-start{display:none!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) #history-replay-time{grid-column:2!important;grid-row:2!important;justify-self:center!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden])>label{grid-column:3!important;grid-row:2!important;justify-self:end!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) #history-replay-range{grid-column:1/-1!important;grid-row:3!important;height:20px!important;min-height:20px!important}
 html.pwa-mobile-app #history-view[data-mobile-state="results"].history-details-expanded .history-replay:not([hidden]) #history-replay-count{grid-column:1/-1!important;grid-row:4!important}
}

/* Notificações mobile/PWA: conteúdo interno redesenhado; cabeçalho e navegação permanecem intactos. */
@media (max-width: 1024px) {
  html.pwa-mobile-app .notification-popover {
    position: fixed !important;
    z-index: 690 !important;
    inset: var(--notification-panel-top, 72px) 12px var(--notification-panel-bottom, 78px) !important;
    display: none;
    box-sizing: border-box;
    width: min(520px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: none;
    margin-inline: auto;
    padding: 16px 13px max(12px, env(safe-area-inset-bottom));
    overflow: auto;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: stretch;
    gap: 10px;
    border: 1px solid #dedee3;
    border-radius: 18px;
    background: #fff;
    color: #202128;
    box-shadow: 0 12px 32px #15131b2b;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  html.pwa-mobile-app .notification-popover.open { display: grid; }
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] { grid-template-rows: min-content minmax(0, 1fr); }
  html.pwa-mobile-app .notification-popover-heading,
  html.pwa-mobile-app .notification-mobile-view-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 0 2px 9px;
    border-bottom: 1px solid #e8e8ec;
  }
  html.pwa-mobile-app .notification-popover-heading > strong,
  html.pwa-mobile-app .notification-mobile-view-heading > strong {
    min-width: 0;
    color: #202128;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
  }
  html.pwa-mobile-app .notification-recent-label { margin: 0 2px; color: #5b5c65; font-size: 13px; font-weight: 700; }
  html.pwa-mobile-app .notification-popover-heading-actions { display: flex; flex: none; align-items: center; gap: 8px; }
  html.pwa-mobile-app .notification-preferences-open {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 7px;
    border: 0;
    background: transparent;
    color: #202128;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
  }
  html.pwa-mobile-app .notification-preferences-open svg { width: 18px; height: 18px; flex: none; }
  html.pwa-mobile-app .notification-popover-close,
  html.pwa-mobile-app .notification-view-back {
    display: grid;
    flex: none;
    width: 36px;
    min-width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #2c2c32;
    font-size: 25px;
    line-height: 1;
  }
  html.pwa-mobile-app .notification-view-back { font-size: 30px; }
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] > .notification-popover-heading,
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] > .notification-inbox-preview,
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] > .notification-inbox-open,
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] > #notification-inbox-action-status { display: none !important; }
  html.pwa-mobile-app .notification-mobile-view { display: none; min-height: 0; }
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] > .notification-preferences-view { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 10px; }
  html.pwa-mobile-app .notification-preferences-content { display: grid; min-height: 0; align-content: start; gap: 10px; overflow: auto; padding: 0 1px 4px; }
  html.pwa-mobile-app .notification-inbox-preview { display: grid; min-height: 0; max-height: none; align-content: start; gap: 8px; overflow: auto; padding: 1px 1px 4px; }
  html.pwa-mobile-app .notification-inbox-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 8px;
    align-items: center;
    gap: 3px 9px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid #dcdde2;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 1px 3px #1919230b;
  }
  html.pwa-mobile-app .notification-inbox-item.unread { border-left: 3px solid #9d1744; }
  html.pwa-mobile-app .notification-inbox-item.read { background: #fbfbfc; }
  html.pwa-mobile-app .notification-event-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 9px; background: #f8e7ed; color: #98183f; }
  html.pwa-mobile-app .notification-event-icon[data-event-type="VEHICLE_STOPPED"],
  html.pwa-mobile-app .notification-event-icon[data-event-type="MOTION_OBSERVED"],
  html.pwa-mobile-app .notification-event-icon[data-event-type="IGNITION_ON"] { background: #e7f6ea; color: #26783b; }
  html.pwa-mobile-app .notification-event-icon svg { display: block; width: 25px; height: 25px; }
  html.pwa-mobile-app .notification-inbox-copy { display: grid; min-width: 0; gap: 2px; }
  html.pwa-mobile-app .notification-inbox-copy strong { color: #202128; font-size: 14px; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
  html.pwa-mobile-app .notification-inbox-copy span { color: #373840; font-size: 12px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
  html.pwa-mobile-app .notification-inbox-copy small { color: #656671; font-size: 11px; line-height: 1.25; }
  html.pwa-mobile-app .notification-unread-dot { width: 8px; height: 8px; border-radius: 50%; background: #a31845; }
  html.pwa-mobile-app .notification-inbox-item .notification-mark-read { grid-column: 2 / 4; justify-self: end; min-height: 28px; padding: 2px 0; border: 0; background: transparent; color: #8f173d; font: inherit; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  html.pwa-mobile-app .notification-inbox-empty { margin: 0; padding: 20px 10px; color: #5f6069; font-size: 14px; line-height: 1.45; text-align: center; }
  html.pwa-mobile-app .notification-inbox-open { width: 100%; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 10px; background: #a31845; color: #fff; font: inherit; font-size: 14px; font-weight: 700; }
  html.pwa-mobile-app #notification-inbox-action-status { margin: 0; color: #8f173d; font-size: 12px; }
  html.pwa-mobile-app .notification-preferences-content > details { display: grid; gap: 8px; padding: 10px; border: 1px solid #dedee3; border-radius: 12px; background: #fff; }
  html.pwa-mobile-app .notification-preferences-content > details > summary { display: flex; min-height: 32px; align-items: center; color: #22232a; font-size: 15px; font-weight: 750; }
  html.pwa-mobile-app .notification-sound-settings label { min-height: 34px; font-size: 12px; line-height: 1.3; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type { grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type > span { display: grid; grid-column: 1; grid-row: 1; gap: 2px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type > input { grid-column: 2; grid-row: 1; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type strong { font-size: 14px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type small { color: #646570; font-size: 11px; font-weight: 400; }
  html.pwa-mobile-app .notification-settings-subheading { display: block; margin: 6px 0 0; color: #25262d; font-size: 14px; }
  html.pwa-mobile-app .notification-sound-settings select,
  html.pwa-mobile-app .notification-map-toast-settings select { width: min(100%, 180px); min-height: 36px; font-size: 12px; }
  html.pwa-mobile-app .notification-sound-settings button { min-height: 36px !important; padding: 6px 10px !important; font-size: 12px !important; }
  html.pwa-mobile-app .notification-sound-settings #notification-sound-test { background: #fff; color: #95183f; }
  html.pwa-mobile-app .notification-sound-settings #notification-sound-save-event { background: #a31845; color: white; }
  html.pwa-mobile-app .notification-map-toast-settings > summary::after { content: '›'; margin-left: auto; color: #95183f; font-size: 22px; }
  html.pwa-mobile-app .notification-map-toast-settings[open] > summary::after { content: '⌄'; }
  html.pwa-mobile-app .notification-push-card { display: grid; gap: 4px; padding: 11px; border: 1px solid #dedee3; border-radius: 12px; background: #fff; }
  html.pwa-mobile-app .notification-push-card > strong { color: #22232a; font-size: 15px; }
  html.pwa-mobile-app .notification-push-card > small { color: #646570; font-size: 11px; line-height: 1.35; }
  html.pwa-mobile-app #event-push-controls { display: flex; min-height: 32px; align-items: center; justify-content: space-between; gap: 8px; margin: 0; color: #24252c; font-size: 12px; }
  html.pwa-mobile-app #event-push-controls input { accent-color: #a31845; }
  html.pwa-mobile-app #event-push-status { display: block; min-height: 0; color: #646570; font-size: 11px; line-height: 1.35; }
  html.pwa-mobile-app .notification-inbox-dialog {
    position: fixed !important;
    z-index: 710 !important;
    inset: var(--notification-panel-top, 72px) 12px var(--notification-panel-bottom, 78px) !important;
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 10px;
    width: min(520px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    max-height: none;
    height: var(--notification-panel-height, calc(100dvh - var(--notification-panel-top) - var(--notification-panel-bottom)));
    margin: 0 auto;
    padding: 13px;
    overflow: hidden;
    border: 1px solid #dedee3;
    border-radius: 18px;
    background: #fff;
    color: #202128;
    box-shadow: 0 12px 32px #15131b2b;
  }
  html.pwa-mobile-app .notification-inbox-dialog::backdrop { background: transparent; }
  html.pwa-mobile-app .notification-inbox-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid #e8e8ec; }
  html.pwa-mobile-app .notification-inbox-dialog > header h2 { flex: 1; margin: 0; color: #202128; font-size: 19px; font-weight: 750; line-height: 1.2; }
  html.pwa-mobile-app .notification-inbox-dialog-status { margin: 0; color: #656671; font-size: 12px; line-height: 1.35; }
  html.pwa-mobile-app .notification-inbox-dialog-list { display: grid; min-height: 0; max-height: none; align-content: start; gap: 8px; overflow: auto; padding: 2px 1px 5px; overscroll-behavior: contain; }
  html.pwa-mobile-app .notification-inbox-dialog > [data-inbox-more] { width: 100%; min-height: 40px; border-radius: 10px; background: #f4f4f6; color: #8f173d; font-size: 13px; font-weight: 700; }
  html.pwa-mobile-app .notification-inbox-dialog[open] { display: grid; }
  html.pwa-mobile-app .notification-inbox-dialog:not([open]) { display: none !important; }
  html.pwa-mobile-app .notification-inbox-dialog::backdrop { pointer-events: none; }
  html.pwa-mobile-app .map-notification-toast-host { z-index: 490 !important; top: var(--notification-panel-top, 72px) !important; right: 56px !important; bottom: auto !important; left: 8px !important; width: auto; max-width: 340px; max-height: min(190px, calc(var(--pwa-viewport-height, 100dvh) - 150px)); margin: 0; overflow: auto; gap: 7px; pointer-events: none; }
  html.pwa-mobile-app .map-notification-toast-host[data-position="top-right"] { right: 56px !important; left: auto !important; }
  html.pwa-mobile-app .map-notification-toast-host[data-position="bottom-right"] { top: auto !important; right: 56px !important; bottom: var(--notification-panel-bottom, 78px) !important; left: auto !important; }
  html.pwa-mobile-app .map-notification-toast-host[data-position="bottom-left"] { top: auto !important; bottom: var(--notification-panel-bottom, 78px) !important; }
  html.pwa-mobile-app .map-notification-toast-host[data-position="center"] { top: 50% !important; left: 50% !important; right: auto !important; transform: translate(-50%, -50%); }
  html.pwa-mobile-app .map-notification-toast { display: grid; grid-template-columns: 38px minmax(0, 1fr) 30px; align-items: center; gap: 5px 8px; padding: 9px; border-left-width: 4px; border-radius: 11px; }
  html.pwa-mobile-app .map-notification-toast .notification-event-icon { width: 36px; height: 36px; grid-row: span 2; }
  html.pwa-mobile-app .map-notification-toast .notification-event-icon svg { width: 23px; height: 23px; }
  html.pwa-mobile-app .map-notification-toast-copy { display: grid; min-width: 0; gap: 1px; }
  html.pwa-mobile-app .map-notification-toast-copy strong { color: #22232a; font-size: 14px; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
  html.pwa-mobile-app .map-notification-toast-copy span { color: #50515a; font-size: 11px; font-weight: 600; }
  html.pwa-mobile-app .map-notification-toast-copy small { color: #666771; font-size: 10px; }
  html.pwa-mobile-app .map-notification-toast-close { grid-column: 3; grid-row: 1; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: #34353d; font-size: 22px; }
  html.pwa-mobile-app .map-notification-toast-inbox { grid-column: 2 / 4; justify-self: start; min-height: 28px; padding: 0; border: 0; background: transparent; color: #8f173d; font: inherit; font-size: 11px; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
}
/* Ajustes de notificações mobile: Recentes ocupa só a altura do conteúdo. */
@media (max-width: 1024px) {
  html.pwa-mobile-app .notification-popover[data-mobile-view="recent"] {
    inset: auto 12px calc(var(--notification-panel-bottom, 78px) + 8px) 12px !important;
    height: auto !important;
    max-height: min(68vh, calc(var(--notification-panel-height, 600px) - 24px)) !important;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 9px;
  }
  html.pwa-mobile-app .notification-popover[data-mobile-view="recent"] .notification-inbox-preview { max-height: min(36vh, 300px); }
  html.pwa-mobile-app .notification-popover[data-mobile-view="preferences"] .notification-recent-label { display: none !important; }
  html.pwa-mobile-app .notification-preferences-open,
  html.pwa-mobile-app .notification-popover-close,
  html.pwa-mobile-app .notification-view-back { min-width: 44px; min-height: 44px; width: 44px; height: 44px; }
  html.pwa-mobile-app .notification-preferences-open { width: auto; padding-inline: 7px; font-size: 13px; }
  html.pwa-mobile-app .notification-popover-heading-actions { gap: 5px; }
  html.pwa-mobile-app .notification-view-back { font-size: 28px; }
  html.pwa-mobile-app .notification-inbox-item { grid-template-columns: 44px minmax(0, 1fr) 8px; gap: 4px 9px; padding: 10px; }
  html.pwa-mobile-app .notification-event-icon { width: 42px; height: 42px; }
  html.pwa-mobile-app .notification-inbox-copy strong { font-size: 16px; line-height: 1.2; }
  html.pwa-mobile-app .notification-inbox-copy span { font-size: 14px; line-height: 1.3; }
  html.pwa-mobile-app .notification-inbox-copy small { font-size: 12px; line-height: 1.3; }
  html.pwa-mobile-app .notification-inbox-item .notification-mark-read { min-height: 44px; padding: 5px 2px; font-size: 12px; }
  html.pwa-mobile-app .notification-inbox-open { min-height: 44px; font-size: 14px; }
  html.pwa-mobile-app .notification-preferences-content > details > summary { min-height: 40px; font-size: 16px; }
  html.pwa-mobile-app .notification-sound-settings label:not(:first-of-type),
  html.pwa-mobile-app .notification-map-toast-settings > label:not(:first-of-type) { grid-template-columns: minmax(0, 1fr) minmax(0, 48%); min-height: 44px; gap: 8px; font-size: 13px; line-height: 1.3; overflow-wrap: anywhere; }
  html.pwa-mobile-app .notification-sound-settings select,
  html.pwa-mobile-app .notification-map-toast-settings select { width: 100%; min-width: 0; max-width: none; min-height: 44px; padding-inline: 8px; font-size: 14px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type { min-height: 44px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type strong { font-size: 16px; }
  html.pwa-mobile-app .notification-settings-subheading { margin-top: 9px; font-size: 16px; font-weight: 750; }
  html.pwa-mobile-app .notification-sound-actions { display: grid; grid-template-columns: minmax(92px, .8fr) minmax(0, 1.2fr); gap: 8px; }
  html.pwa-mobile-app .notification-sound-actions button { width: 100%; min-width: 0; min-height: 44px !important; height: auto; padding: 7px 8px !important; font-size: 13px !important; line-height: 1.2; white-space: normal; }
  html.pwa-mobile-app .notification-sound-actions #notification-sound-test { background: #fff; color: #95183f; }
  html.pwa-mobile-app .notification-sound-actions #notification-sound-save-event { background: #a31845; color: #fff; }
  html.pwa-mobile-app .notification-push-card > strong { font-size: 16px; }
  html.pwa-mobile-app .notification-push-card > small,
  html.pwa-mobile-app #event-push-status { font-size: 12px; }
  html.pwa-mobile-app .notification-event-icon[data-event-type="VEHICLE_UNBLOCKED"] { background: #e7f6ea; color: #26783b; }
  html.pwa-mobile-app .notification-event-icon[data-event-type="VEHICLE_BLOCKED"],
  html.pwa-mobile-app .notification-event-icon[data-event-type="ANCHOR_EXIT_BLOCKED"],
  html.pwa-mobile-app .notification-event-icon[data-event-type="ANCHOR_EXIT_BLOCK_FAILED"] { background: #f8e7ed; color: #98183f; }
  html.pwa-mobile-app .map-notification-toast { grid-template-columns: 40px minmax(0, 1fr) 44px; gap: 5px 8px; }
  html.pwa-mobile-app .map-notification-toast-copy strong { font-size: 16px; }
  html.pwa-mobile-app .map-notification-toast-copy span { font-size: 13px; }
  html.pwa-mobile-app .map-notification-toast-copy small { font-size: 12px; }
  html.pwa-mobile-app .map-notification-toast-close { width: 44px; height: 44px; }
  html.pwa-mobile-app .map-notification-toast-inbox { min-height: 44px; font-size: 12px; }
}

/* Refinos aprovados do sino: ícones, cartões compactos e controles mobile. */
@media (max-width: 1024px) {
  html.pwa-mobile-app .notification-inbox-item {
    grid-template-columns: 40px minmax(0, 1fr) 8px;
    gap: 2px 9px;
    padding: 8px 10px;
  }
  html.pwa-mobile-app .notification-event-icon { width: 38px; height: 38px; border-radius: 9px; }
  html.pwa-mobile-app .notification-event-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
  html.pwa-mobile-app .notification-inbox-copy { gap: 2px; }
  html.pwa-mobile-app .notification-inbox-copy strong { font-size: 16px; line-height: 1.22; }
  html.pwa-mobile-app .notification-inbox-copy span { font-size: 14px; line-height: 1.25; }
  html.pwa-mobile-app .notification-inbox-copy small { font-size: 12px; line-height: 1.25; }
  html.pwa-mobile-app .notification-inbox-item .notification-mark-read {
    position: relative;
    grid-column: 2 / 4;
    justify-self: end;
    min-height: 24px;
    height: 24px;
    padding: 0 2px;
    font-size: 12px;
    line-height: 1.2;
  }
  html.pwa-mobile-app .notification-inbox-item .notification-mark-read::before,
  html.pwa-mobile-app .notification-sound-actions button::before {
    content: '';
    position: absolute;
    inset: -10px -4px;
  }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    min-height: 38px;
    gap: 8px;
  }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type > span { display: grid; min-width: 0; gap: 2px; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type strong { font-size: 16px; line-height: 1.2; }
  html.pwa-mobile-app .notification-sound-settings label:first-of-type small { font-size: 12px; line-height: 1.25; }
  html.pwa-mobile-app #notification-sound-enabled {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 42px;
    min-width: 42px;
    height: 24px;
    min-height: 24px;
    margin: 0;
    border: 1px solid #b9bac2;
    border-radius: 999px;
    background: #d7d8de;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease;
  }
  html.pwa-mobile-app #notification-sound-enabled::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px #15131b38;
    transition: transform .16s ease;
  }
  html.pwa-mobile-app #notification-sound-enabled:checked { border-color: #a31845; background: #a31845; }
  html.pwa-mobile-app #notification-sound-enabled:checked::before { transform: translateX(18px); }
  html.pwa-mobile-app #notification-sound-enabled:focus-visible { outline: 3px solid #a318455c; outline-offset: 3px; }
  html.pwa-mobile-app .notification-sound-settings label:not(:first-of-type),
  html.pwa-mobile-app .notification-map-toast-settings > label:not(:first-of-type) {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    min-height: 38px;
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
  }
  html.pwa-mobile-app .notification-sound-settings select,
  html.pwa-mobile-app .notification-map-toast-settings select {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 36px;
    height: 36px;
    padding: 4px 8px;
    font-size: 14px;
    text-overflow: ellipsis;
  }
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 8px; }
  html.pwa-mobile-app .notification-sound-actions button {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 36px !important;
    height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 8px !important;
    font-size: 13px !important;
    line-height: 1.2;
    white-space: nowrap;
  }
  html.pwa-mobile-app #notification-sound-test svg { display: block; flex: none; width: 18px; height: 18px; }
  html.pwa-mobile-app #notification-sound-test span { overflow: hidden; text-overflow: ellipsis; }
  html.pwa-mobile-app .notification-preferences-content > details { gap: 7px; padding: 9px; }
  html.pwa-mobile-app .notification-preferences-content > details > summary { min-height: 38px; font-size: 16px; }
  html.pwa-mobile-app .map-notification-toast .notification-event-icon { width: 36px; height: 36px; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app .notification-sound-settings label:not(:first-of-type),
  html.pwa-mobile-app .notification-map-toast-settings > label:not(:first-of-type) {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 4px;
    padding-block: 4px;
  }
  html.pwa-mobile-app .notification-sound-settings select,
  html.pwa-mobile-app .notification-map-toast-settings select { grid-column: 1; }
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 6px; }
}
@media (max-width: 1024px) {
  html.pwa-mobile-app .notification-popover[data-mobile-view="recent"]::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 8px;
    left: 50%;
    width: 36px;
    height: 4px;
    border-radius: 999px;
    background: #c6c6cc;
    transform: translateX(-50%);
    pointer-events: none;
  }
  html.pwa-mobile-app .notification-sound-settings label:not(:first-of-type),
  html.pwa-mobile-app .notification-map-toast-settings > label:not(:first-of-type) {
    grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr);
  }
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
}
@media (max-width: 380px) {
  html.pwa-mobile-app .notification-sound-settings label:not(:first-of-type),
  html.pwa-mobile-app .notification-map-toast-settings > label:not(:first-of-type) { grid-template-columns: minmax(0, 1fr); }
  html.pwa-mobile-app .notification-sound-settings select,
  html.pwa-mobile-app .notification-map-toast-settings select { grid-column: 1; }
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
}
@media (max-width: 1024px) {
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  html.pwa-mobile-app #notification-sound-test span { overflow: visible; text-overflow: clip; white-space: nowrap; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app .notification-sound-actions { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}

/* Alertas mobile: seletor de seção único, conteúdo rolável e formulário agrupado.
   Mantém as barras compartilhadas fora do escopo destes seletores. */
@media (max-width: 768px) {
  html.pwa-mobile-app #module-view .alert-configuration-tabs { display: none !important; }
  html.pwa-mobile-app #module-view .alert-configuration-picker { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 5px; margin: 0 0 9px; color: #34343b; font-size: 12px; font-weight: 650; }
  html.pwa-mobile-app #module-view .alert-configuration-picker select { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 7px 34px 7px 10px; border: 1px solid #d8d8de; border-radius: 9px; background-color: #fff; color: #26262d; font: inherit; font-size: 14px; font-weight: 600; }
  html.pwa-mobile-app #module-view .alert-configuration-content { min-width: 0; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group { min-width: 0; margin: 0; padding: 0; border: 1px solid #e0e0e5; border-radius: 11px; background: #fff; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group + .alert-mobile-form-group { margin-top: 8px; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > summary { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 11px; color: #2a2a31; font-size: 15px; font-weight: 750; line-height: 1.25; list-style: none; cursor: pointer; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > summary::-webkit-details-marker { display: none; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > summary::after { content: '⌄'; color: #94173e; font-size: 18px; line-height: 1; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group[open] > summary::after { content: '⌃'; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > .alert-form-step { min-width: 0; margin: 0; padding: 9px; border: 0; border-top: 1px solid #ececf0; border-radius: 0 0 11px 11px; }
  html.pwa-mobile-app #module-view .alert-rule-editor { min-width: 0; }
  html.pwa-mobile-app #module-view .alert-rule-editor input,
  html.pwa-mobile-app #module-view .alert-rule-editor select,
  html.pwa-mobile-app #module-view .alert-contact-form input,
  html.pwa-mobile-app #module-view .alert-contact-form select { box-sizing: border-box; max-width: 100%; }
  html.pwa-mobile-app #module-view .alert-rule-editor label,
  html.pwa-mobile-app #module-view .alert-contact-form label { overflow-wrap: anywhere; }
  html.pwa-mobile-app #module-view .alert-channel-status { grid-template-columns: 24px minmax(0, 1fr) auto 36px; }
  html.pwa-mobile-app #module-view .alert-channel-status > span { min-width: 0; white-space: normal; }
}
@media (min-width: 769px) {
  .alert-configuration-picker { display: none; }
}

/* Alertas mobile/PWA: acabamento interno conforme as telas aprovadas.
   Não alcança a barra superior nem a navegação inferior. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace):not([hidden]) {
    padding-top: calc(max(7px, env(safe-area-inset-top)) + 8px) !important;
    padding-bottom: calc(76px + env(safe-area-inset-bottom)) !important;
    gap: 7px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace:has(.alert-rule-editor)):not([hidden]) { padding-bottom: calc(158px + env(safe-area-inset-bottom)) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) > .module-header {
    display: flex !important; min-height: 38px !important; align-items: center !important; justify-content: space-between !important;
    gap: 8px !important; margin: 0 0 1px !important; padding: 6px 9px !important; border: 0 !important;
    border-radius: 9px !important; background: #98183f !important; color: #fff !important; box-shadow: none !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) > .module-header > div:first-child { min-width: 0 !important; min-height: 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-title { margin: 0 !important; color: #fff !important; font-size: 17px !important; font-weight: 750 !important; line-height: 1.2 !important; letter-spacing: 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-description,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-eyebrow,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) #module-refresh { display: none !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-actions { display: flex !important; flex: 0 0 auto !important; align-items: center !important; gap: 5px !important; margin: 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-configure { min-height: 32px !important; padding: 4px 8px !important; border: 1px solid #ffffff9c !important; border-radius: 7px !important; background: transparent !important; color: #fff !important; font-size: 11px !important; line-height: 1.2 !important; white-space: nowrap !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-center-layout,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-main-column,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-workspace-pane,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-configuration-content { min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-main-column,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-workspace-pane { gap: 7px !important; }

  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; padding: 8px !important; gap: 7px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-select,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields > .module-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields > .module-select { box-sizing: border-box !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters input:not([type=checkbox]):not([type=radio]),
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters select,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields input:not([type=checkbox]):not([type=radio]),
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-fields select { box-sizing: border-box !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary { display: grid !important; grid-template-columns: repeat(3,minmax(0,1fr)) !important; grid-auto-flow: row !important; gap: 6px !important; overflow: visible !important; padding: 2px 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi { display: grid !important; grid-template-columns: 21px minmax(0,1fr) !important; grid-template-rows: auto auto !important; align-content: center !important; justify-items: start !important; gap: 1px 6px !important; box-sizing: border-box !important; min-width: 0 !important; min-height: 52px !important; height: auto !important; padding: 6px !important; border: 1px solid #e0e0e5 !important; border-radius: 9px !important; background: #fff !important; text-align: left !important; white-space: normal !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi .alert-kpi-icon { display: grid !important; grid-column: 1 !important; grid-row: 1/3 !important; place-items: center !important; width: 20px !important; height: 20px !important; margin: 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi .alert-kpi-symbol { width: 20px !important; height: 20px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > span:nth-child(2) { grid-column: 2 !important; grid-row: 1 !important; width: auto !important; max-width: 100% !important; overflow: visible !important; color: #3e4047 !important; font-size: 10px !important; font-weight: 650 !important; line-height: 1.2 !important; text-align: left !important; white-space: normal !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > strong { grid-column: 2 !important; grid-row: 2 !important; width: auto !important; color: #1d1e23 !important; font-size: 14px !important; font-weight: 750 !important; line-height: 1.15 !important; text-align: left !important; }

  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; grid-template-columns: minmax(0,1fr) !important; gap: 8px !important; padding: 9px !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor > label,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .module-field,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form > label,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form .module-field { box-sizing: border-box !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor input:not([type=checkbox]):not([type=radio]),
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor select,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor textarea,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form input:not([type=checkbox]):not([type=radio]),
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form select,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form textarea { box-sizing: border-box !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor fieldset,
  html.pwa-mobile-app #module-view:has(.alert-contact-form) .alert-contact-form fieldset { box-sizing: border-box !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-mobile-form-group > summary { min-height: 40px !important; padding: 8px 10px !important; font-size: 15px !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor > .alert-form-actions { right: 10px !important; left: 10px !important; gap: 7px !important; padding: 7px !important; }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor > .alert-form-actions .button { min-width: 0 !important; min-height: 42px !important; white-space: normal !important; }

  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-workspace-pane > .report-section,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-detail-drawer { min-width: 0 !important; box-sizing: border-box !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card > h2,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-workspace-pane > .report-section > h2 { margin: 0 0 8px !important; color: #25262c !important; font-size: 16px !important; font-weight: 750 !important; line-height: 1.25 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-data-table tbody tr { min-width: 0 !important; overflow-wrap: anywhere !important; border-color: #dedee3 !important; background: #fff !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-data-table tbody td { min-width: 0 !important; overflow-wrap: anywhere !important; line-height: 1.3 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-data-table tbody td:last-child { flex-wrap: nowrap !important; justify-content: flex-end !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-data-table tbody td:last-child .button { min-width: 0 !important; min-height: 34px !important; padding: 5px 8px !important; white-space: normal !important; }
  html.pwa-mobile-app #module-view .alert-configuration-picker { box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; margin: 0 0 7px !important; }
  html.pwa-mobile-app #module-view .alert-configuration-picker select { min-width: 0 !important; width: 100% !important; max-width: 100% !important; min-height: 38px !important; font-size: 14px !important; }
  html.pwa-mobile-app #module-view .alert-configuration-content > .module-card,
  html.pwa-mobile-app #module-view .alert-configuration-content > .report-section { min-width: 0 !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace.alert-detail-open) .alert-detail-slot { top: max(62px, calc(58px + env(safe-area-inset-top))) !important; bottom: calc(66px + env(safe-area-inset-bottom)) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace.alert-detail-open) .alert-detail-drawer { min-height: 0 !important; overflow: visible !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi { min-height: 48px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters { grid-template-columns: minmax(0,1fr) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-period-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-date-field { grid-column: 1/-1 !important; grid-row: auto !important; }
}

@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-primary-fields,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-event-specific-conditions,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-destination-delivery-row,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-destination-adjustment-fields,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-destination-secondary-options,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-recipient-options,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-customer-audience,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-advanced {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-primary-fields > *,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-advanced > * {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-destination-delivery-row > *,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-recipient-options > *,
  html.pwa-mobile-app #module-view:has(.alert-rule-editor) .alert-rule-editor .alert-customer-audience > * {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-configuration-tabs { display: none !important; }
  html.pwa-mobile-app #module-view .alert-configuration-picker { display: grid !important; }
}
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-subsection-title { margin: 8px 0 4px !important; color: #92163d !important; font-size: 15px !important; font-weight: 750 !important; line-height: 1.25 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon { width: 30px !important; height: 30px !important; border-radius: 8px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon svg { width: 20px !important; height: 20px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="IGNITION_OFF"] { background: #fdebed !important; color: #c8283b !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="IGNITION_ON"] { background: #e8f6eb !important; color: #267942 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="VEHICLE_STOPPED"] { background: #e8f3fb !important; color: #2873a8 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="MOTION_OBSERVED"] { background: #e8f6eb !important; color: #277a3d !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="VEHICLE_BLOCKED"] { background: #fdebed !important; color: #b52039 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon[data-event-type="VEHICLE_UNBLOCKED"] { background: #e8f6eb !important; color: #267942 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-rule-name { display: flex !important; align-items: center !important; gap: 8px !important; font-weight: 750 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-rule-name > span:last-child { min-width: 0 !important; overflow-wrap: anywhere !important; }
}
@media (max-width: 900px) {
  html.pwa-mobile-app body:has(#module-view:not([hidden]) .alert-center-workspace) #module-view:has(.alert-center-workspace):not([hidden]) {
    padding-top: calc(max(7px, env(safe-area-inset-top)) + 8px) !important;
  }
}


/* Central mobile/PWA: filtros compactos e seis resumos em uma grade fixa 3x2.
   Sobrescreve larguras max-content legadas somente nesta tela e no PWA. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-main-column {
    gap: 5px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto auto !important;
    align-items: end !important;
    gap: 5px 7px !important;
    padding: 6px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-period-field {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-date-field {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-vehicle-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-advanced-filters,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-advanced-fields {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-vehicle-field {
    grid-row: 2 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-advanced-filters {
    grid-row: 3 !important;
    align-self: start !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field {
    display: grid !important;
    gap: 3px !important;
    margin: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field label {
    font-size: 11px !important;
    line-height: 1.15 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field input,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .module-field select {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-advanced-filters > summary {
    display: flex !important;
    min-height: 29px !important;
    align-items: center !important;
    line-height: 1.2 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(50px, auto)) !important;
    grid-auto-flow: row !important;
    gap: 5px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    grid-template-rows: minmax(14px, auto) minmax(14px, auto) !important;
    align-content: center !important;
    align-items: center !important;
    justify-items: start !important;
    justify-self: stretch !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 50px !important;
    height: 100% !important;
    flex: none !important;
    gap: 1px 2px !important;
    padding: 5px 3px !important;
    border-radius: 9px !important;
    text-align: left !important;
    white-space: normal !important;
    overflow: visible !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi::after {
    display: none !important;
    content: none !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi .alert-kpi-icon {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    place-items: center !important;
    align-self: center !important;
    box-sizing: border-box !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi .alert-kpi-symbol {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > span:nth-child(2) {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    color: #3e4047 !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.12 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > strong {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #1d1e23 !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }
}

/* Alertas mobile/PWA: cartões fluidos para regras, canais e destinos. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-rules-table,
  html.pwa-mobile-app #module-view .alert-rules-table tbody,
  html.pwa-mobile-app #module-view .alert-contacts-table,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: auto !important;
    box-sizing: border-box !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table thead,
  html.pwa-mobile-app #module-view .alert-contacts-table thead { display: none !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody tr,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 7px 12px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 9px !important;
    padding: 11px 12px !important;
    border: 1px solid #dedee3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 2px 0 !important;
    border: 0 !important;
    color: #42434a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    hyphens: none !important;
    box-sizing: border-box !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td::before,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td::before {
    display: block !important;
    margin: 0 0 2px !important;
    color: #73747c !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(2),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:last-child,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:last-child { grid-column: 1 / -1 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1) {
    display: flex !important;
    align-items: flex-start !important;
    gap: 9px !important;
    color: #22232a !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1)::before { content: none !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-name > span:last-child { min-width: 0; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(2) { color: #303139 !important; font-weight: 600 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(2)::before { content: attr(data-label); }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(4),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(5) { align-self: start !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-status-pill { display: inline-flex !important; max-width: 100% !important; white-space: normal !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions {
    display: flex !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
  }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    min-height: 34px !important;
    font-size: 12px !important;
  }
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:first-child { color: #22232a !important; font-size: 15px !important; font-weight: 700 !important; }
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(2) { align-self: start !important; }
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:last-child { display: flex !important; justify-content: flex-end !important; gap: 7px !important; }
  html.pwa-mobile-app #module-view .alert-channel-readiness {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    margin: 8px 0 12px !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-status {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) auto 32px !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    gap: 3px 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 58px !important;
    padding: 9px 10px !important;
    border: 1px solid #dedee3 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-icon {
    display: grid !important;
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    place-items: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: #f5e8ed !important;
    color: #94133f !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-icon svg { width: 19px !important; height: 19px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
  html.pwa-mobile-app #module-view .alert-channel-status > strong {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
    color: #272830 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: normal !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-status > span:not(.alert-channel-icon) {
    grid-column: 2 / 4 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-status > .alert-channel-help {
    grid-column: 4 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
  }
  html.pwa-mobile-app #module-view .alert-channel-help-text { grid-column: 1 / -1 !important; font-size: 13px !important; overflow-wrap: break-word !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: end !important; gap: 8px !important; padding: 10px !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-vehicle,
  html.pwa-mobile-app #module-view .alert-diagnostic-actions,
  html.pwa-mobile-app #module-view .alert-diagnostic-filter-error { grid-column: 1 / -1 !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-field { min-width: 0 !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-field input,
  html.pwa-mobile-app #module-view .alert-diagnostic-field select { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 8px !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-actions .button { min-width: 0 !important; min-height: 36px !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view .alert-rules-table tbody tr,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody tr { padding: 10px !important; gap: 6px 9px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { white-space: normal !important; }
}

@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-rules-table tbody td,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td { grid-row: auto !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(2),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(6),
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:last-child,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:last-child { grid-column: 1 / -1 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(4),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(2),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(4) { grid-column: 1 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(5),
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td:nth-child(5) { grid-column: 2 !important; }
}

/* Alertas mobile/PWA — fechamento da distribuição aprovada nas oito telas. */
@media (max-width: 900px) {
  /* A Central mantém as duas primeiras colunas e o resumo 3 × 2 também em aparelhos compactos. */
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-period-field,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters > .alert-date-field { grid-column: auto !important; grid-row: auto !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi > span:nth-child(2) { font-size: 12px !important; }

  /* Regras: nome e chips no cabeçalho do cartão; detalhes abaixo. */
  html.pwa-mobile-app #module-view .alert-rules-table tbody tr { grid-template-columns: minmax(0, 1fr) auto auto !important; align-items: center !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1) { grid-column: 1 !important; grid-row: 1 !important; min-width: 0 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1) .alert-rule-icon { flex: 0 0 30px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(1) .alert-rule-name > span:last-child { overflow-wrap: break-word !important; word-break: normal !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(2) { grid-column: 1 / -1 !important; grid-row: 2 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(3) { grid-column: 1 / -1 !important; grid-row: 3 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(4) { grid-column: 2 !important; grid-row: 1 !important; justify-self: end !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(5) { grid-column: 3 !important; grid-row: 1 !important; justify-self: end !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(4)::before,
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(5)::before { content: none !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:nth-child(6) { grid-column: 1 / -1 !important; grid-row: 4 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:last-child { grid-column: 1 / -1 !important; grid-row: 5 !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-status-pill { min-height: 23px !important; padding: 3px 7px !important; font-size: 12px !important; line-height: 1.2 !important; }

  /* Disponibilidade: ícone, canal, estado e ajuda na mesma faixa. */
  html.pwa-mobile-app #module-view .alert-channel-status { grid-template-columns: 30px minmax(64px, .8fr) minmax(0, 1.2fr) 28px !important; grid-template-rows: auto !important; align-items: center !important; }
  html.pwa-mobile-app #module-view .alert-channel-icon { grid-row: 1 !important; }
  html.pwa-mobile-app #module-view .alert-channel-status > strong { grid-column: 2 !important; grid-row: 1 !important; }
  html.pwa-mobile-app #module-view .alert-channel-status > span:not(.alert-channel-icon) { grid-column: 3 !important; grid-row: 1 !important; }
  html.pwa-mobile-app #module-view .alert-channel-status > .alert-channel-help { grid-column: 4 !important; grid-row: 1 !important; }
  html.pwa-mobile-app #module-view .alert-channel-help-text { grid-row: 2 !important; }

  /* Datas ocupam a linha toda; os dois horários ficam pareados. */
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-field:has(input[type="date"]),
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-field:has(select),
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-field:has(input[type="search"]):not(.alert-diagnostic-vehicle),
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-vehicle { grid-column: 1 / -1 !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-field:has(input[type="time"]) { grid-column: auto !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-filters .alert-diagnostic-actions { grid-column: 1 / -1 !important; }

  /* Resultados de diagnóstico/sinais são cartões legíveis sem min-width de desktop. */
  html.pwa-mobile-app #module-view .alert-events-table,
  html.pwa-mobile-app #module-view .alert-signal-table,
  html.pwa-mobile-app #module-view .alert-events-table tbody,
  html.pwa-mobile-app #module-view .alert-signal-table tbody { display: block !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; table-layout: auto !important; }
  html.pwa-mobile-app #module-view .alert-events-table thead,
  html.pwa-mobile-app #module-view .alert-signal-table thead { display: none !important; }
  html.pwa-mobile-app #module-view .alert-signal-table-wrap { width: 100% !important; max-width: 100% !important; overflow: visible !important; border: 0 !important; background: transparent !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody tr,
  html.pwa-mobile-app #module-view .alert-signal-table tbody tr { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-auto-flow: row !important; gap: 6px 12px !important; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 0 8px !important; padding: 10px 11px !important; border: 1px solid #dedee3 !important; border-radius: 10px !important; background: #fff !important; box-sizing: border-box !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td { display: block !important; grid-row: auto !important; width: auto !important; min-width: 0 !important; max-width: 100% !important; padding: 2px 0 !important; border: 0 !important; color: #3f4047 !important; font-size: 14px !important; line-height: 1.35 !important; white-space: normal !important; word-break: normal !important; overflow-wrap: break-word !important; box-sizing: border-box !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td::before { display: block !important; margin-bottom: 2px !important; color: #73747c !important; font-size: 12px !important; font-weight: 600 !important; line-height: 1.25 !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(2),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:last-child,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(2),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:last-child { grid-column: 1 / -1 !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(1),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(1) { color: #25262c !important; font-size: 15px !important; font-weight: 700 !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(1)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(1)::before { content: none !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(2)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(2)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(3)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(4)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(5)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(6)::before { content: attr(data-label); }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(4),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(5),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(6),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(3),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(4),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(5),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(6) { grid-column: auto !important; }
  html.pwa-mobile-app #module-view .alert-events-table tbody td:last-child,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:last-child { display: flex !important; justify-content: flex-end !important; }

  /* Cabeçalho e ícones dos detalhes; o código técnico continua no bloco recolhido. */
  html.pwa-mobile-app #module-view .alert-detail-badges { display: flex !important; flex-wrap: wrap !important; align-items: center !important; gap: 6px !important; margin: 3px 0 4px !important; }
  html.pwa-mobile-app #module-view .alert-detail-created { margin: 0 0 8px !important; font-size: 13px !important; line-height: 1.35 !important; }
  html.pwa-mobile-app #module-view .alert-detail-fact-icon svg { display: block !important; width: 18px !important; height: 18px !important; }
  html.pwa-mobile-app #module-view .alert-detail-fact { grid-template-columns: 22px minmax(84px, .8fr) minmax(0, 1.2fr) !important; gap: 6px !important; padding: 6px 1px !important; font-size: 13px !important; }
  html.pwa-mobile-app #module-view .alert-detail-fact strong { font-size: 13px !important; overflow-wrap: break-word !important; word-break: normal !important; }
  html.pwa-mobile-app #module-view .alert-detail-section > summary { min-height: 38px !important; font-size: 14px !important; }
  html.pwa-mobile-app #module-view .alert-delivery-fact { grid-template-columns: minmax(78px, .65fr) minmax(0, 1.35fr) !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor > .alert-form-actions { bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view .alert-channel-status { grid-template-columns: 26px minmax(60px, .8fr) minmax(0, 1.2fr) 26px !important; gap: 4px !important; padding: 8px !important; }
  html.pwa-mobile-app #module-view .alert-channel-icon { width: 26px !important; height: 26px !important; }
  html.pwa-mobile-app #module-view .alert-channel-status > strong { font-size: 14px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody tr { grid-template-columns: minmax(0, 1fr) auto auto !important; gap: 5px 6px !important; padding: 9px !important; }
}

/* Alertas PWA: acabamento compacto e alvos de toque sem ampliar a aparência. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-heading { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; margin: 0 0 8px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-heading > h2 { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 16px !important; font-weight: 750 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-table-actions { flex: 0 0 auto !important; margin: 0 !important; min-height: 0 !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-export-button,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-configure { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 5px !important; min-height: 32px !important; padding: 4px 9px !important; font-size: 12px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-export-button svg,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-configure svg { display: block !important; flex: 0 0 16px !important; width: 16px !important; height: 16px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor > .alert-form-actions { min-height: 0 !important; padding: 6px !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor > .alert-form-actions .button { min-height: 38px !important; padding: 6px 10px !important; font-size: 13px !important; }
  html.pwa-mobile-app #module-view .alert-rule-actions { flex-wrap: nowrap !important; justify-content: flex-start !important; gap: 4px !important; width: 100% !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { flex: 0 1 auto !important; min-height: 32px !important; padding: 4px 6px !important; gap: 4px !important; font-size: 12px !important; white-space: nowrap !important; }
  html.pwa-mobile-app #module-view .alert-rule-action-icon { display: inline-grid !important; place-items: center !important; width: 14px !important; height: 14px !important; }
  html.pwa-mobile-app #module-view .alert-rule-action-icon svg { display: block !important; width: 14px !important; height: 14px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody tr,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody tr { padding: 8px 9px !important; gap: 5px 9px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table tbody td,
  html.pwa-mobile-app #module-view .alert-contacts-table tbody td,
  html.pwa-mobile-app #module-view .alert-events-table tbody td,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td { padding-top: 1px !important; padding-bottom: 1px !important; }
  html.pwa-mobile-app #module-view .alert-detail-fact { padding: 4px 1px !important; gap: 5px !important; }
  html.pwa-mobile-app #module-view .alert-detail-section { margin-top: 7px !important; }
  html.pwa-mobile-app #module-view .alert-detail-section > summary { min-height: 34px !important; padding: 6px 9px !important; }
  html.pwa-mobile-app #module-view .alert-detail-section[open] > :not(summary) { margin-left: 8px !important; margin-right: 8px !important; }
  html.pwa-mobile-app #module-view .alert-delivery-card { padding: 8px !important; }
  html.pwa-mobile-app #module-view .alert-empty-state,
  html.pwa-mobile-app #module-view .alert-diagnostic-results > .empty-state,
  html.pwa-mobile-app #module-view .alert-signal-results > .empty-state { display: flex !important; min-height: 96px !important; align-items: center !important; justify-content: center !important; margin: 8px 0 0 !important; padding: 16px !important; border: 1px solid #dedee3 !important; border-radius: 10px !important; background: #fff !important; color: #4a4b52 !important; font-size: 14px !important; line-height: 1.45 !important; text-align: center !important; overflow-wrap: normal !important; }
  html.pwa-mobile-app #module-view .alert-taxonomy-note { margin: 0 0 8px !important; padding: 8px 10px !important; font-size: 13px !important; line-height: 1.4 !important; }
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(7)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(8)::before,
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(9)::before,
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(7)::before { content: attr(data-label); }
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(7),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(8),
  html.pwa-mobile-app #module-view .alert-signal-table tbody td:nth-child(9),
  html.pwa-mobile-app #module-view .alert-events-table tbody td:nth-child(7) { grid-column: 1 / -1 !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { font-size: 12px !important; padding-left: 4px !important; padding-right: 4px !important; }
  html.pwa-mobile-app #module-view .alert-rule-action-icon,
  html.pwa-mobile-app #module-view .alert-rule-action-icon svg { width: 12px !important; height: 12px !important; }
}

@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-channel-help { display: grid !important; place-items: center !important; box-sizing: border-box !important; width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: #315d91 !important; }
  html.pwa-mobile-app #module-view .alert-channel-help svg { display: block !important; width: 20px !important; height: 20px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > summary::after { content: '' !important; flex: 0 0 8px !important; width: 8px !important; height: 8px !important; border-right: 2px solid #94173e !important; border-bottom: 2px solid #94173e !important; transform: rotate(45deg) translateY(-2px) !important; font-size: 0 !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group[open] > summary::after { transform: rotate(225deg) translateY(-2px) !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { font-size: 12px !important; padding-left: 4px !important; padding-right: 4px !important; }
}

/* Alertas PWA: botões compactos, campos em ordem e cabeçalhos sem colisão. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .button.button-secondary { min-height: 32px !important; padding: 5px 9px !important; font-size: 12px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .button.button-primary { min-height: 38px !important; padding: 7px 11px !important; font-size: 13px !important; }
  html.pwa-mobile-app #module-view .alert-header-back,
  html.pwa-mobile-app #module-view .alert-configuration-picker select { min-height: 36px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { min-height: 31px !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  html.pwa-mobile-app #module-view .alert-channel-status { grid-template-columns: 30px minmax(64px, .8fr) minmax(0, 1.2fr) 40px !important; padding: 7px 8px !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group + .alert-mobile-form-group { margin-top: 6px !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > summary { min-height: 36px !important; padding: 6px 9px !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group > .alert-form-step { padding: 7px !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor > .alert-form-actions { bottom: calc(72px + env(safe-area-inset-bottom)) !important; }
  html.pwa-mobile-app #module-view .alert-detail-drawer > .report-section,
  html.pwa-mobile-app #module-view .alert-detail-drawer > .module-card { padding: 9px !important; }
  html.pwa-mobile-app #module-view .alert-detail-fact { grid-template-columns: 20px minmax(78px, .75fr) minmax(0, 1.25fr) !important; }
}
@media (max-width: 380px) {
  html.pwa-mobile-app #module-view .alert-channel-status { grid-template-columns: 26px minmax(60px, .8fr) minmax(0, 1.2fr) 40px !important; }
}

/* Alertas configurados: título sem rótulo repetido e ações alinhadas em uma fileira. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:first-child::before,
  html.pwa-mobile-app #module-view .alert-rules-table tbody td:last-child::before { display: none !important; content: none !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions { display: flex !important; flex-flow: row nowrap !important; align-items: center !important; justify-content: flex-start !important; gap: 4px !important; }
  html.pwa-mobile-app #module-view .alert-rules-table .alert-rule-actions .button { flex: 0 1 auto !important; width: auto !important; min-width: 0 !important; }
}

/* Alertas PWA · acabamento visual e símbolos de evento compartilhados. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row {
    min-height: 0 !important; padding: 9px 10px !important; gap: 5px 8px !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(7) .button {
    min-width: 0 !important; min-height: 30px !important; height: 30px !important;
    padding: 4px 8px !important; border: 1px solid #d4c5cb !important; border-radius: 7px !important;
    font-size: 12px !important; font-weight: 600 !important; line-height: 1 !important;
  }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(7) .button::before,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-list-card>table tbody tr.alert-select-row td:nth-child(7) .button::after { content: none !important; display: none !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-row-icon,
  html.pwa-mobile-app #module-view .alert-event-icon,
  html.pwa-mobile-app #module-view .alert-detail-event-icon {
    box-sizing: border-box !important; display: inline-grid !important; place-items: center !important;
    flex: 0 0 30px !important; width: 30px !important; height: 30px !important;
    border-radius: 8px !important; background: #f5e9ed !important; color: #94173e !important;
  }
  html.pwa-mobile-app #module-view .alert-row-icon svg,
  html.pwa-mobile-app #module-view .alert-event-icon svg,
  html.pwa-mobile-app #module-view .alert-detail-event-icon svg { display: block !important; width: 19px !important; height: 19px !important; }
  html.pwa-mobile-app #module-view .alert-event-tone-red { background: #fdebed !important; color: #c8283b !important; }
  html.pwa-mobile-app #module-view .alert-event-tone-green { background: #e8f6eb !important; color: #267942 !important; }
  html.pwa-mobile-app #module-view .alert-event-tone-amber { background: #fff5df !important; color: #a66a00 !important; }
  html.pwa-mobile-app #module-view .alert-event-tone-burgundy { background: #f8e9ee !important; color: #98183f !important; }
  html.pwa-mobile-app #module-view .alert-detail-event-name {
    display: flex !important; align-items: center !important; gap: 9px !important;
    font-size: 16px !important; font-weight: 750 !important; line-height: 1.25 !important;
  }
  html.pwa-mobile-app #module-view .alert-detail-event-name>span:last-child { min-width: 0 !important; overflow-wrap: anywhere !important; }
  html.pwa-mobile-app #module-view .alert-event-result-cell,
  html.pwa-mobile-app #module-view .alert-signal-name { display: flex !important; align-items: center !important; gap: 8px !important; }
  html.pwa-mobile-app #module-view .alert-event-result-cell .alert-event-icon,
  html.pwa-mobile-app #module-view .alert-signal-name .alert-event-icon { flex: 0 0 26px !important; width: 26px !important; height: 26px !important; border-radius: 7px !important; }
  html.pwa-mobile-app #module-view .alert-event-result-cell .alert-event-icon svg,
  html.pwa-mobile-app #module-view .alert-signal-name .alert-event-icon svg { width: 17px !important; height: 17px !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group { margin: 5px 0 !important; border: 1px solid #dedee3 !important; border-radius: 9px !important; background: #fff !important; overflow: clip !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group>summary { min-height: 36px !important; padding: 7px 10px !important; font-size: 14px !important; font-weight: 700 !important; }
  html.pwa-mobile-app #module-view .alert-mobile-form-group>fieldset,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-form-step,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-recipient-options,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-destination-schedule-panel,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-destination-adjustments,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-advanced,
  html.pwa-mobile-app #module-view .alert-mobile-form-group>.alert-escalations { margin: 0 !important; border: 0 !important; border-top: 1px solid #eeeef1 !important; border-radius: 0 !important; padding: 9px !important; }
  html.pwa-mobile-app #module-view .alert-rule-actions .button { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 5px !important; }
  html.pwa-mobile-app #module-view .alert-rule-action-icon,
  html.pwa-mobile-app #module-view .alert-rule-action-icon svg { display: inline-grid !important; place-items: center !important; width: 14px !important; height: 14px !important; }
  html.pwa-mobile-app #module-view .alert-rule-action-icon svg { fill: none !important; stroke: currentColor !important; stroke-width: 1.8 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
}

/* Alertas PWA · hierarquia semântica dos selos e ajuda recolhível. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view .alert-status-pill.severity-critical { background: #fde8eb !important; color: #b4233c !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.severity-high { background: #fff0e4 !important; color: #aa4c13 !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.severity-medium { background: #fff6dc !important; color: #8b6500 !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.severity-low { background: #e8f6eb !important; color: #267942 !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.severity-info { background: #e9f1fc !important; color: #28588d !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.state-active,
  html.pwa-mobile-app #module-view .alert-status-pill.state-acknowledged { background: #e8f6eb !important; color: #267942 !important; }
  html.pwa-mobile-app #module-view .alert-status-pill.state-pending,
  html.pwa-mobile-app #module-view .alert-status-pill.state-paused { background: #fff3dc !important; color: #8a6200 !important; }
  html.pwa-mobile-app #module-view .alert-compact-help { margin: 4px 0 8px !important; border: 1px solid #e2e4e8 !important; border-radius: 8px !important; background: #fff !important; }
  html.pwa-mobile-app #module-view .alert-compact-help>summary { min-height: 32px !important; padding: 7px 10px !important; color: #565c66 !important; font-size: 12px !important; font-weight: 600 !important; }
  html.pwa-mobile-app #module-view .alert-compact-help>p { margin: 0 !important; padding: 0 10px 9px !important; color: #565c66 !important; font-size: 13px !important; line-height: 1.4 !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields { gap: 5px 8px !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields label { margin-bottom: 0 !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields input,
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields select { min-height: 34px !important; }
}

/* Alertas PWA · densidade responsiva para leitura, sem quebra de palavras. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-header-configure { flex: 0 0 auto !important; gap: 4px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters input,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters select { min-height: 36px !important; height: 36px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filters { gap: 5px !important; padding: 8px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-filter-actions .button { min-height: 36px !important; }
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card .alert-event-copy,
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card .alert-kpi-label {
    word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important;
  }
  html.pwa-mobile-app #module-view .alert-diagnostic-field { gap: 3px !important; margin-bottom: 3px !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-field input,
  html.pwa-mobile-app #module-view .alert-diagnostic-field select { min-height: 36px !important; height: 36px !important; }
  html.pwa-mobile-app #module-view .alert-diagnostic-actions .button { min-height: 36px !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields label { gap: 2px !important; }
  html.pwa-mobile-app #module-view .alert-rule-editor .alert-primary-fields label>span { line-height: 1.2 !important; }
}

/* KPIs da Central: rótulos curtos mantêm as palavras inteiras em três colunas. */
@media (max-width: 900px) {
  html.pwa-mobile-app #module-view:has(.alert-center-workspace) .alert-summary-card.alert-kpi>span:nth-child(2) {
    font-size: 11px !important; line-height: 1.2 !important; white-space: nowrap !important;
    word-break: normal !important; overflow-wrap: normal !important; hyphens: none !important;
  }
}

/* Cabeçalho clássico compartilhado do mobile/PWA — LAB 2026-11-25. */
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 900 !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 42px 40px !important;
  grid-template-areas: "brand notifications account" !important;
  align-items: center !important;
  justify-content: normal !important;
  box-sizing: border-box !important;
  gap: 8px !important;
  width: 100% !important;
  height: 62px !important;
  min-height: 62px !important;
  margin: 0 !important;
  padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)) !important;
  overflow: visible !important;
  border: 0 !important;
  border-bottom: 1px solid #e2e2e5 !important;
  background: #fff !important;
  box-shadow: none !important;
  pointer-events: auto !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #pwa-mobile-menu {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  min-width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand {
  position: relative !important;
  display: flex !important;
  grid-area: brand !important;
  justify-self: start !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  flex: 1 1 auto !important;
  width: min(55vw, 210px) !important;
  min-width: 0 !important;
  max-width: 210px !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  text-decoration: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 44px !important;
  object-fit: contain !important;
  object-position: left center !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand::before,
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand::after {
  display: none !important;
  content: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .top-metrics {
  display: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-settings {
  position: relative !important;
  display: block !important;
  grid-area: notifications !important;
  flex: none !important;
  box-sizing: border-box !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: visible !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-menu-button {
  position: relative !important;
  display: grid !important;
  box-sizing: border-box !important;
  width: 42px !important;
  min-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #991a43 !important;
  box-shadow: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-menu-button svg {
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8 !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #notification-unread-count:not([hidden]) {
  top: 5px !important;
  right: 5px !important;
  width: 8px !important;
  min-width: 8px !important;
  height: 8px !important;
  border: 1px solid #fff !important;
  border-radius: 50% !important;
  background: #a31943 !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-area {
  position: relative !important;
  display: block !important;
  grid-area: account !important;
  justify-self: end !important;
  flex: none !important;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .top-profile {
  display: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button {
  position: relative !important;
  display: grid !important;
  box-sizing: border-box !important;
  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;
  place-items: center !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid #991a43 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #991a43 !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button > * {
  display: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button::before {
  display: none !important;
  content: none !important;
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header #account-menu-button::after {
  display: block !important;
  content: "RT" !important;
  color: #991a43 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}
@media (max-width: 420px) {
  html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header {
    gap: 6px !important;
    padding-right: max(12px, env(safe-area-inset-right)) !important;
    padding-left: max(12px, env(safe-area-inset-left)) !important;
  }
  html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header .app-header-brand {
    width: min(55vw, 210px) !important;
  }
}

/* Reserva a área superior do sistema sem cobrir o conteúdo em PWA instalado. */
html.pwa-mobile-app {
  --pwa-classic-header-offset: calc(62px + env(safe-area-inset-top, 0px));
}
html.pwa-mobile-app body:has(#workspace>.topbar.pwa-standard-mobile-header) #workspace>.topbar.pwa-standard-mobile-header {
  height: var(--pwa-classic-header-offset) !important;
  min-height: var(--pwa-classic-header-offset) !important;
  padding-top: env(safe-area-inset-top, 0px) !important;
}
html.pwa-mobile-app #workspace > .app-main {
  padding-block-start: var(--pwa-classic-header-offset) !important;
}
html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-view:not([hidden]) {
  inset: var(--pwa-classic-header-offset) 0 0 !important;
}
html.pwa-mobile-app #history-view:not([hidden]) {
  inset: var(--pwa-classic-header-offset) 0 calc(66px + env(safe-area-inset-bottom)) !important;
}
html.pwa-mobile-app body:has(#map-view:not([hidden])) #mobile-map-tools {
  top: calc(var(--pwa-classic-header-offset) + 10px) !important;
}
html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-toolbar {
  top: calc(var(--pwa-classic-header-offset) + 24px) !important;
}


/* Mobile map controls compact and tucked under the top bar — 2026-11-25 */
@media (max-width: 768px) {
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-toolbar {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    width: 32px !important;
    z-index: 480 !important;
  }
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 32px !important;
    gap: 5px !important;
  }
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions > button,
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions > .map-layer-menu,
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions > .map-layer-menu > #map-layers-toggle {
    box-sizing: border-box !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    flex: 0 0 32px !important;
    padding: 0 !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions > #map-refresh svg,
  html.pwa-mobile-app body:has(#map-view:not([hidden])) #map-panel .map-actions > .map-layer-menu > #map-layers-toggle svg {
    width: 18px !important;
    height: 18px !important;
  }
}


/* Mobile/PWA vehicle list: compact cards while preserving vehicle artwork — 2026-11-25 */
@media (max-width: 768px) {
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel #vehicles.vehicle-list { gap: 4px !important; padding-block: 3px !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-card {
    grid-template-columns: 52px minmax(0, 1fr) 96px !important;
    grid-template-rows: auto auto auto !important;
    column-gap: 6px !important; row-gap: 2px !important;
    min-height: 0 !important; height: auto !important; padding: 6px 7px !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy { grid-column: 2 !important; grid-row: 1 !important; gap: 1px !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status {
    grid-column: 3 !important; grid-row: 1 !important; justify-self: end !important; width: max-content !important;
    min-width: 0 !important; max-width: 100% !important; min-height: 24px !important; height: auto !important;
    padding: 3px 7px !important; white-space: nowrap !important; overflow-wrap: normal !important; line-height: 1.15 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication {
    grid-column: 2 / 4 !important; grid-row: 2 !important; width: 100% !important; min-height: 0 !important; height: auto !important;
    line-height: 1.2 !important; white-space: normal !important; overflow-wrap: anywhere !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion {
    grid-column: 3 !important; grid-row: 3 !important; justify-self: end !important; width: max-content !important;
    min-width: 0 !important; max-width: 100% !important; min-height: 24px !important; height: auto !important;
    padding: 3px 6px !important; flex-wrap: nowrap !important; overflow: visible !important; white-space: normal !important;
    overflow-wrap: anywhere !important; line-height: 1.15 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion svg { display: none !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion span {
    width: auto !important; min-width: 0 !important; overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition {
    grid-column: 2 !important; grid-row: 3 !important; min-width: 0 !important; min-height: 0 !important; height: auto !important;
    line-height: 1.2 !important; white-space: normal !important; overflow-wrap: anywhere !important;
  }
}


/* Cores e pesos dos veículos no PWA: sem alterar estrutura, medidas ou ícones. */
@media(max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy>.mobile-map-vehicle-plate{color:#000!important;font-weight:400!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy>.mobile-map-vehicle-plate>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.online{background:#e1f5e5!important;color:#197a31!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.offline{background:#fde5e6!important;color:#a51823!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.unknown,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-status.never{background:#e8e9eb!important;color:#52575e!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.success,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success{color:#197a31!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.success>span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success>span{background:#e1f5e5!important;color:#197a31!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.danger,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger{color:#a51823!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.danger>span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger>span{background:#fde5e6!important;color:#a51823!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.unknown,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.unknown{color:#52575e!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.unknown>span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.unknown>span{background:#e8e9eb!important;color:#52575e!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion>span,
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition>span{border-radius:99px!important;padding:1px 4px!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication svg,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-location-main h3 svg{color:#a9153b!important;stroke:currentColor!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-identity-row>.vehicle-detail-fact>small{font-weight:400!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-identity-row>.vehicle-detail-fact>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #fleet-layout #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators>.vehicle-detail-indicator[data-kind="lock"]>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="lock"]>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator>span svg{stroke:currentColor}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="ignitionOn"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="lock"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="battery"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="anchor"]{border-color:#ccebd4!important;background:#e1f5e5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="anchor"]{border-color:#f3d2d5!important;background:#fde5e6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="success"]{border-color:#ccebd4!important;background:#e1f5e5!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"]{border-color:#f3d2d5!important;background:#fde5e6!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="unknown"]{border-color:#e1e3e6!important;background:#f1f2f3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.unknown:not([data-kind="signal"]):not([data-kind="speed"]){border-color:#e1e3e6!important;background:#f1f2f3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.reading-unconfirmed:not([data-kind="anchor"]){border-color:#e1e3e6!important;background:#f1f2f3!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="ignitionOn"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="lock"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="battery"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="anchor"]>span{color:#197a31!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"]>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="anchor"]>span{color:#a51823!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="success"]>span{color:#197a31!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"]>span{color:#a51823!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="unknown"]>span{color:#7b8088!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]:not(.unknown)>span{color:#a9153b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.unknown>span,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.reading-unconfirmed:not([data-kind="anchor"])>span{color:#7b8088!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="route"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="share"],
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="edit"]{color:#a9153b!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="anchor"].danger,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="lock"]{color:#a51823!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="anchor"].success,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar .vehicle-detail-icon:not(:disabled)[data-vehicle-action="unlock"]{color:#197a31!important}
}


/* Estado do cabeçalho do detalhe e peso dos valores identificadores. */
@media(max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-meta{color:#000!important;font-weight:400!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-meta>strong{color:#000!important;font-weight:700!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication.success,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.success,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.success{border-color:#ccebd4!important;background:#e1f5e5!important;color:#197a31!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication.danger,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.danger,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.danger{border-color:#f3d2d5!important;background:#fde5e6!important;color:#a51823!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.communication.unknown,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.unknown,
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.unknown{border-color:#e1e3e6!important;background:#f1f2f3!important;color:#52575e!important}
}

/* Keep label and emphasized value on the same line, as in the approved cards. */
@media(max-width:768px){
 html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-copy>.mobile-map-vehicle-plate>strong{display:inline!important}
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-meta>strong{display:inline!important}
}
@media(max-width:768px){
 html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-identity-meta{white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
}

/* LAB mobile/PWA vehicle color corrections: preserve original icons and geometry. */
@media (max-width: 768px) {
  /* Current, confirmed motion and ignition states; stale/unknown remain neutral. */
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.success,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.success,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.success {
    background: #e1f5e5 !important; border-color: #ccebd4 !important; color: #197a31 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.danger,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.danger,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.danger {
    background: #fde5e6 !important; border-color: #f3d2d5 !important; color: #a51823 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.unknown,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.unknown,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.motion.unknown,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-mobile-badge.ignition.unknown {
    background: #e8e9eb !important; border-color: #dedfe3 !important; color: #52575e !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.success > span,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success > span { color: #197a31 !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.danger > span,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger > span { color: #a51823 !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.success svg,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success svg { color: #197a31 !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-motion.danger svg,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger svg { color: #a51823 !important; }

  /* Anchor is an icon-only status in a neutral tile: inactive green, active red. */
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"].success,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"].danger,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"].unknown {
    background: #f7f7f8 !important; border-color: #dedfe3 !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"].success > span { color: #197a31 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"].danger > span { color: #a51823 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="anchor"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="battery"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"] > span svg {
    color: inherit !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="battery"].success:not(.reading-unconfirmed) > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="success"]:not(.reading-unconfirmed) > span { color: #197a31 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="battery"].danger:not(.reading-unconfirmed) > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"]:not(.reading-unconfirmed) > span { color: #a51823 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="satellite"]:not(.unknown):not(.reading-unconfirmed) > span { color: #a9153b !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOff"].danger:not(.reading-unconfirmed) > span { color: #a51823 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOn"].success:not(.reading-unconfirmed) > span { color: #197a31 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOff"].danger:not(.reading-unconfirmed) > span svg { color: #a51823 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="ignitionOn"].success:not(.reading-unconfirmed) > span svg { color: #197a31 !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-location-main h3 svg { color: #a9153b !important; }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-communication svg *,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-location-main h3 svg * { stroke: currentColor !important; }

  /* Recolor the existing action SVG strokes; retain path geometry and stroke widths. */
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="share"] .vehicle-detail-action-icon svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="edit"] .vehicle-detail-action-icon svg { filter: none !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="share"] .vehicle-detail-action-icon svg *,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="edit"] .vehicle-detail-action-icon svg * { stroke: #a9153b !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="anchor"] .vehicle-detail-action-icon svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="lock"] .vehicle-detail-action-icon svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="unlock"] .vehicle-detail-action-icon svg { filter: none !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="anchor"].danger .vehicle-detail-action-icon svg *,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="lock"] .vehicle-detail-action-icon svg * { stroke: #a51823 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="anchor"].success .vehicle-detail-action-icon svg *,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-iconbar > button:not(:disabled)[data-vehicle-action="unlock"] .vehicle-detail-action-icon svg * { stroke: #197a31 !important; }
}


/* LAB mobile/PWA: one vehicle-indicator grid across handset widths. This final rule
   supersedes the legacy max-width:430px three-column layout above. */
@media (max-width: 900px), (pointer: coarse) and (max-width: 1366px) {
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators {
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, 50px) !important; grid-auto-flow: row !important;
    grid-auto-rows: 50px !important; align-items: stretch !important; gap: 4px !important;
    min-height: 104px !important; height: auto !important; margin: 0 0 5px !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator {
    box-sizing: border-box !important; display: grid !important;
    grid-template-columns: 13px minmax(0, 1fr) !important; grid-template-rows: 1fr 1fr !important;
    align-content: center !important; align-items: center !important; justify-items: start !important;
    min-width: 0 !important; width: 100% !important; height: 50px !important;
    min-height: 50px !important; max-height: 50px !important; margin: 0 !important;
    padding: 3px 4px !important; gap: 0 3px !important; overflow: hidden !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator > span {
    grid-column: 1 !important; grid-row: 1 !important; display: flex !important;
    align-items: center !important; justify-content: center !important; width: 13px !important;
    height: 13px !important; min-width: 13px !important; margin: 0 !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator > span svg {
    display: block !important; width: 13px !important; height: 13px !important;
    max-width: 13px !important; max-height: 13px !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator > small {
    grid-column: 2 !important; grid-row: 1 !important; align-self: center !important;
    width: 100% !important; min-width: 0 !important; margin: 0 !important;
    font-size: 9px !important; line-height: 1 !important; white-space: nowrap !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator > strong {
    grid-column: 1 / -1 !important; grid-row: 2 !important; align-self: center !important;
    justify-self: center !important; width: 100% !important; max-width: 100% !important;
    min-width: 0 !important; margin: 0 !important; font-size: 10.5px !important;
    line-height: 1.05 !important; font-weight: 750 !important; text-align: center !important;
    white-space: normal !important; overflow-wrap: normal !important; word-break: normal !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="battery"] { order: 1 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="trackerBattery"] { order: 2 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="satellite"] { order: 3 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="signal"] { order: 4 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="anchor"] { order: 5 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="lock"] { order: 6 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="ignitionOn"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="ignitionOff"] { order: 7 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="speed"] { order: 8 !important; }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator[data-kind="lock"] > strong { font-size: 9px !important; white-space: nowrap !important; }
}


/* LAB mobile/PWA: known battery and lock states keep the neutral tile background. */
@media (max-width: 768px) {
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="battery"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="success"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="lock"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"] {
    background: #f7f7f8 !important;
    border-color: #dedfe3 !important;
  }
}


/* LAB mobile/PWA: communicate adverse vehicle states with red label and icon. */
@media (max-width: 768px) {
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"] > strong,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="anchor"] > strong,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"] > strong,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"] > strong {
    color: #a51823 !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"] > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="anchor"] > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"] > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"] > span {
    color: #a51823 !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="lock"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="anchor"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="battery"] > span svg,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator[data-kind="trackerBattery"][data-display-state="danger"] > span svg {
    color: #a51823 !important;
  }
}


/* LAB mobile/PWA: ignition status uses neutral tile; off state is red. */
@media (max-width: 768px) {
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.success[data-kind="ignitionOn"],
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"] {
    background: #f7f7f8 !important;
    border-color: #dedfe3 !important;
  }
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"] > strong,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"] > span,
  html.pwa-mobile-app #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicator.danger[data-kind="ignitionOff"] > span svg {
    color: #a51823 !important;
  }
}


/* LAB mobile/PWA: emphasize active anchor and blocked lock values only. */
@media (max-width: 768px) {
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator.danger[data-kind="anchor"] > strong {
    color: #a51823 !important;
    font-weight: 700 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator.danger[data-kind="lock"] > strong {
    color: #a51823 !important;
  }
}


/* LAB mobile/PWA: ignition value color follows the confirmed ignition state. */
@media (max-width: 768px) {
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator.success[data-kind="ignitionOn"] > strong {
    color: #197a31 !important;
    font-weight: 700 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded #vehicle-panel.vehicle-details-active #vehicle-drawer .vehicle-detail-indicators > .vehicle-detail-indicator.danger[data-kind="ignitionOff"] > strong {
    color: #a51823 !important;
    font-weight: 700 !important;
  }
}

/* LAB mobile/PWA: remove only the ignition status backgrounds in vehicle-list cards. */
@media (max-width: 768px) {
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success,
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger {
    background: transparent !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success > span {
    background: transparent !important;
    color: #197a31 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger > span {
    background: transparent !important;
    color: #a51823 !important;
    font-weight: 700 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.success svg {
    color: #197a31 !important;
  }
  html.pwa-mobile-app #fleet-layout.vehicles-sheet-expanded:not(.has-selection) #vehicle-panel .mobile-map-vehicle-ignition.danger svg {
    color: #a51823 !important;
  }
}

/* Cabeçalho padrão dentro da janela Compartilhar veículo; os controles originais são temporariamente reaproveitados. */
@media(max-width:768px){
 html.pwa-mobile-app dialog.share-creation-dialog[open] .map-pwa-brandbar.share-creation-brandbar{position:fixed!important;inset:0 0 auto!important;z-index:1200!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px 40px!important;grid-template-areas:"brand notifications account"!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;height:calc(62px + env(safe-area-inset-top,0px))!important;min-height:calc(62px + env(safe-area-inset-top,0px))!important;margin:0!important;padding:env(safe-area-inset-top,0px) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))!important;overflow:visible!important;border:0!important;border-bottom:1px solid #e2e2e5!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar .map-pwa-brand-logo{position:relative!important;display:flex!important;grid-area:brand!important;justify-self:start!important;align-items:center!important;box-sizing:border-box!important;width:min(55vw,210px)!important;max-width:210px!important;height:48px!important;margin:0!important;padding:0!important;text-decoration:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar .map-pwa-brand-logo img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #notification-settings{position:relative!important;display:block!important;grid-area:notifications!important;flex:none!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #notification-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#991a43!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #notification-menu-button svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #notification-unread-count:not([hidden]){top:5px!important;right:5px!important;width:8px!important;min-width:8px!important;height:8px!important;border:1px solid #fff!important;border-radius:50%!important;background:#a31943!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #account-area{position:relative!important;display:block!important;grid-area:account!important;justify-self:end!important;flex:none!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar .top-profile{display:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #account-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;place-items:center!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1.5px solid #991a43!important;border-radius:50%!important;background:#fff!important;color:#991a43!important;font-size:0!important;line-height:0!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #account-menu-button>*{display:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #account-menu-button::before{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.share-creation-dialog[open] .share-creation-brandbar #account-menu-button::after{display:block!important;content:"RT"!important;color:#991a43!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
}

/* Links temporários: layout aprovado exclusivo da listagem mobile/PWA. */
@media(max-width:768px){
 html.pwa-mobile-app dialog.map-share-dialog[open]{position:fixed!important;inset:calc(62px + env(safe-area-inset-top,0px)) 0 0!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100vw!important;max-width:none!important;height:auto!important;max-height:none!important;margin:0!important;padding:0 0 env(safe-area-inset-bottom,0px)!important;transform:none!important;overflow:hidden!important;border:0!important;border-radius:0!important;background:#fff!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]::before,html.pwa-mobile-app dialog.map-share-dialog[open]::after{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar{position:fixed!important;inset:0 0 auto!important;z-index:1201!important;display:grid!important;grid-template-columns:minmax(0,1fr) 42px 40px!important;grid-template-areas:"brand notifications account"!important;align-items:center!important;gap:8px!important;box-sizing:border-box!important;width:100%!important;height:calc(62px + env(safe-area-inset-top,0px))!important;min-height:calc(62px + env(safe-area-inset-top,0px))!important;margin:0!important;padding:env(safe-area-inset-top,0px) max(16px,env(safe-area-inset-right)) 0 max(16px,env(safe-area-inset-left))!important;overflow:visible!important;border:0!important;border-bottom:1px solid #e2e2e5!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar .app-header-brand{position:relative!important;display:flex!important;grid-area:brand!important;justify-self:start!important;align-items:center!important;box-sizing:border-box!important;width:min(55vw,210px)!important;max-width:210px!important;height:48px!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important;text-decoration:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar .app-header-brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:44px!important;object-fit:contain!important;object-position:left center!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar .app-header-brand::after{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #notification-settings{position:relative!important;display:block!important;grid-area:notifications!important;flex:none!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #notification-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:42px!important;min-width:42px!important;height:42px!important;min-height:42px!important;place-items:center!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#991a43!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #notification-menu-button svg{display:block!important;width:22px!important;height:22px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #notification-unread-count:not([hidden]){top:5px!important;right:5px!important;width:8px!important;min-width:8px!important;height:8px!important;border:1px solid #fff!important;border-radius:50%!important;background:#a31943!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #account-area{position:relative!important;display:block!important;grid-area:account!important;justify-self:end!important;flex:none!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;margin:0!important;padding:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar .top-profile{display:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #account-menu-button{position:relative!important;display:grid!important;box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;min-height:40px!important;place-items:center!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1.5px solid #991a43!important;border-radius:50%!important;background:#fff!important;color:#991a43!important;font-size:0!important;line-height:0!important;box-shadow:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #account-menu-button>*{display:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #account-menu-button::before{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>.map-pwa-brandbar.share-list-brandbar #account-menu-button::after{display:block!important;content:"RT"!important;color:#991a43!important;font-size:12px!important;font-weight:700!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header{position:relative!important;display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;min-height:58px!important;height:auto!important;padding:8px 18px!important;border:0!important;border-bottom:1px solid #e7e7e9!important;background:#fff!important;color:#171b24!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header::before{display:none!important;content:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open]>header h2{display:block!important;min-width:0!important;margin:0!important;color:#171b24!important;font-size:22px!important;line-height:1.2!important;font-weight:750!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-quick-close{flex:0 0 38px!important;width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#171b24!important;font-size:30px!important;font-weight:400!important;line-height:1!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-intro{flex:0 0 auto!important;margin:0!important;padding:11px 18px 10px!important;color:#343942!important;font-size:14px!important;line-height:1.5!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-intro p{margin:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-intro p+p{margin-top:1px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-quick-status{flex:0 0 auto!important;margin:0!important;padding:0 18px 6px!important;background:transparent!important;color:#9a1a43!important;font-size:12px!important;line-height:1.4!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-quick-status:empty{display:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-list{display:flex!important;flex:1 1 auto!important;flex-direction:column!important;gap:15px!important;min-height:0!important;max-height:none!important;overflow-x:hidden!important;overflow-y:auto!important;padding:8px 14px 18px!important;overscroll-behavior:contain!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-section{min-width:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-section-heading{box-sizing:border-box!important;margin:0 0 10px!important;padding:8px 13px!important;border:0!important;border-radius:9px!important;background:#e9eaed!important;color:#171b24!important;font-size:16px!important;line-height:1.25!important;font-weight:750!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-section-items{display:grid!important;gap:10px!important;min-width:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-section-empty{margin:0!important;padding:12px!important;border:1px dashed #d8d9dd!important;border-radius:10px!important;color:#626771!important;font-size:13px!important;text-align:center!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-row{display:grid!important;grid-template-columns:27px minmax(0,1fr) auto!important;align-items:start!important;gap:7px 10px!important;box-sizing:border-box!important;min-width:0!important;min-height:0!important;padding:12px!important;border:1px solid #d7d8dc!important;border-radius:13px!important;background:#fff!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-link-icon{display:grid!important;place-items:center!important;box-sizing:border-box!important;width:26px!important;height:30px!important;margin-top:2px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#991a43!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-link-icon svg{display:block!important;width:25px!important;height:25px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.9!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-main{grid-column:2/4!important;grid-row:1!important;min-width:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-title{display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;align-items:start!important;gap:7px!important;min-width:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-main strong{display:block!important;min-width:0!important;overflow:visible!important;color:#171b24!important;font-size:16px!important;line-height:1.25!important;font-weight:750!important;text-overflow:clip!important;white-space:normal!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status{align-self:start!important;box-sizing:border-box!important;max-width:100%!important;padding:5px 9px!important;border-radius:99px!important;font-size:12px!important;line-height:1.2!important;font-weight:700!important;white-space:nowrap!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-active{background:#e1f4e5!important;color:#246f31!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-expired{background:#e8e9eb!important;color:#33373d!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-status.is-revoked{background:#f9e2e6!important;color:#8f1933!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-details{display:grid!important;gap:5px!important;margin-top:8px!important;min-width:0!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-detail-line{display:flex!important;align-items:flex-start!important;gap:8px!important;min-width:0!important;margin:0!important;padding:0!important;color:#272b31!important;font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-detail-line svg{flex:0 0 18px!important;width:18px!important;height:18px!important;fill:none!important;stroke:#991a43!important;stroke-width:1.8!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions{grid-column:2/4!important;grid-row:2!important;justify-self:end!important;display:flex!important;align-items:center!important;gap:6px!important;min-height:0!important;color:#991a43!important;font-size:12px!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions:empty{display:none!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions .map-share-revoke{min-height:34px!important;height:34px!important;padding:0 14px!important;border:1px solid #a9153b!important;border-radius:8px!important;background:#fff!important;color:#a9153b!important;font-size:13px!important;font-weight:700!important;white-space:nowrap!important}
 html.pwa-mobile-app dialog.map-share-dialog[open] .map-share-actions .button-danger{min-height:34px!important;height:34px!important;padding:0 12px!important;border:1px solid #a9153b!important;border-radius:8px!important;background:#a9153b!important;color:#fff!important;font-size:12px!important}
}
