/* Camada visual: preserva tamanhos funcionais, textos e estados de acesso. */
#admin-screen button:not(.frota-shortcut):not([disabled]),#driver-screen button:not([disabled]),dialog button:not([disabled]){filter:brightness(1.12) saturate(1.13)!important}
#admin-screen button:not(.frota-shortcut):hover,#driver-screen button:hover,dialog button:hover{filter:brightness(1.25) saturate(1.18)!important}
#admin-screen .admin-title .eyebrow,#admin-screen #admin-role{display:none!important}
.admin-topbar .admin-title h1{font-size:clamp(1.4rem,4.8vw,2.25rem)!important;line-height:1.08;white-space:normal;overflow-wrap:anywhere}
.admin-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(3px,1vw,9px)!important;flex-wrap:nowrap!important;min-width:0}
.admin-header-actions .frota-shortcut{--shortcut-color:#8dd0ff;display:grid!important;place-items:center!important;flex:0 0 clamp(36px,8vw,48px)!important;width:clamp(36px,8vw,48px)!important;height:clamp(38px,8vw,48px)!important;padding:7px!important;color:var(--shortcut-color)!important;border-radius:14px!important;border:1px solid var(--shortcut-color)!important;background:linear-gradient(145deg,#ffffff48,#54739763 48%,#081a34dc)!important;box-shadow:inset 0 2px 2px #fffd,inset 0 -7px 12px #001728a8,0 6px 0 #4c83aa7a,0 12px 21px #000a,0 0 16px var(--shortcut-color)!important;transition:transform .12s ease,filter .12s ease,box-shadow .12s ease!important;cursor:pointer;touch-action:manipulation}
.admin-header-actions .frota-shortcut svg{width:25px;height:25px;max-width:100%;max-height:100%;pointer-events:none}
.admin-header-actions .frota-shortcut[hidden]{display:none!important}
.admin-header-actions .frota-shortcut:where(:hover,:focus-visible){filter:brightness(1.17)!important;transform:translateY(-2px)!important}
.admin-header-actions .frota-shortcut:active{transform:translateY(4px)!important;filter:brightness(1.34)!important;box-shadow:inset 0 5px 12px #001728bc,0 2px 0 #5ca3cc,0 0 25px var(--shortcut-color)!important}
.admin-header-actions #admin-logout,#driver-screen #driver-logout{color:#ffe6e8!important;border-color:#f3a2b0!important;background:linear-gradient(145deg,#ffd9de63,#ad50647d 47%,#381d35c7)!important;box-shadow:inset 0 2px #fff9,inset 0 -7px 13px #391425a8,0 6px 0 #a84e6680,0 13px 21px #000a,0 0 20px #ff889c9c!important}
.admin-header-actions #admin-logout:active,#driver-screen #driver-logout:active{transform:translateY(4px)!important;filter:brightness(1.3)!important;box-shadow:inset 0 5px 12px #390f1ebd,0 2px 0 #ab5366,0 0 25px #ff829c!important}
#admin-screen button:not(.frota-shortcut):not([hidden]),#driver-screen button:not([hidden]),dialog button:not([hidden]){white-space:normal!important;overflow-wrap:anywhere!important;text-overflow:clip!important;line-height:1.25!important;transition-duration:.12s!important}
#admin-screen button:not(.frota-shortcut):active,#driver-screen button:active,dialog button:active{filter:brightness(1.3)!important;transform:translateY(3px)!important}
@media(max-width:700px){
 #admin-screen .admin-topbar{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
 #admin-screen .admin-title{min-width:0!important}
 #admin-screen .admin-header-actions{grid-row:1;justify-self:stretch;justify-content:space-between!important;width:100%!important;gap:4px!important}
 #admin-screen #admin-center-open{display:none!important}
 #admin-screen #admin-logout{flex:0 0 auto!important;min-width:51px!important;padding:8px 6px!important;font-size:.8rem!important}
 #admin-screen .admin-module-menu{grid-column:1!important}
 #driver-screen .topbar{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 #driver-screen #driver-logout{order:-1;margin-left:auto;min-height:40px!important}
 .admin-header-actions .frota-shortcut{width:clamp(35px,9vw,45px)!important;flex-basis:clamp(35px,9vw,45px)!important}
}
@media(prefers-reduced-motion:reduce){.admin-header-actions .frota-shortcut{transition:none!important}}
