[hidden]{display:none!important}nav{gap:22px}.process-feature{display:grid;grid-template-columns:1.05fr 1fr;gap:45px;align-items:center;background:#fff5ee;border:1px solid #f4dccc;border-radius:10px;padding:38px;margin-top:45px}.process-feature p{color:#526071}.feature-steps{display:grid;grid-template-columns:1fr 30px 1fr 30px 1fr;align-items:center;text-align:center}.feature-steps span{font-family:monospace;font-size:12px;color:#6c7a88}.feature-steps svg{width:100%;height:110px;display:block}.feature-steps b{display:block;font-size:12px}.content-links{display:flex;gap:25px;flex-wrap:wrap;margin-top:24px}.page-intro{padding:44px 0 30px}.page-intro h1{font-size:clamp(38px,4.5vw,56px);max-width:850px}.page-intro p{max-width:760px;color:#526071;font-size:18px}.lab{border:1px solid #dfe5eb;border-radius:12px;overflow:hidden;margin-bottom:30px;background:#fff}.lab-top{background:#0c1b2e;color:white;padding:20px 26px;display:flex;justify-content:space-between;align-items:center;gap:15px}.lab-top strong{font-size:14px}.lab-top span{font:11px monospace;color:#c3cdd7}.step-nav{display:none;grid-template-columns:repeat(7,1fr);background:#f3f5f7;padding:16px;gap:8px;border-bottom:1px solid #dfe5eb}.enhanced .step-nav{display:grid}.step-button{background:transparent;border:1px solid transparent;color:#526071;text-align:left;padding:12px 10px;cursor:pointer;border-radius:6px;line-height:1.25;font-size:12px;min-width:0}.step-button span{display:block;font:12px monospace;margin-bottom:9px;color:#a64614}.step-button:hover{background:#e9eef2}.step-button[aria-pressed=true]{background:#fff;border-color:#ff6717;color:#0c1b2e;font-weight:700;box-shadow:0 3px 10px #0c1b2e08}.stage{padding:36px;display:grid;grid-template-columns:1fr 1fr;gap:36px;border-bottom:1px solid #dfe5eb}.stage h2{font-size:30px;margin:12px 0 18px;line-height:1.2}.stage p{color:#526071;font-size:15px}.stage-figure{margin:0;background:#f3f5f7;align-self:start;border:1px solid #dfe5eb;border-radius:8px;overflow:hidden}.stage-figure svg{display:block;width:100%;height:auto}.stage-figure figcaption{font-size:12px;color:#526071;padding:14px 20px;border-top:1px solid #dfe5eb}.inout{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding-top:17px;border-top:1px solid #dfe5eb;margin-top:24px}.inout dt{font:10px monospace;letter-spacing:.1em;color:#a64614;margin-bottom:7px}.inout dd{margin:0;font-size:13px;color:#526071}.stage details{padding:14px 0}.stage summary{font-size:14px}.stage .prompt{background:#fff5ee;border-radius:5px;padding:13px 17px;color:#7c3b1e;font-size:13px}.stage .source{font-size:11px;margin-top:17px}.source a,.sources a{color:#73503a;text-decoration:underline;text-underline-offset:3px}.lab-controls{display:none;padding:20px 26px;align-items:center;justify-content:space-between;gap:15px}.enhanced .lab-controls{display:flex}.lab-controls .button{padding:11px 16px}.button:disabled{opacity:.45;cursor:not-allowed}.step-state{font-size:12px;color:#526071;text-align:center}.motion-switch{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.lab-explainer{max-width:850px;color:#657180;font-size:13px}.compare{background:#f3f5f7;border-radius:10px;padding:34px}.compare-intro{display:flex;justify-content:space-between;align-items:center;gap:30px}.compare-intro h2{font-size:28px}.choice-nav{display:none;gap:8px;flex-shrink:0}.enhanced .choice-nav{display:flex}.choice-nav button,.filters button{padding:11px 17px;border:1px solid #cdd6df;background:white;border-radius:5px;cursor:pointer;font-size:13px;font-weight:600;color:#526071}.choice-nav button[aria-pressed=true],.filters button[aria-pressed=true]{background:#0c1b2e;color:white;border-color:#0c1b2e}.compare-panel{display:grid;grid-template-columns:180px 1fr;gap:28px;align-items:center;margin-top:25px;border-top:1px solid #d6dfe7;padding-top:20px}.compare-panel svg{width:180px;height:140px}.compare-panel p{color:#526071;max-width:620px;font-size:15px}.compare-panel h3{font-size:22px}.sources{font-size:12px;color:#657180}.sources li{margin:6px 0}.library-tools{display:none;gap:20px;justify-content:space-between;align-items:end;margin-bottom:25px;flex-wrap:wrap}.enhanced .library-tools{display:flex}.filters{display:flex;flex-wrap:wrap;gap:8px}.search-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#526071;min-width:240px}.search-field input{border:1px solid #cdd6df;border-radius:5px;padding:12px 14px;background:white;color:#0c1b2e;width:100%;max-width:100%;min-width:0}.result-count{font-size:12px;color:#657180;margin:15px 0}.library-footer{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:40px}.mini-resource{padding:28px;background:#f3f5f7;border:1px solid #e1e6eb;border-radius:8px}.mini-resource p{font-size:14px;color:#526071}.glossary{display:grid;grid-template-columns:1fr 1fr;gap:18px}.term{padding:24px;border:1px solid #dfe5eb;border-radius:8px}.term dt{font-size:20px;font-weight:700;letter-spacing:-.5px}.term dd{margin:10px 0 0;font-size:15px;color:#526071}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.animate-flow{stroke-dasharray:8 6;animation:flow 2s linear infinite}@keyframes flow{to{stroke-dashoffset:-28}}@media(min-width:801px){.stage{min-height:510px}}@media(max-width:1000px){.step-nav{grid-template-columns:repeat(4,1fr)}.stage{gap:22px;padding:26px}.compare-intro{align-items:start;flex-direction:column;gap:10px}.lab-top span{max-width:180px;text-align:right}}@media(max-width:800px){nav{flex-wrap:wrap;justify-content:start;gap:12px 20px}.process-feature{grid-template-columns:1fr;padding:26px;gap:25px}.stage{grid-template-columns:1fr;gap:24px;padding:24px}.stage-figure{max-width:550px;width:100%;margin:auto}.stage-copy{order:-1}.stage h2{font-size:28px}.page-intro{padding-top:30px}.step-nav{padding:12px;gap:4px}.step-button{font-size:11px;padding:10px 7px}.lab-controls{flex-wrap:wrap;padding:18px}.motion-switch{width:100%;justify-content:center;order:3}.compare{padding:24px}.compare-panel{grid-template-columns:130px 1fr;gap:15px}.compare-panel svg{width:130px;height:110px}.library-footer{grid-template-columns:1fr}.library-tools{align-items:stretch}.search-field{width:100%;min-width:0}.glossary{grid-template-columns:1fr}.lab-top{padding:17px}.lab-top span{font-size:9px}.page-intro p{font-size:16px}.inout{gap:16px}}@media(max-width:440px){.step-nav{grid-template-columns:repeat(3,1fr)}.stage{padding:20px}.compare-panel{grid-template-columns:1fr}.compare-panel svg{margin:auto}.inout{grid-template-columns:1fr}.choice-nav{flex-wrap:wrap}.lab-controls .button{font-size:12px}.lab-top span{display:none}.feature-steps{grid-template-columns:1fr 16px 1fr 16px 1fr}}@media(prefers-reduced-motion:reduce){.animate-flow{animation:none}}@media print{.step-nav,.lab-controls,.choice-nav,.library-tools{display:none!important}.stage[hidden],.compare-panel[hidden]{display:grid!important}.stage{break-inside:avoid;grid-template-columns:1fr 1fr}.stage-figure{max-width:300px}.lab{border:0}.card[hidden],.term[hidden]{display:block!important}}
/* Playback feedback shares the real stage timer; never indicates network loading. */
.playback-status{padding:15px 26px;background:#fff5ee;border-bottom:1px solid #f0dacd}.playback-copy{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#86411e;font-size:12px}.playback-label{display:inline-flex;align-items:center;gap:10px}.playback-label strong{font-size:13px}.playback-track{height:4px;background:#eddbd0;border-radius:6px;overflow:hidden;margin-top:10px}.playback-track>div{height:100%;width:0;background:#db4f0b;transition:width .1s linear}.playback-bars{display:inline-flex;align-items:center;gap:3px;height:18px}.playback-bars i{display:block;width:3px;height:5px;border-radius:2px;background:#b84b18;transform-origin:center}.playback-status[data-playing=true] .playback-bars i{height:16px;animation:playback-pulse .85s ease-in-out infinite alternate}.playback-status[data-playing=true] .playback-bars i:nth-child(2){animation-delay:-.3s}.playback-status[data-playing=true] .playback-bars i:nth-child(3){animation-delay:-.6s}@keyframes playback-pulse{from{transform:scaleY(.25)}to{transform:scaleY(1)}}@media(max-width:600px){.playback-status{padding:14px 20px}.playback-copy{align-items:flex-start;flex-direction:column;gap:5px}}@media(prefers-reduced-motion:reduce){.playback-status[data-playing=true] .playback-bars i{animation:none;height:11px}.playback-track>div{transition:none}}@media print{.playback-status{display:none!important}}
[data-play][aria-pressed=true]{background:#fff0e5;color:#873b14;border:1px solid #e3bda5;gap:9px}[data-play][aria-pressed=true]::before{content:'';display:block;width:8px;height:8px;border-radius:50%;background:#c4490b;animation:playback-dot 1s ease-in-out infinite alternate;flex-shrink:0}@keyframes playback-dot{from{opacity:.35;transform:scale(.8)}to{opacity:1;transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){[data-play][aria-pressed=true]::before{animation:none}}
/* Motion belongs to the components of each illustration, not the slide. */
.diagram-motion{animation-timing-function:linear;animation-iteration-count:infinite;animation-play-state:paused!important;transform-box:view-box;transform-origin:center}.lab[data-playing=true] .stage:not([hidden]) .diagram-motion{animation-play-state:running!important}.draw-profile{stroke-dasharray:100;animation-name:profile-trace;animation-duration:4.5s}.drawing-tip{animation-name:pencil-route;animation-duration:4.5s}.design-lines{animation-name:design-dashes;animation-duration:2s}.design-scan{animation-name:design-scan;animation-duration:4.5s}.design-ring{animation-name:design-turn;animation-duration:9s;transform-origin:250px 175px}.steel-sweep{animation-name:steel-sweep;animation-duration:3s}.material-check{stroke-dasharray:100;animation-name:check-trace;animation-duration:3s}.machining-head{animation-name:tool-feed;animation-duration:3s;animation-timing-function:ease-in-out}.machining-chips{animation-name:chip-spark;animation-duration:.7s}.thermal-waves{animation-name:heat-rise;animation-duration:2.25s}.thermal-core{animation-name:heat-glow;animation-duration:4.5s;animation-timing-function:ease-in-out}.extrusion-ram{animation-name:ram-feed;animation-duration:4.5s}.extrusion-profile{animation-name:profile-exit;animation-duration:4.5s;transform-origin:275px 175px}.measuring-tool{animation-name:measure-pass;animation-duration:4.5s;animation-timing-function:ease-in-out}.measurement-check{stroke-dasharray:100;animation-name:check-trace;animation-duration:4.5s}@keyframes profile-trace{0%{stroke-dashoffset:100}80%,100%{stroke-dashoffset:0}}@keyframes pencil-route{0%{transform:translate(208px,120px)}10%{transform:translate(230px,120px)}30%{transform:translate(230px,192px)}48%{transform:translate(288px,192px)}58%{transform:translate(288px,214px)}78%{transform:translate(208px,214px)}95%,100%{transform:translate(208px,120px)}}@keyframes design-dashes{to{stroke-dashoffset:-40}}@keyframes design-scan{0%,100%{transform:translateY(90px)}50%{transform:translateY(260px)}}@keyframes design-turn{to{transform:rotate(360deg)}}@keyframes steel-sweep{0%{transform:translateX(0)}90%,100%{transform:translateX(260px)}}@keyframes check-trace{0%,20%{stroke-dashoffset:100;opacity:.3}65%,100%{stroke-dashoffset:0;opacity:1}}@keyframes tool-feed{0%,100%{transform:translateY(-15px)}45%,70%{transform:translateY(13px)}}@keyframes chip-spark{0%,100%{opacity:.15}50%{opacity:1}}@keyframes heat-rise{0%,100%{transform:translateY(8px);opacity:.4}50%{transform:translateY(-10px);opacity:1}}@keyframes heat-glow{0%,100%{fill:#ffb289}50%{fill:#ff6717}}@keyframes ram-feed{0%,100%{transform:translateX(0)}90%{transform:translateX(18px)}}@keyframes profile-exit{0%{transform:scaleX(.45)}90%,100%{transform:scaleX(1)}}@keyframes measure-pass{0%,100%{transform:translateY(-8px)}35%,70%{transform:translateY(21px)}}@media(prefers-reduced-motion:reduce){.lab .diagram-motion{animation:none!important}.drawing-tip{display:none}.design-scan{transform:translateY(175px)}}
.lab-controls{border-bottom:1px solid #dfe5eb;background:#fff}
/* Mobile-only refinement: keep the approved desktop layout intact. */
@media screen and (max-width:800px){
 .lab .lab-top{padding:12px 14px}
 .lab .lab-top strong{font-size:13px}
 .lab .lab-top>span{display:none}
 .lab .step-nav{grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;padding:10px 12px;align-items:center}
 .lab .step-button{font-size:0;line-height:0;padding:0;border:1px solid #d3dce5;background:#fff;border-radius:999px;min-height:36px;text-align:center;width:100%}
 .lab .step-button span{display:flex;align-items:center;justify-content:center;font:600 12px Arial,Helvetica,sans-serif;margin:0;color:#526071;min-height:34px}
 .lab .step-button[aria-pressed=true]{background:#0c1b2e;border-color:#0c1b2e;box-shadow:none}
 .lab .step-button[aria-pressed=true] span{color:#fff}
 .lab .step-nav::after{content:attr(data-current-step);grid-column:1/-1;font-size:12px;font-weight:700;color:#0c1b2e;line-height:1.3;padding:5px 2px 0}
 .enhanced .lab .lab-controls{display:grid;grid-template-columns:42px minmax(0,1fr) 42px;gap:8px;padding:10px 12px}
 .lab .motion-switch{display:contents}
 .lab .step-state{display:none}
 .lab .lab-controls .button{min-height:40px;padding:8px;gap:7px;font-size:0;line-height:1.2;min-width:0}
 .lab [data-prev]::after{content:'←';font-size:19px}
 .lab [data-next]::after{content:'→';font-size:19px}
 .lab [data-play]::after{content:'Reproducir';font-size:13px}
 .lab [data-play][aria-pressed=true]::after{content:'Pausar';font-size:13px}
 .lab .playback-status{padding:9px 12px}
 .lab .playback-copy{flex-direction:row;align-items:center;gap:8px;font-size:10px}
 .lab .playback-label{gap:7px;flex-shrink:0}
 .lab .playback-label strong{font-size:11px}
 .lab .playback-track{margin-top:7px;height:3px}
 .lab .stage{padding:12px;gap:20px}
 .lab .stage-figure{order:0;max-width:500px}
 .lab .stage-figure svg{max-height:255px}
 .lab .stage-figure figcaption{padding:9px 12px;font-size:11px;line-height:1.4}
 .lab .stage-copy{order:1;padding:0 4px}
 .lab .stage h2{font-size:25px;margin-top:10px}
}
