/* Wallet Personal light palette. Dark mode retains the approved DZIB surfaces.
   The B13.4 Malla owns its own semantic colors in both modes. */
html[data-dzib-theme=dark]{color-scheme:dark}
html[data-dzib-theme=light]{color-scheme:light}
body.dzib-theme-ui .dzib-header-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
body.dzib-theme-ui button.dzib-theme-toggle{min-height:40px;white-space:nowrap;background:#183445;border:1px solid #527889;color:#f5f7f8;padding:8px 12px;font:inherit;font-size:.875rem;border-radius:10px;cursor:pointer}
body.dzib-theme-ui .dzib-theme-toggle:focus-visible{outline:3px solid #48e5a3;outline-offset:3px}
/* Definitions and headings precede smaller supporting explanations. */
body.dzib-theme-ui main :is(.hero h1,.business-view-heading h1,.mep02-head h1,.b21-focus-copy h1,.edzib-hero h1,.wallet-hero h1):not(.dzib-v6 *):not(main.canvas-vivo-p0 *){font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.15}
body.dzib-theme-ui main :is(.section-heading h2,.wallet-section-head h2,.mep02-section-title h2,.edzib-control-heading h2):not(.dzib-v6 *){font-size:clamp(1.25rem,2vw,1.55rem);line-height:1.25}
body.dzib-theme-ui main :is(.business-definition,.b21-focus-copy h2,.system-action-link strong,.guided-form label b,.business-diagnostic-hero .business-definition):not(.dzib-v6 *){font-size:1.0625rem;font-weight:750;line-height:1.4}
body.dzib-theme-ui main :is(.hint,.view-intro,.business-view-heading>p,.section-heading>p,.wallet-section-head>p,.system-action-link small,.mep02-section-title>p,.edzib-control-heading>small):not(.dzib-v6 *){font-size:.875rem;line-height:1.55}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui{
 --dzib-bg:#f0f4f7;--dzib-bg-soft:#e1edf2;--dzib-surface:#fff;--dzib-surface-raised:#e1edf2;
 --dzib-panel:#fff;--dzib-panel-2:#e1edf2;--dzib-line:#a2b5c4;--dzib-line-strong:#809aab;
 --dzib-text:#162b3d;--dzib-muted:#42576a;--dzib-accent:#076849;--dzib-accent-strong:#075d40;
 --dzib-accent-soft:#e2f5ec;--dzib-focus:#076849;--dzib-success:#076849;--dzib-warning:#805000;--dzib-danger:#b42335;
 --bg:var(--dzib-bg);--panel:var(--dzib-panel);--panel2:var(--dzib-panel-2);--line:var(--dzib-line);--text:var(--dzib-text);--muted:var(--dzib-muted);--cyan:var(--dzib-focus);--green:var(--dzib-success);--yellow:var(--dzib-warning);--red:var(--dzib-danger);--purple:#5949a8;
 background:#f0f4f7;color:#162b3d;
}
/* Explicit surfaces also cover modules that predate the shared color tokens. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.platform-header,.main-nav,.panel,.card,.module-card,.metric,.metric-card,.dtr-menu summary,.dtr-menu-panel,.business-view-nav,.view-action-row,.system-action-link,.flow-return-nav a,.voice-panel,.voice-launcher,.b21-focus-stage,.b21-priority-band,.b21-business-strip,.b21-wallet-head,.b21-wallet-card,.b21-wallet-anchor,.b21-pulse-item,.b21-instrument,.b21-director-signal,.b21-mode-compact,.b21-normal-company-grid>a,.b21-normal-system-grid>a,.b21-system-node,.mep02-depth-step,.mep02-system-card,.mep02-position-matrix>section,.mep02-verdict,.mep02-limits,.mep02-support-grid>a,.pillar,.adn-block,.vital-card,.structure-notice,.structure-summary,.structure-card,.executive-alert,.chat-prompt,.decision-bubble,.decision-question,.chat-prompt,.edzib-hero,.edzib-command,.edzib-engine,.edzib-section,.edzib-detail,.edzib-capture,.edzib-metrics article,.edzib-context-grid article,.segment-card,.wallet-hero,.wallet-source,.wallet-core,.wallet-orbit,.wallet-flow,.wallet-section,.wallet-pulse,.wallet-pulse-grid>div,.wallet-lower>.panel,.wallet-alert,.canvas-p0-toolbar,.canvas-p0-instrument,.canvas-p0-model,.canvas-p0-node,.canvas-p0-connection,.canvas-p0-evidence-row,.canvas-p0-action,.canvas-p0-lab-note,.canvas-bmc-dialog):not(.dzib-v6):not(.dzib-v6 *):not(.canvas-p0-bmc *){
 background:#fff;color:#162b3d;border-color:#a2b5c4;box-shadow:0 3px 16px #162b3d09;
}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(h1,h2,h3,h4,p,label,td,th,.identity-chip span,.dtr-menu-panel a,.business-section-nav a,.flow-return-nav a,.nav-button,.voice-close,.canvas-bmc-dialog .canvas-fact p):not(.dzib-v6 *){color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(small,.hint,.view-intro,.voice-status,.voice-privacy,.voice-panel p,.wallet-section-head p,.wallet-source-detail,.wallet-source-detail summary,.wallet-p0 em,.wallet-orbit>span,.wallet-orbit>small,.wallet-pulse-item span,.canvas-bmc-detail-status,.canvas-bmc-detail-note,.canvas-bmc-dialog .canvas-fact span,.canvas-p0-fact span,.canvas-p0-foot span,.mep02-field small,.mep02-step-index,.b21-mode-hint,.b21-wallet-card>span:not(.b21-wallet-state),footer):not(.dzib-v6 *){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.eyebrow,.text-link,.business-nav-context,.canvas-p0-open,.wallet-flow-arrow,.wallet-orbit a,.wallet-alert a,.b21-wallet-card>em,.b21-wallet-card>small,.b21-pulse-item em):not(.dzib-v6 *){color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.metric b,.wallet-p0 b,.wallet-p0 strong,.mep02-verdict h2,.mep02-step-index,.mep02-depth-step summary b,.mep02-field b,.mep02-system-card summary b,.mep02-position-chip,.canvas-p0-fact b,.canvas-p0-head small,.canvas-p0-evidence-row b,.b21-focus-copy strong):not(.dzib-v6 *){color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(input,select,textarea,.b21-business-menu summary,.b21-business-menu form,.b21-wallet-coverage,.b21-director-counts>span,.b21-last-change,.b21-director-blocker-list>a,.mep02-field,.mep02-limit-list a,.canvas-p0-fact,.wallet-source-detail,code):not(.dzib-v6 *){background:#fff;color:#162b3d;border-color:#809aab}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(input,textarea)::placeholder{color:#526779;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(button,.action):not(.dzib-v6 *){background:#076849;color:#fff;border-color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.action.secondary,.dzib-theme-toggle,.canvas-p0-mode,.navigation-mode-switch button:not(.is-active)):not(.dzib-v6 *){background:#e1edf2;color:#16364a;border-color:#809aab}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.business-section-nav a.active,.canvas-p0-mode.is-active,.main-nav a.is-active):not(.dzib-v6 *){background:#076849;color:#fff}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dtr-menu-panel a:hover,.dtr-menu-panel a.is-active,.main-nav a:hover):not(.dzib-v6 *){background:#e2f5ec;color:#075d40}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dtr-logout{background:#fbe2e4!important;border-color:#b42335!important;color:#7d1d28!important}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(a,button,input,select,textarea,summary):focus-visible:not(.dzib-v6 *){outline:3px solid #076849;outline-offset:3px}
/* Keep Canvas categories distinct in daylight, without changing its geometry. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-key_partners{--canvas-color:#5940a2;--canvas-bg:#f1ebfc}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-key_activities{--canvas-color:#8c4910;--canvas-bg:#fff0e1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-key_resources{--canvas-color:#765500;--canvas-bg:#fff7d9}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-value_proposition{--canvas-color:#076849;--canvas-bg:#e2f5ec}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-customer_relationships{--canvas-color:#943c6c;--canvas-bg:#fbe8f2}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-channels{--canvas-color:#065c78;--canvas-bg:#e0f4fa}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-customer_segments{--canvas-color:#234f9b;--canvas-bg:#e8effc}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-cost_structure{--canvas-color:#9c3434;--canvas-bg:#fceaea}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-revenue_streams{--canvas-color:#456d18;--canvas-bg:#edf6df}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-block{background:var(--canvas-bg);border-color:var(--canvas-color);color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc :is(p,b){color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-head small{color:var(--canvas-color)}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .canvas-p0-bmc .canvas-fact span{color:#42576a}
@media(max-width:600px){body.dzib-theme-ui .dzib-header-meta{gap:6px}body.dzib-theme-ui button.dzib-theme-toggle{padding:7px 9px;font-size:.8rem}}

html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-core-ring,.wallet-flow-node,.wallet-flow-step,.wallet-pulse-item,.wallet-reading,.b21-business-menu,.b21-wallet-dashboard,.b21-last-change,.b21-mode-compact,.mep02-depth-body,.mep02-systems-grid):not(.dzib-v6 *){background:#fff;color:#162b3d;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-core-ring span,.wallet-flow-node span,.wallet-flow-node small,.wallet-pulse-item small,.wallet-p0 .wallet-source span,.b21-business-summary>span:last-child):not(.dzib-v6 *){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.b21-wallet-anchor strong,.wallet-core-ring b,.wallet-orbit strong,.wallet-flow-node b,.wallet-pulse-item b,.b21-instrument b):not(.dzib-v6 *){color:#162b3d;text-shadow:none}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-pending,.b21-wallet-state.pending):not(.dzib-v6 *){color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .b21-wallet-outcome.is-negative .b21-wallet-state{color:#b42335;border-color:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.b21-wallet-donut:after,.b21-ring-visual:after):not(.dzib-v6 *){background:#fff}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-v6{color-scheme:dark}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui button.voice-launcher.intelligence-launcher{background:#e1edf2;color:#16364a;border-color:#809aab}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .voice-launcher .brand-intelligent-name{color:#16364a!important;text-shadow:none}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui footer :is(span,small,a){color:#42576a}

/* Daylight cards: change foreground and surface together. Home modules load
   after this sheet, so keep the theme scope stronger than their dark defaults. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.section-heading.compact,.b21-normal-launchpad>a,.b21-normal-metrics>span,.b21-focus-tags span,.b21-discovery-strip,.floor-step,.floor-stack .floor-step:last-child){background:#fff;color:#162b3d;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.b21-normal-summary>p,.b21-normal-launchpad span,.b21-focus-copy p,.b21-director-primary p){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.b21-normal-company-grid>a>span,.b21-health-semaphore span){color:#42576a;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.b21-system-node.state-sin-informacion,.b21-normal-system-grid .state-sin-informacion){opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance{--dg-green:#386a0b;--dg-text:#162b3d;--dg-muted:#42576a;--dg-edge:#a2b5c4;background:#f0f4f7;color:var(--dg-text);border-color:var(--dg-edge);box-shadow:0 3px 16px #162b3d09}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-glance-metric,.dzib-glance-panel,.dzib-glance-block,.dzib-glance-alert,.dzib-glance-quick-card,.dzib-director-family-cards a,section[aria-label="Familia Dzib Os"]){background:#fff;color:#162b3d;border-color:#a2b5c4;box-shadow:0 3px 16px #162b3d09}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-glance-metric,.dzib-glance-adn-detail>.dzib-glance-block){--metric-accent:#386a0b;--system-accent:#386a0b}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-expenses{--metric-accent:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-adn-detail>.dzib-glance-system-operations{--system-accent:#065c78}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-adn-detail>.dzib-glance-system-costs{--system-accent:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-glance-financial-footer,.dzib-glance-depth,.dzib-glance-icon,.dzib-glance-system-icon,.dzib-glance-quick-icon){background:#e2f5ec;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-expenses .dzib-glance-icon{background:#fbe2e4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-ring:before{background:#fff;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-ring{background:conic-gradient(#386a0b calc(var(--glance-coverage)*1%),#d9e3e9 0)}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-block>i{background:linear-gradient(to right,var(--system-accent,#386a0b) var(--block-coverage),#d9e3e9 var(--block-coverage))}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-glance-alert-level,.dzib-glance-alert-dot){color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-alert-critical :is(.dzib-glance-alert-level,.dzib-glance-alert-dot){color:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-alert-info :is(.dzib-glance-alert-level,.dzib-glance-alert-dot){color:#065c78}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-director-family-cards span,.dzib-director-family-cards em,.dzib-director-family-icon,section[aria-label="Familia Dzib Os"] .eyebrow){color:#386a0b}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-director-family-cards small,section[aria-label="Familia Dzib Os"] h2){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.dzib-glance-metric:hover,.dzib-glance-block:hover,.dzib-glance-quick-card:hover,.dzib-director-family-cards a:hover,.b21-normal-launchpad>a:hover){border-color:#386a0b}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-alert{--alert-accent:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-alert-critical{--alert-accent:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .dzib-glance-alert-info{--alert-accent:#065c78}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui section[aria-label="Familia Dzib Os"] .hint{color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .main-nav .dzib-main-menu :is(summary,.dtr-menu-panel){background:#fff;color:#162b3d;border-color:#a2b5c4}

/* Preserve location in Por pisos, including when the current floor is last. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .floor-stack .floor-step.is-current{background:#e2f5ec;color:#162b3d;border-color:#076849;box-shadow:inset 4px 0 0 #076849}

/* Mi Empresa: every daylight surface owns its foregrounds as well. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-support-grid strong,.mep02-limit-list b,.mep02-verdict-foot b,.mep02-position-focus-grid b,.mep02-position-matrix header b){color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-support-grid span,.mep02-no-limit,.mep02-depth-step summary em,.mep02-system-card summary em,.mep02-legend){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-support-grid b,.mep02-limit-list em){color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-limit-list span,.mep02-health-state.attention,.mep02-position-status.critical-pending){color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-health-state.stable,.mep02-position-status.known){color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .mep02-health-state.critical{color:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.mep02-layer-return,.mep02-position-focus,.mep02-position-focus-grid>div,.mep02-verdict-foot>div){background:#fff;color:#162b3d;border-color:#a2b5c4}

/* DWallet master and its Lectura -> Impacto -> Accion chain. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-story,.wallet-signal-step,.wallet-funnel,.wallet-funnel-stage,.wallet-vital-card,.wallet-money-grid>:is(article,.wallet-money-card),.wallet-money-secondary>span,.wallet-direction,.wallet-scenarios article,.wallet-priority,.wallet-funnel-patrimony){background:#fff;color:#162b3d;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-story.is-stable,.wallet-signal-step.is-action,.wallet-money-grid>:is(article,.wallet-money-card).is-emphasis,.wallet-funnel-stage.stage-remain){background:#e2f5ec;border-color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-story.is-watch,.wallet-signal-step.is-impact,.wallet-vital-card.is-watch,.wallet-money-grid>:is(article,.wallet-money-card).is-watch){background:#fff7e6;border-color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-number,.wallet-funnel-stage-title>span,.wallet-vital-icon,.wallet-funnel-connector span){background:#e2f5ec;color:#076849;border-color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-arrow,.wallet-funnel-head small,.wallet-funnel-stage-title small,.wallet-vital-group h3,.wallet-vital-value,.wallet-vital-card-foot a){color:#076849;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-head small,.wallet-signal-step small,.wallet-signal-step p,.wallet-funnel-head p,.wallet-funnel-stage-title p,.wallet-funnel-patrimony small,.wallet-money-grid small,.wallet-money-grid span,.wallet-money-secondary small,.wallet-money-secondary em,.wallet-master-brandline small,.wallet-master-brandline p,.wallet-direction p,.wallet-direction small,.wallet-direction-meta span,.wallet-scenarios span,.wallet-priority-grid small,.wallet-priority-grid p,.wallet-vitals-title p,.wallet-vitals-hint,.wallet-vital-card-head small,.wallet-vital-card-body p,.wallet-vital-card-body small){color:#42576a;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-signal-step a,.wallet-funnel-stage.is-summary strong,.wallet-status,.wallet-funnel-stage-title:after){background:#e2f5ec;color:#076849;border-color:#076849;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-status.is-watch{background:#fff7e6;color:#805000;border-color:#805000}


html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-vital-chip{background:#f0f4f7;color:#42576a;border-color:#809aab;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-vital-chip.is-data{background:#e2f5ec;color:#076849;border-color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-vital-chip.is-watch,.wallet-vital-chip.is-partial){background:#fff7e6;color:#805000;border-color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-vital-card-body span{color:#42576a;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-vital-open{background:#e2f5ec;color:#076849}

html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui :is(.wallet-money-icon,.wallet-money-open){background:#e2f5ec;color:#076849;border-color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-money-card>em{color:#076849;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui .wallet-money-card.is-pending{opacity:1}

/* Espejo owns dark surfaces with ID and :has selectors; pair them in daylight. */
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>:is(.mirror-command,.mirror-module-links,#pulso-empresarial){background:#fff;color:#162b3d;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command) :is(.mirror-direction,.mirror-score,.mirror-module-links>a,.pulse-item,.mirror-next,.mirror-now>a,.mirror-executive-grid>article,.mirror-snapshot,.mirror-area,.technical-details,.evidence-rule){background:#fff;color:#162b3d;border-color:#a2b5c4;opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>.mirror-decision-grid.mirror-next-only>.mirror-next{background:#fff;color:#162b3d;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>.mirror-executive-grid>article:first-child{background:#fff;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>.mirror-executive-grid>article:last-child{opacity:1}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>.mirror-command:before,html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial:before{color:#42576a;border-color:#a2b5c4}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command) :is(.mirror-score span,.mirror-score small,.mirror-command>div:first-child>p,.mirror-module-links>div p,.mirror-area p,.mirror-now>a span){color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command) :is(.mirror-module-links>a b,.mirror-direction b,.mirror-executive-grid h3){color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command) .mirror-meta span{background:#f0f4f7;color:#42576a;border-color:#809aab}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item small,html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-ring b{color:#162b3d}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item span{color:#42576a}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item strong{color:#065c78}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item.health-estable strong{color:#076849}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item.health-requiere-atencion strong{color:#805000}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-item:is(.health-critico,.health-crítico) strong{color:#b42335}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-ring{background:conic-gradient(#076849 calc(var(--pulse)*1%),#d9e3e9 0)}
html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .pulse-ring:after{background:#fff}
@media(max-width:640px){
 html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .section-heading{flex-direction:column;align-items:flex-start;gap:12px}
 html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .mirror-meta{max-width:100%}
 html[data-dzib-theme=light] body.dzib-ui.dzib-theme-ui main:has(.mirror-command)>#pulso-empresarial .mirror-meta span{max-width:100%;overflow-wrap:anywhere}
}
