/* SmartMon V3.21.1: CSS unificado de la calculadora y el cálculo detallado. */
/* SmartMon V3.20.0 — preguntas y resultados en una misma vista. */
body.sx-theme .oee-v3200{--oee-blue:#0a70b8;--oee-navy:#123650;--oee-orange:#ff8d2b;--oee-line:#dce5eb;--oee-muted:#526779;background:#f3f7fa;color:var(--oee-navy);padding:18px 0 45px}
body.sx-theme .oee-v3200>.container,body.sx-theme .oee-hero>.container{max-width:1200px}

body.sx-theme main>.oee-hero h1{margin:5px 0 6px!important}
body.sx-theme main>.oee-hero p{max-width:none;font-size:14px;line-height:1.5;margin:0}
.oee-v3200 *,.oee-v3200 *::before,.oee-v3200 *::after{box-sizing:border-box}
.oee-v3200 [hidden]{display:none!important}
.oee-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.oee-toolbar>p{display:flex;align-items:center;gap:9px;margin:0;font-size:12px;color:var(--oee-muted)}
.oee-live-dot,.oee-live-badge i{display:inline-block;width:6px;height:6px;flex:0 0 6px;background:var(--oee-blue);border-radius:50%;box-shadow:0 0 0 4px #0a70b80c}
.oee-toolbar-actions{display:flex;gap:7px}
.oee-text-button{appearance:none;background:#fff;border:1px solid #cbdbe7;border-radius:6px;padding:6px 10px;color:#095a94;font-family:inherit;font-size:11px;font-weight:650;line-height:1.4;cursor:pointer}
.oee-text-button:hover{border-color:var(--oee-blue);background:#eff7fc}
.oee-v3200 button:focus-visible,.oee-v3200 a:focus-visible,.oee-v3200 summary:focus-visible{outline:3px solid var(--oee-blue);outline-offset:3px}
.oee-workspace{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:20px;align-items:stretch}
.oee-workspace>form,.oee-results{min-width:0}
.oee-card{background:#fff;border:1px solid var(--oee-line);border-radius:15px;box-shadow:0 6px 24px #12365006}
.oee-wizard{min-height:430px;padding:24px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.oee-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 9px;font-size:11px;line-height:1.4;color:var(--oee-muted)}
#oe-progress-label{color:var(--oee-blue);font-weight:750}
.oee-progress{height:5px;background:#e7eff5;border-radius:10px;overflow:hidden;flex-shrink:0}
.oee-progress i{display:block;width:100%;height:100%;background:var(--oee-blue);border-radius:10px;transform:scaleX(0);transform-origin:left;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.oee-stages{flex:1 1 auto;min-height:auto;position:relative;margin-top:25px}
.oee-stage{height:auto;min-height:0;display:flex;flex-direction:column;animation:oee-step-in .3s cubic-bezier(.2,.7,.2,1)}
.oee-stage.oee-reverse{animation-name:oee-step-back}
@keyframes oee-step-in{from{opacity:0;transform:translateX(17px)}to{opacity:1;transform:translateX(0)}}
@keyframes oee-step-back{from{opacity:0;transform:translateX(-17px)}to{opacity:1;transform:translateX(0)}}
.oee-kicker{display:block;font-size:10px;font-weight:750;letter-spacing:.12em;text-transform:uppercase;color:var(--oee-blue);margin-bottom:8px}
body.sx-theme .oee-v3200 .oee-stage h2{font-size:clamp(20px,2.05vw,27px);line-height:1.2;letter-spacing:-.025em;margin:0 0 12px;color:var(--oee-navy);font-weight:750;max-width:420px}
.oee-stage h2:focus{outline:none}
.oee-hint{font-size:12px;line-height:1.65;color:var(--oee-muted);margin:0 0 19px;max-width:420px}
.oee-field{min-width:0;display:flex;flex-direction:column;gap:6px}
.oee-input-wrap{display:flex;border:1px solid #b7cbdc;border-radius:10px;align-items:center;overflow:hidden;background:#fbfdff;transition:border-color .15s,box-shadow .15s}
.oee-input-wrap:focus-within{border-color:var(--oee-blue);box-shadow:0 0 0 3px #0a70b814}
body.sx-theme .oee-v3200 .oee-input-wrap input{width:100%;min-width:0;height:59px;border:0;background:transparent;padding:10px 16px;color:#123650;font-family:inherit;font-size:29px;font-weight:650;line-height:1.2;box-shadow:none;font-variant-numeric:tabular-nums}
body.sx-theme .oee-v3200 .oee-input-wrap input:focus{outline:none;box-shadow:none}
.oee-input-unit{padding:0 16px 0 9px;font-size:12px;color:var(--oee-muted);white-space:nowrap}
body.sx-theme .oee-v3200 .oee-input-wrap select{flex:0 0 120px;max-width:45%;min-width:0;height:37px;margin-right:11px;padding:7px 6px;background:#edf5fb;border:0;border-radius:6px;font-family:inherit;font-size:12px;color:#075e9c}
body.sx-theme .oee-v3200 input[aria-invalid=true]{color:#8a4813;background:#fff8f0}
.oee-step-note{display:flex;gap:8px;font-size:11px;line-height:1.5;margin:13px 0 0;color:var(--oee-muted)}
.oee-step-note>span{color:var(--oee-orange);font-weight:750}
.oee-navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;border-top:1px solid #e6edf3;margin-top:12px;flex-shrink:0}
.oee-navigation button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:39px;border-radius:7px;padding:8px 13px;font-size:12px;line-height:1.4;font-weight:650;font-family:inherit;cursor:pointer;transition:background .15s,color .15s}
.oee-navigation svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.oee-nav-back{background:#fff;color:var(--oee-blue);border:1px solid #cbdbe7}
.oee-nav-back:disabled{opacity:.4;cursor:default}
.oee-nav-next{background:var(--oee-blue);border:1px solid var(--oee-blue);color:#fff;margin-left:auto}
.oee-nav-next:hover{background:#075b96}
.oee-step-error{font-size:11px;line-height:1.4;color:#854412;margin:5px 0 0}
.oee-local-note{font-size:10px;line-height:1.5;color:var(--oee-muted);margin:8px 0 0;text-align:center}
.oee-summary-stage .oee-kicker{margin-bottom:5px}
body.sx-theme .oee-v3200 .oee-summary-stage h2{font-size:23px;margin-bottom:6px}
.oee-summary-stage .oee-hint{margin-bottom:9px;font-size:11px}
.oee-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 13px}
.oee-summary-item{font-size:10px;line-height:1.3;position:relative;border:0;border-bottom:1px solid #e6edf3;background:none;padding:4px 16px 6px 0;display:flex;flex-direction:column;align-items:flex-start;min-width:0;color:var(--oee-navy);font-family:inherit;cursor:pointer;text-align:left}
.oee-summary-item>span:first-child{font-size:10px;line-height:1.2;color:var(--oee-muted)}
.oee-summary-item strong{display:block;font-size:14px;font-weight:700;line-height:1.55;font-variant-numeric:tabular-nums}
.oee-summary-edit{position:absolute;right:1px;bottom:10px;color:var(--oee-blue);font-size:12px}
.oee-summary-item:hover{background:#f4f9fd}
.oee-summary-note{font-size:10px;line-height:1.4;color:var(--oee-muted);margin:8px 0 0}
.oee-results{padding:20px 23px;min-height:430px;scroll-margin-top:100px;transition:border-color .4s}
.oee-result-heading{display:flex;justify-content:space-between;align-items:center;gap:9px}
body.sx-theme .oee-v3200 .oee-result-heading h2{font-size:16px;letter-spacing:-.02em;line-height:1.3;margin:0;color:var(--oee-navy)}
.oee-live-badge{display:flex;gap:6px;align-items:center;font-size:9px;font-weight:600;white-space:nowrap;color:var(--oee-blue);border:1px solid #daebf7;background:#f4f9fd;border-radius:30px;padding:5px 9px}
.oee-live-badge i{width:5px;height:5px;flex-basis:5px;box-shadow:none}
.oee-overview-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;margin:10px 0 14px}
.oee-gauge{position:relative;max-width:184px;width:100%;aspect-ratio:1;margin:auto;display:grid;place-items:center}
.oee-gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.oee-gauge-track,.oee-gauge-fill{fill:none;stroke-width:14}
.oee-gauge-track{stroke:#eaf0f5}
.oee-gauge-fill{stroke:var(--oee-blue);stroke-linecap:round}
.oee-gauge-label{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px}
.oee-gauge-label>span{font-size:10px;font-weight:650;letter-spacing:.15em;color:var(--oee-muted)}
.oee-gauge-label strong{font-size:35px;letter-spacing:-.045em;font-weight:750;line-height:1.1;font-variant-numeric:tabular-nums;color:var(--oee-navy)}
.oee-gauge-label small{font-size:9px;color:var(--oee-muted);margin-top:3px}
.oee-factors{margin:0;display:grid;gap:11px}
.oee-factor{border-radius:7px;transition:background .3s;padding:3px 6px;margin:0 -6px}
.oee-factor.is-relevant{background:#eef7fd}
.oee-factor dt{font-size:10px;line-height:1.3;color:var(--oee-muted);font-weight:600}
.oee-factor dd{margin:0;line-height:1}
.oee-factor strong{display:block;font-size:21px;line-height:1.3;letter-spacing:-.02em;font-weight:700;font-variant-numeric:tabular-nums}
.oee-meter{display:block;height:4px;background:#e7eff5;margin-top:3px;overflow:hidden;border-radius:20px}
.oee-meter i{display:block;width:100%;height:100%;background:var(--oee-orange);border-radius:20px;transform:scaleX(0);transform-origin:left}
.oee-mini-charts{display:grid;grid-template-columns:1fr 1fr;gap:22px;border-top:1px solid #e3ebf1;padding-top:15px}
.oee-mini-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
body.sx-theme .oee-v3200 .oee-mini-heading h3{font-size:11px;line-height:1.3;margin:0;color:var(--oee-navy);font-weight:750;letter-spacing:0}
.oee-mini-heading>strong{font-size:10px;color:var(--oee-blue);white-space:nowrap}
.oee-stop-chart{display:grid;gap:8px}
.oee-stop-row>div{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:9px;line-height:1.3;margin-bottom:3px;color:var(--oee-muted)}
.oee-stop-row strong{font-weight:650;white-space:nowrap;color:var(--oee-navy);font-variant-numeric:tabular-nums}
.oee-stop-track{height:4px;background:#e7eff5;border-radius:9px;overflow:hidden;display:block}
.oee-stop-track i{display:block;width:100%;height:100%;background:#0a70b8;border-radius:9px;transform:scaleX(0);transform-origin:left}
.oee-timeline{display:flex;height:11px;border-radius:5px;background:#e7eff5;overflow:hidden;margin:4px 0 11px}
.oee-segment{display:block;height:100%;width:0}
.oee-segment-running{background:var(--oee-orange)}
.oee-segment-stops{background:var(--oee-blue)}
.oee-segment-excluded{background:#cbd6df}
.oee-time-legend{display:grid;gap:5px;margin:0}
.oee-time-legend>div{display:flex;justify-content:space-between;align-items:center;gap:8px}
.oee-time-legend dt{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--oee-muted)}
.oee-time-legend dd{font-size:10px;line-height:1.3;margin:0;font-weight:650;font-variant-numeric:tabular-nums}
.oee-key{width:6px;height:6px;display:inline-block;border-radius:2px;flex:0 0 6px}
.oee-key-running{background:var(--oee-orange)}.oee-key-stops{background:var(--oee-blue)}.oee-key-excluded{background:#cbd6df}
.oee-good-total{display:flex;justify-content:space-between;gap:7px;font-size:9px;line-height:1.4;color:var(--oee-muted);margin:9px 0 0;border-top:1px solid #e8eef3;padding-top:6px}
.oee-good-total strong{font-size:12px;color:var(--oee-navy);font-variant-numeric:tabular-nums}
.oee-interpretation{font-size:10px;line-height:1.5;color:var(--oee-muted);margin:12px 0 0}
.oee-feedback{font-size:10px;line-height:1.45;color:#794313;background:#fff6eb;border-left:3px solid var(--oee-orange);padding:7px 9px;margin:8px 0 0}
.oee-link-arrow{display:inline-block;width:14px;height:14px;vertical-align:-2px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex:0 0 14px}
.oee-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.oee-method{border:1px solid var(--oee-line);background:#fff;border-radius:12px;margin-top:8px;padding:0 22px}
.oee-method summary{cursor:pointer;font-size:14px;font-weight:700;color:var(--oee-navy);line-height:1.5;padding:18px 0}
.oee-method-content{border-top:1px solid var(--oee-line);padding:6px 0 16px;font-size:13px;line-height:1.7;color:var(--oee-muted)}
.oee-method-content dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:20px 0}
.oee-method-content dt{font-weight:750;color:var(--oee-navy)}
.oee-method-content dd{margin:5px 0 0}
.oee-method-content a{color:#075f9c;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.oee-live-cta{margin:34px 0;display:grid;grid-template-columns:1.5fr 1fr;gap:50px;background:#102c42;border-radius:17px;padding:clamp(24px,4vw,46px);color:#fff;align-items:center}
body.sx-theme .oee-v3200 .oee-live-cta h2{font-size:clamp(22px,2.2vw,28px);line-height:1.3;letter-spacing:-.025em;color:#fff;margin:12px 0 15px;max-width:630px}
body.sx-theme .oee-v3200 .oee-live-cta .eyebrow{color:#b9ddf5!important;font-size:10px}
.oee-live-cta p{font-size:13px;line-height:1.8;color:#d2e0ea;margin:0 0 20px}
.oee-live-cta .btn{background:var(--oee-blue);border-color:var(--oee-blue);color:#fff;font-size:13px}
.oee-live-cta .btn:hover{background:#085e9b;border-color:#085e9b}
.oee-live-cta-note{border-left:1px solid #426077;padding-left:32px}
.oee-live-cta-note>span{font-size:10px;letter-spacing:.12em;font-weight:650;color:var(--oee-orange)}
.oee-live-cta-note strong{display:block;font-size:clamp(24px,2.8vw,34px);line-height:1.2;letter-spacing:-.035em;margin:12px 0 15px}
.oee-live-cta-note p{margin:0;max-width:260px}
.oee-contact-card{display:grid;grid-template-columns:1fr 1fr;gap:45px;padding:32px;margin-bottom:0}
body.sx-theme .oee-v3200 .oee-contact-card h2{font-size:23px;line-height:1.35;margin:12px 0 20px;max-width:430px}
.oee-contact-card .eyebrow{font-size:10px}
.oee-contact-card .sm-oee-human{margin-bottom:0;gap:14px;align-items:center}
.oee-contact-card .sm-oee-human img{width:75px;height:75px;border-width:2px}
.oee-contact-card .sm-oee-human h3{font-size:13px;color:var(--oee-navy)}
.oee-contact-card .sm-oee-human p{font-size:12px;line-height:1.65;color:var(--oee-muted)}
.oee-contact-actions{grid-column:1/-1}
.oee-contact-actions .btn{background:var(--oee-blue);border-color:var(--oee-blue);color:#fff;font-size:13px}
.oee-contact-actions .oee-local-note{margin-top:10px}
.oee-contact-actions [data-demo-status]{font-size:12px;line-height:1.5}
.oee-noscript{padding:18px;border:1px solid #f3d7b8;background:#fff5e9;color:#77451c;border-radius:10px}
.oee-v3200 .oee-method{margin-top:22px}
.oee-v3200 .oee-live-cta{margin:24px 0}
.oee-contact-card .oee-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.oee-contact-card .oee-field label{font-size:12px;font-weight:600}
body.sx-theme .oee-v3200 .oee-contact-card .oee-field input{width:100%;min-width:0;border:1px solid #bdccda;border-radius:7px;min-height:42px;padding:8px 10px;font:inherit;color:var(--oee-navy);background:#fff}
@media(max-width:1050px){.oee-workspace{gap:15px;grid-template-columns:1fr 1fr}.oee-wizard{padding:20px}.oee-results{padding:20px}.oee-overview-grid{gap:16px}.oee-gauge{max-width:166px}.oee-gauge-label strong{font-size:30px}.oee-mini-charts{gap:15px}.oee-summary-item>span:first-child{font-size:9px}.oee-summary-item strong{font-size:13px}.oee-stage .oee-hint{font-size:11px}.oee-step-note{font-size:10px}}
@media(max-width:620px){body.sx-theme .oee-v3200{padding-top:12px}.oee-workspace{grid-template-columns:1fr;gap:13px}.oee-wizard{min-height:255px;padding:13px 17px}.oee-progress-heading{font-size:10px;margin-bottom:7px}.oee-progress{height:4px}.oee-stages{margin-top:15px}.oee-kicker{font-size:9px;margin-bottom:5px}body.sx-theme .oee-v3200 .oee-stage h2{font-size:19px;margin-bottom:8px;line-height:1.2}.oee-stage .oee-hint{line-height:1.45;margin-bottom:10px}.oee-input-wrap{border-radius:7px}body.sx-theme .oee-v3200 .oee-input-wrap input{height:43px;font-size:24px;padding:7px 12px}.oee-input-unit{font-size:11px;padding-right:12px}.oee-step-note{display:none}.oee-navigation{padding-top:10px;margin-top:8px}.oee-navigation button{min-height:34px;padding:6px 10px;font-size:11px}.oee-local-note{font-size:9px;margin-top:5px}.oee-toolbar{margin-bottom:9px}.oee-toolbar>p{font-size:10px}.oee-text-button{font-size:10px;padding:5px 8px}.oee-toolbar-actions{gap:5px}.oee-summary-stage .oee-kicker,.oee-summary-stage .oee-hint{display:none}body.sx-theme .oee-v3200 .oee-summary-stage h2{font-size:17px;margin-bottom:5px}.oee-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 9px}.oee-summary-item{padding:2px 9px 4px 0}.oee-summary-item>span:first-child{font-size:8px}.oee-summary-item strong{font-size:11px}.oee-summary-edit{font-size:9px;right:0;bottom:7px}.oee-summary-note{font-size:9px;line-height:1.3;margin-top:7px}.oee-results{min-height:0;padding:14px 17px}body.sx-theme .oee-v3200 .oee-result-heading h2{font-size:13px}.oee-live-badge{font-size:8px;padding:3px 6px}.oee-overview-grid{grid-template-columns:1fr 1fr;gap:25px;margin:4px 0 8px}.oee-gauge{max-width:122px}.oee-gauge-label>span{font-size:8px}.oee-gauge-label strong{font-size:26px}.oee-gauge-label small{font-size:7px}.oee-factors{gap:3px}.oee-factor{padding:2px 5px}.oee-factor dt{font-size:9px}.oee-factor strong{font-size:16px}.oee-meter{height:3px;margin-top:2px}.oee-mini-charts{padding-top:10px;gap:18px}.oee-mini-heading{margin-bottom:7px}body.sx-theme .oee-v3200 .oee-mini-heading h3{font-size:10px}.oee-mini-heading>strong{font-size:9px}.oee-stop-chart{gap:6px}.oee-stop-row>div{font-size:8px;margin-bottom:2px}.oee-stop-track{height:3px}.oee-timeline{height:8px;margin:3px 0 8px}.oee-time-legend{gap:3px}.oee-time-legend dt{font-size:8px}.oee-time-legend dd{font-size:9px}.oee-good-total{margin-top:5px;padding-top:4px;font-size:8px}.oee-good-total strong{font-size:10px}.oee-interpretation{margin-top:9px}.oee-feedback{font-size:9px}.oee-step-error{font-size:10px}.oee-method{padding:0 16px}.oee-method summary{font-size:12px}.oee-method-content dl{grid-template-columns:1fr;gap:16px}.oee-live-cta{grid-template-columns:1fr;gap:24px}.oee-live-cta-note{display:none}.oee-contact-card{grid-template-columns:1fr;gap:24px;padding:24px}.oee-contact-card .oee-fields{gap:13px}}
@media(max-width:420px){body.sx-theme main>.oee-hero h1{font-size:22px!important}body.sx-theme main>.oee-hero p{display:none}.oee-hero .breadcrumbs{font-size:10px}.oee-wizard{min-height:255px}body.sx-theme .oee-v3200 .oee-stage h2{font-size:18px}.oee-toolbar>p{font-size:9px}.oee-gauge{max-width:115px}.oee-overview-grid{gap:18px}.oee-mini-charts{gap:13px}.oee-contact-card .oee-fields{grid-template-columns:1fr}.oee-contact-card .sm-oee-human img{width:60px;height:60px}}
@media(prefers-reduced-motion:reduce){.oee-v3200 *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* El área de cálculo cabe en una pantalla móvil habitual sin perder la navegación. */
@media(max-width:620px){
 body.sx-theme:has(.oee-v3200) .topbar{display:none}
 body.sx-theme main>.oee-hero p{display:none}
 .oee-wizard{min-height:245px;padding-top:12px;padding-bottom:12px}
 .oee-stages{margin-top:12px}
 .oee-stage>.oee-kicker{display:none}
 .oee-stage .oee-hint{font-size:11px;line-height:1.4}
 .oee-workspace{gap:9px}
 .oee-results{padding-top:12px;padding-bottom:12px}
 .oee-interpretation{font-size:9px;line-height:1.4;margin-top:7px}
 .oee-mini-charts{padding-top:8px}
 .oee-overview-grid{margin-bottom:6px}
 .oee-navigation{padding-top:8px;margin-top:6px}
}

.oee-summary-edit{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.oee-step-note>.oee-link-arrow{color:var(--oee-orange);width:12px;height:12px;flex:0 0 12px;margin-top:2px}
@media(min-width:621px) and (max-width:850px){
 .oee-summary-stage>.oee-kicker,.oee-summary-stage>.oee-hint{display:none}
 body.sx-theme .oee-v3200 .oee-summary-stage h2{font-size:20px;margin-bottom:12px}
 .oee-summary-grid{gap:8px}
 .oee-summary-item{padding-right:10px}
 .oee-summary-item>span:first-child{font-size:9px}
 .oee-summary-item strong{font-size:12px}
}
@media(max-width:620px){.oee-summary-note{display:none}}
@media(max-width:360px){.oee-wizard{min-height:274px}}

/* Un error ocupa su propio espacio; no se duplica en los dos paneles. */
#sm-oee.has-step-error .oee-results .oee-feedback{display:none}
@media(max-width:620px){#sm-oee.has-step-error .oee-stage:not([hidden])>.oee-hint{display:none}}


/* V3.20.2: borrado por pregunta, mensajes próximos al dato y explicación detallada. */
.oee-clear-field{flex:0 0 44px;width:44px;min-height:44px;border:0;border-left:1px solid #d9e4ec;border-radius:0;background:transparent;color:#647d8f;cursor:pointer;display:grid;place-items:center;padding:8px;align-self:stretch}
.oee-clear-field svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.oee-clear-field:hover,.oee-clear-field:focus-visible{background:#fff0e8;color:#9d421b}
body.sx-theme .oee-v3200 .oee-input-wrap input{flex:1 1 0;width:auto}
.oee-field-feedback{font-size:12px;line-height:1.45;margin:2px 0 0;color:#53697a;overflow-wrap:anywhere}
.oee-field-feedback[data-kind=error],.oee-field-feedback[data-kind=warning]{padding:7px 9px;border-left:3px solid #b45309;background:#fff4e8;color:#77380a;border-radius:3px}
.oee-field-feedback[data-kind=missing]{color:#8a4813}
.oee-detail-link-row{margin-top:9px;border-top:1px solid #e6edf3;padding-top:8px;text-align:right}
.oee-detail-link-row a,.oee-issue-link,.oee-detail-back{color:#095e9b;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.oee-issue-link{background:none;border:0;padding:6px 0 0;cursor:pointer;text-align:left}
.oee-detail-page .container{max-width:1120px}
.oee-detail-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.oee-detail-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,210px);gap:26px;align-items:center;padding:25px}
body.sx-theme .oee-detail-page h2{font-size:22px;line-height:1.3;letter-spacing:-.025em;margin:0 0 10px;color:#102c42}
.oee-detail-page p{font-size:14px;line-height:1.65;color:#526779;margin:0 0 12px;overflow-wrap:anywhere}
.oee-detail-intro p{margin-bottom:0}
.oee-detail-score{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;background:#edf6fc;border:1px solid #dcebf5;border-radius:12px;padding:22px;text-align:center;color:#0a70b8}
.oee-detail-score span{font-size:12px;font-weight:750;letter-spacing:.1em}
.oee-detail-score strong{font-size:38px;line-height:1.15;color:#0b3a60;overflow-wrap:anywhere}
.oee-detail-score small{font-size:11px;line-height:1.4;color:#526779}
.oee-detail-page .oee-detail-state{margin:14px 0;color:#526779}
.oee-detail-issues{display:grid;gap:7px;margin-bottom:16px}
.oee-detail-page .oee-detail-issue{margin:0;padding:10px 13px;background:#fff4e8;border-left:3px solid #b45309;border-radius:5px;color:#77380a}
.oee-detail-layout{display:grid;grid-template-columns:minmax(230px,.72fr) minmax(0,1.65fr);align-items:start;gap:20px}
.oee-detail-inputs{min-width:0;padding:20px}
.oee-detail-inputs dl{margin:15px 0 18px}
.oee-detail-inputs dl div{padding:10px 0;border-bottom:1px solid #e6edf3;display:flex;flex-direction:column;gap:4px}
.oee-detail-inputs dt{font-size:12px;color:#526779}
.oee-detail-inputs dd{font-size:15px;font-weight:700;color:#17384f;margin:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.oee-detail-steps{min-width:0;display:grid;gap:14px}
.oee-detail-step{display:grid;grid-template-columns:35px minmax(0,1fr);gap:13px;padding:20px;min-width:0}
.oee-detail-number{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e7f2fa;color:#0a70b8;font-weight:750;font-size:12px}
.oee-formula{margin:10px 0;padding:11px 13px;background:#f4f8fc;border-left:3px solid #0a70b8;border-radius:4px;display:grid;gap:6px}
.oee-formula span{font-size:12px;line-height:1.5;color:#526779}
.oee-formula strong,.oee-detail-context strong{font-size:17px;font-weight:750;line-height:1.5;overflow-wrap:anywhere;color:#0b3a60;font-variant-numeric:tabular-nums}
.oee-detail-context{background:#fff8f1;border-radius:6px;padding:13px;margin-top:15px}
body.sx-theme .oee-detail-context h3{font-size:15px;color:#77380a;margin:0 0 7px}
.oee-detail-context p{margin:7px 0}
.oee-detail-final{border-color:#9dc8e7}
.oee-detail-final .oee-formula{background:#eaf5fc}
.oee-detail-resources{margin-top:20px;padding:23px}
.oee-detail-blog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0}
.oee-detail-blog a{padding:11px 13px;border:1px solid #d9e5ee;border-radius:6px;color:#095e9b;font-size:13px;font-weight:650;line-height:1.5}
.oee-detail-resources .btn{background:#0a70b8;border-color:#0a70b8;color:#fff}
@media(max-width:620px){
 .oee-clear-field{flex-basis:40px;width:40px;min-height:43px;padding:7px}
 .oee-clear-field svg{width:17px;height:17px}
 body.sx-theme .oee-v3200 .oee-input-wrap select{flex-basis:92px;margin-right:4px;max-width:37%;font-size:11px}
 .oee-field-feedback{font-size:11px}
 .oee-detail-link-row{margin-top:6px;padding-top:6px}
 .oee-detail-link-row a,.oee-issue-link{font-size:11px}
 .oee-detail-layout,.oee-detail-intro{grid-template-columns:minmax(0,1fr);gap:12px}
 .oee-detail-intro,.oee-detail-inputs,.oee-detail-resources{padding:16px}
 .oee-detail-score{padding:14px}
 .oee-detail-score strong{font-size:33px}
 .oee-detail-inputs dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px}
 .oee-detail-step{grid-template-columns:28px minmax(0,1fr);gap:9px;padding:14px}
 .oee-detail-number{width:26px;height:26px}
 body.sx-theme .oee-detail-page h2{font-size:19px}
 .oee-detail-page p{font-size:13px}
 .oee-formula{padding:9px}
 .oee-formula strong,.oee-detail-context strong{font-size:15px}
 .oee-detail-blog{grid-template-columns:minmax(0,1fr)}
}


/* V3.20.3: animaciones coordinadas por requestAnimationFrame. */
#sm-oee[data-pending="true"] .oee-live-badge{color:#8a4813;background:#fff4e8;border-color:#f0d4b3}
#sm-oee[data-pending="true"] .oee-live-badge i{background:#ff8d2b}
#sm-oee .oee-live-badge{white-space:normal;text-align:right}


/* V3.20.7: identificación, exportación y gráficos de paros agrupados. */
#sm-oee .oee-report-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
#sm-oee .oee-export-pdf{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:7px 12px;border:1px solid #0a70b8;border-radius:6px;color:#fff;background:#0a70b8;font:650 12px/1.4 inherit;font-family:inherit;font-size:12px;font-weight:650;cursor:pointer}
#sm-oee .oee-export-pdf:hover:not(:disabled){background:#075b96}
#sm-oee .oee-export-pdf:disabled{opacity:.5;cursor:not-allowed}
#sm-oee .oee-export-pdf svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#oe-pdf-status{font-size:10px;line-height:1.4;color:#526779;margin:0}
#oe-summary-machine{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.sx-theme #sm-oee #oe-machine{font-size:22px}
#sm-oee .oee-detail-link-row{margin-top:7px}
#sm-oee .oee-stop-chart{gap:12px}
#sm-oee .oee-stop-row:last-child .oee-stop-track i{background:#529bc7}
@media(max-width:620px){
 #sm-oee .oee-export-pdf{min-height:34px;font-size:11px}
 #sm-oee .oee-report-actions{margin-top:7px}
 #sm-oee .oee-stop-chart{gap:8px}
 body.sx-theme #sm-oee #oe-machine{font-size:20px}
}

/* V3.21.7: las gráficas se dibujan en cada requestAnimationFrame.
   Las transiciones CSS provocarían una segunda interpolación, retrasos
   y diferencias entre cifras y gráficos. Se eliminan únicamente aquí. */
#sm-oee #oe-result .oee-gauge-fill {
  stroke-dasharray:100;
  stroke-dashoffset:100;
}
#sm-oee #oe-result .oee-meter i,
#sm-oee #oe-result .oee-stop-track i {
  width:100%;
  transform-origin:left center;
}
#sm-oee #oe-result .oee-timeline { min-width:0; }
#sm-oee #oe-result .oee-segment {
  flex:0 0 auto;
  min-width:0;
}
#sm-oee #oe-result .oee-gauge-fill,
#sm-oee #oe-result .oee-meter i,
#sm-oee #oe-result .oee-stop-track i,
#sm-oee #oe-result .oee-segment,
#sm-oee #oe-result .oee-gauge-label strong,
#sm-oee #oe-result .oee-factor dd strong {
  transition:none!important;
  animation:none!important;
}
#sm-oee #oe-result strong,#sm-oee #oe-result .oee-time-legend dd {
  font-variant-numeric:tabular-nums;
}
#sm-oee #oe-detail-link[aria-disabled="true"] { color:#647d8f; cursor:not-allowed; }

/* V3.21.8: las dos tarjetas comparten la altura real de una misma fila.
   La nota de privacidad ocupa su propia fila, no forma parte de la altura del formulario.
   No hay alturas fijas ni cálculos JS dependientes de los avisos o de la pregunta. */
#sm-oee .oee-workspace {
  grid-template-areas:"wizard results" "note .";
  align-items:stretch;
  row-gap:8px;
}
#sm-oee .oee-workspace > form[data-oee] {
  grid-area:wizard;
  display:flex;
  flex-direction:column;
  min-width:0;
  margin:0;
}
#sm-oee .oee-workspace > form[data-oee] > .oee-wizard {
  flex:1 1 auto;
  height:auto;
  min-height:430px;
}
#sm-oee .oee-stages { flex:1 1 auto; min-height:auto; }
#sm-oee .oee-stage { height:auto; min-height:0; }
#sm-oee .oee-workspace > .oee-results {
  grid-area:results;
  display:flex;
  flex-direction:column;
  height:auto;
  min-height:430px;
  min-width:0;
  align-self:stretch;
}
#sm-oee .oee-results .oee-interpretation { margin-top:auto; padding-top:12px; }
#sm-oee .oee-workspace > .oee-local-note {
  grid-area:note;
  align-self:start;
  margin:0;
}
@media(max-width:620px) {
  #sm-oee .oee-workspace { grid-template-areas:"wizard" "note" "results"; row-gap:8px; }
  #sm-oee .oee-workspace > form[data-oee] > .oee-wizard { min-height:245px; }
  #sm-oee .oee-workspace > .oee-results { min-height:0; }
  #sm-oee .oee-results .oee-interpretation { margin-top:9px; padding-top:0; }
}
@media(max-width:360px) {
  #sm-oee .oee-workspace > form[data-oee] > .oee-wizard { min-height:274px; }
}

/* V3.22.3: colores semánticos compartidos con el informe PDF.
   Los indicadores porcentuales conservan su semáforo independiente. */
#sm-oee {--oee-running-color:#2e9d57;--oee-no-color:#d64545;--oee-productive-color:#7c4dff;--oee-excluded-color:#9ed8f5;}
#sm-oee #oe-result #oe-stop-no-bar,#sm-oee #oe-result .oee-segment-no,#sm-oee #oe-result .oee-key-no{background:var(--oee-no-color);}
#sm-oee #oe-result #oe-stop-productive-bar,#sm-oee #oe-result .oee-segment-productive,#sm-oee #oe-result .oee-key-productive{background:var(--oee-productive-color);}
#sm-oee #oe-result .oee-segment-running,#sm-oee #oe-result .oee-key-running{background:var(--oee-running-color);}
#sm-oee #oe-result .oee-segment-excluded,#sm-oee #oe-result .oee-key-excluded{background:var(--oee-excluded-color);}
