﻿:root{
--crm-bg:#f4f7fb;--crm-bg-soft:#eef3f8;--crm-surface:#fff;--crm-surface-raised:#fff;--crm-surface-muted:#f8fafc;
--crm-text:#172033;--crm-text-muted:#5b677a;--crm-border:#d7deea;--crm-border-strong:#b9c4d3;
--crm-primary:#2563eb;--crm-primary-hover:#1d4ed8;--crm-primary-soft:#eff6ff;--crm-link:#1d4ed8;
--crm-success:#047857;--crm-success-soft:#d1fae5;--crm-warning:#b45309;--crm-warning-soft:#fef3c7;
--crm-danger:#b91c1c;--crm-danger-soft:#fee2e2;--crm-info:#0369a1;--crm-info-soft:#e0f2fe;
--crm-focus:#60a5fa;--crm-overlay:rgba(11,31,53,.58);--crm-shadow-sm:0 2px 8px rgba(15,39,69,.07);
--crm-dropdown-bg:#fff;--crm-option-hover:#eff6ff;--crm-option-active:#dbeafe;--crm-selection:#bfdbfe;
--crm-placeholder:#64748b;--crm-disabled-bg:#eef2f7;--crm-readonly-bg:#f8fafc;--crm-divider:#d7deea;
--crm-shadow-md:0 14px 34px rgba(15,39,69,.12);--crm-radius-sm:8px;--crm-radius-md:12px;--crm-radius-lg:18px;
--crm-control-height:44px;--crm-page-max:1600px;color-scheme:light;
}
html[data-theme="dark"]{
--crm-bg:#0b1220;--crm-bg-soft:#111b2e;--crm-surface:#152238;--crm-surface-raised:#1b2a42;--crm-surface-muted:#101b2d;
--crm-text:#edf3fb;--crm-text-muted:#aebdd0;--crm-border:#32445e;--crm-border-strong:#49617e;
--crm-primary:#6ea8ff;--crm-primary-hover:#93beff;--crm-primary-soft:#19365f;--crm-link:#8ab8ff;
--crm-success:#6ee7b7;--crm-success-soft:#123b34;--crm-warning:#fcd34d;--crm-warning-soft:#493415;
--crm-danger:#fca5a5;--crm-danger-soft:#4b2027;--crm-info:#7dd3fc;--crm-info-soft:#12384b;
--crm-focus:#93c5fd;--crm-overlay:rgba(0,0,0,.72);--crm-shadow-sm:0 2px 10px rgba(0,0,0,.24);
--crm-dropdown-bg:#1b2a42;--crm-option-hover:#243a5a;--crm-option-active:#284a78;--crm-selection:#315f96;
--crm-placeholder:#9fb0c5;--crm-disabled-bg:#101a2a;--crm-readonly-bg:#111d30;--crm-divider:#3b506d;
--crm-shadow-md:0 18px 42px rgba(0,0,0,.34);
--surface:#152238;--page:#0b1220;--slate-900:#edf3fb;--slate-700:#c8d4e3;--slate-600:#aebdd0;--slate-500:#94a6bb;
--slate-300:#49617e;--slate-200:#32445e;--slate-100:#1b2a42;--slate-50:#101b2d;
--blue-700:#93beff;--blue-600:#6ea8ff;--blue-500:#70aaff;--blue-100:#19365f;--blue-50:#132b4c;
--green-600:#6ee7b7;--green-100:#123b34;--amber-600:#fcd34d;--amber-100:#493415;--red-600:#fca5a5;--red-100:#4b2027;
--crm-ux-primary:#7eafff;--crm-ux-primary-dark:#a6c8ff;--crm-ux-surface:#152238;--crm-ux-surface-soft:#101b2d;
--crm-ux-border:#32445e;--crm-ux-text:#edf3fb;--crm-ux-muted:#aebdd0;--crm-ux-success:#6ee7b7;--crm-ux-warning:#fcd34d;
--crm-ux-danger:#fca5a5;--crm-ux-info:#7dd3fc;--crm-ux-shadow:0 12px 30px rgba(0,0,0,.28);color-scheme:dark;
}
html,body{background-color:var(--crm-bg)!important;color:var(--crm-text)!important}
body{transition:background-color .16s ease,color .16s ease}
@media(prefers-reduced-motion:reduce){body{transition:none}}
a{color:var(--crm-link)}a:hover{color:var(--crm-primary-hover)}
.crm-commercial-subtitle{color:var(--crm-text-muted)!important}
html[data-theme="dark"] .z3-kicker{color:var(--crm-primary-hover)!important}
@media(max-width:760px){html:not([data-theme="dark"]) .pwa-bottom-nav a.is-active{color:#174ea6!important}}
.page-content{max-width:var(--crm-page-max);margin-inline:auto}
.card,.panel,.modal-content,.dropdown-menu,.crm-commercial-card,.crm-modal__panel,.wa-compose,.wa-side,.auth-card,
.knowledge-card,.assistant-card,.agenda-card,.pipeline-card{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important;box-shadow:var(--crm-shadow-sm)}
.card-header,.card-footer,.modal-header,.modal-footer,.table-light,.bg-light,.crm-commercial-filter,.crm-filter-panel{background:var(--crm-surface-muted)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
.text-muted,.form-text,small,.small{color:var(--crm-text-muted)!important}
.form-control,.form-select,input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea{
background-color:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border-strong)!important;min-height:var(--crm-control-height);border-radius:var(--crm-radius-sm)}
.form-group,.field,.crm-field,.kb-field,.ka-field{display:grid;align-content:start;gap:6px;margin-bottom:16px}.form-group>label,.form-label,.field>label,.crm-field>label,.kb-field>label,.ka-field>label{margin:0!important;font-weight:700;line-height:1.35;color:var(--crm-text)}
.form-group>.field-validation-error,.form-group>.text-danger,.field>.field-validation-error{margin-top:2px}.validation-summary-errors{margin:0 0 18px;padding:12px 14px;border:1px solid;border-radius:var(--crm-radius-md)}
.form-actions,.actions,.crm-actions,.ka-actions,.kb-header__actions,.dashboard-actions,.page-actions,.modal-footer{display:flex;align-items:center;flex-wrap:wrap;gap:10px!important;margin-top:18px}
.crm-page-header__actions,.crm-commercial-actionbar{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px!important}
.table-responsive{margin-top:14px}.table th{vertical-align:middle}.table td{vertical-align:middle}.table td .btn+.btn,.table td form+.btn,.table td .btn+form{margin-left:6px}.table td form.d-inline{display:inline-flex!important;margin:3px}
.modal-body{padding:20px!important}.modal-footer{padding:14px 20px!important;border-color:var(--crm-border)!important}.modal-header{padding:16px 20px!important}
.crm-commercial-filter,.crm-filter-panel form,.task-filters{align-items:end!important;column-gap:12px!important;row-gap:14px!important}.crm-commercial-filter>*,.task-filters>*{min-width:0}
.form-control::placeholder,input::placeholder,textarea::placeholder{color:var(--crm-text-muted)!important;opacity:.82}
.form-control::placeholder,input::placeholder,textarea::placeholder{color:var(--crm-placeholder)!important;opacity:1}
::selection{background:var(--crm-selection);color:var(--crm-text)}
.form-control:focus,.form-select:focus,input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible,summary:focus-visible{
outline:3px solid color-mix(in srgb,var(--crm-focus) 48%,transparent)!important;outline-offset:2px;box-shadow:none!important}
input[type="datetime-local"]:focus-visible{outline:3px solid var(--crm-focus)!important;outline-offset:2px}
.form-control:disabled,.form-select:disabled,input:disabled,select:disabled,textarea:disabled{background:var(--crm-surface-muted)!important;color:var(--crm-text-muted)!important;opacity:1}
.form-control:disabled,.form-select:disabled,input:disabled,select:disabled,textarea:disabled{background:var(--crm-disabled-bg)!important;cursor:not-allowed}
.form-control[readonly],input[readonly],textarea[readonly],select[readonly]{background:var(--crm-readonly-bg)!important;color:var(--crm-text-muted)!important}
.form-control.is-invalid,.form-select.is-invalid,input:invalid:not(:placeholder-shown),textarea:invalid:not(:placeholder-shown){border-color:var(--crm-danger)!important}
.form-control.is-valid,.form-select.is-valid{border-color:var(--crm-success)!important}
.table{--bs-table-bg:transparent;--bs-table-color:var(--crm-text);--bs-table-border-color:var(--crm-border);color:var(--crm-text)!important}
.table>:not(caption)>*>*{background-color:transparent!important;color:inherit!important;border-color:var(--crm-border)!important}
.table thead th{background:var(--crm-surface-muted)!important;color:var(--crm-text)!important}
.table-hover>tbody>tr:hover>*{background:var(--crm-primary-soft)!important;color:var(--crm-text)!important}
html[data-theme="dark"] table.table tbody tr,
html[data-theme="dark"] table.table tbody td,
html[data-theme="dark"] table.table tbody th{background-color:var(--crm-surface)!important;color:var(--crm-text)!important}
.btn{min-height:40px;border-radius:var(--crm-radius-sm);font-weight:650}.btn-primary{background:var(--crm-primary)!important;border-color:var(--crm-primary)!important;color:#fff!important}
html[data-theme="dark"] .btn-primary{color:#07111f!important}.btn-outline-primary{color:var(--crm-primary)!important;border-color:var(--crm-primary)!important}
.btn-outline-secondary,.btn-light{color:var(--crm-text)!important;background:var(--crm-surface)!important;border-color:var(--crm-border-strong)!important}
.alert-success{background:var(--crm-success-soft)!important;color:var(--crm-success)!important;border-color:var(--crm-success)!important}
.alert-warning{background:var(--crm-warning-soft)!important;color:var(--crm-warning)!important;border-color:var(--crm-warning)!important}
.alert-danger,.validation-summary-errors{background:var(--crm-danger-soft)!important;color:var(--crm-danger)!important;border-color:var(--crm-danger)!important}
.alert-info{background:var(--crm-info-soft)!important;color:var(--crm-info)!important;border-color:var(--crm-info)!important}
.badge.bg-secondary{background:var(--crm-surface-muted)!important;color:var(--crm-text)!important;border:1px solid var(--crm-border)}
.modal-backdrop,.crm-modal-backdrop{background:var(--crm-overlay)!important}.pagination .page-link{background:var(--crm-surface)!important;color:var(--crm-link)!important;border-color:var(--crm-border)!important}
.pagination .active .page-link{background:var(--crm-primary)!important;color:#fff!important}.nav-tabs{border-color:var(--crm-border)!important}.nav-tabs .nav-link{color:var(--crm-text-muted)}
.nav-tabs .nav-link.active{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border) var(--crm-border) var(--crm-surface)!important}
.dropdown-menu,.nav-dropdown__menu,[role="listbox"],.ui-autocomplete,.select2-dropdown,.multiselect-container{
background:var(--crm-dropdown-bg)!important;color:var(--crm-text)!important;border:1px solid var(--crm-border)!important;box-shadow:var(--crm-shadow-md)!important}
.dropdown-divider,.nav-dropdown__menu hr{border-color:var(--crm-divider)!important;opacity:1}
.dropdown-item,.dropdown-menu a,.nav-dropdown__menu a,[role="option"],.ui-menu-item-wrapper,.select2-results__option,.multiselect-container>li>a{
color:var(--crm-text)!important;background:transparent!important}
.dropdown-item:hover,.dropdown-item:focus,.dropdown-menu a:hover,.dropdown-menu a:focus,.nav-dropdown__menu a:hover,.nav-dropdown__menu a:focus,
[role="option"]:hover,[role="option"][aria-selected="true"],.ui-state-active,.select2-results__option--highlighted,.multiselect-container>li>a:hover{
background:var(--crm-option-hover)!important;color:var(--crm-text)!important}
.dropdown-item.active,.dropdown-item:active,.nav-dropdown__menu a[aria-current="page"],[role="option"][aria-selected="true"],.select2-results__option[aria-selected="true"]{
background:var(--crm-option-active)!important;color:var(--crm-text)!important}
.nav-dropdown[open]>summary{background:rgba(255,255,255,.14)!important}
.nav-dropdown__menu{max-width:min(420px,calc(100vw - 24px));max-height:min(70vh,560px);overflow:auto;overscroll-behavior:contain}
.select2-container--default .select2-selection--single,.select2-container--default .select2-selection--multiple,.select2-search__field,
.ui-datepicker,.bootstrap-datetimepicker-widget,.flatpickr-calendar,.popover,.tooltip-inner,.toast,.accordion-item,.accordion-button{
background:var(--crm-surface-raised)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
.select2-container--default .select2-selection__rendered,.select2-container--default .select2-selection__placeholder,.select2-results__message,
.ui-datepicker th,.ui-datepicker td,.popover-header,.popover-body,.accordion-button:not(.collapsed){color:var(--crm-text)!important}
.select2-container--default .select2-selection__placeholder{color:var(--crm-placeholder)!important}
.ui-datepicker a,.flatpickr-day{color:var(--crm-text)!important}.ui-datepicker a:hover,.flatpickr-day:hover{background:var(--crm-option-hover)!important}
.ui-datepicker .ui-state-active,.flatpickr-day.selected{background:var(--crm-option-active)!important;border-color:var(--crm-primary)!important}
.modal-content,.popover,.toast,.accordion-item{border:1px solid var(--crm-border)!important}.modal-header,.modal-footer,.popover-header,.accordion-button{border-color:var(--crm-divider)!important}
select{color-scheme:inherit}select option,select optgroup{background:var(--crm-dropdown-bg);color:var(--crm-text)}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{
-webkit-text-fill-color:var(--crm-text)!important;box-shadow:0 0 0 1000px var(--crm-surface) inset!important;caret-color:var(--crm-text)}
.crm-theme-toggle{display:inline-grid!important;place-items:center;flex:0 0 44px;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:1px solid rgba(255,255,255,.36)!important;border-radius:12px!important;background:rgba(255,255,255,.08)!important;color:#fff!important;font:inherit;cursor:pointer}
.crm-theme-toggle:hover{background:rgba(255,255,255,.16)!important}.crm-theme-toggle [data-theme-icon]{font-size:22px;line-height:1;transform:translateY(-1px)}
.auth-theme{position:fixed;z-index:20;top:16px;right:16px}.auth-theme .crm-theme-toggle{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important;box-shadow:var(--crm-shadow-sm)}
html[data-theme="dark"] .bg-white{background:var(--crm-surface)!important}html[data-theme="dark"] .text-dark{color:var(--crm-text)!important}
html[data-theme="dark"] h1,html[data-theme="dark"] h2,html[data-theme="dark"] h3,html[data-theme="dark"] h4,html[data-theme="dark"] h5,html[data-theme="dark"] h6{color:var(--crm-text)!important}
html[data-theme="dark"] .executive-card,html[data-theme="dark"] .critical-strip>div,html[data-theme="dark"] .crm-op-card,
html[data-theme="dark"] .crm-action-link,html[data-theme="dark"] .crm-quick-links a,
html[data-theme="dark"] .crm-card,html[data-theme="dark"] .crm-kpi,
html[data-theme="dark"] .crm-card-head,html[data-theme="dark"] .crm-card-body{
background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .crm-card-title,html[data-theme="dark"] .crm-kpi-v{color:var(--crm-text)!important}
html[data-theme="dark"] .crm-table td,html[data-theme="dark"] .crm-table .crm-main{color:var(--crm-text)!important}
html[data-theme="dark"] .crm-card-sub,html[data-theme="dark"] .crm-kpi-l,html[data-theme="dark"] .crm-kpi-d,html[data-theme="dark"] .crm-meta{color:var(--crm-text-muted)!important}
html[data-theme="dark"] .auth-card,html[data-theme="dark"] .auth-panel{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .auth-panel__subtitle{color:var(--crm-text-muted)!important}
html[data-theme="light"] .auth-panel__subtitle{color:#475569!important}
html[data-theme="light"] .critical-strip__total,html[data-theme="light"] .critical-strip__total span{color:#881337!important}
html[data-theme="light"] .task-lead-meta,html[data-theme="light"] .crm-commercial-empty{color:#475569!important}
html[data-theme="light"] .btn-outline-danger{color:#b91c1c!important;border-color:#dc2626!important}
html[data-theme="light"] .lead-fact span,html[data-theme="light"] .form-hint{color:#475569!important}
html[data-theme="light"] .task-section__count{color:#1e3a8a!important}
html[data-theme="light"] .btn-success,html[data-theme="dark"] .btn-success{background:#047857!important;border-color:#047857!important;color:#fff!important}
html[data-theme="dark"] .crm-empty p,html[data-theme="dark"] .crm-commercial-empty,html[data-theme="dark"] .task-lead-meta{color:#b8c4d6!important}
html[data-theme="dark"] .task-lead-name a,html[data-theme="dark"] .lead-fact strong,html[data-theme="dark"] .lead-fact span{color:var(--crm-text)!important}
html[data-theme="dark"] .badge.bg-success{background:#064e3b!important;color:#d1fae5!important}
html[data-theme="dark"] .badge.bg-primary{background:#1e40af!important;color:#eff6ff!important}
html[data-theme="dark"] .badge-danger,html[data-theme="dark"] .badge-priority-a{background:#7f1d1d!important;color:#fee2e2!important}
html[data-theme="dark"] .commercial-message-panel h2,html[data-theme="dark"] .commercial-message-panel strong{color:var(--crm-text)!important}
html[data-theme="dark"] .connection-result,html[data-theme="dark"] .connection-result--ok{background:#064e3b!important;color:#d1fae5!important}
html[data-theme="dark"] .ia13e-panel,html[data-theme="dark"] .ia13e-card,html[data-theme="dark"] .ia13e-summary,html[data-theme="dark"] .ia13e-help{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .ia13e-panel h2,html[data-theme="dark"] .ia13e-panel p,html[data-theme="dark"] .ia13e-eyebrow{color:var(--crm-text)!important}
html[data-theme="dark"] .executive-card span,html[data-theme="dark"] .executive-card small,html[data-theme="dark"] .critical-strip span{color:var(--crm-text-muted)!important}
html[data-theme="dark"] .executive-card strong,html[data-theme="dark"] .critical-strip strong{color:var(--crm-text)!important}
html[data-theme="dark"] .critical-strip__total{background:var(--crm-danger-soft)!important;border-color:var(--crm-danger)!important}
html[data-theme="dark"] .task-summary-card,html[data-theme="dark"] .task-table tbody td,html[data-theme="dark"] .task-table tbody th,
html[data-theme="dark"] .crm-ia-server-details,html[data-theme="dark"] .ia136b-kpi,html[data-theme="dark"] .ia136b-card,
html[data-theme="dark"] .wa-message,html[data-theme="dark"] .kanban-card,html[data-theme="dark"] .pipeline-card{
background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .crm-ia-server-details>summary,html[data-theme="dark"] .ia136b-history>summary{
background:var(--crm-surface-raised)!important;color:var(--crm-text)!important;border-color:var(--crm-divider)!important}
html[data-theme="dark"] .crm-ia-server-title,html[data-theme="dark"] .ia136b-card h2,html[data-theme="dark"] .ia136b-card p,
html[data-theme="dark"] .ia136b-history>summary{color:var(--crm-text)!important}
html[data-theme="dark"] .crm-ia-server-subtitle{color:var(--crm-text-muted)!important}
html[data-theme="dark"] .task-summary-card:hover,html[data-theme="dark"] .task-summary-card.is-active{background:var(--crm-surface-raised)!important;color:var(--crm-text)!important}
html[data-theme="dark"] .task-summary-card small,html[data-theme="dark"] label,html[data-theme="dark"] .task-table .text-muted{color:var(--crm-text-muted)!important}
html[data-theme="dark"] .task-row--interested{background:var(--crm-success-soft)!important}
html[data-theme="dark"] .crm-status-badge--success{color:var(--crm-success);background:var(--crm-success-soft);border-color:var(--crm-success)}
html[data-theme="dark"] .crm-status-badge--warning{color:var(--crm-warning);background:var(--crm-warning-soft);border-color:var(--crm-warning)}
html[data-theme="dark"] .crm-status-badge--danger{color:var(--crm-danger);background:var(--crm-danger-soft);border-color:var(--crm-danger)}
html[data-theme="dark"] .crm-status-badge--info{color:var(--crm-info);background:var(--crm-info-soft);border-color:var(--crm-info)}
html[data-theme="dark"] .crm-status-badge--neutral{color:var(--crm-text-muted);background:var(--crm-surface-muted);border-color:var(--crm-border)}
html[data-theme="dark"] .task-section__count{background:var(--crm-surface-raised)!important}
html[data-theme="dark"] .z3-card,html[data-theme="dark"] .z3-stats>div,html[data-theme="dark"] .z3-kanban-card{
background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .z3-kanban-col{background:var(--crm-surface-muted)!important;color:var(--crm-text)!important;border:1px solid var(--crm-border)}
html[data-theme="dark"] .z3-badge{background:var(--crm-primary-soft)!important;color:var(--crm-primary)!important}
html[data-theme="dark"] .z3-timeline article,html[data-theme="dark"] .z3-metric-row{border-color:var(--crm-border)!important}
html[data-theme="dark"] .wa-row,html[data-theme="dark"] .wa-side,html[data-theme="dark"] .wa-compose{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .wa-contact strong,html[data-theme="dark"] .wa-assignment-summary strong,html[data-theme="dark"] .wa-contact-data dd,html[data-theme="dark"] #wa-ai-status strong{color:var(--crm-text)!important}
html[data-theme="dark"] .wa-messages{background:var(--crm-surface-muted)!important}html[data-theme="dark"] .wa-message.outgoing{background:var(--crm-success-soft)!important;color:var(--crm-text)!important}
html[data-theme="dark"] .knowledge-card,html[data-theme="dark"] .knowledge-panel,html[data-theme="dark"] .assistant-panel{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .pwa-card-table tr{background:var(--crm-surface)!important;color:var(--crm-text)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .pwa-bottom-nav{background:rgba(21,34,56,.98)!important;border-color:var(--crm-border)!important}
html[data-theme="dark"] .pwa-bottom-nav a{color:var(--crm-text-muted)!important}html[data-theme="dark"] .pwa-bottom-nav a.is-active{color:var(--crm-primary)!important;background:var(--crm-primary-soft)!important}
html[data-theme="dark"] canvas{filter:saturate(.88) brightness(.92)}
@media(max-width:760px){.pwa-mobile-user-actions{grid-template-columns:1fr auto auto auto!important}.pwa-mobile-user-name{min-width:0}.pwa-mobile-user-actions .crm-theme-toggle{align-self:center}.auth-theme{top:8px;right:8px}.page-content{max-width:100%}.crm-page-header__actions,.crm-commercial-actionbar,.form-actions,.actions,.crm-actions,.ka-actions,.kb-header__actions{width:100%;align-items:stretch}.crm-page-header__actions>.btn,.crm-commercial-actionbar>.btn,.form-actions>.btn,.actions>.btn,.ka-actions>.btn{flex:1 1 140px}.modal-dialog{margin:10px!important}.modal-content{max-height:calc(100dvh - 20px);overflow:auto}.table td .btn{min-height:40px}}

/* Z12C48ZG DASHBOARD DARK CARDS START */
/*
 * Recupera la jerarquia visual del dashboard en modo oscuro.
 * El modo claro no recibe ninguna regla nueva.
 */
html[data-theme="dark"] body .executive-card {
    background: linear-gradient(145deg, #17263c, #142237) !important;
    color: #edf5ff !important;
    border-color: #344d69 !important;
    box-shadow: 0 7px 22px rgba(0, 0, 0, .16) !important;
}

html[data-theme="dark"] body .executive-card > span {
    color: #a9bad0 !important;
}

html[data-theme="dark"] body .executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card > small {
    color: #aebed1 !important;
}

html[data-theme="dark"] body .executive-card:hover {
    background: linear-gradient(145deg, #1b2d47, #172a43) !important;
    border-color: #4c6d91 !important;
}

html[data-theme="dark"] body .executive-card--blue.executive-card {
    background: #122a49 !important;
    border-color: #315f94 !important;
    border-left: 4px solid #5b9cff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

 {
    background: #17365e !important;
    border-color: #5b9cff !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body .executive-card--blue.executive-card > span {
    color: #a9caff !important;
}

html[data-theme="dark"] body .executive-card--blue.executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card--blue.executive-card > small {
    color: #b7c5d5 !important;
}
html[data-theme="dark"] body .executive-card--cyan.executive-card {
    background: #102d3b !important;
    border-color: #2d697b !important;
    border-left: 4px solid #31c7dc !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

 {
    background: #153a4b !important;
    border-color: #31c7dc !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body .executive-card--cyan.executive-card > span {
    color: #9ceaf4 !important;
}

html[data-theme="dark"] body .executive-card--cyan.executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card--cyan.executive-card > small {
    color: #b7c5d5 !important;
}
html[data-theme="dark"] body .executive-card--indigo.executive-card {
    background: #252342 !important;
    border-color: #5c5488 !important;
    border-left: 4px solid #9487ff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

 {
    background: #312e55 !important;
    border-color: #9487ff !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body .executive-card--indigo.executive-card > span {
    color: #c5bdff !important;
}

html[data-theme="dark"] body .executive-card--indigo.executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card--indigo.executive-card > small {
    color: #b7c5d5 !important;
}
html[data-theme="dark"] body .executive-card--green.executive-card {
    background: #163329 !important;
    border-color: #356b56 !important;
    border-left: 4px solid #39cf82 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

 {
    background: #1c4235 !important;
    border-color: #39cf82 !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body .executive-card--green.executive-card > span {
    color: #a7e9c8 !important;
}

html[data-theme="dark"] body .executive-card--green.executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card--green.executive-card > small {
    color: #b7c5d5 !important;
}
html[data-theme="dark"] body .executive-card--slate.executive-card {
    background: #202b39 !important;
    border-color: #536274 !important;
    border-left: 4px solid #9aaabc !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

 {
    background: #293746 !important;
    border-color: #9aaabc !important;
    transform: translateY(-1px);
}

html[data-theme="dark"] body .executive-card--slate.executive-card > span {
    color: #c6d0dc !important;
}

html[data-theme="dark"] body .executive-card--slate.executive-card > strong {
    color: #f7fbff !important;
}

html[data-theme="dark"] body .executive-card--slate.executive-card > small {
    color: #b7c5d5 !important;
}

html[data-theme="dark"] body .critical-strip > div {
    background: #142237 !important;
    color: #edf5ff !important;
    border-color: #344d69 !important;
}

html[data-theme="dark"] body .critical-strip__total {
    background: #3a1d29 !important;
    color: #ffd7df !important;
    border-color: #8e4058 !important;
}

html[data-theme="dark"] body .critical-strip__total span,
html[data-theme="dark"] body .critical-strip__total strong {
    color: #ffb4c4 !important;
}
/* Z12C48ZG DASHBOARD DARK CARDS END */
