/* Cronograma de pagos — MegaMinds 2027. Reutiliza los componentes fz-* (Facturas y O.C.). Paleta Megalabs. */
.cr-kpis{ grid-template-columns:repeat(4,minmax(0,1fr)); } @media (max-width:760px){ .cr-kpis{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.cr-prog{ height:10px; border-radius:99px; background:var(--gris-ui); overflow:hidden; margin:14px 0 22px; } .cr-prog i{ display:block; height:100%; background:linear-gradient(90deg,var(--verde-bandera),var(--verde-lima)); border-radius:99px; transition:width .6s cubic-bezier(.2,.8,.2,1); }
.cr-tl{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(auto-fit,minmax(210px,1fr)); gap:16px; }
.cr-tl li{ position:relative; display:flex; flex-direction:column; gap:10px; }
.cr-dot{ width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-weight:700; color:#fff; background:var(--gris-slogan); box-shadow:0 0 0 5px var(--gris-ui); }
.cr-tl li.pagada .cr-dot{ background:var(--verde-bandera); box-shadow:0 0 0 5px rgba(0,144,69,.18); } .cr-tl li.prox .cr-dot{ background:var(--verde-lima); box-shadow:0 0 0 5px rgba(141,198,63,.3); } .cr-tl li.prog .cr-dot{ background:var(--verde-petroleo); box-shadow:0 0 0 5px rgba(0,133,122,.16); } .cr-tl li.venc .cr-dot{ background:#444; box-shadow:0 0 0 5px rgba(0,0,0,.14); }
.cr-box{ border:1px solid var(--gris-ui); border-radius:14px; padding:14px 16px; display:grid; gap:4px; background:#fff; }
.cr-box b{ font-size:13px; color:var(--gris-slogan); } .cr-box strong{ font-size:22px; color:var(--verde-bosque); letter-spacing:-.01em; } .cr-box span{ font-size:13.5px; color:var(--gris-texto); }
.cr-st{ display:inline-block; font-style:normal; font-size:12px; font-weight:700; padding:3px 10px; border-radius:99px; background:var(--gris-ui); color:var(--gris-texto); width:fit-content; }
.cr-st.pagada{ background:var(--verde-bandera); color:#fff; } .cr-st.prox{ background:var(--verde-lima); color:#1f3d12; } .cr-st.prog{ background:rgba(0,133,122,.14); color:var(--verde-petroleo); } .cr-st.venc{ background:#444; color:#fff; }
.cr-t{ min-width:900px; } .cr-t small{ display:block; color:var(--gris-slogan); font-size:12px; } .cr-t td.num{ white-space:nowrap; }
.cr-bar{ display:block; height:5px; border-radius:9px; background:var(--gris-ui); margin-top:6px; } .cr-bar i{ display:block; height:100%; border-radius:9px; background:var(--verde-brillante); }
.cr-e input,.cr-e select{ width:100%; min-width:84px; padding:7px 8px; border:1px solid var(--gris-ui); border-radius:8px; font:inherit; background:#fff; color:var(--gris-texto); } .cr-e td:nth-child(2) input{ min-width:220px; } .cr-e td:nth-child(8) input{ min-width:160px; }
.cr-e input:focus,.cr-e select:focus{ outline:2px solid var(--verde-brillante); outline-offset:1px; } .cr-e input:disabled{ background:var(--gris-ui); }
html.dark .cr-box,html.dark .cr-e input,html.dark .cr-e select{ background:#12261e !important; color:#fff !important; border-color:rgba(45,179,74,.28) !important; } html.dark .cr-box strong{ color:#8DC63F; } html.dark .cr-box span{ color:#fff; } html.dark .cr-prog,html.dark .cr-bar{ background:#1b382d; }
html.dark .cr-st{ background:#1f4034; color:#fff; } html.dark .cr-st.pagada{ background:#009045; } html.dark .cr-st.prox{ background:#8DC63F; color:#0b1612; } html.dark .cr-st.venc{ background:#fff; color:#0b1612; } html.dark .cr-e input:disabled{ background:#0b1612 !important; }
@media (prefers-reduced-motion:reduce){ .cr-prog i{ transition:none; } }
.cr-st.pend{ background:rgba(110,110,110,.16); color:var(--gris-texto); } .cr-tl li.pend .cr-dot{ background:var(--gris-slogan); }
html.dark .cr-st.pend{ background:#1f4034; color:#c4d4cc; }
.cr-pills{ display:flex; flex-wrap:wrap; gap:8px; margin:10px 0 18px; }
.cr-pill{ display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:99px; background:var(--gris-ui); font-size:13px; color:var(--gris-texto); border:1px solid transparent; }
.cr-pill i{ width:9px; height:9px; border-radius:50%; background:var(--gris-slogan); } .cr-pill strong{ color:var(--verde-bosque); }
.cr-pill.prog{ background:rgba(0,133,122,.1); } .cr-pill.prog i{ background:var(--verde-petroleo); } .cr-pill.prox{ background:rgba(141,198,63,.22); } .cr-pill.prox i{ background:var(--verde-lima); } .cr-pill.pagada{ background:rgba(0,144,69,.14); } .cr-pill.pagada i{ background:var(--verde-bandera); } .cr-pill.venc i{ background:#444; }
.cr-h3b{ margin-top:6px; }
html.dark .cr-pill{ background:#1f4034; color:#fff; } html.dark .cr-pill strong{ color:#8DC63F; }
