﻿:root{--cfv-navy:#061d33;--cfv-green:#0c4a3e;--cfv-teal:#0e7c6b;--cfv-cyan:#34d4e7;--cfv-gold:#f3bc3d;--cfv-pale:#ddecf2}
.cfv-slides,.cfv-sim,.cfv-board,.cfv-prompts{font-family:Inter,Arial,sans-serif;width:min(100%,1280px);margin:28px auto;border-radius:22px;overflow:hidden;box-shadow:0 18px 50px rgba(4,25,39,.18);background:#fff}
.cfv-slides header,.cfv-sim header,.cfv-board>header,.cfv-prompts>header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 28px;background:linear-gradient(105deg,var(--cfv-navy),#075a70);color:#fff;border-top:6px solid var(--cfv-gold)}
.cfv-slides header span,.cfv-sim header span,.cfv-board>header span,.cfv-prompts>header span{color:var(--cfv-cyan);font-weight:800;letter-spacing:.08em;font-size:13px}.cfv-slides header h2,.cfv-sim header h2,.cfv-board>header h2,.cfv-prompts>header h2{color:#fff!important;margin:5px 0 0;font-size:27px;line-height:1.15;text-shadow:0 1px 2px rgba(0,0,0,.22)}
.cfv-actions,.cfv-view-actions{display:flex;gap:10px;flex-wrap:wrap}.cfv-actions a,.cfv-actions button,.cfv-view-actions a,.cfv-view-actions button,.cfv-sim header button,.cfv-board footer button{border:1px solid rgba(255,255,255,.6);background:rgba(0,0,0,.17);color:#fff!important;padding:11px 15px;border-radius:10px;font-weight:750;text-decoration:none;cursor:pointer}
.cfv-slide-stage{aspect-ratio:16/9;background:#031421;display:grid;place-items:center}.cfv-slide-stage img{width:100%;height:100%;object-fit:contain}.cfv-slides nav{display:flex;justify-content:center;align-items:center;gap:22px;padding:14px}.cfv-slides nav button{background:#0878c9;color:#fff;border:0;border-radius:9px;padding:10px 18px;font-weight:700}
.cfv-slides:fullscreen{width:100vw;height:100vh;max-width:none;margin:0;border-radius:0;display:flex;flex-direction:column}.cfv-slides:fullscreen .cfv-slide-stage{flex:1;min-height:0}
.cfv-sim-grid{display:grid;grid-template-columns:1fr 270px;background:#061d33;color:#fff}.cfv-sim svg{width:100%;min-height:410px}.cfv-pipe{stroke:#34d4e7;stroke-width:12;fill:none;opacity:.65}.cfv-unit rect{fill:#0c4a3e;stroke:#34d4e7;stroke-width:2}.cfv-unit text{fill:#fff;font-weight:800;font-size:12px}.cfv-unit .cfv-value{fill:#f3bc3d;font-size:19px}.cfv-drop{fill:#fff;filter:drop-shadow(0 0 8px #34d4e7)}.cfv-sim aside{padding:28px;background:#082a3a}.cfv-sim aside label{display:block;margin:0 0 24px;font-weight:700}.cfv-sim aside input{display:block;width:100%;margin:10px 0 4px}.cfv-sim-result{padding:18px;background:#0c4a3e;border-radius:14px}.cfv-sim-result strong{display:block;font-size:35px;color:#f3bc3d}.cfv-sim-result small{display:block;margin-top:10px;line-height:1.45}
.cfv-board>header p{margin:8px 0 0;color:#ddecf2}.cfv-review{padding:14px 25px;background:#fff3c4;color:#473b11}.cfv-company{display:grid!important;grid-template-columns:minmax(210px,.8fr) minmax(0,2fr)!important;gap:18px 28px!important;padding:24px 28px!important;border-bottom:1px solid #d7e3e6;background:#fff}.cfv-company-intro h3{margin:0 0 8px!important;font-size:25px!important;color:#101827!important}.cfv-company-intro p{margin:0;color:#687b78;line-height:1.55;font-size:13px}.cfv-company-core{display:grid;grid-template-columns:1fr 1fr;gap:14px}.cfv-company label,.cfv-inputs label{display:block!important;margin:0!important;font-size:13px!important;font-weight:750!important;color:#0c4a3e!important}.cfv-company input,.cfv-inputs input,.cfv-decisions input,.cfv-decisions textarea{width:100%!important;min-height:42px;box-sizing:border-box!important;border:1px solid #b9cdcf!important;border-radius:8px!important;padding:10px!important;background:#fff!important;color:#17212b!important}
.cfv-company-extra{grid-column:1/-1;display:grid!important;gap:10px!important;padding-top:14px!important;border-top:1px solid #d7e3e6}.cfv-company-extra>div{display:grid!important;grid-template-columns:minmax(180px,1fr) minmax(300px,2fr) auto!important;align-items:end!important;gap:10px!important}.cfv-company-extra button{width:auto!important;min-width:94px!important;height:42px!important;margin:0!important;border:1px solid #efb2aa!important;color:#c53a2d!important;background:#fff7f5!important;border-radius:8px!important;padding:9px 14px!important;font-weight:700!important}.cfv-add-company-field{grid-column:1/-1!important;justify-self:start!important;width:auto!important;height:auto!important;margin:0!important;border:1px solid #0e7c6b!important;color:#0c4a3e!important;background:#fff!important;border-radius:8px!important;padding:10px 16px!important;font-weight:750!important;cursor:pointer}
.cfv-calc{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:26px 28px}.cfv-inputs{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cfv-inputs span{display:flex;align-items:center}.cfv-inputs i{min-width:75px;font-style:normal;color:#607477;font-size:12px;padding-left:7px}.cfv-results{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cfv-results article{padding:15px;background:#edf6f4;border-radius:12px}.cfv-results span,.cfv-results small{display:block;color:#557074}.cfv-results strong{display:block;color:#0c4a3e;font-size:25px;margin:4px 0}.cfv-warning{margin-top:14px;padding:12px;border-left:4px solid #f3bc3d;background:#fff8dc;font-size:12px}
.cfv-decisions{padding:0 28px 24px}.cfv-decisions [data-decision-rows]>div{display:grid;grid-template-columns:1fr 2fr auto;gap:10px;margin:10px 0}.cfv-decisions textarea{min-height:65px}.cfv-decisions button{border:1px solid #0e7c6b;color:#0c4a3e;background:#fff;border-radius:8px;padding:9px}.cfv-board footer{display:flex;align-items:center;gap:12px;padding:18px 28px;background:#edf6f4}.cfv-board footer button{background:#0c4a3e;border-color:#0c4a3e}.cfv-board footer span{margin-left:auto}
.cfv-board:fullscreen{width:100vw;height:100vh;max-width:none;margin:0;border-radius:0;overflow:auto}.cfv-prompts details{border-bottom:1px solid #d7e3e6}.cfv-prompts summary{padding:18px 25px;font-weight:800;color:#0c4a3e;cursor:pointer}.cfv-prompts details div{padding:0 25px 20px}.cfv-prompts details p{white-space:pre-wrap;line-height:1.6;background:#edf6f4;padding:15px;border-radius:10px}.cfv-prompts details button{background:#0c4a3e;color:#fff;border:0;border-radius:8px;padding:9px 14px}
.cfv-page{margin:0;background:#e9f1f2}.cfv-page .cfv-board{max-width:none;width:100%;margin:0;border-radius:0;min-height:100vh}
@media(max-width:800px){.cfv-slides header,.cfv-sim header,.cfv-board>header{align-items:flex-start;flex-direction:column}.cfv-sim-grid,.cfv-calc{grid-template-columns:1fr}.cfv-company{grid-template-columns:1fr!important}.cfv-company-core{grid-template-columns:1fr}.cfv-company-extra>div,.cfv-decisions [data-decision-rows]>div{grid-template-columns:1fr!important}.cfv-company-extra button{justify-self:start}.cfv-inputs,.cfv-results{grid-template-columns:1fr}}
@media print{body *{visibility:hidden}.cfv-board,.cfv-board *{visibility:visible}.cfv-board{position:absolute;inset:0;box-shadow:none}.cfv-board>header{background:#0c4a3e!important;-webkit-print-color-adjust:exact}.cfv-view-actions,.cfv-board footer{display:none}}

/* Laboratorio audiovisual profesional de residuos sólidos */
.cfv-sim-v2{background:#071b22;color:#fff}
.cfv-sim-v2 header{background:linear-gradient(105deg,#071b22 0%,#0b493e 55%,#116c55 100%);border-top-color:#f0b83b}
.cfv-sim-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.cfv-sim-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;min-height:650px}
.cfv-process{padding:26px 28px 30px;background:radial-gradient(circle at 76% 12%,rgba(32,191,132,.15),transparent 34%),linear-gradient(145deg,#061820,#0a2630)}
.cfv-process-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-bottom:18px;border-bottom:1px solid rgba(255,255,255,.13)}
.cfv-process-top>div{display:flex;align-items:center;gap:12px}.cfv-process-top b{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#f3bc3d;color:#09232a;font-size:25px}.cfv-process-top span{font-size:12px;letter-spacing:.12em;color:#8eb5bb;font-weight:800}.cfv-process-top strong{font-variant-numeric:tabular-nums;color:#fff;font-size:21px}
.cfv-status{padding:9px 13px;border:1px solid #24c68a;border-radius:7px;background:rgba(36,198,138,.1);color:#54e4aa;font-size:11px;font-weight:850;letter-spacing:.08em}
.cfv-route{position:relative;display:grid;grid-template-columns:repeat(5,minmax(110px,1fr));gap:14px;padding:70px 0 45px;overflow:hidden}
.cfv-route-line{position:absolute;left:7%;right:7%;top:97px;height:5px;background:#163c43;border-radius:10px}.cfv-route-line i{display:block;width:0;height:100%;background:linear-gradient(90deg,#39d98a,#f3bc3d);box-shadow:0 0 12px rgba(57,217,138,.55);transition:width .45s ease}
.cfv-stage{position:relative;z-index:2;min-height:154px;padding:54px 13px 15px;border:1px solid #1d4f54;border-radius:14px;background:linear-gradient(160deg,#0b3036,#0a252c);transition:.35s ease}.cfv-stage-num{position:absolute;top:4px;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border:5px solid #071b22;border-radius:50%;background:#163c43;color:#9dc0c2;font-weight:900;transition:.35s}.cfv-stage h3{font-size:14px;line-height:1.25;margin:7px 0;color:#fff}.cfv-stage p{margin:12px 0 0;color:#86aeb3;font-size:12px}.cfv-stage span{position:absolute;left:12px;right:12px;bottom:10px;height:3px;border-radius:4px;background:#1d4f54}
.cfv-stage.is-active{transform:translateY(-7px);border-color:#f3bc3d;box-shadow:0 12px 26px rgba(0,0,0,.28)}.cfv-stage.is-active .cfv-stage-num{background:#f3bc3d;color:#08252c}.cfv-stage.is-active span{background:#f3bc3d}.cfv-stage.is-done{border-color:#39d98a}.cfv-stage.is-done .cfv-stage-num{background:#21a974;color:#fff}.cfv-stage.is-done span{background:#39d98a}.cfv-stage.is-alert{border-color:#e94d5f;box-shadow:0 0 0 2px rgba(233,77,95,.22)}.cfv-stage.is-alert .cfv-stage-num,.cfv-stage.is-alert span{background:#e94d5f;color:#fff}
.cfv-material{display:none;position:absolute;z-index:4;top:88px;left:5%;width:14px;height:14px;border:3px solid #071b22;border-radius:3px;background:#f3bc3d;box-shadow:0 0 12px #f3bc3d;animation:cfv-material-flow 3.4s linear infinite;animation-delay:var(--delay)}.cfv-sim-v2.is-running .cfv-material{display:block}@keyframes cfv-material-flow{0%{left:5%;transform:rotate(0)}100%{left:94%;transform:rotate(360deg)}}
.cfv-streams{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.cfv-streams article{padding:14px 15px;border:1px solid #1a4850;border-radius:10px;background:rgba(7,31,38,.74)}.cfv-streams span{display:block;color:#83a9ae;font-size:11px}.cfv-streams strong{display:block;margin-top:6px;color:#fff;font-size:21px}
.cfv-event-log{margin-top:20px;padding:16px 18px;border:1px solid #183f47;border-radius:12px;background:rgba(2,14,18,.42)}.cfv-event-log h3{font-size:13px;margin:0 0 10px;color:#b9d2d4}.cfv-event-log ol{height:106px;overflow:auto;margin:0;padding-left:22px;color:#94b4b8;font-size:12px;line-height:1.55}.cfv-event-log li.alert{color:#ff8794}.cfv-event-log li.ok{color:#54e4aa}
.cfv-control-panel{padding:25px 22px;background:#edf4ef!important;color:#0a2d2b!important;border-left:1px solid #c7d9d1}.cfv-control-panel h3{margin:0 0 20px;font-size:18px}.cfv-control-panel label{display:grid!important;grid-template-columns:1fr auto;gap:4px 8px;margin-bottom:18px!important;font-size:12px!important;color:#19453e!important}.cfv-control-panel output{font-weight:900;color:#0c6a51}.cfv-control-panel input{grid-column:1/-1;accent-color:#0f8564}
.cfv-scenario-buttons{display:grid;grid-template-columns:1fr;gap:7px;margin:8px 0 20px}.cfv-scenario-buttons button{padding:9px;border:1px solid #9cbeb1;border-radius:8px;background:#fff;color:#17473e;font-weight:750;cursor:pointer}.cfv-scenario-buttons button.active{background:#0e7c5c;color:#fff;border-color:#0e7c5c}
.cfv-risk-meter{padding:15px;border-radius:10px;background:#fff;border:1px solid #ccddd6}.cfv-risk-meter span{font-size:11px;color:#56736c}.cfv-risk-meter>div{height:9px;margin:9px 0;border-radius:9px;background:#dfe9e5;overflow:hidden}.cfv-risk-meter i{display:block;width:0;height:100%;transition:.35s}.cfv-risk-meter strong{font-size:18px}.cfv-sim-note{margin-top:16px;padding:12px;border-left:4px solid #e7ad2e;background:#fff8dc;color:#5c4b16;font-size:11px;line-height:1.45}
.cfv-sim-v2:fullscreen{width:100vw;max-width:none;height:100vh;margin:0;border-radius:0;overflow:auto}.cfv-sim-v2:fullscreen .cfv-sim-layout{min-height:calc(100vh - 110px)}
@media(max-width:1000px){.cfv-sim-layout{grid-template-columns:1fr}.cfv-route{grid-template-columns:repeat(5,180px);overflow-x:auto}.cfv-control-panel{border-left:0;border-top:1px solid #c7d9d1}.cfv-streams{grid-template-columns:1fr 1fr}}



