/* Grupo FAC · Design system. Presentation only; scoped to FAC OPS screens. */
body.fac-redesign{--wine:#a80d36;--brand:#a80d36;--ink:#22242c;--muted:#656b76;--line:#e1e4e9;--bg:#f6f7f9;--shadow-soft:0 2px 8px #18223005;--shadow:0 2px 8px #18223005;background:#f6f7f9!important;color:#22242c;font-family:Inter,"Segoe UI",Arial,sans-serif}
body.fac-redesign *{box-sizing:border-box}
body.fac-redesign button,body.fac-redesign input,body.fac-redesign select,body.fac-redesign textarea{font:inherit}
body.fac-redesign :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #a80d36!important;outline-offset:3px!important}
body.fac-redesign :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.55}
body.fac-redesign .hidden{display:none!important}
body.fac-redesign #appView:not(.employee-mode){background:#f6f7f9!important;gap:0!important;padding:0!important}
body.fac-redesign #appView:not(.employee-mode):not(.hidden){display:block!important}
body.fac-redesign #appView:not(.employee-mode)>.sidebar{position:fixed!important}
body.fac-redesign #appView:not(.employee-mode)>.sidebar{width:236px!important;min-width:236px!important;top:0!important;left:0!important;bottom:0!important;height:100dvh!important;padding:22px 14px 16px!important;border:0!important;border-right:1px solid #e1e4e9!important;border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important}
body.fac-redesign .sidebar:before,body.fac-redesign .sidebar:after,body.fac-redesign .mac-dots{display:none!important}
body.fac-redesign .fd26-brand{display:flex!important;align-items:center!important;gap:12px!important;padding:0 4px 22px!important;margin:0!important;border:0!important;min-height:72px!important}
body.fac-redesign .fd26-brand img{width:39px!important;height:46px!important;object-fit:contain!important;flex-shrink:0;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important}
body.fac-redesign .fd26-brand span{display:flex;flex-direction:column;gap:3px}
body.fac-redesign .fd26-brand strong{font-size:18px!important;line-height:1.1!important;color:#22242c!important;font-weight:800!important;letter-spacing:.01em}
body.fac-redesign .fd26-brand small{font-size:10px!important;line-height:1.4!important;color:#656b76!important;white-space:normal!important}
body.fac-redesign .fac225-side-tools{padding:0 0 14px!important}
body.fac-redesign .fac225-search{height:40px!important;border:1px solid #e1e4e9!important;border-radius:8px!important;background:#fff!important;box-shadow:none!important}
body.fac-redesign .fac225-search input{min-width:0;font-size:12px!important;padding:8px!important}
body.fac-redesign .fac225-new{min-height:42px!important;border-radius:8px!important;background:#a80d36!important;color:#fff!important;border:0!important;box-shadow:none!important;font-size:13px!important}
body.fac-redesign #mainNav{padding:0 2px 10px!important;gap:3px!important;min-height:0;overflow-y:auto!important;scrollbar-width:thin}
body.fac-redesign #mainNav .nav-section{font-size:10px!important;font-weight:700!important;letter-spacing:.08em!important;color:#767c86!important;margin-top:18px!important;padding:5px 10px!important;border:0!important}
body.fac-redesign #mainNav .nav-btn{min-height:40px!important;padding:10px!important;gap:10px!important;font-size:12px!important;font-weight:550!important;color:#3c424c!important;background:transparent!important;border:0!important;border-radius:7px!important;box-shadow:none!important;white-space:normal!important;line-height:1.3!important}
body.fac-redesign #mainNav .nav-btn>span:not(.nav-ico):not(.nav-badge){white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
body.fac-redesign #mainNav .nav-btn:hover{background:#f6f7f9!important}
body.fac-redesign #mainNav .nav-btn.active{background:#f7e9ee!important;color:#a80d36!important;font-weight:700!important}
body.fac-redesign #mainNav .nav-ico{width:20px!important;min-width:20px!important;height:20px!important;background:transparent!important;border:0!important;color:inherit!important}
body.fac-redesign #mainNav .nav-ico svg{width:19px!important;height:19px!important}
body.fac-redesign #mainNav .nav-badge{background:#f0e1e7!important;color:#941331!important;box-shadow:none!important;font-size:10px!important;min-width:21px!important;line-height:21px!important;height:21px!important}
body.fac-redesign .side-user{margin-top:auto!important;padding-top:14px!important;border-top:1px solid #e1e4e9!important;background:#fff!important}
body.fac-redesign .side-user-card{border:0!important;box-shadow:none!important;background:#fff!important;padding:7px 4px!important}
body.fac-redesign .side-user-card strong{font-size:13px!important}.fac-redesign .side-user-card span{font-size:11px}
body.fac-redesign .side-logout-new{background:#fff!important;color:#656b76!important;border:1px solid #e1e4e9!important;box-shadow:none!important;min-height:35px!important;border-radius:7px!important;font-size:12px!important}
body.fac-redesign #appView:not(.employee-mode)>.main{margin-left:236px!important;width:calc(100% - 236px)!important;max-width:none!important;padding:0 28px 32px!important;min-width:0!important;background:#f6f7f9!important}
body.fac-redesign #appView>.main{backdrop-filter:none!important;will-change:auto!important;perspective:none!important}
body.fac-redesign #appView:not(.employee-mode) .topbar{position:relative!important;top:auto!important;left:auto!important;right:auto!important;margin:0 -28px 24px!important;padding:14px 28px!important;border:0!important;border-bottom:1px solid #e1e4e9!important;border-radius:0!important;min-height:72px!important;background:#fff!important;box-shadow:none!important;gap:18px!important;flex-wrap:wrap!important}
body.fac-redesign #greeting{font-size:15px!important;line-height:1.4!important;font-weight:650!important;margin:0!important}
body.fac-redesign #todayLabel{font-size:11px!important;color:#656b76!important;margin-top:3px!important}
body.fac-redesign .fac225-page-context{font-size:12px!important;color:#656b76!important;background:none!important;border:0!important;white-space:normal!important}
body.fac-redesign .top-actions{gap:8px!important;flex-wrap:wrap!important}
body.fac-redesign .topbar button,body.fac-redesign .topbar .date-control{min-height:36px!important;border-radius:7px!important;box-shadow:none!important;font-size:11px!important}
body.fac-redesign #logoutBtn{display:none!important}
body.fac-redesign #appView:not(.employee-mode) .panel{min-width:0!important;max-width:100%!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(h1,h2,h3,h4){color:#242833;letter-spacing:-.02em;scroll-margin-top:20px}
body.fac-redesign #appView:not(.employee-mode) .panel h1{font-size:28px!important;line-height:1.2!important;font-weight:750!important}
body.fac-redesign #appView:not(.employee-mode) .panel h2{font-size:23px!important;line-height:1.3!important;font-weight:700!important}
body.fac-redesign #appView:not(.employee-mode) .panel h3{font-size:17px!important;line-height:1.4!important;font-weight:650!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.page-card,.page-head,.page-header,.facadm-shell,.facadm-panel,.facadm-section,.facadm-card,.facadm-header,.facadm-body,.facv2-kpi,.facv2-hero,.facv2-panel,.facv2-card,.emp-card,.employee-card,.client-card,.evpro-list,.evpro-detail,.evpro-summary,.evpro-export,.evpro-filters,.evpro-head,.evpro-kpi,.supply-hub,.supply-side-card,.supply-next,.supply-hub-kpi,.faccomm-card,.faccomm-note,.op80-main-card,.op80-side-card,.op80-service-card,.op80-col,.mcm-employees,.mcm-diagnostic,.mcm-summary,.mcm-compare-card,.rc201-card,.rc201-findings,.rc201-overview){box-shadow:none!important;border-color:#e1e4e9!important;border-radius:10px!important;background-color:#fff!important;background-image:none!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.page-head,.page-header,.facadm-header,.facv2-hero,.evpro-head){padding:22px!important;gap:16px!important;flex-wrap:wrap!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.primary-btn,.solid-btn,.faccomm-btn.primary,.op80-primary,.fp-btn.primary,.evpro-new-btn){background:#a80d36!important;color:#fff!important;border:1px solid #a80d36!important;border-radius:7px!important;box-shadow:none!important;font-size:13px!important;font-weight:650!important;padding:10px 16px!important;min-height:40px!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.outline-btn,.op80-outline,.faccomm-btn:not(.primary),.fac-soft-btn){border:1px solid #d9dde3!important;border-radius:7px!important;background:#fff!important;color:#971331!important;box-shadow:none!important;font-size:12px!important;font-weight:600!important;min-height:38px!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){max-width:100%;min-height:38px;border-color:#d9dde3!important;border-radius:7px!important;box-shadow:none!important;font-size:13px!important;color:#242833;background-color:#fff}
body.fac-redesign #appView:not(.employee-mode) .panel :is(input[type=checkbox],input[type=radio]){accent-color:#a80d36;min-height:0}
body.fac-redesign #appView:not(.employee-mode) .panel table{border-collapse:collapse!important;width:100%;font-size:13px!important}
body.fac-redesign #appView:not(.employee-mode) .panel th{background:#f4f5f7!important;color:#59616e!important;font-size:11px!important;font-weight:650!important;text-transform:none!important;padding:12px 14px!important;letter-spacing:0!important;border-bottom:1px solid #e1e4e9!important}
body.fac-redesign #appView:not(.employee-mode) .panel td{font-size:13px!important;padding:13px 14px!important;border-bottom:1px solid #eceef1!important;vertical-align:middle!important}
body.fac-redesign #appView:not(.employee-mode) .panel tbody tr:hover{background:#faf7f8}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.tabs,.facadm-tabs,.facv2-tabs,.op80-tabs,.abs215-tabs,.supply-hub-tabs,.mcm-filter-tabs,.faccomm-tabs,.evpro-tabs,.cot-tabs){box-shadow:none!important;background:#f0f2f5!important;border:0!important;border-radius:8px!important;padding:4px!important;gap:4px!important;flex-wrap:wrap!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.tabs,.facadm-tabs,.facv2-tabs,.op80-tabs,.abs215-tabs,.supply-hub-tabs,.faccomm-tabs,.cot-tabs)>button{border:0!important;border-radius:6px!important;font-size:12px!important;font-weight:600!important;box-shadow:none!important;min-height:36px!important;padding:9px 14px!important;background:transparent!important;color:#545d69!important}
body.fac-redesign #appView:not(.employee-mode) .panel :is(.tabs,.facadm-tabs,.facv2-tabs,.op80-tabs,.abs215-tabs,.supply-hub-tabs,.faccomm-tabs,.cot-tabs)>button.active{background:#a80d36!important;color:#fff!important}
body.fac-redesign .fd26-sector-nav{display:flex;gap:8px;overflow:auto;padding:0 0 14px;margin:0;scrollbar-width:thin}
body.fac-redesign .fd26-sector-nav a{flex-shrink:0;color:#656b76;background:#fff;border:1px solid #e1e4e9;border-radius:6px;padding:7px 11px;font-size:11px;text-decoration:none}
body.fac-redesign .fd26-sector-nav a:hover{border-color:#a80d36;color:#a80d36}
body.fac-redesign .fd26-table-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}
/* Home: real operational data and existing navigation. */
.fac-redesign .fd26-home{max-width:1550px;margin:auto}.fac-redesign .fd26-page-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:5px 0 24px}
.fac-redesign .fd26-eyebrow{font-size:10px;letter-spacing:.1em;color:#a80d36;font-weight:700}.fac-redesign .fd26-page-head h1{margin:7px 0}.fac-redesign .fd26-page-head p{font-size:13px;color:#656b76;margin:0;text-transform:capitalize}
.fac-redesign :is(.fd26-primary,.fd26-outline){border:1px solid #a80d36;border-radius:7px;padding:10px 16px;background:#a80d36;color:#fff;font-size:13px;font-weight:650;cursor:pointer}
.fac-redesign .fd26-outline{background:#fff;color:#a80d36;border-color:#e0c6cf;padding:7px 12px;font-size:12px}
.fac-redesign .fd26-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}
.fac-redesign .fd26-metric{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid #e1e4e9;border-radius:10px;padding:20px;cursor:pointer;text-align:left;color:#22242c}
.fac-redesign .fd26-metric i{color:#a80d36}.fac-redesign .fd26-metric svg{width:27px;height:27px}.fac-redesign .fd26-metric small{display:block;color:#656b76;font-size:12px;margin-bottom:5px}.fac-redesign .fd26-metric strong{font-size:30px;line-height:1.1;font-weight:750}
.fac-redesign .fd26-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:18px;margin-bottom:20px}
.fac-redesign .fd26-card{border:1px solid #e1e4e9;border-radius:10px;background:#fff;padding:20px;min-width:0}
.fac-redesign .fd26-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}.fac-redesign #appView .fd26-card h2{font-size:18px!important;margin:0}.fac-redesign .fd26-card header>svg{width:23px;height:23px;color:#a80d36}
.fac-redesign .fd26-count{padding:5px 10px;color:#965b08;background:#fff2d9;border-radius:20px;font-size:11px;font-weight:650}
.fac-redesign .fd26-alert{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #eceef1}.fac-redesign .fd26-alert>i{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#fcf0e2;color:#a46917;flex-shrink:0}.fac-redesign .fd26-alert svg{width:18px;height:18px}.fac-redesign .fd26-alert>div{min-width:0;flex:1}.fac-redesign .fd26-alert b{font-size:13px;font-weight:600}.fac-redesign .fd26-alert p{color:#656b76;font-size:11px;margin:4px 0 0;line-height:1.4}
.fac-redesign .fd26-link{display:inline-flex;gap:8px;align-items:center;border:0;background:transparent;color:#a80d36;font-size:12px;font-weight:600;padding:8px 0;cursor:pointer}.fac-redesign .fd26-link svg{width:17px;height:17px}.fac-redesign .fd26-status-list{margin:0}.fac-redesign .fd26-status-list>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #eceef1}.fac-redesign .fd26-status-list dt{font-size:12px;color:#59616e}.fac-redesign .fd26-status-list dd{margin:0;font-size:20px;font-weight:700}.fac-redesign .fd26-muted{color:#737b87;font-size:11px;line-height:1.6;margin:16px 0 6px}
.fac-redesign .fd26-segments{display:flex;gap:4px;background:#f3f4f6;border-radius:8px;padding:4px;flex-wrap:wrap}.fac-redesign .fd26-segments button{border:0;background:transparent;padding:8px 12px;border-radius:6px;color:#59616e;font-size:11px;cursor:pointer}.fac-redesign .fd26-segments button.active{background:#a80d36;color:#fff}
.fac-redesign .fd26-table-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:0 0 14px}.fac-redesign .fd26-table-tools label{display:flex;align-items:center;gap:10px;border:1px solid #e1e4e9;border-radius:7px;padding:0 10px;max-width:380px;flex:1}.fac-redesign .fd26-table-tools label svg{width:17px;height:17px;color:#757c86}.fac-redesign #appView #fd26Search{border:0!important;background:transparent!important;min-width:0;width:100%;padding:9px 0}.fac-redesign .fd26-agenda table{min-width:590px}
.fac-redesign .fd26-pill{display:inline-block;font-size:11px;padding:5px 9px;border-radius:20px;background:#eff1f4;color:#5a626e;white-space:nowrap}.fac-redesign .fd26-pill.in_service{background:#e6f6ed;color:#167146}.fac-redesign .fd26-pill.completed{background:#edf2fc;color:#34598e}.fac-redesign .fd26-pill.uncovered{background:#fae6eb;color:#a80d36}
.fac-redesign .fd26-directory{margin-top:26px}.fac-redesign .fd26-directory>header h2{margin:0 0 5px;font-size:19px!important}.fac-redesign .fd26-directory>header p{color:#656b76;font-size:12px;margin:0 0 14px}.fac-redesign .fd26-module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.fac-redesign .fd26-module{display:flex;align-items:center;gap:10px;justify-content:space-between;text-align:left;padding:15px;background:#fff;border:1px solid #e1e4e9;border-radius:8px;cursor:pointer;min-width:0}.fac-redesign .fd26-module:hover{border-color:#a80d36;background:#fdf9fa}.fac-redesign .fd26-module b{display:block;font-size:12px;color:#242833;line-height:1.4}.fac-redesign .fd26-module small{display:block;margin-top:4px;font-size:10px;color:#656b76;line-height:1.5}.fac-redesign .fd26-module svg{width:17px;height:17px;color:#a80d36;flex-shrink:0}
.fac-redesign .fd26-notice{padding:13px 16px;background:#edf2fa;border:1px solid #dbe3ef;border-radius:8px;margin-bottom:18px;font-size:13px;line-height:1.5}.fac-redesign .fd26-notice.warning{background:#fff6e6;border-color:#edd6af;color:#855516}.fac-redesign .fd26-notice button{border:0;background:transparent;text-decoration:underline;cursor:pointer;color:inherit}.fac-redesign .fd26-empty{padding:20px;color:#656b76;font-size:13px;line-height:1.5}
.fac-redesign #facDesignMessage{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:90vw;background:#272c36;color:#fff;padding:14px 20px;border-radius:9px;box-shadow:0 6px 30px #0002;z-index:2147483646;font-size:13px}
/* Operation: compact cards, deliberate expansion of replacement candidates. */
body.fac-redesign #panelOperacion .fac227-command{background:#fff!important;background-image:none!important;border:1px solid #e1e4e9!important;border-radius:10px!important;box-shadow:none!important;padding:20px!important}
body.fac-redesign #panelOperacion .fac227-command header{padding:0!important;flex-wrap:wrap!important;gap:12px!important}
body.fac-redesign #panelOperacion .fac227-metrics{border:1px solid #e1e4e9!important;border-radius:8px!important;margin-top:18px!important;background:#fff!important}
body.fac-redesign #panelOperacion .fac227-metric{padding:14px!important;box-shadow:none!important;background:none!important}
body.fac-redesign #panelOperacion .fac227-metric b{font-size:25px!important}
body.fac-redesign #panelOperacion .op80-layout{display:grid!important;grid-template-columns:minmax(0,1fr) 275px!important;gap:16px!important}
body.fac-redesign #panelOperacion .op80-kanban{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important}
body.fac-redesign #panelOperacion .op80-col-body{max-height:none!important;overflow:visible!important;padding:10px!important;gap:10px!important}
body.fac-redesign #panelOperacion .op80-service-card{padding:12px!important;min-width:0}.fac-redesign #panelOperacion .op80-card-top{flex-wrap:wrap}
body.fac-redesign #panelOperacion .op80-card-top b{font-size:13px!important}.fac-redesign #panelOperacion .op80-card-top small{font-size:11px!important;line-height:1.5}
body.fac-redesign #panelOperacion .op80-card-actions{flex-wrap:wrap;gap:6px!important}.fac-redesign #panelOperacion .op80-card-actions button{padding:8px!important;font-size:11px!important;border-radius:6px!important;min-width:0}
body.fac-redesign .fd26-replacements{margin-top:10px;border-top:1px solid #eceef1;padding-top:9px}.fac-redesign .fd26-replacements summary{font-size:11px;font-weight:600;color:#a80d36;cursor:pointer}.fac-redesign .fd26-replacements .op80-reps{margin-top:10px}
body.fac-redesign #panelOperacion .fac227-risk{background:#fff!important;color:#242833!important;border:1px solid #e1e4e9!important;border-radius:10px!important;box-shadow:none!important;padding:18px!important}
body.fac-redesign #panelOperacion .fac227-risk ul{padding-left:0!important}.fac-redesign .fac227-risk h3{color:#242833!important}
/* People, mobile diagnostics and schedules. */
body.fac-redesign #panelControlMobile .mcm-page{padding:0!important;max-width:none!important}
body.fac-redesign #panelControlMobile .mcm-layout{grid-template-columns:minmax(190px,.75fr) minmax(270px,1fr) minmax(245px,1fr)!important;gap:14px!important}
body.fac-redesign #panelControlMobile .mcm-header{flex-wrap:wrap!important}.fac-redesign #panelControlMobile .mcm-header-actions{flex-wrap:wrap!important}
body.fac-redesign #panelControlMobile .mcm-mobile-screen{box-shadow:none!important;border:1px solid #d9dde3!important;border-radius:12px!important}
body.fac-redesign #panelControlMobile .mcm-employee-row{border-radius:7px!important;box-shadow:none!important;font-size:12px!important}
body.fac-redesign #panelControlMobile .mcm-employee-row.selected{background:#f7e9ee!important;border-color:#ead3dc!important}
body.fac-redesign #panelControlMobile .mcm-diagnostic h3{font-size:16px!important}
body.fac-redesign #panelControlMobile .mcm-service-card{box-shadow:none!important;border:1px solid #e1e4e9!important;border-radius:8px!important}
body.fac-redesign #panelServicios :is(.ops-hero,.ops-kpi-grid article,.ops-employee-card,.service-client-card,.svc-card,.generic-service-card),body.fac-redesign #panelEmpleados :is(.emp-pro-card,.employee-pro-card,.emp-hero,.emp-kpi,.employee-item),body.fac-redesign #panelClientes :is(.cli-card,.client-pro-card,.client-hero){box-shadow:none!important;background-image:none!important;border-color:#e1e4e9!important;border-radius:10px!important}
/* Existing financial, supplier, commercial and modal sectors share the same grammar. */
body.fac-redesign :is(#facParitariasApp,.fp-app,.cot-page,.fac-supplier-portal,.faccomm-page,.fac-coordination-page) {font-family:Inter,"Segoe UI",Arial,sans-serif!important;color:#242833!important;background:#f6f7f9!important}
body.fac-redesign :is(.fp-card,.fp-kpi,.fp-sim-head,.fp-sim-kpis,.cot-card,.cot-panel,.supplier-card,.fac-stock-card,.fac-coord-card){border-color:#e1e4e9!important;box-shadow:none!important;border-radius:10px!important;background-image:none!important}
body.fac-redesign :is(.fp-main,.cot-page){max-width:1500px!important;margin:auto!important}
body.fac-redesign :is(.fp-tabs,.fp-timeline){gap:6px!important}.fac-redesign .fp-tabs button{box-shadow:none!important;border-radius:7px!important;font-weight:600!important}.fac-redesign .fp-btn{border-radius:7px!important;box-shadow:none!important}
body.fac-redesign :is(.modal-card,.modal-content,.dialog-card,.fer-card,.fac-mail-card,.fp-modal-card){box-shadow:0 18px 60px #16202b20!important;border:1px solid #e1e4e9!important;border-radius:12px!important}
body.fac-redesign :is(.modal-card,.modal-content,.dialog-card,.fer-card) :is(input,select,textarea){border-color:#d9dde3!important;border-radius:7px!important}
/* Employee screens: preserve structure, IDs, registration and navigation. */
body.fac-redesign #appView.employee-mode{background:#f6f7f9!important}.fac-redesign .emp-mobile-shell{background:#f6f7f9!important;color:#242833!important}
body.fac-redesign .emp-mobile-brand{background:#fff!important;box-shadow:none!important;border-bottom:1px solid #e1e4e9!important;padding:14px 16px!important}
body.fac-redesign .emp-mobile-brand>div:first-child{display:grid!important;grid-template-columns:32px 1fr;column-gap:9px;align-items:center}
body.fac-redesign .emp-mobile-brand .fd26-mobile-logo{grid-column:1;grid-row:1/3;object-fit:contain;width:30px;height:34px;background:transparent!important}
body.fac-redesign .emp-mobile-brand>div:first-child>b,body.fac-redesign .emp-mobile-brand>div:first-child>span{grid-column:2}
body.fac-redesign .emp-mobile-brand b{font-size:15px!important;color:#242833!important}.fac-redesign .emp-mobile-brand span{font-size:11px!important;color:#656b76!important}
body.fac-redesign :is(.emp-service-card,.emp-mobile-card,.emp-empty-card,.emp-current-card,.emp-today-card){border:1px solid #e1e4e9!important;border-radius:12px!important;box-shadow:none!important;background-image:none!important}
body.fac-redesign #appView.employee-mode button{min-height:44px;border-radius:9px!important;box-shadow:none!important}
body.fac-redesign .emp-brand-actions button{font-size:11px!important;padding:7px 10px!important}
body.fac-redesign #facSupplierPortal{background:#f5f6f8!important;color:#252a34!important}
body.fac-redesign #facSupplierPortal :is(.fsp-head,.fsp-card,.fsp-kpis>div,.fsp-admin-box){background:#fff!important;border:1px solid #e1e4e9!important;border-radius:12px!important;box-shadow:none!important}
body.fac-redesign #facSupplierPortal .fsp-brand img{width:38px!important;height:46px!important;object-fit:contain!important}
body.fac-redesign #panelCoordinacionInterna{background:#f6f7f9!important}
body.fac-redesign #panelCoordinacionInterna :is(.fms-card,.fms-kpi,.fms-form,.fms-task){background:#fff!important;border:1px solid #e1e4e9!important;border-radius:12px!important;box-shadow:none!important}
body.fac-redesign #panelCoordinacionInterna .fms-main{grid-template-columns:230px minmax(0,1fr)!important}
body.fac-redesign #panelCoordinacionInterna .fms-side{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:760px){body.fac-redesign #panelCoordinacionInterna .fms-main,body.fac-redesign #panelCoordinacionInterna .fms-side{grid-template-columns:1fr!important}}
body.fac-redesign #mobileMenuBtn:before,body.fac-redesign #mobileMenuBtn:after{display:none!important}
body.fac-redesign #appView.employee-mode button:disabled{background:#e9ebef!important;color:#59616e!important;opacity:1!important}
body.fac-redesign #panelCoordinacionInterna :is(.ci2-service,.ci2-kpi,.ci2-panel,.ci2-form,.ci2-history){background:#fff!important;border:1px solid #e1e4e9!important;border-radius:12px!important;box-shadow:none!important}
body.fac-redesign #appView.employee-mode :is(.emp-service-card,.emp-next-card,.emp-hero-card){background:#fff!important;border:1px solid #e1e4e9!important;border-radius:14px!important;box-shadow:none!important}
body.fac-redesign #appView.employee-mode :is(.emp-service-card,.emp-hero-card):before,body.fac-redesign #appView.employee-mode :is(.emp-service-card,.emp-hero-card):after{display:none!important}
body.fac-redesign #appView.employee-mode :is(h2,h3){font-weight:700!important;letter-spacing:-.4px!important}
body.fac-redesign #appView.employee-mode .emp-time-box{border:1px solid #e1e4e9!important;border-radius:10px!important;background:#f6f7f9!important;box-shadow:none!important}
@media(max-width:820px){body.fac-redesign #appView:not(.employee-mode) .topbar .top-actions{position:static!important;transform:none!important;width:100%!important;display:flex!important;margin:0!important;justify-content:flex-start!important}body.fac-redesign #appView:not(.employee-mode) .topbar{height:auto!important;align-items:center!important;display:flex!important}body.fac-redesign #appView:not(.employee-mode) #mobileMenuBtn{overflow:hidden!important;font-size:20px!important;line-height:1!important;min-width:38px!important}}
@media(min-width:821px){body.fac-redesign #appView:not(.employee-mode) #mobileMenuBtn{display:none!important}}
@media(max-width:1280px){body.fac-redesign #panelOperacion .op80-layout{grid-template-columns:1fr!important}body.fac-redesign #panelOperacion .op80-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}body.fac-redesign #panelControlMobile .mcm-layout{grid-template-columns:200px minmax(0,1fr)!important}body.fac-redesign #panelControlMobile .mcm-diagnostic{grid-column:1/-1}.fac-redesign .fd26-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fac-redesign .fd26-metric{padding:15px;gap:10px}}
@media(max-width:820px){body.fac-redesign #appView:not(.employee-mode)>.sidebar{z-index:1000!important;transform:translateX(-100%)!important}body.fac-redesign #appView:not(.employee-mode)>.main{width:100%!important;margin-left:0!important}body.fac-redesign #appView.mobile-menu-open:not(.employee-mode)>.sidebar{transform:translateX(0)!important}.fac-redesign .fd26-grid{grid-template-columns:1.6fr 1fr}}
@media(max-width:760px){body.fac-redesign #appView:not(.employee-mode)>.main{padding:0 14px 28px!important}body.fac-redesign #appView:not(.employee-mode) .topbar{margin:0 -14px 18px!important;padding:12px 14px!important;gap:10px!important}body.fac-redesign .fac225-page-context{display:none!important}.fac-redesign .fd26-page-head{align-items:flex-start;flex-direction:column}.fac-redesign .fd26-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fac-redesign .fd26-metric strong{font-size:25px}.fac-redesign .fd26-grid{grid-template-columns:1fr}.fac-redesign .fd26-card{padding:16px}.fac-redesign .fd26-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fac-redesign .fd26-table-tools{flex-wrap:wrap}.fac-redesign .fd26-table-tools label{flex-basis:100%;max-width:none}.fac-redesign .fd26-alert{gap:8px}.fac-redesign .fd26-alert .fd26-outline{padding:7px 9px}body.fac-redesign #panelOperacion .op80-kanban{grid-template-columns:1fr!important}body.fac-redesign #panelOperacion .op80-side{display:flex!important}body.fac-redesign #panelControlMobile .mcm-layout{grid-template-columns:1fr!important}body.fac-redesign #panelControlMobile .mcm-employees{max-height:350px;overflow:auto}body.fac-redesign #panelControlMobile .mcm-summary{grid-template-columns:1fr!important}body.fac-redesign #panelControlMobile .mcm-summary>div{border-right:0!important;border-bottom:1px solid #e1e4e9}body.fac-redesign #appView:not(.employee-mode) .panel :is(.page-head,.page-header,.facadm-header,.evpro-head){padding:16px!important}body.fac-redesign #appView:not(.employee-mode) .panel :is(.facv2-kpis,.evpro-kpis){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(prefers-reduced-motion:reduce){body.fac-redesign *,body.fac-redesign *:before,body.fac-redesign *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{body.fac-redesign #appView>.sidebar,body.fac-redesign .topbar,body.fac-redesign .fd26-sector-nav{display:none!important}body.fac-redesign #appView:not(.employee-mode)>.main{margin:0!important;width:100%!important;padding:0!important}.fac-redesign .fd26-table-scroll{overflow:visible}.fac-redesign .fd26-module-grid{display:none}}
