/* DUOVOX_CLARO_ANCHO_2310_V1 + CBA_CARGA_VISUAL_2310_V1.
   Contenido de las pantallas. El menu lateral conserva todos sus estilos.
   Sin cambios de visibilidad, permisos, fotos, estados ni acciones. */
@media screen {
  /* Un solo margen: el del contenedor principal. Se conserva el ancho interno
     de formularios cortos y dialogos; las listas aprovechan todo el contenido. */
  html body[data-duovox-visual] main.main > :is(
    .meta-page,.rk-page,.nps-page,.panel-ventas,.rnl-plan-shell,
    .ventas-circuito,.admin-ventas,.ventas-pendientes,.trash-wrap,.vr
  ) {
    width:100%!important;max-width:none!important;min-width:0!important;
    box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;
    padding-left:0!important;padding-right:0!important;
  }
  html body[data-duovox-visual] main .meta-page :is(.meta-table-wrap,.meta-filters,.meta-hero) {
    min-width:0;max-width:100%;box-sizing:border-box;
  }
  /* Cabeceras claras: fondo y texto cambian juntos. Las reglas solo se
     activan fuera del tema oscuro y solo dentro del contenido principal. */
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    .st-head,.lc-mesa-0710-menu,.lc-tower-selector-card,.dv-capture-head,
    .meta-hero,.rk-hero,.nps-head,.mi-day-toolbar
  ),
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-metrics-2110 .tm-heading {
    background:#dce8f2!important;background-image:none!important;color:#19354b!important;
    border:1px solid #abc2d4!important;box-shadow:0 3px 12px #19354b08!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    .st-head,.lc-mesa-0710-menu,.lc-tower-selector-card,.dv-capture-head,
    .meta-hero,.rk-hero,.nps-head,.mi-day-toolbar
  ) :is(h1,h2,h3,label),
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-metrics-2110 .tm-heading :is(h1,h2,h3,label) {
    color:#19354b!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    .st-head,.lc-mesa-0710-menu,.lc-tower-selector-card,.dv-capture-head,
    .meta-hero,.rk-hero,.nps-head
  ) :is(p,.muted,.st-sub,.nps-help),
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-metrics-2110 .tm-heading :is(p,.muted) {
    color:#526578!important;opacity:1!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(.meta-eyebrow,.rk-eyebrow) {
    color:#086f69!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main .rk-hero .rk-edit {
    color:#19354b!important;background:#eef3f7!important;border-color:#aebfcd!important;
  }
  /* Filtros: se eliminan los degradados marinos del modo claro. */
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    #lc-mi-filters-2110,#lc-tower-filters-2110,.lc-datero-filter-card
  ),
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-metrics-2110 .tm-filters-2110 {
    background:#eef3f7!important;background-image:none!important;color:#19354b!important;
    border-color:#c5d4df!important;box-shadow:none!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    #lc-mi-filters-2110,#lc-tower-filters-2110,.lc-datero-filter-card
  ) :is(label,h2,.muted),
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-metrics-2110 .tm-filters-2110 :is(label,h2,.muted) {
    color:#19354b!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main #lc-tower-filters-2110 .badge {
    background:#dce9f2!important;color:#19354b!important;border-color:#aebfcd!important;
  }
  /* Identidad del equipo: se conserva la foto y el significado de cada dato. */
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main .lc-tower-identity-2110 {
    background:#eef3f7!important;color:#19354b!important;border-color:#c5d4df!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main .lc-tower-leader-2110 strong {
    color:#19354b!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main .lc-tower-leader-2110 small {
    color:#526578!important;
  }
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main .lc-tower-name-2110 {
    color:#19354b!important;border-color:#aebfcd!important;
  }
  /* El foco no puede seguir blanco sobre una cabecera ahora blanca. */
  html:not([data-lc-theme="dark"]) body[data-duovox-visual] main :is(
    .st-head,.lc-mesa-0710-menu,.lc-tower-selector-card,.dv-capture-head,
    .meta-hero,.rk-hero,.nps-head,.mi-day-toolbar,
    #lc-mi-filters-2110,#lc-tower-filters-2110,.lc-datero-filter-card,#lc-tower-metrics-2110
  ) :focus-visible {
    outline:3px solid #315ca8!important;outline-offset:3px!important;
  }
}
