/* GENERADO por dev/build-dark.mjs: no editar a mano. Modo oscuro (22/10/2026): solo se aplica con
   :root[data-theme="dark"] (Cuenta › Apariencia). El modo claro no cambia. */
:root[data-theme="dark"]{color-scheme:dark;--navy:#E8EAEE;--navy-2:#6B8EF7;--ink:#E8EAEE;--muted:#9AA3B2;--line:#2E333C;--bg:#121418;--card:#1B1E24;--surface-2:#22262E;--blue:#6B8EF7;--green:#4ADE80;--amber:#F5A55B;--danger:#F87171;--shadow:0 1px 2px rgba(0,0,0,.4);--acc:#5B82F5;--acc-ink:#9DB5FF;--acc-soft:#1E2A4A;--ok:#4ADE80;--ok-soft:#15301F;--warn:#F5A55B;--warn-soft:#3A2A14;--bad:#F87171;--bad-soft:#3A1C1C;--chip:#262A32;color:var(--ink);background:var(--bg)}
:root[data-theme="dark"] .stat-card{background:var(--card)}
:root[data-theme="dark"] .contact-more{background:var(--card);color:#D7DCE5}
:root[data-theme="dark"] .lead-media .fallback{color:#D7DCE5}
:root[data-theme="dark"] .lead-reason{color:#AFC3E6}
:root[data-theme="dark"] .lead-score{background:var(--surface-2)}
:root[data-theme="dark"] .lead-tags span{color:#AFC3E6}
:root[data-theme="dark"] .lead-actions a,:root[data-theme="dark"] .lead-actions button{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .lead-actions .mail{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .lead-actions .call{background:#1E2A4A}
:root[data-theme="dark"] .followup{background:var(--card)}
:root[data-theme="dark"] .tabs{background:var(--card)}
:root[data-theme="dark"] .tabs button{background:var(--card)}
:root[data-theme="dark"] .search{background:var(--card)}
:root[data-theme="dark"] .filters select{background:var(--card);color:#D7DCE5}
:root[data-theme="dark"] .client-row{background:var(--card)}
:root[data-theme="dark"] .client-logo{color:#D7DCE5}
:root[data-theme="dark"] .bottom-nav{background:rgba(27,30,36,0.96)}
:root[data-theme="dark"] .detail-dialog,:root[data-theme="dark"] .sheet-dialog{background:var(--surface-2)}
:root[data-theme="dark"] .detail-dialog article,:root[data-theme="dark"] .sheet-dialog article{background:var(--surface-2)}
:root[data-theme="dark"] .detail-dialog header,:root[data-theme="dark"] .sheet-dialog header{background:var(--card)}
:root[data-theme="dark"] .detail-hero{background:var(--card)}
:root[data-theme="dark"] .priority-pill{color:#F2C27A;background:#3A2E14}
:root[data-theme="dark"] .detail-section{background:var(--card)}
:root[data-theme="dark"] .contact-box .avatar{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .contact-actions a{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .auth-gate{background:var(--acc)}
:root[data-theme="dark"] .auth-card button{background:var(--card)}
:root[data-theme="dark"] .loading{background:var(--acc)}
:root[data-theme="dark"] body{background:#1E2A4A}
:root[data-theme="dark"] .lead-signal{color:#AFC3E6}
:root[data-theme="dark"] .fact small{color:#AFC3E6}
:root[data-theme="dark"] .tag-blocked{background:#3A1C1C !important;color:#F59A9A !important}
:root[data-theme="dark"] .region-allowed{color:#7EDC9F !important}
:root[data-theme="dark"] .region-blocked{color:#F59A9A !important}
:root[data-theme="dark"] .region-row small{color:#AFC3E6}
:root[data-theme="dark"] .region-state{background:var(--card)}
:root[data-theme="dark"] .region-state.allowed{color:#7EDC9F;background:var(--surface-2)}
:root[data-theme="dark"] .region-state.blocked{color:#F59A9A;background:#3A1C1C}
:root[data-theme="dark"] .region-state.unknown{color:#AFC3E6}
:root[data-theme="dark"] .contact-primary{color:#AFC3E6}
:root[data-theme="dark"] .wa-opted_in{color:#7EDC9F !important}
:root[data-theme="dark"] .wa-public_business{color:#F2C27A !important}
:root[data-theme="dark"] .wa-do_not_contact{color:#F59A9A !important}
:root[data-theme="dark"] .wa-note{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .wa-consent button,:root[data-theme="dark"] .dnc-toggle{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .dnc-toggle{color:#F59A9A}
:root[data-theme="dark"] .dnc-banner{background:#3A1C1C;color:#F59A9A}
:root[data-theme="dark"] .device-row small{color:#AFC3E6}
:root[data-theme="dark"] .device-row button{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .client-actions a{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .stage-pill.new{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .stage-pill.active,:root[data-theme="dark"] .stage-pill.won{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .stage-pill.later{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .stage-pill.lost{background:#3A1C1C;color:#F59A9A}
:root[data-theme="dark"] .workflow-actions button{background:var(--card);color:#D7DCE5}
:root[data-theme="dark"] .workflow-actions .wf-quiet{color:#F59A9A;background:var(--card)}
:root[data-theme="dark"] .workflow-dialog form{background:var(--card)}
:root[data-theme="dark"] .workflow-sheet-head button{color:#AFC3E6}
:root[data-theme="dark"] .wf-field input,:root[data-theme="dark"] .wf-field select{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .workflow-sheet-actions button{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .lead-media.is-fallback{color:#D7DCE5}
:root[data-theme="dark"] .commercial-dialog{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .commercial-header button{color:#AFC3E6}
:root[data-theme="dark"] .commercial-content label{color:#AFC3E6}
:root[data-theme="dark"] .commercial-content input:not([type=file]),:root[data-theme="dark"] .commercial-content select,:root[data-theme="dark"] .commercial-content textarea{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .commercial-content .commercial-mailapp label{color:#AFC3E6}
:root[data-theme="dark"] .commercial-content button{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .commercial-warning{color:#F59A9A;background:#3A1C1C}
:root[data-theme="dark"] .commercial-subactions button{color:#AFC3E6}
:root[data-theme="dark"] .commercial-ask p{color:#AFC3E6}
:root[data-theme="dark"] .g-demo{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .g-seg{background:#2A2F38}
:root[data-theme="dark"] .g-seg button{color:#AAB4C3}
:root[data-theme="dark"] .g-seg button.active{background:var(--card)}
:root[data-theme="dark"] .g-link{background:var(--card)}
:root[data-theme="dark"] .g-section{background:var(--card)}
:root[data-theme="dark"] .kpi{background:var(--card)}
:root[data-theme="dark"] .g-funnel-row b{color:#D7DCE5}
:root[data-theme="dark"] .g-diagnosis.warn{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .g-diagnosis.ok{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .g-diagnosis.pending{color:#AAB4C3}
:root[data-theme="dark"] .g-chips button{background:var(--card);color:#AAB4C3}
:root[data-theme="dark"] .g-chips button.active{background:var(--acc)}
:root[data-theme="dark"] .g-split .trad{background:#1E2A4A}
:root[data-theme="dark"] .t-fit button{background:var(--card);color:#D7DCE5}
:root[data-theme="dark"] .t-row>span:first-child{color:#AAB4C3}
:root[data-theme="dark"] .g-year select{background:var(--card)}
:root[data-theme="dark"] .g-spark i.future{background:#2A2F38}
:root[data-theme="dark"] .g-story{color:#D7DCE5}
:root[data-theme="dark"] .g-mini button{background:var(--surface-2)}
:root[data-theme="dark"] .g-effort div{color:#AAB4C3}
:root[data-theme="dark"] .g-cell{background:var(--card)}
:root[data-theme="dark"] .g-cell.best{background:#15301F}
:root[data-theme="dark"] .g-combos li button{background:var(--card)}
:root[data-theme="dark"] .g-tags i{color:#D7DCE5}
:root[data-theme="dark"] .drill-sheet{background:var(--card)}
:root[data-theme="dark"] .t-meeting{background:var(--surface-2)}
:root[data-theme="dark"] .t-meeting-actions button{background:var(--card)}
:root[data-theme="dark"] .t-meeting-actions button[data-meeting=cancel]{color:#F59A9A}
:root[data-theme="dark"] .agenda-item{background:var(--card)}
:root[data-theme="dark"] .agenda-ics{background:var(--surface-2)}
:root[data-theme="dark"] .g-viewas .g-seg{background:#1E2A4A}
:root[data-theme="dark"] .g-viewas .g-seg button.active{background:var(--acc)}
:root[data-theme="dark"] #gestionBody[data-panel=seller] .g-story{background:var(--card)}
:root[data-theme="dark"] .g-insight{background:var(--card)}
:root[data-theme="dark"] .g-insight p{color:#D7DCE5}
:root[data-theme="dark"] .g-insight.pending{background:var(--surface-2)}
:root[data-theme="dark"] .score-prioritaria{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .score-alta{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .score-baja{background:var(--surface-2)}
:root[data-theme="dark"] .p-card span{color:#AAB4C3}
:root[data-theme="dark"] .p-card.sale{background:#15301F}
:root[data-theme="dark"] .p-card.sale small{color:#7EDC9F}
:root[data-theme="dark"] .detail-quick button{background:var(--card)}
:root[data-theme="dark"] .ns-more .ns-quiet{background:var(--card);color:#F59A9A}
:root[data-theme="dark"] .ns-data summary{color:#D7DCE5}
:root[data-theme="dark"] .workflow-dialog .wf-field textarea{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .t-quote-notes{background:var(--surface-2);color:#D7DCE5}
:root[data-theme="dark"] .t-quote-mail:disabled{background:#1E2A4A}
:root[data-theme="dark"] .t-quote-sent{color:#7EDC9F}
:root[data-theme="dark"] .ns-ch{background:var(--card)}
:root[data-theme="dark"] .ns-ch.ns-whatsapp:not(:disabled){background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .ns-ch:disabled{background:var(--surface-2)}
:root[data-theme="dark"] .task-tag{color:#D7DCE5}
:root[data-theme="dark"] .task-follow .task-tag{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .task-renewal .task-tag{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .client-row small.client-renewal{color:#D7DCE5}
:root[data-theme="dark"] .client-row small.client-renewal.urgent{color:#F2C27A}
:root[data-theme="dark"] .task-noreply .task-tag{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .task-more{background:var(--card)}
:root[data-theme="dark"] .g-fold{background:var(--surface-2)}
:root[data-theme="dark"] .g-fold .g-head h2{color:#D7DCE5}
:root[data-theme="dark"] .g-follow-head{color:#AAB4C3}
:root[data-theme="dark"] .g-hero span{color:#D7DCE5}
:root[data-theme="dark"] .g-split-legend .trad{background:#1E2A4A}
:root[data-theme="dark"] .int-card{background:var(--card)}
:root[data-theme="dark"] .int-status.bad{background:#3A1C1C}
:root[data-theme="dark"] .int-status.off{color:#AAB4C3}
:root[data-theme="dark"] .privacy-sum{color:#AAB4C3}
:root[data-theme="dark"] .g-alert small{color:#AAB4C3}
:root[data-theme="dark"] .g-alert.warn{background:#3A2E14}
:root[data-theme="dark"] .g-alert.ok{background:#15301F}
:root[data-theme="dark"] .g-use{color:#AAB4C3}
:root[data-theme="dark"] body,:root[data-theme="dark"] #gestionBody{background:var(--card) !important}
:root[data-theme="dark"] .crm-seo{color:#D7DCE5}
:root[data-theme="dark"] .crm-seo li.warn{color:#F2C27A}
:root[data-theme="dark"] .crm-seo li.info{color:#AAB4C3}
:root[data-theme="dark"] .crm-match-warn{color:#F2C27A}
:root[data-theme="dark"] .g-asof{color:#AAB4C3}
:root[data-theme="dark"] .g-asof input{background:var(--card)}
:root[data-theme="dark"] .presence-chip{color:#AAB4C3}
:root[data-theme="dark"] .ns-ch.ns-linkedin:not(:disabled){background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .radar-head{background:var(--card)}
:root[data-theme="dark"] .radar-sum button{background:var(--card)}
:root[data-theme="dark"] .radar-sum span{color:#AAB4C3}
:root[data-theme="dark"] .radar-toggle{color:#D7DCE5}
:root[data-theme="dark"] .radar-filter select{background:var(--card)}
:root[data-theme="dark"] .radar-card{background:var(--card)}
:root[data-theme="dark"] .radar-why{color:#D7DCE5 !important}
:root[data-theme="dark"] .radar-chips i{color:#D7DCE5}
:root[data-theme="dark"] .radar-chips i.ok{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .radar-chips i.demo{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .radar-score.hot{background:#3A2E14;color:#F2C27A}
:root[data-theme="dark"] .radar-score.high{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .radar-score.low{background:var(--surface-2)}
:root[data-theme="dark"] .radar-hot{color:#F2C27A}
:root[data-theme="dark"] .radar-ideas{color:#D7DCE5}
:root[data-theme="dark"] .radar-promote:disabled{background:#1E2A4A}
:root[data-theme="dark"] .today-radar{background:#3A2E14}
:root[data-theme="dark"] .today-radar small{color:#F2C27A}
:root[data-theme="dark"] .today-radar b{color:#F2C27A}
:root[data-theme="dark"] .radar-more{background:var(--card)}
:root[data-theme="dark"] .radar-pending{color:#AFC3E6}
:root[data-theme="dark"] .roster{background:var(--card)}
:root[data-theme="dark"] .roster-list li{color:#D7DCE5}
:root[data-theme="dark"] .roster-list i.ok{background:#15301F;color:#7EDC9F}
:root[data-theme="dark"] .fichas-families button{background:var(--card);color:#D7DCE5}
:root[data-theme="dark"] .ficha-card{background:var(--card)}
:root[data-theme="dark"] .ficha-btn{background:var(--card)}
:root[data-theme="dark"] .d-confirm:disabled{background:#1E2A4A}
:root[data-theme="dark"] .t-low{background:#1E2A4A}
:root[data-theme="dark"] .d-history{color:#D7DCE5}
:root[data-theme="dark"] .d-tip{color:#AFC3E6}
:root[data-theme="dark"] .filters-toggle{background:var(--card)}
:root[data-theme="dark"] .lead-actions .disabled,:root[data-theme="dark"] .lead-actions [aria-disabled="true"],:root[data-theme="dark"] .contact-actions .disabled,:root[data-theme="dark"] .contact-actions [aria-disabled="true"]{background:var(--surface-2) !important}
:root[data-theme="dark"] .client-row .client-actions > a,:root[data-theme="dark"] .client-row .client-actions > span{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .client-row .client-actions .mail{background:#1E2A4A;color:#AFC3E6}
:root[data-theme="dark"] .client-actions .disabled,:root[data-theme="dark"] .client-actions [aria-disabled="true"]{background:var(--surface-2) !important}
:root[data-theme="dark"] .client-row .client-actions .whatsapp-try{background:var(--card);color:#7EDC9F}
:root[data-theme="dark"] .client-row .client-feedback{background:var(--surface-2)}
:root[data-theme="dark"] .client-row .client-feedback b{color:#AFC3E6}
:root[data-theme="dark"] .client-row .client-feedback button{background:var(--card);color:#AFC3E6}
:root[data-theme="dark"] .client-row .client-feedback .client-feedback-close{color:#AFC3E6}
:root[data-theme="dark"] .topbar{background:rgba(27,30,36,0.94)}
:root[data-theme="dark"] .profile-button{background:var(--acc)}
:root[data-theme="dark"] .followup .avatar,:root[data-theme="dark"] .client-logo{color:#AFC3E6}
:root[data-theme="dark"] .chip,:root[data-theme="dark"] .lead-tags span,:root[data-theme="dark"] .tag{color:#D7DCE5}
:root[data-theme="dark"] .g-seg button.active,:root[data-theme="dark"] .g-chips button.active,:root[data-theme="dark"] .fichas-families button.active,:root[data-theme="dark"] .t-fit button.active,:root[data-theme="dark"] .g-viewas .g-seg button.active{background:var(--acc)}
:root[data-theme="dark"] .tabs button.active{background:var(--acc)}
:root[data-theme="dark"] .detail-dialog header,:root[data-theme="dark"] .sheet-dialog header{background:rgba(27,30,36,0.94)}
:root[data-theme="dark"] .toast{background:var(--acc)}
:root[data-theme="dark"] .crm-preview{background:var(--surface-2)}
:root[data-theme="dark"] .crm-view .radar-chips i{color:#D7DCE5}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:var(--surface-2);color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] dialog,:root[data-theme="dark"] dialog article{background:var(--card);color:var(--ink)}
:root[data-theme="dark"] img[src$=".svg"]:not([alt=""]){filter:none}
:root[data-theme="dark"] .crm-rep-table th,:root[data-theme="dark"] .crm-rep-table td{border-color:var(--line)}
:root[data-theme="dark"] .topbar .brand strong,:root[data-theme="dark"] .topbar .brand b{color:var(--ink)}
:root[data-theme="dark"] .profile-button{background:var(--surface-2);color:var(--ink)}
:root[data-theme="dark"] .toast{background:var(--surface-2);color:var(--ink);border:1px solid var(--line)}
