/* Driver chrome and scrollable audience-specific banner feed. */
html[data-app-role="driver"] .mobile-header.rotas-driver-compact-header{
 position:fixed!important;top:8px!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;
 width:min(calc(100% - 20px),630px)!important;min-height:54px!important;height:54px!important;padding:5px 8px!important;
 display:flex!important;align-items:center!important;justify-content:space-between!important;z-index:72!important;
 background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none!important;
}
html[data-app-role="driver"] .mobile-header.rotas-driver-compact-header[hidden]{display:none!important}
html.rotas-driver-profile-open[data-app-role="driver"] .mobile-header.rotas-driver-compact-header{z-index:20010!important}
html.rotas-driver-profile-open[data-app-role="driver"] .modal-backdrop:has(#signout){padding-top:82px!important}
html[data-app-role="driver"] .rotas-driver-compact-header>*{pointer-events:auto!important}
html[data-app-role="driver"] .rotas-driver-compact-header .app-identity{margin-right:auto;width:48px;height:48px;overflow:hidden;border-radius:15px;background:#ffffffd9;box-shadow:0 3px 14px #0002}
html[data-app-role="driver"] .rotas-driver-compact-header .app-wordmark{width:48px!important;height:48px!important;object-fit:contain!important;transform:none!important}
html[data-app-role="driver"] .rotas-driver-compact-header .rotas-conversations,
html[data-app-role="driver"] .rotas-driver-compact-header .rotas-driver-theme{position:relative!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin-left:7px!important;padding:10px!important;border-radius:14px!important;border:1px solid #5c511f!important;background:#4b431bde!important;color:#e4cf56!important;box-shadow:0 3px 14px #0003!important}
html[data-app-role="driver"] .rotas-driver-compact-header .rotas-conversations.has-unread{background:#8b7200!important;color:#fff1a1!important;border-color:#d9b900!important}
html[data-app-role="driver"] .rotas-driver-compact-header .rotas-conversations svg{width:23px;height:23px}
.rotas-chat-count{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:#e1262f;color:#fff;font:800 10px/1 Arial;border:2px solid #fff}
.rotas-chat-count[hidden]{display:none!important}
.rotas-conversation-sheet{display:grid!important;gap:10px!important}.rotas-conversation-sheet>button:not([data-close]){display:grid;text-align:left;gap:4px;width:100%;padding:15px;border-radius:15px;border:1px solid #d8dfda;background:#fff;color:#17241c}.rotas-conversation-sheet>button small{color:#607068}.rotas-conversation-sheet>button:disabled{opacity:.52}
html.rotas-driver-chrome-visible[data-app-role="driver"] #mobile-content:not(:has(.mobile-map-frame)){padding-top:66px!important;padding-bottom:calc(92px + env(safe-area-inset-bottom))!important;min-height:100dvh;box-sizing:border-box;overflow-y:auto!important}
html[data-app-role="driver"] #mobile-content:has(.mobile-map-frame){overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain!important}
.rotas-driver-banner-zone{position:relative;z-index:1;margin:18px 12px calc(94px + env(safe-area-inset-bottom));padding:0;min-width:0}
/* O mapa e o banner pertencem ao mesmo fluxo de rolagem. Assim, ao arrastar,
   a tela inteira sobe e o banner nunca passa sobre o mapa ou a barra inferior. */
html[data-app-role="driver"] #mobile-content:has(.rotas-driver-banner-zone){height:100dvh!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;padding:0!important}
html[data-app-role="driver"] #mobile-content:has(.rotas-driver-banner-zone)>.mobile-map-frame{position:relative!important;inset:auto!important;width:100%!important;height:calc(100dvh - 66px - env(safe-area-inset-bottom))!important;min-height:calc(100dvh - 66px - env(safe-area-inset-bottom))!important;bottom:auto!important}
html[data-app-role="driver"] #mobile-content:has(.mobile-map-frame)>.rotas-driver-banner-zone{margin-top:0!important}
html[data-app-role="driver"] .rotas-driver-banner{display:none!important}
html[data-app-role="driver"] .rotas-driver-inline-banner{display:block!important;position:relative!important;inset:auto!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;transform:none!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;border-radius:20px!important;overflow:hidden!important;z-index:1!important}
html[data-app-role="driver"] .rotas-driver-inline-banner article,html[data-app-role="driver"] .rotas-driver-inline-banner a{display:block!important;height:auto!important;min-height:150px!important;aspect-ratio:2/1!important;border-radius:20px!important;background-size:cover!important}
html[data-app-role="driver"] .rotas-driver-inline-banner .rotas-carousel-nav{position:relative!important;inset:auto!important;transform:none!important;padding:7px!important}
