/* Fase 40 — legibilidade da marca em todos os tamanhos; prevalece sobre CSS legado. */
.navbar .navbar-brand img {width:clamp(170px, 16vw, 245px) !important;max-width:100% !important;max-height:none !important;height:auto !important;object-fit:contain;}
.navbar .navbar-brand {display:flex;align-items:center;min-width:0;}
.logo-ceap {width:min(100%, 470px) !important;max-width:470px !important;max-height:none !important;height:auto !important;object-fit:contain;}
.ceap-login-brand,.login-container img.ceap-login-brand {display:block;width:min(100%, 380px) !important;max-width:100% !important;height:auto !important;margin:0 auto 12px;}
#sidebar .sidebar-header {padding:22px 12px 12px !important;}
#sidebar .sidebar-header img.ceap-sidebar-brand {display:block;width:100% !important;max-width:255px !important;max-height:none !important;height:auto !important;margin:0 auto;object-fit:contain;}
@media(max-width:767px){.navbar .navbar-brand img{width:175px !important;max-height:none !important}.logo-ceap{width:min(100%, 350px) !important}.ceap-login-brand,.login-container img.ceap-login-brand{width:min(100%,310px) !important}}
@media(max-width:400px){.navbar .navbar-brand img{width:145px !important}}
