:root {
    --sofom-primary: #24695c;
    --sofom-secondary: #ba895d;
    --sofom-primary-hover: #1b4f45;
    --sofom-secondary-hover: #93683f;
    --sofom-primary-contrast: #fff;
    --sofom-secondary-contrast: #111827;
    --sofom-primary-rgb: 36, 105, 92;
    --sofom-secondary-rgb: 186, 137, 93;
    --sofom-theme-surface: #f6fbfa;
    --sofom-theme-surface-alt: #ecf7f4;
    --sofom-theme-ink: #183e37;
    --sofom-theme-border: rgba(var(--sofom-primary-rgb), 0.14);
    --sofom-theme-shadow: rgba(var(--sofom-primary-rgb), 0.1);
    --sofom-primary-soft: rgba(var(--sofom-primary-rgb), 0.1);
    --sofom-primary-soft-strong: rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-secondary-soft: rgba(var(--sofom-secondary-rgb), 0.12);
}

body {
    accent-color: var(--sofom-primary);
}

body.box-layout {
    background:
        linear-gradient(180deg, var(--sofom-theme-surface) 0%, #fff 38%, var(--sofom-theme-surface-alt) 100%) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] {
    --sofom-primary-soft: rgba(var(--sofom-primary-rgb), 0.11);
    --sofom-primary-soft-strong: rgba(var(--sofom-primary-rgb), 0.2);
    --sofom-secondary-soft: rgba(var(--sofom-secondary-rgb), 0.13);
    --sofom-theme-page-bg: #f3f8fc;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.97);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #f8fbff 0%, #edf5fb 100%);
    --sofom-theme-muted-bg: #eaf2fa;
    --sofom-theme-line: rgba(var(--sofom-primary-rgb), 0.16);
    --sofom-theme-line-strong: rgba(var(--sofom-primary-rgb), 0.28);
    --sofom-primary-gradient: linear-gradient(135deg, #1e4e8c 0%, #0f6c81 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #173a6a 0%, #0b5263 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #0f6c81 0%, #1e4e8c 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #0b5263 0%, #173a6a 100%);
    --sofom-action-shadow: 0 10px 20px rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-elevated-shadow: 0 18px 38px rgba(var(--sofom-primary-rgb), 0.1);
}

body[data-sofom-theme="GRAFITO_REGULATORIO"],
body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-primary-soft: rgba(var(--sofom-primary-rgb), 0.08);
    --sofom-primary-soft-strong: rgba(var(--sofom-primary-rgb), 0.16);
    --sofom-secondary-soft: rgba(var(--sofom-secondary-rgb), 0.12);
    --sofom-theme-page-bg: #f3f5f6;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.975);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #fbfcfd 0%, #e9eef1 100%);
    --sofom-theme-muted-bg: #e8ecef;
    --sofom-theme-line: rgba(var(--sofom-primary-rgb), 0.14);
    --sofom-theme-line-strong: rgba(var(--sofom-primary-rgb), 0.26);
    --sofom-primary-gradient: linear-gradient(135deg, #2f3b4d 0%, #17202b 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #111823 0%, #243040 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #a77b34 0%, #75551f 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #75551f 0%, #533913 100%);
    --sofom-action-shadow: 0 10px 22px rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-elevated-shadow: 0 18px 38px rgba(var(--sofom-primary-rgb), 0.1);
}

body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-primary-soft: rgba(var(--sofom-primary-rgb), 0.09);
    --sofom-primary-soft-strong: rgba(var(--sofom-primary-rgb), 0.17);
    --sofom-secondary-soft: rgba(var(--sofom-secondary-rgb), 0.12);
    --sofom-theme-page-bg: #fcf5f7;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.975);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #fff9fb 0%, #f2e4e9 100%);
    --sofom-theme-muted-bg: #f0e2e7;
    --sofom-theme-line: rgba(var(--sofom-primary-rgb), 0.15);
    --sofom-theme-line-strong: rgba(var(--sofom-primary-rgb), 0.28);
    --sofom-primary-gradient: linear-gradient(135deg, #7a2b45 0%, #4e1829 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #4e1829 0%, #35101d 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #b06a3c 0%, #824722 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #824722 0%, #5e2e14 100%);
    --sofom-action-shadow: 0 10px 22px rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-elevated-shadow: 0 18px 38px rgba(var(--sofom-primary-rgb), 0.1);
}

body[data-sofom-theme="CONFIANZA_AZUL"]:not(.dark-only).box-layout,
body[data-sofom-theme="GRAFITO_REGULATORIO"]:not(.dark-only).box-layout,
body[data-sofom-theme="VINO_PATRIMONIAL"]:not(.dark-only).box-layout {
    background:
        linear-gradient(180deg, var(--sofom-theme-page-bg) 0%, #fff 42%, var(--sofom-theme-surface-alt) 100%) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn {
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary,
body[data-sofom-theme="CONFIANZA_AZUL"] .bg-primary,
body[data-sofom-theme="CONFIANZA_AZUL"] .badge-primary,
body[data-sofom-theme="CONFIANZA_AZUL"] .label-primary,
body[data-sofom-theme="CONFIANZA_AZUL"] .progress-bar,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .bg-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .bg-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .badge-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .badge-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .label-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .label-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .progress-bar,
body[data-sofom-theme="VINO_PATRIMONIAL"] .progress-bar {
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary {
    box-shadow: var(--sofom-action-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary:active {
    background-image: var(--sofom-primary-gradient-hover) !important;
    transform: translateY(-1px);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary,
body[data-sofom-theme="CONFIANZA_AZUL"] .bg-secondary,
body[data-sofom-theme="CONFIANZA_AZUL"] .badge-secondary,
body[data-sofom-theme="CONFIANZA_AZUL"] .label-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .bg-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .bg-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .badge-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .badge-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .label-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .label-secondary {
    background-image: var(--sofom-secondary-gradient) !important;
    border-color: transparent !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary:active {
    background-image: var(--sofom-secondary-gradient-hover) !important;
    transform: translateY(-1px);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--sofom-theme-muted-bg) 100%) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary {
    background-color: rgba(255, 255, 255, 0.86) !important;
    border-color: rgba(var(--sofom-secondary-rgb), 0.38) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-main-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-main-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-main-header {
    border-bottom-color: var(--sofom-theme-line);
    background: var(--sofom-theme-card-header-bg) !important;
    box-shadow: var(--sofom-elevated-shadow);
}

.sofom-header-workspace {
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    padding-left: 0.75rem;
}

.sofom-header-context {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 250px;
    max-width: 430px;
    min-height: 54px;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(var(--sofom-primary-rgb), 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: #0f172a;
    text-decoration: none;
}

.sofom-header-context:hover,
.sofom-header-context:focus {
    color: #0f172a;
    text-decoration: none;
    border-color: rgba(var(--sofom-primary-rgb), 0.3);
    background: #fff;
}

.sofom-header-context-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--sofom-primary-soft);
    color: var(--sofom-primary);
    font-size: 0.95rem;
}

.sofom-header-context-copy {
    display: block;
    min-width: 0;
}

.sofom-header-context-copy strong,
.sofom-header-section,
.sofom-header-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sofom-header-context-copy strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

.sofom-header-section {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.sofom-header-description {
    max-width: 100%;
    color: #6b7a8c;
    font-size: 0.66rem;
    font-weight: 650;
    line-height: 1.25;
}

.sofom-module-search {
    position: relative;
    flex: 1 1 280px;
    max-width: 420px;
}

.sofom-module-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    z-index: 2;
    color: #64748b;
    transform: translateY(-50%);
}

.sofom-module-search-input {
    width: 100%;
    height: 42px;
    padding: 0.45rem 0.8rem 0.45rem 2.2rem;
    border: 1px solid rgba(var(--sofom-primary-rgb), 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: #0f172a;
    font-size: 0.84rem;
    outline: none;
}

.sofom-module-search-input:focus {
    border-color: rgba(var(--sofom-primary-rgb), 0.42);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(var(--sofom-primary-rgb), 0.09);
}

.sofom-module-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 1050;
    max-height: 340px;
    overflow-y: auto;
    border: 1px solid #dbe4ea;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.sofom-module-search-result {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    min-height: 66px;
    padding: 0.65rem 0.8rem;
    border: 0;
    border-bottom: 1px solid #edf2f7;
    background: #fff;
    color: #0f172a;
    text-align: left;
}

.sofom-module-search-result:last-child {
    border-bottom: 0;
}

.sofom-module-search-result:hover,
.sofom-module-search-result.is-active {
    background: #f8fafc;
}

.sofom-module-search-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--sofom-primary-soft);
    color: var(--sofom-primary);
}

.sofom-module-search-result-copy {
    min-width: 0;
}

.sofom-module-search-result-copy strong,
.sofom-module-search-result-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sofom-module-search-result-copy strong {
    font-size: 0.82rem;
    font-weight: 800;
}

.sofom-module-search-result-copy small {
    color: #64748b;
    font-size: 0.72rem;
}

.sofom-module-search-result-description {
    color: #4b6380 !important;
    font-weight: 650;
}

.sofom-module-search-empty {
    padding: 0.8rem;
    color: #64748b;
    font-size: 0.82rem;
    text-align: center;
}

body.dark-only .sofom-header-context,
body.dark-only .sofom-module-search-input,
body.dark-only .sofom-module-search-results,
body.dark-only .sofom-module-search-result {
    background: #1d1e26;
    color: #f8fafc;
}

body.dark-only .sofom-header-context-copy strong,
body.dark-only .sofom-module-search-result-copy strong {
    color: #f8fafc;
}

body.dark-only .sofom-header-description,
body.dark-only .sofom-module-search-result-copy small {
    color: #b6c2cf !important;
}

body.dark-only .sofom-module-search-result:hover,
body.dark-only .sofom-module-search-result.is-active {
    background: #272936;
}

@media (max-width: 1399.98px) {
    .sofom-header-context {
        max-width: 260px;
        min-width: 190px;
        min-height: 46px;
    }

    .sofom-header-description {
        display: none;
    }

    .sofom-module-search {
        max-width: 330px;
    }
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav,
body[data-sofom-theme="CONFIANZA_AZUL"] .page-wrapper .page-body-wrapper header.main-nav,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-wrapper .page-body-wrapper header.main-nav,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-wrapper .page-body-wrapper header.main-nav {
    border-right-color: var(--sofom-theme-line) !important;
    background:
        linear-gradient(180deg, #fff 0%, var(--sofom-theme-surface) 58%, var(--sofom-theme-muted-bg) 100%) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .card,
body[data-sofom-theme="CONFIANZA_AZUL"] .table-responsive,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .modal-content,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table-responsive,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table-responsive,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .modal-content,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .modal-content {
    border-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: var(--sofom-elevated-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .card .card-header,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .modal-header,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .modal-footer,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card .card-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card .card-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .modal-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .modal-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .modal-footer,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .modal-footer {
    border-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-card-header-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-control:not(.form-control-color),
body[data-sofom-theme="CONFIANZA_AZUL"] .form-select,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--multiple,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control:not(.form-control-color),
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control:not(.form-control-color),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-select,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-select,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--multiple,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--multiple {
    border-color: var(--sofom-theme-line) !important;
    background-color: rgba(255, 255, 255, 0.92) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .form-select:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-select:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-select:focus {
    background-color: #fff !important;
    border-color: var(--sofom-theme-line-strong) !important;
    box-shadow: 0 0 0 0.18rem rgba(var(--sofom-primary-rgb), 0.14) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dropdown-item:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dropdown-item:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-results__option:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dropdown-item:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dropdown-item:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dropdown-item:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dropdown-item:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-results__option:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-results__option:hover {
    background-color: var(--sofom-theme-muted-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table thead th,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead th,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table thead th,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table thead th,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead th,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead th {
    border-bottom-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-card-header-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTable tbody tr:hover td,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTable tbody tr:hover td,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTable tbody tr:hover td {
    background-color: var(--sofom-theme-muted-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-item.active .page-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-item.active .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-item.active .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .cliente-section-card,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .prospeccion-section-card,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .wizard-step-helper,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .cliente-section-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .cliente-section-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .prospeccion-section-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .prospeccion-section-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .wizard-step-helper,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .wizard-step-helper {
    border-color: var(--sofom-theme-line) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--sofom-theme-surface) 100%) !important;
}

a,
.font-primary,
.txt-primary,
.txt-success,
.text-primary {
    color: var(--sofom-primary) !important;
}

.font-secondary,
.txt-secondary,
.text-secondary {
    color: var(--sofom-secondary) !important;
}

.bg-primary,
.badge-primary,
.label-primary,
.progress-bar,
.dropdown-item.active,
.dropdown-item:active,
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.bg-secondary,
.badge-secondary,
.label-secondary {
    background-color: var(--sofom-secondary) !important;
    color: var(--sofom-secondary-contrast) !important;
}

.border-primary {
    border-color: var(--sofom-primary) !important;
}

.border-secondary {
    border-color: var(--sofom-secondary) !important;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.btn-primary a,
.btn-secondary a,
.btn-outline-primary:hover a,
.btn-outline-secondary:hover a {
    color: inherit !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    background-color: var(--sofom-primary-hover) !important;
    border-color: var(--sofom-primary-hover) !important;
    color: var(--sofom-primary-contrast) !important;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary.active:focus,
.show > .btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(var(--sofom-primary-rgb), 0.28) !important;
}

.btn-outline-primary {
    border-color: var(--sofom-primary) !important;
    color: var(--sofom-primary) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
    background-color: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.btn-primary-light {
    background-color: var(--sofom-primary-soft) !important;
    border-color: rgba(var(--sofom-primary-rgb), 0.18) !important;
    color: var(--sofom-primary) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-primary-light a,
.btn-primary-light svg {
    color: inherit !important;
    stroke: currentColor !important;
}

.btn-primary-light:hover,
.btn-primary-light:focus,
.btn-primary-light:active,
.btn-primary-light.active {
    background-color: var(--sofom-primary-hover) !important;
    border-color: var(--sofom-primary-hover) !important;
    color: var(--sofom-primary-contrast) !important;
    box-shadow: 0 8px 18px rgba(var(--sofom-primary-rgb), 0.22);
}

.btn-secondary,
.btn-secondary.disabled,
.btn-secondary:disabled {
    background-color: var(--sofom-secondary) !important;
    border-color: var(--sofom-secondary) !important;
    color: var(--sofom-secondary-contrast) !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.show > .btn-secondary.dropdown-toggle {
    background-color: var(--sofom-secondary-hover) !important;
    border-color: var(--sofom-secondary-hover) !important;
    color: #fff !important;
}

.btn-outline-secondary {
    border-color: var(--sofom-secondary) !important;
    color: var(--sofom-secondary) !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-outline-secondary:active,
.btn-outline-secondary.active {
    background-color: var(--sofom-secondary-hover) !important;
    border-color: var(--sofom-secondary-hover) !important;
    color: #fff !important;
}

.btn-air-primary,
.btn-air-success {
    box-shadow: 0 5px 10px 2px rgba(var(--sofom-primary-rgb), 0.18) !important;
}

.btn-air-secondary {
    box-shadow: 0 5px 10px 2px rgba(var(--sofom-secondary-rgb), 0.18) !important;
}

.form-check-input:checked,
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
}

.form-control:focus,
.form-select:focus,
.select2-container--default.select2-container--focus .select2-selection--multiple,
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: rgba(var(--sofom-primary-rgb), 0.48) !important;
    box-shadow: 0 0 0 0.15rem rgba(var(--sofom-primary-rgb), 0.14) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.page-link {
    color: var(--sofom-primary) !important;
}

.page-item.active .page-link,
.pagination-primary .page-item.active .page-link,
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.tap-top {
    background-color: var(--sofom-primary) !important;
}

.loader-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 100%) !important;
    backdrop-filter: blur(2px);
}

.loader-wrapper .theme-loader {
    width: 96px !important;
    height: 32px !important;
    position: relative !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-wrapper .theme-loader .loader-p {
    width: 84px !important;
    height: 4px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 999px !important;
    background-color: rgba(var(--sofom-primary-rgb), 0.14) !important;
    box-shadow: inset 0 0 0 1px rgba(var(--sofom-primary-rgb), 0.08);
}

.loader-wrapper .theme-loader .loader-p::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -45%;
    width: 45%;
    height: 100%;
    border: 0 !important;
    border-radius: inherit;
    background:
        linear-gradient(90deg, rgba(var(--sofom-primary-rgb), 0), var(--sofom-primary), var(--sofom-secondary));
    opacity: 1 !important;
    animation: sofom-loader-bar 0.95s ease-in-out infinite !important;
}

.loader-wrapper .theme-loader .loader-p::after {
    display: none !important;
}

@keyframes sofom-loader-bar {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(322%);
    }
}

.page-main-header .toggle-sidebar,
.page-main-header .toggle-sidebar svg,
.page-main-header .mobile-toggle svg,
.page-main-header .mode i {
    color: var(--sofom-primary) !important;
    stroke: var(--sofom-primary) !important;
}

.main-navbar .nav-menu > li > .nav-link.menu-title {
    color: var(--sofom-primary) !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li:first-child,
.page-wrapper.horizontal-wrapper .page-body-wrapper.horizontal-menu header.main-nav .main-navbar .nav-menu > li:first-child,
.page-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li:first-child {
    display: block !important;
}

.main-navbar .nav-menu > li > .nav-link.menu-title > i,
.main-navbar .nav-menu .dropdown ul.nav-submenu li a > i,
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li > .nav-link.menu-title > i[class^="icon-"],
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu .dropdown ul.nav-submenu li a > i[class^="icon-"] {
    display: inline-flex;
    justify-content: center;
    width: 0.75rem;
    min-width: 0.75rem;
    font-size: 0.72rem !important;
    line-height: 1;
    opacity: 0.82;
}

.main-navbar .nav-menu > li > .nav-link.menu-title > i {
    margin-right: 0.25rem !important;
}

.main-navbar .nav-menu .dropdown ul.nav-submenu li a > i {
    margin-right: 0.3rem !important;
}

.nav-link-down > i,
.page-wrapper .page-body-wrapper header.main-nav .navbar-nav-down .nav-link-down > i {
    margin-right: 0.25rem !important;
    font-size: 0.86rem !important;
    line-height: 1;
    opacity: 0.86;
}

.page-main-header {
    border-bottom: 1px solid var(--sofom-theme-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%) !important;
    box-shadow: 0 14px 32px var(--sofom-theme-shadow);
}

.page-wrapper .page-body-wrapper .page-body,
.box-layout .page-wrapper.compact-wrapper .page-body-wrapper .page-body,
.box-layout .page-wrapper.modern-sidebar.compact-wrapper .page-body-wrapper .page-body {
    margin-top: 96px;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav,
.page-wrapper .page-body-wrapper header.main-nav {
    border-right-color: var(--sofom-theme-border) !important;
    background:
        linear-gradient(180deg, #fff 0%, var(--sofom-theme-surface) 72%, var(--sofom-theme-surface-alt) 100%) !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.actives,
.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover,
.main-navbar .nav-menu > li.open > .nav-link.menu-title,
.main-navbar .nav-menu > li > .nav-link.menu-title.active,
.main-navbar .nav-menu > li:has(> ul.nav-submenu[style*="display: block"]) > .nav-link.menu-title {
    background-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu .dropdown ul.nav-submenu li a.active,
.main-navbar .nav-menu > li .nav-submenu > li.active > a,
.main-navbar .nav-menu > li .nav-submenu > li > a.active,
.main-navbar .nav-menu > li .nav-submenu > li.selected > a,
.main-navbar .nav-menu > li .nav-submenu > li > a:hover {
    color: var(--sofom-primary) !important;
}

.main-navbar .nav-menu > li .nav-submenu > li.active > a::before,
.main-navbar .nav-menu > li .nav-submenu > li > a.active::before,
.main-navbar .nav-menu > li .nav-submenu > li.selected > a::before {
    background-color: var(--sofom-primary) !important;
}

.nav-item-down {
    background-color: var(--sofom-primary-soft) !important;
}

.nav-link-down,
.nav-item-down a {
    color: var(--sofom-primary) !important;
}

.nav-item-down:hover,
.nav-item-down:focus,
.nav-item-down:active,
.nav-item-down.selected {
    background-color: var(--sofom-primary-hover) !important;
}

.nav-item-down:hover a,
.nav-item-down.selected a,
.nav-item-down:hover .nav-link-down,
.nav-item-down.selected .nav-link-down {
    color: var(--sofom-primary-contrast) !important;
}

.no-datatables tr.selected td,
.no-datatables .form-bg-primary {
    background: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

.no-datatables .form-bg-secondary {
    background: var(--sofom-secondary) !important;
    border-color: var(--sofom-secondary) !important;
    color: var(--sofom-secondary-contrast) !important;
}

.card {
    border-color: var(--sofom-theme-border) !important;
    box-shadow: 0 16px 34px rgba(var(--sofom-primary-rgb), 0.06);
}

.card .card-header {
    border-bottom-color: var(--sofom-theme-border) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, var(--sofom-theme-surface) 100%);
}

.card .card-header .card-header-right .card-option li:first-child i,
.card .card-header h5,
.page-header h3 {
    color: var(--sofom-theme-ink);
}

.table-hover > tbody > tr:hover,
.dataTable tbody tr:hover {
    background-color: rgba(var(--sofom-primary-rgb), 0.05) !important;
}

.dropdown-menu,
.select2-dropdown {
    border-color: var(--sofom-theme-border) !important;
    box-shadow: 0 16px 34px rgba(var(--sofom-primary-rgb), 0.08);
}

.login-card {
    background:
        linear-gradient(135deg, rgba(var(--sofom-primary-rgb), 0.13), transparent 38%),
        linear-gradient(315deg, rgba(var(--sofom-secondary-rgb), 0.14), transparent 42%),
        linear-gradient(135deg, var(--sofom-theme-surface), #fff 50%, var(--sofom-theme-surface-alt));
}

.login-card .login-form {
    border-top: 4px solid var(--sofom-primary);
    box-shadow: 0 18px 46px rgba(var(--sofom-primary-rgb), 0.16);
}

.login-form h4,
.login-form label {
    color: var(--sofom-theme-ink) !important;
}

.login-form .input-group-text {
    background-color: var(--sofom-primary-soft);
    color: var(--sofom-primary);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light:active,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:active {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient-hover) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:active {
    background-color: transparent !important;
    background-image: var(--sofom-secondary-gradient-hover) !important;
    border-color: transparent !important;
    color: var(--sofom-secondary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.actives,
body[data-sofom-theme="CONFIANZA_AZUL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .main-navbar .nav-menu > li.open > .nav-link.menu-title,
body[data-sofom-theme="CONFIANZA_AZUL"] .main-navbar .nav-menu > li > .nav-link.menu-title.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.actives,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link.actives,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav .main-navbar .nav-menu > li .nav-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .main-navbar .nav-menu > li.open > .nav-link.menu-title,
body[data-sofom-theme="VINO_PATRIMONIAL"] .main-navbar .nav-menu > li.open > .nav-link.menu-title,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .main-navbar .nav-menu > li > .nav-link.menu-title.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .main-navbar .nav-menu > li > .nav-link.menu-title.active {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    box-shadow: var(--sofom-action-shadow);
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dropdown-item.active,
body[data-sofom-theme="CONFIANZA_AZUL"] .dropdown-item:active,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-results__option--highlighted[aria-selected],
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-results__option[aria-selected="true"],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dropdown-item.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dropdown-item.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dropdown-item:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dropdown-item:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-results__option--highlighted[aria-selected],
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-results__option--highlighted[aria-selected],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-results__option[aria-selected="true"],
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] {
    --sofom-theme-page-bg: #eef5fb;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.98);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #f8fbff 0%, #e8f1fa 100%);
    --sofom-theme-muted-bg: #e7f0f8;
    --sofom-theme-hover-bg: #dbeaf5;
    --sofom-theme-chip-bg: #eef7fb;
    --sofom-theme-input-bg: #fbfdff;
    --sofom-theme-page-gradient: radial-gradient(circle at top left, rgba(30, 78, 140, 0.1), transparent 34%), linear-gradient(180deg, #eef5fb 0%, #ffffff 46%, #edf6fa 100%);
    --sofom-theme-control-gradient: linear-gradient(180deg, #ffffff 0%, #edf5fb 100%);
    --sofom-theme-soft-gradient: linear-gradient(180deg, #ffffff 0%, #e7f0f8 100%);
    --sofom-primary-gradient: linear-gradient(135deg, #1e4e8c 0%, #13627f 52%, #0f6c81 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #173a6a 0%, #104f68 54%, #0b5263 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #0f6c81 0%, #1e4e8c 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #0b5263 0%, #173a6a 100%);
    --sofom-theme-ring: rgba(30, 78, 140, 0.18);
    --sofom-theme-field-shadow: 0 10px 24px rgba(30, 78, 140, 0.07);
}

body[data-sofom-theme="GRAFITO_REGULATORIO"],
body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-theme-page-bg: #f3f5f6;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.975);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #fbfcfd 0%, #e9eef1 100%);
    --sofom-theme-muted-bg: #e8ecef;
    --sofom-theme-hover-bg: #dfe6ea;
    --sofom-theme-chip-bg: #f0f3f4;
    --sofom-theme-input-bg: #fbfcfd;
    --sofom-theme-page-gradient: radial-gradient(circle at top left, rgba(154, 114, 50, 0.08), transparent 34%), linear-gradient(180deg, #f3f5f6 0%, #ffffff 46%, #e8edf1 100%);
    --sofom-theme-control-gradient: linear-gradient(180deg, #ffffff 0%, #edf1f3 100%);
    --sofom-theme-soft-gradient: linear-gradient(180deg, #ffffff 0%, #e8edf1 100%);
    --sofom-primary-gradient: linear-gradient(135deg, #2f3b4d 0%, #222c3a 52%, #151f2b 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #111823 0%, #1d2734 58%, #2b3647 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #a77b34 0%, #8c6728 54%, #6d4c1b 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #75551f 0%, #5f4319 54%, #483112 100%);
    --sofom-theme-ring: rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-theme-field-shadow: 0 10px 24px rgba(var(--sofom-primary-rgb), 0.07);
}

body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-theme-page-bg: #fcf5f7;
    --sofom-theme-card-bg: rgba(255, 255, 255, 0.975);
    --sofom-theme-card-header-bg: linear-gradient(180deg, #fff9fb 0%, #f2e4e9 100%);
    --sofom-theme-muted-bg: #f0e2e7;
    --sofom-theme-hover-bg: #ead6de;
    --sofom-theme-chip-bg: #f8edf1;
    --sofom-theme-input-bg: #fffbfc;
    --sofom-theme-page-gradient: radial-gradient(circle at top left, rgba(176, 106, 60, 0.08), transparent 34%), linear-gradient(180deg, #fcf5f7 0%, #ffffff 46%, #f1e1e7 100%);
    --sofom-theme-control-gradient: linear-gradient(180deg, #ffffff 0%, #f6e9ee 100%);
    --sofom-theme-soft-gradient: linear-gradient(180deg, #ffffff 0%, #f1e1e7 100%);
    --sofom-primary-gradient: linear-gradient(135deg, #7a2b45 0%, #612039 52%, #4e1829 100%);
    --sofom-primary-gradient-hover: linear-gradient(135deg, #4e1829 0%, #401421 58%, #6a263d 100%);
    --sofom-secondary-gradient: linear-gradient(135deg, #b06a3c 0%, #96542b 54%, #74401d 100%);
    --sofom-secondary-gradient-hover: linear-gradient(135deg, #824722 0%, #683616 54%, #4d270f 100%);
    --sofom-theme-ring: rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-theme-field-shadow: 0 10px 24px rgba(var(--sofom-primary-rgb), 0.07);
}

body[data-sofom-theme="CONFIANZA_AZUL"]:not(.dark-only).box-layout,
body[data-sofom-theme="GRAFITO_REGULATORIO"]:not(.dark-only).box-layout,
body[data-sofom-theme="VINO_PATRIMONIAL"]:not(.dark-only).box-layout {
    background: var(--sofom-theme-page-gradient) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn {
    border-radius: 6px;
    font-weight: 700;
    letter-spacing: 0;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn:not(.btn-sm):not(.btn-xs),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn:not(.btn-sm):not(.btn-xs),
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn:not(.btn-sm):not(.btn-xs) {
    min-height: 38px;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn:hover:not(:disabled):not(.disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .btn:focus:not(:disabled):not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn:hover:not(:disabled):not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn:hover:not(:disabled):not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn:focus:not(:disabled):not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn:focus:not(:disabled):not(.disabled) {
    box-shadow: 0 12px 22px rgba(var(--sofom-primary-rgb), 0.14);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary.disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary.disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary.disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary:disabled {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary.disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-secondary:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary.disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary.disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-secondary:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-secondary:disabled {
    background-color: transparent !important;
    background-image: var(--sofom-secondary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-secondary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-light,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-default,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-default,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-default,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-light {
    background: var(--sofom-theme-control-gradient) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-light:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-default:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-light:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-light:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-light:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-default:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-default:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-light:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-light:hover {
    background: var(--sofom-theme-soft-gradient) !important;
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-link {
    color: var(--sofom-primary) !important;
    font-weight: 700;
    text-decoration-color: rgba(var(--sofom-primary-rgb), 0.28);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-check:checked + .btn,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-check:checked + .btn,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-check:checked + .btn {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn:disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn.disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn.disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn.disabled {
    box-shadow: none !important;
    opacity: 0.58;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .badge-light,
body[data-sofom-theme="CONFIANZA_AZUL"] .label-light,
body[data-sofom-theme="CONFIANZA_AZUL"] .badge.badge-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .badge-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .badge-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .label-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .label-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .badge.badge-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .badge.badge-light {
    background: var(--sofom-theme-chip-bg) !important;
    color: var(--sofom-theme-ink) !important;
    border: 1px solid var(--sofom-theme-line);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-primary {
    background: var(--sofom-theme-chip-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-secondary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-secondary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-secondary,
body[data-sofom-theme="CONFIANZA_AZUL"] .alert-light,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-light,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-light {
    background: var(--sofom-theme-soft-gradient) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success {
    position: relative;
    overflow: hidden;
    background: var(--sofom-alert-success-bg) !important;
    border-color: var(--sofom-alert-success-border) !important;
    border-left: 4px solid var(--sofom-alert-success-accent) !important;
    color: var(--sofom-alert-success-ink) !important;
    box-shadow: 0 12px 26px rgba(var(--sofom-primary-rgb), 0.07);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
    pointer-events: none;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success > * {
    position: relative;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success strong,
body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success .alert-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success i,
body[data-sofom-theme="CONFIANZA_AZUL"] .alert-success svg,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success .alert-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success .alert-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success i,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success i,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .alert-success svg,
body[data-sofom-theme="VINO_PATRIMONIAL"] .alert-success svg {
    color: var(--sofom-alert-success-ink) !important;
    stroke: currentColor !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .card,
body[data-sofom-theme="CONFIANZA_AZUL"] .dropdown-menu,
body[data-sofom-theme="CONFIANZA_AZUL"] .modal-content,
body[data-sofom-theme="CONFIANZA_AZUL"] .accordion-item,
body[data-sofom-theme="CONFIANZA_AZUL"] .list-group-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dropdown-menu,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dropdown-menu,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .modal-content,
body[data-sofom-theme="VINO_PATRIMONIAL"] .modal-content,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .accordion-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] .accordion-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .list-group-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] .list-group-item {
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .card,
body[data-sofom-theme="CONFIANZA_AZUL"] .modal-content,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .modal-content,
body[data-sofom-theme="VINO_PATRIMONIAL"] .modal-content {
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: var(--sofom-elevated-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .card .card-header,
body[data-sofom-theme="CONFIANZA_AZUL"] .modal-header,
body[data-sofom-theme="CONFIANZA_AZUL"] .modal-footer,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card .card-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card .card-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .modal-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .modal-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .modal-footer,
body[data-sofom-theme="VINO_PATRIMONIAL"] .modal-footer {
    background: var(--sofom-theme-card-header-bg) !important;
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .modal-title,
body[data-sofom-theme="CONFIANZA_AZUL"] .card .card-header h5,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .modal-title,
body[data-sofom-theme="VINO_PATRIMONIAL"] .modal-title,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .card .card-header h5,
body[data-sofom-theme="VINO_PATRIMONIAL"] .card .card-header h5 {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-close,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-close,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-close {
    border-radius: 6px;
    opacity: 0.72;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-close:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-close:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-close:hover {
    background-color: var(--sofom-theme-hover-bg);
    opacity: 1;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-control:not(.form-control-color),
body[data-sofom-theme="CONFIANZA_AZUL"] .form-select,
body[data-sofom-theme="CONFIANZA_AZUL"] .input-group-text,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--multiple,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control:not(.form-control-color),
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control:not(.form-control-color),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-select,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-select,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .input-group-text,
body[data-sofom-theme="VINO_PATRIMONIAL"] .input-group-text,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--single,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--multiple,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--multiple {
    background-color: var(--sofom-theme-input-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .input-group-text,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .input-group-text,
body[data-sofom-theme="VINO_PATRIMONIAL"] .input-group-text {
    background: var(--sofom-theme-control-gradient) !important;
    font-weight: 700;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-control[readonly],
body[data-sofom-theme="CONFIANZA_AZUL"] .form-control:disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .form-select:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control[readonly],
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control[readonly],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-select:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-select:disabled {
    background-color: var(--sofom-theme-muted-bg) !important;
    color: rgba(var(--sofom-primary-rgb), 0.72) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .form-select:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default.select2-container--focus .select2-selection--multiple,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-control:not(.form-control-color):focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-select:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-select:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default.select2-container--focus .select2-selection--multiple,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default.select2-container--focus .select2-selection--multiple {
    background-color: #fff !important;
    border-color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 0.18rem var(--sofom-theme-ring) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-check-input,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-check-input,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-check-input {
    border-color: var(--sofom-theme-line-strong);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-check-input:checked,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-check-input:checked,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-check-input:checked {
    background-color: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .form-switch .form-check-input:checked,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .form-switch .form-check-input:checked,
body[data-sofom-theme="VINO_PATRIMONIAL"] .form-switch .form-check-input:checked {
    background-image: linear-gradient(135deg, var(--sofom-primary), var(--sofom-secondary)) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table {
    color: var(--sofom-theme-ink);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table > :not(caption) > * > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table > :not(caption) > * > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table > :not(caption) > * > * {
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table-striped > tbody > tr:nth-of-type(odd) > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table-striped > tbody > tr:nth-of-type(odd) > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: rgba(var(--sofom-primary-rgb), 0.025) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody tr:hover > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table-hover > tbody > tr:hover > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody tr:hover > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody tr:hover > * {
    background-color: var(--sofom-theme-hover-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter input,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_length select,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter input,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter input,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_length select,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_length select {
    border-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-input-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-link {
    background: #fff !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-link:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: var(--sofom-theme-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-item.active .page-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-item.active .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-item.active .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .nav-tabs,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-tabs,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-tabs {
    border-bottom-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .nav-tabs .nav-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-tabs .nav-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-tabs .nav-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .nav-pills .nav-link:not(.active),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-pills .nav-link:not(.active),
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-pills .nav-link:not(.active) {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .nav-tabs .nav-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-tabs .nav-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-tabs .nav-link:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .nav-pills .nav-link:not(.active):hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-pills .nav-link:not(.active):hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-pills .nav-link:not(.active):hover {
    background: var(--sofom-theme-hover-bg) !important;
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .nav-tabs .nav-link.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-tabs .nav-link.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-tabs .nav-link.active,
body[data-sofom-theme="CONFIANZA_AZUL"] .nav-pills .nav-link.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .nav-pills .nav-link.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .nav-pills .nav-link.active {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .breadcrumb,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .breadcrumb,
body[data-sofom-theme="VINO_PATRIMONIAL"] .breadcrumb {
    background: transparent !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .breadcrumb-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .breadcrumb-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] .breadcrumb-item {
    color: rgba(var(--sofom-primary-rgb), 0.74) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .breadcrumb-item.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .breadcrumb-item.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .breadcrumb-item.active {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .accordion-button,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .accordion-button,
body[data-sofom-theme="VINO_PATRIMONIAL"] .accordion-button {
    background: var(--sofom-theme-card-header-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .accordion-button:not(.collapsed),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .accordion-button:not(.collapsed),
body[data-sofom-theme="VINO_PATRIMONIAL"] .accordion-button:not(.collapsed) {
    background: var(--sofom-theme-hover-bg) !important;
    box-shadow: inset 0 -1px 0 var(--sofom-theme-line);
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .toast,
body[data-sofom-theme="CONFIANZA_AZUL"] .popover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .toast,
body[data-sofom-theme="VINO_PATRIMONIAL"] .toast,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .popover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .popover {
    border-color: var(--sofom-theme-line) !important;
    box-shadow: var(--sofom-elevated-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .tooltip-inner,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .tooltip-inner,
body[data-sofom-theme="VINO_PATRIMONIAL"] .tooltip-inner {
    background: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .swal2-popup,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .swal2-popup,
body[data-sofom-theme="VINO_PATRIMONIAL"] .swal2-popup {
    border: 1px solid var(--sofom-theme-line);
    box-shadow: var(--sofom-elevated-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .swal2-confirm,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .swal2-confirm,
body[data-sofom-theme="VINO_PATRIMONIAL"] .swal2-confirm {
    background-image: var(--sofom-primary-gradient) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .swal2-cancel,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .swal2-cancel,
body[data-sofom-theme="VINO_PATRIMONIAL"] .swal2-cancel {
    background-image: var(--sofom-secondary-gradient) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-shell {
    border-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: 0 18px 46px rgba(var(--sofom-primary-rgb), 0.1) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-header,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-panel-header,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-panel-header,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-panel-header {
    background: var(--sofom-theme-card-header-bg) !important;
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-metric,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-nav,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-panel,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-metric,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-metric,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-nav,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-nav,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-panel,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-panel,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field {
    border-color: var(--sofom-theme-line) !important;
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: var(--sofom-theme-field-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-reference,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-reference,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-reference {
    background: var(--sofom-theme-soft-gradient) !important;
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-reference span:not(.compliance-label),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-reference span:not(.compliance-label),
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-reference span:not(.compliance-label) {
    background: #fff !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-nav .nav-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-nav .nav-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-nav .nav-link {
    background: var(--sofom-theme-control-gradient) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-nav .nav-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-nav .nav-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-nav .nav-link:hover {
    background: var(--sofom-theme-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-nav .nav-link.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-nav .nav-link.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-nav .nav-link.active {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
    box-shadow: var(--sofom-action-shadow);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-group,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-group,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-group {
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-progress-pill,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-progress-pill,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-progress-pill {
    background: var(--sofom-theme-chip-bg) !important;
    color: var(--sofom-primary) !important;
    border: 1px solid var(--sofom-theme-line);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-status-badge.is-ready,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-status-badge.is-ready,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-status-badge.is-ready,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field-state.is-ready,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field-state.is-ready,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field-state.is-ready {
    background: rgba(var(--sofom-primary-rgb), 0.12) !important;
    color: var(--sofom-primary) !important;
    border: 1px solid rgba(var(--sofom-primary-rgb), 0.2);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-status-badge.is-pending,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-status-badge.is-pending,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-status-badge.is-pending {
    background: var(--sofom-state-warning-bg) !important;
    color: var(--sofom-state-warning-ink) !important;
    border: 1px solid var(--sofom-state-warning-border);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field.is-ready,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field.is-ready,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field.is-ready {
    border-color: rgba(var(--sofom-primary-rgb), 0.24) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field.is-missing,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field.is-missing,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field.is-missing {
    background: var(--sofom-state-warning-bg) !important;
    border-color: var(--sofom-state-warning-border) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field.is-invalid-field,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field.is-invalid-field,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field.is-invalid-field {
    background: var(--sofom-state-danger-bg) !important;
    border-color: var(--sofom-state-danger-border) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-option,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-option,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-option {
    box-shadow: 0 10px 22px rgba(var(--theme-primary-rgb, 36, 105, 92), 0.06);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-option:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-option:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-option:hover {
    box-shadow: 0 16px 30px rgba(var(--theme-primary-rgb, 36, 105, 92), 0.12);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-option.is-active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-option.is-active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-option.is-active {
    border-color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 3px rgba(var(--sofom-primary-rgb), 0.12), 0 18px 34px rgba(var(--sofom-primary-rgb), 0.12) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .wizard-mobile-indicator,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .wizard-mobile-indicator,
body[data-sofom-theme="VINO_PATRIMONIAL"] .wizard-mobile-indicator {
    background-image: var(--sofom-primary-gradient) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .wizard-modal-body .f1-progress-line,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .wizard-modal-body .f1-step.active .f1-step-icon,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .wizard-modal-body .f1-progress-line,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .wizard-modal-body .f1-progress-line,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .wizard-modal-body .f1-step.active .f1-step-icon,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .wizard-modal-body .f1-step.active .f1-step-icon {
    background-image: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
}

/* DataTables refinements for the curated Azul and Grafito themes. */
body[data-sofom-theme="CONFIANZA_AZUL"] {
    --sofom-dt-control-bg: linear-gradient(180deg, #ffffff 0%, #eef6fc 100%);
    --sofom-dt-control-hover-bg: linear-gradient(180deg, #e5f0f8 0%, #d8e9f4 100%);
    --sofom-dt-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #edf5fb 100%);
    --sofom-dt-selected-bg: rgba(30, 78, 140, 0.13);
    --sofom-dt-row-hover-bg: rgba(30, 78, 140, 0.075);
    --sofom-dt-export-bg: linear-gradient(135deg, #f7fbff 0%, #e9f3fb 100%);
    --sofom-dt-export-hover-bg: linear-gradient(135deg, #1e4e8c 0%, #0f6c81 100%);
    --sofom-ops-panel-bg: linear-gradient(180deg, #ffffff 0%, #f1f7fc 100%);
    --sofom-ops-muted-bg: linear-gradient(180deg, #f8fbff 0%, #e9f3fb 100%);
    --sofom-ops-hover-bg: linear-gradient(180deg, #ffffff 0%, #eaf4fb 100%);
    --sofom-ops-strong-bg: linear-gradient(135deg, #1e4e8c 0%, #0f6c81 100%);
    --sofom-table-stripe-bg: rgba(30, 78, 140, 0.035);
    --sofom-table-active-bg: rgba(30, 78, 140, 0.12);
    --sofom-scrollbar-thumb: rgba(30, 78, 140, 0.34);
    --sofom-scrollbar-track: rgba(30, 78, 140, 0.08);
    --sofom-state-success-bg: linear-gradient(180deg, #f8fffb 0%, #eaf8f1 100%);
    --sofom-state-success-border: rgba(25, 135, 84, 0.26);
    --sofom-state-success-ink: #146c43;
    --sofom-state-success-strong-bg: linear-gradient(135deg, #198754 0%, #146c43 100%);
    --sofom-alert-success-bg: linear-gradient(135deg, rgba(25, 135, 84, 0.11) 0%, rgba(30, 78, 140, 0.08) 48%, rgba(15, 108, 129, 0.12) 100%);
    --sofom-alert-success-border: rgba(15, 108, 129, 0.28);
    --sofom-alert-success-accent: #16866d;
    --sofom-alert-success-ink: #0f4f48;
    --sofom-state-warning-bg: linear-gradient(180deg, #fffdf7 0%, #fff4cf 100%);
    --sofom-state-warning-border: rgba(179, 120, 0, 0.28);
    --sofom-state-warning-ink: #7c4a03;
    --sofom-state-warning-strong-bg: linear-gradient(135deg, #b7791f 0%, #7c4a03 100%);
    --sofom-state-danger-bg: linear-gradient(180deg, #fffafa 0%, #fdebed 100%);
    --sofom-state-danger-border: rgba(220, 38, 38, 0.24);
    --sofom-state-danger-ink: #991b1b;
    --sofom-state-danger-strong-bg: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

body[data-sofom-theme="GRAFITO_REGULATORIO"],
body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-dt-control-bg: linear-gradient(180deg, #ffffff 0%, #eef2f4 100%);
    --sofom-dt-control-hover-bg: linear-gradient(180deg, #e6ecef 0%, #dbe4e8 100%);
    --sofom-dt-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #eaf0f2 100%);
    --sofom-dt-selected-bg: rgba(var(--sofom-primary-rgb), 0.13);
    --sofom-dt-row-hover-bg: rgba(var(--sofom-primary-rgb), 0.06);
    --sofom-dt-export-bg: linear-gradient(135deg, #fbfcfd 0%, #edf1f3 100%);
    --sofom-dt-export-hover-bg: linear-gradient(135deg, #2f3b4d 0%, #151f2b 100%);
    --sofom-ops-panel-bg: linear-gradient(180deg, #ffffff 0%, #f0f3f4 100%);
    --sofom-ops-muted-bg: linear-gradient(180deg, #fbfcfd 0%, #e9eef1 100%);
    --sofom-ops-hover-bg: linear-gradient(180deg, #ffffff 0%, #e5ebee 100%);
    --sofom-ops-strong-bg: linear-gradient(135deg, #2f3b4d 0%, #151f2b 100%);
    --sofom-table-stripe-bg: rgba(var(--sofom-primary-rgb), 0.025);
    --sofom-table-active-bg: rgba(var(--sofom-primary-rgb), 0.13);
    --sofom-scrollbar-thumb: rgba(var(--sofom-primary-rgb), 0.34);
    --sofom-scrollbar-track: rgba(var(--sofom-primary-rgb), 0.08);
    --sofom-state-success-bg: linear-gradient(180deg, #fbfffd 0%, #eef7f1 100%);
    --sofom-state-success-border: rgba(79, 122, 90, 0.28);
    --sofom-state-success-ink: #244536;
    --sofom-state-success-strong-bg: linear-gradient(135deg, #4f7a5a 0%, #2f5542 100%);
    --sofom-alert-success-bg: linear-gradient(135deg, rgba(79, 122, 90, 0.11) 0%, rgba(var(--sofom-primary-rgb), 0.06) 54%, rgba(var(--sofom-secondary-rgb), 0.06) 100%);
    --sofom-alert-success-border: rgba(79, 122, 90, 0.3);
    --sofom-alert-success-accent: #4f7a5a;
    --sofom-alert-success-ink: #244536;
    --sofom-state-warning-bg: linear-gradient(180deg, #fffdf8 0%, #f2e8d5 100%);
    --sofom-state-warning-border: rgba(var(--sofom-secondary-rgb), 0.3);
    --sofom-state-warning-ink: #5f4319;
    --sofom-state-warning-strong-bg: linear-gradient(135deg, #a77b34 0%, #75551f 100%);
    --sofom-state-danger-bg: linear-gradient(180deg, #fffafa 0%, #f5e8e6 100%);
    --sofom-state-danger-border: rgba(136, 53, 47, 0.24);
    --sofom-state-danger-ink: #7f1d1d;
    --sofom-state-danger-strong-bg: linear-gradient(135deg, #9f4239 0%, #7f1d1d 100%);
}

body[data-sofom-theme="VINO_PATRIMONIAL"] {
    --sofom-dt-control-bg: linear-gradient(180deg, #ffffff 0%, #f8edf1 100%);
    --sofom-dt-control-hover-bg: linear-gradient(180deg, #f2dfe6 0%, #ead2dc 100%);
    --sofom-dt-panel-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f6e8ee 100%);
    --sofom-dt-selected-bg: rgba(var(--sofom-primary-rgb), 0.13);
    --sofom-dt-row-hover-bg: rgba(var(--sofom-primary-rgb), 0.055);
    --sofom-dt-export-bg: linear-gradient(135deg, #fffbfc 0%, #f4e5eb 100%);
    --sofom-dt-export-hover-bg: linear-gradient(135deg, #7a2b45 0%, #4e1829 100%);
    --sofom-ops-panel-bg: linear-gradient(180deg, #ffffff 0%, #f8edf1 100%);
    --sofom-ops-muted-bg: linear-gradient(180deg, #fffbfc 0%, #f1e1e7 100%);
    --sofom-ops-hover-bg: linear-gradient(180deg, #ffffff 0%, #f1dfe6 100%);
    --sofom-ops-strong-bg: linear-gradient(135deg, #7a2b45 0%, #4e1829 100%);
    --sofom-table-stripe-bg: rgba(var(--sofom-primary-rgb), 0.025);
    --sofom-table-active-bg: rgba(var(--sofom-primary-rgb), 0.13);
    --sofom-scrollbar-thumb: rgba(var(--sofom-primary-rgb), 0.34);
    --sofom-scrollbar-track: rgba(var(--sofom-primary-rgb), 0.08);
    --sofom-state-success-bg: linear-gradient(180deg, #fbfffd 0%, #edf8f1 100%);
    --sofom-state-success-border: rgba(80, 124, 86, 0.26);
    --sofom-state-success-ink: #244b35;
    --sofom-state-success-strong-bg: linear-gradient(135deg, #507c56 0%, #2f5a3e 100%);
    --sofom-alert-success-bg: linear-gradient(135deg, rgba(80, 124, 86, 0.1) 0%, rgba(var(--sofom-primary-rgb), 0.06) 54%, rgba(var(--sofom-secondary-rgb), 0.06) 100%);
    --sofom-alert-success-border: rgba(80, 124, 86, 0.28);
    --sofom-alert-success-accent: #507c56;
    --sofom-alert-success-ink: #244b35;
    --sofom-state-warning-bg: linear-gradient(180deg, #fffdf8 0%, #f8eadb 100%);
    --sofom-state-warning-border: rgba(var(--sofom-secondary-rgb), 0.3);
    --sofom-state-warning-ink: #74401d;
    --sofom-state-warning-strong-bg: linear-gradient(135deg, #b06a3c 0%, #824722 100%);
    --sofom-state-danger-bg: linear-gradient(180deg, #fffafa 0%, #f4e3e8 100%);
    --sofom-state-danger-border: rgba(var(--sofom-primary-rgb), 0.24);
    --sofom-state-danger-ink: #4e1829;
    --sofom-state-danger-strong-bg: linear-gradient(135deg, #8d2f48 0%, #4e1829 100%);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper {
    color: var(--sofom-theme-ink);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper.erp-dt-shell .erp-dt-meta,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper.erp-dt-shell .erp-dt-meta,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper.erp-dt-shell .erp-dt-meta,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-dt-meta,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-dt-meta,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-dt-meta {
    background: var(--sofom-dt-panel-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    box-shadow: 0 14px 30px rgba(var(--sofom-primary-rgb), 0.07) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-dt-chip,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-dt-chip,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-dt-chip {
    background: var(--sofom-theme-chip-bg) !important;
    border: 1px solid var(--sofom-theme-line);
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-dt-chip strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-dt-chip strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-dt-chip strong {
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_length label,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter label,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_info,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper.erp-dt-shell .erp-dt-control-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_length label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_length label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_info,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_info,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper.erp-dt-shell .erp-dt-control-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper.erp-dt-shell .erp-dt-control-label {
    color: rgba(var(--sofom-primary-rgb), 0.78) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter input[type="search"],
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_length select,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter input[type="search"],
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter input[type="search"],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_length select,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_length select {
    background: var(--sofom-dt-control-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter input[type="search"]:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_length select:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter input[type="search"]:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter input[type="search"]:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_length select:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_length select:hover {
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter input[type="search"]:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_length select:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter input[type="search"]:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter input[type="search"]:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_length select:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_length select:focus {
    background: #fff !important;
    border-color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 0.18rem var(--sofom-theme-ring) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scroll,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scrollBody,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scrollFoot,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scroll,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scroll,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scrollBody,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scrollBody,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scrollFoot,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scrollFoot {
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scroll,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scroll,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scroll {
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: 0 18px 38px rgba(var(--sofom-primary-rgb), 0.07) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_scrollFoot,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scrollHead,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_scrollFoot,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_scrollFoot {
    background: var(--sofom-theme-card-header-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_desc,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_desc,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_desc {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_desc,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_asc,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_desc,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_desc {
    background-color: var(--sofom-theme-hover-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting::before,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting::after,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_asc::before,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_asc::after,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_desc::before,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable thead .sorting_desc::after,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting::after,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting::after,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_asc::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_asc::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_asc::after,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_asc::after,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_desc::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_desc::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable thead .sorting_desc::after,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable thead .sorting_desc::after {
    color: var(--sofom-primary) !important;
    opacity: 0.72 !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody tr:hover > *,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper.erp-dt-shell table.dataTable tbody tr:hover td,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody tr:hover > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody tr:hover > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper.erp-dt-shell table.dataTable tbody tr:hover td,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper.erp-dt-shell table.dataTable tbody tr:hover td {
    background: var(--sofom-dt-row-hover-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody tr.selected > *,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody tr.selected:hover > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody tr.selected > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody tr.selected > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody tr.selected:hover > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody tr.selected:hover > * {
    background: var(--sofom-dt-selected-bg) !important;
    color: var(--sofom-theme-ink) !important;
    box-shadow: inset 3px 0 0 var(--sofom-primary);
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody td.dataTables_empty,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody td.dataTables_empty,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody td.dataTables_empty {
    color: rgba(var(--sofom-primary-rgb), 0.76) !important;
    background: var(--sofom-theme-chip-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_processing,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_processing,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_processing {
    background: var(--sofom-theme-card-bg) !important;
    border: 1px solid var(--sofom-theme-line) !important;
    border-radius: 8px;
    box-shadow: var(--sofom-elevated-shadow);
    color: var(--sofom-theme-ink) !important;
    font-weight: 800;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button {
    min-width: 36px;
    border: 1px solid var(--sofom-theme-line) !important;
    border-radius: 999px !important;
    background: var(--sofom-dt-control-bg) !important;
    color: var(--sofom-theme-ink) !important;
    font-weight: 800;
    box-shadow: none !important;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):not(.current):focus {
    background: var(--sofom-dt-control-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    color: var(--sofom-primary) !important;
    transform: translateY(-1px);
    box-shadow: 0 9px 18px rgba(var(--sofom-primary-rgb), 0.11) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.current:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button.current,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper.erp-dt-shell .dataTables_paginate .paginate_button.current {
    background: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
    box-shadow: var(--sofom-action-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:focus {
    background: var(--sofom-theme-muted-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: rgba(var(--sofom-primary-rgb), 0.48) !important;
    cursor: not-allowed !important;
    opacity: 0.72;
    transform: none;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .ellipsis,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .ellipsis,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .ellipsis {
    color: rgba(var(--sofom-primary-rgb), 0.58) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .pagination .page-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .pagination .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .pagination .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-link {
    background: var(--sofom-dt-control-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
    font-weight: 800;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .pagination .page-link:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .pagination .page-link:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .pagination .page-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .pagination .page-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .pagination .page-link:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .pagination .page-link:focus {
    background: var(--sofom-dt-control-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 0.16rem var(--sofom-theme-ring) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-item.active .page-link,
body[data-sofom-theme="CONFIANZA_AZUL"] .pagination-primary .page-item.active .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-item.active .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-item.active .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .pagination-primary .page-item.active .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .pagination-primary .page-item.active .page-link {
    background: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
    box-shadow: var(--sofom-action-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .page-item.disabled .page-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .page-item.disabled .page-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .page-item.disabled .page-link {
    background: var(--sofom-theme-muted-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: rgba(var(--sofom-primary-rgb), 0.46) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .btn,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .btn,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .btn {
    min-height: 34px;
    border: 1px solid var(--sofom-theme-line) !important;
    border-radius: 6px !important;
    background: var(--sofom-dt-export-bg) !important;
    color: var(--sofom-theme-ink) !important;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button:hover:not(.disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button:focus:not(.disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .btn:hover:not(:disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .btn:focus:not(:disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button:hover:not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button:hover:not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button:focus:not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button:focus:not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .btn:hover:not(:disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .btn:hover:not(:disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .btn:focus:not(:disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .btn:focus:not(:disabled) {
    background: var(--sofom-dt-export-hover-bg) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(var(--sofom-primary-rgb), 0.15) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-colvis,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-colvis,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-colvis {
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-excel,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-csv,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-excel,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-excel,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-csv,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-csv {
    box-shadow: inset 3px 0 0 rgba(var(--sofom-secondary-rgb), 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-excel:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-csv:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-pdf:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-print:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .buttons-copy:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-excel:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-excel:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-csv:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-csv:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-pdf:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-pdf:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-print:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-print:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .buttons-copy:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .buttons-copy:hover {
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button:hover:not(.disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button:focus:not(.disabled),
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-html5:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-print:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-excel.buttons-html5:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-csv.buttons-html5:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-pdf.buttons-html5:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-copy.buttons-html5:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-print:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-collection:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button:hover:not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button:hover:not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button:focus:not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button:focus:not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.buttons-html5:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-html5:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.buttons-print:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-print:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.buttons-collection:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-excel.buttons-html5:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-excel.buttons-html5:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-csv.buttons-html5:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-csv.buttons-html5:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-pdf.buttons-html5:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-pdf.buttons-html5:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-copy.buttons-html5:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-copy.buttons-html5:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-print:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-print:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-collection:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons button.dt-button.buttons-collection:hover {
    background: var(--sofom-dt-export-hover-bg) !important;
    border: 1px solid transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] button.dt-button:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] button.dt-button:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] a.dt-button:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] a.dt-button:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] button.dt-button:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] button.dt-button:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] button.dt-button:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] button.dt-button:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] a.dt-button:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] a.dt-button:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] a.dt-button:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] a.dt-button:focus {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.disabled,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button:disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.disabled,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button:disabled,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button:disabled {
    background: var(--sofom-theme-muted-bg) !important;
    color: rgba(var(--sofom-primary-rgb), 0.46) !important;
    box-shadow: none !important;
    opacity: 0.72;
}

body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection {
    border-color: var(--sofom-theme-line) !important;
    border-radius: 8px;
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: var(--sofom-elevated-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .dt-button,
body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .dropdown-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .dt-button,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .dt-button,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .dropdown-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .dropdown-item {
    border-radius: 6px !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .dt-button:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .dropdown-item:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .dt-button.active,
body[data-sofom-theme="CONFIANZA_AZUL"] div.dt-button-collection .buttons-columnVisibility.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .dt-button:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .dt-button:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .dropdown-item:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .dropdown-item:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .dt-button.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .dt-button.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] div.dt-button-collection .buttons-columnVisibility.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] div.dt-button-collection .buttons-columnVisibility.active {
    background: var(--sofom-primary-gradient) !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dt-button-info,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dt-button-info,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dt-button-info {
    border: 1px solid var(--sofom-theme-line) !important;
    border-radius: 8px;
    background: var(--sofom-theme-card-bg) !important;
    box-shadow: var(--sofom-elevated-shadow) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dt-button-info h2,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dt-button-info h2,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dt-button-info h2 {
    background: var(--sofom-theme-card-header-bg) !important;
    border-bottom: 1px solid var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dt-button-background,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dt-button-background,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dt-button-background {
    background: rgba(var(--sofom-primary-rgb), 0.12) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control::before {
    background: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 16px rgba(var(--sofom-primary-rgb), 0.14) !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > td.dtr-control::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.dtr-inline.collapsed > tbody > tr.parent > th.dtr-control::before {
    background: var(--sofom-secondary-gradient) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable > tbody > tr.child,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable > tbody > tr.child:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable > tbody > tr.child,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable > tbody > tr.child,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable > tbody > tr.child:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable > tbody > tr.child:hover {
    background: var(--sofom-theme-chip-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable > tbody > tr.child ul.dtr-details,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable > tbody > tr.child ul.dtr-details,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable > tbody > tr.child ul.dtr-details {
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable > tbody > tr.child span.dtr-title,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable > tbody > tr.child span.dtr-title,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable > tbody > tr.child span.dtr-title {
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-scrollable-x.is-scrollable::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-scrollable-x.is-scrollable::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-scrollable-x.is-scrollable::before {
    background: linear-gradient(90deg, var(--sofom-theme-card-bg), rgba(255, 255, 255, 0)) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-scrollable-x.is-scrollable::after,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-scrollable-x.is-scrollable::after,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-scrollable-x.is-scrollable::after {
    background: linear-gradient(270deg, var(--sofom-theme-card-bg), rgba(255, 255, 255, 0)) !important;
}

/* Operational surfaces that ship with local hard-coded neutrals. */
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-shell,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-table-shell,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-capture-card,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-summary,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-panel,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-rango-card,
body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-doc-stat,
body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-doc-table-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-table-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-table-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-capture-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-capture-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-summary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-summary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-panel,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-panel,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-rango-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-rango-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-doc-stat,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-doc-stat,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-doc-table-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-doc-table-card {
    background: var(--sofom-ops-panel-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
    box-shadow: 0 14px 32px rgba(var(--sofom-primary-rgb), 0.07) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-advanced-grid,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-advanced-grid,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-advanced-grid,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-list li,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-list li,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-list li {
    background: var(--sofom-ops-muted-bg) !important;
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-title h6,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-title h6,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-table-toolbar h6,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-capture-card strong,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-panel h6,
body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-doc-stat strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-title h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-title h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-title h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-title h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-table-toolbar h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-table-toolbar h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-capture-card strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-capture-card strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-panel h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-panel h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-doc-stat strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-doc-stat strong {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-capture-card span,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-capture-card small,
body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-doc-stat small,
body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-list li span:first-child,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-capture-card span,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-capture-card span,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-capture-card small,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-capture-card small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-doc-stat small,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-doc-stat small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-list li span:first-child,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-list li span:first-child {
    color: rgba(var(--sofom-primary-rgb), 0.68) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .erp-review-list li span:last-child,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .erp-review-list li span:last-child,
body[data-sofom-theme="VINO_PATRIMONIAL"] .erp-review-list li span:last-child {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-meta,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-meta,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-meta {
    border-top-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-meta .btn-link,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-meta .btn-link,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-meta .btn-link {
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-meta .btn-link:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-meta .btn-link:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-meta .btn-link:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-meta .btn-link:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-meta .btn-link:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-meta .btn-link:focus {
    background: var(--sofom-theme-hover-bg) !important;
    color: var(--sofom-theme-ink) !important;
    text-decoration-color: rgba(var(--sofom-primary-rgb), 0.35);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-shell .select2-container--default .select2-selection--single,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-shell .select2-container--default .select2-selection--single,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-shell .select2-container--default .select2-selection--single {
    background: var(--sofom-dt-control-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-shell .select2-container--default .select2-selection--single:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-shell .select2-container--default .select2-selection--single:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-shell .select2-container--default .select2-selection--single:hover {
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-filters-shell .select2-container--default .select2-selection--single .select2-selection__rendered,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-filters-shell .select2-container--default .select2-selection--single .select2-selection__rendered,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-filters-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card {
    background: var(--sofom-ops-panel-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
    box-shadow: 0 10px 24px rgba(var(--sofom-primary-rgb), 0.06) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card:hover {
    background: var(--sofom-ops-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    box-shadow: 0 14px 30px rgba(var(--sofom-primary-rgb), 0.1) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card span,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card span,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card span,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card small,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card small {
    color: rgba(var(--sofom-primary-rgb), 0.7) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card strong {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-count,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-count,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-count {
    background: var(--sofom-theme-chip-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value=""].is-active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value=""].is-active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value=""].is-active {
    background: var(--sofom-ops-strong-bg) !important;
    border-color: transparent !important;
    box-shadow: var(--sofom-action-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value=""].is-active span,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value=""].is-active strong,
body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value=""].is-active small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value=""].is-active span,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value=""].is-active span,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value=""].is-active strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value=""].is-active strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value=""].is-active small,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value=""].is-active small {
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="APROBADO"],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="APROBADO"],
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="APROBADO"] {
    background: var(--sofom-state-success-bg) !important;
    border-color: var(--sofom-state-success-border) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="APROBADO"].is-active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="APROBADO"].is-active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="APROBADO"].is-active {
    border-color: var(--sofom-state-success-border) !important;
    box-shadow: 0 14px 30px rgba(var(--sofom-primary-rgb), 0.12) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"],
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"] {
    background: var(--sofom-state-warning-bg) !important;
    border-color: var(--sofom-state-warning-border) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"].is-active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"].is-active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="PENDIENTE_POR_APROBAR"].is-active {
    border-color: var(--sofom-state-warning-border) !important;
    box-shadow: 0 14px 30px rgba(var(--sofom-secondary-rgb), 0.13) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="NO_APROBADO"],
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="NO_APROBADO"],
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="NO_APROBADO"] {
    background: var(--sofom-state-danger-bg) !important;
    border-color: var(--sofom-state-danger-border) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .clientes-approval-card[data-approval-value="NO_APROBADO"].is-active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .clientes-approval-card[data-approval-value="NO_APROBADO"].is-active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .clientes-approval-card[data-approval-value="NO_APROBADO"].is-active {
    border-color: var(--sofom-state-danger-border) !important;
    box-shadow: 0 14px 30px rgba(136, 53, 47, 0.12) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-doc-table-card .table thead th,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-doc-table-card .table thead th,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-doc-table-card .table thead th {
    background: var(--sofom-theme-card-header-bg) !important;
    border-bottom-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-delete-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-delete-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-delete-card {
    background: linear-gradient(180deg, #fffafa 0%, #fdebed 100%) !important;
    border-color: rgba(220, 53, 69, 0.24) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .cliente-delete-icon,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .cliente-delete-icon,
body[data-sofom-theme="VINO_PATRIMONIAL"] .cliente-delete-icon {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #b91c1c !important;
}

/* Remaining Azul/Grafito polish for controls, selects, tables and utility modules. */
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary:active,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-primary.active,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-primary-light:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-primary.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-primary.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-primary-light:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-primary-light:focus {
    background-color: transparent !important;
    background-image: var(--sofom-primary-gradient-hover) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
    box-shadow: var(--sofom-action-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary:active,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-secondary.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-secondary.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-secondary.active {
    background-color: transparent !important;
    background-image: var(--sofom-secondary-gradient-hover) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 12px 22px rgba(var(--sofom-secondary-rgb), 0.14) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-check:focus + .btn,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn:focus-visible,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-check:focus + .btn,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-check:focus + .btn,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn:focus-visible,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn:focus-visible {
    box-shadow: 0 0 0 0.18rem var(--sofom-theme-ring), 0 10px 22px rgba(var(--sofom-primary-rgb), 0.12) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-success,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-success,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-success {
    background: var(--sofom-state-success-bg) !important;
    border-color: var(--sofom-state-success-border) !important;
    color: var(--sofom-state-success-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-warning,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-warning,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-warning {
    background: var(--sofom-state-warning-bg) !important;
    border-color: var(--sofom-state-warning-border) !important;
    color: var(--sofom-state-warning-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-danger,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-danger,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-danger {
    background: var(--sofom-state-danger-bg) !important;
    border-color: var(--sofom-state-danger-border) !important;
    color: var(--sofom-state-danger-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-success:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-success:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-success:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-success:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-success:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-success:focus {
    background: var(--sofom-state-success-strong-bg) !important;
    border-color: transparent !important;
    color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-warning:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-warning:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-warning:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-warning:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-warning:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-warning:focus {
    background: var(--sofom-state-warning-strong-bg) !important;
    border-color: transparent !important;
    color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-danger:hover,
body[data-sofom-theme="CONFIANZA_AZUL"] .btn-outline-danger:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-danger:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-danger:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .btn-outline-danger:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .btn-outline-danger:focus {
    background: var(--sofom-state-danger-strong-bg) !important;
    border-color: transparent !important;
    color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-dropdown,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-dropdown,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-dropdown {
    background: var(--sofom-theme-card-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    box-shadow: var(--sofom-elevated-shadow) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-search--dropdown .select2-search__field,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-search--dropdown .select2-search__field,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-search--dropdown .select2-search__field {
    background: var(--sofom-theme-input-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    border-radius: 6px;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-search--dropdown .select2-search__field:focus,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-search--dropdown .select2-search__field:focus,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-search--dropdown .select2-search__field:focus,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default.select2-container--focus .select2-selection--single,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default.select2-container--focus .select2-selection--single,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default.select2-container--focus .select2-selection--single {
    background: #fff !important;
    border-color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 0.18rem var(--sofom-theme-ring) !important;
    outline: 0;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-results__option,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-results__option,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-results__option {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--multiple .select2-selection__choice,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--multiple .select2-selection__choice,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: var(--sofom-theme-chip-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    border-radius: 999px;
    color: var(--sofom-theme-ink) !important;
    font-weight: 700;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove,
body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection__clear,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection__clear,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection__clear {
    color: rgba(var(--sofom-primary-rgb), 0.72) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .select2-container--default .select2-selection--single .select2-selection__arrow b,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .select2-container--default .select2-selection--single .select2-selection__arrow b,
body[data-sofom-theme="VINO_PATRIMONIAL"] .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: rgba(var(--sofom-primary-rgb), 0.64) transparent transparent transparent !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_filter input[type="search"]::placeholder,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_filter input[type="search"]::placeholder,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_filter input[type="search"]::placeholder {
    color: rgba(var(--sofom-primary-rgb), 0.5) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.stripe tbody tr.odd > *,
body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable.display tbody tr.odd > *,
body[data-sofom-theme="CONFIANZA_AZUL"] .table-striped > tbody > tr:nth-of-type(odd) > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.stripe tbody tr.odd > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.stripe tbody tr.odd > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable.display tbody tr.odd > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable.display tbody tr.odd > *,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .table-striped > tbody > tr:nth-of-type(odd) > *,
body[data-sofom-theme="VINO_PATRIMONIAL"] .table-striped > tbody > tr:nth-of-type(odd) > * {
    background: var(--sofom-table-stripe-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] table.dataTable tbody tr.selected a,
body[data-sofom-theme="GRAFITO_REGULATORIO"] table.dataTable tbody tr.selected a,
body[data-sofom-theme="VINO_PATRIMONIAL"] table.dataTable tbody tr.selected a {
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_scrollBody,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_scrollBody,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_scrollBody,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell {
    scrollbar-color: var(--sofom-scrollbar-thumb) var(--sofom-scrollbar-track);
    scrollbar-width: thin;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_scrollBody::-webkit-scrollbar,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell::-webkit-scrollbar,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_scrollBody::-webkit-scrollbar,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_scrollBody::-webkit-scrollbar,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell::-webkit-scrollbar,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_scrollBody::-webkit-scrollbar-track,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell::-webkit-scrollbar-track,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_scrollBody::-webkit-scrollbar-track,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_scrollBody::-webkit-scrollbar-track,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell::-webkit-scrollbar-track,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell::-webkit-scrollbar-track {
    background: var(--sofom-scrollbar-track);
    border-radius: 999px;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_scrollBody::-webkit-scrollbar-thumb,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell::-webkit-scrollbar-thumb,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_scrollBody::-webkit-scrollbar-thumb,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_scrollBody::-webkit-scrollbar-thumb,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell::-webkit-scrollbar-thumb,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell::-webkit-scrollbar-thumb {
    background: var(--sofom-scrollbar-thumb);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):active,
body[data-sofom-theme="CONFIANZA_AZUL"] .pagination .page-link:active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dataTables_paginate .paginate_button:not(.disabled):active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .pagination .page-link:active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .pagination .page-link:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 5px rgba(var(--sofom-primary-rgb), 0.14) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button.active,
body[data-sofom-theme="CONFIANZA_AZUL"] .dataTables_wrapper .dt-buttons .dt-button:active:not(.disabled),
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .dataTables_wrapper .dt-buttons .dt-button:active:not(.disabled),
body[data-sofom-theme="VINO_PATRIMONIAL"] .dataTables_wrapper .dt-buttons .dt-button:active:not(.disabled) {
    background: var(--sofom-dt-export-hover-bg) !important;
    border-color: transparent !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-kicker,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-label,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-metric small,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-panel-header p,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-group-title p,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field .form-text,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-custom-note,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-kicker,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-kicker,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-metric small,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-metric small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-panel-header p,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-panel-header p,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-group-title p,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-group-title p,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field .form-text,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field .form-text,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-custom-note,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-custom-note {
    color: rgba(var(--sofom-primary-rgb), 0.68) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-subtitle,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-metric strong,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field .form-label,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-name,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-copy,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-swatch,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-subtitle,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-subtitle,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-metric strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-metric strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field .form-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field .form-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-name,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-name,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-copy,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-copy,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-swatch,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-swatch {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field:hover,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field:hover,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field:hover {
    background: var(--sofom-ops-hover-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field:focus-within,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field:focus-within,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field:focus-within {
    border-color: var(--sofom-primary) !important;
    box-shadow: 0 0 0 0.18rem var(--sofom-theme-ring), var(--sofom-theme-field-shadow) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-option:focus-visible,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-option:focus-visible,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-option:focus-visible {
    border-color: var(--theme-primary, var(--sofom-primary)) !important;
    box-shadow: 0 0 0 0.18rem rgba(var(--theme-primary-rgb, 36, 105, 92), 0.16), 0 16px 30px rgba(var(--theme-primary-rgb, 36, 105, 92), 0.12) !important;
    outline: 0;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-check,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-check,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-check,
body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-theme-swatch::before,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-theme-swatch::before,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-theme-swatch::before {
    border-color: rgba(var(--sofom-primary-rgb), 0.2) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field-state.is-missing,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field-state.is-missing,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field-state.is-missing {
    background: var(--sofom-state-warning-bg) !important;
    border: 1px solid var(--sofom-state-warning-border);
    color: var(--sofom-state-warning-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field-state.is-invalid-field,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field-state.is-invalid-field,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field-state.is-invalid-field {
    background: var(--sofom-state-danger-bg) !important;
    border: 1px solid var(--sofom-state-danger-border);
    color: var(--sofom-state-danger-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .compliance-field-state.is-optional,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .compliance-field-state.is-optional,
body[data-sofom-theme="VINO_PATRIMONIAL"] .compliance-field-state.is-optional {
    background: var(--sofom-theme-chip-bg) !important;
    border: 1px solid var(--sofom-theme-line);
    color: rgba(var(--sofom-primary-rgb), 0.72) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-quick-shell,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-section,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-panel,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-result-item,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-quick-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-quick-shell,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-section,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-section,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-panel,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-panel,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-result-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-result-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell {
    background: var(--sofom-ops-panel-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
    box-shadow: 0 12px 28px rgba(var(--sofom-primary-rgb), 0.06);
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-section-title,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-title,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-value,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-result-value,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-section-title,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-section-title,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-title,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-title,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-value,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-value,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-result-value,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-result-value {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-control-hint,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-muted,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-label,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-result-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-control-hint,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-control-hint,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-muted,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-muted,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-result-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-result-label {
    color: rgba(var(--sofom-primary-rgb), 0.68) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-section-index,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-chip-group .btn.active,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-section-index,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-section-index,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-chip-group .btn.active,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-chip-group .btn.active {
    background: var(--sofom-primary-gradient) !important;
    border-color: transparent !important;
    color: var(--sofom-primary-contrast) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-policy-item,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-policy-item,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-policy-item {
    border-bottom-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-live-check,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-live-check,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-live-check,
body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-result-item.is-primary,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-result-item.is-primary,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-result-item.is-primary {
    background: var(--sofom-theme-chip-bg) !important;
    border-color: var(--sofom-theme-line-strong) !important;
    color: var(--sofom-primary) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-live-check.is-warning,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-live-check.is-warning,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-live-check.is-warning {
    background: var(--sofom-state-warning-bg) !important;
    border: 1px solid var(--sofom-state-warning-border);
    color: var(--sofom-state-warning-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-live-check.is-danger,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-live-check.is-danger,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-live-check.is-danger {
    background: var(--sofom-state-danger-bg) !important;
    border: 1px solid var(--sofom-state-danger-border);
    color: var(--sofom-state-danger-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] .simulador-table-shell thead th,
body[data-sofom-theme="GRAFITO_REGULATORIO"] .simulador-table-shell thead th,
body[data-sofom-theme="VINO_PATRIMONIAL"] .simulador-table-shell thead th {
    background: var(--sofom-theme-card-header-bg) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .modal-body,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .modal-body,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .modal-body,
body[data-sofom-theme="CONFIANZA_AZUL"] #ProspeccionCreditosModal .modal-body,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #ProspeccionCreditosModal .modal-body,
body[data-sofom-theme="VINO_PATRIMONIAL"] #ProspeccionCreditosModal .modal-body {
    background: var(--sofom-theme-page-bg) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .cliente-section-card h6,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .prospeccion-section-card h6,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .erp-header-chip strong,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .cliente-section-card h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .cliente-section-card h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .prospeccion-section-card h6,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .prospeccion-section-card h6,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .erp-header-chip strong,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .erp-header-chip strong {
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .cliente-section-card small,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .prospeccion-section-card small,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .form-label,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .cliente-section-card small,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .cliente-section-card small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .prospeccion-section-card small,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .prospeccion-section-card small,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .form-label,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .form-label {
    color: rgba(var(--sofom-primary-rgb), 0.72) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .table-responsive,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .cliente-doc-table-card,
body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .erp-header-chip,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .table-responsive,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .table-responsive,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .cliente-doc-table-card,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .cliente-doc-table-card,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .erp-header-chip,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .erp-header-chip {
    background: var(--sofom-theme-card-bg) !important;
    border-color: var(--sofom-theme-line) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .table thead th,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .table thead th,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .table thead th {
    background: var(--sofom-theme-card-header-bg) !important;
    border-color: var(--sofom-theme-line) !important;
    color: var(--sofom-theme-ink) !important;
}

body[data-sofom-theme="CONFIANZA_AZUL"] #modals-container .erp-modal .modal-footer,
body[data-sofom-theme="GRAFITO_REGULATORIO"] #modals-container .erp-modal .modal-footer,
body[data-sofom-theme="VINO_PATRIMONIAL"] #modals-container .erp-modal .modal-footer {
    box-shadow: 0 -10px 24px rgba(var(--sofom-primary-rgb), 0.08) !important;
}

body.dark-only {
    --sofom-primary-soft: rgba(var(--sofom-primary-rgb), 0.18);
    --sofom-primary-soft-strong: rgba(var(--sofom-primary-rgb), 0.26);
    --sofom-secondary-soft: rgba(var(--sofom-secondary-rgb), 0.2);
}

body.dark-only .btn-primary-light {
    background-color: var(--sofom-primary-soft-strong) !important;
    color: #fff !important;
}

body.dark-only .main-navbar .nav-menu > li > .nav-link.menu-title,
body.dark-only .page-main-header .toggle-sidebar,
body.dark-only .page-main-header .toggle-sidebar svg,
body.dark-only .page-main-header .mobile-toggle svg,
body.dark-only .page-main-header .mode i {
    color: #fff !important;
    stroke: #fff !important;
}

.wizard-mobile-indicator,
.wizard-mobile-meta .wizard-mobile-indicator {
    background: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

#modals-container .erp-modal .wizard-modal-body .f1-progress-line,
#modals-container .erp-modal .wizard-modal-body .f1-step.active .f1-step-icon {
    background: var(--sofom-primary) !important;
    border-color: var(--sofom-primary) !important;
}

#modals-container .erp-modal .wizard-modal-body .f1-step.activated .f1-step-icon,
#modals-container .erp-modal .wizard-modal-body .f1-step.is-complete .f1-step-icon {
    border-color: rgba(var(--sofom-primary-rgb), 0.26) !important;
    background: var(--sofom-primary-soft) !important;
    color: var(--sofom-primary) !important;
}

#modals-container .erp-modal .wizard-modal-body .f1-step.active p,
#modals-container .wizard-step-helper span:not(.badge),
.wizard-mobile-caption {
    color: var(--sofom-primary) !important;
}

#modals-container .wizard-step-helper {
    border-color: rgba(var(--sofom-primary-rgb), 0.18) !important;
    background:
        linear-gradient(180deg, rgba(var(--sofom-primary-rgb), 0.08) 0%, rgba(255, 255, 255, 0.98) 100%) !important;
}

#modals-container .wizard-footer-hint {
    border-color: rgba(var(--sofom-primary-rgb), 0.24) !important;
    background: rgba(var(--sofom-primary-rgb), 0.06) !important;
}

#modals-container .wizard-status-guide span.is-active {
    border-color: rgba(var(--sofom-primary-rgb), 0.42) !important;
    background: var(--sofom-primary) !important;
    color: var(--sofom-primary-contrast) !important;
}

#modals-container .wizard-status-guide span.is-complete {
    border-color: rgba(var(--sofom-primary-rgb), 0.24) !important;
    background: rgba(var(--sofom-primary-rgb), 0.08) !important;
    color: var(--sofom-theme-ink) !important;
}

body.dark-only #modals-container .wizard-step-helper,
body.dark-only #modals-container .wizard-footer-hint,
body.dark-only #modals-container .wizard-status-guide span.is-complete {
    border-color: rgba(var(--sofom-primary-rgb), 0.24) !important;
    background: rgba(var(--sofom-primary-rgb), 0.1) !important;
}

body.dark-only #modals-container .wizard-step-helper span:not(.badge),
body.dark-only #modals-container .wizard-status-guide span.is-complete,
body.dark-only .wizard-mobile-caption {
    color: #fff !important;
}
