/* UrbanHoff v9.25.81 · HOTFIX BÚSQUEDAS EN MODO CLARO
   Alcance estrictamente limitado al módulo BÚSQUEDAS y su modal.
   No altera CRM, métricas, automatizaciones ni módulos protegidos. */

/* Paridad real de legibilidad/interacción con el modo oscuro. */
body:not(.dark-mode) .uhs-shell{color:#203149!important}
body:not(.dark-mode) .uhs-head h3,
body:not(.dark-mode) .uhs-client,
body:not(.dark-mode) .uhs-person strong,
body:not(.dark-mode) .uhs-search-title>strong,
body:not(.dark-mode) .uhs-search-resume>strong,
body:not(.dark-mode) .uhs-section-head h4,
body:not(.dark-mode) .uhs-criterion-head strong,
body:not(.dark-mode) .uhs-modal>.modal-head h3,
body:not(.dark-mode) .uhs-result-score strong,
body:not(.dark-mode) .uhs-empty strong{color:#172b42!important}

body:not(.dark-mode) .uhs-head p,
body:not(.dark-mode) .uhs-sub,
body:not(.dark-mode) .uhs-field-help,
body:not(.dark-mode) .uhs-section-head p,
body:not(.dark-mode) .uhs-search-title>small,
body:not(.dark-mode) .uhs-search-resume>small,
body:not(.dark-mode) .uhs-zone-criterion .uhs-criterion-head small,
body:not(.dark-mode) .uhs-empty-chip{color:#617488!important}

body:not(.dark-mode) .uhs-search,
body:not(.dark-mode) .uhs-select,
body:not(.dark-mode) .uhs-field input,
body:not(.dark-mode) .uhs-field select,
body:not(.dark-mode) .uhs-field textarea,
body:not(.dark-mode) .uhs-criterion-head select,
body:not(.dark-mode) .uhs-custom-row input,
body:not(.dark-mode) .uhs-custom-row select,
body:not(.dark-mode) .uhs-range input,
body:not(.dark-mode) .uhs-criterion>input,
body:not(.dark-mode) .uhs-criterion>select,
body:not(.dark-mode) .uhs-zone-button,
body:not(.dark-mode) .uhs-zone-search-wrap input,
body:not(.dark-mode) .uhs-client-searchbox input{
  background:#fff!important;color:#172b42!important;border-color:#c8d4e1!important;
  -webkit-text-fill-color:#172b42!important;opacity:1!important;pointer-events:auto!important;
}
body:not(.dark-mode) .uhs-search::placeholder,
body:not(.dark-mode) .uhs-field input::placeholder,
body:not(.dark-mode) .uhs-field textarea::placeholder,
body:not(.dark-mode) .uhs-zone-search-wrap input::placeholder,
body:not(.dark-mode) .uhs-client-searchbox input::placeholder{color:#718297!important;-webkit-text-fill-color:#718297!important;opacity:1!important}

body:not(.dark-mode) .uhs-search:focus,
body:not(.dark-mode) .uhs-select:focus,
body:not(.dark-mode) .uhs-field input:focus,
body:not(.dark-mode) .uhs-field select:focus,
body:not(.dark-mode) .uhs-field textarea:focus,
body:not(.dark-mode) .uhs-zone-button:focus,
body:not(.dark-mode) .uhs-client-searchbox input:focus{outline:none!important;border-color:#4f86c8!important;box-shadow:0 0 0 3px rgba(47,111,216,.12)!important}

body:not(.dark-mode) .uhs-zone-dropdown,
body:not(.dark-mode) .uhs-client-matches{
  background:#fff!important;color:#172b42!important;border-color:#cbd7e4!important;
  opacity:1!important;visibility:visible;pointer-events:auto!important;z-index:500!important;
  box-shadow:0 18px 44px rgba(18,45,75,.18)!important;
}
body:not(.dark-mode) .uhs-zone-dropdown:not(.open),
body:not(.dark-mode) .uhs-client-matches:not(.open){display:none!important}
body:not(.dark-mode) .uhs-zone-dropdown.open,
body:not(.dark-mode) .uhs-client-matches.open{display:block!important}
body:not(.dark-mode) .uhs-client-matches.open{display:grid!important}

body:not(.dark-mode) .uhs-zone-options label,
body:not(.dark-mode) .uhs-zone-master,
body:not(.dark-mode) .uhs-zone-search-wrap button,
body:not(.dark-mode) .uhs-client-matches button{color:#203149!important;pointer-events:auto!important}
body:not(.dark-mode) .uhs-zone-options label:hover,
body:not(.dark-mode) .uhs-client-matches button:hover{background:#eef5fc!important}
body:not(.dark-mode) .uhs-zone-search-wrap button{background:#f7f9fc!important;border-color:#d5dfe9!important}
body:not(.dark-mode) .uhs-zone-master{background:#f1f6fd!important;border-color:#c6d5e6!important}

body:not(.dark-mode) .uhs-section-card,
body:not(.dark-mode) .uhs-criterion,
body:not(.dark-mode) .uhs-custom-row,
body:not(.dark-mode) .uhs-client-lookup,
body:not(.dark-mode) .uhs-result-score,
body:not(.dark-mode) .uhs-result-row{
  color:#203149!important;background:#fbfdff!important;border-color:#dbe5ef!important;
}
body:not(.dark-mode) .uhs-section-card>.uhs-section-head{background:#f6f9fc!important;border-color:#e1e8f0!important}
body:not(.dark-mode) .uhs-card-actions{background:#f7faff!important}
body:not(.dark-mode) .uhs-modal-actions{background:linear-gradient(180deg,rgba(255,255,255,0),#fff 24%)!important}
body:not(.dark-mode) .uhs-modal{color:#203149!important;background:#fff!important}
body:not(.dark-mode) .uhs-modal .x{color:#344b63!important;background:#eef3f7!important;pointer-events:auto!important}

/* Los controles de BÚSQUEDAS quedan siempre clickeables por encima de capas decorativas. */
body:not(.dark-mode) .uhs-shell input,
body:not(.dark-mode) .uhs-shell select,
body:not(.dark-mode) .uhs-shell button,
body:not(.dark-mode) .uhs-modal input,
body:not(.dark-mode) .uhs-modal select,
body:not(.dark-mode) .uhs-modal button,
body:not(.dark-mode) .uhs-modal textarea{position:relative;z-index:1;pointer-events:auto!important}
