/* SmartMon: cuestionario de encaje, basado en la calculadora OEE. */
.sm-encaje .oee-wizard,.sm-encaje .oee-results{min-height:0;overflow:visible;padding:clamp(20px,4vw,36px)}
.sm-encaje .encaje-intro{align-items:flex-start;gap:14px}
body.sx-theme .sm-encaje h2{margin:0 0 8px;line-height:1.25}
.sm-encaje .encaje-intro p{max-width:650px;margin:0;color:var(--oee-muted);line-height:1.6}
.sm-encaje .encaje-facts{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 10px}
.sm-encaje .encaje-facts span{background:#eef6fb;border:1px solid #d8e8f4;border-radius:6px;color:#095a94;padding:6px 12px;font-size:13px}
.sm-encaje .encaje-progress{margin-bottom:4px}
[data-encaje-part="step-label"]{color:var(--oee-blue)}
.sm-encaje .oee-stages{margin-top:22px;min-height:0}
body.sx-theme .sm-encaje .oee-stage h2,.sm-encaje .oee-hint{max-width:none}
.sm-encaje .encaje-options{display:grid;gap:10px;margin:6px 0 14px}
.sm-encaje .encaje-option{appearance:none;display:flex;align-items:center;gap:14px;width:100%;min-height:56px;background:#fbfdff;color:#123650;border:1px solid #c7d9e6;border-radius:8px;padding:13px 16px;text-align:left;font:inherit;font-weight:600;line-height:1.45;cursor:pointer;transition:background .15s,border-color .15s}
.sm-encaje .encaje-option:hover,.sm-encaje .encaje-option[aria-pressed=true]{border-color:#0a70b8;background:#eef6fc}
.sm-encaje .encaje-check{width:20px;height:20px;border:1.5px solid #8ba9be;flex:0 0 20px;border-radius:4px;display:grid;place-items:center;color:transparent;font-size:15px}
.sm-encaje .encaje-option[aria-pressed=true] .encaje-check{background:#0a70b8;border-color:#0a70b8;color:#fff}
.sm-encaje button:disabled{opacity:.45;cursor:not-allowed}
.sm-encaje .oee-navigation{margin-top:5px}
.sm-encaje .encaje-result-head{display:grid;grid-template-columns:minmax(160px,240px) 1fr;gap:26px;align-items:center;padding:24px 0;border-bottom:1px solid var(--oee-line)}
.sm-encaje .encaje-gauge{max-width:230px}
.sm-encaje .encaje-gauge .oee-gauge-label strong{font-size:clamp(36px,7vw,54px);color:var(--encaje-color,#123650)}
.sm-encaje .encaje-gauge .oee-gauge-fill{stroke:var(--encaje-color,#0a70b8)}
.sm-encaje #encaje-level{font-size:clamp(22px,3vw,30px);color:var(--encaje-color,#123650);margin:0 0 10px}
.sm-encaje #encaje-description{line-height:1.65;color:var(--oee-muted);margin:0}
.sm-encaje .encaje-detail{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:22px 0;border-bottom:1px solid var(--oee-line)}
.sm-encaje .encaje-detail h3,.sm-encaje .encaje-modules h3,.sm-encaje .encaje-cta h3{font-size:17px;line-height:1.4;margin:0 0 9px;color:var(--oee-navy)}
.sm-encaje .encaje-detail ul{margin:0;padding:0;list-style:none}
.sm-encaje .encaje-detail li{position:relative;padding-left:22px;margin:7px 0;font-size:13px;line-height:1.5}
.sm-encaje .encaje-good li:before,.sm-encaje .encaje-bad li:before{position:absolute;left:0;font-weight:700}
.sm-encaje .encaje-good li:before{content:'✓';color:#15803d}.sm-encaje .encaje-bad li:before{content:'–';color:#a16207}
.sm-encaje .encaje-modules{padding:20px 0}
.sm-encaje #encaje-modules{display:flex;flex-wrap:wrap;gap:8px}
.sm-encaje #encaje-modules a{color:#095a94;font-size:13px;border:1px solid #d8e5ef;padding:7px 11px;border-radius:6px;background:#f4f9fd}
.sm-encaje .encaje-cta{padding:20px;border-radius:10px;background:#eef6fb;border:1px solid #d5e6f2}
.sm-encaje .encaje-cta p{margin:0 0 12px;font-size:14px;line-height:1.6}
.sm-encaje .encaje-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
.sm-encaje .encaje-actions .btn{font-size:13px;padding:10px 14px;min-height:44px}
.sm-encaje .encaje-cta .encaje-direct{font-size:12px;margin:12px 0 0}
.sm-encaje .encaje-direct a{color:#095a94;text-decoration:underline}
.sm-encaje .encaje-secondary{margin:18px 0 10px}
.sm-encaje .encaje-secondary button{min-height:40px;padding:8px 13px;border-radius:6px;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
@media(max-width:620px){.sm-encaje .encaje-result-head,.sm-encaje .encaje-detail{grid-template-columns:1fr;gap:15px}.sm-encaje .encaje-result-head{text-align:center}.sm-encaje .encaje-gauge{max-width:180px}.sm-encaje .encaje-actions .btn{width:100%;justify-content:center}.sm-encaje .encaje-option{min-height:54px;font-size:14px}}

/* V3.24.35 - una pregunta visible y resultado en pantalla independiente. */
body.sx-theme .sm-encaje [hidden]{display:none!important}
body.sx-theme .sm-encaje{padding:18px 0 26px}
body.sx-theme.encaje-question-mode main>.encaje-hero{display:none}
body.sx-theme.encaje-question-mode .site-footer{display:none}
body.sx-theme.encaje-question-mode .sm-encaje{padding:clamp(12px,4vh,36px) 0}
body.sx-theme .sm-encaje .oee-wizard{padding:clamp(18px,3vw,30px);min-height:0}
body.sx-theme .sm-encaje .encaje-intro{gap:10px}
body.sx-theme .sm-encaje .encaje-intro .oee-nav-next{font:inherit;font-weight:700;padding:12px 20px;min-height:44px;border-radius:7px;cursor:pointer}
body.sx-theme .sm-encaje .encaje-intro .oee-local-note{font-size:11px;color:var(--oee-muted);margin:0}
body.sx-theme .sm-encaje .encaje-wizard .oee-stages{margin-top:18px}
body.sx-theme .sm-encaje .encaje-wizard .oee-stage h2{max-width:none;font-size:clamp(21px,2.6vw,29px);margin:0 0 10px}
body.sx-theme .sm-encaje .encaje-wizard .oee-hint{max-width:none;font-size:13px;line-height:1.45;margin:0 0 10px}
body.sx-theme .sm-encaje .encaje-options{gap:9px;margin:3px 0 8px}
body.sx-theme .sm-encaje .encaje-option{min-height:52px;padding:11px 15px;font-size:15px;line-height:1.35}
body.sx-theme .sm-encaje .encaje-option:focus-visible{outline:2px solid #0a70b8;outline-offset:2px}
body.sx-theme .sm-encaje .encaje-wizard .oee-navigation{margin-top:8px;padding-top:12px}
body.sx-theme .sm-encaje .encaje-wizard .oee-local-note{margin:9px 0 0;font-size:11px;line-height:1.4}
body.sx-theme .sm-encaje .encaje-step-in{animation:oee-step-in .24s cubic-bezier(.2,.7,.2,1)}
body.sx-theme .sm-encaje .encaje-step-back{animation:oee-step-back .24s cubic-bezier(.2,.7,.2,1)}
body.sx-theme .sm-encaje .encaje-result-head{grid-template-columns:minmax(200px,270px) minmax(0,1fr);padding:20px 0;gap:24px}
body.sx-theme .sm-encaje .encaje-gauge{max-width:265px}
body.sx-theme .sm-encaje .encaje-gauge .oee-gauge-label strong{color:var(--encaje-ink,#123650)}
body.sx-theme .sm-encaje #encaje-level{color:var(--encaje-ink,#123650)}
body.sx-theme .sm-encaje .encaje-gauge .oee-gauge-fill{transition:none}
body.sx-theme .sm-encaje .encaje-module-intro{font-size:13px;color:var(--oee-muted);margin:0 0 11px;line-height:1.5}
body.sx-theme .sm-encaje #encaje-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.sx-theme .sm-encaje #encaje-modules a{display:flex;flex-direction:column;gap:5px;padding:12px;font-size:13px;line-height:1.45;text-decoration:none}
body.sx-theme .sm-encaje #encaje-modules a strong{color:#095a94}
body.sx-theme .sm-encaje #encaje-modules a span{color:var(--oee-muted);font-size:12px}
body.sx-theme .sm-encaje #encaje-modules a:hover strong{text-decoration:underline}
body.sx-theme .sm-encaje .encaje-cta .btn-outline{border-color:#0a70b8;color:#095a94;background:#fff}
body.sx-theme .sm-encaje .encaje-secondary{align-items:stretch}
body.sx-theme .sm-encaje .encaje-secondary button{display:flex;align-items:center;justify-content:center}
@media(max-width:620px){
 body.sx-theme .sm-encaje{padding:12px 0 20px}
 body.sx-theme.encaje-question-mode .sm-encaje{padding:10px 0}
 body.sx-theme .sm-encaje .oee-wizard,body.sx-theme .sm-encaje .oee-results{padding:15px}
 body.sx-theme .sm-encaje .encaje-facts{gap:6px}
 body.sx-theme .sm-encaje .encaje-facts span{font-size:11px;padding:5px 8px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-stages{margin-top:12px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-stage h2{font-size:19px;margin-bottom:7px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-hint{font-size:11.5px;margin-bottom:7px}
 body.sx-theme .sm-encaje .encaje-options{gap:7px}
 body.sx-theme .sm-encaje .encaje-option{font-size:13px;min-height:46px;padding:9px 11px;gap:10px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-navigation{margin-top:5px;padding-top:9px}
 body.sx-theme .sm-encaje .encaje-result-head,body.sx-theme .sm-encaje .encaje-detail,body.sx-theme .sm-encaje #encaje-modules{grid-template-columns:minmax(0,1fr)}
 body.sx-theme .sm-encaje .encaje-gauge{max-width:210px}
 body.sx-theme .sm-encaje .encaje-secondary button{flex:1 1 auto}
}
@media(max-height:520px){
 body.sx-theme.encaje-question-mode .sm-encaje{padding:6px 0}
 body.sx-theme .sm-encaje .encaje-wizard{padding:11px 15px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-stages{margin-top:8px}
 body.sx-theme .sm-encaje .encaje-wizard .oee-kicker{display:none}
 body.sx-theme .sm-encaje .encaje-wizard .oee-local-note{display:none}
 body.sx-theme .sm-encaje .encaje-option{min-height:38px;padding:6px 10px}
}
@media(prefers-reduced-motion:reduce){body.sx-theme .sm-encaje .encaje-step-in,body.sx-theme .sm-encaje .encaje-step-back{animation:none}body.sx-theme .sm-encaje .oee-progress i{transition:none}}
