/* IA-ESTudio · Funcionalidades interactivas v1 — aislado para no afectar el sitio. */
.fxl-lab{--fxl-ink:#0a3150;--fxl-teal:#009e93;--fxl-soft:#eff9fa;--fxl-line:#cce3e8;position:relative;margin:2.35rem auto 0;max-width:1060px;padding:clamp(22px,3.4vw,42px);color:var(--fxl-ink);border-radius:26px;background:linear-gradient(138deg,#f5fbfc 0%,#e8f6f7 58%,#f4fafc 100%);border:1px solid #d7e9ee;box-shadow:0 18px 52px rgba(20,64,87,.08);overflow:hidden}
.fxl-lab,.fxl-lab *{box-sizing:border-box}
.fxl-lab button,.fxl-lab input{font:inherit}
.fxl-lab button:focus-visible,.fxl-lab input:focus-visible,.fxl-beforeafter:focus-visible{outline:3px solid #008e83;outline-offset:3px}
.fxl-lab .fxl-intro{max-width:740px;margin-bottom:22px}
.fxl-eyebrow,.fxl-label{font-size:.68rem;line-height:1.5;letter-spacing:.12em;font-weight:800;text-transform:uppercase;color:#0e7e82}
.fxl-intro h3{font-size:clamp(1.35rem,2.7vw,2rem);line-height:1.23;font-weight:800;margin:8px 0 10px;color:#092d4b}
.fxl-intro>p:last-child{font-size:.96rem;line-height:1.7;color:#45647b;margin:0}
.fxl-disclaimer{font-size:.75rem;line-height:1.55;color:#587488;margin:15px 0 0}
.fxl-model-shell{display:grid;grid-template-columns:220px 1fr;gap:18px;align-items:stretch}
.fxl-model-options{display:grid;align-content:center;gap:10px}
.fxl-choice{display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #d2e5ea;background:#fff;color:#193e56;border-radius:13px;padding:14px 16px;font-weight:700;cursor:pointer;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.fxl-choice:hover{transform:translateX(3px);border-color:#20a9a0}
.fxl-choice.is-active{border-color:#06a99d;background:#e1f8f5;box-shadow:0 0 0 1px rgba(0,159,151,.15)}
.fxl-choice-num{font-size:.66rem;letter-spacing:.06em;color:#168e92}
.fxl-model-showcase{padding:16px 20px;background:linear-gradient(140deg,#fff,#f3fafc);border:1px solid #d5e8ed;border-radius:18px}
.fxl-model-svg{display:block;width:100%;max-width:520px;height:105px;margin:auto}
.fxl-model-path-bg{stroke:#b8d2db;stroke-width:4;fill:none}
.fxl-model-path{stroke:#00ad9e;stroke-width:4;stroke-linecap:round;stroke-dasharray:7 10;fill:none;animation:fxl-dash 1.45s linear infinite}
.fxl-model-dot{fill:#d7f6f2;stroke:#049a94;stroke-width:2}
.fxl-model-glyph{font-size:12px;font-weight:800;fill:#0c6d76}
.fxl-model-details{display:grid;grid-template-columns:.95fr 1.1fr 1.35fr;gap:10px}
.fxl-model-details>div{border-radius:10px;background:#fff;padding:13px;border:1px solid #e3eff1}
.fxl-model-details .fxl-label{display:block;margin-bottom:7px}
.fxl-model-details strong{font-size:.86rem;line-height:1.4;display:block}
.fxl-model-details p{margin:0;font-size:.8rem;line-height:1.5;color:#375a71}
.fxl-docs-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:18px;align-items:center}
.fxl-document-list{display:grid;gap:9px}
.fxl-document-list>.fxl-label{margin:0 0 5px}
.fxl-doc{width:100%;padding:12px 13px;display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid #d8e7ec;border-radius:13px;cursor:pointer;color:#24495e;transition:transform .22s ease,background .22s ease,border-color .22s ease;font-weight:650}
.fxl-doc:hover{transform:translateY(-2px);border-color:#23aba4}
.fxl-doc.is-active{background:#e1f8f4;border-color:#04a69c}
.fxl-doc-icon{font-size:19px;display:grid;place-items:center;width:30px;height:30px;background:#e5f2f4;color:#0a8185;border-radius:9px}
.fxl-doc-check{margin-left:auto;width:22px;height:22px;display:grid;place-items:center;border:1px solid #9dc2ca;border-radius:50%;color:transparent}
.fxl-doc.is-active .fxl-doc-check{background:#009f94;border-color:#009f94;color:#fff}
.fxl-document-graphic{position:relative;min-height:245px;border-radius:18px;border:1px solid #cfe4e8;background:radial-gradient(circle at 51% 45%,rgba(0,174,161,.13),transparent 55%),#fff;padding:20px 8px;display:flex;align-items:center;justify-content:center}
.fxl-docs-svg{width:100%;height:190px}
.fxl-docs-line{fill:none;stroke:#d2e4e8;stroke-width:3;stroke-dasharray:6 8;opacity:.3;transition:opacity .25s ease,stroke .25s ease}
.fxl-docs-line.is-active{opacity:1;stroke:#1ab1a7;animation:fxl-dash 1.8s linear infinite}
.fxl-assistant-halo{fill:#e1f9f5;stroke:#a3dcd7;stroke-width:1}
.fxl-assistant-core{fill:#0c6774}
.fxl-assistant-symbol{fill:white;font-size:28px}
.fxl-docs-center{position:absolute;left:50%;top:73%;transform:translateX(-50%);background:#fff;padding:8px 14px;text-align:center;border:1px solid #d7e8ec;border-radius:12px;box-shadow:0 7px 25px rgba(4,65,79,.09);min-width:175px}
.fxl-docs-center strong,.fxl-docs-center span{display:block}
.fxl-docs-center strong{font-size:.85rem}.fxl-docs-center span{font-size:.72rem;color:#5d7e8f}
.fxl-count-wrap{display:flex;align-items:center;gap:11px;margin-top:14px;color:#375a6a;font-size:.85rem}
.fxl-count-num{display:grid;place-items:center;min-width:33px;height:33px;color:#fff;background:#087987;border-radius:10px;font-weight:800}
.fxl-beforeafter{position:relative;overflow:hidden;border-radius:19px;border:1px solid #c6e3e9;background:#fff;aspect-ratio:3/2;max-height:515px;user-select:none;touch-action:pan-y;cursor:ew-resize}
.fxl-beforeafter img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.fxl-before-layer{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--fxl-split)) 0 0);pointer-events:none}
.fxl-before-layer img{width:100%;height:100%}
.fxl-slider-line{position:absolute;top:0;bottom:0;left:var(--fxl-split);width:3px;background:#04afa3;box-shadow:0 0 0 1px rgba(255,255,255,.65),0 0 12px rgba(0,112,130,.3);pointer-events:none;transform:translateX(-50%)}
.fxl-slider-handle{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#fff;color:#087c80;border:2px solid #00a99e;box-shadow:0 5px 18px rgba(3,55,75,.21);font-size:25px;font-weight:700}
.fxl-image-label{position:absolute;top:15px;border-radius:100px;background:rgba(255,255,255,.93);padding:7px 12px;color:#083b55;font-weight:800;font-size:.67rem;letter-spacing:.12em}
.fxl-label-before{left:14px}.fxl-label-after{right:14px}
.fxl-compare-control{display:flex;align-items:center;gap:12px;padding-top:15px}
.fxl-compare-control label{font-size:.81rem;font-weight:650;white-space:nowrap;color:#396273}
.fxl-gesture-icon{font-size:24px;color:#008a86}
.fxl-compare-range{flex:1;accent-color:#029e97;min-width:70px}
.fxl-audio-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:15px}
.fxl-wave-card,.fxl-transcript-card{border:1px solid #cee4e9;border-radius:17px;background:#fff;padding:20px;min-height:221px}
.fxl-wave{display:flex;height:100px;align-items:center;justify-content:center;gap:4px}
.fxl-wave-bar{display:block;width:6px;height:var(--level);border-radius:6px;background:linear-gradient(#03c7b3,#0b708c);transform-origin:center;animation:fxl-wave 1.3s ease-in-out var(--delay) infinite alternate}
.fxl-run-button{display:flex;justify-content:center;align-items:center;gap:12px;border:0;border-radius:12px;background:#05667a;color:white;padding:12px 18px;font-size:.88rem;font-weight:750;cursor:pointer;width:100%;transition:transform .2s ease,background .2s ease}
.fxl-run-button:hover{background:#014b5d;transform:translateY(-2px)}
.fxl-transcript-rule{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #d9e9ed;padding-bottom:12px}
.fxl-live-indicator{height:9px;width:9px;background:#06ac9c;border-radius:50%;box-shadow:0 0 0 4px #e3f6f2}
.fxl-transcript-line{display:flex;gap:9px;align-items:start;margin:17px 0 0;color:#32556b;font-size:.85rem;line-height:1.55}
.fxl-speaker-point{flex:none;width:8px;height:8px;background:#12b0a7;border-radius:50%;margin-top:7px}
.fxl-has-js .fxl-transcript-line:not(.is-visible){opacity:.15;filter:blur(2px)}
.fxl-transcript-line.is-visible{animation:fxl-line .36s ease both}
@keyframes fxl-dash{to{stroke-dashoffset:-36}}
@keyframes fxl-wave{from{transform:scaleY(.5);opacity:.6}to{transform:scaleY(1.1);opacity:1}}
@keyframes fxl-line{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media (max-width:790px){.fxl-model-shell,.fxl-docs-grid,.fxl-audio-grid{grid-template-columns:1fr}.fxl-model-options{grid-template-columns:repeat(3,minmax(0,1fr))}.fxl-choice{justify-content:center;flex-direction:column;gap:3px;padding:10px 6px;font-size:.75rem}.fxl-model-details{grid-template-columns:1fr 1fr}.fxl-model-details>div:last-child{grid-column:1/-1}.fxl-document-graphic{min-height:220px}.fxl-lab{margin-top:26px}}
@media (max-width:490px){.fxl-lab{padding:18px;border-radius:20px}.fxl-model-details{grid-template-columns:1fr}.fxl-model-details>div:last-child{grid-column:auto}.fxl-beforeafter{aspect-ratio:1.1}.fxl-compare-control{flex-wrap:wrap;gap:7px}.fxl-compare-control label{flex:1}.fxl-compare-range{flex-basis:100%}.fxl-document-graphic{min-height:190px}.fxl-docs-svg{height:150px}.fxl-docs-center{top:71%}.fxl-wave{gap:3px}.fxl-wave-bar{width:5px}}
@media (prefers-reduced-motion:reduce){.fxl-lab *, .fxl-lab *::before,.fxl-lab *::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:0ms!important;scroll-behavior:auto!important}}
