/* Cross-view components: no colors for clinical, payment or message states. */
html[data-of-theme] .nav-pills{--bs-nav-pills-link-active-bg:var(--of-primary);--bs-nav-pills-link-active-color:#fff}
html[data-of-theme] .progress{--bs-progress-bar-bg:var(--of-primary)}
html[data-of-theme] .bg-primary-soft{background-color:var(--of-soft)}
html[data-of-theme] .modal-title{font-weight:650;letter-spacing:-.02em;color:var(--of-text)}
html[data-of-theme] #main-content :is(.contactos-header h1,.citas-heading h1,.repaso-heading h1,.wai-hero h1,.wls-hero h1){font-size:clamp(1.45rem,2.5vw,1.9rem);font-weight:700;letter-spacing:-.035em;color:var(--of-text)}
html[data-of-theme] #main-content :is(.table-excel,.table){--bs-table-color:var(--of-text);--bs-table-border-color:var(--of-border);--bs-table-hover-bg:var(--of-soft)}
html[data-of-theme] #main-content .table-excel thead th{background:var(--of-bg);color:var(--of-muted);font-size:.7rem;font-weight:650;letter-spacing:.045em;border-color:var(--of-border)}
html[data-of-theme] #main-content .hover-row:hover{background:var(--of-soft)!important}
html[data-of-theme] .contactos-surface,html[data-of-theme] .wls-card,html[data-of-theme] .wai-card{border-color:var(--of-border);border-radius:var(--of-radius);box-shadow:var(--of-shadow)}
html[data-of-theme] .contactos-avatar,html[data-of-theme] .contactos-icon{background:var(--of-soft);color:var(--of-primary)}
html[data-of-theme] .repaso-card{border-color:var(--of-border);box-shadow:var(--of-shadow)}
html[data-of-theme] .repaso-card.repaso-left,html[data-of-theme] .repaso-card.repaso-right{border-color:var(--of-primary);box-shadow:0 8px 28px rgba(var(--of-primary-rgb),.16)}
html[data-of-theme] #seguimientos-app[data-pagina=lista] #seg-filtros{border-color:var(--of-border);border-radius:var(--of-radius);background:var(--of-surface)}
html[data-of-theme] .paciente-expediente .nav-elegant .nav-link.active{color:var(--of-primary)!important;border-bottom-color:var(--of-primary)}
html[data-of-theme] :is(.bs-card,.bs-hero){border-color:var(--of-border);border-radius:var(--of-radius)}
html[data-of-theme] :is(.form-control,.form-select){border-radius:10px}
html[data-of-theme] .form-label{color:var(--of-text)}
html[data-of-theme] .select2-container--bootstrap-5 .select2-selection{border-color:var(--of-border);border-radius:10px}
html[data-of-theme] .select2-container--bootstrap-5.select2-container--focus .select2-selection,html[data-of-theme] .select2-container--bootstrap-5.select2-container--open .select2-selection{border-color:var(--of-primary);box-shadow:0 0 0 3px rgba(var(--of-primary-rgb),.14)}
html[data-of-theme] .select2-container--bootstrap-5 .select2-dropdown .select2-results__option--highlighted{background:var(--of-primary);color:white}
html[data-of-theme] .dataTables_wrapper .page-item.active .page-link{background:var(--of-primary);border-color:var(--of-primary);color:#fff}
html[data-of-theme] .dataTables_wrapper .page-link:focus{box-shadow:0 0 0 3px rgba(var(--of-primary-rgb),.14)}
html[data-of-theme] :is(.wac-workspace,.wls-settings,.wai) .btn-primary{background:var(--of-primary);border-color:var(--of-primary);color:white}
html[data-of-theme] .of-topbar .of-topbar-menu .dropdown-item.active{background:var(--of-soft);color:var(--of-primary)}
html[data-of-theme] .of-topbar .global-search-input:focus{border-color:var(--of-primary)!important;box-shadow:0 0 0 3px rgba(var(--of-primary-rgb),.14)!important}
html[data-of-theme] .global-search-results .search-category-header{color:var(--of-primary);background:var(--of-soft)}
html[data-of-theme] .global-search-results .search-result-item:hover{background:var(--of-soft)}
@media(max-width:767px){html[data-of-theme] #main-content .table-responsive-cards tr{border-color:var(--of-border);border-radius:var(--of-radius);box-shadow:var(--of-shadow)}html[data-of-theme] #main-content .table-responsive-cards td::before{color:var(--of-muted)}}
@media(prefers-reduced-motion:reduce){html[data-of-theme] :is(.of-theme-tile,.hover-row){transition:none!important}}
