/* HEADER · CutMaster | modules/oee/oee.css | Producción/OEE | v4.02 */
.oee-app{display:grid;gap:18px}.oee-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px;border:1px solid var(--line,#dce3ed);border-radius:18px;background:var(--panel,#fff)}
.oee-hero h2,.oee-card h3{margin:0}.oee-hero p{margin:6px 0 0;color:var(--muted,#667085)}.oee-tabs{display:flex;gap:8px;flex-wrap:wrap}.oee-tabs button{border:1px solid var(--line,#dce3ed);background:#fff;border-radius:999px;padding:9px 14px;cursor:pointer}.oee-tabs button.active{background:#111827;color:#fff;border-color:#111827}
.oee-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.oee-kpi{background:#fff;border:1px solid var(--line,#dce3ed);border-radius:16px;padding:16px}.oee-kpi span{display:block;color:#667085;font-size:12px}.oee-kpi strong{font-size:28px;display:block;margin-top:6px}.oee-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px}.oee-card{background:#fff;border:1px solid var(--line,#dce3ed);border-radius:16px;padding:18px}.oee-table{width:100%;border-collapse:collapse;margin-top:12px}.oee-table th,.oee-table td{text-align:left;padding:10px 8px;border-bottom:1px solid #edf0f4;font-size:13px}.oee-table th{color:#667085;font-weight:600}.oee-empty{padding:28px;text-align:center;color:#667085}.oee-actions{display:flex;gap:8px;flex-wrap:wrap}.oee-btn{border:1px solid #d0d5dd;background:#fff;border-radius:10px;padding:9px 12px;cursor:pointer}.oee-btn.primary{background:#111827;color:#fff;border-color:#111827}.oee-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oee-form-grid label{display:grid;gap:5px;font-size:12px;color:#475467}.oee-form-grid input,.oee-form-grid select,.oee-form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #d0d5dd;border-radius:9px;padding:9px;background:#fff}.oee-form-grid .span2{grid-column:1/-1}.oee-note{font-size:12px;color:#667085}.oee-bar{height:9px;background:#edf0f4;border-radius:99px;overflow:hidden}.oee-bar i{display:block;height:100%;background:currentColor;border-radius:99px}.oee-machine-row{display:grid;grid-template-columns:minmax(150px,1fr) 2fr auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0f4}.oee-machine-row small{color:#667085}.oee-dialog{position:fixed;inset:0;background:rgba(16,24,40,.45);display:none;z-index:10050;align-items:center;justify-content:center;padding:20px}.oee-dialog.open{display:flex}.oee-dialog-card{width:min(720px,96vw);max-height:90vh;overflow:auto;background:#fff;border-radius:18px;padding:20px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.oee-dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.oee-dialog-head button{border:0;background:transparent;font-size:26px;cursor:pointer}.oee-insight{padding:12px;border-radius:12px;background:#f8fafc;margin-top:10px}.oee-reason-list{display:grid;gap:8px}.oee-reason{display:flex;justify-content:space-between;border-bottom:1px solid #edf0f4;padding:8px 0}
.cm-home{display:grid;gap:18px}.cm-home-intro{max-width:850px}.cm-home-intro h2{font-size:32px;margin:0 0 8px}.cm-home-intro p{margin:0;color:#667085;font-size:15px}.cm-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.cm-pillar{border:1px solid #dce3ed;background:#fff;border-radius:20px;padding:22px;text-align:left;cursor:pointer;min-height:210px;display:flex;flex-direction:column;transition:.15s}.cm-pillar:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(16,24,40,.08)}.cm-pillar .num{font-size:12px;color:#667085}.cm-pillar h3{font-size:23px;margin:18px 0 8px}.cm-pillar p{color:#667085;line-height:1.5;margin:0}.cm-pillar b{margin-top:auto;padding-top:18px}.cm-home-foot{border:1px dashed #cbd5e1;border-radius:16px;padding:16px;color:#475467;background:#f8fafc}
@media(max-width:900px){.cm-pillars,.oee-kpis{grid-template-columns:1fr 1fr}.oee-grid{grid-template-columns:1fr}.oee-hero{align-items:flex-start;flex-direction:column}}@media(max-width:620px){.cm-pillars,.oee-kpis,.oee-form-grid{grid-template-columns:1fr}.oee-form-grid .span2{grid-column:auto}.oee-machine-row{grid-template-columns:1fr}.cm-home-intro h2{font-size:26px}}
/* FOOTER · EOF */

/* v4.03 · wizard OEE */
.oee-wizard-kicker{display:block;font-size:9px;font-weight:900;letter-spacing:.12em;color:#1d64cc;margin-bottom:3px}
.oee-wizard-progress{display:flex;gap:7px;margin:4px 0 16px}
.oee-wizard-progress span{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf2f8;color:#6b7b90;font-size:11px;font-weight:800}
.oee-wizard-progress span.active{background:#1d64cc;color:#fff}.oee-wizard-progress span.done{background:#dbeafe;color:#1d64cc}
.oee-form-grid>.oee-wizard-step{display:none}.oee-form-grid>.oee-wizard-step.active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;grid-column:1/-1}
.oee-wizard-step>.span2{grid-column:1/-1}.oee-wizard-nav{justify-content:flex-end}
.oee-task-wizard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.oee-task-choice{border:1px solid #d9e3ef;background:#fff;border-radius:12px;padding:15px;text-align:left;cursor:pointer}.oee-task-choice:hover{border-color:#7da8df;background:#f7fbff}.oee-task-choice b,.oee-task-choice span{display:block}.oee-task-choice span{margin-top:5px;font-size:12px;color:#66788d;line-height:1.4}
@media(max-width:700px){.oee-form-grid>.oee-wizard-step.active,.oee-task-wizard{grid-template-columns:1fr}.oee-wizard-step>.span2{grid-column:auto}}

.oee-auto-coach{margin:2px 0 15px;padding:13px 15px;border:1px solid #d9e3ef;border-radius:11px;background:#f8fafc}.oee-auto-coach>b{display:block;font-size:9px;letter-spacing:.1em;color:#6b7b90;text-transform:uppercase}.oee-auto-coach>strong{display:block;margin-top:3px;font-size:15px;color:#1f3349}.oee-auto-coach>p{margin:5px 0 0;font-size:12px;line-height:1.45;color:#607086}

.oee-back-business{margin:0 0 12px;border:1px solid #d8e1eb;background:#fff;color:#33465d;border-radius:10px;padding:10px 13px;font-weight:750;cursor:pointer}.oee-hero small{display:block;color:#718197;font-weight:800;letter-spacing:.06em;margin-bottom:4px}

/* ==========================================================================
   v4.34 · Máquinas / OEE simplificado
   ========================================================================== */
.oee-simple-hero{align-items:flex-start}.oee-simple-hero h2{font-size:clamp(28px,3vw,40px);letter-spacing:-.04em}.oee-simple-hero p{font-size:15px;max-width:720px}.oee-simple-tabs{padding:6px;background:#f3f6fa;border:1px solid #dce5ef;border-radius:15px}.oee-simple-tabs button{border-radius:10px!important;min-height:40px}.oee-simple-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.oee-simple-kpis>div{border:1px solid #dfe7ef;border-radius:16px;background:#fff;padding:16px;display:grid;gap:4px}.oee-simple-kpis span{font-size:10px;color:#7c8da0;font-weight:800;letter-spacing:.06em;text-transform:uppercase}.oee-simple-kpis b{font-size:27px;letter-spacing:-.04em;color:#173858}.oee-simple-kpis small{font-size:10px;color:#8190a0}.oee-simple-kpis .warn{background:#fffaf0;border-color:#ead6a8}.oee-simple-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.oee-simple-title h3{margin:0 0 5px}.oee-simple-title p{margin:0;color:#718196}.oee-machine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oee-machine-card{display:grid;grid-template-rows:auto auto auto auto 1fr;gap:7px;min-height:180px;border:1px solid #dfe8f1;background:#fff;border-radius:18px;padding:17px;text-align:left;cursor:pointer;color:#243f5d;box-shadow:0 6px 20px rgba(21,54,88,.05)}.oee-machine-card:hover{border-color:#abc4e1;transform:translateY(-1px)}.oee-machine-state{justify-self:start;border-radius:999px;padding:4px 8px;background:#edf7f1;color:#3b755c;font-size:8px;font-weight:900;letter-spacing:.07em}.oee-machine-card.soon{border-color:#ead7a7;background:#fffdf8}.oee-machine-card.soon .oee-machine-state{background:#fff3d9;color:#8f6a1d}.oee-machine-card.due{border-color:#e4b2ae;background:#fff8f7}.oee-machine-card.due .oee-machine-state{background:#fde9e7;color:#a1443f}.oee-machine-card>b{font-size:16px}.oee-machine-card>small{color:#74869a;line-height:1.45}.oee-machine-card>strong{font-size:20px;color:#163a5c;align-self:end}.oee-machine-card>em{font-style:normal;font-size:10px;color:#7c8d9f;line-height:1.45}.oee-simple-list{display:grid;gap:8px}.oee-simple-list>button,.oee-simple-list>div{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;border:1px solid #e1e8ef;border-radius:13px;background:#fff;padding:13px 14px;text-align:left;color:#2a4561}.oee-simple-list>button{cursor:pointer}.oee-simple-list>button:hover{border-color:#afc7e1;background:#fbfdff}.oee-simple-list b,.oee-simple-list small{display:block}.oee-simple-list small{font-size:10px;color:#7c8b9b;margin-top:4px}.oee-simple-list strong{white-space:nowrap}.oee-simple-form .oee-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.oee-simple-form label{display:grid;gap:6px;font-size:11px;font-weight:800;color:#526b85}.oee-simple-form input,.oee-simple-form select,.oee-simple-form textarea{width:100%;border:1px solid #cfdae6;border-radius:10px;background:#fff;padding:10px 11px;font:13px system-ui;color:#29425e;box-sizing:border-box}.oee-simple-form label small{font-size:9px;font-weight:500;color:#8896a5}.oee-simple-form .span2{grid-column:1/-1}.oee-machine-detail>p{color:#63778c;line-height:1.55}.oee-empty{grid-column:1/-1;border:1px dashed #cad7e5;border-radius:14px;padding:24px;text-align:center;color:#7b8b9e}.oee-machine-detail h4{margin:22px 0 10px}
@media(max-width:1000px){.oee-machine-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.oee-simple-hero{display:grid}.oee-simple-hero .oee-actions{display:grid;grid-template-columns:1fr}.oee-simple-tabs{display:flex;overflow-x:auto;flex-wrap:nowrap}.oee-simple-tabs button{white-space:nowrap;flex:0 0 auto}.oee-simple-kpis,.oee-machine-grid{grid-template-columns:1fr}.oee-simple-title{display:grid}.oee-simple-form .oee-form-grid{grid-template-columns:1fr}.oee-simple-form .span2{grid-column:1}.oee-simple-list>button,.oee-simple-list>div{align-items:flex-start}}
/* FOOTER · v4.34.0 */
