/* Cejheliz Store — tema claro común. Cargado al final para cubrir todas las vistas v2. */
[data-theme="light"] .jd-dashboard-shell,
[data-theme="light"] .jd-accounts-shell,
[data-theme="light"] .jd-services-shell,
[data-theme="light"] .jd-workspace-shell{
  --jd-bg:#f4f7fb;--jd-bg-muted:#eef3f8;--jd-bg-elevated:#f8fafc;--jd-surface:#fff;
  --jd-surface-hover:#f3f7fa;--jd-surface-active:#eaf1f6;--jd-text:#172033;
  --jd-text-muted:#64748b;--jd-text-subtle:#8795a8;--jd-border:#dfe7f1;
  --jd-border-strong:#cad6e3;--jd-primary-50:#e8fbf2;--jd-primary-500:#10b981;
  --jd-primary-600:#059669;--jd-primary-700:#047857;
  --svc-bg:#f4f7fb;--svc-side:#fff;--svc-surface:#fff;--svc-surface-2:#f8fafc;
  --svc-border:#dfe7f1;--svc-text:#172033;--svc-muted:#64748b;
  --ws-bg:#f4f7fb;--ws-side:#fff;--ws-surface:#fff;--ws-surface-2:#f8fafc;
  --ws-border:#dfe7f1;--ws-text:#172033;--ws-muted:#64748b;
  color:#172033;background:radial-gradient(circle at 86% 0,rgb(16 185 129/.08),transparent 27%),#f4f7fb;
}

/* Navegación lateral común */
[data-theme="light"] :is(.jd-dashboard-sidebar,.jd-accounts-sidebar,.jd-services-sidebar,.jd-workspace-sidebar){border-right-color:#e2e9f1;background:#fff;box-shadow:10px 0 32px rgb(15 23 42/.05)}
[data-theme="light"] :is(.jd-dashboard-brand,.jd-accounts-brand,.jd-services-brand,.jd-workspace-brand){color:#172033;border-bottom-color:#e5ebf2}
[data-theme="light"] :is(.jd-dashboard-brand,.jd-accounts-brand,.jd-services-brand,.jd-workspace-brand) small{color:#718096}
[data-theme="light"] :is(.jd-dashboard-nav,.jd-accounts-nav,.jd-services-nav,.jd-workspace-nav) a{color:#64748b}
[data-theme="light"] :is(.jd-dashboard-nav,.jd-accounts-nav,.jd-services-nav,.jd-workspace-nav) a:hover{color:#14352a;background:#f0f8f4}
[data-theme="light"] :is(.jd-dashboard-nav,.jd-accounts-nav,.jd-services-nav,.jd-workspace-nav) a.active{color:#075b3c;border-color:rgb(16 185 129/.3);background:linear-gradient(100deg,#dcfced,#ecfdf5);box-shadow:inset 3px 0 #10b981,0 8px 22px rgb(16 185 129/.09)}
[data-theme="light"] :is(.jd-dashboard-nav,.jd-accounts-nav,.jd-services-nav,.jd-workspace-nav) a.active svg{color:#059669;filter:none}
[data-theme="light"] :is(.jd-dashboard-nav,.jd-accounts-nav,.jd-services-nav,.jd-workspace-nav) a small{color:#75859a;background:#edf2f7}
[data-theme="light"] :is(.jd-dashboard-sidebar-footer,.jd-accounts-sidebar-footer,.jd-services-sidebar-footer,.jd-workspace-sidebar-footer){border-top-color:#e5ebf2}
[data-theme="light"] :is(.jd-dashboard-user,.jd-services-user,.jd-workspace-user){border-color:#e2e9f1;background:#f8fafc}
[data-theme="light"] :is(.jd-dashboard-user,.jd-accounts-user,.jd-services-user,.jd-workspace-user) > span{color:#075b3c;background:#d9f8e9}
[data-theme="light"] :is(.jd-dashboard-user,.jd-accounts-user,.jd-services-user,.jd-workspace-user) strong{color:#1e293b}
[data-theme="light"] :is(.jd-dashboard-user,.jd-accounts-user,.jd-services-user,.jd-workspace-user) small{color:#059669}

/* Cabeceras y búsqueda */
[data-theme="light"] :is(.jd-dashboard-topbar,.jd-accounts-topbar,.jd-services-topbar,.jd-workspace-topbar){border-bottom-color:#e2e9f1;background:rgb(255 255 255/.92);box-shadow:0 1px 0 rgb(15 23 42/.02)}
[data-theme="light"] :is(.jd-dashboard-menu,.jd-services-menu,.jd-workspace-menu,.jd-dashboard-icon-button,.jd-notification-button,.jd-services-icon-button,.jd-workspace-icon){color:#64748b;border-color:#d9e3ed;background:#fff}
[data-theme="light"] :is(.jd-dashboard-search,.jd-accounts-global-search,.jd-services-global-search,.jd-workspace-search) input{color:#1e293b;border-color:#d9e3ed;background:#f8fafc}
[data-theme="light"] :is(.jd-dashboard-search,.jd-accounts-global-search,.jd-services-global-search,.jd-workspace-search) input::placeholder{color:#8492a6}
[data-theme="light"] :is(.jd-dashboard-search,.jd-accounts-global-search,.jd-services-global-search,.jd-workspace-search) input:focus{border-color:#10b981;box-shadow:0 0 0 3px rgb(16 185 129/.12);background:#fff}
[data-theme="light"] :is(.jd-dashboard-search,.jd-accounts-global-search,.jd-services-global-search,.jd-workspace-search) kbd{color:#718096;border-color:#d8e1eb;background:#fff}

/* Cuentas */
[data-theme="light"] .jd-accounts-shell .jd-page-header{border-color:#dfe7f1;background:linear-gradient(120deg,#fff,#f7fafc);box-shadow:0 14px 34px rgb(15 23 42/.06)}
[data-theme="light"] .jd-accounts-shell :is(.jd-page-title,.jd-metric-value){color:#172033}
[data-theme="light"] .jd-accounts-shell :is(.jd-page-subtitle,.jd-back-link,.jd-metric-label,.jd-metric-change){color:#64748b}
[data-theme="light"] .jd-accounts-shell .jd-sync-button{color:#475569;border-color:#d7e1eb;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-metric{border-color:#e0e7ef;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 10px 26px rgb(15 23 42/.055)}
[data-theme="light"] .jd-accounts-shell .jd-filters-form{border-color:#e0e7ef;background:#fff;box-shadow:0 12px 28px rgb(15 23 42/.055)}
[data-theme="light"] .jd-accounts-shell .jd-search-input{color:#1e293b;border-color:#d9e3ed;background:#f4f7fa}
[data-theme="light"] .jd-accounts-shell .jd-filter-pill{color:#64748b;border-color:#dce5ee;background:#f7f9fc}
[data-theme="light"] .jd-accounts-shell .jd-filter-pill.active{color:#053c29;border-color:#22d893;background:#35e7a4}
[data-theme="light"] .jd-accounts-shell .jd-filters-panel{background:#f4f7fa}
[data-theme="light"] .jd-accounts-shell .jd-platform-group{background:#fff;box-shadow:0 12px 30px rgb(15 23 42/.06)}
[data-theme="light"] .jd-accounts-shell .jd-platform-group-header{border-color:#e3eaf2;background:linear-gradient(135deg,#f8fafc,#fff)}
[data-theme="light"] .jd-accounts-shell .jd-platform-group-header h2,
[data-theme="light"] .jd-accounts-shell .jd-account-email{color:#1e293b}
[data-theme="light"] .jd-accounts-shell .jd-account-card{border-color:#e6ecf2;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-account-card:hover{background:#fbfefd}
[data-theme="light"] .jd-accounts-shell .jd-account-card-meta{background:#f3f6f9}
[data-theme="light"] .jd-accounts-shell .jd-account-meta-value{color:#334155}
[data-theme="light"] .jd-accounts-shell .jd-account-actions .jd-btn{color:#64748b;background:#eef3f7}
[data-theme="light"] .jd-page-size select{color:#475569;border-color:#d9e3ed;background:#fff}

/* Servicios */
[data-theme="light"] .jd-services-intro h1{color:#172033}
[data-theme="light"] .jd-services-metrics article{border-color:#dfe7f1;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 12px 28px rgb(15 23 42/.055)}
[data-theme="light"] .jd-services-metrics article>div>span,
[data-theme="light"] .jd-services-metrics article>small{color:#64748b}
[data-theme="light"] .jd-services-metrics article>strong{color:#172033}
[data-theme="light"] .jd-services-metrics article>b{background:#e6edf3}
[data-theme="light"] .jd-services-filters{border-color:#dfe7f1;background:#fff}
[data-theme="light"] .jd-services-filters :is(input,select){color:#334155;border-color:#d8e2ec;background:#f8fafc}
[data-theme="light"] .jd-services-filters>a{color:#526277;border-color:#d8e2ec;background:#f8fafc}
[data-theme="light"] .jd-service-platform-card{border-color:#dfe7f1;background:linear-gradient(150deg,#fff,#f8fafc);box-shadow:0 13px 30px rgb(15 23 42/.06)}
[data-theme="light"] .jd-service-logo-wrap{border-color:#dce5ee;background:#fff}
[data-theme="light"] .jd-service-platform-title h2,
[data-theme="light"] .jd-service-platform-card dd,
[data-theme="light"] .jd-services-cta h2{color:#1e293b}
[data-theme="light"] .jd-service-platform-title p,
[data-theme="light"] .jd-service-platform-card dt,
[data-theme="light"] .jd-service-utilization b{color:#718096}
[data-theme="light"] .jd-service-utilization strong{color:#475569}
[data-theme="light"] .jd-service-utilization>i{background:#e5edf3}
[data-theme="light"] .jd-service-view{background:#f5f9f7}
[data-theme="light"] .jd-services-cta{border-color:#d9e7e1;background:linear-gradient(110deg,#ecfdf5,#fff 48%)}

/* Formularios, detalles, ventas y reposiciones */
[data-theme="light"] .jd-workspace-shell .jd-page-header,
[data-theme="light"] .jd-workspace-shell .jd-account-hero{border-color:#dfe7f1;background:linear-gradient(120deg,#fff,#f8fafc);box-shadow:0 12px 30px rgb(15 23 42/.055)}
[data-theme="light"] .jd-workspace-shell :is(.jd-page-title,.jd-account-hero h1),
[data-theme="light"] .jd-operations-intro h1{color:#172033}
[data-theme="light"] .jd-workspace-shell .jd-btn-secondary{color:#475569;border-color:#d8e2ec;background:#fff}
[data-theme="light"] .jd-workspace-shell :is(.jd-form-card,.jd-detail-card),
[data-theme="light"] :is(.jd-operations-panel,.jd-operation-form,.jd-operation-detail){border-color:#dfe7f1;background:linear-gradient(145deg,#fff,#f8fafc);box-shadow:0 12px 30px rgb(15 23 42/.055)}
[data-theme="light"] .jd-workspace-shell :is(.jd-form-card,.jd-detail-card)>header,
[data-theme="light"] :is(.jd-operations-panel,.jd-operation-form,.jd-operation-detail)>header{border-color:#e2e9f1;background:#f8fafc}
[data-theme="light"] .jd-workspace-shell :is(.jd-form-card h2,.jd-detail-card h2),
[data-theme="light"] :is(.jd-operations-panel header strong,.jd-operation-form h2,.jd-operation-detail>header strong){color:#1e293b}
[data-theme="light"] .jd-workspace-shell .jd-field label,
[data-theme="light"] .jd-operation-field label{color:#475569}
[data-theme="light"] .jd-workspace-shell .jd-field :is(input,select,textarea),
[data-theme="light"] .jd-operation-field :is(input,select,textarea),
[data-theme="light"] .jd-workspace-shell .jd-status-form select{color:#1e293b;border-color:#d7e1eb;background:#fff}
[data-theme="light"] .jd-workspace-shell .jd-payment-preview{border-color:#cddbe6;background:#f8fafc}
[data-theme="light"] .jd-workspace-shell .jd-form-actions{background:linear-gradient(transparent,#f4f7fb 30%)}
[data-theme="light"] .jd-workspace-shell .jd-account-hero .jd-brand-logo,
[data-theme="light"] .jd-operation-brand .jd-brand-logo{background:#fff}
[data-theme="light"] .jd-workspace-shell :is(.jd-credential-row strong,.jd-detail-card dd){color:#334155}
[data-theme="light"] .jd-workspace-shell .jd-card-data-body{background:#f8fafc}
[data-theme="light"] .jd-operations-table-wrap th{color:#64748b;border-color:#e2e9f1;background:#f5f8fb}
[data-theme="light"] .jd-operations-table-wrap td{color:#526277;border-color:#e7edf3}
[data-theme="light"] .jd-operations-table-wrap td>strong,
[data-theme="light"] .jd-operation-brand,
[data-theme="light"] .jd-operation-detail dd{color:#263548}
[data-theme="light"] .jd-operations-table-wrap tbody tr:hover{background:#f2faf6}
[data-theme="light"] .jd-operation-form>footer{border-color:#e2e9f1;background:#f8fafc}
[data-theme="light"] .jd-operation-detail dl>div,
[data-theme="light"] .jd-replacement-flow{border-color:#e2e9f1}
[data-theme="light"] .jd-replacement-flow>div{border-color:#dce5ee;background:#fff}
[data-theme="light"] .jd-replacement-flow strong{color:#334155}

@media (prefers-color-scheme:dark){
  [data-theme="light"]{color-scheme:light}
}

/* Acabado claro: selectores específicos para neutralizar reglas oscuras heredadas. */
[data-theme="light"] .jd-accounts-shell .jd-main{background:linear-gradient(180deg,#f7fafc 0,#f2f6fa 100%)}
[data-theme="light"] .jd-accounts-shell .jd-page-header{border:1px solid #e2e9f1;box-shadow:0 10px 28px rgb(15 23 42/.055)}
[data-theme="light"] .jd-accounts-shell .jd-metrics .jd-metric{border:1px solid #e1e8f0;background:#fff;box-shadow:0 8px 22px rgb(15 23 42/.045)}
[data-theme="light"] .jd-accounts-shell .jd-filters-form{border:1px solid #e0e7ef;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-filters-form .jd-search-input{border:1px solid #d7e1eb;color:#263548;background:#f8fafc;box-shadow:none}
[data-theme="light"] .jd-accounts-shell .jd-filters-form .jd-search-input:focus{border-color:#10b981;box-shadow:0 0 0 3px rgb(16 185 129/.11)}
[data-theme="light"] .jd-accounts-shell .jd-filters-form .jd-filter-pill{border:1px solid #dce4ed;color:#526277;background:#f8fafc}
[data-theme="light"] .jd-accounts-shell .jd-filters-form .jd-filter-pill.active{border-color:#10b981;color:#064e3b;background:#d1fae5;box-shadow:none}
[data-theme="light"] .jd-accounts-shell .jd-filter-pill-count{color:inherit;background:#e5ebf2}
[data-theme="light"] .jd-accounts-shell .jd-filter-pill.active .jd-filter-pill-count{color:#065f46;background:#a7f3d0}
[data-theme="light"] .jd-accounts-shell .jd-filters-panel{border:1px solid #dce5ee;background:#f8fafc}
[data-theme="light"] .jd-accounts-shell .jd-filter-summary-icon{color:#059669;background:#dff8ec}
[data-theme="light"] .jd-accounts-shell .jd-filters-advanced{border-top:1px solid #e2e9f1;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-filters-advanced .jd-form-label{color:#526277}
[data-theme="light"] .jd-accounts-shell .jd-filters-advanced .jd-form-select{border-color:#d7e1eb;color:#263548;background:#f8fafc}
[data-theme="light"] .jd-accounts-shell .jd-filters-advanced .jd-form-select:focus{border-color:#10b981;box-shadow:0 0 0 3px rgb(16 185 129/.11)}
[data-theme="light"] .jd-accounts-shell .jd-filter-submit{border-color:#10b981;color:#fff;background:#10b981}
[data-theme="light"] .jd-accounts-shell .jd-filter-submit:hover{border-color:#059669;background:#059669}
[data-theme="light"] .jd-accounts-shell .jd-filter-reset{border-color:#d7e1eb;color:#526277;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-filter-reset:hover{border-color:#a9bac9;color:#263548;background:#f8fafc}
[data-theme="light"] .jd-accounts-shell .jd-platform-group{border:1px solid #e0e7ef;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-platform-group-header{border-bottom:1px solid #e5ebf2;background:#fbfcfe}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-platform-count{border:1px solid #dbe4ed;color:#475569;background:#f4f7fa}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-card{border:0;border-bottom:1px solid #e8edf3;color:#334155;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-card:last-child{border-bottom:0}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-card-meta{border:0;color:#475569;background:#f4f7fa}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-meta-label{color:#718096}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-actions .jd-btn{border:1px solid #d7e1eb;color:#526277;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-account-actions .jd-btn:hover{border-color:#9fdac3;color:#047857;background:#ecfdf5}
[data-theme="light"] .jd-accounts-shell .jd-card-reveal{color:#047857;background:#dff8ec}
[data-theme="light"] .jd-accounts-shell .jd-pagination-link{color:#526277;border-color:#d7e1eb;background:#fff}
[data-theme="light"] .jd-accounts-shell .jd-pagination-link[aria-current="page"]{color:#064e3b!important;border-color:#10b981!important;background:#d1fae5!important}

[data-theme="light"] .jd-services-shell .jd-main,
[data-theme="light"] .jd-workspace-shell .jd-main{background:linear-gradient(180deg,#f7fafc 0,#f2f6fa 100%)}
[data-theme="light"] .jd-services-shell .jd-service-platform-card,
[data-theme="light"] .jd-workspace-shell :is(.jd-form-card,.jd-detail-card,.jd-operations-panel,.jd-operation-form,.jd-operation-detail){border:1px solid #e0e7ef;background:#fff;box-shadow:0 10px 28px rgb(15 23 42/.05)}
[data-theme="light"] .jd-services-shell .jd-service-platform-card>header,
[data-theme="light"] .jd-workspace-shell :is(.jd-form-card,.jd-detail-card,.jd-operations-panel,.jd-operation-form,.jd-operation-detail)>header{border-bottom-color:#e5ebf2;background:#fbfcfe}
[data-theme="light"] .jd-services-shell .jd-service-platform-card :is(h2,dd,strong),
[data-theme="light"] .jd-workspace-shell :is(h1,h2,dd,strong){color:#263548}
[data-theme="light"] .jd-services-shell .jd-service-platform-card :is(p,dt,small),
[data-theme="light"] .jd-workspace-shell :is(p,dt,small){color:#718096}
[data-theme="light"] .jd-workspace-shell :is(input,select,textarea){color:#263548;border-color:#d7e1eb;background:#fff}
[data-theme="light"] .jd-workspace-shell :is(input,select,textarea):focus{border-color:#10b981;box-shadow:0 0 0 3px rgb(16 185 129/.11)}

/* Logos oficiales: una superficie neutra conserva el color real de cada marca. */
[data-theme="light"] :is(.jd-dashboard-shell,.jd-accounts-shell,.jd-services-shell,.jd-workspace-shell) .jd-brand-logo[class*="jd-platform-logo-"],
[data-theme="light"] .jd-accounts-shell .jd-platform-group .jd-platform-group-header .jd-brand-logo,
[data-theme="light"] .jd-workspace-shell .jd-account-hero .jd-brand-logo,
[data-theme="light"] .jd-operation-brand .jd-brand-logo{
  border:1px solid #dce5ee!important;
  background:#fff!important;
  box-shadow:0 6px 16px rgb(15 23 42/.09)!important;
}
[data-theme="light"] :is(.jd-dashboard-shell,.jd-accounts-shell,.jd-services-shell,.jd-workspace-shell) .jd-brand-logo img{
  display:block;width:100%;height:100%;object-fit:contain;filter:none;opacity:1;
}
[data-theme="light"] .jd-services-shell .jd-service-logo-wrap{
  border:1px solid #dce5ee;background:#fff;box-shadow:0 7px 18px rgb(15 23 42/.07);
}
[data-theme="light"] .jd-accounts-shell .jd-mini-brand,
[data-theme="light"] .jd-workspace-shell .jd-mini-brand,
[data-theme="light"] .jd-accounts-shell .jd-payment-brand,
[data-theme="light"] .jd-workspace-shell .jd-payment-brand{
  border:1px solid #dce5ee!important;border-radius:.55rem;background:#fff!important;
  box-shadow:0 4px 11px rgb(15 23 42/.07)!important;
}
[data-theme="light"] :is(.jd-mini-brand,.jd-payment-brand) img{
  display:block;max-width:100%;max-height:100%;object-fit:contain;filter:none;opacity:1;
}
[data-theme="light"] .jd-accounts-shell .jd-account-label{
  color:#6d28d9;background:#ede9fe;border:1px solid #ddd6fe;font-weight:800;
}
[data-theme="light"] .jd-accounts-shell .jd-payment-brand-mastercard,
[data-theme="light"] .jd-workspace-shell .jd-payment-brand-mastercard{
  width:1.85rem;height:1.35rem;padding:.12rem .16rem;border-radius:.45rem;
}
