/* V3.24.48: base común de los tres cuestionarios. */
body.sx-theme .sm-encaje .encaje-option-copy{display:flex;flex-direction:column;gap:3px}
body.sx-theme .sm-encaje .encaje-option-copy small{font-size:12px;font-weight:400;line-height:1.35;color:var(--oee-muted,#526c80)}
body.sx-theme .sm32444-diag{padding:18px 0 26px}
/* V3.24.181: ambos tests al ancho general del sitio, en todas sus fases. */
body.sx-theme :is(.sm32444-diag,.sm-encaje)>.container{max-width:1200px}
body.sx-theme .sm32444-diag .sm3237-diag{max-width:none}
body.sx-theme .sm32444-diag .oee-wizard{padding:clamp(15px,3vw,30px);min-height:0;overflow:visible}
body.sx-theme .sm32444-diag .oee-stages{min-height:0;margin-top:16px}
body.sx-theme .sm32444-diag .sm3237-dgroup{padding:0;border:0;margin:0;background:transparent}
body.sx-theme .sm32444-diag .sm3237-dgroup h3{font-size:13px;margin:0 0 10px}
body.sx-theme .sm32444-diag .sm3237-question{display:block;min-width:0;border:0;margin:0;padding:0}
body.sx-theme .sm32444-diag .sm3237-question legend{float:none;width:100%;font-size:clamp(18px,2.6vw,27px);line-height:1.25;font-weight:750;margin:0 0 12px}
body.sx-theme .sm32444-diag .sm3237-question legend small{font-size:13px;line-height:1.45;margin:7px 0 0}
body.sx-theme .sm32444-diag .sm3237-options{display:grid;grid-template-columns:1fr;gap:9px}
body.sx-theme .sm32444-diag .sm3237-option{min-height:50px;gap:14px;padding:11px 15px;font:inherit;font-weight:650;border-radius:8px;background:#fbfdff}
body.sx-theme .sm32444-diag .sm3237-option:hover,body.sx-theme .sm32444-diag .sm3237-option:has(input:checked){border-color:#0a70b8;background:#eef6fc}
body.sx-theme .sm32444-diag .oee-navigation{margin-top:12px}
body.sx-theme .sm32444-diag .oee-local-note{font-size:12px;margin:8px 0 0}
body.sx-theme .sm32444-diag .sm32444-diag-gauge{max-width:200px;margin:0 auto}
body.sx-theme .sm32444-diag .sm3237-score-value{margin:0;font-size:42px}
body.sx-theme .sm32444-diag .sm3237-score-status{text-align:center}
body.sx-theme.sm32444-diag-mode main>.hero-small{display:none}
body.sx-theme.sm32444-diag-mode main>.sm32444-diag~section,body.sx-theme.sm32444-diag-mode .site-footer{display:none}
body.sx-theme .sm32444-diag [hidden]{display:none!important}
@media(max-width:620px){body.sx-theme .sm32444-diag{padding:10px 0}body.sx-theme .sm32444-diag .oee-stages{margin-top:12px}body.sx-theme .sm32444-diag .sm3237-question legend small{font-size:12px}body.sx-theme .sm32444-diag .sm3237-option{min-height:46px;font-size:14px}body.sx-theme .sm-encaje .encaje-option-copy small{font-size:11px}}

/* Altura mínima calculada con todas las preguntas, sin recortar el texto. */
body.sx-theme .sm-oee .oee-stages{position:relative;min-height:var(--sm-step-height,0px)}
body.sx-theme .sm-oee .oee-stage{animation:none!important}
body.sx-theme .sm-oee .sm32448-measure{position:absolute;top:0;left:0;width:100%;display:flow-root;visibility:hidden;pointer-events:none;z-index:-1}
body.sx-theme .sm-oee .sm32448-transitioning{pointer-events:none}
body.sx-theme .sm-oee .oee-navigation .sm32448-confirmed{background:#07385f!important;border-color:#07385f!important;color:#fff!important}
body.sx-theme .sm-encaje .encaje-options{grid-auto-rows:1fr}
body.sx-theme .sm-encaje .encaje-option{min-height:var(--sm-option-min,68px);font-size:17px;font-weight:650}
body.sx-theme .sm-encaje .encaje-option-copy small{font-size:13px;line-height:1.45}
body.sx-theme .sm-encaje .encaje-option[aria-pressed=true],body.sx-theme .sm-encaje .encaje-option.sm32448-confirmed{
 background:#e0f0fb;border-color:#0a70b8;box-shadow:inset 0 0 0 1px #0a70b8;
}
body.sx-theme .sm-encaje .encaje-check{border-radius:50%;width:24px;height:24px;flex-basis:24px}
body.sx-theme .sm-encaje .sm32448-question-icon{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;color:#0a70b8;flex-shrink:0}
body.sx-theme .sm-encaje .sm32448-question-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.sx-theme .sm-encaje .sm32448-question-heading{display:flex;align-items:flex-start;gap:9px}
body.sx-theme .sm-encaje .sm32448-question-heading h2{min-width:0;flex:1}
body.sx-theme .sm-encaje #encaje-intro h2{font-size:clamp(23px,3vw,31px)}
body.sx-theme .sm-encaje #encaje-intro p{font-size:16px}
body.sx-theme .sm-encaje .encaje-result-head .sm32448-specialist{display:inline-flex;align-items:center;gap:8px;margin-top:16px;max-width:100%;white-space:normal;text-align:center}
body.sx-theme .sm-encaje .encaje-result-head .sm32448-specialist svg{width:19px;height:19px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.sx-theme .sm32444-diag .sm3237-option{min-height:var(--sm-option-min,50px);font-size:16px}
body.sx-theme .sm32444-diag .sm3237-option:has(input:checked),body.sx-theme .sm32444-diag .sm3237-option.sm32448-confirmed{background:#e0f0fb;border-color:#0a70b8;box-shadow:inset 0 0 0 1px #0a70b8}
@media(max-width:620px){
 body.sx-theme .sm-encaje .encaje-option{font-size:15px;min-height:var(--sm-option-min,58px)}
 body.sx-theme .sm-encaje .encaje-option-copy small{font-size:12px}
 body.sx-theme .sm-encaje .sm32448-question-icon{width:25px;height:25px}
 body.sx-theme .sm-encaje .sm32448-question-icon svg{width:21px;height:21px}
 body.sx-theme .sm32444-diag .sm3237-option{font-size:15px;min-height:var(--sm-option-min,46px)}
}
@media(prefers-reduced-motion:reduce){body.sx-theme .sm-oee .oee-stage,body.sx-theme .sm-oee .encaje-option,body.sx-theme .sm-oee .sm3237-option{animation:none!important;transition:none!important}}
/* La calculadora tiene una regla histórica con ID; aplicar también ahí la altura medida. */
body.sx-theme #sm-oee .oee-stages{min-height:var(--sm-step-height,0px)}


/* V3.24.108: presentacion compartida de los tests. */
body.sx-theme .sm-oee .sm324108-test-intro{align-items:flex-start;gap:12px;min-height:0;overflow:visible;padding:clamp(18px,3vw,30px);}
body.sx-theme .sm-oee .sm324108-test-intro h2{font-size:clamp(23px,3vw,31px);margin:0;color:var(--oee-navy,#123650);line-height:1.2;}
body.sx-theme .sm-oee .sm324108-test-intro>p{font-size:15px;max-width:760px;color:var(--oee-muted,#526c80);line-height:1.6;margin:0;}
body.sx-theme .sm-oee .sm324108-test-benefits{width:100%;background:#f4f9fd;border:1px solid #d8e8f4;border-radius:8px;padding:16px 20px;}
body.sx-theme .sm-oee .sm324108-test-benefits h3{font-size:16px;color:var(--oee-navy,#123650);margin:0 0 8px;}
body.sx-theme .sm-oee .sm324108-test-benefits ul{margin:0;padding:0 0 0 20px;color:var(--oee-muted,#526c80);font-size:14px;line-height:1.55;}
body.sx-theme .sm-oee .sm324108-test-benefits li+li{margin-top:5px;}
body.sx-theme .sm-oee .sm324108-test-facts{display:flex;flex-wrap:wrap;gap:7px;}
body.sx-theme .sm-oee .sm324108-test-facts span{padding:5px 10px;background:#eef6fb;border:1px solid #d8e8f4;border-radius:6px;color:#095a94;font-size:12px;font-weight:600;}
body.sx-theme .sm-oee .sm324108-test-intro .oee-nav-next{min-height:44px;padding:11px 20px;font-size:14px;font-weight:700;border-radius:7px;cursor:pointer;}
body.sx-theme .sm-oee .sm324108-test-intro>.oee-local-note{font-size:12px;}
@media(max-width:620px){body.sx-theme .sm-oee .sm324108-test-intro{gap:10px;padding:15px;}body.sx-theme .sm-oee .sm324108-test-intro>p{font-size:13px;}body.sx-theme .sm-oee .sm324108-test-benefits{padding:11px 13px;}body.sx-theme .sm-oee .sm324108-test-benefits ul{font-size:12px;}body.sx-theme .sm-oee .sm324108-test-facts span{font-size:11px;}body.sx-theme .sm-oee .sm324108-test-intro>.oee-local-note{font-size:11px;}}

/* Igualar la introduccion de compatibilidad a la de diagnostico, incluso ante reglas antiguas por ID. */
body.sx-theme .sm-encaje #encaje-intro.sm324108-test-intro>p{font-size:15px;line-height:1.6;max-width:760px;}
body.sx-theme .sm-encaje #encaje-intro.sm324108-test-intro>.oee-local-note{font-size:12px;}
@media(max-width:620px){body.sx-theme .sm-encaje #encaje-intro.sm324108-test-intro>p{font-size:13px;}body.sx-theme .sm-encaje #encaje-intro.sm324108-test-intro>.oee-local-note{font-size:11px;}}


/* V3.24.109: ninguna animacion CSS heredada puede competir con el carrusel. */
body.sx-theme .sm-oee:where(:not(.sm32444-diag)) .sm324109-slide-copy{pointer-events:none!important;user-select:none!important;animation:none!important;transition:none!important;}
body.sx-theme .sm-oee:where(:not(.sm32444-diag)) .sm324109-slide-copy *{pointer-events:none!important;animation:none!important;transition:none!important;}
body.sx-theme .sm-oee:where(:not(.sm32444-diag)) .oee-wizard .oee-stage,body.sx-theme .sm-oee:where(:not(.sm32444-diag)) .sm324109-slide-copy .oee-stage{animation:none!important;}


/* Motor compartido: tarjetas reales y altura estable. */
body.sx-theme .sm-oee .sm-question-viewport{position:relative;min-width:0;overflow:hidden;overflow:clip}
body.sx-theme .sm-oee .sm-question-track{position:relative;display:flex;align-items:flex-start;gap:0;width:100%;min-width:0;transition:none!important;animation:none!important}
body.sx-theme .sm-oee .sm-question-track>.sm-question-slide{flex:0 0 100%;width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin-inline:0}
body.sx-theme .sm-oee .sm-question-track>.sm-question-card{min-height:var(--sm-question-height,0px)!important}
body.sx-theme .sm-oee .sm-question-track.sm-question-measuring>.sm-question-card{display:flex!important;position:absolute!important;top:0;left:0;visibility:hidden!important;pointer-events:none!important;min-height:0!important}
body.sx-theme .sm-oee .sm-question-card .oee-stages{flex:1 1 auto}
body.sx-theme :is(.sm32444-diag,.sm-encaje) .oee-navigation .oee-nav-back{background:#ff8d2b!important;border-color:#ff8d2b!important;color:#123650!important}
body.sx-theme :is(.sm32444-diag,.sm-encaje) .oee-navigation .oee-nav-back:hover{background:#f47d13!important;border-color:#f47d13!important;color:#123650!important}
body.sx-theme .sm32444-diag .sm324110-question-card .oee-stages{min-height:0;flex:1 1 auto;transition:none!important;animation:none!important}
body.sx-theme .sm32444-diag .sm324110-question-card .sm3237-option{cursor:pointer}



/* V3.24.130: resultado sin cabecera introductoria ni desplazamiento lateral. */
body.sx-theme.sm-question-result-mode main>.hero-small{display:none}
body.sx-theme .sm-question-track>.oee-results.sm-final-reveal{animation:sm-final-reveal .55s cubic-bezier(.22,.61,.36,1) both!important;transform-origin:center top}
@keyframes sm-final-reveal{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}
body.sx-theme .sm-question-track>.oee-results .oee-gauge-fill{transition:none!important}
@media(prefers-reduced-motion:reduce){body.sx-theme .sm-question-track>.oee-results.sm-final-reveal{animation:none!important}}

/* Presentación compartida de las introducciones. */
body.sx-theme :is(#sm324108-diag-intro,#encaje-intro){align-items:center;text-align:center;gap:14px}
body.sx-theme :is(#sm324108-diag-intro,#encaje-intro) .sm324108-test-facts{justify-content:center}
body.sx-theme :is(#sm324108-diag-start,#encaje-start){align-self:center;margin:5px auto 8px;min-height:52px;width:min(300px,100%);font-size:16px;text-align:center;white-space:normal}
body.sx-theme :is(#sm324108-diag-intro,#encaje-intro) .sm324108-test-benefits{text-align:left}
body.sx-theme :is(#sm324108-diag-intro,#encaje-intro)>.oee-local-note{text-align:center}
@media(max-width:620px){body.sx-theme :is(#sm324108-diag-intro,#encaje-intro){gap:10px}body.sx-theme :is(#sm324108-diag-start,#encaje-start){font-size:15px;min-height:48px;margin:4px auto 5px}}
