:root{--nexo-navy:#102c45;--nexo-teal:#08758c;--nexo-teal-soft:#e8f5f5;--nexo-sidebar:252px;--nexo-bg:#f4f7f8}.nexo-sidebar,.nexo-scrim,.nexo-menu-toggle,.nexo-header-search,.nexo-header-alert{display:none}body:not(.login-page){background:var(--nexo-bg);padding-left:var(--nexo-sidebar);padding-top:72px}body:not(.login-page) .topbar{position:fixed;z-index:80;top:0;left:var(--nexo-sidebar);right:0;height:72px;min-height:72px;padding:12px 28px;background:rgba(255,255,255,.96);border:0;border-bottom:1px solid #e3eaed;box-shadow:0 1px 12px rgba(16,44,69,.05);color:var(--nexo-navy)}body:not(.login-page) .topbar h1{font-family:Inter,Segoe UI,Arial,sans-serif;font-size:16px;font-weight:750;margin:4px 0 0;letter-spacing:-.01em}body:not(.login-page) .topbar .eyebrow{color:var(--nexo-teal);opacity:1;font-size:10px}body:not(.login-page) .topbar>nav{display:flex;align-items:center;gap:14px;margin-left:auto}.nexo-sidebar{display:flex;position:fixed;z-index:100;left:0;top:0;bottom:0;width:var(--nexo-sidebar);flex-direction:column;padding:18px 13px 14px;background:var(--nexo-navy);color:#dbeaf0;box-shadow:10px 0 30px rgba(11,34,52,.12)}.nexo-brand{display:flex;align-items:center;gap:11px;padding:4px 8px 20px;text-decoration:none;color:white;border-bottom:1px solid rgba(220,239,244,.13)}.nexo-brand img{width:40px;height:40px}.nexo-brand b,.nexo-brand small{display:block}.nexo-brand b{font-size:21px;letter-spacing:-.03em}.nexo-brand small{margin-top:1px;color:#9ec4ce;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.nexo-nav-links{display:flex;flex-direction:column;gap:3px;padding:17px 0;overflow-y:auto}.nexo-nav-links .btn{justify-content:flex-start;min-height:39px;padding:9px 11px;border:0;background:transparent;color:#d7e8ed;font-size:13px;font-weight:600;border-radius:8px}.nexo-nav-links .btn:hover{background:rgba(80,188,194,.12);color:#fff}.nexo-nav-links .btn.active{background:linear-gradient(90deg,#0b8394,#11667c);color:white;box-shadow:0 5px 14px rgba(0,0,0,.18)}.nexo-nav-links .logout-link{display:none}.nexo-sidebar-bottom{margin-top:auto;border-top:1px solid rgba(220,239,244,.13);padding:15px 7px 4px}.nexo-user{display:flex;align-items:center;gap:9px}.nexo-user>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;background:#21a6a4;color:white;font-weight:800}.nexo-user b,.nexo-user small{display:block;max-width:165px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nexo-user b{font-size:12px;color:#fff}.nexo-user small{font-size:10px;color:#9ec4ce;margin-top:2px}.nexo-signout{display:block;margin-top:13px;color:#a8c8d0;text-decoration:none;font-size:11px;font-weight:700}.nexo-signout:hover{color:white}.nexo-header-search{display:block;width:min(480px,40vw);margin-left:auto}.nexo-header-search form{display:flex;align-items:center;height:40px;border:1px solid #d6e0e4;border-radius:9px;background:#fff;padding:0 10px;gap:7px}.nexo-header-search span{font-size:19px;color:#7d929d}.nexo-header-search input{flex:1;min-width:0;border:0;padding:0;outline:0;font-size:12px}.nexo-header-search button{border:0;background:transparent;color:#08758c;font-size:12px;font-weight:800;cursor:pointer}.nexo-header-alert{display:grid;width:34px;height:34px;place-items:center;border-radius:9px;text-decoration:none;background:#edf5f6;color:#08758c;font-size:17px}.nexo-mobile-search{display:none}.shell{padding:18px 18px 36px;max-width:none}.perito-shell,.dashboard-shell,.search-shell,.work-shell,.legales-shell{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:18px!important;padding-right:18px!important}.panel{box-shadow:0 7px 22px rgba(19,45,60,.055)}.topbar+main{min-height:calc(100vh - 72px)}@media(max-width:880px){body:not(.login-page){padding-left:0;padding-top:64px}body:not(.login-page) .topbar{left:0;height:64px;min-height:64px;padding:10px 14px}body:not(.login-page) .topbar>div{margin-left:39px}.nexo-sidebar{transform:translateX(-102%);transition:transform .2s ease;width:min(280px,84vw);box-shadow:12px 0 40px rgba(7,24,38,.3)}.nexo-sidebar.open{transform:none}.nexo-scrim{display:block;position:fixed;z-index:90;inset:0;background:rgba(9,27,41,.4);opacity:0;pointer-events:none;transition:opacity .2s}.nexo-scrim.open{opacity:1;pointer-events:auto}.nexo-menu-toggle{display:grid;position:fixed;z-index:85;left:13px;top:15px;width:35px;height:34px;place-items:center;border:0;border-radius:8px;background:#edf5f6;color:#08758c;font-size:19px;cursor:pointer}.nexo-header-search{display:none}.nexo-header-alert{margin-left:auto}.nexo-mobile-search{display:flex;margin:15px 3px 3px;border:1px solid rgba(212,240,242,.2);border-radius:8px;overflow:hidden}.nexo-mobile-search input{flex:1;min-width:0;background:transparent;border:0;color:white;padding:10px;font-size:12px}.nexo-mobile-search input::placeholder{color:#a5c7ce}.nexo-mobile-search button{border:0;background:#14949a;color:white;padding:0 12px}.shell,.perito-shell,.dashboard-shell,.search-shell,.work-shell,.legales-shell{padding-left:12px!important;padding-right:12px!important}.topbar h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:56vw}}
/* Acciones operativas compactas del listado general. */
.index-quick-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px 0;max-width:none}
.page-identity h1{margin:2px 0 0;font-size:18px;letter-spacing:-.02em}
@media(max-width:880px){.index-quick-actions{padding:10px 12px 0;justify-content:flex-start;overflow-x:auto}.index-quick-actions .btn{white-space:nowrap}}
/* Navegación lateral reducida y redimensionable. */
@media(min-width:881px){
  body:not(.login-page),body:not(.login-page) .topbar,.nexo-sidebar{transition:padding-left .22s ease,left .22s ease,width .22s ease}
  .nexo-sidebar{background:linear-gradient(180deg,#102c45 0%,#0b2439 100%);box-shadow:8px 0 24px rgba(10,35,53,.10)}
  .nexo-sidebar-head{display:flex;align-items:center;gap:4px;border-bottom:1px solid rgba(220,239,244,.13);padding:3px 2px 17px}
  .nexo-brand{flex:1;padding:1px 5px 0;border:0}
  .nexo-sidebar-collapse{display:grid;width:30px;height:30px;place-items:center;border:1px solid rgba(220,239,244,.18);border-radius:8px;background:transparent;color:#b6d1d9;font-size:24px;line-height:1;cursor:pointer}
  .nexo-sidebar-collapse:hover{background:rgba(80,188,194,.14);color:white}
  .nexo-nav-links{gap:4px;padding:16px 0}
  .nexo-nav-links .btn{gap:11px;min-height:40px;padding:9px 10px;color:#d2e2e8}
  .nexo-nav-links .btn.active{background:rgba(18,151,164,.22);box-shadow:none}
  .nexo-nav-icon{display:grid;width:19px;place-items:center;color:#8fcbd1;font-size:16px;line-height:1}
  .nexo-nav-links .active .nexo-nav-icon{color:#fff}
  body.nexo-sidebar-collapsed{--nexo-sidebar:72px}
  body.nexo-sidebar-collapsed .nexo-sidebar{padding-left:8px;padding-right:8px}
  body.nexo-sidebar-collapsed .nexo-sidebar-head{justify-content:center;padding-bottom:17px}
  body.nexo-sidebar-collapsed .nexo-brand{flex:0;padding:0}
  body.nexo-sidebar-collapsed .nexo-brand>span,body.nexo-sidebar-collapsed .nexo-nav-label,body.nexo-sidebar-collapsed .nexo-user>div,body.nexo-sidebar-collapsed .nexo-signout{display:none}
  body.nexo-sidebar-collapsed .nexo-sidebar-collapse{position:absolute;right:-14px;top:22px;background:#102c45}
  body.nexo-sidebar-collapsed .nexo-nav-links .btn{justify-content:center;padding:9px 4px}
  body.nexo-sidebar-collapsed .nexo-nav-links .btn{background:transparent!important;border:0!important;box-shadow:none!important}
  body.nexo-sidebar-collapsed .nexo-nav-links .btn:hover{background:rgba(80,188,194,.14)!important}
  body.nexo-sidebar-collapsed .nexo-nav-links .btn.active{background:rgba(18,151,164,.38)!important}
  body.nexo-sidebar-collapsed .nexo-nav-icon{font-size:18px}
  body.nexo-sidebar-collapsed .nexo-sidebar-bottom{padding:13px 0 2px}
  body.nexo-sidebar-collapsed .nexo-user{justify-content:center}
}
@media(max-width:880px){.nexo-sidebar-collapse{display:none}}

/* El menú no hereda los botones blancos de las páginas portal. */
body:not(.login-page) .topbar .nexo-nav-links .btn{background:transparent!important;border:0!important;box-shadow:none!important;color:#d7e8ed!important}
body:not(.login-page) .topbar .nexo-nav-links .btn:hover{background:rgba(80,188,194,.12)!important;color:#fff!important}
body:not(.login-page) .topbar .nexo-nav-links .btn.active{background:rgba(18,151,164,.32)!important;color:#fff!important}
.nexo-nav-group{display:block;margin:13px 9px 4px;color:#7eaab5;font-size:9px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.nexo-nav-group:first-child{margin-top:0}
.nexo-nav-label{display:flex;align-items:center;gap:7px;min-width:0;flex:1}
.nexo-nav-count{display:inline-grid;min-width:22px;height:20px;place-items:center;margin-left:auto;padding:0 6px;border-radius:999px;background:rgba(143,203,209,.17);color:#c7e9ee;font-size:10px;font-style:normal;font-weight:800;line-height:1}
.nexo-nav-count.count-informes,.nexo-nav-count.count-validacion,.nexo-nav-count.count-revision{background:rgba(226,168,59,.22);color:#ffe2a6}
.nexo-nav-count.count-generacion{background:rgba(68,182,138,.2);color:#b8f0d8}
.nexo-nav-count.count-excluidos{background:rgba(220,100,91,.22);color:#ffc4bd}
.nexo-nav-links .btn.active .nexo-nav-count{background:rgba(255,255,255,.17);color:#fff}
.nexo-nav-links{scrollbar-width:thin;scrollbar-color:#355d6c transparent}
.nexo-nav-links::-webkit-scrollbar{width:5px}
.nexo-nav-links::-webkit-scrollbar-track{background:transparent}
.nexo-nav-links::-webkit-scrollbar-thumb{background:#355d6c;border-radius:999px}

/* Las pantallas legales ocupan todo el ancho disponible, sin anchos heredados. */
.legales-shell{width:auto!important;max-width:none!important;min-height:0!important;align-content:start!important;margin:18px 18px 36px!important;padding:0!important}
.legales-shell .legales-heading{min-height:0!important;height:auto!important;padding:18px 22px!important}
.legales-shell .legales-heading h2{font-size:25px;margin:4px 0!important}
.legales-shell .legales-heading p{margin:0!important;line-height:1.45}
.legales-shell .section-head{padding:15px 20px!important}
@media(min-width:881px){body.nexo-sidebar-collapsed .nexo-nav-group{display:none}}
@media(max-width:880px){.legales-shell{margin:12px 12px 24px!important}}

/* Tablas legales fluidas: el contenido se adapta al ancho disponible. */
.legales-shell .legal-table{width:100%;overflow-x:hidden!important}
.legales-shell .legal-table table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.legales-shell .legal-table th,.legales-shell .legal-table td{overflow-wrap:anywhere;word-break:normal}
#candidateList th:nth-child(1 of :not(.vehicle-id-column)),#candidateList td:nth-child(1 of :not(.vehicle-id-column)){width:5%}
#candidateList th:nth-child(2 of :not(.vehicle-id-column)),#candidateList td:nth-child(2 of :not(.vehicle-id-column)){width:12%}
#candidateList th:nth-child(3 of :not(.vehicle-id-column)),#candidateList td:nth-child(3 of :not(.vehicle-id-column)){width:21%}
#candidateList th:nth-child(4 of :not(.vehicle-id-column)),#candidateList td:nth-child(4 of :not(.vehicle-id-column)){width:39%}
#candidateList th:nth-child(5 of :not(.vehicle-id-column)),#candidateList td:nth-child(5 of :not(.vehicle-id-column)){width:11%}
#candidateList th:nth-child(6 of :not(.vehicle-id-column)),#candidateList td:nth-child(6 of :not(.vehicle-id-column)){width:12%}
#batchList th:nth-child(1 of :not(.vehicle-id-column)),#batchList td:nth-child(1 of :not(.vehicle-id-column)){width:22%}
#batchList th:nth-child(2 of :not(.vehicle-id-column)),#batchList td:nth-child(2 of :not(.vehicle-id-column)){width:18%}
#batchList th:nth-child(3 of :not(.vehicle-id-column)),#batchList td:nth-child(3 of :not(.vehicle-id-column)){width:12%}
#batchList th:nth-child(4 of :not(.vehicle-id-column)),#batchList td:nth-child(4 of :not(.vehicle-id-column)){width:20%}
#batchList th:nth-child(5 of :not(.vehicle-id-column)),#batchList td:nth-child(5 of :not(.vehicle-id-column)){width:13%}
#batchList th:nth-child(6 of :not(.vehicle-id-column)),#batchList td:nth-child(6 of :not(.vehicle-id-column)){width:15%}
#exclusionList th,#exclusionList td{white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){
  .legales-shell .legal-table th,.legales-shell .legal-table td{padding:9px 6px!important;font-size:10px!important}
  #candidateList th:nth-child(4 of :not(.vehicle-id-column)),#candidateList td:nth-child(4 of :not(.vehicle-id-column)){width:32%}
  #candidateList th:nth-child(6 of :not(.vehicle-id-column)),#candidateList td:nth-child(6 of :not(.vehicle-id-column)){width:14%}
  #batchList th:nth-child(1 of :not(.vehicle-id-column)),#batchList td:nth-child(1 of :not(.vehicle-id-column)){width:23%}
  #batchList th:nth-child(3 of :not(.vehicle-id-column)),#batchList td:nth-child(3 of :not(.vehicle-id-column)){width:18%}
  #batchList th:nth-child(4 of :not(.vehicle-id-column)),#batchList td:nth-child(4 of :not(.vehicle-id-column)){width:18%}
}

/* Separación vertical uniforme entre tarjetas (equivalente a m-2). */
:root{--nexo-card-gap:18px}
.shell,.dashboard-shell,.perito-shell,.search-shell,.work-shell,.admin-shell,.informes-shell,.validation-shell{padding-top:18px!important}
.admin-shell{margin-top:18px!important}
.legales-shell{gap:var(--nexo-card-gap)!important}
.legales-shell .location-context{margin-bottom:0!important}
.admin-shell,.dashboard-shell,.perito-shell,.work-main{display:flex;flex-direction:column;gap:var(--nexo-card-gap)}
.admin-shell>*,.dashboard-shell>*,.perito-shell>*,.work-main>*{margin-top:0!important;margin-bottom:0!important}
.work-kpis{margin:0!important}

/* Paso 4 bis y Paso 5: la separación superior coincide con Cartas documento. */
@media(max-width:760px){.edictos-shell,.decrees-shell{margin-top:12px!important;padding-top:0!important}}

/* Identidad de sesión y salida compacta en el pie del menú. */
.nexo-signout{display:inline-flex;align-items:center;gap:6px;width:auto;margin-top:12px;padding:7px 9px;border:1px solid rgba(218,145,145,.28);border-radius:7px;background:rgba(167,71,66,.10);color:#f0c2be;text-decoration:none;font-size:11px;font-weight:800;line-height:1}
.nexo-signout>span:first-child{font-size:14px;line-height:1}.nexo-signout:hover{background:rgba(167,71,66,.24);border-color:rgba(240,194,190,.52);color:#fff}
@media(min-width:881px){body.nexo-sidebar-collapsed .nexo-signout{display:grid;place-items:center;width:32px;height:32px;margin:12px auto 0;padding:0;border-radius:8px}body.nexo-sidebar-collapsed .nexo-signout>span:last-child{display:none}}

/* Peso tipográfico uniforme para el menú compartido. */
body:not(.login-page) .nexo-sidebar .nexo-nav-links .btn{font-weight:700!important}

/* Acciones persistentes del encabezado: sesión, tema y salida. */
.nexo-header-actions{display:flex;align-items:center;gap:8px;margin-left:auto}:is(.nexo-theme-toggle,.nexo-header-control),.nexo-profile-button,.nexo-header-signout{border:1px solid #d6e2e6;background:#fff;color:#183e50;text-decoration:none}:is(.nexo-theme-toggle,.nexo-header-control){display:grid;width:38px;height:38px;place-items:center;border-radius:9px;font-size:18px;cursor:pointer}:is(.nexo-theme-toggle,.nexo-header-control):hover{background:#edf6f7;border-color:#8db8c2;color:#08758c}.nexo-profile-button{display:flex;align-items:center;gap:8px;min-width:0;height:42px;padding:4px 9px 4px 5px;border-radius:10px;cursor:pointer;text-align:left}.nexo-profile-button:hover{background:#f5fafb;border-color:#9dbfc8}.nexo-profile-avatar{display:grid;width:31px;height:31px;flex:0 0 31px;place-items:center;border-radius:50%;background:#117e8f;color:#fff;font-size:12px;font-weight:800}.nexo-profile-copy{display:grid;min-width:0;gap:1px}.nexo-profile-copy b,.nexo-profile-copy small{display:block;max-width:195px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.nexo-profile-copy b{font-size:12px;font-weight:800}.nexo-profile-copy small{color:#71828b;font-size:10px}.nexo-profile-caret{font-size:15px;color:#6a7f88}.nexo-header-signout{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 10px;border-radius:9px;color:#a33f39;font-size:11px;font-weight:800}.nexo-header-signout:hover{background:#fff3f2;border-color:#d8a6a1}.nexo-sidebar-bottom{display:none!important}

/* Modo oscuro persistente: respeta la misma jerarquía visual y contraste. */
body.nexo-dark{--ink:#e6f0f3;--muted:#9db3bc;--line:#2c4654;--paper:#142431;--bg:#0d1821;--surface:#142431;--canvas:#0d1821;--nexo-bg:#0d1821;background:#0d1821;color:#e6f0f3}body.nexo-dark:not(.login-page) .topbar{background:rgba(16,31,42,.98);border-bottom-color:#294351;color:#edf5f6}body.nexo-dark .panel,body.nexo-dark .task-modal,body.nexo-dark .login-card,body.nexo-dark dialog,body.nexo-dark .modal,body.nexo-dark .legal-modal{background:#142431;color:#e6f0f3;border-color:#2c4654}body.nexo-dark .topbar h1,body.nexo-dark h1,body.nexo-dark h2,body.nexo-dark h3,body.nexo-dark h4,body.nexo-dark b,body.nexo-dark strong{color:inherit}body.nexo-dark input,body.nexo-dark select,body.nexo-dark textarea,body.nexo-dark .search,body.nexo-dark .picker-control{background:#0f1d27!important;color:#e6f0f3!important;border-color:#395563!important}body.nexo-dark input::placeholder,body.nexo-dark textarea::placeholder{color:#8098a3}body.nexo-dark th,body.nexo-dark .table-wrap th{background:#182b38!important;color:#adc0c8}body.nexo-dark td,body.nexo-dark th,body.nexo-dark .modal header,body.nexo-dark .modal footer,body.nexo-dark .task-modal header,body.nexo-dark .task-modal footer{border-color:#2c4654!important}body.nexo-dark tbody tr:hover{background:#172a36}body.nexo-dark :is(.nexo-theme-toggle,.nexo-header-control),body.nexo-dark .nexo-profile-button,body.nexo-dark .nexo-header-signout{background:#152a36;border-color:#3a5662;color:#e6f0f3}body.nexo-dark .nexo-profile-copy small{color:#a5b9c1}body.nexo-dark :is(.nexo-theme-toggle,.nexo-header-control):hover,body.nexo-dark .nexo-profile-button:hover{background:#1b3543}body.nexo-dark .nexo-header-signout{color:#ffc0ba}body.nexo-dark .nexo-header-signout:hover{background:#3b2528;border-color:#985958}body.nexo-dark .btn.ghost,body.nexo-dark .panel .btn.ghost,body.nexo-dark .modal .btn.ghost{background:#152a36;color:#e6f0f3;border-color:#3a5662}body.nexo-dark .chip.missing{background:#263945;color:#b8c8ce}body.nexo-dark .topbar-summary,body.nexo-dark small,body.nexo-dark .sub,body.nexo-dark .hint{color:#9db3bc}

@media(max-width:880px){.nexo-header-actions{gap:5px}.nexo-profile-button{height:38px;padding:3px 5px}.nexo-profile-copy,.nexo-profile-caret{display:none}.nexo-profile-avatar{width:30px;height:30px;flex-basis:30px}.nexo-header-signout{width:38px;padding:0;justify-content:center;font-size:0}.nexo-header-signout span:first-child{font-size:17px}}

/* Menú de sesión: tema y salida agrupados bajo el perfil. */
.nexo-profile-menu{position:relative}.nexo-profile-popover{position:absolute;z-index:150;top:calc(100% + 8px);right:0;width:218px;padding:8px;background:#fff;border:1px solid #d6e2e6;border-radius:11px;box-shadow:0 14px 34px rgba(16,44,69,.16)}.nexo-profile-popover[hidden]{display:none}.nexo-profile-popover-title{padding:5px 8px 7px;color:#71828b;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.nexo-theme-option,.nexo-profile-logout{display:flex;align-items:center;width:100%;gap:9px;padding:9px 8px;border:0;border-radius:7px;background:transparent;color:#284351;font:inherit;font-size:12px;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}.nexo-theme-option:hover{background:#edf6f7;color:#08758c}.nexo-theme-option>span,.nexo-profile-logout>span{display:grid;width:18px;place-items:center;font-size:15px}.nexo-theme-option i{display:none;margin-left:auto;font-style:normal;color:#08758c}.nexo-theme-option.is-selected i{display:inline}.nexo-profile-separator{height:1px;margin:6px 3px;background:#e2eaed}.nexo-profile-logout{color:#a33f39}.nexo-profile-logout:hover{background:#fff3f2;color:#92332f}

/* Fondos de tablas en modo oscuro: incluye tablas de todos los módulos. */
body.nexo-dark table,body.nexo-dark .table-wrap,body.nexo-dark .legal-table,body.nexo-dark .work-table,body.nexo-dark .listado-table-wrap{background:#142431!important;color:#e6f0f3}body.nexo-dark table thead,body.nexo-dark table thead tr,body.nexo-dark table thead th{background:#1a303e!important;color:#b7cbd3!important}body.nexo-dark table tbody,body.nexo-dark table tbody tr,body.nexo-dark table tbody td{background:#142431!important;color:#e6f0f3!important}body.nexo-dark table tbody tr:nth-child(even),body.nexo-dark table tbody tr:nth-child(even) td{background:#172936!important}body.nexo-dark table tbody tr:hover,body.nexo-dark table tbody tr:hover td{background:#1b3341!important}body.nexo-dark table td small,body.nexo-dark table td .sub,body.nexo-dark table td .hint{color:#9db3bc!important}body.nexo-dark .table-footer,body.nexo-dark .listado-table-controls,body.nexo-dark .dataTables_wrapper,body.nexo-dark .dataTables_info{background:#142431!important;color:#b5c7ce!important}body.nexo-dark .dataTables_wrapper select,body.nexo-dark .dataTables_wrapper input{background:#0f1d27!important;color:#e6f0f3!important;border-color:#395563!important}body.nexo-dark .nexo-profile-popover{background:#152a36;border-color:#3a5662;box-shadow:0 14px 34px rgba(0,0,0,.35)}body.nexo-dark .nexo-profile-popover-title{color:#9db3bc}body.nexo-dark .nexo-theme-option{color:#e6f0f3}body.nexo-dark .nexo-theme-option:hover{background:#1f3b49;color:#a7e2e7}body.nexo-dark .nexo-profile-separator{background:#38535f}body.nexo-dark .nexo-profile-logout{color:#ffc0ba}body.nexo-dark .nexo-profile-logout:hover{background:#3b2528;color:#ffd4d0}

@media(max-width:880px){.nexo-profile-popover{position:fixed;top:58px;right:12px;width:min(230px,calc(100vw - 24px))}.nexo-header-signout{display:none}}

/* Superficies específicas de Pericias en modo oscuro. */
body.nexo-dark .pericia-wizard,body.nexo-dark .pericia-wizard .task-modal-body,body.nexo-dark .pericia-wizard .perito-section,body.nexo-dark .pericia-wizard .form-grid{background:#142431!important;color:#e6f0f3}body.nexo-dark .pericia-wizard .vehicle-type-choice{background:linear-gradient(145deg,#1b3341,#162a36)!important;border-color:#385563!important;color:#dcecf1!important}body.nexo-dark .pericia-wizard .vehicle-type-choice:hover{background:#213e4d!important;border-color:#5caebb!important}body.nexo-dark .pericia-wizard .vehicle-type-choice.is-selected{background:#164653!important;border-color:#15a1b5!important;color:#b9eef3!important;box-shadow:inset 0 0 0 1px #15a1b5}body.nexo-dark .pericia-wizard .pericia-media-card,body.nexo-dark .pericia-wizard .pericia-initial-media .pericia-media-card,body.nexo-dark .pericia-wizard .pericia-serial-media .serial-media-card{background:#172b38!important;border-color:#385563!important;border-left-color:#d35b54!important}body.nexo-dark .pericia-wizard .camera-field{background:#132633!important;border-color:#57808d!important;color:#a8e4eb!important}body.nexo-dark .pericia-wizard .camera-button{background:#214452!important;color:#a8e4eb!important}body.nexo-dark .pericia-wizard .required-photo-preview:not([hidden]),body.nexo-dark .pericia-wizard .serial-photo-preview-row .required-photo-preview:not([hidden]){background:#0f1d27!important;border-color:#395563!important}body.nexo-dark .pericia-wizard #withoutDomain.btn{background:#183a46!important;border-color:#598895!important;color:#b7e8ed!important}body.nexo-dark .pericia-wizard #withoutDomain.btn:hover{background:#21505f!important;border-color:#73b5c0!important;color:#fff!important}body.nexo-dark .pericia-wizard .rotate-fixed-photo-controls button{background:rgba(22,46,59,.96)!important;border-color:#4b7180!important;color:#b6e7ed!important}body.nexo-dark .pericia-wizard .pericia-stepper,body.nexo-dark .pericia-wizard .pericia-stepper li,body.nexo-dark .pericia-wizard footer{background:#152a36!important;border-color:#2f4a58!important}body.nexo-dark .pericia-wizard .pericia-stepper li{color:#a9c0ca!important}body.nexo-dark .pericia-wizard .pericia-stepper b{background:#314b58!important;color:#dcecf1!important}body.nexo-dark .pericia-wizard .pericia-stepper li.active{color:#71d2dc!important}body.nexo-dark .pericia-wizard .pericia-stepper li.active b{background:#168da1!important;color:#fff!important}body.nexo-dark .pericia-wizard .photo-card-title,body.nexo-dark .pericia-wizard label{color:#dcecf1!important}body.nexo-dark .pericia-wizard .field-format{color:#ff8178!important}

/* Pericias: franja de filtros y selector de tipo, con la misma jerarquía visual en ambos temas. */
body.nexo-dark .perito-table-panel .perito-tools,
body.nexo-dark .perito-table-panel .perito-list-controls{
  background:#142431!important;
  border-color:#2c4654!important;
  color:#b8cbd3!important;
}
body.nexo-dark .perito-table-panel .perito-search>span,
body.nexo-dark .perito-table-panel .perito-data-filter>span{
  color:#b8cbd3!important;
}
body.nexo-dark .perito-table-panel .perito-search input,
body.nexo-dark .perito-table-panel .perito-data-filter select,
body.nexo-dark .perito-table-panel .perito-list-controls select{
  background:#0f1d27!important;
  color:#e6f0f3!important;
  border-color:#395563!important;
}
body.nexo-dark .perito-table-panel .perito-filters{border-color:#395563!important;}
body.nexo-dark .perito-table-panel .perito-filters .filter{
  color:#b8cbd3!important;
  background:transparent!important;
}
body.nexo-dark .perito-table-panel .perito-filters .filter:hover{color:#a7e2e7!important;}
body.nexo-dark .perito-table-panel .perito-filters .filter.active{
  background:#167b8d!important;
  color:#fff!important;
  border-color:#28b7ca!important;
  box-shadow:0 2px 7px rgba(0,0,0,.24)!important;
}
.perito-table-panel .perito-filters{
  display:flex;
  gap:8px;
  border:0;
}
.perito-table-panel .perito-filters .filter{
  margin:0;
  padding:7px 12px;
  border:1px solid #cbd9df;
  border-radius:999px;
  background:#fff;
  color:#41606b;
  line-height:1.15;
}
.perito-table-panel .perito-filters .filter.active{
  background:#155e75;
  border-color:#155e75;
  color:#fff;
  box-shadow:0 2px 6px rgba(21,94,117,.18);
}
body.nexo-dark .perito-table-panel .perito-filters .filter{
  background:#142431!important;
  border-color:#395563!important;
  color:#c0d2d9!important;
}
body.nexo-dark .empty-perito{
  background:#142431!important;
  border-color:#395563!important;
  color:#a9c0ca!important;
}
body.nexo-dark #validationDialog .validation-modal,
body.nexo-dark #validationDialog .task-modal-body,
body.nexo-dark #validationDialog .validation-card,
body.nexo-dark #validationDialog .validation-comparisons{
  background:#142431!important;
  color:#e6f0f3!important;
  border-color:#395563!important;
}
body.nexo-dark #validationDialog .validation-card-heading,
body.nexo-dark #validationDialog .validation-row{
  border-color:#395563!important;
}
body.nexo-dark .informes-shell .request-modal .task-modal-body,
body.nexo-dark #manualReportDialog .task-modal-body,
body.nexo-dark #importLogDialog .task-modal-body,
body.nexo-dark #infoDialog .task-modal-body,
body.nexo-dark #reportRepericiaDialog .task-modal-body{
  background:#142431!important;
  color:#e6f0f3!important;
}
body.nexo-dark .informes-shell .import-result,
body.nexo-dark .informes-shell .import-detail-head,
body.nexo-dark .informes-shell .overwrite-option,
body.nexo-dark .informes-shell .info-grid article,
body.nexo-dark .informes-shell .manual-section,
body.nexo-dark .informes-shell .manual-vehicle-option,
body.nexo-dark .informes-shell .manual-pdf-preview,
body.nexo-dark .informes-shell .manual-pdf-preview header{
  background:#172b38!important;
  color:#e6f0f3!important;
  border-color:#395563!important;
}
body.nexo-dark .informes-shell .manual-selected{
  background:#143940!important;
  color:#c5edf0!important;
  border-color:#32727b!important;
}
body.nexo-dark .informes-shell .manual-vehicle-option:hover{
  background:#1b3947!important;
  border-color:#55aab7!important;
}
body.nexo-dark .informes-shell .import-detail-list article,
body.nexo-dark .informes-shell .import-detail-summary,
body.nexo-dark .informes-shell .manual-collapsible[open] summary{
  border-color:#395563!important;
}
body.nexo-dark .informes-shell .import-detail-list p,
body.nexo-dark .informes-shell .manual-section>small,
body.nexo-dark .informes-shell .manual-vehicle-option small,
body.nexo-dark .informes-shell .manual-pdf-preview header small{
  color:#a9c0ca!important;
}
body.nexo-dark #importDialog .task-modal-body,
body.nexo-dark #manualReportDialog .task-modal-body,
body.nexo-dark #importLogDialog .task-modal-body{
  background:#142431!important;
  color:#e6f0f3!important;
}
body.nexo-dark #importDialog .import-result,
body.nexo-dark #importDialog .import-detail-head,
body.nexo-dark #importDialog .overwrite-option,
body.nexo-dark #importLogDialog .import-detail-head,
body.nexo-dark #manualReportDialog .manual-section,
body.nexo-dark #manualReportDialog .overwrite-option,
body.nexo-dark #manualReportDialog .manual-vehicle-option,
body.nexo-dark #manualReportDialog .manual-pdf-preview,
body.nexo-dark #manualReportDialog .manual-pdf-preview header{
  background:#172b38!important;
  color:#e6f0f3!important;
  border-color:#395563!important;
}
body.nexo-dark #manualReportDialog .manual-selected{
  background:#143940!important;
  color:#c5edf0!important;
  border-color:#32727b!important;
}
body.nexo-dark #manualReportDialog .manual-vehicle-option:hover{
  background:#1b3947!important;
  border-color:#55aab7!important;
}
body.nexo-dark #importDialog .import-detail-list article,
body.nexo-dark #importDialog .import-detail-summary,
body.nexo-dark #importLogDialog .import-detail-list article,
body.nexo-dark #importLogDialog .import-detail-summary,
body.nexo-dark #manualReportDialog .manual-collapsible[open] summary{
  border-color:#395563!important;
}
body.nexo-dark #importDialog .import-detail-list p,
body.nexo-dark #importLogDialog .import-detail-list p,
body.nexo-dark #manualReportDialog .manual-section>small,
body.nexo-dark #manualReportDialog .manual-vehicle-option small,
body.nexo-dark #manualReportDialog .manual-pdf-preview header small{
  color:#a9c0ca!important;
}
body.nexo-dark #importLogDialog .import-filter-chip,
body.nexo-dark #importDialog .import-filter-chip{
  background:#142431!important;
  color:#c0d2d9!important;
  border-color:#395563!important;
}
body.nexo-dark #importLogDialog .import-filter-chip:hover,
body.nexo-dark #importDialog .import-filter-chip:hover{
  background:#1b3947!important;
  color:#dff7f8!important;
  border-color:#55aab7!important;
}
body.nexo-dark #importLogDialog .import-filter-chip.active,
body.nexo-dark #importDialog .import-filter-chip.active{
  background:#167b8d!important;
  color:#fff!important;
  border-color:#28b7ca!important;
  box-shadow:0 2px 7px rgba(0,0,0,.24)!important;
}
body.nexo-dark #importLogDialog .chip.ok,
body.nexo-dark #importDialog .chip.ok{background:#164b42!important;color:#9ee5d0!important}
body.nexo-dark #importLogDialog .chip.info,
body.nexo-dark #importDialog .chip.info{background:#1a3f59!important;color:#a9d9f2!important}
body.nexo-dark #importLogDialog .chip.verify,
body.nexo-dark #importDialog .chip.verify,
body.nexo-dark #importLogDialog .chip.review,
body.nexo-dark #importDialog .chip.review{background:#4b2b2f!important;color:#ffc1ba!important}
body.nexo-dark #detail .legal-modal,
body.nexo-dark #detailBody,
body.nexo-dark #detail .legal-modal>header,
body.nexo-dark #detail .edict-modal-actions{
  background:#142431!important;
  color:#e6f0f3!important;
  border-color:#395563!important;
}
body.nexo-dark #detail .edict-detail-summary,
body.nexo-dark #detail .edict-modal-table th{
  background:#172b38!important;
  color:#c7d9df!important;
  border-color:#395563!important;
}
body.nexo-dark #detail .edict-detail-summary>div,
body.nexo-dark #detail .edict-modal-table,
body.nexo-dark #detail .edict-modal-table th,
body.nexo-dark #detail .edict-modal-table td,
body.nexo-dark #detail .edict-modal-actions{
  border-color:#395563!important;
}
body.nexo-dark #detail .edict-detail-summary b,
body.nexo-dark #detail .edict-modal-table td,
body.nexo-dark #detail .edict-modal-table .edict-serial{
  color:#e6f0f3!important;
}
body.nexo-dark #detail .edict-modal-search label,
body.nexo-dark #detail .edict-detail-summary span,
body.nexo-dark #detail .edict-section-title small,
body.nexo-dark #detail .edict-modal-actions small{
  color:#a9c0ca!important;
}
body.nexo-dark #detail .edict-modal-table tbody tr:hover{background:#1b3543!important}
body.nexo-dark #detail .edict-state.pendiente,
body.nexo-dark #detail .edict-row-state.incluido{
  background:#58431b!important;
  color:#ffdc8a!important;
  border:1px solid #85672d!important;
}
.pericia-wizard .vehicle-type-choice{
  font-family:Inter,"Segoe UI",Arial,sans-serif;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  letter-spacing:0;
}
@media(max-width:760px){
  .pericia-wizard .vehicle-type-choice{font-size:11px;}
}

/* Encabezado móvil: controles de sesión alineados con el título, sin segunda fila. */
@media(max-width:880px){
  body:not(.login-page) .topbar{
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:8px!important;
  }
  body:not(.login-page) .topbar>div:first-child{
    flex:1 1 auto;
    min-width:0;
    margin-left:39px!important;
  }
  body:not(.login-page) .topbar>nav{display:contents!important;}
  body:not(.login-page) .topbar .nexo-header-actions{
    display:flex!important;
    flex:0 0 auto;
    align-self:center!important;
    margin:0!important;
  }
}

/* Modal de pericia en oscuro: capas sobrias, campos legibles y acentos de estado. */
body.nexo-dark #periciaDialog,
body.nexo-dark #periciaDialog .pericia-wizard{
  background:#10212b!important;
  color:#e5f0f3!important;
  border-color:#31505e!important;
  box-shadow:0 28px 72px rgba(0,0,0,.52)!important;
}
body.nexo-dark #periciaDialog .pericia-wizard>header,
body.nexo-dark #periciaDialog .pericia-wizard>footer{
  background:#10212b!important;
  border-color:#31505e!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .task-modal-body{
  background:#10212b!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .perito-section{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .form-grid{
  background:transparent!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-choice{
  background:#162d3a!important;
  border-color:#3b5b69!important;
  color:#d6e6eb!important;
  font-family:Inter,"Segoe UI",Arial,sans-serif!important;
  font-size:12px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  text-shadow:none!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-choice:hover{
  background:#1b3543!important;
  border-color:#65b6c1!important;
  color:#f1fbfc!important;
  transform:none!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-choice.is-selected{
  background:#164653!important;
  border-color:#1ba8bb!important;
  color:#b9edf3!important;
  box-shadow:inset 0 0 0 1px #1ba8bb,0 5px 12px rgba(0,0,0,.16)!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-icon img{
  width:49px!important;
  height:40px!important;
  filter:invert(88%) sepia(11%) saturate(410%) hue-rotate(145deg) brightness(101%) contrast(92%)!important;
  opacity:.94!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-icon img[src$="/auto.svg"]{
  width:68px!important;
  height:48px!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-choice.is-selected .vehicle-type-icon img{
  filter:invert(83%) sepia(38%) saturate(629%) hue-rotate(138deg) brightness(102%) contrast(94%)!important;
  opacity:1!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .pericia-media-card,
body.nexo-dark #periciaDialog .pericia-wizard .pericia-initial-media .pericia-media-card,
body.nexo-dark #periciaDialog .pericia-wizard .pericia-serial-media .serial-media-card{
  background:#162d3a!important;
  border-color:#3b5b69!important;
  border-left-color:#d65b55!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .required-photo-preview:not([hidden]),
body.nexo-dark #periciaDialog .pericia-wizard .serial-photo-preview-row .required-photo-preview:not([hidden]){
  background:#0d1b25!important;
  border-color:#3b5b69!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .camera-field{
  background:#132a37!important;
  border-color:#568392!important;
  color:#aee5ec!important;
}
body.nexo-dark #periciaDialog .pericia-wizard .camera-button{background:#214855!important;color:#c7f1f4!important;}
body.nexo-dark #periciaDialog .pericia-wizard .field-colors,
body.nexo-dark #periciaDialog .pericia-wizard .section-title small{color:#a9c0c9!important;}
body.nexo-dark #periciaDialog .pericia-wizard .color-label{color:#dce9ed!important;}
@media(max-width:760px){
  body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-choice{font-size:11px!important;}
  body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-icon img{width:41px!important;height:34px!important;}
  body.nexo-dark #periciaDialog .pericia-wizard .vehicle-type-icon img[src$="/auto.svg"]{width:57px!important;height:42px!important;}
}

/* Navegación lateral compacta: cada acceso se conserva en una sola línea. */
@media(min-width:881px){
  .nexo-nav-links{gap:1px!important;padding:11px 0!important;}
  .nexo-nav-links .btn{min-height:34px!important;padding:7px 10px!important;line-height:1.1!important;}
  .nexo-nav-label{gap:6px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;}
  .nexo-nav-icon{flex:0 0 auto;}
  .nexo-nav-group{margin:9px 9px 3px!important;line-height:1!important;}
}

/* Identificación persistente del entorno de prueba. */
body[data-nexo-testing="1"]{padding-bottom:28px}
.nexo-test-environment-footer{position:fixed;right:0;bottom:0;left:0;z-index:10050;display:flex;align-items:center;justify-content:center;gap:8px;min-height:28px;padding:5px 16px;background:#6e4710;color:#fff2cf;border-top:1px solid #b7822d;box-shadow:0 -3px 12px rgba(7,23,34,.14);font:700 10px/1.2 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:.06em;text-transform:uppercase;text-align:center}
.nexo-test-environment-footer strong{font-weight:800}.nexo-test-environment-footer span{font-weight:600;letter-spacing:.01em;text-transform:none;opacity:.88}
body.nexo-dark .nexo-test-environment-footer{background:#51370f;color:#ffe9af;border-color:#9d7128;box-shadow:0 -3px 12px rgba(0,0,0,.25)}
@media(max-width:640px){body[data-nexo-testing="1"]{padding-bottom:25px}.nexo-test-environment-footer{min-height:25px;padding:4px 10px;font-size:9px}.nexo-test-environment-footer span{display:none}}
/* Mensajería global: queda entre el modo visual y el perfil. */
.nexo-message-button{position:relative;display:grid;width:38px;height:38px;place-items:center;border:1px solid #d6e2e6;border-radius:9px;background:#fff;color:#183e50;text-decoration:none;font-size:17px}.nexo-message-button:hover{background:#edf6f7;border-color:#8db8c2;color:#08758c}.nexo-message-button.has-unread{border-color:#c83f3b;color:#a93633;background:#fff5f4}.nexo-message-badge{position:absolute;right:-6px;top:-6px;display:grid;min-width:18px;height:18px;padding:0 4px;place-items:center;border:2px solid #fff;border-radius:999px;background:#c83f3b;color:#fff;font-size:10px;line-height:1;font-weight:800}.nexo-message-badge[hidden]{display:none}body.nexo-dark .nexo-message-button{background:#152a36;border-color:#3a5662;color:#e6f0f3}body.nexo-dark .nexo-message-button:hover{background:#1b3543}body.nexo-dark .nexo-message-button.has-unread{background:#3a262a;border-color:#a45555;color:#ffd2cf}body.nexo-dark .nexo-message-badge{border-color:#10212b}
/* Light sidebar. Existing navigation palette remains the dark theme. */
body:not(.nexo-dark) .nexo-sidebar{background:#f8fafb;color:#294552;border-right:1px solid #dce6ea;box-shadow:4px 0 16px rgba(19,45,60,.045)}
body:not(.nexo-dark) .nexo-sidebar .nexo-brand{color:#183e50}
body:not(.nexo-dark) .nexo-sidebar .nexo-brand small{color:#58717e}
body:not(.nexo-dark) .nexo-sidebar .nexo-sidebar-head,
body:not(.nexo-dark) .nexo-sidebar .nexo-sidebar-bottom{border-color:#dce6ea}
body:not(.nexo-dark) .nexo-sidebar .nexo-sidebar-collapse{background:#f8fafb;border-color:#c7d9df;color:#365b6d}
body:not(.nexo-dark) .nexo-sidebar .nexo-sidebar-collapse:hover{background:#e5f1f4;color:#086c80}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-group{color:#597782}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn{background:transparent!important;color:#294552!important;box-shadow:none!important}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-icon{color:#437d8b}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn:hover{background:#e6f1f4!important;color:#125e71!important}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn.active{background:#08758c!important;color:#fff!important}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn.active .nexo-nav-icon{color:#fff}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn:focus-visible{outline:2px solid #08758c;outline-offset:-2px}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-count{background:#dfedf1;color:#315b6d}
body:not(.nexo-dark) .nexo-sidebar .count-informes,
body:not(.nexo-dark) .nexo-sidebar .count-validacion,
body:not(.nexo-dark) .nexo-sidebar .count-revision{background:#fff0cc;color:#805d17}
body:not(.nexo-dark) .nexo-sidebar .count-generacion{background:#def1e6;color:#256c49}
body:not(.nexo-dark) .nexo-sidebar .count-excluidos{background:#f9e5e3;color:#943d37}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links .btn.active .nexo-nav-count{background:#ffffff29;color:#fff}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links{scrollbar-color:#b7cbd3 transparent}
body:not(.nexo-dark) .nexo-sidebar .nexo-nav-links::-webkit-scrollbar-thumb{background:#b7cbd3}
body:not(.nexo-dark) .nexo-sidebar .nexo-mobile-search{background:#fff;border-color:#c7d9df}
body:not(.nexo-dark) .nexo-sidebar .nexo-mobile-search input{color:#294552}
body:not(.nexo-dark) .nexo-sidebar .nexo-mobile-search input::placeholder{color:#627d89}
body:not(.nexo-dark) .nexo-sidebar .nexo-mobile-search button{background:#08758c;color:#fff}
body:not(.nexo-dark) .nexo-sidebar .nexo-user b{color:#183e50}
body:not(.nexo-dark) .nexo-sidebar .nexo-user small{color:#58717e}
body:not(.nexo-dark) .nexo-sidebar .nexo-signout{background:#fff5f4;border-color:#e5c2be;color:#943d37}
body:not(.nexo-dark) .nexo-sidebar .nexo-signout:hover{background:#f9e5e3;color:#80312c}
/* Municipal identity is shared by every sidebar; account assignment defines it. */
.nexo-sidebar .nexo-brand-municipal{min-width:0;gap:10px}
.nexo-sidebar .nexo-brand>span{min-width:0;flex:1;text-align:center}
.nexo-sidebar .nexo-brand-municipal b{font-size:15px;line-height:1.25;letter-spacing:0;overflow-wrap:anywhere}
.nexo-sidebar .nexo-brand-municipal img,.nexo-sidebar .nexo-municipal-mark{width:40px;height:40px;flex:0 0 40px;object-fit:contain}
.nexo-sidebar .nexo-municipal-mark{color:#32b9cf}
body:not(.nexo-dark) .nexo-sidebar .nexo-municipal-mark{color:#087f94}
