/* Control Total · línea épica · capa global (laboratorio 01-nov-2026) */
:root{--primary:209 53% 21%;--ring:197 88% 31%;--sidebar-primary:209 53% 21%;
 --epx-ink:#0B1A2E;--epx-navy:#193651;--epx-cian:#0A6E96;--epx-cian2:#5AC5EB;--epx-rojo:#B4233A;
 --epx-bg:#EEF2F7;--epx-line:#DCE4ED;--epx-line2:#EEF2F7;--epx-tx:#0F1E33;--epx-mut:#66778C;
 --epx-disp:"Space Grotesk",Inter,system-ui,sans-serif;
 --epx-hero:radial-gradient(90% 120% at 0% 0%,rgba(10,110,150,.55),transparent 55%),radial-gradient(70% 90% at 100% 100%,rgba(47,101,150,.45),transparent 60%),linear-gradient(135deg,#0E2643,#0A1A31 60%,#081528);
 --epx-grid:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px)}
html.epx body,html.epx .patr-main,html.epx .patr-workspace{background:var(--epx-bg)!important}
html.epx .patr-content{font-variant-numeric:tabular-nums}
html.epx .patr-topbar{background:#0A1A31!important;color:#fff;border-bottom:0!important}

/* ---------- encabezados ---------- */
html.epx [data-epx-eb]{font:700 11px Inter!important;letter-spacing:.16em!important;text-transform:uppercase!important;color:var(--epx-cian)!important}
html.epx [data-epx-eb]>*{display:none!important}
html.epx [data-epx-eb]{font-size:0!important}
html.epx [data-epx-eb]::after{content:attr(data-epx-eb);font-size:11px;display:inline}
html.epx [data-epx-h1]{font-size:0!important;line-height:1.1!important}
html.epx [data-epx-h1]>*{display:none!important}
html.epx [data-epx-h1]::after{content:attr(data-epx-h1);font:700 34px var(--epx-disp);letter-spacing:-.02em;color:var(--epx-tx);display:block;margin-top:6px}
html.epx .patr-module-copy h1,html.epx .patr-expense-heading h1,html.epx .ct-std-idt h1,html.epx .account-titlebar h1,html.epx .mfa-heading h1,html.epx .hp-heading h1{font-family:var(--epx-disp)!important;font-size:34px!important;letter-spacing:-.02em!important;color:var(--epx-tx)!important;font-weight:700!important}
html.epx .patr-module-copy p,html.epx .patr-expense-heading p{color:var(--epx-mut)!important;font-size:13.5px!important}
html.epx .patr-at-eyebrow,html.epx .hp-overline,html.epx .ct-std-eyebrow,html.epx .account-eyebrow,html.epx .mfa-kicker{color:var(--epx-cian)!important;letter-spacing:.16em!important;font-weight:700!important}

/* ---------- tarjetas, tablas, botones ---------- */
html.epx .patr-content .bg-card,html.epx .patr-content .patr-metric,html.epx .patr-content .ops-metric,html.epx .patr-content .patr-consignment-card,
html.epx .patr-content .crypto-account,html.epx .patr-content .contact-directory,html.epx .patr-content .module-panel,html.epx .patr-content .mfa-panel,
html.epx .patr-content .ct-cxc-tabs~* .ops-workspace,html.epx .patr-content .hp-company,html.epx .patr-content section.mov,html.epx .patr-content .card.mesd{
 background:#fff!important;border:1px solid var(--epx-line)!important;border-radius:18px!important;box-shadow:0 1px 2px rgba(10,26,61,.05),0 12px 30px -20px rgba(10,26,61,.25)!important}
html.epx .patr-content table thead th,html.epx .patr-content .contact-columns,html.epx .patr-content [role=columnheader]{font:700 10.5px Inter!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--epx-mut)!important;background:#F6F8FB!important}
html.epx .patr-content table tbody td{border-color:var(--epx-line2)!important}
html.epx .patr-content .bg-primary,html.epx .patr-dialog .bg-primary{background:var(--epx-navy)!important;color:#fff!important;box-shadow:0 10px 22px -12px rgba(25,54,81,.8)}
html.epx .patr-content button.bg-primary,html.epx .patr-dialog button.bg-primary{border-radius:12px!important;font-weight:700!important}
html.epx .patr-content .patr-module-actions button,html.epx .patr-content .patr-expense-heading-actions button{border-radius:12px!important;font-weight:700!important}

/* ---------- héroe épico (contenedor de cifras de cada pantalla) ---------- */
html.epx .epx-h{position:relative;overflow:hidden;border-radius:22px!important;color:#fff!important;background:var(--epx-hero)!important;border:0!important;
 box-shadow:0 30px 60px -30px rgba(8,21,40,.8)!important;padding:26px 28px!important;gap:12px!important;display:grid!important;align-items:stretch!important}
html.epx .epx-h::after{content:"";position:absolute;inset:0;background-image:var(--epx-grid);background-size:36px 36px;-webkit-mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 85%);mask-image:linear-gradient(180deg,rgba(0,0,0,.9),transparent 85%);pointer-events:none}
html.epx .epx-h>*{position:relative;z-index:1}
html.epx .epx-h.n2{grid-template-columns:1.6fr 1fr!important}
html.epx .epx-h.n3{grid-template-columns:1.6fr 1fr 1fr!important}
html.epx .epx-h.n4{grid-template-columns:1.7fr 1fr 1fr 1fr!important}
html.epx .epx-h.n5{grid-template-columns:1.6fr 1fr 1fr 1fr 1fr!important}
html.epx .epx-h>*{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;box-shadow:none!important;color:#fff!important;padding:16px 18px!important;min-width:0}
html.epx .epx-h>.epx-h1{background:transparent!important;border:0!important;padding:4px 8px 4px 0!important}
html.epx .epx-h *{border-color:rgba(255,255,255,.10)}
html.epx .epx-h p,html.epx .epx-h span,html.epx .epx-h small,html.epx .epx-h label,html.epx .epx-h [class*=text-muted],html.epx .epx-h [class*=-label],html.epx .epx-h [class*=-note],html.epx .epx-h [class*=-foot],html.epx .epx-h .k-h,html.epx .epx-h .k-s{color:#A9BCD0!important}
html.epx .epx-h strong,html.epx .epx-h b,html.epx .epx-h h2,html.epx .epx-h [class*=-value],html.epx .epx-h .k-v,html.epx .epx-h [class*=text-xl],html.epx .epx-h [class*=text-2xl]{color:#fff!important;font-family:var(--epx-disp)!important;letter-spacing:-.02em}
html.epx .epx-h [class*=rose],html.epx .epx-h [class*=red-],html.epx .epx-h .neg,html.epx .epx-h .out{color:#FF8A9A!important}
html.epx .epx-h [class*=emerald],html.epx .epx-h [class*=teal],html.epx .epx-h [class*=sky-],html.epx .epx-h .pos,html.epx .epx-h .in{color:#5AC5EB!important}
html.epx .epx-h [class*=text-xs],html.epx .epx-h [class*=-label],html.epx .epx-h .k-h{font-size:10.5px!important;font-weight:700!important;letter-spacing:.14em!important;text-transform:uppercase}
html.epx .epx-h>*:not(.epx-h1) strong,html.epx .epx-h>*:not(.epx-h1) [class*=-value],html.epx .epx-h>*:not(.epx-h1) .k-v{font-size:24px!important;line-height:1.15!important;font-weight:700!important}
html.epx .epx-h>.epx-h1 strong,html.epx .epx-h>.epx-h1 [class*=-value],html.epx .epx-h>.epx-h1 .k-v{font-size:52px!important;line-height:1.02!important;font-weight:700!important;letter-spacing:-.03em!important;margin:10px 0 8px!important;display:block}
html.epx .epx-h .bg-secondary,html.epx .epx-h [class*=bg-muted],html.epx .epx-h [class*=bg-slate-1]{background:rgba(255,255,255,.10)!important}
html.epx .epx-h a,html.epx .epx-h button{color:#cfe7f4}
html.epx .epx-h .epx-h1 *{background-color:transparent}
html.epx .epx-h svg{color:#5AC5EB}

/* Bancos: el contenedor .ct-epic ya trae tarjetas */
html.epx .ct-epic.epx-h{display:block!important}
html.epx .ct-epic.epx-h>*{background:transparent!important;border:0!important;padding:0!important}
html.epx .ct-epic.epx-h .ct-kpis{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:12px}
html.epx .ct-epic.epx-h .ct-kpi{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;color:#fff!important;box-shadow:none!important}
html.epx .ct-epic.epx-h .ct-kpi.total{background:transparent!important;border:0!important}
html.epx .ct-epic.epx-h .ct-kpi.total strong,html.epx .ct-epic.epx-h .ct-kpi.total b{font-size:52px!important}
html.epx .ct-epic.epx-h .ct-cos{margin-top:14px}
html.epx .ct-epic.epx-h .ct-co{background:rgba(255,255,255,.05)!important;border:1px solid rgba(255,255,255,.10)!important;border-top:4px solid var(--c,#5AC5EB)!important;color:#fff!important;box-shadow:none!important}
html.epx .ct-epic.epx-h .ct-co.op{--c:#E0571B}html.epx .ct-epic.epx-h .ct-co.nm{--c:#2F6596}html.epx .ct-epic.epx-h .ct-co.pe{--c:#8A97A8}
html.epx .ct-epic.epx-h .ct-rates span{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.12)!important;color:#A9BCD0!important}

/* Gastos: la primera cifra se hace grande */
html.epx .patr-expense-metrics.epx-h{grid-template-columns:1.7fr 1fr 1fr 1fr!important}
/* Por cobrar / Por pagar: el bloque azul pasa a ser parte del héroe */
html.epx .ops-overview.epx-h .patr-kpi-hero{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
html.epx .ops-overview.epx-h .patr-kpi-hero::before,html.epx .ops-overview.epx-h .patr-kpi-hero::after{display:none!important}
/* Incentivos */
html.epx .ct-inc-app .kpis.epx-h .kpi.hero{background:transparent!important;border:0!important}
/* Cripto */
html.epx .crypto-summary.epx-h{grid-template-columns:1.6fr 1fr!important}
html.epx .crypto-summary.epx-h>div:not(.epx-h1) b{font-size:40px!important}
/* Cuenta estándar */
html.epx .ct-std-kpis.epx-h .ct-std-kpi.hero{background:transparent!important;border:0!important}
html.epx .ct-std-head{margin-bottom:6px}
/* Chase */
html.epx .account-balance-grid.epx-h{grid-template-columns:1.6fr 1fr!important}
html.epx .account-balance-grid.epx-h .account-status-pills span{background:rgba(255,255,255,.08)!important;color:#DCE6F5!important;border-color:rgba(255,255,255,.14)!important}
/* BDV */
html.epx .bank-balance-hero.epx-h{display:block!important}
html.epx .bank-balance-hero.epx-h>*{background:transparent!important;border:0!important;padding:0!important}
html.epx .bank-balance-hero.epx-h p.text-xl{font-size:44px!important;font-family:var(--epx-disp)!important;color:#fff!important;font-weight:700!important}
html.epx .bank-balance-hero.epx-h details summary{color:#8FB4D6!important}
/* Cierre */
html.epx .closing-quota.epx-h{display:block!important;padding:0!important}
html.epx .closing-quota.epx-h>*{background:transparent!important;border:0!important;padding:26px 28px!important}
html.epx .closing-quota.epx-h [class*=text-4xl],html.epx .closing-quota.epx-h [class*=text-5xl],html.epx .closing-quota.epx-h [class*=text-3xl]{font-size:52px!important;font-family:var(--epx-disp)!important;color:#fff!important}
html.epx .closing-quota.epx-h .rounded-xl{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.10)!important}
/* Contactos: filtros como héroe */
html.epx .patr-contact-filters.epx-h>button{text-align:left}
html.epx .patr-contact-filters.epx-h>button [class*=text-2xl]{font-size:34px!important}
html.epx .patr-contact-filters.epx-h>button.bg-muted{background:linear-gradient(135deg,rgba(90,197,235,.22),rgba(255,255,255,.05))!important;border-color:rgba(90,197,235,.4)!important}
/* Patrimonio: el héroe propio también se vuelve épico */
html.epx .assets-page .patr-kpi-hero{background:var(--epx-hero)!important;border-radius:22px!important;color:#fff!important;padding:28px!important;box-shadow:0 30px 60px -30px rgba(8,21,40,.8)!important}
html.epx .assets-page .patr-kpi-hero .patr-kpi-value{font:700 56px var(--epx-disp)!important;letter-spacing:-.03em}
/* Cuadre */
html.epx .ct-cuadre .cq-kpis.epx-h .cq-kpi{color:#fff!important}
html.epx .ct-cuadre .cq-kpis.epx-h .cq-kpi.total{background:transparent!important;border:0!important}
html.epx .ct-cuadre .cq-kpis.epx-h .cq-kpi:not(.total) .k-v,html.epx .ct-cuadre .cq-kpis.epx-h .cq-kpi:not(.total) strong{font-size:21px!important}
/* Seguridad */
html.epx .mfa-heading{background:var(--epx-hero);border-radius:22px;padding:28px!important;color:#fff;position:relative;overflow:hidden;box-shadow:0 30px 60px -30px rgba(8,21,40,.8)}
html.epx .mfa-heading h1{color:#fff!important}html.epx .mfa-heading p{color:#A9BCD0!important}
html.epx .mfa-heading .security-heading-tags span{background:rgba(255,255,255,.08)!important;color:#DCE6F5!important;border-color:rgba(255,255,255,.14)!important}
/* Inicio sin datos: aviso sobrio */
html.epx .hp-outage{border-radius:18px!important}

/* ---------- ventanas (todas las del sistema) ---------- */
html.epx .patr-dialog{padding:0!important;gap:0!important;border-radius:24px!important;overflow:hidden;border:0!important;
 box-shadow:0 50px 100px -30px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.08)!important;background:#fff!important}
html.epx .patr-dialog>div:first-child{position:relative;padding:24px 64px 22px 30px!important;color:#fff;margin:0!important;
 background:radial-gradient(120% 140% at 0% 0%,rgba(10,110,150,.55),transparent 55%),radial-gradient(90% 120% at 100% 100%,rgba(36,79,120,.6),transparent 60%),linear-gradient(135deg,#10243B,#0B1A2E)!important;text-align:left!important}
html.epx .patr-dialog>div:first-child::before{content:attr(data-epx-ey);display:block;font:700 10.5px Inter;letter-spacing:.2em;text-transform:uppercase;color:#5AC5EB;margin-bottom:6px}
html.epx .patr-dialog>div:first-child h2{font:700 25px var(--epx-disp)!important;color:#fff!important;letter-spacing:-.01em!important;line-height:1.15!important}
html.epx .patr-dialog>div:first-child p{color:#A9BCD0!important;font-size:13px!important}
html.epx .patr-dialog>div:first-child *{color:inherit}
html.epx .patr-dialog>div:first-child [class*=text-muted]{color:#A9BCD0!important}
html.epx .patr-dialog>*:not(:first-child):not(:last-child){padding-left:30px!important;padding-right:30px!important}
html.epx .patr-dialog>div:nth-child(2){padding-top:22px!important}
html.epx .patr-dialog .sm\:justify-end,html.epx .patr-dialog>div.flex-col-reverse{padding:16px 30px 20px!important;margin-top:16px;border-top:1px solid #EEF2F7;background:#FAFBFD;gap:10px}
html.epx .patr-dialog>button.absolute{top:18px!important;right:18px!important;width:32px;height:32px;border-radius:10px!important;border:1px solid rgba(255,255,255,.2)!important;color:#cfe0ee!important;opacity:1!important;display:grid;place-items:center;z-index:2}
html.epx .patr-dialog label{font:700 10.5px Inter!important;letter-spacing:.12em!important;text-transform:uppercase;color:#66778C!important}
html.epx .patr-dialog input:not([type=checkbox]):not([type=radio]),html.epx .patr-dialog textarea,html.epx .patr-dialog button[role=combobox],html.epx .patr-dialog .ct-pick-btn{border-radius:12px!important;border-color:#DCE4ED!important;min-height:42px;background:#F8FAFC}
html.epx .patr-dialog input:focus,html.epx .patr-dialog textarea:focus{background:#fff!important;border-color:#0A6E96!important;box-shadow:0 0 0 3px rgba(10,110,150,.15)!important;outline:0}
html.epx .patr-dialog button.bg-primary,html.epx .patr-dialog .sm\:justify-end button:last-child{background:#193651!important;color:#fff!important;border-radius:12px!important;padding:0 20px!important;height:42px!important;font-weight:700!important}
html.epx .patr-dialog .sm\:justify-end button:not(:last-child){border-radius:12px!important;height:42px!important;font-weight:600!important;color:#193651!important}
html.epx [data-radix-popper-content-wrapper]{z-index:80!important}
html.epx .fixed.inset-0.z-50[data-state=open]{background:rgba(6,17,31,.62)!important;backdrop-filter:blur(3px)}

/* ventanas propias (captura, lote de gastos, plantillas, lote incentivos, cuadre) */
html.epx .ctcq-ov,html.epx .ctgl-ov,html.epx .ctpa-ov{background:rgba(6,17,31,.62)!important;backdrop-filter:blur(3px)}
html.epx .ctcq-box,html.epx .ctgl-box,html.epx .ctpa-box{border-radius:24px!important;overflow:hidden;box-shadow:0 50px 100px -30px rgba(0,0,0,.75),0 0 0 1px rgba(255,255,255,.08)!important;border:0!important}
html.epx .ctcq-head,html.epx .ctgl-head,html.epx .ctpa-head{position:relative;color:#fff!important;padding:24px 64px 22px 30px!important;margin:0!important;border:0!important;
 background:radial-gradient(120% 140% at 0% 0%,rgba(10,110,150,.55),transparent 55%),radial-gradient(90% 120% at 100% 100%,rgba(36,79,120,.6),transparent 60%),linear-gradient(135deg,#10243B,#0B1A2E)!important}
html.epx .ctcq-head *,html.epx .ctgl-head *,html.epx .ctpa-head *{color:#fff}
html.epx .ctcq-head h2,html.epx .ctgl-head h2,html.epx .ctpa-head h2,html.epx .ctcq-head h3,html.epx .ctgl-head h3,html.epx .ctpa-head h3{font:700 25px var(--epx-disp)!important;color:#fff!important}
html.epx .ctcq-head p,html.epx .ctgl-head p,html.epx .ctpa-head p,html.epx .ctcq-head small,html.epx .ctgl-head small,html.epx .ctpa-head small,html.epx .ctgl-head .mut,html.epx .ctpa-head .mut,html.epx .ctcq-head .mut{color:#A9BCD0!important}
html.epx .ctcq-head .eye,html.epx .ctgl-head .eye,html.epx .ctpa-head .eye{color:#5AC5EB!important}
html.epx .ctcq-x,html.epx .ctgl-x,html.epx .ctpa-x{color:#cfe0ee!important;border:1px solid rgba(255,255,255,.2)!important;background:transparent!important;border-radius:10px!important}
html.epx .ctcq-go,html.epx .ctgl-go,html.epx .ctpa-pri,html.epx .ctgl-btn.pri{background:#193651!important;color:#fff!important;border-radius:12px!important;font-weight:700!important}
html.epx .ctcq-tipos .on{background:#193651!important;color:#fff!important}

/* Cuadre: ventana registrar y panel de detalle */
html.epx .ct-cuadre .cq-dlg>div,html.epx .ct-cuadre .cq-dlg .box{border-radius:24px!important;overflow:hidden}
/* Incentivos: panel lateral */
html.epx .ct-inc-app~.drawer .dh,html.epx .ct-inc .drawer>header,html.epx .ct-inc .drawer .d-head{background:var(--epx-hero)!important;color:#fff!important}
/* ajustes ronda 2 */
html.epx .patr-content h1[data-epx-h1]{font-size:0!important}
html.epx .patr-content h1[data-epx-h1]>*,html.epx .patr-content h1[data-epx-h1] br{display:none!important}
html.epx .patr-content .epx-h>*{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:16px!important;box-shadow:none!important;color:#fff!important}
html.epx .patr-content .epx-h>.epx-h1{background:transparent!important;border:0!important;box-shadow:none!important}
html.epx .patr-content .ct-epic.epx-h>*{background:transparent!important;border:0!important;padding:0!important}
html.epx .ct-epic.epx-h .k-v{height:auto!important;max-height:none!important;overflow:visible!important;line-height:1.05!important;font-size:24px!important;font-family:var(--epx-disp)!important;color:#fff!important;margin:8px 0 6px}
html.epx .ct-epic.epx-h .ct-kpi.total .k-v{font-size:50px!important;letter-spacing:-.03em}
html.epx .ct-epic.epx-h .ct-kpi,html.epx .ct-epic.epx-h .ct-co{height:auto!important;overflow:visible!important}
html.epx .ct-epic.epx-h .ct-co{background-image:none!important}
html.epx .ct-epic.epx-h .ct-co *{background-image:none}
html.epx .ct-epic.epx-h .ct-co [class*=pct],html.epx .ct-epic.epx-h .ct-co .pill,html.epx .ct-epic.epx-h .ct-co em{background:rgba(255,255,255,.10)!important;color:#DCE6F5!important}
html.epx .patr-content .epx-h *{height:auto;max-height:none}
/* ajustes ronda 3 */
html.epx .patr-content .epx-h{background:var(--epx-hero)!important;border:0!important;border-radius:22px!important;box-shadow:0 30px 60px -30px rgba(8,21,40,.8)!important;color:#fff!important}
html.epx .epx-h .patr-kpi-value,html.epx .epx-h .patr-kpi-value *{-webkit-text-fill-color:#fff!important;background:none!important;color:#fff!important}
html.epx .epx-h .patr-kpi-label{color:#8FB4D6!important}
html.epx .epx-h [data-tone=rose] strong,html.epx .epx-h [data-tone=red] strong{color:#FF8A9A!important}
html.epx .epx-h [data-tone=emerald] strong,html.epx .epx-h [data-tone=sky] strong,html.epx .epx-h [data-tone=teal] strong,html.epx .epx-h [data-tone=cyan] strong{color:#5AC5EB!important}
html.epx .epx-h .ops-metric-foot button{color:#5AC5EB!important}
html.epx .epx-h .ops-metric-label svg{color:#8FB4D6!important}
/* Bancos tarjetas por empresa */
html.epx .ct-epic.epx-h .ct-co::before,html.epx .ct-epic.epx-h .ct-co::after{display:none!important}
html.epx .ct-epic.epx-h .ct-co .co-v{color:#fff!important;font-family:var(--epx-disp)!important}
html.epx .ct-epic.epx-h .ct-co .co-name{color:#fff!important;font-weight:700}
html.epx .ct-epic.epx-h .ct-co .co-bar{background:rgba(255,255,255,.10)!important}
html.epx .ct-epic.epx-h .ct-co .co-bar i{background:var(--c)!important}
html.epx .ct-epic.epx-h .ct-co .co-mix span,html.epx .ct-epic.epx-h .ct-co .co-foot{color:#A9BCD0!important}
html.epx .ct-epic.epx-h .ct-co .co-mix em{color:#8FB4D6!important;background:none!important}
html.epx .ct-epic.epx-h .ct-co[aria-pressed=true]{box-shadow:0 0 0 2px #5AC5EB!important}
/* Incentivos héroe */
html.epx .ct-inc-app .kpis.epx-h .kpi{height:auto!important;min-height:0!important;overflow:visible!important}
html.epx .ct-inc-app .kpis.epx-h .kpi::before,html.epx .ct-inc-app .kpis.epx-h .kpi::after{display:none!important}
html.epx .ct-inc-app .kpis.epx-h .kpi.hero{padding-left:4px!important}
html.epx .ct-inc-app .kpis.epx-h .kpi *{height:auto!important;overflow:visible!important}
html.epx .ct-inc-app .kpis.epx-h .kpi.hero .v,html.epx .ct-inc-app .kpis.epx-h .kpi.hero strong,html.epx .ct-inc-app .kpis.epx-h .kpi.hero b{font-size:50px!important;line-height:1.05!important;display:block;margin:8px 0 6px}
html.epx .ct-inc-app .kpis.epx-h .kpi:not(.hero) .v{font-size:24px!important}
html.epx .ct-inc-app .kpis.epx-h .kpi .v{color:#fff!important;font-family:var(--epx-disp)!important}
/* Cierre */
html.epx .closing-quota.epx-h *{color:#fff}
html.epx .closing-quota.epx-h [class*=text-muted]{color:#A9BCD0!important}
html.epx .closing-quota.epx-h .bg-gradient-to-br,html.epx .closing-quota.epx-h [class*=from-]{background:none!important}
html.epx .closing-quota.epx-h>*{border-radius:0!important}
html.epx .epx-h .k-v{display:block!important}
html.epx .closing-quota.epx-h .text-foreground,html.epx .closing-quota.epx-h .font-medium{color:#fff!important}
html.epx .closing-quota.epx-h [class*=text-4xl]{font-size:52px!important;font-weight:700!important;letter-spacing:-.03em}
html.epx .closing-quota.epx-h .rounded-xl{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,255,255,.10)!important}
html.epx .epx-h [class*=to-violet],html.epx .epx-h [class*=from-sky]{background:linear-gradient(90deg,#0A6E96,#5AC5EB)!important}
html.epx .epx-h .bg-muted{background:rgba(255,255,255,.10)!important}
html.epx .epx-h [class*=bg-rose-500\/15]{background:rgba(255,138,154,.14)!important;color:#FF8A9A!important}

/* ronda 4: ventanas propias */
html.epx .ctcq-box,html.epx .ctgl-box,html.epx .ctpa-box{padding:0!important;background:#fff!important}
html.epx .ctcq-box>*:not(.ctcq-head),html.epx .ctgl-box>*:not(.ctgl-head),html.epx .ctpa-box>*:not(.ctpa-head){margin-left:0!important;margin-right:0!important;padding-left:30px!important;padding-right:30px!important}
html.epx .ctcq-head,html.epx .ctgl-head,html.epx .ctpa-head{border-radius:0!important}
html.epx .ctcq-box>.ctcq-tipos{margin:18px 30px 0!important;padding:4px!important;background:#EEF2F7!important;border-radius:13px!important}
html.epx .ctcq-box label,html.epx .ctgl-box label,html.epx .ctgl-box .fld>span:first-child,html.epx .ctcq-box .fld>span:first-child{font:700 10.5px Inter!important;letter-spacing:.12em!important;text-transform:uppercase;color:#66778C!important}
html.epx .ctcq-box input,html.epx .ctcq-box select,html.epx .ctgl-box input,html.epx .ctgl-box select,html.epx .ctpa-box input,html.epx .ctpa-box select{border-radius:12px!important;border-color:#DCE4ED!important;min-height:40px}
/* Incentivos: panel lateral de cálculo */
html.epx .ct-inc aside.drawer{border-radius:24px 0 0 24px!important;overflow:hidden;box-shadow:-40px 0 80px -30px rgba(0,0,0,.6)!important}
html.epx .ct-inc aside.drawer .dw>:first-child{position:relative;color:#fff!important;padding:24px 64px 22px 28px!important;margin:0!important;border:0!important;background:radial-gradient(120% 140% at 0% 0%,rgba(10,110,150,.55),transparent 55%),radial-gradient(90% 120% at 100% 100%,rgba(36,79,120,.6),transparent 60%),linear-gradient(135deg,#10243B,#0B1A2E)!important}
html.epx .ct-inc aside.drawer .dw>:first-child *{color:#fff!important}
html.epx .ct-inc aside.drawer .dw>:first-child small,html.epx .ct-inc aside.drawer .dw>:first-child p,html.epx .ct-inc aside.drawer .dw>:first-child .mut{color:#A9BCD0!important}
html.epx .ct-inc aside.drawer .dw>:first-child h2,html.epx .ct-inc aside.drawer .dw>:first-child h3{font:700 25px var(--epx-disp)!important}
html.epx .ct-inc aside.drawer .dw>:first-child button{border:1px solid rgba(255,255,255,.2)!important;background:transparent!important;border-radius:10px!important}
html.epx .ct-inc .drawer-bg{background:rgba(6,17,31,.62)!important;backdrop-filter:blur(3px)}
/* e: ventana del Cuadre + violeta a cian */
.epx .cq-dlg .dl-c{border-radius:18px!important;overflow:hidden;padding:0!important;box-shadow:0 30px 80px rgba(10,26,49,.35)!important}
.epx .cq-dlg .dl-h{background:linear-gradient(135deg,#0A1A31,#193651 60%,#0F3B5C)!important;color:#fff!important;padding:22px 30px!important;margin:0!important;display:flex;align-items:center;justify-content:space-between}
.epx .cq-dlg .dl-h *{color:#fff!important}
.epx .cq-dlg .dl-h>div:first-child::before{content:"CUADRE";display:block;font-size:11px;letter-spacing:.22em;color:#5AC5EB!important;font-weight:700;margin-bottom:4px}
.epx .cq-dlg .dl-h button.x{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:10px!important}
.epx .cq-dlg .dl-c>:not(.dl-h):not(.dl-f){margin-left:30px;margin-right:30px}
.epx .cq-dlg .dl-c>.mv{margin-top:20px}
.epx .cq-dlg .dl-f{background:#F4F7FB!important;border-top:1px solid #E2E8F0;padding:16px 30px!important;margin:16px 0 0!important}
.epx .cq-dlg .dl-f .btn:not(.ghost){background:#193651!important;color:#fff!important;border-radius:12px!important}
.epx .cq-dlg input,.epx .cq-dlg select,.epx .cq-dlg textarea{border-radius:12px!important}
.epx .patr-dialog [class*="text-violet"],.epx .patr-dialog [class*="text-purple"],.epx .patr-content [class*="text-violet"],.epx .patr-content [class*="text-purple"]{color:#0A6E96!important}
.epx .patr-content [class*="bg-violet-5"],.epx .patr-content [class*="bg-purple-5"],.epx .patr-dialog [class*="bg-violet-5"]{background-color:#0A6E96!important}
/* f: tarjetas del Cuadre */
.epx .cq-kpis .cq-kpi{min-width:0}
.epx .cq-kpis .cq-kpi:not(.epx-h1) .k-v{font-size:clamp(18px,1.6vw,24px)!important;white-space:nowrap;letter-spacing:-.02em}
.epx .cq-kpis .k-n,.epx .cq-kpis .k-s{color:rgba(225,236,248,.78)!important}
html.epx .ct-cuadre .cq-kpis.epx-h{grid-template-columns:1.15fr 1fr 1.15fr 1fr!important}
