/* DalyAccounting R33.2: identidad visual consistente; gráficos sin librerías externas. */
body.public-v57-body{--xvg-a:#43eed1;--xvg-b:#74baf4;--xvg-ink:#eef9ff;--xvg-grid:#3b6c83}
body.public-v57-body[data-xity-theme]{--xvg-a:var(--xity-landing-accent);--xvg-b:var(--xity-landing-orb);--xvg-ink:var(--xity-landing-ink)}
body.public-v57-body .xity-future-network .xity-network-visual{z-index:1}
body.public-v57-body .xity-future-network .xity-network-canvas{display:block;width:100%;height:100%;touch-action:pan-y;cursor:grab;position:relative;pointer-events:auto}
body.public-v57-body .xity-future-network .xity-network-canvas:active{cursor:grabbing}
body.public-v57-body .xity-future-network{background:radial-gradient(ellipse at 50% 50%,color-mix(in srgb,var(--xity-landing-orb,#43eed1) 18%,transparent),transparent 76%);border:1px solid var(--xity-landing-stroke,#2b6576);box-shadow:inset 0 0 40px #0c2a3d30}
.xvg-motion{z-index:5;position:absolute;right:13px;bottom:38px;font:700 11px system-ui,sans-serif;padding:7px 10px;border-radius:8px;border:1px solid var(--xity-landing-stroke,#27647e);color:var(--xity-landing-ink,#eafffd);background:var(--xity-landing-card,#0c2837);cursor:pointer}
.xvg-motion:focus-visible{outline:2px solid var(--xity-landing-accent,#43eed1);outline-offset:3px}
/* Uniformidad del mapa de conexiones: tonos de XITY en lugar del naranja aislado. */
body.public-v57-body .r33-pub{max-width:1700px;background:linear-gradient(155deg,var(--xity-landing-card,#0a293b),var(--xity-landing-bg,#071522));border:1px solid var(--xity-landing-stroke,#285a6b);box-shadow:0 20px 55px #0002;color:var(--xity-landing-ink,#effcff)}
body.public-v57-body .r33-pub-eyebrow,body.public-v57-body .r33-pub-head h2 span{color:var(--xity-landing-accent,#43eed1)!important;-webkit-text-fill-color:var(--xity-landing-accent,#43eed1)!important}
body.public-v57-body .r33-pub-head h2{color:var(--xity-landing-ink,#effcff)!important;-webkit-text-fill-color:var(--xity-landing-ink,#effcff)!important}
body.public-v57-body .r33-pub-head p,body.public-v57-body .r33-pub-pasos span{color:var(--xity-landing-muted,#bdd9e6)!important}
body.public-v57-body .r33-pub-pasos li{border-color:var(--xity-landing-stroke,#2c6677);background:color-mix(in srgb,var(--xity-landing-orb,#43eed1) 7%,transparent)}
body.public-v57-body .r33-pub-pasos li::before{background:var(--xity-landing-accent,#43eed1);color:#071d27}
body.public-v57-body .r33-pub-pasos b{color:var(--xity-landing-ink,#fff)}
body.public-v57-body .r33-pub .xc{
 --xc-acc:var(--xity-landing-accent,#43eed1);--xc-acc2:var(--xity-landing-orb,#7ad8ee);
 --xc-bg:#071825;--xc-card:#0d2331;--xc-line:#265165;--xc-txt:#ecf8fd;--xc-mut:#b2c9d5;
 --xc-warn:#f7cb63;
 background:radial-gradient(1200px 450px at 45% 0,rgba(35,110,129,.23),#071723 74%);
 border:1px solid var(--xity-landing-stroke,#285a6b);box-shadow:0 15px 42px #0002;
 font-family:ui-monospace,Cascadia Code,Consolas,monospace
}
body.public-v57-body .r33-pub .xc-card header,body.public-v57-body .r33-pub .xc-lcard header{color:#092632}
body.public-v57-body .r33-pub .xc-card.cola header{background:#254657;color:#b7d8e4}
body.public-v57-body .r33-pub .xc-card.corriendo header{background:var(--xc-acc2);color:#072d36}
body.public-v57-body .r33-pub .xc-card.aviso header{background:var(--xc-warn);color:#382400}
body.public-v57-body .r33-pub .xc-card.espera header{background:#264250;color:#cde7ec}
body.public-v57-body .r33-pub .xc-card .xc-big,body.public-v57-body .r33-pub .xc-live .xc-nums :is(b,span){color:#f0f9ff}
body.public-v57-body .r33-pub .xc-row b{color:#deedf5}
body.public-v57-body .r33-pub .xc-card footer{color:#97b3c5}
body.public-v57-body .r33-pub .xc-matrix i.ALTO{color:#052a32}
body.public-v57-body .r33-pub .xc-tagbg{fill:#d5fcf6}
body.public-v57-body .r33-pub .xc-ctrl button,body.public-v57-body .r33-pub .xc-ctrl a{color:#d8f2f6;border-color:#367082}
body.public-v57-body .r33-pub .xc-ctrl :is(button,a):hover{color:#fff;background:#173b4e}
body.public-v57-body .r33-pub .xc-svg path[data-de]{stroke:var(--xc-acc)}
body.public-v57-body[data-xity-theme="claro"] .r33-pub .xc{--xc-acc:#59e3cd;--xc-acc2:#98caff}
/* El explorador hereda el tema seleccionado; incluso el tema claro respeta contraste. */
body.public-v57-body .xity-sector-explorer{
 --xvg-accent:var(--xity-landing-accent,#43eed1);--xvg-second:var(--xity-landing-orb,#72bfea);
 --xvg-text:#eaf9ff;--xvg-muted:#b6d1df;--xvg-grid:#3e667b;
 background:linear-gradient(140deg,color-mix(in srgb,var(--xity-landing-bg,#061a2b) 85%,#0a3448),#071c2e);
 border:1px solid var(--xity-landing-stroke,#2b6576);box-shadow:0 22px 55px #0002
}
body.public-v57-body[data-xity-theme="claro"] .xity-sector-explorer{background:linear-gradient(140deg,#0c3447,#0b2137);border-color:#83a5bb}
.xity-sector-chart.xvg-enhanced{position:relative;display:block!important;padding:0!important;height:200px;min-height:200px}
.xvg-chart-canvas{display:block;width:100%;height:100%;min-height:190px;outline-offset:2px}
.xvg-chart-canvas:focus-visible{outline:2px solid var(--xvg-accent,#43eed1)}
.xvg-legend{font-size:11px;font-weight:700;color:#c3e4f1;margin:6px 0 13px;min-height:16px}
.xvg-heatmap-head{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #31586e;padding-top:14px;margin-top:2px;color:#eaffff}
.xvg-heatmap-head strong{display:block;font-size:13px}
.xvg-heatmap-head small{display:block;color:#b4ccdc;font-size:10px;margin-top:3px}
.xvg-heatmap-head>span{font-size:10px;font-weight:800;color:#90d5da;white-space:nowrap}
.xvg-heatmap{display:grid;grid-template-columns:54px repeat(12,minmax(15px,1fr));gap:4px;margin-top:13px;min-width:0}
.xvg-h-label{text-align:center;font:600 10px system-ui;color:#b4cbd9;min-width:0}
.xvg-cell{border:1px solid #2c5669;background:#102d40;border-radius:4px;height:25px;min-width:0;cursor:pointer;padding:0;color:#d4eff7;transition:transform .15s,border-color .15s}
.xvg-cell[data-level="1"]{background:#153b4c}.xvg-cell[data-level="2"]{background:#1b5c63}.xvg-cell[data-level="3"]{background:#248c84}.xvg-cell[data-level="4"]{background:#26bb9b}.xvg-cell[data-level="5"]{background:#4be6bd}
.xvg-cell.xvg-current-row:not(:disabled){border-color:#c5fcf1;box-shadow:0 0 0 1px #d1fff3aa}
.xvg-cell:hover:not(:disabled),.xvg-cell:focus-visible{outline:2px solid #fff;border-color:#fff;transform:scale(1.08);z-index:1}
.xvg-cell:disabled{cursor:default;color:#677d86;background:transparent;border-style:dashed}
.xvg-heatmap-legend{display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-top:10px;color:#b4ccdc;font-size:10px}
.xvg-heatmap-legend i{display:block;width:14px;height:10px;background:#153b4c;border-radius:2px}
.xvg-heatmap-legend i:nth-of-type(2){background:#1b5c63}.xvg-heatmap-legend i:nth-of-type(3){background:#248c84}.xvg-heatmap-legend i:nth-of-type(4){background:#26bb9b}.xvg-heatmap-legend i:nth-of-type(5){background:#4be6bd}
.xvg-heatmap-detail{font-size:10px;color:#b1d5e1;line-height:1.5;min-height:26px;margin:8px 0}
@media(max-width:600px){.xvg-heatmap{gap:2px;grid-template-columns:40px repeat(12,minmax(0,1fr))}.xvg-cell{height:21px;border-radius:2px}.xvg-h-label{font-size:8px}.xvg-heatmap-head{flex-wrap:wrap}.xvg-motion{bottom:28px}}
@media(prefers-reduced-motion:reduce){.xvg-cell{transition:none}}

/* Mapa de calor interno: datos agregados ya autorizados por la ruta XITY CONNECT. */
.xvg-connect-heat{padding:14px 10px 4px;margin-top:14px;border-top:1px solid var(--xc-line,#285166);color:var(--xc-txt,#eaf6fb)}
.xvg-connect-head{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:10px}
.xvg-connect-head strong{font-size:13px;color:#dff5ff}
.xvg-connect-head small{font-size:10.5px;color:var(--xc-mut,#bfd2df)}
.xvg-connect-grid{display:grid;grid-template-columns:60px repeat(12,minmax(0,1fr));gap:5px;text-align:center}
.xvg-connect-grid>span{font-size:10px;color:#a8c8d9;align-self:center}
.xvg-connect-cell{border:1px solid #2d6073;border-radius:3px;background:#193744;color:#b8d0d5;height:26px;cursor:pointer}
.xvg-connect-cell[data-level="1"]{background:#174052}.xvg-connect-cell[data-level="2"]{background:#16636d}
.xvg-connect-cell[data-level="3"]{background:#1c908e}.xvg-connect-cell[data-level="4"]{background:#2abb9e}
.xvg-connect-cell[data-level="5"]{background:#5af0bf}
.xvg-connect-cell:disabled{background:#102532;border-style:dashed;color:#6d8796;cursor:default}
.xvg-connect-cell:focus-visible,.xvg-connect-cell:hover:not(:disabled){outline:2px solid white;outline-offset:1px}
.xvg-connect-detail{color:#bedce9;font-size:11px;min-height:20px;margin-top:9px}
body.daly-shell-v293[data-xity-theme] .xc{--xc-acc:var(--xity-accent,#2f91c3);--xc-acc2:#60b4e4;--xc-bg:#0b2030;--xc-card:#112b3a;--xc-line:#305065;--xc-mut:#b5cbd6;--xc-txt:#eff9fc}
body.daly-shell-v293[data-xity-theme] .xc-card header,body.daly-shell-v293[data-xity-theme] .xc-lcard header{color:#071d2b}
body.daly-shell-v293[data-xity-theme] .xc-card .xc-big,body.daly-shell-v293[data-xity-theme] .xc-live .xc-nums :is(b,span){color:#f6fbff}
body.daly-shell-v293[data-xity-theme] .xc-svg path[data-de]{stroke:var(--xc-acc)}
@media(max-width:600px){.xvg-connect-grid{grid-template-columns:40px repeat(12,minmax(0,1fr));gap:2px}.xvg-connect-cell{height:20px}.xvg-connect-grid>span{font-size:8px}}

.xity-sector-chart.xvg-enhanced + .xity-sector-chart-years{display:none!important}
.xvg-chart-hover{font-size:11px;color:#c0e3eb;font-weight:600;margin:-2px 0 9px;min-height:15px}
