/* NextCard — estilos de las gráficas (charts.js). Mismo look en Mi empresa y en Analytics. */
.ncc-tip{position:fixed;z-index:9999;pointer-events:none;background:#1b2233;border:1px solid rgba(154,163,184,.26);border-radius:10px;padding:.45rem .65rem;box-shadow:0 12px 28px -10px rgba(0,0,0,.6);display:flex;flex-direction:column;gap:.1rem;max-width:240px;}
.ncc-tip b{font-size:.78rem;font-weight:700;color:#eef1f7;}
.ncc-tip span{font-size:.74rem;color:rgba(238,241,247,.7);font-variant-numeric:tabular-nums;}
.ncc-none{font-size:.8rem;color:rgba(238,241,247,.45);margin:.4rem 0;list-style:none;}

.ncc-donut{display:flex;align-items:center;justify-content:center;gap:1.1rem;flex-wrap:wrap;}
.ncc-ring{position:relative;width:150px;height:150px;flex:0 0 150px;}
.ncc-ring svg{width:100%;height:100%;display:block;overflow:visible;}
.ncc-seg{cursor:pointer;transition:stroke-width .18s ease,opacity .18s ease;stroke-linecap:butt;}
.ncc-donut.hl .ncc-seg{opacity:.35;}
.ncc-donut.hl .ncc-seg.on{opacity:1;stroke-width:20;}
.ncc-mid{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;pointer-events:none;padding:0 30px;}
.ncc-mid b{font-family:'Geist Mono',ui-monospace,monospace;font-size:1.35rem;font-weight:600;line-height:1.1;color:#eef1f7;}
.ncc-mid span{font-size:.68rem;color:rgba(238,241,247,.55);margin-top:.15rem;line-height:1.2;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;}
.ncc-leg{list-style:none;margin:0;padding:0;flex:1 1 170px;min-width:0;display:flex;flex-direction:column;gap:.15rem;}
.ncc-leg li{display:grid;grid-template-columns:10px minmax(0,1fr) auto auto;align-items:center;gap:.55rem;font-size:.8rem;padding:.35rem .45rem;border-radius:8px;cursor:default;outline:none;transition:background .15s;}
.ncc-leg li i{width:10px;height:10px;border-radius:3px;}
.ncc-leg li .ncc-l{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eef1f7;}
.ncc-leg li b{font-family:'Geist Mono',ui-monospace,monospace;font-weight:600;font-size:.8rem;color:#eef1f7;}
.ncc-leg li small{font-family:'Geist Mono',ui-monospace,monospace;font-size:.72rem;color:rgba(238,241,247,.45);min-width:2.2em;text-align:right;}
.ncc-leg li.on,.ncc-leg li:focus-visible{background:rgba(154,163,184,.1);}

.ncc-bars{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.55rem;}
.ncc-bars li{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr) auto;align-items:center;gap:.7rem;font-size:.8rem;}
.ncc-bl{display:flex;align-items:center;gap:.45rem;min-width:0;}
.ncc-bl i{width:8px;height:8px;border-radius:2px;flex:0 0 8px;}
.ncc-bl span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#eef1f7;}
.ncc-bl small{color:rgba(238,241,247,.45);font-size:.7rem;white-space:nowrap;}
.ncc-bt{height:8px;border-radius:4px;background:rgba(154,163,184,.12);overflow:hidden;}
.ncc-bf{display:block;height:100%;border-radius:4px;background:#3d7bff;transition:width .5s cubic-bezier(.32,.72,0,1);}
.ncc-bars li:hover .ncc-bt{background:rgba(154,163,184,.2);}
.ncc-bars b{font-family:'Geist Mono',ui-monospace,monospace;font-weight:600;font-size:.8rem;color:#eef1f7;min-width:2.5em;text-align:right;}

.ncc-cols{display:flex;align-items:stretch;gap:.45rem;height:150px;}
.ncc-col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.3rem;cursor:default;border-radius:8px;padding:0 .1rem;transition:background .15s;}
.ncc-col:hover{background:rgba(154,163,184,.08);}
.ncc-cv{font-family:'Geist Mono',ui-monospace,monospace;font-size:.7rem;color:rgba(238,241,247,.75);min-height:1em;}
.ncc-cb{width:100%;max-width:34px;border-radius:4px 4px 0 0;background:rgba(61,123,255,.55);transition:height .5s cubic-bezier(.32,.72,0,1),background .15s;}
.ncc-col.now .ncc-cb,.ncc-col:hover .ncc-cb{background:#3d7bff;}
.ncc-cl{font-size:.66rem;color:rgba(238,241,247,.5);text-transform:capitalize;padding-bottom:.2rem;}
@media (prefers-reduced-motion:reduce){.ncc-seg,.ncc-bf,.ncc-cb{transition:none;}}
