/* dc-control-10.5.8.css?v=2.2.20 */
/* DC CONTROL 10.5.0 — CSS consolidado
   Base: 10.4.81r23
   Orden de cascada preservado exactamente para reducir riesgo funcional. */

/* ===== SOURCE: styles.css ===== */
*{box-sizing:border-box}html,body{margin:0;background:#f4f7fb;color:#101828;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif}
body{padding-bottom:96px}.app-shell{max-width:1080px;margin:auto}.topbar{position:sticky;top:0;z-index:20;padding:16px 20px 15px;background:linear-gradient(135deg,#07111f,#12274b);color:white;border-bottom:1px solid #1f3559;display:flex;justify-content:space-between;align-items:center;box-shadow:0 8px 28px #07111f22}.eyebrow{font-size:10px;letter-spacing:.12em;opacity:.7;font-weight:800}.topbar h1{margin:3px 0;font-size:26px;letter-spacing:-.03em}.subtitle{font-size:12px;opacity:.7}.icon-btn{border:1px solid #ffffff1c;background:#ffffff12;color:white;width:42px;height:42px;border-radius:14px;font-size:18px;cursor:pointer;transition:.18s ease}.icon-btn:hover{background:#ffffff20;transform:translateY(-1px)}.icon-btn.light{color:#101828;background:#eef2f7}.bottom-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;max-width:1080px;margin:auto;background:#ffffffee;backdrop-filter:blur(16px);border-top:1px solid #e5e7eb;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:8px max(8px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px #10182812}.bottom-nav button{border:0;background:none;color:#667085;display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 5px;border-radius:14px;min-width:0;transition:.18s ease;cursor:pointer}.bottom-nav button:hover{background:#f5f7fa}.bottom-nav button span{font-size:20px;line-height:20px}.bottom-nav small{font-size:10px}.bottom-nav button.active{color:#0b63f6;background:#edf4ff;font-weight:800}main{padding:18px}.section{margin-bottom:14px}.section h2{margin:0;font-size:21px}.section p{margin:5px 0;color:#667085;font-size:13px}.hero{background:linear-gradient(135deg,#0a1730,#183969);color:white;border-radius:24px;padding:22px;box-shadow:0 15px 40px #0a173033}.score{font-size:42px;font-weight:900;letter-spacing:-.05em;margin:2px 0}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.metric,.card{background:white;border:1px solid #e8edf4;border-radius:18px;box-shadow:0 5px 18px #10182808}.metric{padding:15px}.metric strong{display:block;font-size:20px;margin-top:4px}.label,.muted{color:#667085;font-size:12px}.card{padding:16px;margin:10px 0}.row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid #eef2f6}.row:last-child{border-bottom:0}.progress{height:7px;background:#edf1f6;border-radius:999px;overflow:hidden;margin-top:7px}.progress i{display:block;height:100%;background:#0b63f6;border-radius:999px}.alert{padding:11px 12px;background:#fff8df;border:1px solid #f5df9a;border-radius:12px;margin-top:9px;font-size:12px}.alert.red{background:#fff0ef;border-color:#f4c4c0;color:#b42318}.green{color:#147a3e}.red{color:#b42318}.big{font-size:27px;font-weight:900;margin:5px 0}.fab{position:fixed;right:22px;bottom:92px;width:54px;height:54px;border:0;border-radius:18px;background:#0b63f6;color:white;font-size:28px;box-shadow:0 10px 25px #0b63f644}.camera{padding:22px;text-align:center}.upload{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#0b63f6;color:white;padding:13px 18px;border-radius:14px;font-weight:800;margin:12px 0;cursor:pointer}.upload input{display:none}.receipt-preview{max-width:100%;max-height:320px;object-fit:contain;border-radius:14px;border:1px solid #e5e7eb;margin-top:10px}.status{padding:14px;border-radius:15px;margin:10px 0;border:1px solid}.status.green{background:#ecfdf3;border-color:#b7ebca;color:#146c3a}.status.yellow{background:#fff9e6;border-color:#f1d890;color:#8a5b00}.status.red{background:#fff0ef;border-color:#f2c1bc;color:#b42318}.proposal{background:#fbfcfe;border:1px solid #e8edf4;border-radius:15px;padding:13px}.items{margin-top:10px}.item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e9edf2;font-size:12px}.item small{display:block;color:#667085;margin-top:3px}.security{padding:12px;border-radius:13px;background:#fff8df;border:1px solid #f2df9b;font-size:12px;margin:12px 0}.overlay{position:fixed;inset:0;background:#07111f88;backdrop-filter:blur(7px);z-index:100;display:flex;align-items:flex-end;justify-content:center}.overlay.hidden,.hidden{display:none}.sheet{background:#fff;width:min(760px,100%);max-height:94vh;overflow:auto;border-radius:25px 25px 0 0;padding:18px;box-shadow:0 -20px 60px #07111f44}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.sheet h2{margin:2px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}label{display:block;font-size:12px;font-weight:700;margin:10px 0}input,select{width:100%;border:1px solid #dbe2ea;border-radius:12px;padding:12px;margin-top:6px;font:inherit;background:#fff}.primary,.secondary{border:0;border-radius:13px;padding:13px 15px;font-weight:800;cursor:pointer}.primary{background:#0b63f6;color:white;width:100%}.secondary{background:#eef2f7;color:#344054}.full{width:100%;margin-top:8px}.primary:disabled{opacity:.5;cursor:not-allowed}.toast{position:fixed;left:50%;bottom:95px;transform:translateX(-50%);z-index:200;background:#101828;color:white;padding:12px 16px;border-radius:14px;font-size:12px;box-shadow:0 12px 30px #10182833}.toast.hidden{display:none}.ocr-raw{margin-top:12px}.ocr-raw summary{cursor:pointer;font-weight:800;font-size:12px}.ocr-raw pre{white-space:pre-wrap;max-height:260px;overflow:auto;background:#0b1220;color:#d1e0ff;border-radius:12px;padding:12px;font-size:10px}.pill{display:inline-block;padding:5px 8px;border-radius:999px;background:#edf4ff;color:#0b63f6;font-size:10px;font-weight:800}@media(min-width:760px){.bottom-nav{left:50%;transform:translateX(-50%);width:760px;border-radius:18px 18px 0 0}.sheet{border-radius:25px;max-height:88vh;margin-bottom:20px}.overlay{align-items:center}.app-shell{min-height:100vh}}
.status{font-weight:700}.proposal b{font-weight:800}.muted{line-height:1.4}
.hero{display:flex;justify-content:space-between;align-items:center;gap:18px}.hero h2{margin:4px 0;font-size:24px}.hero p{color:#cbd5e1}.score{min-width:78px;text-align:center;background:#ffffff14;border:1px solid #ffffff20;border-radius:20px;padding:9px}.score small{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;opacity:.7}.grid2{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.metric span{display:block;color:#667085;font-size:11px}.metric b{display:block;font-size:21px;margin-top:4px}.checks{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.checks span{font-size:10px;background:#edf8f1;color:#17663a;padding:7px 9px;border-radius:999px}.capture-btn{display:flex;align-items:center;justify-content:center;background:#0b63f6;color:#fff;border-radius:16px;padding:15px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px #0b63f633}.status{font-weight:800}.status.neutral{background:#f6f8fb;border-color:#e4e9f0;color:#475467}.status.ok{background:#ecfdf3;border-color:#b7ebca;color:#146c3a}.status.warn{background:#fff8df;border-color:#f2df9a;color:#8a5b00}.status.bad{background:#fff0ef;border-color:#f2c4bf;color:#b42318}.secure{background:#fffaf0}.stack{display:grid;gap:10px}.greenpill{background:#ecfdf3;color:#147a3e}.checkrow{font-size:12px}.match{background:#edf4ff;border:1px solid #cfe0ff;color:#164e9a;border-radius:14px;padding:12px;font-size:12px;margin:10px 0}@media(min-width:760px){.grid2{grid-template-columns:repeat(4,1fr)}}
.route-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;margin-bottom:18px}.route-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.map-card{overflow:hidden}.map-placeholder{height:240px;border-radius:18px;position:relative;overflow:hidden;background:linear-gradient(135deg,#0d2035,#102a3e 48%,#0b1a2b);margin-top:12px}.map-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(25deg,transparent 48%,#9fb4c7 49%,transparent 51%),linear-gradient(115deg,transparent 48%,#9fb4c7 49%,transparent 51%),linear-gradient(0deg,transparent 48%,#9fb4c7 49%,transparent 51%);background-size:90px 70px,120px 90px,140px 80px}.map-pin{position:absolute;font-size:28px;filter:drop-shadow(0 4px 8px #0008)}.p1{left:22%;top:28%}.p2{left:58%;top:52%}.p3{left:74%;top:24%}.map-label{position:absolute;left:16px;bottom:14px;background:#071321dd;padding:8px 12px;border-radius:10px;font-size:12px;color:#dce8f2}.route-card h3{margin:3px 0}.route-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}.route-summary div{background:#0a1827;border:1px solid #20344a;border-radius:14px;padding:11px}.route-summary small{display:block;color:#8fa2b6;font-size:11px;margin-bottom:4px}.route-summary b{font-size:15px}.client-list{margin-top:14px}.client-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #1d3043}.client-row span{min-width:0}.client-row b,.client-row small{display:block}.client-row small{color:#8fa2b6;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mini{border:1px solid #2a4056;background:#10253a;color:#e8f0f6;border-radius:10px;padding:7px 10px}.mini.done{background:#10382d;border-color:#1e6b51;color:#9ff0cf}.route-actions{display:flex;gap:10px;margin-top:15px}.route-actions>*{flex:1}.danger{border:1px solid #6f3540;background:#2d1520;color:#ffd7dc;border-radius:12px;padding:11px 14px;font-weight:700}.mutedpill{background:#273646!important;color:#c4cfda!important}.section-title{margin:24px 0 10px}.empty{text-align:center;padding:30px}.route-shell .primary{white-space:nowrap}@media(max-width:700px){.route-head{align-items:stretch;flex-direction:column}.route-kpis{grid-template-columns:1fr}.route-actions{flex-direction:column}.route-summary{grid-template-columns:1fr 1fr 1fr}.route-summary div{padding:9px}.route-summary b{font-size:13px}}
.seller-search{position:relative}
input::placeholder{color:#98a2b3}
button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9d4ff;outline-offset:2px}
@media(max-width:700px){.bottom-nav{grid-template-columns:repeat(5,minmax(74px,1fr));overflow-x:auto;justify-content:start}.bottom-nav button{min-width:74px}.bottom-nav{scrollbar-width:none}.bottom-nav::-webkit-scrollbar{display:none}}

/* DC CONTROL 10.2 — visual polish */
.section{animation:fadeUp .18s ease-out}.section h2{letter-spacing:-.025em}.card{transition:transform .16s ease,box-shadow .16s ease}.card:hover{transform:translateY(-1px);box-shadow:0 8px 24px #1018280d}.metric{min-height:82px}.metric span,.metric .label{letter-spacing:.01em}.empty{text-align:center;padding:24px;color:#667085}.danger{border:0;border-radius:13px;padding:13px 15px;font-weight:800;cursor:pointer;background:#fff0f0;color:#b42318}.route-actions{display:flex;gap:10px;margin-top:12px}.route-actions>*{flex:1}.role-card{background:linear-gradient(180deg,#ffffff,#f9fbfd)}.role-card select{max-width:420px}.extra-nav{display:none!important}.bottom-nav.more-open{box-shadow:0 -12px 36px #1018281a}.more-menu{position:fixed;z-index:120;right:16px;bottom:92px;width:min(320px,calc(100vw - 32px));background:#fff;border:1px solid #e5eaf0;border-radius:20px;padding:10px;box-shadow:0 18px 50px #10182822}.more-menu button{width:100%;display:flex;align-items:center;gap:12px;border:0;background:#fff;padding:13px 12px;border-radius:13px;text-align:left;font:inherit;color:#344054;cursor:pointer}.more-menu button:hover{background:#f5f8fc}.more-menu small{display:block;color:#667085;margin-left:auto}.nav-badge{position:absolute;top:3px;right:calc(50% - 19px);min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#d92d20;color:#fff;font-size:9px;line-height:16px;font-weight:900}.bottom-nav button{position:relative}.topbar .subtitle{font-weight:600}.route-head .primary{min-width:180px}.map-placeholder{background:linear-gradient(135deg,#10263d,#153d5a 52%,#0b1b2b)}
@keyframes fadeUp{from{opacity:.65;transform:translateY(3px)}to{opacity:1;transform:none}}
@media(max-width:759px){.route-head{align-items:stretch;flex-direction:column}.route-head .primary{width:100%}.form-grid,.grid,.grid2{grid-template-columns:1fr}.route-summary{grid-template-columns:repeat(3,1fr)}.route-actions{flex-direction:column}.bottom-nav{border-radius:18px 18px 0 0;margin:0 8px;right:8px;left:8px}.bottom-nav small{font-size:9px}}
@media(min-width:760px){main{padding:24px}.topbar{padding-left:28px;padding-right:28px}.more-menu{right:calc(50% - 520px);max-width:340px}}
.route-type-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding:11px 13px;border-radius:14px;border:1px solid #dfe7ef;font-size:12px}.route-type-banner span{color:#667085}.route-type-banner.delivery{background:#eef6ff;border-color:#cfe0ff;color:#164e9a}.route-type-banner.pickup{background:#f4f1ff;border-color:#ddd3ff;color:#4b2a8f}.supplier-list{margin-top:10px}.supplier-row{border-top:1px solid #1d3043}.client-identity{display:flex;align-items:center;gap:10px;min-width:0}.client-photo{width:44px;height:44px;min-width:44px;border-radius:13px;overflow:hidden;background:linear-gradient(135deg,#dbeafe,#cbd5e1);display:flex;align-items:center;justify-content:center;color:#164e9a;font-weight:900;border:2px solid #fff;box-shadow:0 2px 8px #10182818}.client-photo img{width:100%;height:100%;object-fit:cover}.delivery-client small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}.pickup-route .route-summary div{background:#20162f;border-color:#3c2b55}.pickup-route .route-summary small{color:#bcaed1}.pickup-route .route-summary b{color:#fff}.delivery-route .route-summary div{background:#0a1827}.supplier-row .mini{min-width:76px}
.route-type-banner{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding:11px 13px;border-radius:14px;border:1px solid #dfe7ef;font-size:12px}.route-type-banner span{color:#667085}.route-type-banner.delivery{background:#eef6ff;border-color:#cfe0ff;color:#164e9a}.route-type-banner.pickup{background:#f4f1ff;border-color:#ddd3ff;color:#4b2a8f}.supplier-list{margin-top:10px}.client-identity{display:flex;align-items:center;gap:10px;min-width:0}.client-photo{width:44px;height:44px;min-width:44px;border-radius:13px;overflow:hidden;background:linear-gradient(135deg,#dbeafe,#cbd5e1);display:flex;align-items:center;justify-content:center;color:#164e9a;font-weight:900;border:2px solid #fff;box-shadow:0 2px 8px #10182818}.client-photo img{width:100%;height:100%;object-fit:cover}.delivery-client small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:520px}.pickup-route .route-summary div{background:#20162f;border-color:#3c2b55}.pickup-route .route-summary small{color:#bcaed1}.pickup-route .route-summary b{color:#fff}.supplier-row .mini{min-width:76px}
.route-create-sheet{max-width:720px}.route-create-overlay{z-index:150}.route-create-sheet .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.route-create-sheet label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#344054}.route-create-sheet input,.route-create-sheet select,.route-create-sheet textarea{width:100%;border:1px solid #dfe5ec;border-radius:12px;padding:12px;font:inherit;color:#101828;background:#fff;box-sizing:border-box}.route-photo-block,.route-extra-block{margin-top:14px;padding:14px;border:1px solid #e4e9f0;border-radius:16px;background:#fafcff}.photo-drop{display:flex!important;align-items:center;justify-content:center;background:#eef6ff;color:#164e9a;border:1px dashed #b9d4ff;border-radius:13px;padding:13px;margin-top:10px;cursor:pointer}.route-photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}.route-photo-thumb{position:relative;aspect-ratio:1;border-radius:12px;overflow:hidden;background:#eef2f6}.route-photo-thumb img{width:100%;height:100%;object-fit:cover}.route-photo-thumb button{position:absolute;right:5px;top:5px;width:24px;height:24px;border:0;border-radius:50%;background:#101828dd;color:#fff;font-size:16px;cursor:pointer}.supplier-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.check-card{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;background:#fff;border:1px solid #e5eaf0;border-radius:12px;padding:10px;cursor:pointer}.check-card span{display:grid;gap:2px}.check-card small{color:#667085;font-weight:500}.route-photo-strip{margin-top:12px;padding-top:12px;border-top:1px solid #e4e9f0}.route-photo-strip>div:last-child{display:flex;gap:8px;margin-top:8px;overflow:auto}.route-photo-view{border:0;padding:0;width:72px;height:72px;min-width:72px;border-radius:12px;overflow:hidden;background:#eef2f6;cursor:pointer}.route-photo-view img{width:100%;height:100%;object-fit:cover}.photo-viewer-sheet{max-width:760px}.route-photo-large{width:100%;max-height:65vh;object-fit:contain;border-radius:16px;background:#0b1220}.route-photo-strip b{font-size:12px}@media(max-width:700px){.route-create-sheet .form-grid{grid-template-columns:1fr}.route-photo-grid{grid-template-columns:repeat(4,1fr)}.supplier-checks{grid-template-columns:1fr}}

/* DC CONTROL 10.2.4 — control financiero de efectivo en rutas de recolección */
.cash-route-card{margin-top:14px;padding:14px;border:1px solid #eadff4;border-radius:16px;background:linear-gradient(180deg,#fbf8ff,#fff)}
.cash-route-card .row{margin-bottom:10px}.cash-route-card .row small{display:block;margin-top:3px}.cash-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.cash-grid>div{padding:10px;border-radius:12px;background:#20162f;border:1px solid #3c2b55}.cash-grid small{display:block;color:#bcaed1;font-size:10px}.cash-grid b{display:block;color:#fff;margin-top:4px;font-size:14px}.cash-highlight{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;border-radius:14px;background:#20162f;color:#fff;margin:8px 0 14px}.cash-highlight span{font-size:12px;color:#d6cce4}.cash-highlight b{font-size:18px}.cash-reconcile{display:grid;gap:3px;margin-top:10px;padding:10px 12px;border-radius:12px;font-size:11px}.cash-reconcile.ok{background:#ecfdf3;color:#146c3a;border:1px solid #b7ebca}.cash-reconcile.warn{background:#fff7e6;color:#8a5b00;border:1px solid #f0d39a}.expense-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;padding:12px;border:1px solid #e5eaf0;border-radius:14px;background:#fff}.expense-row b,.expense-row small{display:block}.expense-row small{color:#667085;margin-top:3px;font-size:10px}.expense-row strong{font-size:14px}.expense-row .mini{padding:7px 9px}.route-expense-sheet,.route-expense-list-sheet{max-width:620px}.expense-photo-preview img{width:100%;max-height:180px;object-fit:contain;border-radius:12px;background:#f3f4f6;margin-top:8px}.route-expense-sheet textarea{width:100%;border:1px solid #dfe5ec;border-radius:12px;padding:12px;font:inherit;box-sizing:border-box}.route-expense-sheet input,.route-expense-sheet select,.route-expense-sheet textarea{box-sizing:border-box}.route-expense-sheet .primary{margin-top:4px}.route-expense-sheet .security{margin-top:12px}
@media(max-width:700px){.cash-grid{grid-template-columns:1fr 1fr 1fr}.cash-grid>div{padding:8px}.cash-grid b{font-size:12px}.expense-row{grid-template-columns:1fr auto auto}.cash-highlight b{font-size:16px}}
.route-actions.compact{display:flex;flex-wrap:wrap;gap:6px;margin-top:0;flex:0 0 auto;justify-content:flex-end}.route-actions.compact>*{flex:0 0 auto}.supplier-row>div:first-child{min-width:0;flex:1}.supplier-row small{white-space:normal;line-height:1.35}.supplier-row .mini{white-space:nowrap}@media(max-width:700px){.route-actions.compact{justify-content:flex-start}.supplier-row{align-items:flex-start;flex-direction:column}.supplier-row .route-actions.compact{width:100%}.supplier-row .route-actions.compact>*{flex:1}}

/* DC CONTROL 10.2.6 — contacto directo de proveedores */
.contact-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important;color:inherit}.contact-link.whatsapp{background:#ecfdf3;border-color:#b7ebca;color:#146c3a}.supplier-row .contact-link{min-width:90px}
@media(max-width:700px){.supplier-row .contact-link{flex:1}}
.config-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:14px 0}.config-tab{border:1px solid #e1e7ef;background:#fff;border-radius:13px;padding:12px;font:inherit;font-weight:800;color:#475467;cursor:pointer}.config-tab.active{background:#eef6ff;border-color:#b9d4ff;color:#0b63f6}.config-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 8px}.config-section-head h3{margin:0}.config-add{width:auto;white-space:nowrap}.config-item{margin:8px 0}.config-item .row{padding:3px 0 8px}.config-item small{display:block;color:#667085;margin-top:4px;font-size:11px}.config-actions{display:flex;gap:6px}.config-sheet{max-width:680px}.config-sheet textarea{width:100%;border:1px solid #dbe2ea;border-radius:12px;padding:12px;margin-top:6px;font:inherit;box-sizing:border-box;resize:vertical}.mini{border:1px solid #dce3ec;background:#fff;border-radius:10px;padding:7px 9px;font:inherit;font-size:11px;font-weight:800;color:#344054;cursor:pointer}.mini:hover{background:#f5f8fc}@media(max-width:700px){.config-section-head{align-items:stretch;flex-direction:column}.config-add{width:100%}}

.global-search-wrap{flex:1;display:flex;justify-content:center;margin:0 14px}.search-launch{width:min(430px,100%);border:1px solid #dbe3ec;background:#fff;border-radius:14px;padding:10px 14px;text-align:left;font:inherit;color:#667085;box-shadow:0 1px 2px #1018280a;cursor:pointer}.search-launch span{margin-left:7px;font-size:12px;font-weight:700}.search-sheet{max-width:720px}.search-input-row{display:flex;align-items:center;gap:9px;border:1px solid #b9d4ff;border-radius:14px;padding:0 13px;background:#fff;box-shadow:0 0 0 3px #eef6ff;margin-bottom:12px}.search-input-row input{width:100%;border:0;outline:0;padding:14px 0;font:inherit;font-size:15px;background:transparent}.search-results{display:grid;gap:7px;max-height:58vh;overflow:auto}.search-result{display:grid;grid-template-columns:36px 1fr 18px;align-items:center;gap:10px;width:100%;border:1px solid #e4e9f0;background:#fff;border-radius:14px;padding:11px;text-align:left;font:inherit;color:#101828;cursor:pointer}.search-result:hover{background:#f8fbff;border-color:#cfe0ff}.search-icon{width:34px;height:34px;border-radius:10px;background:#eef6ff;display:flex;align-items:center;justify-content:center}.search-result b,.search-result small{display:block}.search-result small{margin-top:3px;color:#667085;font-size:10px;line-height:1.35}.search-empty{padding:28px 14px;text-align:center;color:#667085;border:1px dashed #dbe3ec;border-radius:14px;background:#fafcff}@media(max-width:760px){.topbar{gap:6px}.global-search-wrap{margin:0 5px}.search-launch{padding:9px 10px}.search-launch span{font-size:10px}.search-sheet{max-height:88vh}.search-results{max-height:52vh}}

.capture-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}.capture-actions .capture-btn{margin:0}.capture-actions .secondary{display:flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--card);color:var(--text);border-radius:16px;font-weight:800;cursor:pointer;min-height:52px;padding:0 16px}.capture-actions .secondary input{display:none}@media(max-width:640px){.capture-actions{grid-template-columns:1fr}}

.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#071321}.auth-card{width:min(100%,460px);background:#fff;border-radius:24px;padding:28px;box-shadow:0 20px 60px rgba(0,0,0,.18)}.auth-card h1{margin:.25rem 0 1rem}.auth-card label{display:block;font-weight:700;margin:14px 0}.auth-card input{width:100%;box-sizing:border-box;padding:13px 14px;border:1px solid #d6dde7;border-radius:12px;margin-top:7px;font:inherit}.auth-setup{margin-top:18px;padding-top:14px;border-top:1px solid #e5e9ef}.auth-setup summary{font-weight:700;cursor:pointer}.auth-card .security{margin-top:16px}

/* 10.2.16 — captura manual y proveedor autocomplete */
.capture-manual-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.manual-movement-sheet{max-width:680px}
.manual-type-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}
.manual-type{border:1px solid #dfe5ec;background:#fff;border-radius:15px;padding:13px;text-align:left;font:inherit;cursor:pointer;display:grid;gap:3px;color:#344054}
.manual-type b{font-size:14px}.manual-type small{font-size:10px;color:#667085}.manual-type.active{border-color:#8fbaff;box-shadow:0 0 0 3px #eef6ff}.manual-type.income.active{background:#f2fbf5}.manual-type.expense.active{background:#fff6f5}.manual-type.payment.active{background:#f5f7ff}
.manual-supplier-wrap{position:relative}.manual-supplier-wrap input{width:100%;box-sizing:border-box;border:1px solid #dfe5ec;border-radius:12px;padding:12px;font:inherit;color:#101828;background:#fff}
.supplier-suggestions{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 5px);display:grid;gap:5px;max-height:220px;overflow:auto;background:#fff;border:1px solid #dbe3ec;border-radius:13px;padding:6px;box-shadow:0 15px 35px #10182820}.supplier-suggestions[hidden]{display:none}.supplier-suggestions button{border:0;background:#fff;border-radius:10px;padding:9px;text-align:left;font:inherit;cursor:pointer}.supplier-suggestions button:hover{background:#f5f8fc}.supplier-suggestions b,.supplier-suggestions small{display:block}.supplier-suggestions small{margin-top:2px;color:#667085;font-size:10px}
.manual-selected{margin:-7px 0 12px;padding:9px 11px;border-radius:11px;background:#ecfdf3;color:#146c3a;border:1px solid #b7ebca;font-size:11px}.manual-receipt-preview{width:100%;max-height:180px;object-fit:contain;border-radius:12px;background:#f3f4f6;margin-top:8px}.manual-file{margin-top:8px;padding:10px;border-radius:11px;background:#f5f7fa;color:#475467;font-size:11px}.movement-row small{display:block;color:#667085;margin-top:4px;font-size:10px}
@media(max-width:640px){.capture-manual-row,.manual-type-grid{grid-template-columns:1fr}.manual-movement-sheet{max-height:90vh}}

/* 10.2.16.1 — corrección visual de proveedores en rutas */
.check-card{min-width:0;overflow:hidden;align-items:flex-start!important}
.check-card > input{flex:0 0 auto;width:auto;margin-top:2px}
.check-card > span{min-width:0;flex:1;overflow:hidden}
.check-card b,.check-card small{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.check-card small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.card-account .row small{display:block;margin-top:3px}


/* 10.2.17 — módulo financiero profesional */
.card-form-sheet{max-width:720px}.card-account{border:1px solid #dfe6ee}.card-account.card-inactive{opacity:.72}.card-title-row h3{margin:4px 0 2px}.card-credit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:12px}.card-credit-grid>div{padding:10px 12px;border:1px solid #e6ebf1;border-radius:12px;background:#fafcff}.card-credit-grid small{display:block;color:#667085;font-size:10px}.card-credit-grid b{display:block;margin-top:4px}.card-dates{display:flex;flex-wrap:wrap;gap:14px;padding:11px 0;color:#667085;font-size:11px}.card-dates b{color:#344054}.card-actions{display:flex;flex-wrap:wrap;gap:7px}.card-actions .secondary{flex:1;min-width:145px}.warnpill{background:#fff7e6!important;color:#8a5b00!important;border-color:#f0d39a!important}.transaction-highlight{display:flex;align-items:center;justify-content:space-between;background:#f7f9fc}.transaction-highlight b{font-size:20px}.finance-filter{display:grid;grid-template-columns:1fr 180px;gap:9px;margin:10px 0}.finance-filter input,.finance-filter select{border:1px solid #dfe5ec;border-radius:12px;padding:12px;background:#fff;font:inherit}.finance-row[hidden]{display:none}.finance-chart{display:flex;gap:8px;height:190px}.chart-axis{width:58px;display:flex;flex-direction:column;justify-content:space-between;padding:4px 0;color:#98a2b3;font-size:9px;text-align:right}.chart-bars{flex:1;display:grid;grid-template-columns:repeat(6,1fr);gap:7px;align-items:stretch;border-bottom:1px solid #dfe5ec;padding:4px 0 0}.chart-col{display:grid;grid-template-rows:1fr auto;gap:5px;min-width:0}.chart-bars-inner{height:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;border-bottom:0}.chart-bars-inner i{display:block;width:12px;max-width:34%;min-height:2px;border-radius:6px 6px 0 0;background:#2f80ed}.chart-bars-inner .bar-expense{background:#ef5b5b}.chart-col small{text-align:center;color:#667085;font-size:9px;text-transform:capitalize}.chart-legend{display:flex;justify-content:center;gap:18px;margin-top:10px;font-size:10px;color:#667085}.chart-legend span{display:flex;align-items:center;gap:5px}.chart-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}.legend-income{background:#2f80ed}.legend-expense{background:#ef5b5b}
@media(max-width:640px){.card-credit-grid{grid-template-columns:1fr 1fr 1fr;gap:6px}.card-credit-grid>div{padding:8px}.card-credit-grid b{font-size:12px}.card-actions .secondary{min-width:0}.finance-filter{grid-template-columns:1fr}.finance-chart{height:170px}.chart-bars-inner i{width:9px}}

.card-usage-list{display:grid;gap:11px;margin-top:12px}.card-usage-row .row{margin-bottom:5px}.card-usage-row .progress{height:8px}.mutedpill{background:#f2f4f7!important;color:#667085!important;border-color:#d0d5dd!important}

/* ==========================================================
   DC CONTROL 10.2.17.1 — iPHONE / PWA HARDENING
   Objetivo: cero desbordamiento horizontal y controles táctiles
   cómodos en iPhone 375–430 px, manteniendo escritorio intacto.
   ========================================================== */
html{width:100%;min-width:0;overflow-x:hidden;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{width:100%;min-width:0;overflow-x:hidden;overscroll-behavior-x:none}
.app-shell,main,.section,.card,.metric,.hero,.stack,.route-shell,.route-card,.sheet,.sheet>*{min-width:0;max-width:100%}
img,video,canvas,svg{max-width:100%}
button,input,select,textarea{max-width:100%;-webkit-tap-highlight-color:transparent}

@media(max-width:760px){
  body{padding-bottom:calc(82px + env(safe-area-inset-bottom));}
  main{padding:12px 12px 22px;}

  /* Cabecera: nunca debe empujar el viewport horizontalmente. */
  .topbar{
    position:sticky;top:0;
    display:grid;grid-template-columns:minmax(0,1fr) minmax(82px,42%) 42px;
    gap:7px;align-items:center;
    padding:10px 12px 10px;
    min-height:68px;
  }
  .topbar h1{font-size:20px;line-height:1.05;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar .eyebrow{font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .topbar .subtitle{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .global-search-wrap{min-width:0;width:100%;margin:0}
  .search-launch{width:100%;min-width:0;padding:10px 9px;border-radius:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .search-launch span{font-size:9px;margin-left:3px}
  .icon-btn{width:40px;height:40px;min-width:40px;border-radius:12px}

  /* Navegación inferior realmente de 5 columnas dentro del ancho del iPhone. */
  .bottom-nav{
    left:0;right:0;bottom:0;width:100%;max-width:none;transform:none;margin:0;
    grid-template-columns:repeat(5,minmax(0,1fr));
    overflow:hidden;
    padding:6px 6px calc(6px + env(safe-area-inset-bottom));
    border-radius:18px 18px 0 0;
  }
  .bottom-nav button{min-width:0;width:100%;padding:5px 2px;border-radius:12px}
  .bottom-nav button span{font-size:18px;line-height:18px}
  .bottom-nav small{font-size:9px;white-space:nowrap}

  /* Tipografía y tarjetas */
  .section h2{font-size:20px;line-height:1.15}
  .section p{font-size:12px;line-height:1.45}
  .hero{display:block;padding:16px;border-radius:19px}
  .hero h2{font-size:21px}
  .score{display:inline-block;margin-top:10px;min-width:72px;font-size:30px}
  .grid,.grid2{grid-template-columns:1fr 1fr;gap:8px}
  .metric{padding:12px;min-height:72px}
  .metric b,.metric strong{font-size:18px;overflow-wrap:anywhere}
  .card{padding:13px;border-radius:16px;margin:8px 0}

  /* Filas: los valores largos pueden romperse sin ensanchar la página. */
  .row{gap:8px;align-items:flex-start}
  .row>div,.row>span{min-width:0;max-width:100%}
  .row b,.row strong{overflow-wrap:anywhere;word-break:break-word;text-align:right}
  .row>div:first-child b,.row>div:first-child small,.row>div:first-child p{overflow-wrap:anywhere;word-break:break-word}

  /* Formularios / sheets */
  .overlay{padding:0;overflow:hidden}
  .sheet{width:100%;max-width:100%;max-height:94vh;border-radius:22px 22px 0 0;padding:14px;overflow-x:hidden;overflow-y:auto}
  .sheet-head{gap:10px;align-items:flex-start}
  .sheet-head>div{min-width:0;flex:1}
  .sheet h2{font-size:19px;overflow-wrap:anywhere}
  .form-grid{grid-template-columns:1fr;gap:4px}
  label{font-size:12px;margin:8px 0}
  input,select,textarea{font-size:16px;padding:12px;border-radius:12px;box-sizing:border-box}
  .primary,.secondary,.mini{min-height:44px}
  .route-actions{gap:7px;flex-wrap:wrap}
  .route-actions>*{min-width:0}

  /* Crear ruta / recolección: una sola columna y contenido encerrado. */
  .route-create-sheet{width:100%;max-width:100%;padding:14px}
  .route-create-sheet .form-grid{grid-template-columns:1fr!important}
  .route-photo-block,.route-extra-block{width:100%;max-width:100%;padding:11px}
  .supplier-checks{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:8px}
  .check-card{
    width:100%!important;max-width:100%!important;
    display:flex!important;flex-direction:row!important;align-items:flex-start!important;
    gap:10px;padding:12px;box-sizing:border-box;
    overflow:hidden!important;
  }
  .check-card>input{flex:0 0 22px!important;width:22px!important;min-width:22px!important;margin:2px 0 0!important}
  .check-card>span{
    display:block!important;flex:1 1 auto!important;width:0;min-width:0!important;
    max-width:calc(100% - 32px)!important;overflow:hidden!important;
  }
  .check-card>span>b,.check-card>span>small{
    display:block!important;width:100%;max-width:100%;
    white-space:normal!important;overflow-wrap:anywhere!important;word-break:break-word!important;
  }
  .check-card>span>b{font-size:14px;line-height:1.2}
  .check-card>span>small{font-size:11px;line-height:1.35;margin-top:3px}

  /* Rutas en ejecución */
  .route-head{flex-direction:column;align-items:stretch;gap:10px}
  .route-head .primary{width:100%;min-width:0}
  .route-kpis{grid-template-columns:1fr!important;gap:8px}
  .route-summary{grid-template-columns:1fr 1fr!important;gap:7px}
  .route-summary div{min-width:0;padding:9px}
  .route-summary b{font-size:13px;overflow-wrap:anywhere}
  .cash-grid{grid-template-columns:1fr!important}
  .cash-grid>div{min-width:0}
  .supplier-row,.delivery-client{display:flex;flex-wrap:wrap;align-items:flex-start}
  .supplier-row>div:first-child,.delivery-client>div:first-child{width:100%;min-width:0}
  .supplier-row .route-actions,.delivery-client .route-actions{width:100%}
  .supplier-row small,.delivery-client small{display:block;white-space:normal!important;overflow-wrap:anywhere;word-break:break-word}
  .client-identity{min-width:0}
  .client-identity>span{min-width:0;overflow:hidden}
  .route-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}

  /* Tarjetas */
  .card-credit-grid{grid-template-columns:1fr!important;gap:7px}
  .card-credit-grid>div{min-width:0}
  .card-actions{display:grid;grid-template-columns:1fr;gap:7px}
  .card-actions .secondary{width:100%;min-width:0}
  .card-dates{display:grid;grid-template-columns:1fr 1fr;gap:6px;font-size:10px}

  /* Finanzas */
  .finance-filter{grid-template-columns:1fr!important}
  .finance-chart{height:170px;min-width:0}
  .chart-bars{gap:4px}
  .chart-bars-inner{gap:2px}
  .chart-bars-inner i{width:10px}
  .chart-axis{width:42px}
  .chart-col small{font-size:8px}
  .expense-row{grid-template-columns:minmax(0,1fr) auto;gap:7px}
  .expense-row .mini{grid-column:2}

  /* Configuración / proveedores */
  .config-tabs{grid-template-columns:1fr 1fr}
  .config-section-head{flex-direction:column;align-items:stretch}
  .config-add{width:100%}
  .config-item .row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start}
  .config-item .row>div{min-width:0}
  .config-item small{overflow-wrap:anywhere;word-break:break-word}

  /* Buscador */
  .search-sheet{width:100%;max-width:100%;max-height:90vh}
  .search-input-row input{font-size:16px}
  .search-result{grid-template-columns:34px minmax(0,1fr) 16px}
  .search-result b,.search-result small{overflow-wrap:anywhere;word-break:break-word}

  /* Captura */
  .capture-actions{display:grid!important;grid-template-columns:1fr;gap:8px}
  .capture-manual-row{display:grid!important;grid-template-columns:1fr;gap:8px}
  .capture-btn{width:100%;min-height:48px}
  .receipt-preview{width:100%;max-height:46vh}
  .proposal .item{display:grid;grid-template-columns:minmax(0,1fr) auto}

  /* Menú Más */
  .more-menu{left:10px;right:10px;bottom:82px;width:auto;max-width:none;border-radius:18px}
  .more-menu button{min-height:46px}

  /* Nunca permitir que una URL, folio o texto largo cree scroll lateral. */
  .muted,.security,.alert,.status,.match,.ocr-raw,pre,code{overflow-wrap:anywhere;word-break:break-word}
}

@media(max-width:380px){
  main{padding-left:9px;padding-right:9px}
  .topbar{grid-template-columns:minmax(0,1fr) minmax(72px,38%) 40px;padding-left:9px;padding-right:9px}
  .topbar h1{font-size:18px}
  .grid,.grid2{grid-template-columns:1fr}
  .bottom-nav small{font-size:8px}
  .bottom-nav button span{font-size:17px}
}

/* iOS: evita que controles nativos se salgan por zoom/text sizing. */
@supports (-webkit-touch-callout:none){
  input,select,textarea{font-size:16px!important}
  .bottom-nav{padding-bottom:calc(7px + env(safe-area-inset-bottom))}
}

/* 10.2.18 · Captura inteligente financiera */
.proposal-sheet{max-width:760px}
.capture-classification .manual-type-grid{margin:12px 0 14px}
.capture-classification select,.proposal-sheet select,.proposal-sheet input{width:100%;box-sizing:border-box}
.capture-classification label{display:block;margin-top:10px}
#proposalSupplierActions{margin-top:10px}
#proposalSupplierSuggestions{z-index:30}
@media(max-width:600px){
  .proposal-sheet{width:min(100vw - 16px,760px);max-height:94vh;overflow:auto;padding:16px}
  .proposal-sheet .row{gap:10px;align-items:flex-start}
  .proposal-sheet .row>b{max-width:58%;text-align:right;overflow-wrap:anywhere}
  .capture-classification .manual-type-grid{grid-template-columns:1fr}
  .proposal-sheet .item{grid-template-columns:minmax(0,1fr) auto;gap:10px}
  .proposal-sheet .item>span{min-width:0;overflow-wrap:anywhere}
  .proposal-sheet .primary,.proposal-sheet .secondary{min-height:48px}
}

.payment-amount{color:#475467}

/* 10.2.24 — usuarios y roles: controles explícitos y visibles */
.config-main-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px}.config-main-head h2{margin-bottom:4px}.config-main-head .config-add{width:auto;min-width:150px}.config-sheet select#cfgUserRole{display:block!important;width:100%;min-height:46px;appearance:auto!important;-webkit-appearance:menulist!important;opacity:1!important;pointer-events:auto!important;background:#fff!important;color:#101828!important;border:1px solid #cfd8e3!important}.role-preview{margin-top:12px;background:#f7faff;border:1px solid #d9e8ff}.role-preview b{font-size:14px}.config-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.config-section-head .config-add{min-width:120px}@media(max-width:700px){.config-main-head{align-items:stretch;flex-direction:column}.config-main-head .config-add{width:100%}.config-tabs{grid-template-columns:1fr}.config-section-head .config-add{width:100%}}
/* 10.2.26 — módulo exclusivo de gráficas */
.analytics-shell{padding-bottom:10px}.analytics-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:14px}.analytics-periods{display:flex;gap:6px;background:#eef2f7;border:1px solid #e2e8f0;padding:4px;border-radius:13px}.analytics-period{border:0;background:transparent;color:#667085;border-radius:9px;padding:9px 14px;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.analytics-period.active{background:#fff;color:#0b63f6;box-shadow:0 2px 8px #10182812}.analytics-stack{display:grid;gap:12px}.chart-card{padding:14px 14px 10px;overflow:hidden}.chart-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 2px 8px}.chart-card-head b{display:block;font-size:15px}.chart-card-head small{display:block;color:#667085;font-size:11px;margin-top:3px}.dc-chart-svg{width:100%;height:auto;display:block;overflow:visible}.analytics-legend{display:flex;justify-content:center;gap:18px;margin:0 0 5px;color:#667085;font-size:10px}.analytics-legend span{display:flex;align-items:center;gap:6px}.analytics-legend i{width:9px;height:9px;border-radius:3px;display:inline-block}@media(max-width:700px){.analytics-head{align-items:stretch;flex-direction:column}.analytics-periods{width:100%}.analytics-period{flex:1;padding:9px 8px}.chart-card{padding:11px 8px 8px}.chart-card-head{padding-left:4px;padding-right:4px}.dc-chart-svg{min-width:620px}.chart-card{overflow-x:auto}.analytics-legend{position:sticky;left:0;width:100%;min-width:250px}}

/* 10.2.28 — ubicación en tiempo real */
.location-shell{padding-bottom:18px}.live-map{height:420px;border-radius:16px;overflow:hidden;margin-top:12px;border:1px solid #dfe7ef;background:#eef2f6}.live-map .leaflet-control-attribution{font-size:9px}.location-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.location-row{padding:12px}.location-row b{font-size:14px}.location-row small{display:block;margin-top:3px;color:#667085}.location-share-card{background:linear-gradient(180deg,#f8fbff,#fff)}@media(max-width:700px){.live-map{height:52vh;min-height:300px}.location-actions{grid-template-columns:1fr}.location-shell .route-head{align-items:stretch;flex-direction:column}}
.account-menu{position:fixed;z-index:125;top:72px;right:12px;width:min(300px,calc(100vw - 24px));background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:10px;box-shadow:0 18px 50px #10182822}.account-head{padding:10px 12px 12px;border-bottom:1px solid #eef2f6;margin-bottom:5px}.account-head b,.account-head small{display:block}.account-head small{color:#667085;font-size:10px;margin-top:3px}.account-menu button{width:100%;display:flex;align-items:center;gap:12px;border:0;background:#fff;padding:13px 12px;border-radius:13px;text-align:left;font:inherit;color:#344054;cursor:pointer}.account-menu button:hover{background:#f5f8fc}.account-menu button span{display:flex;flex-direction:column;gap:2px}.account-menu button small{color:#667085;font-size:10px;font-weight:500}

/* ==========================================================
   DC CONTROL 10.2.36 — RUTAS + UBICACIÓN / MOBILE OPERATIONS UI
   Diseño mobile-first: jerarquía, estados, mapa y acciones rápidas.
   No altera la lógica de rutas/GPS.
   ========================================================== */
.location-overview{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:10px 0}.location-stat{background:#fff;border:1px solid #e3e8ef;border-radius:16px;padding:12px 14px;box-shadow:0 4px 14px #10182808}.location-stat span{display:block;font-size:10px;font-weight:800;letter-spacing:.04em;color:#667085}.location-stat:first-child span{color:#137333}.location-stat b{display:block;font-size:25px;line-height:1.05;margin-top:5px}.location-share-head,.location-map-head,.route-control-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.location-share-head h3,.location-map-head h3,.route-control-top h3{margin:3px 0 4px;font-size:17px}.location-share-head p,.location-map-head small{margin:0}.status-dot,.live-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #d8dee7;border-radius:999px;padding:7px 9px;font-size:9px;font-weight:900;white-space:nowrap;background:#f8fafc;color:#667085}.status-dot i,.live-badge i{width:7px;height:7px;border-radius:50%;background:#98a2b3;display:block}.status-dot.on,.live-badge{background:#ecfdf3;border-color:#b7ebcb;color:#137333}.status-dot.on i,.live-badge i{background:#12b76a;box-shadow:0 0 0 3px #12b76a22}.location-people{margin-top:14px}.location-people>.section-title{display:flex;align-items:center;justify-content:space-between}.location-person{width:100%;display:grid;grid-template-columns:44px minmax(0,1fr) 48px 18px;gap:10px;align-items:center;text-align:left;border:1px solid #e3e8ef;background:#fff;border-radius:16px;padding:11px 12px;margin:7px 0;box-shadow:0 3px 12px #10182808;cursor:pointer}.person-avatar{width:44px;height:44px;border-radius:14px;background:#eef2f6;color:#344054;display:grid;place-items:center;font-size:12px;font-weight:900}.person-avatar.live{background:#e9f9ef;color:#137333;box-shadow:inset 0 0 0 1px #b7ebcb}.person-main{min-width:0}.person-main b,.person-main small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-main b{font-size:13px;color:#101828}.person-main small{font-size:10px;color:#667085;margin-top:2px}.person-meta{text-align:right;font-size:14px}.person-meta small{font-size:9px;color:#667085}.person-arrow{font-size:24px;color:#98a2b3;text-align:right}.location-security{margin-top:12px}.live-map-card{padding:12px}.live-map-card .live-map{height:430px;margin-top:10px;border-radius:16px}.dc-location-marker-wrap{background:transparent;border:0}.dc-location-marker{width:46px;height:46px;border-radius:16px 16px 16px 4px;transform:rotate(-45deg);display:grid;place-items:center;background:#fff;border:2px solid #98a2b3;box-shadow:0 7px 18px #1018282b}.dc-location-marker span{transform:rotate(45deg);width:31px;height:31px;border-radius:11px;display:grid;place-items:center;background:#f2f4f7;color:#344054;font-size:10px;font-weight:900}.dc-location-marker i{position:absolute;right:-2px;top:-2px;width:11px;height:11px;border-radius:50%;background:#98a2b3;border:2px solid #fff}.dc-location-marker.is-live{border-color:#12b76a}.dc-location-marker.is-live span{background:#e9f9ef;color:#137333}.dc-location-marker.is-live i{background:#12b76a;box-shadow:0 0 0 4px #12b76a22}.dc-map-popup b,.dc-map-popup small,.dc-map-popup strong{display:block}.dc-map-popup small{font-size:10px;color:#667085;margin-top:3px}.dc-map-popup strong{font-size:11px;margin-top:5px}.route-main-head{align-items:center}.route-new-btn{white-space:nowrap}.route-kpi-primary{border-color:#ccebd7}.route-kpis .metric small{display:block;color:#667085;font-size:9px;margin-top:3px}.route-control-card{background:linear-gradient(180deg,#f7fbff,#fff);border-color:#dbe7f3;padding:15px}.route-control-top h3{font-size:18px}.route-control-card .primary{margin-top:13px}.route-list-head{display:flex;align-items:end;justify-content:space-between;margin:18px 2px 8px}.route-list-head h3{margin:3px 0 0;font-size:18px}.route-stack{gap:10px}.route-card{border:1px solid #dfe6ee;box-shadow:0 5px 18px #1018280b}.route-card> .row:first-child{padding-bottom:2px}.route-card h3{font-size:17px;margin:4px 0}.route-card .route-type-banner{margin:11px 0;padding:10px 11px;border-radius:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}.route-card .route-type-banner span{font-size:9px;color:#667085;text-align:right}.route-type-banner.delivery{background:#eff6ff;border:1px solid #d9eaff}.route-type-banner.pickup{background:#f3fbf6;border:1px solid #d6f0df}.route-card .route-summary{margin-top:11px}.route-card .route-summary div{background:#f8fafc;border:1px solid #edf0f4;border-radius:11px}.route-card .route-actions{margin-top:10px}.route-card .route-actions .mini,.route-card .route-actions a.mini{border-radius:11px;padding:9px 10px;font-size:10px}.route-card .route-actions .mini:not(.done):active{transform:scale(.98)}.route-history-title{margin-top:20px;display:flex;justify-content:space-between;align-items:center}.route-history-title small{font-size:10px}.map-placeholder{display:none}
@media(max-width:700px){
  .location-share-head,.location-map-head,.route-control-top{gap:9px}.location-share-head>div,.location-map-head>div,.route-control-top>div{min-width:0}.location-share-head h3,.location-map-head h3,.route-control-top h3{font-size:16px}.status-dot,.live-badge{font-size:8px;padding:6px 8px}.location-actions{grid-template-columns:1fr 1fr;margin:11px 0 8px}.location-actions button{min-width:0}.live-map-card .live-map{height:54vh;min-height:330px}.location-person{grid-template-columns:42px minmax(0,1fr) 42px 12px;padding:10px}.person-avatar{width:42px;height:42px}.person-main b{font-size:12px}.person-main small{font-size:9px}.person-meta{font-size:13px}.route-main-head{align-items:stretch}.route-new-btn{width:100%}.route-control-card{padding:13px}.route-list-head{margin-top:16px}.route-card .route-type-banner{display:block}.route-card .route-type-banner span{display:block;text-align:left;margin-top:3px}.route-card .route-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.route-card .route-actions .mini,.route-card .route-actions a.mini{width:100%;text-align:center}.route-card .route-actions .secondary,.route-card .route-actions .danger{width:100%}.route-card .route-summary{grid-template-columns:1fr 1fr!important}.route-card .route-summary div:last-child{grid-column:1/-1}.route-history-title{margin-top:17px}
}

/* ==========================================================
   DC CONTROL 10.2.37 — RUTAS + UBICACIÓN / PROFESSIONAL POLISH
   Mobile-first. Visual-only refinement; preserves route/GPS logic.
   ========================================================== */
.location-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}.location-hero h2{margin:3px 0 5px}.location-overview{margin:8px 0 12px}.location-stat{padding:13px 14px}.location-stat small{display:block;color:#667085;font-size:9px;margin-top:5px}.location-stat.live-stat{border-color:#cdebd8;background:linear-gradient(180deg,#fbfffc,#fff)}.location-share-card{padding:15px}.location-share-head{align-items:center}.location-share-head h3{font-size:17px}.location-share-head p{font-size:11px;line-height:1.4;margin-top:4px}.location-route-context{display:block;margin-top:7px;color:#176b3a;font-size:10px;font-weight:800}.location-actions{margin:12px 0 9px}.location-actions button{min-height:48px;font-weight:850}.location-actions button:disabled{opacity:.55}.location-last{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #edf1f5;padding-top:9px;color:#667085;font-size:10px}.location-last b{color:#101828;font-size:11px}.live-map-card{padding:13px}.map-frame{position:relative}.live-map-card .live-map{height:390px;margin-top:10px;border-radius:16px;background:#eef3f7}.map-live-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 3px 0;color:#667085;font-size:9px}.map-live-caption span{display:flex;align-items:center;gap:5px;font-weight:800}.map-live-caption i{display:block;width:7px;height:7px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 3px #12b76a20}.map-live-caption small{font-size:9px}.location-map-empty{position:absolute;z-index:500;inset:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;box-sizing:border-box;border:1px dashed #cbd5df;border-radius:16px;background:rgba(248,250,252,.94);backdrop-filter:blur(4px);color:#344054}.location-map-empty[hidden]{display:none}.map-empty-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#fff;box-shadow:0 5px 16px #10182812;font-size:23px;margin-bottom:10px}.location-map-empty b{font-size:14px;color:#101828}.location-map-empty span{max-width:260px;margin-top:5px;font-size:10px;line-height:1.45;color:#667085}.location-map-empty small{max-width:260px;margin-top:8px;font-size:9px;color:#98a2b3;line-height:1.4}.location-people{margin-top:15px}.location-people>.section-title{margin-bottom:7px}.location-people>.section-title>div{display:flex;flex-direction:column;gap:2px}.location-person{min-height:66px;box-sizing:border-box;margin:7px 0;padding:10px 11px}.person-status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#98a2b3;margin-bottom:3px}.person-status-dot.on{background:#12b76a;box-shadow:0 0 0 3px #12b76a20}.person-meta{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.person-meta small{margin-top:2px}.route-card{padding:15px}.route-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.route-title-block{min-width:0}.route-title-block h3{margin:4px 0}.route-title-block p{margin:0}.route-type-banner.delivery,.route-type-banner.pickup{min-height:52px;box-sizing:border-box}.route-type-banner.delivery>div{display:flex;flex-direction:column;gap:3px}.route-type-banner.delivery small{font-size:9px;color:#667085}.route-type-banner.delivery strong{font-size:10px;letter-spacing:.05em;color:#175cd3}.photo-strip-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.photo-strip-head>div{display:flex;flex-direction:column;gap:2px}.photo-strip-head small{font-size:9px;color:#667085}.route-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.route-photo-view{position:relative;display:block;padding:0;aspect-ratio:1;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;background:#f5f7fa}.route-photo-view img{width:100%;height:100%;display:block;object-fit:cover}.route-photo-view>span{position:absolute;right:5px;bottom:5px;min-width:18px;height:18px;display:grid;place-items:center;border-radius:7px;background:#071321d9;color:#fff;font-size:8px;font-weight:900}.route-summary-pro{grid-template-columns:1.25fr 1fr .8fr!important}.route-summary-pro div{min-width:0}.route-summary-pro b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.route-progress{margin-top:8px}.route-empty-state{display:flex;align-items:center;gap:11px;border:1px dashed #d8e0e8;background:#fafcfe;border-radius:14px;padding:12px}.route-empty-icon{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:#ecfdf3;color:#137333;font-weight:900}.route-empty-state b,.route-empty-state small{display:block}.route-empty-state b{font-size:12px;color:#344054}.route-empty-state small{margin-top:2px;font-size:9px;color:#667085;line-height:1.4}.route-footer-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.route-footer-actions button{min-height:44px}.delivery-primary{font-weight:900!important}.route-history-title{padding-top:2px}
@media(max-width:700px){.location-hero{align-items:stretch;flex-direction:column;gap:8px}.location-hero>.pill{align-self:flex-start}.location-share-card{padding:13px}.location-share-head{align-items:flex-start}.location-share-head>div{min-width:0}.location-actions{grid-template-columns:1fr 1fr!important}.location-actions button{padding:10px 8px}.live-map-card .live-map{height:46vh;min-height:300px;max-height:420px}.location-map-empty{inset:12px;padding:20px}.route-card{padding:13px}.route-card-top{gap:8px}.route-type-banner.delivery{align-items:center}.route-summary-pro{grid-template-columns:1fr 1fr!important}.route-summary-pro div:last-child{grid-column:1/-1}.route-photo-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.route-footer-actions{grid-template-columns:1fr 1fr}.route-card .route-actions.delivery-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 10.2.38 - mapa fallback robusto para iPhone/Safari cuando Leaflet CDN no carga */
.location-map-iframe{display:block;width:100%;height:100%;min-height:300px;border:0;border-radius:16px;background:#eef3f7}
.location-map-fallback-badge{position:absolute;z-index:510;left:12px;bottom:12px;padding:7px 10px;border-radius:999px;background:rgba(255,255,255,.94);border:1px solid #dfe7ef;box-shadow:0 4px 14px #10182818;color:#344054;font-size:9px;font-weight:800;backdrop-filter:blur(6px)}
@media(max-width:700px){.location-map-iframe{min-height:300px}.location-map-fallback-badge{left:9px;bottom:9px;font-size:8px}}

/* 10.2.42 — PRO location polish */
.location-stat-secondary{background:#fff}
.location-stat-secondary span{color:#475467}
.map-provider-stack{display:flex;flex-direction:column;gap:8px;height:100%}
.live-map-card .live-map{height:310px;margin-top:10px;overflow:hidden}
.location-map-iframe{display:block;width:100%;height:100%;min-height:310px;border:0;border-radius:16px;background:#eef3f7}
.location-map-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 2px}
.location-map-toolbar span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#667085;font-size:10px;font-weight:800}
.map-open-btn{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid #d8e1eb;border-radius:10px;background:#fff;color:#175cd3;font-size:10px;font-weight:900;text-decoration:none}
.map-open-btn:active{transform:scale(.98)}
.location-map-overlay{display:none!important}
@media(max-width:560px){.live-map-card .live-map{height:300px}.location-map-iframe{min-height:300px}.location-map-toolbar{align-items:center}.location-map-toolbar span{font-size:9px}.map-open-btn{font-size:9px;padding:0 9px}}

/* 10.2.43 — CENTRO DE OPERACIONES / Google Maps JS multi-marker */
.dc-google-map-stack{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}
.dc-google-map-canvas{flex:1;min-height:0;width:100%;border-radius:16px;overflow:hidden;background:#eef3f7;box-shadow:inset 0 0 0 1px #dfe7ef}
.dc-google-map-canvas .gm-style{font-family:inherit}
.dc-location-marker{cursor:pointer;transform-origin:center bottom;transition:transform .15s ease}
.dc-location-marker:hover{transform:translateY(-2px) rotate(-45deg)}
.location-person.selected{border-color:#9ec5ff;background:#f5f9ff;box-shadow:0 5px 18px #0b63f615}
.location-map-loading{height:100%;min-height:240px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;border:1px dashed #cbd5df;border-radius:16px;background:linear-gradient(180deg,#f8fbfe,#fff);color:#344054}
.location-map-loading b{font-size:13px}
.location-map-loading small{font-size:10px;color:#667085}
.map-loading-dot{width:12px;height:12px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 6px #12b76a18;animation:dc-map-pulse 1.3s ease-in-out infinite}
@keyframes dc-map-pulse{0%,100%{transform:scale(.9);opacity:.65}50%{transform:scale(1.1);opacity:1}}
.map-config-card{margin-top:12px}
.map-config-help{display:flex;align-items:center;padding-top:6px}
@media(max-width:560px){.dc-google-map-canvas{border-radius:15px}.location-map-loading{min-height:240px}.map-config-help{padding-top:0}.map-config-card .row{align-items:flex-start;flex-wrap:wrap}}


/* 10.2.44 — NINJA ULTRA POLISH: Centro de Operaciones */
.location-live-state{min-height:48px;box-sizing:border-box;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid #b7ebcb;border-radius:14px;background:#ecfdf3;color:#137333;flex:1;min-width:0}
.location-live-state>span{width:10px;height:10px;border-radius:50%;background:#12b76a;box-shadow:0 0 0 5px #12b76a18;font-size:0;flex:0 0 auto}
.location-live-state b{font-size:10px;letter-spacing:.04em;white-space:nowrap}
.location-live-state small{font-size:9px;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.location-map-toolbar-actions{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.map-center-btn{min-height:34px;padding:0 9px;border:1px solid #d8e1eb;border-radius:10px;background:#fff;color:#344054;font-size:9px;font-weight:900}
.map-center-btn:active{transform:scale(.98)}
.location-map-legend{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:0 2px 1px;color:#667085;font-size:8px;font-weight:800}
.location-map-legend span{display:inline-flex;align-items:center;gap:4px}
.location-map-legend i{display:block;width:7px;height:7px;border-radius:50%;border:1px solid #fff;box-shadow:0 0 0 1px #98a2b3}
.location-map-legend .legend-live{background:#12b76a;box-shadow:0 0 0 1px #12b76a}
.location-map-legend .legend-known{background:#98a2b3}
.location-map-legend small{margin-left:auto;color:#98a2b3;font-size:8px}
.dc-location-marker{will-change:transform;filter:drop-shadow(0 5px 7px #10182822)}
.dc-location-marker.is-live i{animation:dc-marker-pulse 1.8s ease-out infinite}
@keyframes dc-marker-pulse{0%{box-shadow:0 0 0 0 #12b76a55}70%{box-shadow:0 0 0 7px #12b76a00}100%{box-shadow:0 0 0 0 #12b76a00}}
.dc-map-popup{min-width:150px;padding:2px 1px}
.dc-map-popup b{font-size:12px;color:#101828}
.dc-map-popup strong{color:#137333}
@media(max-width:560px){
  .location-live-state{padding:8px 10px;gap:7px}
  .location-live-state b{font-size:9px}
  .location-live-state small{display:none}
  .location-map-toolbar{gap:6px}
  .location-map-toolbar-actions{gap:4px}
  .map-center-btn{font-size:8px;padding:0 7px;min-height:32px}
  .map-open-btn{min-height:32px}
  .location-map-legend{gap:7px;font-size:7px}
  .location-map-legend small{font-size:7px}
  .live-map-card .live-map{height:290px;max-height:360px}
}
/* 10.2.45 — Enterprise Core polish */
.topbar-actions{display:flex;align-items:center;gap:8px}.alert-btn{position:relative}.alert-btn i{position:absolute;top:-3px;right:-3px;min-width:17px;height:17px;border-radius:9px;padding:0 4px;font:700 10px/17px system-ui;text-align:center;background:#e5484d;color:#fff;font-style:normal}.enterprise-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.enterprise-health-grid span{padding:10px 12px;border:1px solid rgba(15,23,42,.08);border-radius:12px;font-size:12px;color:#596579;background:rgba(255,255,255,.7)}.notification-list{display:grid;gap:10px;max-height:58vh;overflow:auto}.notification-item{padding:13px;border:1px solid rgba(15,23,42,.09);border-radius:14px;background:#fff}.notification-item.read{opacity:.62}.notification-item b,.notification-item p,.notification-item small{display:block}.notification-item p{margin:5px 0;color:#596579}.notification-item small{font-size:11px;color:#8993a3}@media(max-width:560px){.topbar-actions{gap:4px}.enterprise-health-grid{grid-template-columns:1fr}.notification-sheet{max-height:82vh}}

/* 10.2.46 — BOTONERA EMPRESARIAL NINJA */
.enterprise-actions{padding:16px!important;background:linear-gradient(180deg,#ffffff,#fbfcfe)}
.enterprise-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.enterprise-section-head h3{margin:3px 0 2px;font-size:17px;letter-spacing:-.02em}
.enterprise-section-head p{margin:0;font-size:10px}
.enterprise-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.enterprise-action{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) 12px;grid-template-rows:auto auto;column-gap:10px;align-items:center;width:100%;min-height:76px;padding:11px 11px;border:1px solid #e4e9f0;border-radius:16px;background:#fff;color:#101828;text-align:left;cursor:pointer;box-shadow:0 3px 12px #10182808;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.enterprise-action:hover{transform:translateY(-1px);box-shadow:0 8px 22px #10182812;border-color:#cfd8e3}
.enterprise-action:active{transform:translateY(0) scale(.99)}
.enterprise-action-icon{grid-row:1/3;display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#edf4ff;color:#155eef;font-size:20px;font-weight:900}
.enterprise-action-copy{min-width:0;display:flex;flex-direction:column;gap:3px}
.enterprise-action-copy b{font-size:12px;line-height:1.1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enterprise-action-copy small{font-size:9px;line-height:1.25;color:#667085;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.enterprise-action em{grid-column:2;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#98a2b3;margin-top:2px}
.enterprise-action>strong{grid-column:3;grid-row:1/3;font-size:20px;color:#98a2b3;font-weight:500}
.enterprise-action.green .enterprise-action-icon{background:#ecfdf3;color:#087443}.enterprise-action.orange .enterprise-action-icon{background:#fff7ed;color:#c2410c}.enterprise-action.violet .enterprise-action-icon{background:#f5f3ff;color:#6d28d9}.enterprise-action.indigo .enterprise-action-icon{background:#eef2ff;color:#4338ca}.enterprise-action.slate .enterprise-action-icon{background:#f2f4f7;color:#344054}.enterprise-action.cyan .enterprise-action-icon{background:#ecfeff;color:#0e7490}.enterprise-action.dark .enterprise-action-icon{background:#eef2f6;color:#07111f}.enterprise-action.blue{border-color:#dbe8ff}
@media(max-width:640px){.enterprise-actions{padding:12px!important}.enterprise-section-head{align-items:flex-start}.enterprise-section-head .pill{font-size:8px;padding:5px 7px}.enterprise-action-grid{grid-template-columns:1fr 1fr;gap:7px}.enterprise-action{min-height:82px;padding:10px 9px;grid-template-columns:38px minmax(0,1fr) 10px;column-gap:8px;border-radius:14px}.enterprise-action-icon{width:38px;height:38px;border-radius:11px;font-size:18px}.enterprise-action-copy b{font-size:11px}.enterprise-action-copy small{font-size:8px}.enterprise-action em{font-size:7px}.enterprise-action>strong{font-size:18px}}
@media(max-width:380px){.enterprise-action-grid{grid-template-columns:1fr}.enterprise-action{min-height:70px}}

/* ==========================================================
   DC CONTROL 10.2.47 — TARJETAS EMPRESARIAL NINJA
   Visual de portafolio + botonera financiera + responsive iPhone.
   ========================================================== */
.cards-shell .cards-hero-head{align-items:center}.cards-summary-grid{margin:12px 0}.cards-summary-grid .metric{min-height:76px}.cards-summary-grid .metric small{display:block;margin-top:4px;color:#667085;font-size:10px}
.card-command-deck{padding:15px!important;background:linear-gradient(180deg,#fff,#f8fafc)}
.card-command-deck .section-title{margin-bottom:12px}
.card-command-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.card-command{min-width:0;min-height:92px;padding:12px;border:1px solid #e3e8ef;border-radius:16px;background:#fff;text-align:left;display:grid;grid-template-columns:34px minmax(0,1fr);grid-template-rows:auto auto;gap:2px 9px;cursor:pointer;box-shadow:0 4px 14px rgba(16,24,40,.05);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.card-command:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(16,24,40,.09);border-color:#cbd5e1}.card-command:active{transform:scale(.99)}
.card-command>span{grid-row:1/3;width:34px;height:34px;border-radius:11px;display:grid;place-items:center;font-size:18px;font-weight:900}.card-command b{font-size:11px;line-height:1.15}.card-command small{font-size:9px;color:#667085;line-height:1.3}.card-command.blue>span{background:#eaf2ff;color:#155eef}.card-command.green>span{background:#ecfdf3;color:#087443}.card-command.violet>span{background:#f3f0ff;color:#6d28d9}.card-command.orange>span{background:#fff4e8;color:#c2410c}
.cards-section-title{margin-top:18px}.card-portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-portfolio-grid>.empty{grid-column:1/-1}
.card-enterprise{padding:0!important;overflow:hidden;border:1px solid #dfe6ee;box-shadow:0 8px 24px rgba(16,24,40,.055);background:#fff}.card-enterprise-visual{position:relative;margin:10px 10px 0;height:175px;border-radius:16px;overflow:hidden;background:#edf1f5}.card-enterprise-visual img{width:100%;height:100%;display:block;object-fit:contain;padding:8px 18px;box-sizing:border-box}.card-enterprise-visual.image-failed:before{content:"Vista de tarjeta no disponible";position:absolute;inset:0;display:grid;place-items:center;color:#667085;font-size:10px;font-weight:800;letter-spacing:.02em;background:#f5f7fa}.card-enterprise-visual:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.04),transparent 45%,rgba(0,0,0,.13))}.card-status-dot{position:absolute;z-index:2;top:10px;right:10px;padding:5px 9px;border-radius:999px;background:#ecfdf3;color:#087443;border:1px solid #b7ebca;font-size:9px;font-weight:900}.card-status-dot.off{background:#f2f4f7;color:#667085;border-color:#d0d5dd}.generic-card-art{height:100%;padding:18px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,#10243f,#335b8f);color:#fff}.generic-card-art span{font-size:11px;font-weight:900;letter-spacing:.08em}.generic-card-art b{font-size:18px}.generic-card-art small{font-size:8px;letter-spacing:.14em;opacity:.8}.card-enterprise-body{padding:12px}.card-title-row h3{font-size:15px}.card-balance-head{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 7px}.card-balance-head small{display:block;color:#667085;font-size:9px}.card-balance-head b{display:block;margin-top:3px;font-size:14px;overflow-wrap:anywhere}.card-balance-meta{display:flex;justify-content:space-between;gap:8px;color:#667085;font-size:9px;margin-top:5px}.card-balance-meta b{color:#344054}.card-actions-enterprise{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.card-actions-enterprise button{min-width:0}.card-admin-actions{display:flex;justify-content:flex-end;gap:6px;margin-top:7px}.card-admin-actions .mini{padding:5px 8px}
.cards-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.card-next-list{display:grid;gap:4px}.card-next-row{display:grid;grid-template-columns:32px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid #eef1f5}.card-next-row:last-child{border-bottom:0}.card-next-logo{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#eef4ff;color:#155eef;font-size:9px;font-weight:900}.card-next-row b,.card-next-row small{display:block}.card-next-row b{font-size:10px}.card-next-row small{font-size:8px;color:#667085;margin-top:2px}.card-next-row strong{font-size:10px}.empty.compact{padding:14px;text-align:center}
@media(max-width:760px){.card-enterprise-visual img{padding:7px 12px}.card-command-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.card-command{min-height:82px;padding:10px;border-radius:14px}.card-portfolio-grid{grid-template-columns:1fr;gap:10px}.card-enterprise-visual{height:190px}.cards-bottom-grid{grid-template-columns:1fr}.cards-summary-grid{gap:7px}.cards-summary-grid .metric{padding:11px}.card-balance-head b{font-size:13px}.card-dates{gap:8px}.cards-shell .route-head{align-items:flex-start;gap:10px}.cards-shell .route-head .primary{white-space:nowrap}}
@media(max-width:380px){.card-command-grid{grid-template-columns:1fr}.card-enterprise-visual{height:170px}.card-command{min-height:72px}}

/* 10.2.57 — Deudas / Cloud Live */
.debt-progress-main{margin:14px 0 10px}
.debt-progress-row{margin-top:14px}
.debt-progress-row .progress{margin-top:6px}

/* ===== SOURCE: enterprise-10.3.css ===== */
:root {
  --dc-navy: #071b2e;
  --dc-blue: #1769e0;
  --dc-green: #15965b;
  --dc-red: #d44444;
  --dc-amber: #d98712;
  --dc-surface: #f5f7fa;
}
.exec-shell,
.module-103 {
  padding-bottom: 110px;
}
.exec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.exec-head h2 {
  margin: 0.15rem 0;
}
.exec-date {
  font-size: 12px;
  color: #667085;
}
.exec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.exec-card {
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(7, 27, 46, 0.06);
  min-width: 0;
}
.exec-card span,
.exec-card small {
  display: block;
  color: #667085;
}
.exec-card b {
  display: block;
  font-size: clamp(19px, 2.5vw, 30px);
  margin: 7px 0;
  overflow-wrap: anywhere;
}
.exec-card.good b {
  color: var(--dc-green);
}
.exec-card.bad b {
  color: var(--dc-red);
}
.exec-card.warn b {
  color: var(--dc-amber);
}
.exec-card.primary {
  background: linear-gradient(145deg, #08233d, #0d4e86);
  color: #fff;
}
.exec-card.primary span,
.exec-card.primary small {
  color: #c9def2;
}
.exec-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.exec-status .pill {
  padding: 8px 11px;
}
.delta {
  font-size: 12px;
  font-weight: 700;
}
.delta.up {
  color: var(--dc-green);
}
.delta.down {
  color: var(--dc-red);
}
.module-tabs,
.period-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 3px 0 11px;
  scrollbar-width: none;
}
.module-tabs button,
.period-tabs button {
  white-space: nowrap;
  border: 1px solid #dce4ed;
  background: #fff;
  border-radius: 999px;
  padding: 9px 13px;
  color: #344054;
}
.module-tabs button.active,
.period-tabs button.active {
  background: var(--dc-navy);
  color: #fff;
  border-color: var(--dc-navy);
}
.data-toolbar {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin: 12px 0;
}
.data-toolbar input,
.data-toolbar select {
  flex: 1;
  min-width: 140px;
}
.enterprise-table-wrap {
  overflow: auto;
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  background: #fff;
}
.enterprise-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 760px;
}
.enterprise-table th,
.enterprise-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #edf1f5;
  text-align: left;
  vertical-align: middle;
}
.enterprise-table th {
  position: sticky;
  top: 0;
  background: #f8fafc;
  color: #475467;
  font-size: 12px;
  z-index: 1;
}
.enterprise-table td.amount {
  text-align: right;
  font-weight: 750;
}
.enterprise-table tr:last-child td {
  border-bottom: 0;
}
.alert-card {
  border-left: 5px solid #98a2b3;
}
.alert-card.critical {
  border-color: var(--dc-red);
}
.alert-card.warning {
  border-color: var(--dc-amber);
}
.alert-card.info {
  border-color: var(--dc-blue);
}
.alert-card.done {
  opacity: 0.68;
}
.due-tag {
  font-size: 11px;
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff3df;
  color: #8b5000;
}
.due-tag.overdue {
  background: #ffe5e5;
  color: #9d2424;
}
.debt-chart {
  width: 100%;
  height: auto;
  min-height: 240px;
}
.debt-chart text {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.chart-scroll {
  overflow: auto;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #667085;
  margin-top: 10px;
}
.chart-legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 5px;
}
.report-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.report-card {
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  padding: 14px;
  background: #fff;
}
.report-card b {
  font-size: 20px;
  display: block;
  margin-top: 5px;
}
.gps-pro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.gps-history-map {
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
  background: #eaf0f5;
}
.gps-timeline {
  max-height: 330px;
  overflow: auto;
}
.gps-event {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f5;
}
.gps-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dc-blue);
  margin-top: 5px;
}
.gps-diagnostic li {
  margin: 8px 0;
}
.gps-queue-badge {
  font-weight: 700;
  color: var(--dc-amber);
}
.attachment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f7f9fb;
  border-radius: 12px;
  padding: 10px;
}
.form-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef6ff;
  color: #174c7e;
  font-size: 13px;
}
.print-only {
  display: none;
}
@media (max-width: 820px) {
  .exec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-cards,
  .gps-pro-grid {
    grid-template-columns: 1fr 1fr;
  }
  .exec-card {
    padding: 13px;
  }
  .exec-card b {
    font-size: 21px;
  }
  .enterprise-table-wrap {
    border: 0;
    background: transparent;
  }
  .enterprise-table,
  .enterprise-table thead,
  .enterprise-table tbody,
  .enterprise-table th,
  .enterprise-table td,
  .enterprise-table tr {
    display: block;
    min-width: 0;
  }
  .enterprise-table thead {
    display: none;
  }
  .enterprise-table tr {
    background: #fff;
    border: 1px solid #e3e9f0;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 9px;
  }
  .enterprise-table td {
    border: 0;
    padding: 5px 7px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
  }
  .enterprise-table td:before {
    content: attr(data-label);
    color: #667085;
    text-align: left;
    font-size: 12px;
  }
  .enterprise-table td.amount {
    text-align: right;
  }
  .exec-head {
    align-items: stretch;
    flex-direction: column;
  }
  .data-toolbar > * {
    width: 100%;
  }
}
@media (max-width: 480px) {
  .exec-grid,
  .report-cards,
  .gps-pro-grid {
    grid-template-columns: 1fr;
  }
  .exec-card {
    border-radius: 15px;
  }
  .module-103 {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .gps-history-map {
    height: 270px;
  }
  .topbar .subtitle {
    display: none;
  }
}
@media print {
  .topbar,
  .bottom-nav,
  .data-toolbar,
  .module-tabs,
  .period-tabs,
  button {
    display: none !important;
  }
  .app-shell,
  main,
  .module-103 {
    padding: 0 !important;
    margin: 0 !important;
  }
  .card,
  .exec-card,
  .report-card {
    box-shadow: none;
    break-inside: avoid;
  }
  .print-only {
    display: block;
  }
  .enterprise-table-wrap {
    overflow: visible;
  }
  .enterprise-table {
    min-width: 0;
  }
}

/* ===== SOURCE: enterprise-10.3.1.css ===== */
/* DC CONTROL 10.3.1 — movimientos verificables, empleados e iPhone */
.movement-card-1031{border-left:4px solid #0b63f6}.movement-card-1031.cancelled{opacity:.72;border-left-color:#98a2b3}.movement-card-1031.opening{border-left-color:#7c3aed}.movement-summary-1031{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.movement-meta-1031{display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:8px;color:#667085;font-size:.82rem}.movement-meta-1031 span{overflow-wrap:anywhere}.movement-detail-1031{margin-top:12px;border-top:1px solid #e7edf4;padding-top:10px}.movement-detail-1031 summary{cursor:pointer;font-weight:700;color:#0b63f6;min-height:44px;display:flex;align-items:center}.movement-detail-grid-1031{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:8px}.movement-detail-grid-1031 div{background:#f7f9fc;border-radius:10px;padding:10px}.movement-detail-grid-1031 small{display:block;color:#667085}.employee-tabs-1031{display:flex;gap:8px;overflow:auto;padding-bottom:4px}.employee-tabs-1031 button{white-space:nowrap;min-height:44px}.employee-tabs-1031 button.active{background:#0b63f6;color:white}.employee-card-1031{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.core-diagnostic-1031{border:1px solid #dbeafe;background:#f8fbff}.capture-1031 .capture-btn{min-height:56px;font-size:1rem}.capture-1031 .capture-actions{grid-template-columns:1.3fr 1fr}.sync-facts-1031{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.sync-facts-1031 span{background:#f7f9fc;padding:10px;border-radius:10px;font-size:.82rem}.admin-lock-1031{color:#7c3aed;font-weight:700}
@media(max-width:720px){.movement-detail-grid-1031,.sync-facts-1031{grid-template-columns:1fr}.movement-summary-1031,.employee-card-1031{grid-template-columns:1fr}.movement-summary-1031 strong{font-size:1.2rem}.capture-1031 .capture-actions{grid-template-columns:1fr}.capture-1031 .capture-btn,.capture-1031 button,.module-1031 button{min-height:48px}.module-1031 .form-grid{grid-template-columns:1fr}.bottom-nav{padding-bottom:max(8px,env(safe-area-inset-bottom));height:calc(72px + env(safe-area-inset-bottom))}.app-shell main{padding-bottom:calc(92px + env(safe-area-inset-bottom))}.sheet{padding-bottom:calc(24px + env(safe-area-inset-bottom));max-height:94dvh}.movement-meta-1031{display:grid;grid-template-columns:1fr}.enterprise-table-wrap{overflow-x:visible}.enterprise-table thead{display:none}.enterprise-table,.enterprise-table tbody,.enterprise-table tr,.enterprise-table td{display:block;width:100%}.enterprise-table tr{background:white;border:1px solid #e7edf4;border-radius:14px;padding:10px;margin-bottom:10px}.enterprise-table td{border:0;padding:5px}.enterprise-table td:before{content:attr(data-label);display:block;font-size:.72rem;color:#667085;font-weight:700}}

/* ===== SOURCE: enterprise-10.3.2.css ===== */
.card-cancel-1032{margin-top:10px;display:flex;justify-content:flex-end;align-items:center;gap:8px}
.card-cancel-1032 .cancelled-label{color:#64748b;font-size:.78rem;font-weight:700}
.movement-row.cancelled-1032{opacity:.7;border-left:4px solid #94a3b8}
.movement-row.cancelled-1032 strong{text-decoration:line-through;color:#64748b!important}
@media(max-width:640px){.card-cancel-1032 button{min-height:44px;padding:10px 16px}.card-cancel-1032{justify-content:stretch}.card-cancel-1032 button{width:100%}}

/* ===== SOURCE: enterprise-10.3.3.css ===== */
.cloud-user-fields-1033{border:1px solid #bfdbfe;background:#eff6ff;border-radius:16px;padding:14px;margin:10px 0}
.cloud-user-fields-1033 .password-wrap{position:relative}
.cloud-user-fields-1033 .password-wrap button{position:absolute;right:8px;top:32px;min-height:38px}
.cloud-user-status-1033{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:8px}
@media(max-width:640px){.cloud-user-fields-1033{padding:12px}.cloud-user-fields-1033 .form-grid{grid-template-columns:1fr}.cloud-user-fields-1033 input,.cloud-user-fields-1033 select{min-height:48px}}

/* ===== SOURCE: enterprise-10.4.css ===== */
/* DC CONTROL 10.4.0 */
.module-104{padding-bottom:110px}.warn104{border-color:#f2c879;background:#fff9ec}.tabs104{display:flex;gap:8px;overflow:auto;margin:14px 0 18px}.tabs104 button{border:1px solid #d8e2ef;background:#fff;border-radius:999px;padding:10px 15px;white-space:nowrap;font-weight:800;color:#41516a}.tabs104 button.active{background:#0b63f6;color:#fff;border-color:#0b63f6}.chart104{margin:16px 0}.bars104{height:170px;display:flex;align-items:end;gap:7px;padding:20px 4px 0;overflow-x:auto}.bars104>span{min-width:28px;height:130px;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:5px}.bars104 i{display:block;width:19px;min-height:4px;background:linear-gradient(180deg,#46a2ff,#0b63f6);border-radius:7px 7px 3px 3px}.bars104 small{font-size:10px}.wide104{width:min(980px,calc(100vw - 24px));max-height:92vh;overflow:auto}.preview104{display:grid;gap:8px;margin:12px 0}.preview104>div{border:1px solid #e2e9f2;border-radius:12px;padding:11px;display:grid;grid-template-columns:1fr auto}.preview104 small{grid-column:1/-1}.enterprise-table input{min-width:95px;width:100%;padding:8px}.order-row104{display:grid;grid-template-columns:1fr 90px;gap:12px;align-items:center;border:1px solid #e2e9f2;border-radius:13px;padding:12px}.order-row104 input{margin:0}.employee-detail104>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;list-style:none}.employee-detail104>summary::-webkit-details-marker{display:none}.employee-detail104>summary span:first-child{display:grid}.employee-detail104[open]>summary{padding-bottom:12px;border-bottom:1px solid #e9eef5;margin-bottom:12px}.employee-actions104{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.benefit-row104{padding:10px 0;border-top:1px solid #edf1f6}.benefit-row104>span{display:grid;gap:5px}.benefit-row104 button{margin-left:8px}.more-menu button span:first-child{font-size:19px}.module-104 .report-cards{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:760px){.module-104 .report-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.wide104{width:100vw;max-height:94vh;border-radius:20px 20px 0 0}.enterprise-table-wrap{overflow:auto}.enterprise-table{min-width:760px}.bars104{height:145px}.employee-detail104>summary{align-items:flex-start}.order-row104{grid-template-columns:1fr 72px}}
@media print{.bottom-nav,.topbar,.data-toolbar,.exec-head button,.tabs104{display:none!important}.module-104{padding:0}.section{max-width:none}.card{break-inside:avoid}}

/* ===== SOURCE: enterprise-10.4.2.css ===== */
.capture-only-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.kiosk-summary1042{border:1px solid #c7dff7;background:linear-gradient(135deg,#f7fbff,#eef8ff);margin-bottom:16px}.kiosk-overlay1042{z-index:10000;background:rgba(3,12,25,.82)}.kiosk-sheet1042{width:min(920px,96vw);height:min(780px,94vh);overflow:auto;background:#f7faff;border-radius:24px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.kiosk-head1042{display:flex;justify-content:space-between;align-items:flex-start;padding:26px;background:linear-gradient(135deg,#061526,#0b4d86);color:#fff;border-radius:24px 24px 0 0}.kiosk-head1042 h2{margin:4px 0;font-size:34px}.kiosk-head1042 p{margin:0;color:#cce8ff}.kiosk-body1042{padding:24px}.kiosk-body1042 select,.kiosk-body1042 input{font-size:18px;min-height:54px}.kiosk-actions1042{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.kiosk-actions1042 button{min-height:92px;border:0;border-radius:18px;color:#fff;font-size:20px;font-weight:800;cursor:pointer}.kiosk-entry1042{background:linear-gradient(135deg,#07824d,#12ad6c)}.kiosk-exit1042{background:linear-gradient(135deg,#b92a38,#e54b58)}.kiosk-log1042{display:grid;gap:8px;margin-top:10px}.kiosk-log1042>div{display:grid;grid-template-columns:92px 1fr auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid #dfe8f2;border-radius:12px;background:#fff}.kiosk-log1042 small{color:#607086}.kiosk-event1042{font-size:11px;font-weight:900;border-radius:999px;padding:5px 8px;text-align:center}.kiosk-event1042.entry{background:#dff8ec;color:#087a49}.kiosk-event1042.exit{background:#ffe5e8;color:#b21d2c}.hybrid-deliveries1042{margin-top:18px;padding-top:16px;border-top:2px dashed #bed4e7}.hybrid-deliveries1042 .client-row{margin-top:8px}
@media(max-width:680px){.capture-only-actions,.kiosk-actions1042{grid-template-columns:1fr}.kiosk-sheet1042{width:100vw;height:100vh;border-radius:0}.kiosk-head1042{border-radius:0;padding:20px}.kiosk-head1042 h2{font-size:26px}.kiosk-body1042{padding:16px}.kiosk-log1042>div{grid-template-columns:78px 1fr}.kiosk-log1042 small{grid-column:2}}
@media(max-width:760px){.module-103 .enterprise-table-wrap{overflow:visible!important}.module-103 .enterprise-table{min-width:0!important;width:100%!important}.module-103 .enterprise-table tbody,.module-103 .enterprise-table tr{width:100%!important}.module-103 .enterprise-table td{display:grid!important;grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr)!important;align-items:center!important;gap:10px!important;width:auto!important;min-width:0!important;text-align:left!important;padding:8px 7px!important;overflow-wrap:anywhere}.module-103 .enterprise-table td:before{margin:0!important}.module-103 .enterprise-table td.amount{font-weight:800!important}.module-103 .enterprise-table td button{width:100%;min-height:44px}}

/* ===== SOURCE: enterprise-10.4.3.css ===== */
.route-stop-editor{display:grid!important;grid-template-columns:minmax(220px,1fr) 170px minmax(220px,1fr);gap:10px;align-items:center}.route-stop-editor>label{display:flex;gap:10px;align-items:flex-start}.route-stop-editor select,.route-stop-editor input{margin:0}.stop-action-badge{display:inline-flex;width:max-content;margin:7px 0 4px;padding:5px 9px;border-radius:999px;font-size:12px;font-weight:900;background:#e8f1ff;color:#1659a5}.stop-action-badge.pickup{background:#fff1d8;color:#8b5500}.stop-action-badge.both{background:#eee8ff;color:#5c35a5}.stop-instructions{padding:7px 9px;border-left:3px solid #2b6fc4;background:#f4f8fd;border-radius:5px;color:#23354d!important}.debt-grid1043{display:grid;grid-template-columns:1fr 1fr;gap:14px}.debt-bars1043{height:180px;display:grid;grid-template-columns:repeat(12,minmax(22px,1fr));gap:8px;align-items:end;padding:18px 4px 0}.debt-bars1043>div{height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.debt-bars1043 span{display:block;width:min(30px,80%);min-height:3px;background:linear-gradient(#2d78d2,#164d96);border-radius:6px 6px 2px 2px}.debt-bars1043 small{font-size:9px;white-space:nowrap;color:#637083}.debt-evolution1043{overflow:hidden}
@media(max-width:760px){.route-stop-editor{grid-template-columns:1fr}.debt-grid1043{grid-template-columns:1fr}.debt-bars1043{overflow-x:auto;grid-template-columns:repeat(12,34px)}}
.payroll-cancel-box1044{margin:18px 0;padding:16px;border:1px solid #f0c5c9;border-radius:16px;background:#fff6f7}.payroll-cancel-box1044>b{color:#a71f2b}.payroll-cancel-box1044 .danger{margin-top:10px}

/* ===== SOURCE: enterprise-10.4.5.css ===== */
.employee-directory1045 .row{display:grid;grid-template-columns:54px 1fr auto;align-items:center;gap:12px}.employee-photo1045,.employee-photo-preview1045{width:54px;height:54px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef3f9}.employee-photo1045 img,.employee-photo-preview1045 img{width:100%;height:100%;object-fit:cover}.employee-photo-preview1045{width:92px;height:92px;margin:8px 0}.capture-file-btn{display:flex;align-items:center;justify-content:center;cursor:pointer}.kiosk-people1045{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.kiosk-people1045 button{border:1px solid #dce5ef;background:white;border-radius:14px;padding:10px}.kiosk-people1045 span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;overflow:hidden;margin:auto}.kiosk-people1045 img{width:100%;height:100%;object-fit:cover}

/* ===== SOURCE: enterprise-10.4.6.css ===== */
.module-1046{padding-bottom:112px}.page-head1046{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:14px}.search1046{font-size:16px;min-height:50px}.search-result1046{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;text-align:left;color:#101828}.search-result1046>span:first-child{font-size:24px}.search-result1046 b,.search-result1046 small{display:block}.search-result1046 small{color:#667085;margin-top:3px}.more-page1046{max-width:980px;margin:auto}.more-group1046{margin:18px 0}.more-group1046 h3{font-size:13px;color:#475467;margin:0 0 8px}.more-grid1046{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.more-grid1046 button{min-height:118px;border:1px solid #e2e8f0;background:linear-gradient(180deg,#fff,#f8fafc);border-radius:18px;padding:15px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;color:#101828}.more-grid1046 button span{font-size:30px}.more-grid1046 button b{font-size:14px}.more-grid1046 button small{color:#667085}.route-point-toolbar1046{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.route-point-toolbar1046 input{margin:0;min-height:48px}.route-point-card1046{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.route-point-card1046 b,.route-point-card1046 small{display:block;margin-top:5px}.route-point-actions1046{display:flex;gap:7px}.selected-stop1046{display:grid;grid-template-columns:minmax(0,1fr) 170px minmax(180px,1fr) auto;align-items:center;gap:10px}.selected-stop1046 select,.selected-stop1046 input{margin:0}.route-stops1046{margin-top:12px}.route-card1046 .supplier-row>div:first-child{min-width:0}.switch-row1046{display:flex;align-items:center;gap:9px}.switch-row1046 input{width:auto;margin:0}.steps1046{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin:10px 0}.steps1046 span{padding:7px 4px;border-radius:9px;background:#edf4ff;color:#175cd3;text-align:center;font-size:9px;font-weight:800}.chatgpt-primary1046{order:-2;min-height:58px;font-size:15px}.experimental1046{opacity:.86}.module-tabs1046{display:flex;gap:7px;overflow:auto;margin:10px 0}.module-tabs1046 button{border:1px solid #dbe3ec;background:#fff;border-radius:999px;padding:9px 13px;white-space:nowrap;font-weight:800}.module-tabs1046 button.active{background:#0b63f6;color:#fff;border-color:#0b63f6}.embedded-module1046>summary{cursor:pointer;min-height:48px;display:flex;align-items:center;font-weight:900}.embedded-module1046[open]>summary{border-bottom:1px solid #e7edf4;margin-bottom:12px}.bottom-nav button{min-height:52px}.review-check1046{display:flex;align-items:flex-start;gap:9px;background:#fff8df;border:1px solid #f2df9b;border-radius:12px;padding:11px}.review-check1046 input{width:auto;margin:2px 0 0}
@media(max-width:760px){.page-head1046{align-items:stretch;flex-direction:column}.more-grid1046{grid-template-columns:repeat(2,minmax(0,1fr))}.more-grid1046 button{min-height:108px}.route-point-toolbar1046{grid-template-columns:1fr}.route-point-card1046{grid-template-columns:1fr}.route-point-actions1046>*{flex:1}.selected-stop1046{grid-template-columns:1fr}.route-points-sheet1046{padding-bottom:calc(24px + env(safe-area-inset-bottom))}.steps1046{grid-template-columns:1fr;gap:3px}.steps1046 span{text-align:left;padding:6px 9px}.bottom-nav{overflow:visible!important;margin:0!important;left:0!important;right:0!important;border-radius:18px 18px 0 0}.bottom-nav button{min-width:0!important}.bottom-nav small{font-size:9px!important}}

/* ===== SOURCE: enterprise-10.4.7.css ===== */
/* DC CONTROL 10.4.7 — identidad, color funcional y móvil estable. */
:root{--dc-navy:#072b54;--dc-blue:#0879e8;--dc-green:#06a958;--dc-red:#ef3340;--dc-orange:#f97316;--dc-violet:#7c3aed;--dc-teal:#0ea5a8;--dc-yellow:#eaaa08}
.topbar{background:linear-gradient(135deg,#041d38,#083b70 62%,#0967a8);min-height:92px}.topbar>div:first-child{display:grid;grid-template-columns:58px minmax(0,1fr);grid-template-rows:auto auto auto;column-gap:11px;align-items:center;min-width:0}.dc-logo1047{grid-row:1/4;width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 4px 16px #0005}.topbar>div:first-child .eyebrow,.topbar>div:first-child h1,.topbar>div:first-child .subtitle{grid-column:2}.topbar h1{font-size:24px}.dc-auth-logo1047{display:block;width:112px;height:112px;border-radius:50%;object-fit:cover;margin:0 auto 13px;border:3px solid #fff;box-shadow:0 10px 30px #0879e833}
.bottom-nav{overflow:visible!important;align-items:stretch;background:#fff!important}.bottom-nav button,.bottom-nav button.active{height:70px;min-height:70px;margin:0!important;transform:none!important;translate:none!important;align-self:stretch;padding:7px 3px 6px;border-radius:16px;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease}.bottom-nav button.active{background:#eaf3ff;box-shadow:none;color:#0879e8!important}.bottom-nav button:active{transform:none!important}.bottom-nav button span.nav-icon1047{position:relative;width:29px;height:29px;margin:auto;display:grid;place-items:center;color:#64748b}.bottom-nav button.active span.nav-icon1047{color:#0879e8}.bottom-nav small{line-height:13px;font-size:11px;font-weight:800}.nav-icon1047 svg{display:block;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.nav-icon1047 svg circle[fill],.nav-icon1047 svg path[fill]{stroke:none}.bottom-nav [data-p="home"] .nav-icon1047 svg{fill:currentColor;stroke:none;width:24px;height:24px}.capture-nav1047{overflow:visible!important}.bottom-nav button .capture-icon1047,.bottom-nav button.active .capture-icon1047{width:52px;height:52px;margin-top:-20px;border-radius:50%;background:linear-gradient(145deg,#1689f4,#0868e8);color:#fff;box-shadow:0 7px 17px #0879e84a;border:4px solid #fff}.capture-icon1047 svg{width:27px;height:27px;stroke-width:1.9}.capture-nav1047 small{margin-top:5px}.alert-icon1047 i{position:absolute;right:-8px;top:-7px;display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#ef233c;color:#fff;font-size:10px;font-style:normal;font-weight:900;line-height:1}
.section>.card,.section>.metric,.stack>.card,.grid2>.metric,.sheet .evidence-card1047{position:relative;overflow:hidden;border-left:5px solid var(--dc-blue);background:linear-gradient(135deg,#fff 70%,#eef6ff)}.section>.card:nth-of-type(5n+2),.stack>.card:nth-child(5n+2),.grid2>.metric:nth-child(5n+2){border-left-color:var(--dc-green);background:linear-gradient(135deg,#fff 70%,#ecfdf3)}.section>.card:nth-of-type(5n+3),.stack>.card:nth-child(5n+3),.grid2>.metric:nth-child(5n+3){border-left-color:var(--dc-orange);background:linear-gradient(135deg,#fff 70%,#fff4e8)}.section>.card:nth-of-type(5n+4),.stack>.card:nth-child(5n+4),.grid2>.metric:nth-child(5n+4){border-left-color:var(--dc-violet);background:linear-gradient(135deg,#fff 70%,#f3f0ff)}.section>.card:nth-of-type(5n+5),.stack>.card:nth-child(5n+5),.grid2>.metric:nth-child(5n+5){border-left-color:var(--dc-teal);background:linear-gradient(135deg,#fff 70%,#ecfeff)}
.hero{background:linear-gradient(135deg,#052b53,#0864ad 68%,#04a95c)}.enterprise-action.blue{background:linear-gradient(135deg,#0879e8,#0662c2)}.enterprise-action.green{background:linear-gradient(135deg,#08b860,#078948)}.enterprise-action.orange{background:linear-gradient(135deg,#ff8a13,#ef5c0a)}.enterprise-action.violet{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.enterprise-action.indigo{background:linear-gradient(135deg,#2563eb,#4338ca)}.enterprise-action.slate{background:linear-gradient(135deg,#475569,#1e293b)}.enterprise-action.cyan{background:linear-gradient(135deg,#0891b2,#0e7490)}.enterprise-action.dark{background:linear-gradient(135deg,#0f2947,#071321)}.enterprise-action,.enterprise-action b,.enterprise-action small,.enterprise-action em,.enterprise-action strong{color:#fff!important}
.more-grid1046 button{border:0;color:#fff;box-shadow:0 9px 24px #1018281a}.more-grid1046 button:nth-child(7n+1){background:linear-gradient(135deg,#09b65f,#078746)}.more-grid1046 button:nth-child(7n+2){background:linear-gradient(135deg,#f72563,#d9124d)}.more-grid1046 button:nth-child(7n+3){background:linear-gradient(135deg,#1689f4,#0868d0)}.more-grid1046 button:nth-child(7n+4){background:linear-gradient(135deg,#8b4df4,#6824d8)}.more-grid1046 button:nth-child(7n+5){background:linear-gradient(135deg,#ff8515,#ed5a08)}.more-grid1046 button:nth-child(7n+6){background:linear-gradient(135deg,#f5b700,#df8b00)}.more-grid1046 button:nth-child(7n+7){background:linear-gradient(135deg,#0eb8b0,#088a91)}.more-grid1046 button small{color:#fff!important;opacity:.92}.more-grid1046 button b{font-size:15px}.more-grid1046 button span{font-size:34px}
.route-mode-grid1047{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.route-mode1047{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);gap:2px 10px;align-items:center;padding:14px;border:2px solid #dce5ef;border-radius:18px;background:#fff;margin:0;cursor:pointer}.route-mode1047 input{position:absolute;opacity:0;pointer-events:none}.route-mode1047 span{grid-row:1/3;font-size:32px}.route-mode1047 b,.route-mode1047 small{grid-column:2}.route-mode1047 small{color:#667085;line-height:1.35}.route-mode1047:has(input:checked){border-color:#0879e8;background:#eef6ff;box-shadow:0 0 0 3px #dbeeff}.route-points-head1047{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0 8px}.route-points-head1047>div{min-width:0}.route-points-head1047 b,.route-points-head1047 small{display:block}.route-points-head1047 small{color:#667085;margin-top:4px}.route-points-head1047 .primary{width:auto;min-width:210px}.selected-stop1047{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(170px,.7fr) minmax(190px,1fr) auto;align-items:center;gap:9px}.selected-stop1047 select,.selected-stop1047 input,.selected-stop1047 button{margin:0}.selected-stop1047 b,.selected-stop1047 small{display:block}.delivery-fixed1047{padding:10px;border-radius:12px;background:#eaf4ff;color:#0868d0;font-weight:800;text-align:center}.route-point-toolbar1047{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.route-point-toolbar1047 input{margin:0}.route-point-card1047{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.route-point-card1047 b,.route-point-card1047 small{display:block;margin-top:4px}.route-point-actions1047{display:flex;gap:8px}.route-point-actions1047 .primary{width:auto}.route-card1047.delivery1047{border-left-color:var(--dc-blue);background:linear-gradient(135deg,#fff 72%,#eaf4ff)}.route-card1047.pickup1047{border-left-color:var(--dc-orange);background:linear-gradient(135deg,#fff 72%,#fff2e5)}.route-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.route-stop1047{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.route-stop1047 b,.route-stop1047 small{display:block;margin-top:4px}.route-stop1047 .route-actions{flex-wrap:wrap;justify-content:flex-end}.route-stop1047 .primary{width:auto}.evidence-card1047{padding:14px;border:1px solid #dce5ef;border-left:5px solid var(--dc-blue);border-radius:18px;margin:10px 0}.balance-evidence1047{border-left-color:var(--dc-yellow);background:linear-gradient(135deg,#fff 70%,#fff8dc)}.balance-evidence1047 b,.balance-evidence1047 small{display:block}.balance-evidence1047 small{color:#667085;margin-top:4px}.photo-drop{min-height:52px;display:flex;align-items:center;justify-content:center;border:1px dashed #8dbaf1;border-radius:14px;background:#eff7ff;color:#0868d0;font-weight:900}
.page-head1046,.route-head,.enterprise-section-head,.section-title,.cards-hero-head,.cards-shell .section-title{min-width:0;flex-wrap:wrap}.page-head1046>*,.route-head>*,.enterprise-section-head>*,.section-title>*,.cards-hero-head>*{min-width:0}.section-title h2,.section-title h3,.route-head h2,.route-head h3,.enterprise-section-head h3{overflow-wrap:anywhere}.card-command-deck .section-title{display:flex!important;justify-content:space-between;align-items:flex-start;gap:10px}.cards-shell .section-title b,.cards-shell .section-title span{white-space:normal!important}.search-result1046{border-left-width:5px!important}.module-1046{padding-bottom:102px}
@media(max-width:760px){.topbar{padding:calc(10px + env(safe-area-inset-top)) 12px 10px;min-height:84px}.topbar>div:first-child{grid-template-columns:44px minmax(0,1fr);column-gap:8px}.dc-logo1047{width:44px;height:44px}.topbar h1{font-size:19px}.topbar .eyebrow{font-size:7px}.topbar .subtitle{font-size:9px}.bottom-nav{padding-top:7px}.bottom-nav button,.bottom-nav button.active{height:68px;min-height:68px}.route-mode-grid1047{grid-template-columns:1fr}.route-points-head1047{align-items:stretch;flex-direction:column}.route-points-head1047 .primary{width:100%;min-width:0}.selected-stop1047,.route-point-card1047,.route-stop1047{grid-template-columns:1fr!important}.route-point-actions1047>*{flex:1}.route-point-actions1047 .primary{width:100%}.route-stop1047 .route-actions{justify-content:stretch}.route-stop1047 .route-actions>*{flex:1;min-width:120px}.route-create-sheet1047,.route-points-sheet1047,.evidence-sheet1047{padding-bottom:calc(26px + env(safe-area-inset-bottom))}.more-grid1046 button{min-height:118px}.card-command-deck .section-title,.cards-shell .section-title{display:grid!important;grid-template-columns:1fr;gap:6px}.cards-shell .route-head{display:grid!important;grid-template-columns:1fr}.cards-shell .route-head .primary{width:100%;white-space:normal}.row{min-width:0}.row>div{min-width:0}.row b,.row small{overflow-wrap:anywhere}}

.route-managed1049{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;font-size:11px;font-weight:800;background:rgba(100,116,139,.12);color:#64748b}
html.dc-dark .route-managed1049{background:#243247;color:#b8c6d9;border:1px solid #3c4b61}

/* ===== SOURCE: enterprise-10.4.8.css ===== */
/* DC CONTROL 10.4.8 — interfaz visual autorizada */
:root{
  --nav-orange:#f36a16;
  --nav-blue:#0879e8;
  --nav-green:#08a85a;
  --nav-red:#e53136;
  --nav-purple:#7c3fd1;
}

/* Encabezado PC: avatar + nombre + rol + fecha corta; campana separada. */
.topbar{gap:16px}
.topbar-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.user-card1048{border:1px solid #ffffff2a;background:#ffffff10;color:#fff;display:grid;grid-template-columns:44px minmax(118px,1fr) 16px;align-items:center;gap:10px;min-height:58px;padding:7px 10px 7px 8px;border-radius:18px;cursor:pointer;text-align:left;box-shadow:inset 0 1px 0 #ffffff16;transition:background .16s ease,border-color .16s ease}
.user-card1048:hover{background:#ffffff18;border-color:#ffffff40}
.user-avatar1048{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#2d95f2,#0c5cb9);border:2px solid #ffffffcc;box-shadow:0 4px 14px #001a3566}
.user-avatar1048 img{width:100%;height:100%;object-fit:cover;display:block}
.user-avatar-fallback1048 svg{width:25px;height:25px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.user-copy1048{min-width:0;display:grid;line-height:1.08}
.user-copy1048 b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-copy1048 small{font-size:10px;color:#d8e8f8;margin-top:3px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.user-copy1048 em{font-size:9px;color:#b8d3ed;font-style:normal;margin-top:5px;font-weight:700;white-space:nowrap}
.user-chevron1048{font-size:18px;color:#d8e8f8;text-align:center}
.topbar-actions .alert-btn{flex:0 0 auto;width:48px;height:48px;border-radius:16px;background:#ffffff14}

/* Barra inferior definitiva: Inicio | Buscar | Capturar | Rutas | Más. */
.bottom-nav{gap:8px;padding:9px max(10px,env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom));background:#fffffff2!important;border:1px solid #dfe7f0;border-bottom:0;box-shadow:0 -10px 32px #10182818}
.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:62px;min-height:62px;margin:0!important;padding:7px 4px;border:0;border-radius:17px;color:#fff!important;display:flex;align-items:center;justify-content:center;gap:3px;box-shadow:0 7px 16px #10182820;transform:none!important;opacity:1;transition:filter .15s ease,box-shadow .15s ease,opacity .15s ease}
.bottom-nav button.nav1048:hover{filter:brightness(1.04)}
.bottom-nav button.nav1048.active{box-shadow:0 0 0 3px #fff,0 0 0 5px currentColor,0 9px 20px #1018282a;filter:saturate(1.08) brightness(1.03)}
.bottom-nav button.nav-home1048,.bottom-nav button.nav-home1048.active{background:linear-gradient(145deg,#ff8b26,var(--nav-orange))}
.bottom-nav button.nav-search1048,.bottom-nav button.nav-search1048.active{background:linear-gradient(145deg,#1f91f7,var(--nav-blue))}
.bottom-nav button.nav-capture1048,.bottom-nav button.nav-capture1048.active{background:linear-gradient(145deg,#18bd70,var(--nav-green))}
.bottom-nav button.nav-routes1048,.bottom-nav button.nav-routes1048.active{background:linear-gradient(145deg,#f24b50,var(--nav-red))}
.bottom-nav button.nav-more1048,.bottom-nav button.nav-more1048.active{background:linear-gradient(145deg,#9457e5,var(--nav-purple))}
.bottom-nav button.nav1048 .nav-icon1048{width:31px;height:31px;margin:0;display:grid;place-items:center;color:#fff!important}
.bottom-nav button.nav1048 .nav-icon1048 svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav .nav-home1048 .nav-icon1048 svg{fill:currentColor;stroke:none;width:26px;height:26px}
.bottom-nav button.nav1048 small{font-size:10px;line-height:12px;font-weight:900;color:#fff!important;text-shadow:0 1px 1px #0002}
.bottom-nav button.nav1048.nav-locked1048{opacity:.48;filter:saturate(.55);box-shadow:none}
.bottom-nav button.nav1048.nav-locked1048.active{box-shadow:none}

/* Más: exactamente el mismo tamaño, 3 + 3 + 3 + 1. */
.more-page1048{max-width:980px;margin:auto;padding-bottom:106px}
.more-grid1048{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:150px;gap:12px;margin-top:14px}
.more-card1048{height:100%;min-width:0;border:0;border-radius:21px;padding:15px;color:#fff;text-align:left;display:grid;grid-template-columns:54px minmax(0,1fr);grid-template-rows:1fr auto;gap:10px 12px;align-items:center;box-shadow:0 12px 28px #10182820;cursor:pointer;overflow:hidden;position:relative;isolation:isolate;transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.more-card1048::after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-42px;top:-45px;background:#ffffff18;z-index:-1}
.more-card1048:hover{transform:translateY(-2px);box-shadow:0 15px 32px #10182829;filter:brightness(1.03)}
.more-icon1048{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#ffffff20;border:1px solid #ffffff26;grid-row:1/2}
.more-icon1048 svg{width:32px;height:32px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.more-copy1048{min-width:0;align-self:center}
.more-copy1048 small,.more-copy1048 b{display:block;color:#fff!important}
.more-copy1048 small{font-size:9px;text-transform:uppercase;letter-spacing:.08em;opacity:.78;font-weight:900;margin-bottom:5px}
.more-copy1048 b{font-size:15px;line-height:1.14;overflow-wrap:anywhere}
.more-card1048 em{grid-column:1/3;align-self:end;font-size:10px;font-style:normal;font-weight:800;color:#fff;opacity:.9;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #ffffff22;padding-top:8px}
.more-card1048 em strong{font-size:20px;line-height:12px}
.more-tone-1{background:linear-gradient(135deg,#08ad5c,#067a42)}
.more-tone-2{background:linear-gradient(135deg,#ec3568,#bd1549)}
.more-tone-3{background:linear-gradient(135deg,#188bf1,#075fbb)}
.more-tone-4{background:linear-gradient(135deg,#8650e7,#5d24bc)}
.more-tone-5{background:linear-gradient(135deg,#f08022,#cf500c)}
.more-tone-6{background:linear-gradient(135deg,#e3aa05,#bc7900)}
.more-tone-7{background:linear-gradient(135deg,#08a9a5,#08737b)}
.more-tone-8{background:linear-gradient(135deg,#e43b3f,#a91f27)}
.more-tone-9{background:linear-gradient(135deg,#355edc,#263aa8)}
.more-tone-10{background:linear-gradient(135deg,#526477,#273647)}
.switch-user1048{display:block;width:min(320px,100%);margin:18px auto 0}

@media(min-width:760px){
  .bottom-nav{width:760px;border-radius:22px 22px 0 0}
}

@media(max-width:760px){
  /* En móvil el encabezado se reduce a nombre / rol / fecha; la campana queda separada. */
  .topbar{min-height:66px;padding:calc(7px + env(safe-area-inset-top)) 10px 7px;display:flex;justify-content:flex-end;gap:8px}
  .topbar>div:first-child{display:none!important}
  .topbar-actions{width:100%;margin:0;justify-content:space-between;flex-direction:row-reverse;gap:8px}
  .user-card1048{flex:1;grid-template-columns:minmax(0,1fr);min-height:50px;padding:6px 10px;border-radius:14px;background:#ffffff0d;border-color:#ffffff1c}
  .user-avatar1048,.user-chevron1048,.user-time1048{display:none!important}
  .user-copy1048{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;column-gap:8px;align-items:center}
  .user-copy1048 b{grid-column:1;font-size:13px}
  .user-copy1048 small{grid-column:1;grid-row:2;font-size:9px;margin-top:2px}
  .user-copy1048 em{grid-column:2;grid-row:1/3;margin:0;font-size:10px;color:#dceafb}
  .topbar-actions .alert-btn{width:46px;height:46px;border-radius:14px}
  .bottom-nav{left:0!important;right:0!important;margin:0!important;gap:5px;padding-left:6px;padding-right:6px;border-radius:18px 18px 0 0}
  .bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:58px;min-height:58px;border-radius:14px;padding:5px 1px}
  .bottom-nav button.nav1048 .nav-icon1048{width:27px;height:27px}
  .bottom-nav button.nav1048 .nav-icon1048 svg{width:24px;height:24px}
  .bottom-nav button.nav1048 small{font-size:8px}
  .more-grid1048{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:132px;gap:7px}
  .more-card1048{border-radius:16px;padding:9px;grid-template-columns:38px minmax(0,1fr);gap:7px 7px}
  .more-icon1048{width:38px;height:38px;border-radius:12px}
  .more-icon1048 svg{width:24px;height:24px}
  .more-copy1048 small{font-size:7px;margin-bottom:3px}
  .more-copy1048 b{font-size:11px;line-height:1.12}
  .more-card1048 em{font-size:8px;padding-top:6px}
  .more-card1048 em strong{font-size:16px}
}

@media(max-width:380px){
  .more-grid1048{gap:5px;grid-auto-rows:126px}
  .more-card1048{padding:8px;grid-template-columns:34px minmax(0,1fr);gap:5px}
  .more-icon1048{width:34px;height:34px}
  .more-icon1048 svg{width:21px;height:21px}
  .more-copy1048 b{font-size:10px}
}

/* ===== SOURCE: enterprise-10.4.9-visual.css ===== */
/* DC CONTROL 10.4.9 — sistema visual compacto aprobado. Solo presentación. */
:root{
 --dc-bg:#f5f8fc; --dc-ink:#0c2850; --dc-muted:#69809c; --dc-line:#dbe5f0;
 --dc-blue:#087cf0; --dc-green:#13ad63; --dc-red:#ef4054; --dc-orange:#f28a24;
 --dc-purple:#7a43df; --dc-cyan:#17aeba; --dc-shadow:0 10px 28px rgba(15,43,79,.08);
}
body{background:linear-gradient(180deg,#f7faff 0,#f3f7fb 55%,#f6f8fb 100%);color:var(--dc-ink)}
#view{max-width:1540px;margin:0 auto;padding-left:clamp(14px,2.1vw,32px);padding-right:clamp(14px,2.1vw,32px)}
.v1049-card,.card{border:1px solid var(--dc-line);box-shadow:var(--dc-shadow);border-radius:18px;background:#fff}
.v1049-btn{border-radius:12px!important;font-weight:800!important;min-height:38px!important}
.primary{background:linear-gradient(135deg,#178bf5,#0569db)!important}
.secondary{background:#fff!important;color:#155aa8!important;border:1px solid #c9dcf1!important}
.mini{background:#fff!important;border:1px solid #d6e1ec!important;color:#164b80!important}

/* Encabezado móvil: conservar marca DC CONTROL. */
@media(max-width:760px){
 .topbar{justify-content:space-between!important;align-items:center!important;padding:calc(7px + env(safe-area-inset-top)) 10px 7px!important;min-height:74px!important}
 .topbar>div:first-child{display:block!important;min-width:0!important;max-width:42vw!important}
 .topbar>div:first-child .eyebrow{font-size:6px!important;white-space:nowrap!important}
 .topbar>div:first-child h1{font-size:16px!important;line-height:1!important;margin:1px 0!important;white-space:nowrap!important}
 .topbar>div:first-child .subtitle{font-size:7px!important;white-space:nowrap!important}
 .topbar-actions{width:auto!important;flex:1!important;justify-content:flex-end!important;flex-direction:row!important}
 .user-card1048{max-width:48vw!important}
 .user-copy1048{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important}
 .user-copy1048 em{grid-column:1!important;grid-row:3!important;font-size:8px!important}
}

/* Barra inferior centrada, estable y compacta. */
.bottom-nav.v1049-nav-centered{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(690px,calc(100% - 24px))!important;border-radius:22px!important;bottom:0!important}
.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{transform:none!important;min-height:56px!important;height:56px!important}
.bottom-nav button.nav1048 .nav-icon1048{width:25px!important;height:25px!important}
.bottom-nav button.nav1048 .nav-icon1048 svg{width:22px!important;height:22px!important}

/* KPI: color pleno y números blancos. */
.v1049-kpi{position:relative;overflow:hidden;border:0!important;color:#fff!important;min-height:104px!important;padding:18px!important;box-shadow:0 12px 26px rgba(18,54,96,.12)!important}
.v1049-kpi *{color:#fff!important}
.v1049-kpi:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13)}
.v1049-tone-1{background:linear-gradient(135deg,#178bf5,#075ec6)!important}.v1049-tone-2{background:linear-gradient(135deg,#21bd73,#079c55)!important}
.v1049-tone-3{background:linear-gradient(135deg,#8d59f3,#6832d7)!important}.v1049-tone-4{background:linear-gradient(135deg,#f34b5d,#d72d43)!important}
.v1049-tone-5{background:linear-gradient(135deg,#f9a13a,#ef7819)!important}.v1049-tone-6{background:linear-gradient(135deg,#ef5073,#d7325b)!important}
.v1049-tone-7{background:linear-gradient(135deg,#3e63e5,#2949c4)!important}.v1049-tone-8{background:linear-gradient(135deg,#19b6b6,#0f8e9a)!important}
.exec-grid,.report-cards,.grid2{gap:12px!important}

/* HOME / business / finance / debts / cards / purchases */
[data-dc-page="home"] .exec-grid,[data-dc-page="business"] .exec-grid,[data-dc-page="finance"] .exec-grid,[data-dc-page="debts"] .grid2,[data-dc-page="cards"] .grid2,[data-dc-page="purchases"] .exec-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.enterprise-action-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.enterprise-action{min-height:92px!important;border-radius:16px!important;background:#fff!important;border:1px solid var(--dc-line)!important;box-shadow:var(--dc-shadow)!important}
.enterprise-action:nth-child(4n+1){--action:#167ef0}.enterprise-action:nth-child(4n+2){--action:#e94468}.enterprise-action:nth-child(4n+3){--action:#16aa66}.enterprise-action:nth-child(4n){--action:#7b4be0}
.enterprise-action .enterprise-action-icon{background:color-mix(in srgb,var(--action) 14%,white)!important;color:var(--action)!important;border-radius:14px!important}

/* Buscar: simple, centrado y encapsulado. */
.v1049-search-page{max-width:980px!important;margin:clamp(70px,13vh,150px) auto 120px!important;text-align:center!important}
.v1049-search-title-card{display:block!important;background:#fff!important;border:1px solid var(--dc-line)!important;box-shadow:var(--dc-shadow)!important;border-radius:20px!important;padding:26px 22px 22px!important;margin-bottom:18px!important;text-align:center!important}
.v1049-search-title-card p{display:none!important}
.v1049-search-card{background:#fff;border:1px solid var(--dc-line);box-shadow:var(--dc-shadow);border-radius:18px;padding:14px;display:flex;align-items:center;gap:10px}
.v1049-search-icon{font-size:26px;color:#51718e;padding-left:10px}.v1049-search-card .search1046{border:0!important;box-shadow:none!important;margin:0!important;font-size:18px!important;background:transparent!important}
.v1049-search-results>.empty:first-child{min-height:86px!important;display:grid!important;place-items:center!important;border-radius:18px!important;background:#fff!important;color:#5c7592!important}
.v1049-search-results .search-result1046{max-width:980px;margin-inline:auto;text-align:left}

/* Capturar: compactar y colorear opciones sin alterar IDs/flujo. */
.v1049-capture-page{max-width:1220px;margin:0 auto}.v1049-capture-page>h2{font-size:30px!important;margin-bottom:4px!important}.v1049-capture-page>.muted{max-width:800px}
.capture-only-actions{display:grid!important;grid-template-columns:2fr 1fr 1fr 1fr!important;gap:12px!important;margin-top:18px!important}
.v1049-action-tile{border-radius:16px!important;min-height:64px!important;display:flex!important;align-items:center!important;justify-content:center!important}
.v1049-action-1{background:linear-gradient(135deg,#178bf5,#0569db)!important;color:#fff!important}.v1049-action-2{background:#eafaf2!important;color:#07854d!important;border:1px solid #bcebd2!important}
.v1049-action-3{background:#f0eaff!important;color:#7041d5!important;border:1px solid #d7c8fb!important}.v1049-action-4{background:#fff4e8!important;color:#c66610!important;border:1px solid #f2d2ad!important}
.v1049-info-card,.v1049-master-rule{border-radius:16px!important;padding:14px 16px!important}
.v1049-master-rule{background:#fff7df!important;border-color:#f2d598!important}

/* Rutas */
.v1049-routes-page .route-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.v1049-routes-page .route-control-card{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
.v1049-routes-page .route-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.v1049-routes-page .route-card{margin:0!important}

/* Nómina / empleados */
.v1049-payroll-page .exec-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.v1049-employee-folder{border:1px solid var(--dc-line);border-radius:18px;background:#fff;box-shadow:var(--dc-shadow);margin-top:16px;overflow:hidden}
.v1049-employee-folder summary{list-style:none;cursor:pointer;padding:18px 20px;display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center}.v1049-employee-folder summary::-webkit-details-marker{display:none}.v1049-employee-folder summary span{font-weight:900;font-size:17px}.v1049-employee-folder summary small{grid-column:1;color:var(--dc-muted)}.v1049-employee-folder summary b{grid-column:2;grid-row:1/3;color:#087cf0}
.v1049-employee-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;padding:0 14px 14px!important}.v1049-employee-grid>.card{margin:0!important;min-height:92px!important}

/* Ubicación */
.v1049-location-page #locationContent{display:block!important}.v1049-location-page .location-map-card{border-radius:18px!important;overflow:hidden}.v1049-location-page .location-map{min-height:390px!important}.v1049-location-page .location-people-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Configuración */
[data-dc-page="settings"] .config-tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
[data-dc-page="settings"] .config-role-grid,[data-dc-page="settings"] .supplier-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
[data-dc-page="settings"] .config-role-grid>.card,[data-dc-page="settings"] .supplier-grid>.card{margin:0!important}

/* Ventas / Compras / Finanzas / Deudas / Tarjetas: tablas y columnas compactas */
.v1049-table-zone{border-radius:16px!important;overflow:auto!important;border:1px solid var(--dc-line)!important;background:#fff!important}.enterprise-table{font-size:12px!important}.enterprise-table th{background:#f2f6fb!important;color:#36526f!important;font-size:10px!important;text-transform:uppercase!important;letter-spacing:.03em!important}.enterprise-table td,.enterprise-table th{padding:10px 12px!important;border-bottom:1px solid #edf2f7!important}.enterprise-table tr:hover td{background:#f8fbff!important}

/* Reportes: icono/color por movimiento sin aumentar fila. */
.v1049-move-type{display:flex;align-items:center;gap:8px}.v1049-move-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;font-style:normal;color:#fff;font-size:13px;flex:0 0 26px}.v1049-move-icon.violet{background:#7b43df}.v1049-move-icon.orange{background:#f28a24}.v1049-move-icon.green{background:#12a75f}.v1049-move-icon.cyan{background:#16aeba}.v1049-move-icon.blue{background:#1889ee}.v1049-move-icon.red{background:#ef4054}.v1049-move-icon.slate{background:#66778a}
.v1049-cat{display:inline-flex;padding:4px 9px;border-radius:999px;font-size:10px;font-weight:800}.v1049-cat.violet{background:#eee7ff;color:#6731c7}.v1049-cat.orange{background:#fff0df;color:#b65b08}.v1049-cat.green{background:#e4f8ee;color:#07814a}.v1049-cat.cyan{background:#e2f8fa;color:#087c86}.v1049-cat.blue{background:#e5f1ff;color:#0b67c4}.v1049-cat.red{background:#ffe8ec;color:#bd2439}.v1049-cat.slate{background:#edf1f5;color:#506275}.v1049-negative{color:#dc233e!important;font-weight:900!important}

/* Más: solo encabezado encapsulado + sin cambiar usuario. */
.v1049-title-card{max-width:720px!important;margin:0 auto 22px!important;padding:18px 22px!important;border:1px solid var(--dc-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--dc-shadow)!important}.v1049-centered-title{text-align:center!important}.more-page1048 .more-grid1048{margin-inline:auto!important}.switch-user1048{display:none!important}

/* Reportes/Tablas en móvil: no ocultar contenido. */
@media(max-width:900px){
 #view{padding-left:10px!important;padding-right:10px!important;padding-bottom:96px!important;overflow:visible!important}
 .enterprise-table-wrap,.v1049-table-zone{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;max-width:100%!important}.enterprise-table{min-width:760px!important}
 [data-dc-page="home"] .exec-grid,[data-dc-page="business"] .exec-grid,[data-dc-page="finance"] .exec-grid,[data-dc-page="debts"] .grid2,[data-dc-page="cards"] .grid2,[data-dc-page="purchases"] .exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .enterprise-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.capture-only-actions{grid-template-columns:1fr 1fr!important}.v1049-routes-page .route-stack{grid-template-columns:1fr!important}.v1049-employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 [data-dc-page="settings"] .config-role-grid,[data-dc-page="settings"] .supplier-grid{grid-template-columns:1fr!important}
}
@media(max-width:520px){
 .v1049-kpi{min-height:92px!important;padding:13px!important}.v1049-kpi b{font-size:20px!important}.v1049-search-page{margin-top:32px!important}.v1049-search-title-card{padding:20px 14px!important}.v1049-search-card{padding:8px!important}.v1049-search-card .search1046{font-size:15px!important}.capture-only-actions{grid-template-columns:1fr!important}
 .v1049-employee-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}.v1049-employee-grid .card{padding:9px!important}.v1049-routes-page .route-control-card{grid-template-columns:1fr!important}
}

/* 10.4.9.1 — parche visual: accesos rápidos legibles, encabezado Más nítido y nav sin solaparse. */
#view{padding-bottom:96px!important}
.enterprise-action{position:relative!important;overflow:hidden!important;padding:14px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) 18px!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important;text-align:left!important}
.enterprise-action:nth-child(8n+1){--action:#167ef0!important}
.enterprise-action:nth-child(8n+2){--action:#ef476f!important}
.enterprise-action:nth-child(8n+3){--action:#12a864!important}
.enterprise-action:nth-child(8n+4){--action:#7b4be0!important}
.enterprise-action:nth-child(8n+5){--action:#f59e0b!important}
.enterprise-action:nth-child(8n+6){--action:#10a9b8!important}
.enterprise-action:nth-child(8n+7){--action:#3d63df!important}
.enterprise-action:nth-child(8n){--action:#52677d!important}
.enterprise-action .enterprise-action-icon{width:44px!important;height:44px!important;display:grid!important;place-items:center!important;background:color-mix(in srgb,var(--action) 16%,white)!important;color:var(--action)!important;border:1px solid color-mix(in srgb,var(--action) 28%,white)!important;border-radius:13px!important;font-size:20px!important;grid-row:1/3!important}
.enterprise-action .enterprise-action-copy{display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.enterprise-action .enterprise-action-copy b{display:block!important;color:#0c2850!important;font-size:13px!important;line-height:1.15!important;font-weight:900!important}
.enterprise-action .enterprise-action-copy small{display:block!important;color:#667b93!important;font-size:9px!important;line-height:1.25!important;font-weight:600!important}
.enterprise-action em{display:block!important;color:var(--action)!important;font-size:8px!important;font-style:normal!important;font-weight:900!important;text-transform:uppercase!important;letter-spacing:.04em!important;grid-column:2!important;margin-top:2px!important}
.enterprise-action>strong{display:block!important;color:var(--action)!important;font-size:22px!important;line-height:1!important;grid-column:3!important;grid-row:1/3!important;align-self:center!important}
.v1049-title-card{background:#fff!important;border:1px solid #cfddeb!important;box-shadow:0 10px 28px rgba(15,43,79,.12)!important}
.v1049-title-card .eyebrow{color:#5b6f87!important;font-weight:900!important;letter-spacing:.18em!important}
.v1049-title-card h2,.v1049-title-card h3{color:#0c2850!important;font-weight:900!important}
.v1049-title-card p,.v1049-title-card .muted{color:#667b93!important}
.bottom-nav.v1049-nav-centered{bottom:10px!important}
@media(max-width:640px){
 #view{padding-bottom:92px!important}
 .enterprise-action{padding:10px!important;grid-template-columns:38px minmax(0,1fr) 12px!important;min-height:82px!important}
 .enterprise-action .enterprise-action-icon{width:38px!important;height:38px!important;font-size:17px!important}
 .enterprise-action .enterprise-action-copy b{font-size:11px!important}
 .enterprise-action .enterprise-action-copy small{font-size:8px!important}
 .enterprise-action em{font-size:7px!important}
 .bottom-nav.v1049-nav-centered{bottom:max(6px,env(safe-area-inset-bottom))!important}
}


/* 10.4.9.2 — Configuración visual aprobada */
[data-dc-page="settings"] .config-visual-tabs{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:12px!important;
  margin:14px 0 18px!important;
}
[data-dc-page="settings"] .config-visual-tabs .config-tab{
  min-height:96px!important;
  border:0!important;
  border-radius:18px!important;
  padding:18px!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:14px!important;
  box-shadow:0 10px 24px rgba(15,23,42,.10)!important;
  text-align:left!important;
}
[data-dc-page="settings"] .config-visual-tabs .config-tab .tab-icon{
  width:46px;height:46px;display:grid;place-items:center;border-radius:14px;
  background:rgba(255,255,255,.18);font-size:24px;flex:0 0 46px;
}
[data-dc-page="settings"] .config-visual-tabs .config-tab b{display:block;font-size:16px;color:#fff!important}
[data-dc-page="settings"] .config-visual-tabs .config-tab small{display:block;color:rgba(255,255,255,.86)!important;margin-top:3px}
[data-dc-page="settings"] .config-tab-blue{background:linear-gradient(135deg,#1687ff,#1766e8)!important}
[data-dc-page="settings"] .config-tab-purple{background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important}
[data-dc-page="settings"] .config-tab-green{background:linear-gradient(135deg,#12b981,#059669)!important}
[data-dc-page="settings"] .config-tab-orange{background:linear-gradient(135deg,#ff9b36,#f97316)!important}
[data-dc-page="settings"] .config-visual-tabs .config-tab.active{
  outline:3px solid rgba(9,77,167,.16)!important;
  transform:translateY(-1px);
}
[data-dc-page="settings"] .config-section-block{margin:18px 0 24px}
[data-dc-page="settings"] .config-people-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
[data-dc-page="settings"] .config-role-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
}
[data-dc-page="settings"] .supplier-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
[data-dc-page="settings"] .config-user-card,
[data-dc-page="settings"] .config-role-card,
[data-dc-page="settings"] .config-supplier-card{
  margin:0!important;
  min-width:0;
  padding:16px!important;
  border:1px solid rgba(148,163,184,.22)!important;
  box-shadow:0 7px 18px rgba(15,23,42,.06)!important;
  overflow:hidden;
}
[data-dc-page="settings"] .config-card-top{display:flex;align-items:center;gap:12px}
[data-dc-page="settings"] .config-avatar{
  width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  font-weight:800;color:#fff;background:#2563eb;flex:0 0 44px;
}
[data-dc-page="settings"] .config-card-main{display:flex;flex-direction:column;min-width:0;flex:1}
[data-dc-page="settings"] .config-card-main b{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
[data-dc-page="settings"] .config-role-label{font-size:12px;color:#53627a;margin-top:3px}
[data-dc-page="settings"] .config-edit-btn{margin-left:auto}
[data-dc-page="settings"] .config-card-meta{display:grid;gap:5px;margin-top:12px}
[data-dc-page="settings"] .config-card-meta small{white-space:normal;overflow-wrap:anywhere}
[data-dc-page="settings"] .cloud-ok{color:#0f9f62!important;font-weight:700}
[data-dc-page="settings"] .cloud-pending{color:#c47c00!important;font-weight:700}
[data-dc-page="settings"] .tone-blue{background:linear-gradient(135deg,#eef6ff,#f8fbff)!important;border-left:4px solid #2684ff!important}
[data-dc-page="settings"] .tone-green{background:linear-gradient(135deg,#effcf5,#fbfffd)!important;border-left:4px solid #18a96b!important}
[data-dc-page="settings"] .tone-orange{background:linear-gradient(135deg,#fff7ed,#fffdf9)!important;border-left:4px solid #f59e0b!important}
[data-dc-page="settings"] .tone-purple{background:linear-gradient(135deg,#f6f0ff,#fdfbff)!important;border-left:4px solid #8b5cf6!important}
[data-dc-page="settings"] .tone-cyan{background:linear-gradient(135deg,#ecfeff,#fbffff)!important;border-left:4px solid #06b6d4!important}
[data-dc-page="settings"] .tone-slate{background:linear-gradient(135deg,#f1f5f9,#fff)!important;border-left:4px solid #64748b!important}
[data-dc-page="settings"] .role-tone-0{background:#eef6ff!important}.role-tone-0 .config-avatar{background:#2563eb}
[data-dc-page="settings"] .role-tone-1{background:#effcf5!important}.role-tone-1 .config-avatar{background:#16a34a}
[data-dc-page="settings"] .role-tone-2{background:#fff7ed!important}.role-tone-2 .config-avatar{background:#ea580c}
[data-dc-page="settings"] .role-tone-3{background:#f6f0ff!important}.role-tone-3 .config-avatar{background:#7c3aed}
[data-dc-page="settings"] .role-tone-4{background:#ecfeff!important}.role-tone-4 .config-avatar{background:#0891b2}
[data-dc-page="settings"] .role-tone-5{background:#fff1f2!important}.role-tone-5 .config-avatar{background:#e11d48}
[data-dc-page="settings"] .config-role-card p{margin:12px 0 10px;color:#516079;font-size:13px;line-height:1.45}
[data-dc-page="settings"] .config-module-tags{display:flex;flex-wrap:wrap;gap:6px}
[data-dc-page="settings"] .config-module-tags span{
  padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.72);
  border:1px solid rgba(148,163,184,.2);font-size:11px;font-weight:700;color:#41506a;
}
[data-dc-page="settings"] .config-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:12px}
[data-dc-page="settings"] .config-info-grid>.card{margin:0!important}
[data-dc-page="settings"] .info-blue{background:linear-gradient(135deg,#eef6ff,#f8fbff)!important}
[data-dc-page="settings"] .info-green{background:linear-gradient(135deg,#effcf5,#fbfffd)!important}
[data-dc-page="settings"] .supplier-tone-0{background:#fff0f4!important;border-left:4px solid #ec407a!important}
[data-dc-page="settings"] .supplier-tone-1{background:#eef6ff!important;border-left:4px solid #2684ff!important}
[data-dc-page="settings"] .supplier-tone-2{background:#effcf5!important;border-left:4px solid #10b981!important}
[data-dc-page="settings"] .supplier-tone-3{background:#fff5eb!important;border-left:4px solid #f97316!important}
[data-dc-page="settings"] .supplier-tone-4{background:#f5f0ff!important;border-left:4px solid #8b5cf6!important}
[data-dc-page="settings"] .supplier-tone-5{background:#ecfeff!important;border-left:4px solid #06b6d4!important}
[data-dc-page="settings"] .supplier-tone-0 .config-avatar{background:#e91e63}
[data-dc-page="settings"] .supplier-tone-1 .config-avatar{background:#1976d2}
[data-dc-page="settings"] .supplier-tone-2 .config-avatar{background:#0f9f62}
[data-dc-page="settings"] .supplier-tone-3 .config-avatar{background:#ea580c}
[data-dc-page="settings"] .supplier-tone-4 .config-avatar{background:#7c3aed}
[data-dc-page="settings"] .supplier-tone-5 .config-avatar{background:#0891b2}

@media(max-width:900px){
  [data-dc-page="settings"] .config-visual-tabs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="settings"] .config-people-grid,
  [data-dc-page="settings"] .config-role-grid,
  [data-dc-page="settings"] .supplier-grid,
  [data-dc-page="settings"] .config-info-grid{grid-template-columns:1fr!important}
}

/* 10.4.9.3 — Buscar + panel técnico de Configuración */
[data-dc-page="search"] .v1049-search-title-card{
  background:linear-gradient(135deg,#087cf0,#2d56d9)!important;
  border:0!important;
  color:#fff!important;
  box-shadow:0 14px 34px rgba(8,124,240,.20)!important;
}
[data-dc-page="search"] .v1049-search-title-card .eyebrow,
[data-dc-page="search"] .v1049-search-title-card h2{color:#fff!important}
[data-dc-page="search"] .v1049-search-title-card .eyebrow{opacity:.82}
[data-dc-page="search"] .v1049-search-card{
  background:linear-gradient(135deg,#7047df,#8a5cf0)!important;
  border:0!important;
  padding:14px 16px!important;
  box-shadow:0 14px 32px rgba(112,71,223,.16)!important;
}
[data-dc-page="search"] .v1049-search-icon{color:#fff!important;font-size:24px!important;padding-left:2px!important;flex:0 0 auto}
[data-dc-page="search"] .v1049-search-card .search1046{
  min-width:0!important;
  flex:1!important;
  height:48px!important;
  padding:0 16px!important;
  border-radius:13px!important;
  background:#fff!important;
  color:#173452!important;
  border:1px solid rgba(255,255,255,.38)!important;
}
[data-dc-page="search"] .v1049-search-submit{
  height:48px!important;
  min-width:122px!important;
  border:0!important;
  border-radius:13px!important;
  background:#0b8b66!important;
  color:#fff!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  font-weight:900!important;
  cursor:pointer!important;
  box-shadow:0 8px 18px rgba(4,86,65,.18)!important;
}
[data-dc-page="search"] .v1049-search-results>.empty:first-child,
[data-dc-page="search"] .v1049-search-hint{
  background:linear-gradient(135deg,#11aeb8,#0b8e9b)!important;
  border:0!important;
  color:#fff!important;
  font-weight:800!important;
  box-shadow:0 12px 28px rgba(17,174,184,.15)!important;
}

[data-dc-page="settings"] .v1049-settings-tech-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  margin:22px 0 8px!important;
  align-items:stretch!important;
}
[data-dc-page="settings"] .v1049-tech-card{
  margin:0!important;
  min-width:0!important;
  padding:16px!important;
  border:0!important;
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 10px 25px rgba(15,43,79,.10)!important;
}
[data-dc-page="settings"] .v1049-tech-card b,
[data-dc-page="settings"] .v1049-tech-card p,
[data-dc-page="settings"] .v1049-tech-card small,
[data-dc-page="settings"] .v1049-tech-card .muted,
[data-dc-page="settings"] .v1049-tech-card .checks span{color:#fff!important}
[data-dc-page="settings"] .v1049-tech-card .pill{
  background:rgba(255,255,255,.18)!important;
  border:1px solid rgba(255,255,255,.28)!important;
  color:#fff!important;
}
[data-dc-page="settings"] .v1049-tech-card .secondary,
[data-dc-page="settings"] .v1049-tech-card .mini{
  background:rgba(255,255,255,.95)!important;
  color:#173452!important;
  border-color:rgba(255,255,255,.8)!important;
}
[data-dc-page="settings"] .v1049-tech-card .primary{
  background:rgba(255,255,255,.96)!important;
  color:#0c5ead!important;
  border:0!important;
}
[data-dc-page="settings"] .v1049-tech-card input,
[data-dc-page="settings"] .v1049-tech-card select{
  background:#fff!important;
  color:#173452!important;
  border-color:rgba(255,255,255,.55)!important;
}
[data-dc-page="settings"] .v1049-tech-card label{color:#fff!important}
[data-dc-page="settings"] .tech-blue{background:linear-gradient(135deg,#1a83ee,#1666cf)!important}
[data-dc-page="settings"] .tech-green{background:linear-gradient(135deg,#13ad63,#07894a)!important}
[data-dc-page="settings"] .tech-purple{background:linear-gradient(135deg,#8054e8,#6532ca)!important}
[data-dc-page="settings"] .tech-orange{background:linear-gradient(135deg,#f59b32,#e57414)!important}
[data-dc-page="settings"] .tech-cyan{background:linear-gradient(135deg,#17aeba,#0e8795)!important}
[data-dc-page="settings"] .tech-slate{background:linear-gradient(135deg,#60758c,#42566c)!important}
[data-dc-page="settings"] .tech-map{background:linear-gradient(135deg,#2d6cdf,#174ea9)!important}
[data-dc-page="settings"] .v1049-map-compact .form-grid{grid-template-columns:1fr!important;gap:8px!important}
[data-dc-page="settings"] .v1049-map-compact .map-config-help{display:none!important}
[data-dc-page="settings"] .v1049-map-compact .row{gap:8px!important;flex-wrap:wrap!important}
[data-dc-page="settings"] .v1049-map-compact{min-height:100%!important}

@media(max-width:900px){
  [data-dc-page="settings"] .v1049-settings-tech-grid{grid-template-columns:1fr!important}
}
@media(max-width:620px){
  [data-dc-page="search"] .v1049-search-card{display:grid!important;grid-template-columns:28px minmax(0,1fr)!important}
  [data-dc-page="search"] .v1049-search-submit{grid-column:1/-1!important;width:100%!important}
}


/* 10.4.9.4 — Tarjetas, Empleados, Más y Ubicación: visual consolidado aprobado */
[data-dc-page="more"] .v10494-more-hero{
  background:linear-gradient(135deg,#0a72e8,#274ed7)!important;
  color:#fff!important;border:0!important;text-align:center!important;
  align-items:center!important;justify-content:center!important;
  padding:20px 24px!important;box-shadow:0 14px 34px rgba(24,90,210,.18)!important;
}
[data-dc-page="more"] .v10494-more-hero>div{width:100%!important;text-align:center!important}
[data-dc-page="more"] .v10494-more-hero .eyebrow,
[data-dc-page="more"] .v10494-more-hero h2,
[data-dc-page="more"] .v10494-more-hero p{color:#fff!important;text-align:center!important;margin-left:auto!important;margin-right:auto!important}
[data-dc-page="more"] .v10494-more-hero .eyebrow{opacity:.82!important}

/* Tarjetas de crédito */
[data-dc-page="cards"] .cards-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
[data-dc-page="cards"] .v10494-solid-kpi{border:0!important;color:#fff!important;min-height:112px!important;padding:18px!important;box-shadow:0 12px 28px rgba(15,43,79,.12)!important}
[data-dc-page="cards"] .v10494-solid-kpi span,[data-dc-page="cards"] .v10494-solid-kpi b,[data-dc-page="cards"] .v10494-solid-kpi small{color:#fff!important}
.v10494-card-tone-1{background:linear-gradient(135deg,#1186f7,#1a65db)!important}
.v10494-card-tone-2{background:linear-gradient(135deg,#13b96e,#079752)!important}
.v10494-card-tone-3{background:linear-gradient(135deg,#ff982c,#ed6f12)!important}
.v10494-card-tone-4{background:linear-gradient(135deg,#8957ef,#6b32d2)!important}
[data-dc-page="cards"] .card-command-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
[data-dc-page="cards"] .v10494-command{border:0!important;color:#fff!important;min-height:82px!important;box-shadow:0 8px 18px rgba(15,43,79,.08)!important}
[data-dc-page="cards"] .v10494-command b,[data-dc-page="cards"] .v10494-command small,[data-dc-page="cards"] .v10494-command span{color:#fff!important}
[data-dc-page="cards"] .v10494-command-1{background:linear-gradient(135deg,#1788f7,#1565d8)!important}
[data-dc-page="cards"] .v10494-command-2{background:linear-gradient(135deg,#11b86d,#078e4d)!important}
[data-dc-page="cards"] .v10494-command-3{background:linear-gradient(135deg,#8758ed,#6931cc)!important}
[data-dc-page="cards"] .v10494-command-4{background:linear-gradient(135deg,#ff922b,#e86c0f)!important}
[data-dc-page="cards"] .card-portfolio-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
[data-dc-page="cards"] .v10494-credit-card{margin:0!important;overflow:hidden!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 10px 24px rgba(15,43,79,.08)!important}
[data-dc-page="cards"] .v10494-credit-card .card-enterprise-visual{min-height:150px!important}
[data-dc-page="cards"] .v10494-credit-card .card-enterprise-body{padding:14px!important}
[data-dc-page="cards"] .v10494-credit-tone-1{background:linear-gradient(180deg,#f2f7ff,#fff)!important}
[data-dc-page="cards"] .v10494-credit-tone-2{background:linear-gradient(180deg,#f8f5ff,#fff)!important}
[data-dc-page="cards"] .v10494-credit-tone-3{background:linear-gradient(180deg,#effcf7,#fff)!important}
[data-dc-page="cards"] .v10494-credit-tone-4{background:linear-gradient(180deg,#fff7ed,#fff)!important}
[data-dc-page="cards"] .v10494-credit-tone-5{background:linear-gradient(180deg,#fff2f5,#fff)!important}
[data-dc-page="cards"] .v10494-credit-tone-6{background:linear-gradient(180deg,#eefcff,#fff)!important}
[data-dc-page="cards"] .v10494-card-movement{border-left:5px solid transparent!important;margin:8px 0!important;background:#fff!important}
.v10494-movement-1{border-left-color:#16a34a!important;background:#effcf5!important}
.v10494-movement-2{border-left-color:#2563eb!important;background:#eef6ff!important}
.v10494-movement-3{border-left-color:#e11d48!important;background:#fff1f4!important}
.v10494-movement-4{border-left-color:#f59e0b!important;background:#fff8e9!important}
.v10494-movement-5{border-left-color:#06b6d4!important;background:#ecfeff!important}
.v10494-movement-6{border-left-color:#7c3aed!important;background:#f6f0ff!important}

/* Empleados, asistencia y prestaciones */
[data-dc-page="payroll"] .v10494-benefits{margin-top:18px!important}
[data-dc-page="payroll"] .v10494-benefit-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card{margin:0!important;border:0!important;border-radius:18px!important;padding:0!important;overflow:hidden!important;color:#fff!important;box-shadow:0 10px 22px rgba(15,43,79,.10)!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card summary{padding:16px!important;min-height:118px!important;display:flex!important;align-items:flex-start!important;gap:10px!important;color:#fff!important;cursor:pointer!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card summary span:first-child{flex:1!important;min-width:0!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card summary b,[data-dc-page="payroll"] .v10494-employee-benefit-card summary small{color:#fff!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card summary .pill{background:rgba(255,255,255,.92)!important;color:#173452!important;border:0!important;font-size:11px!important;padding:5px 9px!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card[open]{background:#fff!important;color:#173452!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card[open] summary{border-radius:18px 18px 0 0!important}
[data-dc-page="payroll"] .v10494-employee-benefit-card[open]>.employee-actions104,[data-dc-page="payroll"] .v10494-employee-benefit-card[open]>.grid2,[data-dc-page="payroll"] .v10494-employee-benefit-card[open]>.row{padding-left:12px!important;padding-right:12px!important}
.v10494-emp-tone-1>summary,.v10494-emp-tone-1.v10494-directory-card{background:linear-gradient(135deg,#1888f7,#1766db)!important}
.v10494-emp-tone-2>summary,.v10494-emp-tone-2.v10494-directory-card{background:linear-gradient(135deg,#17b96f,#079853)!important}
.v10494-emp-tone-3>summary,.v10494-emp-tone-3.v10494-directory-card{background:linear-gradient(135deg,#ff9831,#ed6e12)!important}
.v10494-emp-tone-4>summary,.v10494-emp-tone-4.v10494-directory-card{background:linear-gradient(135deg,#8c5bef,#6b35d2)!important}
.v10494-emp-tone-5>summary,.v10494-emp-tone-5.v10494-directory-card{background:linear-gradient(135deg,#17b8b0,#0b918c)!important}
.v10494-emp-tone-6>summary,.v10494-emp-tone-6.v10494-directory-card{background:linear-gradient(135deg,#5478ff,#3659dc)!important}
.v10494-emp-tone-7>summary,.v10494-emp-tone-7.v10494-directory-card{background:linear-gradient(135deg,#f05472,#d92c51)!important}
.v10494-emp-tone-8>summary,.v10494-emp-tone-8.v10494-directory-card{background:linear-gradient(135deg,#ffc129,#e6a105)!important}
[data-dc-page="payroll"] .v10494-directory-card{color:#fff!important;border:0!important}
[data-dc-page="payroll"] .v10494-directory-card b,[data-dc-page="payroll"] .v10494-directory-card small{color:#fff!important}
[data-dc-page="payroll"] .v10494-kiosk-card{background:linear-gradient(135deg,#1488f5,#1765d8)!important;color:#fff!important;border:0!important;box-shadow:0 12px 26px rgba(20,110,220,.14)!important}
[data-dc-page="payroll"] .v10494-kiosk-card b,[data-dc-page="payroll"] .v10494-kiosk-card small{color:#fff!important}
[data-dc-page="payroll"] .v10494-kiosk-card .pill{background:rgba(255,255,255,.18)!important;border-color:rgba(255,255,255,.25)!important;color:#fff!important}
[data-dc-page="payroll"] .v10494-kiosk-btn{background:linear-gradient(135deg,#0c79e8,#2453d4)!important;color:#fff!important;border:0!important;min-width:170px!important}
[data-dc-page="payroll"] .v10494-employee-ops{border-radius:20px!important;padding:14px!important;background:#fff!important;border:1px solid var(--dc-line)!important;box-shadow:var(--dc-shadow)!important}
[data-dc-page="payroll"] .v10494-employee-ops .employee-tabs-1031{display:flex!important;gap:10px!important;flex-wrap:wrap!important}
[data-dc-page="payroll"] .v10494-op-tab{color:#fff!important;border:0!important;font-weight:900!important}
[data-dc-page="payroll"] .v10494-op-tab.expense{background:linear-gradient(135deg,#7b4dea,#6532ce)!important}
[data-dc-page="payroll"] .v10494-op-tab.advance{background:linear-gradient(135deg,#15b96c,#078e4c)!important}
[data-dc-page="payroll"] .v10494-op-row{border-radius:14px!important;padding:12px!important;border:0!important}

/* Ubicación visual */
[data-dc-page="locations"] .v10494-location .location-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
[data-dc-page="locations"] .v10494-location .location-stat{border:0!important;color:#fff!important;min-height:105px!important;box-shadow:0 10px 22px rgba(15,43,79,.10)!important}
[data-dc-page="locations"] .v10494-location .location-stat span,[data-dc-page="locations"] .v10494-location .location-stat b,[data-dc-page="locations"] .v10494-location .location-stat small{color:#fff!important}
[data-dc-page="locations"] .v10494-location-share{background:linear-gradient(135deg,#15b96c,#0b9654)!important;color:#fff!important;border:0!important}
[data-dc-page="locations"] .v10494-location-share h3,[data-dc-page="locations"] .v10494-location-share p,[data-dc-page="locations"] .v10494-location-share small,[data-dc-page="locations"] .v10494-location-share .eyebrow{color:#fff!important}
[data-dc-page="locations"] .v10494-location-share .location-live-state{background:rgba(255,255,255,.16)!important;color:#fff!important}
[data-dc-page="locations"] .v10494-map-card{border:1px solid #d9e5f2!important;box-shadow:0 12px 28px rgba(15,43,79,.09)!important;overflow:hidden!important}
[data-dc-page="locations"] .v10494-map-card .location-map-head{background:linear-gradient(135deg,#147fe9,#2855d7)!important;padding:14px 16px!important;margin:-1px -1px 0!important;color:#fff!important}
[data-dc-page="locations"] .v10494-map-card .location-map-head h3,[data-dc-page="locations"] .v10494-map-card .location-map-head small,[data-dc-page="locations"] .v10494-map-card .location-map-head .eyebrow{color:#fff!important}
[data-dc-page="locations"] .v10494-person-card{border:0!important;color:#fff!important;margin-bottom:8px!important}
[data-dc-page="locations"] .v10494-person-card b,[data-dc-page="locations"] .v10494-person-card small,[data-dc-page="locations"] .v10494-person-card .person-arrow{color:#fff!important}
[data-dc-page="locations"] .v10494-location-security{background:linear-gradient(135deg,#6c45d8,#4f2eb7)!important;color:#fff!important;border:0!important}
[data-dc-page="locations"] .v10494-location-security b,[data-dc-page="locations"] .v10494-location-security p{color:#fff!important}

@media(max-width:1180px){
  [data-dc-page="cards"] .card-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="payroll"] .v10494-benefit-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  [data-dc-page="cards"] .cards-summary-grid,[data-dc-page="cards"] .card-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="cards"] .card-portfolio-grid{grid-template-columns:1fr!important}
  [data-dc-page="payroll"] .v10494-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="locations"] .v10494-location .location-overview{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  [data-dc-page="cards"] .cards-summary-grid,[data-dc-page="cards"] .card-command-grid{grid-template-columns:1fr!important}
  [data-dc-page="payroll"] .v10494-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  [data-dc-page="payroll"] .v10494-employee-benefit-card summary{padding:11px!important;min-height:102px!important;display:block!important}
  [data-dc-page="payroll"] .v10494-employee-benefit-card summary .pill{margin-top:8px!important;display:inline-block!important}
}


/* 10.4.9.5 — Tarjetas: acciones por color + fotos reales disponibles */
[data-dc-page="cards"] .v10494-credit-card .card-enterprise-visual.has-photo{
  background:#eef3f8!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:12px!important;
}
[data-dc-page="cards"] .v10494-credit-card .card-enterprise-visual.has-photo .card-photo{
  width:auto!important;
  max-width:92%!important;
  height:136px!important;
  max-height:136px!important;
  object-fit:contain!important;
  border-radius:14px!important;
  box-shadow:0 12px 24px rgba(15,43,79,.18)!important;
}
[data-dc-page="cards"] .card-actions-enterprise,
[data-dc-page="cards"] .card-admin-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
}
[data-dc-page="cards"] .card-admin-actions{margin-top:8px!important}
[data-dc-page="cards"] .card-action-btn{
  min-height:38px!important;
  border:0!important;
  border-radius:11px!important;
  padding:9px 10px!important;
  font-weight:900!important;
  color:#fff!important;
  cursor:pointer!important;
  box-shadow:0 7px 15px rgba(15,43,79,.08)!important;
  transition:transform .16s ease,filter .16s ease!important;
}
[data-dc-page="cards"] .card-action-btn:hover{transform:translateY(-1px)!important;filter:brightness(1.04)!important}
[data-dc-page="cards"] .card-action-btn.expense{background:linear-gradient(135deg,#ef4444,#dc2626)!important}
[data-dc-page="cards"] .card-action-btn.payment{background:linear-gradient(135deg,#16b96b,#078e4c)!important}
[data-dc-page="cards"] .card-action-btn.edit{background:linear-gradient(135deg,#2489f5,#1764d7)!important}
[data-dc-page="cards"] .card-action-btn.toggle.deactivate{background:linear-gradient(135deg,#8b5cf6,#6d32d2)!important}
[data-dc-page="cards"] .card-action-btn.toggle.activate{background:linear-gradient(135deg,#14b8a6,#0f8f84)!important}
@media(max-width:720px){
  [data-dc-page="cards"] .card-actions-enterprise,
  [data-dc-page="cards"] .card-admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="cards"] .v10494-credit-card .card-enterprise-visual.has-photo .card-photo{height:118px!important;max-height:118px!important}
}

/* =============================================================
   DC CONTROL 10.4.9.6 — VISUAL PRO / ESTABILIDAD
   Correcciones permanentes: Tarjetas, Ubicación, Configuración.
   Solo presentación; no modifica lógica, datos ni permisos.
   ============================================================= */

/* --- Configuración: navegación unificada y Nuevo usuario grande --- */
.config-tabs-unified{
  display:grid!important;
  grid-template-columns:1fr 1.15fr 1fr 1.15fr!important;
  gap:14px!important;
  margin:16px 0 20px!important;
}
.config-tabs-unified .config-tab{
  min-height:98px!important;
  border-radius:18px!important;
  padding:16px 18px!important;
  display:flex!important;
  align-items:center!important;
  gap:14px!important;
  box-shadow:0 10px 24px rgba(15,43,79,.10)!important;
}
.config-tabs-unified .config-tab-newuser{
  background:linear-gradient(135deg,#147ff1,#195fd6)!important;
  color:#fff!important;
  border:0!important;
}
.config-tabs-unified .config-tab-newuser b,
.config-tabs-unified .config-tab-newuser small,
.config-tabs-unified .config-tab-newuser .tab-icon{color:#fff!important}
.config-tabs-unified .config-tab-newuser .tab-icon{background:rgba(255,255,255,.16)!important}

/* Usuarios: color individual suave/translúcido y legible */
.v10496-user-card,
.config-user-card{
  border:1px solid rgba(115,139,170,.18)!important;
  box-shadow:0 8px 20px rgba(15,43,79,.07)!important;
  backdrop-filter:saturate(115%) blur(2px);
}
.config-user-card.tone-blue,.v10496-user-tone-1{background:linear-gradient(135deg,rgba(37,132,245,.15),rgba(78,118,230,.08))!important}
.config-user-card.tone-green,.v10496-user-tone-2{background:linear-gradient(135deg,rgba(25,185,111,.15),rgba(15,158,136,.07))!important}
.config-user-card.tone-orange,.v10496-user-tone-3{background:linear-gradient(135deg,rgba(255,151,49,.16),rgba(241,111,18,.07))!important}
.config-user-card.tone-purple,.v10496-user-tone-4{background:linear-gradient(135deg,rgba(139,92,246,.15),rgba(102,51,210,.07))!important}
.config-user-card.tone-cyan,.v10496-user-tone-5{background:linear-gradient(135deg,rgba(6,182,212,.14),rgba(14,116,144,.06))!important}
.v10496-user-tone-6{background:linear-gradient(135deg,rgba(236,72,153,.13),rgba(190,24,93,.06))!important}
.v10496-user-tone-7{background:linear-gradient(135deg,rgba(234,179,8,.15),rgba(202,138,4,.06))!important}
.v10496-user-tone-8{background:linear-gradient(135deg,rgba(99,102,241,.14),rgba(67,56,202,.06))!important}
.config-user-card b,.config-user-card small,.config-user-card .config-role-label{color:#173452!important}
.config-user-card .config-edit-btn{background:rgba(255,255,255,.86)!important;color:#164e87!important;border:1px solid rgba(30,100,170,.16)!important}

/* Roles: tarjetas suaves, permisos incluidos en la misma sección */
.v10496-role-card{border:1px solid rgba(110,135,170,.18)!important;box-shadow:0 8px 18px rgba(15,43,79,.06)!important}
.v10496-role-tone-1{background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(255,255,255,.88))!important}
.v10496-role-tone-2{background:linear-gradient(135deg,rgba(16,185,129,.13),rgba(255,255,255,.88))!important}
.v10496-role-tone-3{background:linear-gradient(135deg,rgba(249,115,22,.13),rgba(255,255,255,.88))!important}
.v10496-role-tone-4{background:linear-gradient(135deg,rgba(124,58,237,.12),rgba(255,255,255,.88))!important}
.v10496-role-tone-5{background:linear-gradient(135deg,rgba(6,182,212,.12),rgba(255,255,255,.88))!important}

/* Auditoría: chips de alto contraste, texto siempre visible */
.v10496-audit-card .checks span,
.v1049-tech-card.tech-cyan .checks span{
  background:#0b5770!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.24)!important;
  box-shadow:none!important;
  font-weight:800!important;
}
.v10496-audit-card .pill,
.v1049-tech-card.tech-cyan .pill{background:rgba(5,64,84,.88)!important;color:#fff!important;border-color:rgba(255,255,255,.25)!important}

/* --- TARJETAS: diseño base permanente, sin depender de clase post-render --- */
.cards-shell .cards-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.cards-shell .cards-summary-grid>.metric{border:0!important;color:#fff!important;min-height:110px!important;padding:18px!important;box-shadow:0 12px 26px rgba(15,43,79,.10)!important}
.cards-shell .cards-summary-grid>.metric:nth-child(1){background:linear-gradient(135deg,#1987f4,#1d62d6)!important}
.cards-shell .cards-summary-grid>.metric:nth-child(2){background:linear-gradient(135deg,#13af72,#078e58)!important}
.cards-shell .cards-summary-grid>.metric:nth-child(3){background:linear-gradient(135deg,#ff952e,#e76c17)!important}
.cards-shell .cards-summary-grid>.metric:nth-child(4){background:linear-gradient(135deg,#8657eb,#6634cb)!important}
.cards-shell .cards-summary-grid>.metric span,.cards-shell .cards-summary-grid>.metric b,.cards-shell .cards-summary-grid>.metric small{color:#fff!important}
.cards-shell .card-command-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
.cards-shell .card-command{border:0!important;color:#fff!important;min-height:82px!important;box-shadow:0 8px 18px rgba(15,43,79,.08)!important}
.cards-shell .card-command.blue{background:linear-gradient(135deg,#1987f4,#1d62d6)!important}
.cards-shell .card-command.green{background:linear-gradient(135deg,#14b875,#078f58)!important}
.cards-shell .card-command.violet{background:linear-gradient(135deg,#8759ed,#6935ce)!important}
.cards-shell .card-command.orange{background:linear-gradient(135deg,#ff942f,#e96c14)!important}
.cards-shell .card-command span,.cards-shell .card-command b,.cards-shell .card-command small{color:#fff!important}
.cards-shell .card-portfolio-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
.cards-shell .card-account{margin:0!important;overflow:hidden!important;border:1px solid rgba(148,163,184,.22)!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(15,43,79,.09)!important;background:#fff!important}
.cards-shell .card-account .card-enterprise-visual.has-photo{background:#eef3f8!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;min-height:158px!important}
.cards-shell .card-account .card-enterprise-visual.has-photo .card-photo{width:auto!important;max-width:94%!important;height:136px!important;max-height:136px!important;object-fit:contain!important;border-radius:14px!important;box-shadow:0 12px 24px rgba(15,43,79,.18)!important}
.cards-shell .card-actions-enterprise,.cards-shell .card-admin-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.cards-shell .card-admin-actions{margin-top:8px!important}
.cards-shell .card-action-btn{min-height:38px!important;border:0!important;border-radius:11px!important;padding:9px 10px!important;font-weight:900!important;color:#fff!important;box-shadow:0 7px 15px rgba(15,43,79,.08)!important}
.cards-shell .card-action-btn.expense{background:linear-gradient(135deg,#ef4444,#dc2626)!important}
.cards-shell .card-action-btn.payment{background:linear-gradient(135deg,#16b96b,#078e4c)!important}
.cards-shell .card-action-btn.edit{background:linear-gradient(135deg,#2489f5,#1764d7)!important}
.cards-shell .card-action-btn.toggle.deactivate{background:linear-gradient(135deg,#8b5cf6,#6d32d2)!important}
.cards-shell .card-action-btn.toggle.activate{background:linear-gradient(135deg,#14b8a6,#0f8f84)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+1){border-left:5px solid #16a34a!important;background:#effcf5!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+2){border-left:5px solid #2563eb!important;background:#eef6ff!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+3){border-left:5px solid #e11d48!important;background:#fff1f4!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+4){border-left:5px solid #f59e0b!important;background:#fff8e9!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+5){border-left:5px solid #06b6d4!important;background:#ecfeff!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+6){border-left:5px solid #7c3aed!important;background:#f6f0ff!important}

/* --- UBICACIÓN: estilos permanentes directamente sobre clases de render --- */
.location-shell .location-overview{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
.location-shell .location-stat{border:0!important;border-radius:18px!important;min-height:104px!important;padding:18px!important;box-shadow:0 10px 24px rgba(15,43,79,.09)!important;color:#fff!important}
.location-shell .location-stat span,.location-shell .location-stat b,.location-shell .location-stat small{color:#fff!important}
.location-shell .location-tone-blue{background:linear-gradient(135deg,#1987f4,#1d62d6)!important}
.location-shell .location-tone-cyan{background:linear-gradient(135deg,#12aeb8,#147baf)!important}
.location-shell .location-share-card{background:linear-gradient(135deg,#fff,#f5f9ff)!important;border:1px solid #dbe7f4!important;color:#173452!important;box-shadow:0 10px 24px rgba(15,43,79,.07)!important}
.location-shell .location-share-card h3,.location-shell .location-share-card p,.location-shell .location-share-card small,.location-shell .location-share-card .eyebrow{color:#173452!important}
.location-shell .location-share-card .primary{background:linear-gradient(135deg,#147ff1,#2457d8)!important;color:#fff!important}
.location-shell .location-share-card .danger{background:linear-gradient(135deg,#ffe5e8,#ffd5da)!important;color:#c21d34!important;border-color:#ffb6c0!important}
.location-shell .live-map-card{border:1px solid #d9e5f2!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 12px 28px rgba(15,43,79,.09)!important;background:#fff!important}
.location-shell .live-map-card .location-map-head{background:linear-gradient(135deg,#5b4de4,#3d55d8)!important;padding:14px 16px!important;color:#fff!important}
.location-shell .live-map-card .location-map-head h3,.location-shell .live-map-card .location-map-head small,.location-shell .live-map-card .location-map-head .eyebrow{color:#fff!important}
.location-shell .location-person-stable:nth-child(6n+1){background:#eef6ff!important;border-left:5px solid #2584ef!important}
.location-shell .location-person-stable:nth-child(6n+2){background:#f1fdf8!important;border-left:5px solid #16a66a!important}
.location-shell .location-person-stable:nth-child(6n+3){background:#fff7ed!important;border-left:5px solid #f08b22!important}
.location-shell .location-person-stable:nth-child(6n+4){background:#f6f1ff!important;border-left:5px solid #7d4de3!important}
.location-shell .location-person-stable:nth-child(6n+5){background:#eefcff!important;border-left:5px solid #0ea5b7!important}
.location-shell .location-person-stable:nth-child(6n+6){background:#fff2f5!important;border-left:5px solid #e24268!important}
.location-shell .location-person-stable b,.location-shell .location-person-stable small,.location-shell .location-person-stable .person-arrow{color:#173452!important}
.location-shell .location-security-stable{background:linear-gradient(135deg,#6f4ddb,#4f39b8)!important;color:#fff!important;border:0!important}
.location-shell .location-security-stable b,.location-shell .location-security-stable p{color:#fff!important}

/* Coherencia general: evitar tarjetas visuales lavadas en módulos ya aprobados */
.v1049-page .v1049-card{border-radius:16px}
.v1049-page .section-title{gap:10px}
.v1049-page button{font-family:inherit}

@media(max-width:1180px){
  .config-tabs-unified{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cards-shell .card-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:820px){
  .cards-shell .cards-summary-grid,.cards-shell .card-command-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .cards-shell .card-portfolio-grid{grid-template-columns:1fr!important}
  .location-shell .location-overview{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .config-tabs-unified{grid-template-columns:1fr 1fr!important;gap:8px!important}
  .config-tabs-unified .config-tab{min-height:86px!important;padding:12px!important}
  .cards-shell .cards-summary-grid,.cards-shell .card-command-grid{grid-template-columns:1fr 1fr!important;gap:8px!important}
}

/* =============================================================
   DC CONTROL 10.4.9.7 — VISUAL PRO REFINADO
   Tarjetas uniformes + Buscar/Capturar con iconografía circular.
   Solo presentación; no modifica lógica, datos ni permisos.
   ============================================================= */

/* --- TARJETAS DE CRÉDITO: una sola familia visual, 3 tonos elegantes --- */
[data-dc-page="cards"] .uniform-card-face{
  min-height:154px!important;
  padding:14px!important;
  display:flex!important;
  align-items:stretch!important;
  justify-content:stretch!important;
  border-radius:16px 16px 0 0!important;
  overflow:hidden!important;
  position:relative!important;
}
[data-dc-page="cards"] .uniform-card-face.card-face-blue{background:linear-gradient(145deg,#214f95,#18366a)!important}
[data-dc-page="cards"] .uniform-card-face.card-face-silver{background:linear-gradient(145deg,#d8dee8,#8f9caf)!important}
[data-dc-page="cards"] .uniform-card-face.card-face-red{background:linear-gradient(145deg,#cf263b,#871d30)!important}
[data-dc-page="cards"] .uniform-card-face .generic-card-art{
  width:100%!important;
  min-height:126px!important;
  border-radius:14px!important;
  padding:18px 20px!important;
  display:grid!important;
  grid-template-columns:1fr auto!important;
  grid-template-rows:auto 1fr auto!important;
  align-items:start!important;
  gap:5px 12px!important;
  background:linear-gradient(135deg,rgba(255,255,255,.12),rgba(255,255,255,.025))!important;
  border:1px solid rgba(255,255,255,.22)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.18),0 12px 25px rgba(15,43,79,.14)!important;
  position:relative!important;
}
[data-dc-page="cards"] .uniform-card-face .generic-card-art:before{
  content:"";position:absolute;right:-28px;bottom:-42px;width:140px;height:140px;border-radius:50%;
  background:rgba(255,255,255,.08)
}
[data-dc-page="cards"] .uniform-card-face .generic-card-art span,
[data-dc-page="cards"] .uniform-card-face .generic-card-art b,
[data-dc-page="cards"] .uniform-card-face .generic-card-art small,
[data-dc-page="cards"] .uniform-card-face .generic-card-art i{color:#fff!important;position:relative;z-index:1}
[data-dc-page="cards"] .uniform-card-face.card-face-silver .generic-card-art span,
[data-dc-page="cards"] .uniform-card-face.card-face-silver .generic-card-art b,
[data-dc-page="cards"] .uniform-card-face.card-face-silver .generic-card-art small,
[data-dc-page="cards"] .uniform-card-face.card-face-silver .generic-card-art i{color:#1f334d!important}
[data-dc-page="cards"] .uniform-card-face .generic-card-art span{font-size:12px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
[data-dc-page="cards"] .uniform-card-face .generic-card-art b{grid-column:1/-1!important;align-self:center!important;font-size:20px!important;letter-spacing:.02em!important}
[data-dc-page="cards"] .uniform-card-face .generic-card-art small{font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important}
[data-dc-page="cards"] .uniform-card-face .generic-card-art i{grid-column:2!important;grid-row:1!important;font-size:24px!important;font-style:normal!important;opacity:.92!important}
[data-dc-page="cards"] .uniform-card-face .card-status-dot{background:rgba(255,255,255,.90)!important;color:#16734d!important;border:1px solid rgba(255,255,255,.75)!important;font-weight:900!important}
[data-dc-page="cards"] .uniform-card-face .card-status-dot.off{color:#923044!important}

/* --- BUSCAR: azul + rojo + verde, una sola familia de iconos circulares --- */
[data-dc-page="search"] .v1049-search-title-card{position:relative!important;background:linear-gradient(135deg,#147ff1,#2358d8)!important;padding:22px 22px 22px 82px!important;text-align:left!important}
[data-dc-page="search"] .v1049-search-title-card:before{
  content:"⌕";position:absolute;left:22px;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;font-size:25px;font-weight:900
}
[data-dc-page="search"] .v1049-search-card{background:linear-gradient(135deg,#ef476f,#d92b55)!important;padding:12px 14px!important}
[data-dc-page="search"] .v1049-search-icon,
[data-dc-page="search"] .v1049-search-submit span{
  width:40px!important;height:40px!important;border-radius:50%!important;display:grid!important;place-items:center!important;
  background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important;padding:0!important;font-size:22px!important
}
[data-dc-page="search"] .v1049-search-submit{background:#0ea66e!important;min-width:132px!important}
[data-dc-page="search"] .v1049-search-submit span{width:30px!important;height:30px!important;font-size:17px!important}
[data-dc-page="search"] .v1049-search-results>.empty:first-child,
[data-dc-page="search"] .v1049-search-hint{position:relative!important;background:linear-gradient(135deg,#12b981,#078f67)!important;padding-left:68px!important;text-align:left!important}
[data-dc-page="search"] .v1049-search-results>.empty:first-child:before,
[data-dc-page="search"] .v1049-search-hint:before{
  content:"i";position:absolute;left:18px;top:50%;transform:translateY(-50%);width:36px;height:36px;border-radius:50%;
  display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff;font-weight:900;font-style:normal
}

/* --- CAPTURAR / CHATGPT: tarjeta principal sólida + acciones coherentes --- */
[data-dc-page="capture"] .v1049-capture-page{max-width:1180px!important}
[data-dc-page="capture"] .v1049-capture-page>.eyebrow{display:block!important;color:#1966c5!important;margin-bottom:6px!important}
[data-dc-page="capture"] .v1049-capture-page>h2{margin:0 0 6px!important;color:#173452!important}
[data-dc-page="capture"] .capture-only-actions{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin-top:18px!important
}
[data-dc-page="capture"] .v1049-action-tile{
  min-height:92px!important;border:0!important;border-radius:18px!important;padding:16px 18px!important;color:#fff!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;text-align:left!important;
  box-shadow:0 10px 24px rgba(15,43,79,.10)!important;font-weight:900!important
}
[data-dc-page="capture"] .v1049-action-tile:before{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);
  color:#fff;font-size:20px;flex:0 0 auto
}
[data-dc-page="capture"] #pasteAiBtn{
  grid-column:1/-1!important;order:-1!important;min-height:104px!important;background:linear-gradient(135deg,#147ff1,#2554d4)!important;font-size:18px!important
}
[data-dc-page="capture"] #pasteAiBtn:before{content:"✦"}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(1){background:linear-gradient(135deg,#ef476f,#d92b55)!important}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(1):before{content:"◉"}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(2){background:linear-gradient(135deg,#0fb77c,#078e63)!important}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(2):before{content:"▣"}
[data-dc-page="capture"] #manualMovementBtn{background:linear-gradient(135deg,#ff9634,#e36f1d)!important}
[data-dc-page="capture"] #manualMovementBtn:before{content:"✎"}
[data-dc-page="capture"] .v1049-action-tile input{display:none!important}
[data-dc-page="capture"] .v1049-info-card{background:linear-gradient(135deg,#12b981,#078f67)!important;color:#fff!important;border:0!important;border-radius:16px!important;min-height:64px!important;display:flex!important;align-items:center!important;padding:14px 18px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(7,143,103,.14)!important}
[data-dc-page="capture"] .v1049-master-rule{background:linear-gradient(135deg,#f1b93d,#d98c14)!important;color:#fff!important;border:0!important;border-radius:18px!important;box-shadow:0 10px 24px rgba(217,140,20,.14)!important}
[data-dc-page="capture"] .v1049-master-rule b,[data-dc-page="capture"] .v1049-master-rule p{color:#fff!important}

@media(max-width:820px){
  [data-dc-page="capture"] .capture-only-actions{grid-template-columns:1fr!important}
  [data-dc-page="capture"] #pasteAiBtn{grid-column:auto!important}
  [data-dc-page="search"] .v1049-search-title-card{padding:20px 16px 20px 68px!important}
  [data-dc-page="search"] .v1049-search-title-card:before{left:16px!important;width:38px;height:38px}
}


/* =============================================================
   DC CONTROL 10.4.9.8 — VISUAL PRO FINAL
   Ajustes finales: Buscar/Capturar coherentes, agenda visual y nómina en tarjetas.
   Solo presentación.
   ============================================================= */

:root{
  --dc-blue:#147ff1; --dc-blue2:#2358d8; --dc-green:#16b96b; --dc-green2:#07915b;
  --dc-red:#ef476f; --dc-red2:#d92b55; --dc-purple:#7547e8; --dc-purple2:#5632c7;
  --dc-orange:#ff922f; --dc-orange2:#e46f1b; --dc-cyan:#20b8c8; --dc-slate:#51657f;
}

/* Buscar: mismo sistema de color del dashboard + iconos circulares */
[data-dc-page="search"] .v1049-search-title-card{background:linear-gradient(135deg,var(--dc-blue),var(--dc-blue2))!important}
[data-dc-page="search"] .v1049-search-card{background:linear-gradient(135deg,var(--dc-red),var(--dc-red2))!important}
[data-dc-page="search"] .v1049-search-submit{background:linear-gradient(135deg,var(--dc-green),var(--dc-green2))!important}
[data-dc-page="search"] .v1049-search-results>.empty:first-child,
[data-dc-page="search"] .v1049-search-hint{background:linear-gradient(135deg,var(--dc-green),var(--dc-green2))!important}
[data-dc-page="search"] .v1049-search-title-card:before,
[data-dc-page="search"] .v1049-search-icon,
[data-dc-page="search"] .v1049-search-submit span,
[data-dc-page="search"] .v1049-search-hint:before{box-shadow:inset 0 1px rgba(255,255,255,.22)!important}

/* Capturar: sólidos, círculos y Regla maestra morada */
[data-dc-page="capture"] #pasteAiBtn{background:linear-gradient(135deg,var(--dc-blue),var(--dc-blue2))!important}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(1){background:linear-gradient(135deg,var(--dc-green),var(--dc-green2))!important}
[data-dc-page="capture"] label.v1049-action-tile:nth-of-type(2){background:linear-gradient(135deg,#26b8cf,#1689b5)!important}
[data-dc-page="capture"] #manualMovementBtn{background:linear-gradient(135deg,var(--dc-red),var(--dc-red2))!important}
[data-dc-page="capture"] .v1049-action-tile:before{box-shadow:inset 0 1px rgba(255,255,255,.22)!important}
[data-dc-page="capture"] .v1049-info-card{background:linear-gradient(135deg,var(--dc-green),var(--dc-green2))!important}
[data-dc-page="capture"] .v1049-master-rule,
[data-dc-page="capture"] .v10498-master-purple{background:linear-gradient(135deg,var(--dc-purple),var(--dc-purple2))!important;box-shadow:0 10px 24px rgba(86,50,199,.18)!important}

/* Tarjetas: agenda y actividad con tarjetas visuales */
[data-dc-page="cards"] .card-next-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
[data-dc-page="cards"] .v10498-next-payment{border:0!important;border-radius:15px!important;padding:13px 14px!important;min-height:82px!important;box-shadow:0 8px 20px rgba(15,43,79,.08)!important}
[data-dc-page="cards"] .v10498-next-payment *{position:relative;z-index:1}
[data-dc-page="cards"] .v10498-next-payment b,[data-dc-page="cards"] .v10498-next-payment strong,[data-dc-page="cards"] .v10498-next-payment small{color:#fff!important}
[data-dc-page="cards"] .v10498-next-payment .card-next-logo{background:rgba(255,255,255,.18)!important;color:#fff!important;border-radius:50%!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;font-weight:900!important}
[data-dc-page="cards"] .v10498-next-tone-1{background:linear-gradient(135deg,#177fea,#2257d5)!important}
[data-dc-page="cards"] .v10498-next-tone-2{background:linear-gradient(135deg,#4d5a6c,#293544)!important}
[data-dc-page="cards"] .v10498-next-tone-3{background:linear-gradient(135deg,#e9425f,#bc2544)!important}
[data-dc-page="cards"] .v10498-next-tone-4{background:linear-gradient(135deg,#16b96b,#078c5a)!important}
[data-dc-page="cards"] .v10498-last-movement{border-radius:14px!important;border:0!important;box-shadow:0 6px 16px rgba(15,43,79,.07)!important}
[data-dc-page="cards"] .v10498-last-movement.is-payment{border-left:6px solid #16b96b!important;background:#eefbf5!important}
[data-dc-page="cards"] .v10498-last-movement.is-expense{border-left:6px solid #ef476f!important;background:#fff1f4!important}
[data-dc-page="cards"] .v10498-last-movement.is-opening{border-left:6px solid #147ff1!important;background:#eef6ff!important}

/* Nómina: acciones superiores hermanas */
[data-dc-page="payroll"] .v10498-payroll-head-actions{display:grid!important;grid-template-columns:repeat(2,minmax(170px,1fr))!important;gap:10px!important;min-width:min(420px,100%)!important}
[data-dc-page="payroll"] .v10498-top-action{min-height:54px!important;border:0!important;border-radius:14px!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 18px rgba(15,43,79,.10)!important}
[data-dc-page="payroll"] .v10498-top-action.employee{background:linear-gradient(135deg,#20b8c8,#138da7)!important}
[data-dc-page="payroll"] .v10498-top-action.payroll{background:linear-gradient(135deg,var(--dc-purple),var(--dc-purple2))!important}

/* Nómina: tabla convertida visualmente a tarjetas, 4 por fila */
[data-dc-page="payroll"] .v10498-payroll-grid-wrap{overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
[data-dc-page="payroll"] .v10498-payroll-grid-wrap table{display:block!important;width:100%!important}
[data-dc-page="payroll"] .v10498-payroll-grid-wrap thead{display:none!important}
[data-dc-page="payroll"] .v10498-payroll-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
[data-dc-page="payroll"] .v10498-payroll-card{display:flex!important;flex-direction:column!important;gap:7px!important;padding:14px!important;border:0!important;border-radius:16px!important;min-width:0!important;box-shadow:0 8px 20px rgba(15,43,79,.08)!important;overflow:hidden!important}
[data-dc-page="payroll"] .v10498-payroll-card td{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;padding:0!important;border:0!important;color:#173452!important;font-size:12px!important}
[data-dc-page="payroll"] .v10498-payroll-card td:before{content:attr(data-label);font-size:10px!important;text-transform:uppercase!important;letter-spacing:.06em!important;color:#6f8197!important;font-weight:900!important;flex:0 0 auto!important}
[data-dc-page="payroll"] .v10498-payroll-card td[data-label="Empleado"]{font-size:14px!important;font-weight:900!important;margin-bottom:2px!important}
[data-dc-page="payroll"] .v10498-payroll-card td[data-label="Empleado"]:before{content:""!important;display:none!important}
[data-dc-page="payroll"] .v10498-payroll-card td[data-label="Total"]{font-size:18px!important;font-weight:900!important;color:#102d50!important}
[data-dc-page="payroll"] .v10498-payroll-card td[data-label="Acción"]{margin-top:auto!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}
[data-dc-page="payroll"] .v10498-payroll-card td[data-label="Acción"]:before{display:none!important}
[data-dc-page="payroll"] .v10498-payroll-btn{border:0!important;border-radius:9px!important;padding:8px 10px!important;color:#fff!important;font-weight:900!important;width:100%!important}
[data-dc-page="payroll"] .v10498-payroll-btn.pay{background:linear-gradient(135deg,#16b96b,#078f5d)!important}
[data-dc-page="payroll"] .v10498-payroll-btn.edit{background:linear-gradient(135deg,#147ff1,#2358d8)!important}
[data-dc-page="payroll"] .v10498-paid-static{grid-column:1/-1!important;background:#e9f9f1!important;color:#07885a!important;border-radius:9px!important;padding:8px 10px!important;font-weight:900!important;text-align:center!important}
[data-dc-page="payroll"] .v10498-pay-tone-1{background:linear-gradient(135deg,#edf6ff,#dcecff)!important}
[data-dc-page="payroll"] .v10498-pay-tone-2{background:linear-gradient(135deg,#eefbf5,#daf4e8)!important}
[data-dc-page="payroll"] .v10498-pay-tone-3{background:linear-gradient(135deg,#f5efff,#e8dcff)!important}
[data-dc-page="payroll"] .v10498-pay-tone-4{background:linear-gradient(135deg,#fff4e9,#ffe4ca)!important}
[data-dc-page="payroll"] .v10498-pay-tone-5{background:linear-gradient(135deg,#eaf9fb,#d4f0f4)!important}
[data-dc-page="payroll"] .v10498-pay-tone-6{background:linear-gradient(135deg,#fff0f3,#ffdde5)!important}
[data-dc-page="payroll"] .v10498-pay-tone-7{background:linear-gradient(135deg,#f1f5fa,#e0e7ef)!important}
[data-dc-page="payroll"] .v10498-pay-tone-8{background:linear-gradient(135deg,#f4f2ff,#e6e2ff)!important}

@media(max-width:1180px){
  [data-dc-page="payroll"] .v10498-payroll-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:820px){
  [data-dc-page="cards"] .card-next-list{grid-template-columns:1fr!important}
  [data-dc-page="payroll"] .v10498-payroll-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  [data-dc-page="payroll"] .v10498-payroll-head-actions{grid-template-columns:1fr 1fr!important;min-width:0!important;width:100%!important}
}
@media(max-width:480px){
  [data-dc-page="payroll"] .v10498-payroll-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  [data-dc-page="payroll"] .v10498-payroll-card{padding:10px!important}
  [data-dc-page="payroll"] .v10498-payroll-card td{font-size:11px!important;display:block!important}
  [data-dc-page="payroll"] .v10498-payroll-card td:before{display:block!important;margin-bottom:2px!important}
  [data-dc-page="payroll"] .v10498-payroll-card td[data-label="Empleado"]:before{display:none!important}
  [data-dc-page="payroll"] .v10498-payroll-head-actions{gap:8px!important}
  [data-dc-page="payroll"] .v10498-top-action{min-height:48px!important;font-size:12px!important;padding:10px!important}
}

/* =============================================================
   DC CONTROL 10.4.9.9 — CIERRE VISUAL DEL DÍA
   Buscar/Capturar unificados, Rutas compactas y Agregar tarjeta compacto.
   Solo presentación.
   ============================================================= */

/* Buscar + Capturar: misma familia visual */
[data-dc-page="search"] .v1049-search-title-card,
[data-dc-page="capture"] #pasteAiBtn{
  min-height:96px!important;
  border-radius:20px!important;
  box-shadow:0 12px 28px rgba(17,74,180,.16)!important;
}
[data-dc-page="search"] .v1049-search-title-card:before,
[data-dc-page="search"] .v1049-search-icon,
[data-dc-page="search"] .v1049-search-hint:before,
[data-dc-page="capture"] .v1049-action-tile:before,
[data-dc-page="capture"] #pasteAiBtn:before{
  width:42px!important;height:42px!important;border-radius:50%!important;
  background:rgba(255,255,255,.16)!important;color:#fff!important;
  display:grid!important;place-items:center!important;
  border:1px solid rgba(255,255,255,.22)!important;
}
[data-dc-page="search"] .v1049-search-card,
[data-dc-page="capture"] .v1049-action-tile,
[data-dc-page="capture"] .v1049-info-card,
[data-dc-page="capture"] .v1049-master-rule{
  border-radius:18px!important;
  box-shadow:0 10px 22px rgba(15,43,79,.10)!important;
}
[data-dc-page="search"] .v1049-search-card{min-height:76px!important;padding:10px 12px!important}
[data-dc-page="search"] .v1049-search-hint{min-height:72px!important;border-radius:18px!important;display:flex!important;align-items:center!important;justify-content:center!important}
[data-dc-page="capture"] .capture-only-actions{gap:12px!important}
[data-dc-page="capture"] .v1049-action-tile{min-height:88px!important;padding:14px 16px!important}
[data-dc-page="capture"] .v1049-info-card{min-height:72px!important}
[data-dc-page="capture"] .v1049-master-rule{min-height:88px!important;padding:16px 18px!important}
[data-dc-page="capture"] .v1049-master-rule,[data-dc-page="capture"] .v10498-master-purple{background:linear-gradient(135deg,#7547e8,#5632c7)!important}

/* Rutas: acciones superiores gemelas y controles compactos */
[data-dc-page="routes"] .route-main-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:16px!important;align-items:center!important}
[data-dc-page="routes"] .route-main-actions1047{display:grid!important;grid-template-columns:repeat(2,minmax(165px,1fr))!important;gap:10px!important;min-width:360px!important}
[data-dc-page="routes"] .route-main-actions1047 .route-new-btn,
[data-dc-page="routes"] .route-main-actions1047 #routePoints1046{
  width:100%!important;min-height:54px!important;border-radius:14px!important;border:0!important;color:#fff!important;font-weight:900!important;box-shadow:0 8px 18px rgba(15,43,79,.10)!important
}
[data-dc-page="routes"] .route-main-actions1047 .route-new-btn{background:linear-gradient(135deg,#147ff1,#2358d8)!important}
[data-dc-page="routes"] .route-main-actions1047 #routePoints1046{background:linear-gradient(135deg,#7547e8,#5632c7)!important}
[data-dc-page="routes"] .route-control-card{
  width:66.666%!important;max-width:none!important;margin-top:12px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important
}
[data-dc-page="routes"] .route-control-card button{
  min-height:92px!important;border:0!important;border-radius:18px!important;color:#fff!important;font-weight:900!important;box-shadow:0 10px 22px rgba(15,43,79,.10)!important;margin:0!important
}
[data-dc-page="routes"] #openLiveLocationFromRoutes{background:linear-gradient(135deg,#20b8c8,#138da7)!important}
[data-dc-page="routes"] #openRouteHistory1045{background:linear-gradient(135deg,#ff922f,#e46f1b)!important;color:#fff!important}

/* Tarjetas: Agregar tarjeta compacto, alineado arriba */
[data-dc-page="cards"] .cards-hero-head{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(210px,250px)!important;gap:16px!important;align-items:center!important
}
[data-dc-page="cards"] #addCardBtn{
  width:100%!important;min-height:76px!important;border-radius:16px!important;border:0!important;
  background:linear-gradient(135deg,#147ff1,#2358d8)!important;color:#fff!important;font-weight:900!important;
  box-shadow:0 10px 22px rgba(20,127,241,.16)!important;margin:0!important
}
[data-dc-page="cards"] .cards-summary-grid{margin-top:10px!important}

@media(max-width:820px){
  [data-dc-page="routes"] .route-main-head{grid-template-columns:1fr!important}
  [data-dc-page="routes"] .route-main-actions1047{grid-template-columns:1fr 1fr!important;min-width:0!important;width:100%!important}
  [data-dc-page="routes"] .route-control-card{width:100%!important;grid-template-columns:1fr 1fr!important}
  [data-dc-page="routes"] .route-control-card button{min-height:72px!important}
  [data-dc-page="cards"] .cards-hero-head{grid-template-columns:1fr!important}
  [data-dc-page="cards"] #addCardBtn{min-height:54px!important}
}

/* 10.4.9.10 — cierre visual integral: Compras/Pedidos + Captura manual */
:root{
  --v104910-blue:#1687ff;--v104910-green:#17b978;--v104910-purple:#7c4ce0;
  --v104910-red:#ef476f;--v104910-orange:#f28a24;--v104910-cyan:#19a9c7;
}

/* Compras y pedidos: misma familia visual que el dashboard */
[data-dc-page="purchases"] .exec-head{align-items:stretch!important;gap:14px!important}
[data-dc-page="purchases"] .exec-head>div:last-child{display:grid!important;grid-template-columns:repeat(2,minmax(180px,1fr))!important;gap:10px!important;min-width:min(440px,42vw)!important}
[data-dc-page="purchases"] #catalogImport104,
[data-dc-page="purchases"] #purchaseNew104,
[data-dc-page="purchases"] #orderNew104{
  border:0!important;color:#fff!important;border-radius:18px!important;min-height:72px!important;padding:12px 16px!important;
  box-shadow:0 10px 24px rgba(15,43,79,.11)!important;font-weight:900!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;text-align:left!important;
}
[data-dc-page="purchases"] #catalogImport104{background:linear-gradient(135deg,var(--v104910-purple),#6635d6)!important}
[data-dc-page="purchases"] #purchaseNew104{background:linear-gradient(135deg,var(--v104910-blue),#1766e8)!important}
[data-dc-page="purchases"] #orderNew104{background:linear-gradient(135deg,var(--v104910-green),#079a63)!important}
[data-dc-page="purchases"] .v104910-icon-ring,
.manual-movement-sheet .v104910-icon-ring,
.capture-classification .v104910-icon-ring,
.wide104 .v104910-icon-ring{
  width:38px;height:38px;border-radius:50%;display:grid;place-items:center;flex:0 0 38px;
  background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.26);color:#fff;font-size:18px;font-style:normal;
}
[data-dc-page="purchases"] .tabs104{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin:14px 0 18px!important;overflow:visible!important}
[data-dc-page="purchases"] .tabs104 button{
  min-height:76px!important;border:0!important;border-radius:18px!important;color:#fff!important;padding:12px 14px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(15,43,79,.09)!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:flex-start!important;text-align:left!important;
}
[data-dc-page="purchases"] .tabs104 button:nth-child(1){background:linear-gradient(135deg,var(--v104910-blue),#2867dc)!important}
[data-dc-page="purchases"] .tabs104 button:nth-child(2){background:linear-gradient(135deg,var(--v104910-green),#0c9861)!important}
[data-dc-page="purchases"] .tabs104 button:nth-child(3){background:linear-gradient(135deg,var(--v104910-purple),#6537cc)!important}
[data-dc-page="purchases"] .tabs104 button.active{outline:3px solid rgba(12,40,80,.12)!important;transform:translateY(-1px)!important}
[data-dc-page="purchases"] .tabs104 button .v104910-icon-ring{width:34px;height:34px;flex-basis:34px;font-size:16px}
[data-dc-page="purchases"] .report-cards .report-card,
[data-dc-page="purchases"] .grid2 .metric{border:0!important;color:#fff!important}

/* Overlays de compras/pedidos */
.wide104 #ciAnalyze,.wide104 #piAnalyze,.wide104 #poSave{
  border:0!important;color:#fff!important;border-radius:16px!important;min-height:52px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(15,43,79,.10)!important;
}
.wide104 #ciAnalyze{background:linear-gradient(135deg,var(--v104910-purple),#6234cc)!important}
.wide104 #piAnalyze{background:linear-gradient(135deg,var(--v104910-blue),#1766e8)!important}
.wide104 #poSave{background:linear-gradient(135deg,var(--v104910-green),#079a63)!important}
.wide104 .preview104>div{border-left:4px solid var(--v104910-blue)!important;background:#f8fbff!important}
.wide104 .order-row104{background:#fff!important;box-shadow:0 7px 18px rgba(15,43,79,.06)!important}

/* Captura manual: cuatro tipos siempre visibles por color, con círculo común */
.manual-movement-sheet .manual-type-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.manual-movement-sheet .manual-type,
.capture-classification .manual-type{
  border:0!important;color:#fff!important;border-radius:18px!important;min-height:96px!important;padding:14px!important;
  box-shadow:0 9px 22px rgba(15,43,79,.10)!important;display:grid!important;grid-template-columns:40px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:10px!important;align-items:center!important;text-align:left!important;
}
.manual-movement-sheet .manual-type[data-manual-type="Ingreso"],.capture-classification .manual-type[data-mtype="Ingreso"]{background:linear-gradient(135deg,var(--v104910-green),#089b62)!important}
.manual-movement-sheet .manual-type[data-manual-type="Gasto"],.capture-classification .manual-type[data-mtype="Gasto"]{background:linear-gradient(135deg,var(--v104910-red),#d9365d)!important}
.manual-movement-sheet .manual-type[data-manual-type="Pago"],.capture-classification .manual-type[data-mtype="Pago"]{background:linear-gradient(135deg,var(--v104910-purple),#6537cc)!important}
.manual-movement-sheet .manual-type[data-manual-type="Transferencia"]{background:linear-gradient(135deg,var(--v104910-cyan),#1388aa)!important}
.manual-movement-sheet .manual-type b,.capture-classification .manual-type b{color:#fff!important;font-size:14px!important;align-self:end!important}
.manual-movement-sheet .manual-type small,.capture-classification .manual-type small{color:rgba(255,255,255,.88)!important;font-size:10px!important;grid-column:2!important;align-self:start!important}
.manual-movement-sheet .manual-type .v104910-icon-ring,.capture-classification .manual-type .v104910-icon-ring{grid-row:1/3!important;width:40px;height:40px;flex-basis:40px}
.manual-movement-sheet .manual-type.active,.capture-classification .manual-type.active{outline:3px solid rgba(8,47,93,.18)!important;transform:translateY(-1px)!important;box-shadow:0 12px 26px rgba(15,43,79,.14)!important}
.manual-movement-sheet .manual-type:hover,.capture-classification .manual-type:hover{filter:brightness(1.03)}

/* Campos del modal manual más ordenados */
.manual-movement-sheet #manualCategoryWrap,.manual-movement-sheet #manualAccountWrap,.manual-movement-sheet #manualSupplierLabel,.manual-movement-sheet .form-grid,.manual-movement-sheet>label{margin-top:10px!important}
.manual-movement-sheet #manualSecurity{border-radius:14px!important;background:#eef8ff!important;border-color:#cfe7fb!important;color:#23506f!important}

@media(max-width:900px){
 [data-dc-page="purchases"] .exec-head{display:block!important}
 [data-dc-page="purchases"] .exec-head>div:last-child{min-width:0!important;grid-template-columns:1fr 1fr!important;margin-top:10px!important}
 [data-dc-page="purchases"] .tabs104{grid-template-columns:1fr!important}
 .manual-movement-sheet .manual-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 [data-dc-page="purchases"] .exec-head>div:last-child{grid-template-columns:1fr!important}
 .manual-movement-sheet .manual-type-grid,.capture-classification .manual-type-grid{grid-template-columns:1fr!important}
}


/* =============================================================
   DC CONTROL 10.4.9.11 — VISUAL PRO HOMOLOGADA
   Inicio como referencia maestra: gradiente + círculo decorativo.
   ============================================================= */
:root{
  --v104911-blue1:#178bf5;--v104911-blue2:#075ec6;
  --v104911-green1:#21bd73;--v104911-green2:#079c55;
  --v104911-purple1:#8758ef;--v104911-purple2:#6335cf;
  --v104911-red1:#ef5777;--v104911-red2:#cb3156;
  --v104911-cyan1:#26b7c8;--v104911-cyan2:#148da7;
  --v104911-orange1:#f4a04a;--v104911-orange2:#df751d;
}
.v104911-home-card,.v104911-action-card,.v104911-route-tool{position:relative!important;overflow:hidden!important;border:0!important;color:#fff!important;box-shadow:0 12px 26px rgba(18,54,96,.12)!important}
.v104911-home-card:after,.v104911-action-card:after,.v104911-route-tool:after,.v104911-next-payment:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.tone-blue{background:linear-gradient(135deg,var(--v104911-blue1),var(--v104911-blue2))!important}.tone-green{background:linear-gradient(135deg,var(--v104911-green1),var(--v104911-green2))!important}.tone-purple{background:linear-gradient(135deg,var(--v104911-purple1),var(--v104911-purple2))!important}.tone-red{background:linear-gradient(135deg,var(--v104911-red1),var(--v104911-red2))!important}.tone-cyan{background:linear-gradient(135deg,var(--v104911-cyan1),var(--v104911-cyan2))!important}.tone-orange{background:linear-gradient(135deg,var(--v104911-orange1),var(--v104911-orange2))!important}
.v104911-home-card *,.v104911-action-card *,.v104911-route-tool *{color:#fff!important;position:relative;z-index:1}
.v104911-icon-ring{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;flex:0 0 38px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);color:#fff!important;font-style:normal}

/* Buscar: misma construcción visual que Inicio */
[data-dc-page="search"] .v1049-search-title-card,[data-dc-page="search"] .v1049-search-card,[data-dc-page="search"] .v1049-search-hint{border-radius:18px!important}
[data-dc-page="search"] .v1049-search-title-card{min-height:104px!important;padding:18px 24px 18px 82px!important}
[data-dc-page="search"] .v1049-search-title-card:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13)!important}
[data-dc-page="search"] .v1049-search-title-card:before{z-index:2!important}
[data-dc-page="search"] .v1049-search-card{min-height:88px!important;box-shadow:0 12px 26px rgba(18,54,96,.12)!important}
[data-dc-page="search"] .v1049-search-card:after,[data-dc-page="search"] .v1049-search-hint:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13)}
[data-dc-page="search"] .v1049-search-card,[data-dc-page="search"] .v1049-search-hint{position:relative!important;overflow:hidden!important}

/* Capturar: exactamente la familia de tarjetas de Inicio */
[data-dc-page="capture"] #pasteAiBtn,[data-dc-page="capture"] .v1049-action-tile,[data-dc-page="capture"] .v1049-info-card,[data-dc-page="capture"] .v1049-master-rule{min-height:104px!important;border-radius:18px!important;padding:18px!important;position:relative!important;overflow:hidden!important;box-shadow:0 12px 26px rgba(18,54,96,.12)!important}
[data-dc-page="capture"] #pasteAiBtn:after,[data-dc-page="capture"] .v1049-action-tile:after,[data-dc-page="capture"] .v1049-info-card:after,[data-dc-page="capture"] .v1049-master-rule:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13)!important;pointer-events:none}
[data-dc-page="capture"] #pasteAiBtn,[data-dc-page="capture"] .v1049-action-tile,[data-dc-page="capture"] .v1049-info-card,[data-dc-page="capture"] .v1049-master-rule{color:#fff!important}
[data-dc-page="capture"] #pasteAiBtn *,[data-dc-page="capture"] .v1049-action-tile *,[data-dc-page="capture"] .v1049-info-card *,[data-dc-page="capture"] .v1049-master-rule *{color:#fff!important;position:relative;z-index:2}
[data-dc-page="capture"] .capture-only-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Rutas: herramientas con mismo detalle de círculo superior */
[data-dc-page="routes"] .route-control-card button{position:relative!important;overflow:hidden!important;display:flex!important;align-items:center!important;gap:12px!important;justify-content:flex-start!important;padding:16px 18px!important;text-align:left!important}
[data-dc-page="routes"] .route-control-card button:after{content:"";position:absolute;right:-28px;top:-32px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.13)!important}
[data-dc-page="routes"] .route-control-card button .v104911-icon-ring{position:relative;z-index:2}

/* Próximos pagos: color estable incluso tras re-render */
[data-dc-page="cards"] .card-next-row{position:relative!important;overflow:hidden!important;border:0!important;border-radius:15px!important;padding:13px 14px!important;min-height:82px!important;box-shadow:0 8px 20px rgba(15,43,79,.08)!important;color:#fff!important}
[data-dc-page="cards"] .card-next-row:nth-child(4n+1){background:linear-gradient(135deg,#177fea,#2257d5)!important}
[data-dc-page="cards"] .card-next-row:nth-child(4n+2){background:linear-gradient(135deg,#4d5a6c,#293544)!important}
[data-dc-page="cards"] .card-next-row:nth-child(4n+3){background:linear-gradient(135deg,#e9425f,#bc2544)!important}
[data-dc-page="cards"] .card-next-row:nth-child(4n){background:linear-gradient(135deg,#16b96b,#078c5a)!important}
[data-dc-page="cards"] .card-next-row *{color:#fff!important;position:relative;z-index:2}
[data-dc-page="cards"] .card-next-row .card-next-logo{background:rgba(255,255,255,.18)!important;color:#fff!important;border-radius:50%!important;width:38px!important;height:38px!important;display:grid!important;place-items:center!important;font-weight:900!important}

/* Acciones heredadas de Ventas, Finanzas, Deudas y Reportes */
.v104911-action-card{min-height:54px!important;border-radius:14px!important;padding:10px 16px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;font-weight:900!important;white-space:nowrap!important}
[data-dc-page="debts"] #addDebtBtn{min-width:220px!important}
[data-dc-page="finance"] .route-actions{gap:10px!important}
[data-dc-page="reports"] button.v104911-action-card{min-width:120px!important}

@media(max-width:820px){
  [data-dc-page="capture"] .capture-only-actions{grid-template-columns:1fr!important}
  [data-dc-page="search"] .v1049-search-title-card{min-height:92px!important}
  .v104911-action-card{width:100%!important}
}

/* =============================================================
   DC CONTROL 10.4.9.12 — MOBILE PRO RESPONSIVE
   Ajuste específico para iPhone / pantallas angostas.
   No altera escritorio ni lógica de negocio.
   ============================================================= */
@media(max-width:640px){
  /* Base móvil y barra inferior: más compacta y sin tapar contenido */
  #view{padding-left:14px!important;padding-right:14px!important;padding-bottom:118px!important;overflow-x:hidden!important}
  .bottom-nav.v1049-nav-centered{
    width:calc(100% - 28px)!important;max-width:560px!important;bottom:max(8px,env(safe-area-inset-bottom))!important;
    padding:8px!important;border-radius:22px!important;gap:6px!important;
  }
  .bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:60px!important;min-height:60px!important;border-radius:15px!important;padding:6px 7px!important}
  .bottom-nav button.nav1048 .nav-icon1048{width:24px!important;height:24px!important;margin-bottom:2px!important}
  .bottom-nav button.nav1048 .nav-icon1048 svg{width:21px!important;height:21px!important}
  .bottom-nav button.nav1048 .nav-label1048{font-size:10px!important;line-height:1.05!important}

  /* KPIs: 2 x 2 en móvil, evitando columnas demasiado angostas */
  [data-dc-page="home"] .exec-grid,
  [data-dc-page="business"] .exec-grid,
  [data-dc-page="finance"] .exec-grid,
  [data-dc-page="debts"] .grid2,
  [data-dc-page="cards"] .cards-summary-grid,
  [data-dc-page="purchases"] .exec-grid,
  [data-dc-page="payroll"] .exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .v1049-kpi{min-height:118px!important;padding:16px!important;border-radius:18px!important}
  .v1049-kpi b{font-size:24px!important;line-height:1.08!important;overflow-wrap:anywhere!important}
  .v1049-kpi span,.v1049-kpi small{font-size:12px!important}

  /* Nómina: acciones arriba gemelas, tarjetas de nómina 1 por fila para lectura clara */
  [data-dc-page="payroll"] .v10498-payroll-head-actions{grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important;min-width:0!important}
  [data-dc-page="payroll"] .v10498-top-action{min-height:58px!important;font-size:15px!important;padding:11px 10px!important}
  [data-dc-page="payroll"] .v10498-payroll-grid{grid-template-columns:1fr!important;gap:10px!important}
  [data-dc-page="payroll"] .v10498-payroll-card{padding:14px!important;min-height:0!important}
  [data-dc-page="payroll"] .v10498-payroll-card td{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;font-size:13px!important;min-width:0!important;overflow-wrap:anywhere!important}
  [data-dc-page="payroll"] .v10498-payroll-card td:before{display:block!important;margin:0!important;white-space:nowrap!important}
  [data-dc-page="payroll"] .v10498-payroll-card td[data-label="Empleado"]{font-size:16px!important;line-height:1.2!important;overflow-wrap:normal!important;word-break:normal!important}
  [data-dc-page="payroll"] .v10498-payroll-card td[data-label="Empleado"]:before{display:none!important}
  [data-dc-page="payroll"] .v10498-payroll-card td[data-label="Acción"]{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}

  /* Directorio de empleados: 1 tarjeta por fila; jamás partir nombres letra por letra */
  [data-dc-page="payroll"] .v1049-employee-grid{grid-template-columns:1fr!important;gap:10px!important;padding:0 10px 12px!important}
  [data-dc-page="payroll"] .employee-directory1045{min-width:0!important;width:100%!important;padding:12px!important}
  [data-dc-page="payroll"] .employee-directory1045 .row{display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:10px!important;align-items:center!important;min-width:0!important}
  [data-dc-page="payroll"] .employee-directory1045 .row>div:nth-child(2){min-width:0!important}
  [data-dc-page="payroll"] .employee-directory1045 b,[data-dc-page="payroll"] .employee-directory1045 small{
    display:block!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;line-height:1.2!important
  }
  [data-dc-page="payroll"] .employee-directory1045 b{font-size:15px!important}
  [data-dc-page="payroll"] .employee-directory1045 small{font-size:11px!important;margin-top:3px!important}
  [data-dc-page="payroll"] .employee-directory1045 button{min-width:70px!important;padding:8px 10px!important}
  [data-dc-page="payroll"] .v10494-benefit-grid{grid-template-columns:1fr!important;gap:10px!important}
  [data-dc-page="payroll"] .v10494-employee-benefit-card summary{min-height:0!important;padding:14px!important;display:flex!important;align-items:center!important;gap:10px!important}

  /* Finanzas: acciones compactas; KPIs 2 columnas */
  [data-dc-page="finance"] .route-actions,[data-dc-page="finance"] .exec-head>div:last-child{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;width:100%!important}
  [data-dc-page="finance"] .v104911-action-card{min-height:58px!important;padding:10px 12px!important;font-size:14px!important}
  [data-dc-page="finance"] .tabs104{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  [data-dc-page="finance"] .tabs104 button{min-width:0!important;width:100%!important}

  /* Compras: acciones grandes pero compactas; no bloques gigantes */
  [data-dc-page="purchases"] .v104911-action-card,
  [data-dc-page="purchases"] .v1049-action-tile,
  [data-dc-page="purchases"] .tabs104 button{min-height:66px!important;padding:12px 14px!important;border-radius:16px!important;font-size:15px!important}
  [data-dc-page="purchases"] .exec-head>div:last-child{grid-template-columns:1fr 1fr!important;gap:10px!important}
  [data-dc-page="purchases"] .tabs104{grid-template-columns:1fr!important;gap:10px!important}

  /* Capturar: misma estética de Inicio, pero 20-25% más compacta en móvil */
  [data-dc-page="capture"] #pasteAiBtn,
  [data-dc-page="capture"] .v1049-action-tile,
  [data-dc-page="capture"] .v1049-info-card,
  [data-dc-page="capture"] .v1049-master-rule{min-height:82px!important;padding:14px 16px!important;border-radius:18px!important}
  [data-dc-page="capture"] .capture-only-actions{grid-template-columns:1fr!important;gap:10px!important;margin-top:12px!important}
  [data-dc-page="capture"] .v1049-action-tile:before,[data-dc-page="capture"] #pasteAiBtn:before{width:42px!important;height:42px!important;font-size:19px!important}
  [data-dc-page="capture"] #pasteAiBtn,[data-dc-page="capture"] .v1049-action-tile{font-size:15px!important}
  [data-dc-page="capture"] .v1049-info-card,[data-dc-page="capture"] .v1049-master-rule{font-size:14px!important;line-height:1.25!important}

  /* Buscar: igual que Inicio y Capturar, compacto */
  [data-dc-page="search"] .v1049-search-page{margin-top:26px!important}
  [data-dc-page="search"] .v1049-search-title-card{min-height:82px!important;padding:14px 16px 14px 70px!important;border-radius:18px!important}
  [data-dc-page="search"] .v1049-search-title-card:before{left:16px!important;width:40px!important;height:40px!important;font-size:21px!important}
  [data-dc-page="search"] .v1049-search-card{min-height:72px!important;padding:10px!important;display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  [data-dc-page="search"] .v1049-search-card .search1046{min-width:0!important;width:100%!important;font-size:14px!important}
  [data-dc-page="search"] .v1049-search-submit{width:100%!important;min-width:0!important;min-height:44px!important}
  [data-dc-page="search"] .v1049-search-hint{min-height:66px!important;padding:12px 14px 12px 58px!important;font-size:14px!important;display:flex!important;align-items:center!important}
  [data-dc-page="search"] .v1049-search-hint:before{left:14px!important;width:34px!important;height:34px!important}

  /* Tarjetas: agenda / movimientos sin saltos visuales y con lectura cómoda */
  [data-dc-page="cards"] .cards-bottom-grid{grid-template-columns:1fr!important;gap:12px!important}
  [data-dc-page="cards"] .card-next-list{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  [data-dc-page="cards"] .card-next-row{min-height:76px!important;padding:11px 12px!important;grid-template-columns:42px minmax(0,1fr) auto!important;gap:10px!important}
  [data-dc-page="cards"] .card-next-row b,[data-dc-page="cards"] .card-next-row small{white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important}

  /* Ventas / Deudas / Reportes: acciones compactas arriba */
  [data-dc-page="business"] .v104911-action-card,[data-dc-page="debts"] .v104911-action-card,[data-dc-page="reports"] .v104911-action-card{min-height:52px!important;width:100%!important;padding:10px 12px!important}
  [data-dc-page="reports"] .exec-head,[data-dc-page="business"] .exec-head,[data-dc-page="debts"] .exec-head{display:block!important}
  [data-dc-page="reports"] .exec-head>div:last-child,[data-dc-page="business"] .exec-head>div:last-child,[data-dc-page="debts"] .exec-head>div:last-child{margin-top:10px!important;width:100%!important}

  /* Tablas grandes: scroll horizontal controlado sin romper layout */
  .v1049-table-zone,.enterprise-table-wrap{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
}

@media(max-width:390px){
  #view{padding-left:10px!important;padding-right:10px!important}
  .bottom-nav.v1049-nav-centered{width:calc(100% - 18px)!important;padding:6px!important;gap:4px!important}
  .bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:56px!important;min-height:56px!important;padding:5px!important}
  .bottom-nav button.nav1048 .nav-label1048{font-size:9px!important}
  .v1049-kpi{padding:13px!important;min-height:108px!important}
  .v1049-kpi b{font-size:21px!important}
  [data-dc-page="payroll"] .employee-directory1045 .row{grid-template-columns:44px minmax(0,1fr)!important}
  [data-dc-page="payroll"] .employee-directory1045 button{grid-column:1/-1!important;width:100%!important;margin-top:6px!important}
}

/* DC CONTROL 10.4.64 — color Clientes */
.config-tabs-unified .config-tab-clients{background:linear-gradient(135deg,#22c55e,#059669)!important;color:#fff!important;border:0!important}
.config-tabs-unified .config-tab-clients b,.config-tabs-unified .config-tab-clients small,.config-tabs-unified .config-tab-clients .tab-icon{color:#fff!important}
.config-tabs-unified .config-tab-clients .tab-icon{background:rgba(255,255,255,.16)!important}
/* Finanzas: cada conciliación con identidad visual */
.module-tabs1046 #financeReconciliation1046{background:linear-gradient(135deg,#1687ff,#1766e8)!important;color:#fff!important;border-color:transparent!important}
.module-tabs1046 #financeSicar10427{background:linear-gradient(135deg,#22c55e,#059669)!important;color:#fff!important;border-color:transparent!important}

/* DC CONTROL 10.4.81r5 — Configuración móvil: color + contraste, sin cambios funcionales */
[data-dc-page="settings"] .config-section-block:nth-child(1) .config-section-head{border-left:5px solid #2563eb!important}
[data-dc-page="settings"] .config-section-block:nth-child(2) .config-section-head{border-left:5px solid #16a34a!important}
[data-dc-page="settings"] .config-section-block:nth-child(3) .config-section-head{border-left:5px solid #f97316!important}
[data-dc-page="settings"] .config-section-block:nth-child(4) .config-section-head{border-left:5px solid #7c3aed!important}
[data-dc-page="settings"] .config-section-block:nth-child(5) .config-section-head{border-left:5px solid #0891b2!important}
[data-dc-page="settings"] .config-section-head{padding:12px 14px!important;border-radius:14px!important;background:rgba(30,41,59,.36)!important}

/* Tarjetas por rol: mantener identidad de color también en tema oscuro */
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card.tone-blue{background:linear-gradient(135deg,rgba(37,99,235,.32),rgba(15,23,42,.94))!important;border-left:5px solid #3b82f6!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card.tone-green{background:linear-gradient(135deg,rgba(22,163,74,.30),rgba(15,23,42,.94))!important;border-left:5px solid #22c55e!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card.tone-orange{background:linear-gradient(135deg,rgba(234,88,12,.31),rgba(15,23,42,.94))!important;border-left:5px solid #f97316!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card.tone-purple{background:linear-gradient(135deg,rgba(124,58,237,.31),rgba(15,23,42,.94))!important;border-left:5px solid #8b5cf6!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card.tone-cyan{background:linear-gradient(135deg,rgba(8,145,178,.30),rgba(15,23,42,.94))!important;border-left:5px solid #06b6d4!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card b,
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card small,
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card .config-role-label{color:#e8f1ff!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-user-card .config-edit-btn{background:#263446!important;color:#fff!important;border-color:#4b5d73!important}

/* Roles y permisos: color visible, texto y chips legibles */
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-0{background:linear-gradient(135deg,rgba(37,99,235,.30),#161d29)!important;border-left:5px solid #3b82f6!important}
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-1{background:linear-gradient(135deg,rgba(22,163,74,.28),#161d29)!important;border-left:5px solid #22c55e!important}
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-2{background:linear-gradient(135deg,rgba(234,88,12,.29),#161d29)!important;border-left:5px solid #f97316!important}
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-3{background:linear-gradient(135deg,rgba(124,58,237,.29),#161d29)!important;border-left:5px solid #8b5cf6!important}
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-4{background:linear-gradient(135deg,rgba(8,145,178,.28),#161d29)!important;border-left:5px solid #06b6d4!important}
html[data-theme="dark"] [data-dc-page="settings"] .role-tone-5{background:linear-gradient(135deg,rgba(225,29,72,.27),#161d29)!important;border-left:5px solid #e11d48!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-role-card b,
html[data-theme="dark"] [data-dc-page="settings"] .config-role-card p,
html[data-theme="dark"] [data-dc-page="settings"] .config-role-card .config-role-label{color:#e8eef8!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-module-tags span{background:#273445!important;color:#f8fafc!important;border-color:#44556c!important}

/* Proveedores / Control unificado: evitar bloques grises idénticos */
html[data-theme="dark"] [data-dc-page="settings"] .info-blue{background:linear-gradient(135deg,rgba(37,99,235,.30),#161d29)!important;border-left:5px solid #3b82f6!important}
html[data-theme="dark"] [data-dc-page="settings"] .info-green{background:linear-gradient(135deg,rgba(16,185,129,.28),#161d29)!important;border-left:5px solid #10b981!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-info-grid b,
html[data-theme="dark"] [data-dc-page="settings"] .config-info-grid p{color:#eef6ff!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-0{background:linear-gradient(135deg,rgba(233,30,99,.28),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-1{background:linear-gradient(135deg,rgba(25,118,210,.30),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-2{background:linear-gradient(135deg,rgba(15,159,98,.29),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-3{background:linear-gradient(135deg,rgba(234,88,12,.29),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-4{background:linear-gradient(135deg,rgba(124,58,237,.29),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .supplier-tone-5{background:linear-gradient(135deg,rgba(8,145,178,.29),#161d29)!important}
html[data-theme="dark"] [data-dc-page="settings"] .config-supplier-card b,
html[data-theme="dark"] [data-dc-page="settings"] .config-supplier-card small,
html[data-theme="dark"] [data-dc-page="settings"] .config-supplier-card .config-role-label{color:#e8eef8!important}

/* Crear usuario: contraseña temporal — corregir contraste observado en iPhone */
html[data-theme="dark"] .cloud-user-fields-1033{background:linear-gradient(135deg,#172554,#172033)!important;border:1px solid #3b82f6!important;color:#f8fafc!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
html[data-theme="dark"] .cloud-user-fields-1033 b,
html[data-theme="dark"] .cloud-user-fields-1033 label,
html[data-theme="dark"] .cloud-user-fields-1033 small{color:#eaf2ff!important}
html[data-theme="dark"] .cloud-user-fields-1033 input{background:#0f1722!important;color:#fff!important;border:1px solid #52657d!important}
html[data-theme="dark"] .cloud-user-fields-1033 input::placeholder{color:#94a3b8!important}
html[data-theme="dark"] .cloud-user-fields-1033 #generateUserPassword{background:#2563eb!important;color:#fff!important;border-color:#60a5fa!important}
html[data-theme="dark"] .cloud-user-fields-1033 #showUserPassword{accent-color:#2563eb!important}

@media(max-width:640px){
 html[data-theme="dark"] [data-dc-page="settings"] .config-user-card,
 html[data-theme="dark"] [data-dc-page="settings"] .config-role-card,
 html[data-theme="dark"] [data-dc-page="settings"] .config-supplier-card{box-shadow:0 8px 20px rgba(0,0,0,.16)!important}
 [data-dc-page="settings"] .config-module-tags span{font-size:12px!important;padding:6px 10px!important}
}

/* ===== SOURCE: enterprise-10.4.10-oracle.css ===== */
/* DC CONTROL 10.4.10 — ORÁCULO DC */
.oracle-module{padding-bottom:110px}
.oracle-head{align-items:flex-start}
.oracle-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.oracle-notice{border:1px solid rgba(124,92,255,.24);background:linear-gradient(135deg,rgba(92,64,215,.10),rgba(25,128,204,.07))}
.oracle-notice b{color:#6d3fd9}
.oracle-notice p{margin:.35rem 0 0;color:var(--muted,#60708a)}
.oracle-kpis .exec-card{position:relative;overflow:hidden}
.oracle-kpis .exec-card:after{content:"";position:absolute;width:86px;height:86px;border-radius:50%;right:-28px;top:-32px;background:rgba(255,255,255,.12)}
.oracle-red{background:linear-gradient(135deg,#d93d54,#ff6b6b)!important;color:#fff!important}
.oracle-yellow{background:linear-gradient(135deg,#d99616,#f7b731)!important;color:#fff!important}
.oracle-green{background:linear-gradient(135deg,#1b9b67,#39c98a)!important;color:#fff!important}
.oracle-red span,.oracle-red small,.oracle-yellow span,.oracle-yellow small,.oracle-green span,.oracle-green small{color:rgba(255,255,255,.9)!important}
.oracle-grid2{display:grid;grid-template-columns:1.35fr .65fr;gap:14px;margin:14px 0}
.oracle-top{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid rgba(20,50,90,.09)}
.oracle-top:last-child{border-bottom:0}
.oracle-top>span{width:28px;height:28px;border-radius:9px;background:#eef3ff;color:#2c58b9;display:grid;place-items:center;font-weight:900}
.oracle-top small,.oracle-table small{display:block;color:#72809a;margin-top:2px}
.oracle-table-card{margin-top:14px}
.oracle-status{display:inline-flex;align-items:center;justify-content:center;min-width:76px;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.03em}
.oracle-bad{background:#ffe5e8;color:#b4233c}
.oracle-warn{background:#fff0cc;color:#9b6400}
.oracle-good{background:#dcf8ea;color:#13714d}
.oracle-neutral{background:#edf1f7;color:#667085}
.oracle-format{background:#f7f5ff;border:1px solid #e3dcff}
.oracle-format code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#ece8ff;padding:2px 5px;border-radius:6px}
.oracle-preview-list>div{display:grid;grid-template-columns:24px 1fr auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid #edf0f5}
.oracle-preview-list>div:last-child{border-bottom:0}
.oracle-preview-list small{display:block;color:#748198;margin-top:2px}
@media(max-width:900px){
  .oracle-grid2{grid-template-columns:1fr}
  .oracle-head{display:block}
  .oracle-actions{justify-content:stretch;margin-top:12px}
  .oracle-actions button{flex:1}
  .oracle-table{min-width:950px}
  .oracle-import-sheet{width:min(96vw,760px)}
}
@media(max-width:560px){
  .oracle-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .oracle-top{grid-template-columns:28px 1fr}.oracle-top strong{grid-column:2}
}

/* ===== SOURCE: enterprise-10.4.11-routes.css ===== */
/* DC CONTROL 10.4.11 — zonas/localidades */
.route-zone-info10411{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0;background:linear-gradient(135deg,rgba(20,111,197,.10),rgba(92,67,209,.08));border:1px solid rgba(70,120,190,.22)}
.route-zone-info10411>div{display:grid;gap:4px}.route-zone-info10411 b{font-size:1.05rem}.route-zone-info10411 small{color:var(--muted,#687587)}
.route-zone-tabs10411{display:flex;gap:8px;overflow:auto;padding:2px 0 12px;scrollbar-width:none}.route-zone-tabs10411::-webkit-scrollbar{display:none}
.route-zone-tabs10411 button{border:1px solid rgba(96,112,141,.25);background:#fff;color:#334155;border-radius:999px;padding:9px 14px;font-weight:800;white-space:nowrap;cursor:pointer}
.route-zone-tabs10411 button.active{background:#173b72;color:#fff;border-color:#173b72;box-shadow:0 8px 22px rgba(23,59,114,.16)}
.route-zone-tabs10411 button.newzone{background:#f5f0ff;color:#6d3bd1;border-color:#d9c8ff}
.route-zones-sheet10411{max-height:min(86vh,850px);overflow:auto}
.zone-summary10411{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;border-radius:16px;background:#f7faff;border:1px solid #dde7f4;margin-bottom:14px}.zone-summary10411>div{display:grid;gap:3px}.zone-summary10411 b{font-size:1.15rem}.zone-summary10411 small{color:#66758a}.zone-badge10411{font-size:.76rem;font-weight:900;color:#0d7a53;background:#def8eb;padding:7px 10px;border-radius:999px;white-space:nowrap}
.zone-section10411{margin-top:18px}.zone-section10411 h3{margin:0 0 9px}
.zone-assignment10411{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,210px);align-items:center;gap:14px;padding:12px 14px;border:1px solid #e2e8f0;border-radius:15px;background:#fff;margin-bottom:8px}.zone-assignment10411>div{display:grid;gap:4px}.zone-assignment10411 b{font-size:.98rem}.zone-assignment10411 small{color:#748195}.zone-assignment10411 label{display:grid;gap:5px;font-size:.75rem;font-weight:800;color:#64748b}.zone-assignment10411 select{width:100%;padding:9px 10px;border:1px solid #cfd8e6;border-radius:10px;background:#fff;color:#17233a;font-weight:700}
#routeCity1047,#rpCity1047,#routeCity1046,#rpCity1046{min-height:44px}
@media(max-width:700px){.route-zone-info10411{align-items:stretch;flex-direction:column}.route-zone-info10411 button{width:100%}.zone-assignment10411{grid-template-columns:1fr}.zone-summary10411{align-items:flex-start}.route-main-actions1047{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}.route-main-actions1047 #routeZones10411{grid-column:1/-1}}

/* 10.4.46 — Zonas: contraste real en tema oscuro + acentos fuertes */
html.dc-dark .route-zones-sheet10411{background:#111827!important;color:#f8fafc!important;border:1px solid #334155!important;box-shadow:0 28px 80px rgba(0,0,0,.55)!important}
html.dc-dark .route-zones-sheet10411 .sheet-head{background:#111827!important;color:#f8fafc!important}
html.dc-dark .route-zones-sheet10411 h2,html.dc-dark .route-zones-sheet10411 h3,html.dc-dark .route-zones-sheet10411 b{color:#f8fafc!important}
html.dc-dark .route-zones-sheet10411 .muted{color:#aebbd0!important}
html.dc-dark .route-zone-tabs10411 button{background:#1e293b!important;color:#e8eef8!important;border-color:#475569!important}
html.dc-dark .route-zone-tabs10411 button:nth-child(1){border-color:#2f80ed!important;color:#7db7ff!important}
html.dc-dark .route-zone-tabs10411 button:nth-child(2){border-color:#22c55e!important;color:#66e08d!important}
html.dc-dark .route-zone-tabs10411 button:nth-child(3){border-color:#f59e0b!important;color:#ffc85a!important}
html.dc-dark .route-zone-tabs10411 button:nth-child(4){border-color:#ef4444!important;color:#ff8080!important}
html.dc-dark .route-zone-tabs10411 button.active{background:#1677e8!important;color:#fff!important;border-color:#4da3ff!important;box-shadow:0 8px 26px rgba(22,119,232,.35)!important}
html.dc-dark .route-zone-tabs10411 button.newzone{background:#5b21b6!important;color:#fff!important;border-color:#8b5cf6!important}
html.dc-dark .zone-summary10411{background:#172033!important;border-color:#33445e!important}
html.dc-dark .zone-summary10411 small{color:#aebbd0!important}
html.dc-dark .zone-badge10411{background:#064e3b!important;color:#6ee7b7!important;border:1px solid #10b981!important}
html.dc-dark .zone-assignment10411{background:#182235!important;border-color:#334155!important;box-shadow:0 8px 18px rgba(0,0,0,.16)}
html.dc-dark .zone-assignment10411 small{color:#a9b8cd!important}
html.dc-dark .zone-assignment10411 label{color:#c5d1e2!important}
html.dc-dark .zone-assignment10411 .pill{background:#143c73!important;color:#8bc1ff!important;border:1px solid #2563eb!important}
html.dc-dark .zone-assignment10411 select{background:#0f172a!important;color:#f8fafc!important;border-color:#52637b!important}
html.dc-dark .route-zones-sheet10411 .icon-btn.light{background:#334155!important;color:#fff!important;border-color:#52637b!important}
html.dc-dark .route-zones-sheet10411 .icon-btn.light:hover{background:#ef4444!important;border-color:#f87171!important}
html.dc-dark .zone-assignment10411 small:first-letter{color:#ff4f87}

.route-mode1047{color:#f8fafc!important;background:#172033!important;border:2px solid #334155!important}.route-mode1047:has(input[value="delivery"]:checked){background:#075985!important;border-color:#38bdf8!important}.route-mode1047:has(input[value="pickup"]:checked){background:#854d0e!important;border-color:#facc15!important}.route-load-photos1058{margin:12px 0;padding:14px;border-radius:16px;background:#101827;border:1px solid #334155}.route-photo-head1058{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.route-photo-head1058 small{display:block;color:#94a3b8}.route-photo-preview1058{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.route-photo-thumb1058{width:90px;height:90px;position:relative;border-radius:12px;overflow:hidden}.route-photo-thumb1058 img{width:100%;height:100%;object-fit:cover}.route-photo-thumb1058 button{position:absolute;right:4px;top:4px;border:0;border-radius:50%;background:#111827;color:white}.route-photo-thumb1058 span{position:absolute;left:5px;bottom:4px;background:#111827cc;color:white;padding:2px 6px;border-radius:8px}.route-photo-lightbox1058{position:fixed;inset:0;z-index:999999;background:#000;display:flex;align-items:center;justify-content:center}.route-photo-lightbox1058 img{max-width:96vw;max-height:94vh;object-fit:contain}.route-photo-lightbox1058 button{position:absolute;border:0;background:#111827cc;color:white;border-radius:50%;font-size:34px;width:52px;height:52px}.route-photo-lightbox1058 .x{right:18px;top:18px}.route-photo-lightbox1058 .prev{left:18px}.route-photo-lightbox1058 .next{right:18px}.route-photo-lightbox1058 .count{position:absolute;bottom:18px;color:#fff;background:#111827cc;padding:6px 12px;border-radius:20px}

#routePhotoPick1058{cursor:pointer;touch-action:manipulation;min-height:44px}
#routePhotoInput1058{display:none!important}

/* ===== SOURCE: enterprise-10.4.13-chat.css ===== */
/* DC CONTROL 10.4.13 · Chat interno Realtime */
.dc-chat-shell{height:calc(100dvh - 150px);min-height:560px;display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid #dfe7ef;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 16px 45px rgba(15,23,42,.08)}
.dc-chat-sidebar{background:#f8fafc;border-right:1px solid #e5eaf0;display:flex;flex-direction:column;min-width:0}
.dc-chat-side-head{padding:16px 16px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px}.dc-chat-side-head h2{margin:0;font-size:22px}.dc-chat-new{border:0;background:#0aa37f;color:#fff;border-radius:13px;width:42px;height:42px;font-size:22px;cursor:pointer;box-shadow:0 8px 22px rgba(10,163,127,.22)}
.dc-chat-search{padding:0 14px 12px}.dc-chat-search input{width:100%;border:1px solid #dde4ec;background:#fff;border-radius:14px;padding:11px 13px;outline:none}.dc-chat-search input:focus{border-color:#7ccdbc;box-shadow:0 0 0 3px rgba(10,163,127,.08)}
.dc-chat-filters{display:flex;gap:7px;padding:0 14px 11px;overflow:auto}.dc-chat-filter{border:0;background:#eaf0f4;color:#5d6b78;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;white-space:nowrap;cursor:pointer}.dc-chat-filter.active{background:#dff5ee;color:#08765e}
.dc-chat-list{overflow:auto;padding:0 8px 14px;flex:1}.dc-chat-item{width:100%;border:0;background:transparent;display:grid;grid-template-columns:48px 1fr auto;gap:10px;align-items:center;text-align:left;padding:11px 10px;border-radius:16px;cursor:pointer;color:#17212b}.dc-chat-item:hover,.dc-chat-item.active{background:#eaf2f5}.dc-chat-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(135deg,#0aa37f,#30c39f);position:relative;flex:0 0 auto}.dc-chat-avatar.direct{background:linear-gradient(135deg,#2878ff,#7c4dff)}.dc-chat-item-copy{min-width:0}.dc-chat-item-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-chat-preview{display:block;color:#7b8792;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px}.dc-chat-item-side{text-align:right;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end}.dc-chat-item-side small{color:#8c99a5;font-size:10px}.dc-chat-unread{background:#18bd8f;color:#fff;min-width:20px;height:20px;padding:0 6px;border-radius:999px;display:grid;place-items:center;font-size:10px;font-weight:900}
.dc-chat-main{background:#eef4f1;display:flex;flex-direction:column;min-width:0;position:relative}.dc-chat-head{height:70px;background:#fff;border-bottom:1px solid #e4eaef;display:flex;align-items:center;gap:11px;padding:0 16px;box-shadow:0 3px 14px rgba(15,23,42,.04);z-index:2}.dc-chat-back{display:none;border:0;background:transparent;font-size:26px;color:#35515d;cursor:pointer}.dc-chat-head-copy{min-width:0}.dc-chat-head-copy b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-chat-head-copy small{display:block;color:#7b8792;margin-top:2px}.dc-chat-head-actions{margin-left:auto;display:flex;gap:5px}.dc-chat-head-actions button{width:38px;height:38px;border:0;border-radius:12px;background:#f0f4f6;cursor:pointer;color:#50616c}
.dc-chat-messages{flex:1;overflow:auto;padding:18px clamp(12px,5vw,70px);background:radial-gradient(circle at 20% 15%,rgba(10,163,127,.055),transparent 24%),linear-gradient(rgba(244,248,246,.93),rgba(244,248,246,.93)),radial-gradient(circle at 25px 25px,rgba(34,54,63,.07) 1px,transparent 1px);background-size:auto,auto,32px 32px}.dc-chat-day{width:max-content;margin:4px auto 14px;padding:5px 9px;border-radius:9px;background:#dfe9e5;color:#66757e;font-size:11px;font-weight:800}.dc-msg{width:max-content;max-width:min(74%,720px);background:#fff;border-radius:14px 14px 14px 5px;padding:9px 11px 7px;margin:5px 0;box-shadow:0 2px 8px rgba(15,23,42,.08);word-break:break-word}.dc-msg.mine{margin-left:auto;background:#d9fdd3;border-radius:14px 14px 5px 14px}.dc-msg-sender{font-size:11px;font-weight:900;color:#0b8b6b;margin-bottom:3px}.dc-msg.mine .dc-msg-sender{display:none}.dc-msg-time{text-align:right;color:#7d8a92;font-size:10px;margin-top:5px}.dc-msg-read{color:#3a8fef;font-weight:900}.dc-chat-attachment{margin-top:7px;border-radius:11px;overflow:hidden;background:rgba(0,0,0,.04);min-width:180px}.dc-chat-attachment img{display:block;max-width:340px;width:100%;max-height:300px;object-fit:cover}.dc-chat-file{display:flex;align-items:center;gap:9px;padding:10px;text-decoration:none;color:#24424e;font-size:12px}.dc-chat-file i{font-style:normal;font-size:22px}.dc-chat-empty{margin:auto;text-align:center;color:#77868f;padding:30px;max-width:360px}.dc-chat-empty strong{display:block;color:#34444d;font-size:19px;margin-bottom:7px}
.dc-chat-composer{background:#fff;border-top:1px solid #e1e7eb;padding:10px 12px;display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:end}.dc-chat-attach{width:42px;height:42px;border:0;background:#edf2f4;border-radius:13px;cursor:pointer;font-size:19px}.dc-chat-input{min-height:42px;max-height:110px;resize:none;border:1px solid #dfe7eb;background:#f8fafb;border-radius:14px;outline:none;padding:11px 13px;line-height:1.3}.dc-chat-input:focus{border-color:#6bc9b2}.dc-chat-send{width:44px;height:44px;border:0;border-radius:50%;background:#0aa37f;color:#fff;font-size:19px;cursor:pointer;box-shadow:0 8px 20px rgba(10,163,127,.25)}.dc-chat-send:disabled{opacity:.5;cursor:not-allowed}.dc-chat-upload-note{position:absolute;bottom:68px;left:50%;transform:translateX(-50%);background:#22363f;color:#fff;border-radius:999px;padding:7px 11px;font-size:11px;box-shadow:0 8px 22px rgba(0,0,0,.2)}
.dc-chat-modal{position:fixed;inset:0;background:rgba(15,23,42,.48);display:grid;place-items:center;padding:18px;z-index:1000}.dc-chat-modal-card{width:min(540px,100%);max-height:min(720px,90dvh);overflow:auto;background:#fff;border-radius:22px;padding:18px;box-shadow:0 30px 80px rgba(15,23,42,.28)}.dc-chat-modal-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.dc-chat-modal-head h3{margin:0}.dc-chat-modal-head button{border:0;background:#edf2f4;border-radius:10px;width:34px;height:34px;cursor:pointer}.dc-chat-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.dc-chat-mode button{border:1px solid #dce4e9;background:#f8fafb;border-radius:13px;padding:10px;font-weight:800;cursor:pointer}.dc-chat-mode button.active{border-color:#35b995;background:#e7f7f1;color:#08765e}.dc-chat-group-title{width:100%;border:1px solid #dce4e9;border-radius:12px;padding:11px;margin-bottom:10px;outline:none}.dc-chat-user-row{display:flex;align-items:center;gap:10px;padding:10px;border-radius:13px;cursor:pointer}.dc-chat-user-row:hover{background:#f3f7f8}.dc-chat-user-row input{width:18px;height:18px}.dc-chat-user-copy{flex:1}.dc-chat-user-copy b{display:block}.dc-chat-user-copy small{color:#7c8993}.dc-chat-modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.dc-chat-modal-actions button{border:0;border-radius:12px;padding:10px 14px;font-weight:900;cursor:pointer}.dc-chat-cancel{background:#edf2f4;color:#4b5b65}.dc-chat-create{background:#0aa37f;color:#fff}.dc-chat-status{padding:14px;color:#6d7b84;text-align:center}.dc-chat-error{margin:12px;padding:10px 12px;border-radius:12px;background:#fff2f2;color:#a53636;font-size:12px}
.bottom-nav button[data-p="chat"] span{font-size:23px}.bottom-nav button[data-p="chat"].active{color:#0a9c79}.bottom-nav button[data-p="chat"].active span{transform:none!important}
@media(max-width:760px){.dc-chat-shell{height:calc(100dvh - 126px);min-height:0;border-radius:18px;grid-template-columns:1fr}.dc-chat-sidebar{grid-column:1;grid-row:1}.dc-chat-main{position:absolute;inset:0;transform:translateX(105%);transition:transform .2s ease;z-index:5}.dc-chat-shell.conversation-open .dc-chat-main{transform:translateX(0)}.dc-chat-back{display:block}.dc-chat-messages{padding:12px 9px}.dc-msg{max-width:87%}.dc-chat-head{height:62px;padding:0 8px}.dc-chat-composer{padding:8px}.dc-chat-head-actions button:first-child{display:none}}

.bottom-nav button[data-p="chat"]{position:relative}.dc-chat-nav-badge{position:absolute;top:3px;right:calc(50% - 22px);min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:#ef4444;color:#fff;font-size:9px;font-style:normal;font-weight:900;display:grid;place-items:center;border:2px solid #fff}

/* 10.4.15 · Chat simple: una sola lista y teclado móvil estable */
.dc-chat-filters{display:none!important}
@media(max-width:760px){
  body.dc-chat-keyboard .bottom-nav{display:none!important}
  body.dc-chat-keyboard{padding-bottom:0!important}
  body.dc-chat-keyboard .app-shell main{padding-bottom:0!important}
  body.dc-chat-keyboard .dc-page-head{display:none!important}
  body.dc-chat-keyboard .dc-chat-shell{height:var(--dc-chat-vvh,100dvh);border-radius:0;margin:0}
  body.dc-chat-keyboard .dc-chat-main{position:absolute;inset:0}
  body.dc-chat-keyboard .dc-chat-composer{padding-bottom:max(8px,env(safe-area-inset-bottom))}
}

/* DC CONTROL 10.4.48 · Chat compacto, tema oscuro y compositor siempre visible */
body:has(#dcChatShell) .dc-page-head{
  margin:0 0 8px!important;padding:4px 2px!important;min-height:0!important;
  display:flex!important;align-items:center!important
}
body:has(#dcChatShell) .dc-page-head .eyebrow,
body:has(#dcChatShell) .dc-page-head p{display:none!important}
body:has(#dcChatShell) .dc-page-head h2{margin:0!important;font-size:18px!important}
body:has(#dcChatShell) .dc-page-head .pill{margin-left:auto}
.dc-chat-shell{height:calc(100dvh - 245px);min-height:430px}
.dc-chat-composer{position:sticky;bottom:0;z-index:4}
html.dc-dark .dc-chat-shell{background:#101827;border-color:#334155;box-shadow:0 16px 45px rgba(0,0,0,.28)}
html.dc-dark .dc-chat-sidebar{background:#111b2b;border-right-color:#334155}
html.dc-dark .dc-chat-side-head h2,
html.dc-dark .dc-chat-item,
html.dc-dark .dc-chat-head-copy b{color:#f8fafc}
html.dc-dark .dc-chat-search input,
html.dc-dark .dc-chat-input{background:#172235!important;border-color:#3b4a60!important;color:#f8fafc!important}
html.dc-dark .dc-chat-search input::placeholder,
html.dc-dark .dc-chat-input::placeholder{color:#94a3b8}
html.dc-dark .dc-chat-item:hover,
html.dc-dark .dc-chat-item.active{background:#1e2b40}
html.dc-dark .dc-chat-preview,
html.dc-dark .dc-chat-item-side small,
html.dc-dark .dc-chat-head-copy small{color:#a8b5c7}
html.dc-dark .dc-chat-main{background:#0f1724}
html.dc-dark .dc-chat-head,
html.dc-dark .dc-chat-composer{background:#141f30;border-color:#334155}
html.dc-dark .dc-chat-head-actions button,
html.dc-dark .dc-chat-attach{background:#223047;color:#e2e8f0}
html.dc-dark .dc-chat-messages{
 background:radial-gradient(circle at 20% 15%,rgba(16,185,129,.08),transparent 24%),
 linear-gradient(rgba(15,23,36,.97),rgba(15,23,36,.97)),
 radial-gradient(circle at 25px 25px,rgba(148,163,184,.08) 1px,transparent 1px);
 background-size:auto,auto,32px 32px
}
html.dc-dark .dc-chat-day{background:#253247;color:#cbd5e1}
html.dc-dark .dc-msg{background:#1d293b;color:#f8fafc;box-shadow:0 2px 8px rgba(0,0,0,.25)}
html.dc-dark .dc-msg.mine{background:#14532d;color:#f0fdf4}
html.dc-dark .dc-msg-time{color:#b6c2d1}
html.dc-dark .dc-chat-empty{color:#a8b5c7}
html.dc-dark .dc-chat-empty strong{color:#f8fafc}
html.dc-dark .dc-chat-modal-card{background:#111b2b;color:#f8fafc}
html.dc-dark .dc-chat-mode button,
html.dc-dark .dc-chat-group-title{background:#172235;border-color:#3b4a60;color:#f8fafc}
html.dc-dark .dc-chat-user-row:hover{background:#1e2b40}
@media(max-width:760px){
 body:has(#dcChatShell) .dc-page-head{display:none!important}
 .dc-chat-shell{height:calc(100dvh - 168px);min-height:420px;border-radius:16px}
}

/* ===== SOURCE: enterprise-10.4.18.css ===== */
.rec-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0}.rk{border-radius:17px;padding:14px;color:#fff;min-height:105px;display:grid;gap:5px}.rk small,.rk span{color:#fff;opacity:.9}.rk b{font-size:20px}.rk.green{background:linear-gradient(135deg,#0fb36a,#087c4a)}.rk.red{background:linear-gradient(135deg,#f04469,#c51d48)}.rk.blue{background:linear-gradient(135deg,#1687f5,#075fc4)}.rk.yellow{background:linear-gradient(135deg,#ffc83d,#df9500)}.rk.purple{background:linear-gradient(135deg,#8b54ec,#5d2ac5)}.rk.slate{background:linear-gradient(135deg,#72849a,#405267)}.rec-import,.rec-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0}.rec-tools input{flex:1}.rec-table select{min-width:170px}.rec-table .pill{border:0}.bottom-nav button.nav-warranties1048,.bottom-nav button.nav-warranties1048.active{background:linear-gradient(145deg,#a855f7,#6d28d9)!important}.bottom-nav button.nav-chat1048,.bottom-nav button.nav-chat1048.active{background:linear-gradient(145deg,#16c784,#059669)!important}.more-card1048[data-more-page1048="search"]{background:linear-gradient(135deg,#268cff,#075dcc)!important}.more-card1048[data-more-page1048="settings"]{background:linear-gradient(135deg,#718096,#344054)!important}.more-card1048[data-more-page1048="chat"]{background:linear-gradient(135deg,#16c784,#047857)!important}.more-card1048[data-more-page1048="warranties"]{background:linear-gradient(135deg,#a855f7,#6d28d9)!important}.more-card1048[data-more-page1048="reconciliation"]{background:linear-gradient(135deg,#16b8d4,#087b9a)!important}@media(max-width:900px){.rec-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.rec-import,.rec-tools{flex-direction:column;align-items:stretch}}

/* 10.4.23 grupos plegables */
.rec-group{margin-top:12px;padding:0!important;overflow:hidden}.rec-group summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:16px 18px;align-items:center}.rec-group summary span{font-size:12px;opacity:.7}.rec-group .enterprise-table-wrap{border-top:1px solid rgba(120,130,150,.15)}

/* 10.4.24 histórico y reportes por fecha */
.rec-reportbar{display:flex;gap:8px;align-items:end;flex-wrap:wrap;padding:14px 16px;border-top:1px solid rgba(120,130,150,.15)}
.rec-reportbar>div{display:flex;flex-direction:column;gap:4px}.rec-reportbar label{font-size:11px;font-weight:700;opacity:.7}
.rec-reportbar input{min-height:38px;border:1px solid rgba(120,130,150,.25);border-radius:10px;padding:7px 10px;background:var(--card,#fff)}
.rec-tabs{display:flex;gap:8px;padding:0 16px 12px;flex-wrap:wrap}.rec-tab{border:1px solid rgba(120,130,150,.2);border-radius:999px;padding:8px 16px;background:transparent;font-weight:700}.rec-tab.active{background:#1f6feb;color:white}
.rec-range-summary{display:flex;gap:18px;flex-wrap:wrap;padding:0 16px 14px;font-size:13px}.rec-range-summary span{opacity:.8}
@media(max-width:700px){.rec-reportbar{align-items:stretch}.rec-reportbar>div{width:calc(50% - 4px)}.rec-reportbar input{width:100%}.rec-tab{flex:1}}

/* 10.4.25 edición histórico */
.rec-edit-hint{margin:0 16px 10px;font-size:12px;opacity:.72}.rec-audit{display:block;font-size:10px;opacity:.55;margin-top:3px}#rHistoryBody select{max-width:190px;min-width:140px}

/* 10.4.26 confirmación explícita */
.rec-apply-one{margin-left:6px;border:0;border-radius:8px;padding:7px 10px;background:#1677ff;color:#fff;font-weight:700}.rec-apply-one:disabled{opacity:.35;cursor:not-allowed}

/* 10.4.27 estado visual aplicado */
.rec-assigned-cell{background:rgba(34,197,94,.08)}.rec-apply-one.is-applied{background:#16a34a}.rec-applied-label{display:block;margin-top:5px;color:#15803d;font-weight:800;font-size:10px}
/* 10.4.27 Conciliación SICAR */
.sicar27 .sicar-ok{background:rgba(34,197,94,.10)}.sicar27 .sicar-bad{background:rgba(239,68,68,.10)}.sicar27 .sicar-ok .sicar-state{color:#15803d;font-weight:800}.sicar27 .sicar-bad .sicar-state{color:#b91c1c;font-weight:800}.sicar27 td small{display:block;max-width:360px;white-space:normal;opacity:.65;margin-top:3px}

/* 10.4.28 */
.sicar-paste{padding:16px;margin:12px 0}.sicar-paste textarea{width:100%;min-height:145px;resize:vertical;margin:10px 0;border:1px solid rgba(120,130,150,.25);border-radius:12px;padding:12px;font:12px/1.45 monospace}.sicar-paste-actions,.sicar-paste-preview{display:flex;gap:10px;flex-wrap:wrap}.sicar-paste-actions{justify-content:flex-end}.rec-done{display:inline-block;padding:7px 10px;border-radius:8px;background:#dff7e8;color:#137a42;font-weight:800}

/* 10.4.29 */
.danger-lite,.sicar-delete-one{border:1px solid rgba(190,40,60,.25);background:#fff1f3;color:#a81f36;border-radius:9px;padding:7px 10px;font-weight:700}.sicar-delete-one{font-size:11px;padding:5px 8px}

/* 10.4.30 · Tareas Diarias Diego dentro de Alertas */
.dc-center-sheet{width:min(920px,96vw);max-height:92vh;overflow:auto}.dc-center-tabs{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin:12px 0 16px}.dc-center-tabs button{border:1px solid #dce5ef;background:#f6f9fc;border-radius:12px;padding:12px;font-weight:850}.dc-center-tabs button.active{background:#0f76d8;color:white;border-color:#0f76d8}.dc-center-tabs i{font-style:normal;background:#e23b55;color:#fff;border-radius:999px;padding:2px 6px;margin-left:5px}.dc-task-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.dc-task-toolbar>div{display:flex;gap:6px}.dc-task-toolbar .mini.active{background:#e8f3ff;border-color:#2387e8;color:#0d68bc}.dc-task-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.dc-task-summary span{padding:11px;border-radius:12px;background:#f6f9fc;border:1px solid #e2eaf2;font-size:12px}.dc-task-summary b{font-size:20px;display:block}.dc-task-list{display:grid;gap:8px}.dc-task-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;border:1px solid #e0e8f0;background:#fff;border-radius:14px;padding:11px}.dc-task-row.done{opacity:.65}.dc-task-row.done .dc-task-main b{text-decoration:line-through}.dc-task-check{width:34px;height:34px;border-radius:50%;border:1px solid #8db9e4;background:#eef7ff;color:#0d72cf;font-weight:900}.dc-task-main b{display:block}.dc-task-main small{display:block;color:#728195;margin-top:3px}.dc-task-main p{margin:5px 0 0;color:#5e6b7a;font-size:12px}.dc-task-done,.dc-routines{margin-top:10px;border:1px solid #e2e9f0;border-radius:12px;padding:10px}.dc-task-done summary,.dc-routines summary{cursor:pointer;font-weight:800}.dc-routine-row{display:flex;justify-content:space-between;gap:10px;padding:9px 3px;border-bottom:1px solid #eef2f6}.dc-routine-row small{color:#718093}.dc-task-editor{position:fixed;inset:0;background:rgba(5,16,28,.52);display:grid;place-items:center;z-index:10001;padding:16px}.dc-task-editor-card{width:min(620px,96vw);background:#fff;border-radius:18px;padding:18px;box-shadow:0 24px 80px rgba(0,0,0,.3)}.dc-task-editor-card label{display:grid;gap:5px;font-size:12px;font-weight:750;margin-top:10px}.dc-task-editor-card input,.dc-task-editor-card select,.dc-task-editor-card textarea{width:100%;border:1px solid #d6e0e9;border-radius:10px;padding:10px;background:#fff}.dc-task-editor-card textarea{min-height:80px;resize:vertical}.dc-task-fields{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:8px}.dc-task-editor-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}@media(max-width:650px){.dc-center-tabs{grid-template-columns:1fr 1fr}.dc-task-toolbar{align-items:stretch;flex-direction:column}.dc-task-summary{grid-template-columns:1fr 1fr 1fr}.dc-task-fields{grid-template-columns:1fr}.dc-task-row{grid-template-columns:auto 1fr}.dc-task-row>.mini{grid-column:2}.dc-routine-row{flex-direction:column}}
/* 10.4.31 · Tareas visibles dentro de la ruta #alerts */
.dc-alerts-page{max-width:1100px;margin:0 auto}.dc-tasks-page-card{margin-top:14px;padding:16px}.dc-alerts-lower{margin-top:22px}.dc-alerts-lower>.section-title{margin-bottom:10px}.dc-alerts-page #dcTaskBody{margin-top:10px}.dc-alerts-page .dc-task-toolbar{margin-bottom:4px}@media(max-width:650px){.dc-alerts-page .page-head1046{align-items:stretch}.dc-alerts-page #dcNewTaskPage1046{width:100%}}

/* 10.4.32 · Tareas Diarias Diego completas */
.dc-task-badge{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:#e23b55;color:#fff;font-size:12px;vertical-align:middle}.dc-personal-tabs{display:flex;gap:7px;margin:12px 0}.dc-personal-tabs button{border:1px solid #dbe5ee;background:#f7f9fc;padding:9px 14px;border-radius:10px;font-weight:800}.dc-personal-tabs button.active{background:#1178d4;color:#fff}.dc-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-bottom:12px}.dc-metrics>div{border:1px solid #dfe8f0;background:#fff;border-radius:14px;padding:14px}.dc-metrics b{display:block;font-size:24px}.dc-metrics span{font-size:11px;color:#718093}.dc-quick{margin-bottom:12px}.dc-quick-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.dc-quick-grid button{min-height:76px;border:1px solid #dce6ef;background:#f8fbfe;border-radius:14px;font-size:22px;font-weight:900}.dc-quick-grid span{display:block;font-size:11px;margin-top:6px}.dc-task-columns{display:grid;grid-template-columns:1.3fr 1fr;gap:12px}.dc-day-nav{display:flex;gap:5px}.dc-week{margin-top:12px}.dc-week-strip{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.dc-week-strip button{border:1px solid #dce5ed;background:#f8fafc;border-radius:12px;padding:9px;display:grid;gap:2px}.dc-week-strip button.active{border-color:#1784e5;background:#eaf5ff}.dc-week-strip span{font-size:18px;font-weight:900}.dc-week-strip small{font-size:10px}.dc-progress{height:8px;border-radius:999px;background:#e8eef4;overflow:hidden;margin:10px 0 5px}.dc-progress i{display:block;height:100%;background:#1784e5}.dc-routine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dc-routine-card{border:1px solid #dfe7ef;border-radius:13px;padding:11px;background:#fff}.dc-routine-card small{display:block;color:#728093;margin-top:3px}.dc-routine-days{display:flex;gap:4px;margin:8px 0}.dc-routine-days i{font-style:normal;font-size:10px;border:1px solid #cbd9e5;border-radius:999px;padding:3px 6px}.dc-routine-card.off{opacity:.5}.dc-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-top:12px}.dc-days label{display:flex;gap:3px;align-items:center;font-size:11px}@media(max-width:760px){.dc-metrics{grid-template-columns:repeat(2,1fr)}.dc-quick-grid{grid-template-columns:repeat(3,1fr)}.dc-task-columns{grid-template-columns:1fr}.dc-week-strip{overflow:auto;grid-template-columns:repeat(7,72px)}.dc-routine-grid{grid-template-columns:1fr}}

/* 10.4.33 · Tareas Diego visual + agenda semanal por día */
.dc-metrics>div:nth-child(1){background:linear-gradient(135deg,#fff4e8,#fff);border-left:4px solid #f08a24}
.dc-metrics>div:nth-child(2){background:linear-gradient(135deg,#edf6ff,#fff);border-left:4px solid #2488e8}
.dc-metrics>div:nth-child(3){background:linear-gradient(135deg,#ecfbf4,#fff);border-left:4px solid #20a66a}
.dc-metrics>div:nth-child(4){background:linear-gradient(135deg,#f5efff,#fff);border-left:4px solid #8357df}
.dc-quick{border-top:4px solid #f08a24}.dc-quick-grid button:nth-child(1){background:#eef7ff;color:#126ec2}.dc-quick-grid button:nth-child(2){background:#f4efff;color:#7148c6}.dc-quick-grid button:nth-child(3){background:#eaf9f2;color:#16865a}.dc-quick-grid button:nth-child(4){background:#fff4e8;color:#c66b14}.dc-quick-grid button:nth-child(5){background:#f2edff;color:#7148c6}.dc-quick-grid button:nth-child(6){background:#fff0f3;color:#bd3551}
.dc-task-columns>section:first-child{border-top:4px solid #2488e8}.dc-week-agenda{border-top:4px solid #20a66a}
.dc-agenda-days{display:grid;grid-template-columns:1fr;gap:7px}.dc-agenda-day{border:1px solid #dde6ee;border-left:5px solid var(--day,#2488e8);border-radius:12px;background:#fff;overflow:hidden}.dc-agenda-day summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:var(--daybg,#f6f9fc)}.dc-agenda-day summary::-webkit-details-marker{display:none}.dc-agenda-day summary span{display:flex;align-items:baseline;gap:8px}.dc-agenda-day summary b{font-size:13px}.dc-agenda-day summary small{font-size:10px;color:#6e7b89}.dc-agenda-day summary i{font-style:normal;display:grid;place-items:center;min-width:26px;height:26px;padding:0 6px;border-radius:999px;background:#fff;border:1px solid #d8e2ea;font-size:11px;font-weight:900}.dc-agenda-body{padding:8px;display:grid;gap:6px}.dc-agenda-body .dc-task-row{padding:8px 9px;border-radius:10px}.dc-agenda-empty{padding:8px 10px;color:#8190a0;font-size:11px}.dc-agenda-day.today{box-shadow:0 0 0 2px rgba(32,166,106,.12)}
.dc-agenda-day.day-0{--day:#2488e8;--daybg:#eef7ff}.dc-agenda-day.day-1{--day:#20a66a;--daybg:#ecfbf4}.dc-agenda-day.day-2{--day:#f08a24;--daybg:#fff4e8}.dc-agenda-day.day-3{--day:#8357df;--daybg:#f5efff}.dc-agenda-day.day-4{--day:#e05270;--daybg:#fff0f3}.dc-agenda-day.day-5{--day:#18a4b8;--daybg:#ebfafc}.dc-agenda-day.day-6{--day:#b98518;--daybg:#fff9e8}
.dc-week{border-top:4px solid #8357df}.dc-week-strip button:nth-child(1){border-top:3px solid #2488e8}.dc-week-strip button:nth-child(2){border-top:3px solid #20a66a}.dc-week-strip button:nth-child(3){border-top:3px solid #f08a24}.dc-week-strip button:nth-child(4){border-top:3px solid #8357df}.dc-week-strip button:nth-child(5){border-top:3px solid #e05270}.dc-week-strip button:nth-child(6){border-top:3px solid #18a4b8}.dc-week-strip button:nth-child(7){border-top:3px solid #b98518}
#dcRoutinesSection{border-top:4px solid #e05270}.dc-routine-card:nth-child(4n+1){border-left:4px solid #2488e8}.dc-routine-card:nth-child(4n+2){border-left:4px solid #20a66a}.dc-routine-card:nth-child(4n+3){border-left:4px solid #f08a24}.dc-routine-card:nth-child(4n){border-left:4px solid #8357df}
@media(min-width:900px){.dc-agenda-days{grid-template-columns:repeat(2,1fr)}.dc-agenda-day.today{grid-column:span 2}}

/* 10.4.34 · Agenda profesional */
.dc-agenda-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:20px 22px;background:linear-gradient(135deg,#f8fbff,#fff);border:1px solid #dfe8f1;border-radius:20px;margin-bottom:12px}.dc-agenda-hero h2{font-size:30px;margin:2px 0}.dc-agenda-hero p{margin:0;color:#657487}.dc-agenda-actions{display:flex;gap:7px;flex-wrap:wrap}.dc-today-board{background:#fff;border:1px solid #dfe7ef;border-radius:20px;padding:16px;display:grid;gap:10px;box-shadow:0 8px 28px rgba(35,56,78,.05)}.dc-time-block{display:grid;grid-template-columns:110px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5}.dc-time-block:last-child{border-bottom:0}.dc-time-label{display:flex;align-items:center;gap:7px;align-self:start;padding:8px}.dc-time-label span{font-size:18px}.dc-time-label b{font-size:12px}.dc-time-label i{margin-left:auto;font-style:normal;font-size:10px;background:#edf2f6;padding:2px 6px;border-radius:999px}.dc-time-block.morning{border-left:4px solid #f0b429}.dc-time-block.afternoon{border-left:4px solid #39a96b}.dc-time-block.night{border-left:4px solid #6657c7}.dc-time-block.none{border-left:4px solid #9aa7b4}.dc-time-tasks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dc-time-tasks .dc-task-row{margin:0;min-height:62px}.dc-today-clear{text-align:center;padding:30px;display:grid;gap:4px;color:#567}.dc-completed{margin-top:4px;border-top:1px dashed #dce4eb;padding-top:10px}.dc-completed summary{cursor:pointer;color:#758395;font-weight:700}.dc-completed .dc-time-tasks{margin-top:9px;opacity:.68}.dc-week-board{background:#fff;border:1px solid #dfe7ef;border-radius:20px;padding:16px;margin-top:14px;box-shadow:0 8px 28px rgba(35,56,78,.05)}.dc-week-head{display:flex;justify-content:space-between;gap:12px;align-items:end;margin-bottom:12px}.dc-week-head h3{margin:2px 0}.dc-week-head p{margin:0;color:#718093;font-size:11px}.dc-week-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.dc-week-day{border:1px solid #e1e8ef;border-radius:15px;min-height:270px;overflow:hidden;background:#fbfcfe}.dc-week-day.today{border:2px solid #2588e6;background:#f6fbff}.dc-week-day header{display:flex;justify-content:space-between;align-items:center;padding:10px;border-bottom:1px solid #e7edf3;background:#fff}.dc-week-day header div{display:flex;gap:6px;align-items:baseline}.dc-week-day header small{font-weight:850;color:#687789}.dc-week-day header b{font-size:19px}.dc-week-day header>span{font-size:10px;background:#eaf0f5;border-radius:999px;padding:3px 7px}.dc-week-day-body{padding:7px;display:grid;gap:5px}.dc-week-task{border:0;border-left:3px solid #9aa7b4;border-radius:8px;background:#fff;padding:7px;text-align:left;display:grid;grid-template-columns:auto 1fr;gap:5px;font-size:10px;box-shadow:0 1px 4px rgba(20,40,60,.05)}.dc-week-task time{font-weight:850;color:#536272}.dc-week-task span{line-height:1.2}.dc-week-task.period-morning{border-left-color:#f0b429}.dc-week-task.period-afternoon{border-left-color:#39a96b}.dc-week-task.period-night{border-left-color:#6657c7}.dc-week-more{border:0;background:#edf4fb;color:#176ab4;border-radius:8px;padding:7px;font-weight:800}.dc-week-empty{text-align:center;color:#a0aab4;padding:28px 3px;font-size:11px}.dc-time-legend{display:flex;gap:14px;justify-content:flex-end;margin-top:10px;font-size:10px;color:#718093}.dc-time-legend span{display:flex;gap:4px;align-items:center}.dc-time-legend i{width:8px;height:8px;border-radius:50%}.dc-time-legend i.morning{background:#f0b429}.dc-time-legend i.afternoon{background:#39a96b}.dc-time-legend i.night{background:#6657c7}.dc-time-legend i.none{background:#9aa7b4}.dc-routines-compact{display:flex;justify-content:space-between;align-items:center;background:#f8fafc;border:1px solid #e1e8ef;border-radius:15px;padding:11px 14px;margin-top:12px}.dc-routines-compact div{display:flex;gap:8px;align-items:center}.dc-routines-compact span{font-size:11px;color:#718093}.dc-routine-panel{margin-top:8px}.dc-alerts-min{text-align:right;margin:10px 0 70px}@media(max-width:800px){.dc-agenda-hero{align-items:flex-start;flex-direction:column}.dc-agenda-hero h2{font-size:25px}.dc-time-block{grid-template-columns:1fr}.dc-time-label{padding:4px}.dc-time-tasks{grid-template-columns:1fr}.dc-week-calendar{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:7px}.dc-week-day{min-width:210px;scroll-snap-align:start}.dc-week-head{align-items:flex-start;flex-direction:column}.dc-time-legend{justify-content:flex-start;flex-wrap:wrap}}

/* 10.4.35 · Tareas Diarias integrada + semana visión amplia */
.dc-week-task{min-height:92px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px!important;padding:9px!important;border:0!important;border-radius:11px!important;color:#fff!important;box-shadow:0 3px 10px rgba(28,45,65,.12)!important}.dc-week-task time{font-size:15px!important;font-weight:950!important;line-height:1!important;color:#fff!important}.dc-week-task small{font-size:9px!important;font-weight:700!important;color:rgba(255,255,255,.78)!important;text-transform:uppercase}.dc-week-task strong{font-size:12px!important;line-height:1.18!important;text-align:left!important;margin-top:4px}.dc-week-task.tone-blue{background:#2588e6!important}.dc-week-task.tone-green{background:#25a66a!important}.dc-week-task.tone-orange{background:#ed8a2d!important}.dc-week-task.tone-purple{background:#7754d8!important}.dc-week-task.tone-pink{background:#df4966!important}.dc-week-task.tone-red{background:#d94a4a!important}.dc-week-task.tone-teal{background:#1799a5!important}.dc-week-day{min-height:640px!important;background:#f7f9fc!important}.dc-week-day-body{gap:8px!important}.dc-week-day header{padding:11px!important}.dc-week-day header small{font-size:12px!important}.dc-week-day header b{font-size:22px!important}.dc-notify-control,.dc-routines-full{background:#fff;border:1px solid #dfe7ef;border-radius:20px;padding:16px;margin-top:14px;box-shadow:0 8px 28px rgba(35,56,78,.05)}.dc-notify-control{border-top:4px solid #2588e6}.dc-routines-full{border-top:4px solid #7754d8}.dc-module-title{display:flex;align-items:center;gap:10px;margin-bottom:12px}.dc-module-title>div{display:grid;flex:1}.dc-module-title b{font-size:16px}.dc-module-title small{color:#718093}.dc-solid-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;color:#fff;font-size:19px}.icon-blue{background:#2588e6}.icon-purple{background:#7754d8}.solid-purple{background:#7754d8!important;border-color:#7754d8!important}.dc-notify-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dc-notify-stats div{padding:11px;border-radius:12px;background:#f5f8fb;border:1px solid #e2e9f0}.dc-notify-stats b{display:block;font-size:20px}.dc-notify-stats span{font-size:10px;color:#718093}.dc-notify-list{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px}.dc-notify-list button{display:grid;text-align:left;border:1px solid #dfe7ef;border-radius:10px;background:#f9fbfd;padding:9px}.dc-notify-list span{font-size:9px;color:#718093}.dc-routines-full .dc-routine-grid{grid-template-columns:repeat(3,1fr)!important}.dc-routine-card{border:0!important;color:#fff!important;min-height:120px}.dc-routine-card small,.dc-routine-card p{color:rgba(255,255,255,.82)!important}.dc-routine-card .mini{background:rgba(255,255,255,.9)!important}.solid-card-0{background:#2588e6!important}.solid-card-1{background:#25a66a!important}.solid-card-2{background:#ed8a2d!important}.solid-card-3{background:#7754d8!important}.solid-card-4{background:#df4966!important}.solid-card-5{background:#1799a5!important}.dc-routine-days span{background:rgba(255,255,255,.2)!important;color:#fff!important}.dc-soft-empty{padding:18px;text-align:center;color:#7a8795;background:#f7f9fb;border-radius:12px}.dc-alerts-secondary{text-align:right;margin:12px 0 70px}.dc-alerts-secondary #dcAlertsHidden{text-align:left;margin-top:8px}@media(max-width:800px){.dc-week-day{min-height:560px!important}.dc-week-task{min-height:84px!important}.dc-notify-stats{grid-template-columns:1fr 1fr 1fr}.dc-notify-list{grid-template-columns:1fr}.dc-routines-full .dc-routine-grid{grid-template-columns:1fr!important}.dc-module-title{align-items:flex-start;flex-wrap:wrap}}

/* 10.4.36 · ChatGPT Tareas + Apariencia Sistema/Claro/Oscuro */
.dc-ai-task-btn{border:0;border-radius:10px;padding:9px 14px;background:#7754d8;color:#fff;font-weight:850}.dc-ai-card textarea{width:100%;border:1px solid #d9e2eb;border-radius:12px;padding:12px;font:inherit;resize:vertical}.dc-ai-preview{margin-top:10px}.dc-ai-plan{display:grid;gap:4px;border:1px solid #dcd8f5;background:#f7f5ff;border-radius:12px;padding:12px;margin-bottom:8px}.dc-ai-plan b{color:#6747c5}.dc-ai-plan span{font-weight:850;font-size:15px}.dc-ai-plan small,.dc-ai-plan em{color:#718093;font-style:normal}.dc-ai-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.dc-appearance-card{margin:12px 0 16px;padding:15px}.dc-appearance-head{display:flex;gap:10px;align-items:center;margin-bottom:11px}.dc-appearance-head>div{display:grid}.dc-appearance-head small{color:#718093}.dc-appearance-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#24364b;color:#fff;font-size:20px}.dc-theme-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.dc-theme-switch button{border:1px solid #dfe7ef;background:#f8fafc;border-radius:12px;padding:11px;text-align:left}.dc-theme-switch button b,.dc-theme-switch button small{display:block}.dc-theme-switch button small{font-size:10px;color:#718093;margin-top:2px}.dc-theme-switch button.active{outline:2px solid #2588e6;background:#eaf4ff}
html.dc-dark body,html.dc-dark #app,html.dc-dark #view{background:#10151c!important;color:#e8eef5!important}html.dc-dark .topbar,html.dc-dark .card,html.dc-dark .section,html.dc-dark .sheet,html.dc-dark .dc-agenda-hero,html.dc-dark .dc-today-board,html.dc-dark .dc-week-board,html.dc-dark .dc-notify-control,html.dc-dark .dc-routines-full,html.dc-dark .dc-task-section,html.dc-dark .dc-task-editor-card,html.dc-dark .config-section-block,html.dc-dark .more-group1046{background:#171e27!important;color:#e8eef5!important;border-color:#2b3745!important}html.dc-dark .muted,html.dc-dark small,html.dc-dark p{color:#9eabb9}html.dc-dark input,html.dc-dark textarea,html.dc-dark select{background:#111821!important;color:#edf3f8!important;border-color:#344252!important}html.dc-dark .dc-week-day{background:#131a22!important;border-color:#2b3745!important}html.dc-dark .dc-week-day header{background:#1b2430!important;border-color:#2b3745!important}html.dc-dark .dc-week-empty,html.dc-dark .dc-soft-empty,html.dc-dark .dc-notify-stats div,html.dc-dark .dc-notify-list button,html.dc-dark .dc-theme-switch button,html.dc-dark .dc-ai-plan{background:#202a36!important;color:#e7edf4!important;border-color:#334252!important}html.dc-dark .dc-theme-switch button.active{outline-color:#58a9f5!important;background:#203b56!important}html.dc-dark .secondary,html.dc-dark .mini,html.dc-dark .icon-btn.light{background:#25303d!important;color:#e8eef5!important;border-color:#3a495a!important}html.dc-dark table,html.dc-dark th,html.dc-dark td{border-color:#33404e!important;color:#e8eef5!important}html.dc-dark th{background:#1c2530!important}html.dc-dark .overlay{background:rgba(0,0,0,.72)!important}@media(max-width:650px){.dc-theme-switch{grid-template-columns:1fr}.dc-ai-actions{flex-direction:column-reverse}}

/* ===== SOURCE: enterprise-10.4.37-imei.css ===== */
.imei-page{max-width:1500px;margin:auto}.imei-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.imei-stats>div{background:#fff;border:1px solid #e3e9ef;border-radius:14px;padding:14px;display:grid}.imei-stats b{font-size:24px}.imei-stats small{color:#718093}.imei-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.imei-filter{display:grid;grid-template-columns:1fr 190px;gap:8px}.imei-grid-head,.imei-row{display:grid;grid-template-columns:110px 1.4fr 1.4fr 1.1fr 100px 100px;gap:10px;align-items:center}.imei-grid-head{padding:8px 12px;font-size:10px;font-weight:900;color:#718093;text-transform:uppercase}.imei-row{width:100%;border:1px solid #e3e9ef;background:#fff;border-radius:11px;padding:10px 12px;text-align:left;margin-bottom:6px;color:#24364b}.imei-row code{display:grid;font-size:11px}.imei-row code small{opacity:.7}.imei-status{font-style:normal;font-size:10px;font-weight:900;text-transform:uppercase;border-radius:999px;padding:5px 8px;text-align:center;background:#e9eef4}.imei-status.disponible{background:#dff7e9;color:#147442}.imei-status.vendido{background:#e4efff;color:#195eb6}.imei-status.garantia{background:#fff0ce;color:#8a5a00}.imei-sheet{max-width:820px}.imei-sheet textarea{width:100%}.imei-preview{max-height:320px;overflow:auto;margin:8px 0}.imei-preview>div{display:grid;grid-template-columns:1.2fr 1.5fr 1fr .8fr;gap:8px;padding:7px;border-bottom:1px solid #e6ebf0}.imei-preview .badrow{background:#fff1f1}.imei-preview .okrow{background:#effbf4}html.dc-dark .imei-stats>div,html.dc-dark .imei-row,html.dc-dark .imei-filter{background:#171e27!important;color:#e8eef5!important;border-color:#2b3745!important}@media(max-width:760px){.imei-stats{grid-template-columns:1fr 1fr}.imei-filter{grid-template-columns:1fr}.imei-grid-head{display:none}.imei-row{grid-template-columns:1fr 1fr}.imei-row>*{min-width:0;overflow-wrap:anywhere}}
.imei-review-head{margin-top:12px;padding:10px 12px;border-radius:12px;background:#fff3d6;color:#7a5200;display:flex;justify-content:space-between;gap:10px}.imei-errors .badrow{grid-template-columns:1.1fr 1.5fr 1.6fr auto;align-items:center}.imei-errors .mini{padding:6px 9px;margin:2px;border:0;border-radius:8px;cursor:pointer}.imei-errors .danger{background:#ffe1e1;color:#9a2020}.imei-valid{margin:10px 0}.imei-valid summary{cursor:pointer;font-weight:800}.dc-dark .imei-review-head{background:#493c20;color:#ffe3a1}@media(max-width:760px){.imei-errors .badrow{grid-template-columns:1fr}.imei-review-head{display:grid}}

html.dc-dark .imei-preview,html.dc-dark .imei-preview>div,html.dc-dark .imei-errors .badrow{background:#171e27!important;color:#eef4fb!important;border-color:#334152!important}
html.dc-dark .imei-errors .badrow code,html.dc-dark .imei-errors .badrow b,html.dc-dark .imei-errors .badrow span,html.dc-dark .imei-errors .badrow small{color:#eef4fb!important;opacity:1!important}
html.dc-dark .imei-valid{color:#eef4fb!important}.imei-row>span:first-child{display:grid;gap:2px}.imei-row>span:first-child small{font-size:9px;opacity:.68}

.imei-stock-details{margin-top:12px;border:1px solid rgba(120,145,180,.24);border-radius:14px;overflow:hidden}
.imei-stock-details>summary{cursor:pointer;list-style:none;padding:12px 14px;display:flex;justify-content:space-between;gap:12px;align-items:center;background:rgba(80,130,190,.08)}
.imei-stock-details>summary::-webkit-details-marker{display:none}.imei-stock-details>summary span{font-size:11px;opacity:.7}
.imei-quality{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:10px 0;padding:10px 12px;border-radius:12px;background:rgba(30,130,210,.08)}
.imei-quality span{padding:5px 8px;border-radius:999px;background:rgba(100,130,170,.12);font-size:11px}
@media(max-width:760px){.imei-stock-details>summary{align-items:flex-start;flex-direction:column}}

/* ===== SOURCE: enterprise-10.4.55-warranties.css ===== */
.w3-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0}.w3-kpis>div{padding:14px;border-radius:16px;background:#fff;border:1px solid #e4eaf2;display:grid;gap:2px}.w3-kpis b{font-size:26px}.w3-kpis small{font-weight:900}.w3-kpis span{font-size:10px;color:#64748b}.w3-kpis .critical{border-color:#ef4444;background:#fff1f2}.w3-kpis .high{border-color:#f59e0b;background:#fffbeb}.w3-kpis .good{border-color:#22c55e;background:#f0fdf4}.w3-search input{width:100%;box-sizing:border-box;margin:4px 0 10px}.w3-group{border:1px solid #dce4ee;border-radius:16px;margin:10px 0;overflow:hidden;background:#fff}.w3-group>summary{cursor:pointer;list-style:none;padding:13px 15px;display:flex;justify-content:space-between;font-weight:900}.w3-group>summary b{min-width:28px;text-align:center;border-radius:99px;padding:3px 8px;background:#e8eef7}.w3-group.critical>summary{background:#fee2e2;color:#991b1b}.w3-group.high>summary{background:#fef3c7;color:#92400e}.w3-group.normal>summary{background:#ecfdf5;color:#166534}.w3-stack{display:grid;gap:9px;padding:10px}.w3-card{border:1px solid #dbe4ef;border-left:6px solid #22c55e;border-radius:14px;padding:12px;background:#fff}.w3-card.high{border-left-color:#f59e0b}.w3-card.critical{border-left-color:#ef4444;background:#fff8f8}.w3-cardtop{display:flex;justify-content:space-between;gap:12px}.w3-card h3{margin:2px 0}.w3-card p{margin:2px 0;color:#64748b}.w3-folio{font-size:9px;font-weight:900;color:#64748b}.w3-age{text-align:right;font-size:18px;font-weight:950}.w3-age small{display:block;font-size:9px;color:#ef4444}.w3-info{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.w3-info span{padding:8px;border-radius:10px;background:#f5f8fc;font-size:12px;font-weight:800}.w3-info small{display:block;font-size:9px;color:#64748b}.w3-idlookup{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:12px}.w3-idlookup small{grid-column:1/-1}.w3-empty{padding:15px;color:#64748b}html.dc-dark .w3-kpis>div,html.dc-dark .w3-group,html.dc-dark .w3-card{background:#111b2b;color:#f8fafc;border-color:#334155}html.dc-dark .w3-kpis .critical,html.dc-dark .w3-card.critical{background:#35191e}html.dc-dark .w3-kpis .high{background:#352b16}html.dc-dark .w3-kpis .good{background:#123224}html.dc-dark .w3-group.critical>summary{background:#4b1f25;color:#ff9da7}html.dc-dark .w3-group.high>summary{background:#493718;color:#ffd36e}html.dc-dark .w3-group.normal>summary{background:#153b2a;color:#82efad}html.dc-dark .w3-group.closed>summary{background:#263244;color:#d7e0ed}html.dc-dark .w3-info span{background:#19263a}html.dc-dark .w3-card p,html.dc-dark .w3-info small,html.dc-dark .w3-kpis span{color:#aab8cb}@media(max-width:760px){.w3-kpis{grid-template-columns:1fr 1fr}.w3-info{grid-template-columns:1fr 1fr}.w3-cardtop{align-items:flex-start}.w3-idlookup{grid-template-columns:1fr}.w3-idlookup small{grid-column:auto}}
.w3-lookup-actions{display:flex;gap:7px;align-items:end}.w3-supplier-search{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(160px,1.2fr);gap:6px}.w3-article-sheet{max-width:720px}.w3-article-list{display:grid;gap:7px;max-height:58vh;overflow:auto;margin-top:10px}.w3-article{appearance:none;border:1px solid #dbe4ef;background:#f8fafc;border-radius:12px;padding:10px 12px;text-align:left;display:grid;grid-template-columns:1.4fr 1fr;gap:2px 10px;color:inherit;cursor:pointer}.w3-article small{grid-column:1/-1;color:#64748b}.w3-article:hover{border-color:#3b82f6;background:#eff6ff}html.dc-dark .w3-article{background:#172337;border-color:#334155}html.dc-dark .w3-article:hover{background:#1e3150;border-color:#60a5fa}html.dc-dark .w3-article small{color:#aab8cb}@media(max-width:760px){.w3-lookup-actions{display:grid}.w3-supplier-search{grid-template-columns:1fr}.w3-article{grid-template-columns:1fr}}

.w3-full{grid-column:1/-1!important}.w3-full textarea{width:100%;box-sizing:border-box;min-height:104px;resize:vertical;line-height:1.45;padding:12px}.w3-full:last-of-type textarea{min-height:132px}.w3-optional{font-weight:700;color:#64748b;margin-left:5px}.w3-form-spacer{min-height:1px}.w3-supplier-search input{min-width:0}html.dc-dark .w3-optional{color:#94a3b8}@media(max-width:760px){.w3-form-spacer{display:none}.w3-full textarea{min-height:120px}.w3-full:last-of-type textarea{min-height:150px}}

/* 10.4.53 — captura controlada desde catálogos */
.w3-sheet .form-grid select{width:100%;min-height:42px}
.w3-supplier-search select{min-height:42px}

/* 10.4.54 — catálogos de Garantías 3.0 */
.w3-sheet select option{color:#0f172a;background:#fff}
html.dc-dark .w3-sheet select option{color:#e5e7eb;background:#111827}

/* 10.4.55 — enlace real con catálogos DC CONTROL */

/* ===== SOURCE: enterprise-10.4.61-seller-role.css ===== */

html.dc-role-seller .global-search-wrap,
html.dc-role-seller #alertBtn{display:none!important}
.seller-readonly1057{
 margin:8px 0 14px;padding:10px 12px;border-radius:12px;
 background:rgba(59,130,246,.12);border:1px solid rgba(96,165,250,.35);
 font-size:12px;font-weight:800
}
#nav .seller-nav1057 span{font-size:20px;line-height:1}
#nav .seller-nav1057 small{display:block}

/* ===== SOURCE: enterprise-10.4.65-tabs.css ===== */
/* DC CONTROL 10.4.65 — pestañas financieras con identidad visual */
.module-tabs1046{gap:9px!important;overflow:visible!important;flex-wrap:wrap!important}
.module-tabs1046 button{min-width:150px!important;min-height:44px!important;border:0!important;color:#fff!important;font-weight:900!important;box-shadow:0 6px 16px rgba(15,23,42,.16)!important;opacity:1!important}
.module-tabs1046 button:first-child{background:linear-gradient(135deg,#f59e0b,#ea580c)!important;color:#fff!important}
.module-tabs1046 #financeReconciliation1046{background:linear-gradient(135deg,#1687ff,#1766e8)!important;color:#fff!important}
.module-tabs1046 #financeSicar10427{background:linear-gradient(135deg,#22c55e,#059669)!important;color:#fff!important}
.module-tabs1046 button.active{outline:3px solid rgba(255,255,255,.72)!important;outline-offset:-4px!important;filter:saturate(1.12) brightness(1.04)!important}
/* Historial conciliado: Abonos / Cargos / Otros */
.rec20 .rec-reportbar + .rec-history-tabs button:nth-child(1),
.rec20 button[data-hfilter="credit"],.rec20 button[data-hfilter="abonos"]{background:#16a34a!important;color:#fff!important;border-color:transparent!important}
.rec20 .rec-reportbar + .rec-history-tabs button:nth-child(2),
.rec20 button[data-hfilter="charge"],.rec20 button[data-hfilter="cargos"]{background:#ef4444!important;color:#fff!important;border-color:transparent!important}
.rec20 .rec-reportbar + .rec-history-tabs button:nth-child(3),
.rec20 button[data-hfilter="other"],.rec20 button[data-hfilter="otros"]{background:#7c3aed!important;color:#fff!important;border-color:transparent!important}
@media(max-width:700px){.module-tabs1046{display:grid!important;grid-template-columns:1fr!important}.module-tabs1046 button{width:100%!important;min-width:0!important}}

/* ===== SOURCE: enterprise-10.4.66-finance-tabs.css ===== */
.finance-tabs1066{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px;padding:5px;border-radius:18px;background:rgba(15,23,42,.18)}
.finance-tabs1066 button{min-height:54px;border:0;border-radius:14px;color:#fff!important;font-weight:800;font-size:14px;padding:10px 14px;box-shadow:0 7px 18px rgba(0,0,0,.18);opacity:.86;cursor:pointer}
.finance-tabs1066 button.active{opacity:1;outline:3px solid rgba(255,255,255,.75);transform:translateY(-1px)}
@media(max-width:700px){.finance-tabs1066{grid-template-columns:1fr}.finance-tabs1066 button{min-height:48px}}

/* ===== SOURCE: enterprise-10.4.67-finance-tabs.css ===== */
/* DC CONTROL 10.4.67 — barra financiera fija y limpia */
.finance-tabs1066{position:sticky!important;top:8px!important;z-index:80!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important;padding:6px!important;border-radius:18px!important;background:rgba(15,23,42,.94)!important;backdrop-filter:blur(12px);box-shadow:0 10px 28px rgba(0,0,0,.22)}
.finance-tabs1066 button{min-height:56px!important;border:0!important;border-radius:14px!important;color:#fff!important;font-weight:900!important;font-size:14px!important;padding:10px 14px!important;box-shadow:0 7px 18px rgba(0,0,0,.22)!important;opacity:.88!important;cursor:pointer!important}
.finance-tabs1066 button.active{opacity:1!important;outline:3px solid rgba(255,255,255,.9)!important;box-shadow:0 0 0 2px rgba(15,23,42,.7),0 9px 22px rgba(0,0,0,.28)!important}
/* Quita la barra financiera vieja para no duplicar pestañas */
.finance-tabs1066 + .module-tabs1046{display:none!important}
@media(max-width:700px){.finance-tabs1066{top:4px!important;gap:6px!important}.finance-tabs1066 button{min-height:48px!important;font-size:11px!important;padding:8px 5px!important}}

/* ===== SOURCE: enterprise-10.4.75-aesthetic.css ===== */
/* DC CONTROL 10.4.75 — bloque estético independiente. Sin cambios de lógica/datos. */

/* INICIO — accesos rápidos: iconos con identidad cromática clara */
.module-103 .enterprise-action-grid .enterprise-action{--dc-accent:#167ef0!important;border-color:color-mix(in srgb,var(--dc-accent) 24%,#dbe4ef)!important;background:linear-gradient(145deg,color-mix(in srgb,var(--dc-accent) 5%,#fff),#fff)!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+1){--dc-accent:#167ef0!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+2){--dc-accent:#ef476f!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+3){--dc-accent:#12a864!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+4){--dc-accent:#7b4be0!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+5){--dc-accent:#f59e0b!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+6){--dc-accent:#0ea5b7!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+7){--dc-accent:#2563eb!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n+8){--dc-accent:#f97316!important}
.module-103 .enterprise-action-grid .enterprise-action:nth-child(9n){--dc-accent:#64748b!important}
.module-103 .enterprise-action-grid .enterprise-action-icon{background:linear-gradient(145deg,color-mix(in srgb,var(--dc-accent) 82%,#fff),var(--dc-accent))!important;color:#fff!important;border-color:color-mix(in srgb,var(--dc-accent) 72%,#fff)!important;box-shadow:0 7px 18px color-mix(in srgb,var(--dc-accent) 25%,transparent)!important}
.module-103 .enterprise-action-grid .enterprise-action>strong{color:var(--dc-accent)!important}
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action{background:linear-gradient(145deg,color-mix(in srgb,var(--dc-accent) 12%,#171e27),#171e27)!important;border-color:color-mix(in srgb,var(--dc-accent) 42%,#2b3745)!important}
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action-copy b{color:#f8fafc!important}
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action-copy small{color:#aebbd0!important}

/* INICIO — Atención requerida como una tarjeta visual única */
.home-attention1075{overflow:hidden!important;border:1px solid #d9e4f0!important;box-shadow:0 8px 24px rgba(15,45,75,.08)!important;padding:0!important}
.home-attention1075>.row{margin:0!important;padding:11px 14px!important;border-top:1px solid #e8eef5!important}
.home-attention1075>.row:first-child{border-top:0!important;padding:14px!important;background:linear-gradient(135deg,#f7fbff,#eef6ff)!important}
.home-attention1075>.row:first-child b{font-size:14px!important;color:#173b67!important}
.home-attention1075>.row:not(:first-child) span:first-child{font-weight:800!important;color:#263b55!important}
html.dc-dark .home-attention1075{background:#151f2c!important;border-color:#34465b!important}
html.dc-dark .home-attention1075>.row{border-color:#2d3c4f!important}
html.dc-dark .home-attention1075>.row:first-child{background:linear-gradient(135deg,#1b2a3d,#172334)!important}
html.dc-dark .home-attention1075>.row:first-child b,html.dc-dark .home-attention1075>.row:not(:first-child) span:first-child{color:#f4f8fc!important}

/* MÁS — encabezado empresarial compacto y de lado a lado */
.more-page1048 .more-head1075{width:100%!important;box-sizing:border-box!important;margin:0 0 10px!important;padding:10px 16px!important;min-height:62px!important;align-items:center!important;border-radius:15px!important;background:linear-gradient(115deg,#1769e8,#1747d1 58%,#2845d8)!important;color:#fff!important;box-shadow:0 9px 24px rgba(23,91,220,.20)!important}
.more-page1048 .more-head1075>div{width:100%!important;display:grid!important;grid-template-columns:auto auto 1fr!important;gap:8px!important;align-items:center!important}
.more-page1048 .more-head1075 .eyebrow{color:#dbeafe!important;font-size:8px!important;margin:0!important;white-space:nowrap!important}
.more-page1048 .more-head1075 h2{color:#fff!important;font-size:17px!important;margin:0!important;line-height:1!important}
.more-page1048 .more-head1075 p{color:#dbeafe!important;font-size:9px!important;margin:0!important;text-align:right!important}
@media(max-width:650px){.more-page1048 .more-head1075{padding:9px 12px!important;min-height:58px!important}.more-page1048 .more-head1075>div{grid-template-columns:auto auto!important}.more-page1048 .more-head1075 p{grid-column:1/-1;text-align:left!important}.more-page1048 .more-grid1048{margin-top:6px!important}}

/* CONCILIACIÓN BBVA — color por bloque, solo presentación */
.rec20 .rec-group.rec-charges1075{border:1px solid rgba(244,63,94,.55)!important;box-shadow:inset 4px 0 #f43f5e!important}
.rec20 .rec-group.rec-charges1075>summary{background:linear-gradient(90deg,rgba(244,63,94,.18),rgba(244,63,94,.04))!important}.rec20 .rec-group.rec-charges1075>summary b{color:#e11d48!important}
.rec20 .rec-group.rec-credits1075{border:1px solid rgba(34,197,94,.55)!important;box-shadow:inset 4px 0 #22c55e!important}
.rec20 .rec-group.rec-credits1075>summary{background:linear-gradient(90deg,rgba(34,197,94,.18),rgba(34,197,94,.04))!important}.rec20 .rec-group.rec-credits1075>summary b{color:#15803d!important}
.rec20 .rec-group.rec-history{border:1px solid rgba(99,102,241,.55)!important;box-shadow:inset 4px 0 #6366f1!important}
.rec20 .rec-group.rec-history>summary{background:linear-gradient(90deg,rgba(99,102,241,.18),rgba(99,102,241,.04))!important}.rec20 .rec-group.rec-history>summary b{color:#4f46e5!important}
html.dc-dark .rec20 .rec-group.rec-charges1075>summary b{color:#ff7891!important}html.dc-dark .rec20 .rec-group.rec-credits1075>summary b{color:#6ee7a1!important}html.dc-dark .rec20 .rec-group.rec-history>summary b{color:#a5b4fc!important}
html.dc-dark .rec20 .rec-group .enterprise-table th{color:#eaf2fb!important;background:#1a2736!important}html.dc-dark .rec20 .rec-group .enterprise-table td{color:#e8eef5!important;background:#121c28!important}

/* SICAR — Fecha aplicada / Cliente con indicadores de color y mejor contraste */
.sicar27 .sicar-table1075 th:nth-child(1){background:#0f766e!important;color:#fff!important}.sicar27 .sicar-table1075 th:nth-child(1)::before{content:'✓ ';font-weight:950}.sicar27 .sicar-table1075 th:nth-child(2){background:#1769e8!important;color:#fff!important}.sicar27 .sicar-table1075 th:nth-child(2)::before{content:'→ ';font-weight:950}.sicar27 .sicar-table1075 td:nth-child(1){font-weight:800!important}.sicar27 .sicar-table1075 td:nth-child(2){font-weight:900!important;color:#175cd3!important}.sicar27 .sicar-table1075 td:nth-child(3){font-weight:900!important;color:#15803d!important}
html.dc-dark .sicar27 .sicar-table1075 td:nth-child(2){color:#77b7ff!important}html.dc-dark .sicar27 .sicar-table1075 td:nth-child(3){color:#6ee7a1!important}html.dc-dark .sicar27 .sicar-table1075 tbody tr{background:#121c28!important}html.dc-dark .sicar27 .sicar-table1075 tbody tr:nth-child(even){background:#172536!important}

/* REPORTES — fondo legible para movimientos en claro y oscuro */
.reports-1075 .enterprise-table-wrap{border:1px solid #b9cbe0!important;border-radius:16px!important;overflow:auto!important;background:#eef4fa!important;box-shadow:0 8px 24px rgba(15,45,75,.08)!important}
.reports-1075 .enterprise-table{background:#f7faff!important}.reports-1075 .enterprise-table th{background:#17324f!important;color:#fff!important;border-color:#274968!important}.reports-1075 .enterprise-table td{background:#f7faff!important;color:#233b55!important;border-color:#d8e4ef!important;font-weight:650!important}.reports-1075 .enterprise-table tbody tr:nth-child(even) td{background:#eaf2f9!important}.reports-1075 .enterprise-table tbody tr:hover td{background:#dcecff!important}
html.dc-dark .reports-1075 .enterprise-table-wrap{background:#0f1b28!important;border-color:#36516b!important}html.dc-dark .reports-1075 .enterprise-table{background:#111d2a!important}html.dc-dark .reports-1075 .enterprise-table th{background:#19334c!important;color:#f8fbff!important;border-color:#36516b!important}html.dc-dark .reports-1075 .enterprise-table td{background:#132131!important;color:#eef5fb!important;border-color:#2d4256!important}html.dc-dark .reports-1075 .enterprise-table tbody tr:nth-child(even) td{background:#182a3c!important}html.dc-dark .reports-1075 .enterprise-table tbody tr:hover td{background:#203a53!important}

/* DC CONTROL 10.4.81r1 — Inicio: identidad cromática por tarjeta. SOLO ESTÉTICA. */
.module-103 .enterprise-action-grid .enterprise-action{
  color:#fff!important;
  border-color:color-mix(in srgb,var(--dc-accent) 72%,#fff)!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--dc-accent) 86%,#fff),var(--dc-accent))!important;
  box-shadow:0 8px 20px color-mix(in srgb,var(--dc-accent) 18%,transparent)!important;
}
.module-103 .enterprise-action-grid .enterprise-action-copy b,
.module-103 .enterprise-action-grid .enterprise-action-copy small,
.module-103 .enterprise-action-grid .enterprise-action em,
.module-103 .enterprise-action-grid .enterprise-action>strong{color:#fff!important}
.module-103 .enterprise-action-grid .enterprise-action-icon{
  background:rgba(255,255,255,.17)!important;
  border:1px solid rgba(255,255,255,.24)!important;
  color:#fff!important;
  box-shadow:none!important;
}
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action{
  background:linear-gradient(135deg,color-mix(in srgb,var(--dc-accent) 80%,#111827),color-mix(in srgb,var(--dc-accent) 58%,#111827))!important;
  border-color:color-mix(in srgb,var(--dc-accent) 72%,#64748b)!important;
}
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action-copy b,
html.dc-dark .module-103 .enterprise-action-grid .enterprise-action-copy small{color:#fff!important}

/* Diagnóstico empresarial — cada estado con color propio y alto contraste */
.core-diagnostic-1031{border:1px solid #31455e!important;background:linear-gradient(145deg,#152131,#111b28)!important;box-shadow:0 8px 22px rgba(0,0,0,.12)!important}
.core-diagnostic-1031>.row>div>b{color:#f8fafc!important;font-size:14px!important}
.core-diagnostic-1031>.row>div>small{display:block;color:#b9c6d8!important;margin-top:3px!important}
.sync-facts-1031{gap:10px!important;margin-top:12px!important}
.sync-facts-1031 span{position:relative;overflow:hidden;color:#fff!important;border:1px solid rgba(255,255,255,.18)!important;padding:12px 13px!important;box-shadow:0 6px 16px rgba(0,0,0,.10)!important}
.sync-facts-1031 span b{display:block;color:#fff!important;margin-top:4px!important;font-size:13px!important}
.sync-facts-1031 span:nth-child(1){background:linear-gradient(135deg,#0f9f6e,#087b58)!important}
.sync-facts-1031 span:nth-child(2){background:linear-gradient(135deg,#1688f8,#0b63ce)!important}
.sync-facts-1031 span:nth-child(3){background:linear-gradient(135deg,#8b5cf6,#6d28d9)!important}
.sync-facts-1031 span:nth-child(4){background:linear-gradient(135deg,#f97316,#d94c0a)!important}
html:not(.dc-dark) .core-diagnostic-1031{background:linear-gradient(145deg,#f8fbff,#eef5ff)!important;border-color:#c9d9ec!important}
html:not(.dc-dark) .core-diagnostic-1031>.row>div>b{color:#17324f!important}
html:not(.dc-dark) .core-diagnostic-1031>.row>div>small{color:#60758d!important}

/* ===== SOURCE: enterprise-10.4.81r2-tasks-colors.css ===== */
/* DC CONTROL 10.4.81r2 — SOLO COLOR. Sin cambios de estructura ni lógica. */
.dc-personal-tabs [data-personal-tab="tasks"]{
  background:#1677e8!important;border-color:#1677e8!important;color:#fff!important;
}
.dc-personal-tabs [data-personal-tab="alerts"]{
  background:#e53945!important;border-color:#e53945!important;color:#fff!important;
}
.dc-personal-tabs [data-personal-tab="tasks"].active,
.dc-personal-tabs [data-personal-tab="alerts"].active{
  box-shadow:0 0 0 2px rgba(255,255,255,.16),0 5px 16px rgba(0,0,0,.16)!important;
}

/* Tareas de hoy: conserva exactamente el layout actual; solo cambia color. */
.dc-time-block.morning .dc-task-row{
  background:#e99a12!important;border-color:#f0ad32!important;color:#fff!important;
}
.dc-time-block.afternoon .dc-task-row{
  background:#20a565!important;border-color:#36bd7b!important;color:#fff!important;
}
.dc-time-block.night .dc-task-row{
  background:#7651d6!important;border-color:#8d6ae6!important;color:#fff!important;
}
.dc-time-block.none .dc-task-row{
  background:#536579!important;border-color:#687b90!important;color:#fff!important;
}
.dc-time-block.morning .dc-task-row .dc-task-main b,
.dc-time-block.afternoon .dc-task-row .dc-task-main b,
.dc-time-block.night .dc-task-row .dc-task-main b,
.dc-time-block.none .dc-task-row .dc-task-main b,
.dc-time-block.morning .dc-task-row .dc-task-main small,
.dc-time-block.afternoon .dc-task-row .dc-task-main small,
.dc-time-block.night .dc-task-row .dc-task-main small,
.dc-time-block.none .dc-task-row .dc-task-main small,
.dc-time-block.morning .dc-task-row .dc-task-main p,
.dc-time-block.afternoon .dc-task-row .dc-task-main p,
.dc-time-block.night .dc-task-row .dc-task-main p,
.dc-time-block.none .dc-task-row .dc-task-main p{
  color:#fff!important;
}
.dc-time-block .dc-task-row .mini{
  background:rgba(15,23,42,.34)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important;
}
.dc-time-block .dc-task-row .dc-task-check{
  background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.72)!important;color:#fff!important;
}

/* ===== SOURCE: enterprise-10.4.81r3-colors.css ===== */
/* DC CONTROL 10.4.81r3 — SOLO COLOR. Conserva estructura, tamaños, lógica y datos de r2. */

/* Tareas: acciones rápidas con identidad fija y diferente. */
.dc-agenda-actions [data-q="appointment"]{background:#16a765!important;border-color:#16a765!important;color:#fff!important}
.dc-agenda-actions [data-q="chatgpt"]{background:#7c3aed!important;border-color:#7c3aed!important;color:#fff!important}
.dc-agenda-actions [data-q="routine"]{background:#e58a0b!important;border-color:#e58a0b!important;color:#fff!important}
.dc-agenda-actions [data-q="appointment"]:hover,.dc-agenda-actions [data-q="chatgpt"]:hover,.dc-agenda-actions [data-q="routine"]:hover{filter:brightness(1.07)}

/* GPS y recorridos: elimina tarjetas blancas sin cambiar el grid. */
[data-dc-page="locations"] .gps-pro-grid .exec-card:nth-child(1){background:linear-gradient(135deg,#0969e8,#168df0)!important;border-color:#2a94ef!important;color:#fff!important}
[data-dc-page="locations"] .gps-pro-grid .exec-card:nth-child(2){background:linear-gradient(135deg,#079b52,#18b968)!important;border-color:#2acb7b!important;color:#fff!important}
[data-dc-page="locations"] .gps-pro-grid .exec-card:nth-child(3){background:linear-gradient(135deg,#6d28d9,#8b3df0)!important;border-color:#9c59f4!important;color:#fff!important}
[data-dc-page="locations"] .gps-pro-grid .exec-card span,[data-dc-page="locations"] .gps-pro-grid .exec-card b,[data-dc-page="locations"] .gps-pro-grid .exec-card small{color:#fff!important}
[data-dc-page="locations"] .gps-pro-grid .exec-card small{opacity:.9}
[data-dc-page="locations"] .team-card,[data-dc-page="locations"] .staff-card,[data-dc-page="locations"] .employee-card{background:linear-gradient(135deg,#159957,#43bd72)!important;border-color:#58ca83!important;color:#fff!important}
[data-dc-page="locations"] .team-card *:not(button),[data-dc-page="locations"] .staff-card *:not(button),[data-dc-page="locations"] .employee-card *:not(button){color:#fff!important}

/* Ventas del Negocio: tabla oscura legible y botones con color. */
[data-dc-page="business"] .enterprise-table-wrap{background:#102b42!important;border-color:#31526a!important}
[data-dc-page="business"] .enterprise-table thead th{background:#173d59!important;color:#fff!important;border-color:#31556e!important}
[data-dc-page="business"] .enterprise-table tbody tr{background:#122f47!important}
[data-dc-page="business"] .enterprise-table tbody tr:nth-child(even){background:#183850!important}
[data-dc-page="business"] .enterprise-table tbody td{color:#f4f8fc!important;border-color:#2d4e65!important}
[data-dc-page="business"] .enterprise-table tbody td b{color:#fff!important}
[data-dc-page="business"] .enterprise-table tbody .mini{background:#1479e8!important;border-color:#2789ed!important;color:#fff!important}
[data-dc-page="business"] .enterprise-table tbody .mini:hover{filter:brightness(1.08)}

/* ===== SOURCE: enterprise-10.4.81r6-settings-strong.css ===== */
/* DC CONTROL 10.4.81r6 — Configuración: color visible y contraste fuerte. SOLO CSS. */
html.dc-dark #configPeople .config-section-block,html[data-theme="dark"] #configPeople .config-section-block{background:#172231!important;border:2px solid #33465c!important;box-shadow:0 10px 24px rgba(0,0,0,.18)!important}
html.dc-dark #configPeople .config-section-block:nth-child(1),html[data-theme="dark"] #configPeople .config-section-block:nth-child(1){background:linear-gradient(135deg,#112d56,#172231)!important;border-color:#2878e8!important}
html.dc-dark #configPeople .config-section-block:nth-child(2),html[data-theme="dark"] #configPeople .config-section-block:nth-child(2){background:linear-gradient(135deg,#123d2b,#17271f)!important;border-color:#21b968!important}
html.dc-dark #configPeople .config-section-block:nth-child(3),html[data-theme="dark"] #configPeople .config-section-block:nth-child(3){background:linear-gradient(135deg,#4a2910,#272018)!important;border-color:#f08a27!important}
html.dc-dark #configPeople .config-section-block:nth-child(4),html[data-theme="dark"] #configPeople .config-section-block:nth-child(4){background:linear-gradient(135deg,#35205a,#241d34)!important;border-color:#9659eb!important}
html.dc-dark #configPeople .config-section-block:nth-child(5),html[data-theme="dark"] #configPeople .config-section-block:nth-child(5){background:linear-gradient(135deg,#123c49,#18272c)!important;border-color:#25b7d0!important}
html.dc-dark .config-user-card.tone-blue,html[data-theme="dark"] .config-user-card.tone-blue{background:linear-gradient(135deg,#173f78,#1a2636)!important;border-color:#3d8df0!important}
html.dc-dark .config-user-card.tone-green,html[data-theme="dark"] .config-user-card.tone-green{background:linear-gradient(135deg,#175038,#1a2d26)!important;border-color:#42c87d!important}
html.dc-dark .config-user-card.tone-orange,html[data-theme="dark"] .config-user-card.tone-orange{background:linear-gradient(135deg,#663514,#30251c)!important;border-color:#ff9638!important}
html.dc-dark .config-user-card.tone-purple,html[data-theme="dark"] .config-user-card.tone-purple{background:linear-gradient(135deg,#4b287c,#2b203d)!important;border-color:#a46cf2!important}
html.dc-dark .config-user-card.tone-cyan,html[data-theme="dark"] .config-user-card.tone-cyan{background:linear-gradient(135deg,#155166,#1b3037)!important;border-color:#35c4df!important}
html.dc-dark .config-user-card b,html.dc-dark .config-user-card small,html.dc-dark .config-user-card .config-role-label,html[data-theme="dark"] .config-user-card b,html[data-theme="dark"] .config-user-card small,html[data-theme="dark"] .config-user-card .config-role-label{color:#f5f8fc!important}
html.dc-dark .config-role-card,html[data-theme="dark"] .config-role-card{border-width:2px!important;color:#fff!important}
html.dc-dark .config-role-card.role-tone-0,html[data-theme="dark"] .config-role-card.role-tone-0{background:linear-gradient(135deg,#143d78,#18283c)!important;border-color:#438cf0!important}
html.dc-dark .config-role-card.role-tone-1,html[data-theme="dark"] .config-role-card.role-tone-1{background:linear-gradient(135deg,#155139,#192f27)!important;border-color:#45c77f!important}
html.dc-dark .config-role-card.role-tone-2,html[data-theme="dark"] .config-role-card.role-tone-2{background:linear-gradient(135deg,#683714,#32261b)!important;border-color:#ff9638!important}
html.dc-dark .config-role-card.role-tone-3,html[data-theme="dark"] .config-role-card.role-tone-3{background:linear-gradient(135deg,#4c287f,#2c203f)!important;border-color:#a46cf2!important}
html.dc-dark .config-role-card.role-tone-4,html[data-theme="dark"] .config-role-card.role-tone-4{background:linear-gradient(135deg,#145267,#1b3038)!important;border-color:#35c4df!important}
html.dc-dark .config-role-card p,html.dc-dark .config-role-card b,html.dc-dark .config-role-card .config-role-label,html[data-theme="dark"] .config-role-card p,html[data-theme="dark"] .config-role-card b,html[data-theme="dark"] .config-role-card .config-role-label{color:#f2f6fb!important}
html.dc-dark .config-module-tags span,html[data-theme="dark"] .config-module-tags span{background:rgba(255,255,255,.92)!important;color:#24344b!important;border:0!important;font-weight:800!important}
html.dc-dark #configSuppliers .config-info-grid .info-blue,html[data-theme="dark"] #configSuppliers .config-info-grid .info-blue{background:linear-gradient(135deg,#123e75,#172b43)!important;border:2px solid #3c8cf0!important}
html.dc-dark #configSuppliers .config-info-grid .info-green,html[data-theme="dark"] #configSuppliers .config-info-grid .info-green{background:linear-gradient(135deg,#145139,#1b3028)!important;border:2px solid #43c67d!important}
html.dc-dark .config-supplier-card,html[data-theme="dark"] .config-supplier-card{border-width:2px!important}
html.dc-dark .config-supplier-card.supplier-tone-0,html[data-theme="dark"] .config-supplier-card.supplier-tone-0{background:linear-gradient(135deg,#52213b,#29202a)!important;border-color:#e24f83!important}
html.dc-dark .config-supplier-card.supplier-tone-1,html[data-theme="dark"] .config-supplier-card.supplier-tone-1{background:linear-gradient(135deg,#153f78,#1b293c)!important;border-color:#438cf0!important}
html.dc-dark .config-supplier-card.supplier-tone-2,html[data-theme="dark"] .config-supplier-card.supplier-tone-2{background:linear-gradient(135deg,#155039,#1a2e26)!important;border-color:#43c67d!important}
html.dc-dark .config-supplier-card.supplier-tone-3,html[data-theme="dark"] .config-supplier-card.supplier-tone-3{background:linear-gradient(135deg,#673615,#31251b)!important;border-color:#ff9638!important}
html.dc-dark .config-supplier-card.supplier-tone-4,html[data-theme="dark"] .config-supplier-card.supplier-tone-4{background:linear-gradient(135deg,#4a287b,#2a203c)!important;border-color:#a46cf2!important}
html.dc-dark .config-supplier-card.supplier-tone-5,html[data-theme="dark"] .config-supplier-card.supplier-tone-5{background:linear-gradient(135deg,#145166,#1b3037)!important;border-color:#35c4df!important}
html.dc-dark .config-supplier-card b,html.dc-dark .config-supplier-card small,html.dc-dark .config-supplier-card .config-role-label,html[data-theme="dark"] .config-supplier-card b,html[data-theme="dark"] .config-supplier-card small,html[data-theme="dark"] .config-supplier-card .config-role-label{color:#f5f8fc!important}
html.dc-dark .config-edit-btn,html[data-theme="dark"] .config-edit-btn{background:#f4f7fb!important;color:#20324a!important;border-color:#fff!important;font-weight:900!important}
html.dc-dark .data-safety-card,html[data-theme="dark"] .data-safety-card{background:linear-gradient(135deg,#193b67,#182737)!important;border:2px solid #397fd1!important}
html.dc-dark .enterprise-health-grid span,html[data-theme="dark"] .enterprise-health-grid span{background:#eef4fb!important;color:#29405f!important;border:0!important;font-weight:800!important}
html.dc-dark .map-config-card,html[data-theme="dark"] .map-config-card{background:linear-gradient(135deg,#153f45,#1a292c)!important;border:2px solid #38a9b7!important}
html.dc-dark .config-sheet,html[data-theme="dark"] .config-sheet{background:#17202b!important;border:2px solid #3d83d7!important;color:#f5f8fc!important}
html.dc-dark .config-sheet label,html.dc-dark .config-sheet b,html.dc-dark .config-sheet h2,html[data-theme="dark"] .config-sheet label,html[data-theme="dark"] .config-sheet b,html[data-theme="dark"] .config-sheet h2{color:#f5f8fc!important}
html.dc-dark .config-sheet input,html.dc-dark .config-sheet select,html.dc-dark .config-sheet textarea,html[data-theme="dark"] .config-sheet input,html[data-theme="dark"] .config-sheet select,html[data-theme="dark"] .config-sheet textarea{background:#0e1721!important;color:#fff!important;border:2px solid #49647f!important}
/* cualquier tarjeta clara de seguridad dentro de overlays/configuración queda oscura y legible */
html.dc-dark .config-overlay .card,html.dc-dark .config-overlay .security,html[data-theme="dark"] .config-overlay .card,html[data-theme="dark"] .config-overlay .security{background:#1b2a3a!important;color:#f5f8fc!important;border-color:#41658a!important}
@media(max-width:700px){html.dc-dark #configPeople .config-section-block,html[data-theme="dark"] #configPeople .config-section-block{padding:12px!important}.config-user-card,.config-role-card,.config-supplier-card{box-shadow:0 8px 18px rgba(0,0,0,.22)!important}}

/* ===== SOURCE: enterprise-10.4.81r7-solid-config-warranty-colors.css ===== */
/* DC CONTROL 10.4.81r7 — SOLO PRESENTACIÓN.
   1) Configuración: tarjetas sólidas, sin degradados.
   2) Garantías 3.0: jerarquía cromática más clara por prioridad/estado. */

/* CONFIGURACIÓN · tarjetas sólidas */
html.dc-dark #configPeople .config-section-block,html[data-theme="dark"] #configPeople .config-section-block{background:#172231!important}
html.dc-dark #configPeople .config-section-block:nth-child(1),html[data-theme="dark"] #configPeople .config-section-block:nth-child(1){background:#173b68!important;border-color:#3b8df0!important}
html.dc-dark #configPeople .config-section-block:nth-child(2),html[data-theme="dark"] #configPeople .config-section-block:nth-child(2){background:#17452f!important;border-color:#43c77f!important}
html.dc-dark #configPeople .config-section-block:nth-child(3),html[data-theme="dark"] #configPeople .config-section-block:nth-child(3){background:#563417!important;border-color:#ff9638!important}
html.dc-dark #configPeople .config-section-block:nth-child(4),html[data-theme="dark"] #configPeople .config-section-block:nth-child(4){background:#402765!important;border-color:#a46cf2!important}
html.dc-dark #configPeople .config-section-block:nth-child(5),html[data-theme="dark"] #configPeople .config-section-block:nth-child(5){background:#174754!important;border-color:#35c4df!important}
html.dc-dark .config-user-card.tone-blue,html[data-theme="dark"] .config-user-card.tone-blue{background:#17467e!important}
html.dc-dark .config-user-card.tone-green,html[data-theme="dark"] .config-user-card.tone-green{background:#185239!important}
html.dc-dark .config-user-card.tone-orange,html[data-theme="dark"] .config-user-card.tone-orange{background:#663a18!important}
html.dc-dark .config-user-card.tone-purple,html[data-theme="dark"] .config-user-card.tone-purple{background:#4d2d79!important}
html.dc-dark .config-user-card.tone-cyan,html[data-theme="dark"] .config-user-card.tone-cyan{background:#17566a!important}
html.dc-dark .config-role-card.role-tone-0,html[data-theme="dark"] .config-role-card.role-tone-0{background:#17467e!important}
html.dc-dark .config-role-card.role-tone-1,html[data-theme="dark"] .config-role-card.role-tone-1{background:#185239!important}
html.dc-dark .config-role-card.role-tone-2,html[data-theme="dark"] .config-role-card.role-tone-2{background:#663a18!important}
html.dc-dark .config-role-card.role-tone-3,html[data-theme="dark"] .config-role-card.role-tone-3{background:#4d2d79!important}
html.dc-dark .config-role-card.role-tone-4,html[data-theme="dark"] .config-role-card.role-tone-4{background:#17566a!important}
html.dc-dark #configSuppliers .config-info-grid .info-blue,html[data-theme="dark"] #configSuppliers .config-info-grid .info-blue{background:#17467e!important}
html.dc-dark #configSuppliers .config-info-grid .info-green,html[data-theme="dark"] #configSuppliers .config-info-grid .info-green{background:#185239!important}
html.dc-dark .config-supplier-card.supplier-tone-0,html[data-theme="dark"] .config-supplier-card.supplier-tone-0{background:#632b47!important}
html.dc-dark .config-supplier-card.supplier-tone-1,html[data-theme="dark"] .config-supplier-card.supplier-tone-1{background:#17467e!important}
html.dc-dark .config-supplier-card.supplier-tone-2,html[data-theme="dark"] .config-supplier-card.supplier-tone-2{background:#185239!important}
html.dc-dark .config-supplier-card.supplier-tone-3,html[data-theme="dark"] .config-supplier-card.supplier-tone-3{background:#663a18!important}
html.dc-dark .config-supplier-card.supplier-tone-4,html[data-theme="dark"] .config-supplier-card.supplier-tone-4{background:#4d2d79!important}
html.dc-dark .config-supplier-card.supplier-tone-5,html[data-theme="dark"] .config-supplier-card.supplier-tone-5{background:#17566a!important}
html.dc-dark .data-safety-card,html[data-theme="dark"] .data-safety-card{background:#193e6c!important}
html.dc-dark .map-config-card,html[data-theme="dark"] .map-config-card{background:#17464d!important}

/* GARANTÍAS 3.0 · colores sólidos y distinguibles */
html.dc-dark .w3-kpis>div,html[data-theme="dark"] .w3-kpis>div{background:#183354!important;border:2px solid #3b82f6!important}
html.dc-dark .w3-kpis .critical,html[data-theme="dark"] .w3-kpis .critical{background:#5a2028!important;border-color:#ef4444!important}
html.dc-dark .w3-kpis .high,html[data-theme="dark"] .w3-kpis .high{background:#5a4218!important;border-color:#f59e0b!important}
html.dc-dark .w3-kpis .good,html[data-theme="dark"] .w3-kpis .good{background:#174b31!important;border-color:#22c55e!important}
html.dc-dark .w3-group,html[data-theme="dark"] .w3-group{background:#17263a!important;border:2px solid #38506c!important}
html.dc-dark .w3-group.critical>summary,html[data-theme="dark"] .w3-group.critical>summary{background:#722a34!important;color:#ffd7dc!important}
html.dc-dark .w3-group.high>summary,html[data-theme="dark"] .w3-group.high>summary{background:#6b4d18!important;color:#ffe4a3!important}
html.dc-dark .w3-group.normal>summary,html[data-theme="dark"] .w3-group.normal>summary{background:#18543a!important;color:#c9f9dc!important}
html.dc-dark .w3-group.closed>summary,html[data-theme="dark"] .w3-group.closed>summary{background:#33445c!important;color:#eef4fb!important}
html.dc-dark .w3-card,html[data-theme="dark"] .w3-card{background:#183a2a!important;border:2px solid #2f9f64!important;border-left:7px solid #22c55e!important}
html.dc-dark .w3-card.high,html[data-theme="dark"] .w3-card.high{background:#554019!important;border-color:#c98b16!important;border-left-color:#f59e0b!important}
html.dc-dark .w3-card.critical,html[data-theme="dark"] .w3-card.critical{background:#56232b!important;border-color:#c53b49!important;border-left-color:#ef4444!important}
html.dc-dark .w3-info span,html[data-theme="dark"] .w3-info span{background:rgba(8,18,30,.48)!important;border:1px solid rgba(255,255,255,.10)!important;color:#f8fafc!important}
html.dc-dark .w3-card p,html.dc-dark .w3-info small,html.dc-dark .w3-kpis span,html[data-theme="dark"] .w3-card p,html[data-theme="dark"] .w3-info small,html[data-theme="dark"] .w3-kpis span{color:#c9d6e7!important}
html.dc-dark .w3-age,html[data-theme="dark"] .w3-age{color:#fff!important}

/* ===== SOURCE: enterprise-10.4.81r8-nav-warranty-solid.css ===== */
/* DC CONTROL 10.4.81r8 — ajuste visual solicitado.
   - Barra inferior: iconos blancos, grandes, nítidos y tarjetas sólidas.
   - Garantías 3.0: KPI y desplegables con color sólido por estado. */

/* BARRA INFERIOR — máxima legibilidad en Configuración/Garantías y resto del sistema */
.bottom-nav{background:#f8fafc!important;border:2px solid #d8e2ee!important;gap:8px!important;padding:9px 10px calc(9px + env(safe-area-inset-bottom))!important}
.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:66px!important;min-height:66px!important;border-radius:16px!important;color:#fff!important;opacity:1!important;filter:none!important;box-shadow:0 6px 14px rgba(15,23,42,.18)!important}
.bottom-nav button.nav1048 .nav-icon1048{width:34px!important;height:34px!important;color:#fff!important;opacity:1!important}
.bottom-nav button.nav1048 .nav-icon1048 svg{width:30px!important;height:30px!important;color:#fff!important;stroke:#fff!important;opacity:1!important}
.bottom-nav button.nav1048 small{color:#fff!important;font-size:10px!important;font-weight:950!important;opacity:1!important;text-shadow:0 1px 2px rgba(0,0,0,.22)!important}
.bottom-nav button.nav1048.active{outline:3px solid #fff!important;box-shadow:0 0 0 5px rgba(15,23,42,.16),0 7px 17px rgba(15,23,42,.24)!important}
.bottom-nav button.nav-home1048,.bottom-nav button.nav-home1048.active{background:#f97316!important}
.bottom-nav button.nav-search1048,.bottom-nav button.nav-search1048.active{background:#087bea!important}
.bottom-nav button.nav-chat1048,.bottom-nav button.nav-chat1048.active{background:#08b86b!important}
.bottom-nav button.nav-capture1048,.bottom-nav button.nav-capture1048.active{background:#08b86b!important}
.bottom-nav button.nav-routes1048,.bottom-nav button.nav-routes1048.active{background:#ef3340!important}
.bottom-nav button.nav-more1048,.bottom-nav button.nav-more1048.active{background:#8b3de0!important}
.bottom-nav button.nav-warranties1048,.bottom-nav button.nav-warranties1048.active{background:#7651d6!important;color:#fff!important}
.bottom-nav button.nav-warranties1048 .nav-icon1048,.bottom-nav button.nav-warranties1048 .nav-icon1048 svg{color:#fff!important;stroke:#fff!important}

/* CONFIGURACIÓN — pestañas sólidas, icono y texto blancos */
[data-dc-page="settings"] .config-tabs-unified .config-tab{background-image:none!important;border:0!important;color:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.18)!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab-blue{background:#087bea!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab-purple{background:#7c3aed!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab-orange{background:#f97316!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab-clients{background:#08a95f!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab-newuser{background:#db2777!important}
[data-dc-page="settings"] .config-tabs-unified .config-tab .tab-icon{font-size:28px!important;background:rgba(255,255,255,.18)!important;color:#fff!important}

/* GARANTÍAS 3.0 — tarjetas superiores sólidas */
html.dc-dark .w3-kpis>div,html[data-theme="dark"] .w3-kpis>div{background:#1264c4!important;border:2px solid #38a4ff!important;color:#fff!important;box-shadow:0 8px 18px rgba(0,0,0,.20)!important}
html.dc-dark .w3-kpis .critical,html[data-theme="dark"] .w3-kpis .critical{background:#a92735!important;border-color:#ff4b59!important}
html.dc-dark .w3-kpis .high,html[data-theme="dark"] .w3-kpis .high{background:#a65e08!important;border-color:#ffad27!important}
html.dc-dark .w3-kpis .good,html[data-theme="dark"] .w3-kpis .good{background:#138347!important;border-color:#29db78!important}
html.dc-dark .w3-kpis small,html.dc-dark .w3-kpis b,html.dc-dark .w3-kpis span,html[data-theme="dark"] .w3-kpis small,html[data-theme="dark"] .w3-kpis b,html[data-theme="dark"] .w3-kpis span{color:#fff!important;opacity:1!important}

/* GARANTÍAS 3.0 — cada desplegable conserva su color también al abrir */
html.dc-dark .w3-group,html[data-theme="dark"] .w3-group{border-width:2px!important;box-shadow:0 8px 18px rgba(0,0,0,.18)!important}
html.dc-dark .w3-group.critical,html[data-theme="dark"] .w3-group.critical{background:#421c24!important;border-color:#ff4354!important}
html.dc-dark .w3-group.critical>summary,html[data-theme="dark"] .w3-group.critical>summary{background:#d63243!important;color:#fff!important}
html.dc-dark .w3-group.high,html[data-theme="dark"] .w3-group.high{background:#443016!important;border-color:#ffad27!important}
html.dc-dark .w3-group.high>summary,html[data-theme="dark"] .w3-group.high>summary{background:#d8870c!important;color:#fff!important}
html.dc-dark .w3-group.normal,html[data-theme="dark"] .w3-group.normal{background:#123d2c!important;border-color:#25d675!important}
html.dc-dark .w3-group.normal>summary,html[data-theme="dark"] .w3-group.normal>summary{background:#13a85c!important;color:#fff!important}
html.dc-dark .w3-group.closed,html[data-theme="dark"] .w3-group.closed{background:#173a5f!important;border-color:#36a7ff!important}
html.dc-dark .w3-group.closed>summary,html[data-theme="dark"] .w3-group.closed>summary{background:#147bd1!important;color:#fff!important}
html.dc-dark .w3-group>summary b,html[data-theme="dark"] .w3-group>summary b{background:rgba(255,255,255,.20)!important;color:#fff!important}
html.dc-dark .w3-empty,html[data-theme="dark"] .w3-empty{color:#e8f0fa!important}

@media(max-width:700px){.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:62px!important;min-height:62px!important}.bottom-nav button.nav1048 .nav-icon1048 svg{width:28px!important;height:28px!important}}

/* ===== SOURCE: enterprise-10.4.81r10-visual-solid-responsive.css ===== */
/* DC CONTROL 10.4.81r10 — Sistema visual sólido y responsive.
   Base segura r8. Paleta aprobada: azul, verde, rosa/rojo, naranja, amarillo,
   turquesa, morado y azul petróleo. No cambia lógica ni datos. */
:root{--r10-blue:#087bea;--r10-green:#08b86b;--r10-pink:#ed2858;--r10-orange:#f97316;--r10-yellow:#e9ad00;--r10-cyan:#0aa9b7;--r10-purple:#7c3aed;--r10-navy:#344b62;--r10-indigo:#3158d8}
/* Tarjetas KPI: sólidas en ambos temas, texto siempre legible */
.exec-grid .exec-card{color:#fff!important;border:0!important;box-shadow:0 8px 18px rgba(15,23,42,.16)!important;background:var(--r10-blue)!important;overflow:hidden!important;position:relative!important}
.exec-grid .exec-card:nth-child(8n+1){background:var(--r10-blue)!important}.exec-grid .exec-card:nth-child(8n+2){background:var(--r10-pink)!important}.exec-grid .exec-card:nth-child(8n+3){background:var(--r10-green)!important}.exec-grid .exec-card:nth-child(8n+4){background:var(--r10-orange)!important}.exec-grid .exec-card:nth-child(8n+5){background:var(--r10-yellow)!important}.exec-grid .exec-card:nth-child(8n+6){background:var(--r10-cyan)!important}.exec-grid .exec-card:nth-child(8n+7){background:var(--r10-purple)!important}.exec-grid .exec-card:nth-child(8n){background:var(--r10-navy)!important}
.exec-grid .exec-card:after{content:"";position:absolute;width:108px;height:108px;border-radius:50%;right:-36px;top:-38px;background:rgba(255,255,255,.12);pointer-events:none}
.exec-grid .exec-card span,.exec-grid .exec-card small,.exec-grid .exec-card b,.exec-grid .exec-card.good b,.exec-grid .exec-card.bad b,.exec-grid .exec-card.warn b{color:#fff!important;opacity:1!important;position:relative;z-index:1}
/* Accesos rápidos: misma paleta sólida */
.enterprise-action{--action:var(--r10-blue);background:var(--action)!important;border:0!important;color:#fff!important;box-shadow:0 7px 16px rgba(15,23,42,.16)!important}
.enterprise-action:nth-child(9n+1){--action:var(--r10-blue)!important}.enterprise-action:nth-child(9n+2){--action:var(--r10-green)!important}.enterprise-action:nth-child(9n+3){--action:var(--r10-pink)!important}.enterprise-action:nth-child(9n+4){--action:#1593e8!important}.enterprise-action:nth-child(9n+5){--action:var(--r10-purple)!important}.enterprise-action:nth-child(9n+6){--action:var(--r10-orange)!important}.enterprise-action:nth-child(9n+7){--action:var(--r10-yellow)!important}.enterprise-action:nth-child(9n+8){--action:var(--r10-cyan)!important}.enterprise-action:nth-child(9n){--action:var(--r10-navy)!important}
.enterprise-action .enterprise-action-icon{background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.22)!important;color:#fff!important}.enterprise-action .enterprise-action-copy b,.enterprise-action .enterprise-action-copy small,.enterprise-action em,.enterprise-action>strong{color:#fff!important;opacity:1!important}
/* Tarjetas visuales genéricas y módulos: conservar fondos funcionales, pero las tarjetas principales son sólidas */
.metric{color:#fff!important;background:var(--r10-blue)!important;border-color:transparent!important}.grid2>.metric:nth-child(4n+2){background:var(--r10-green)!important}.grid2>.metric:nth-child(4n+3){background:var(--r10-purple)!important}.grid2>.metric:nth-child(4n){background:var(--r10-orange)!important}.metric span,.metric b,.metric small,.metric .green{color:#fff!important}
/* Claro/oscuro: los sólidos no se blanquean */
html:not(.dc-dark):not([data-theme="dark"]) .exec-grid .exec-card,html:not(.dc-dark):not([data-theme="dark"]) .enterprise-action,html:not(.dc-dark):not([data-theme="dark"]) .metric{color:#fff!important}
/* Navegación compacta: paleta aprobada sin invadir contenido */
.bottom-nav{gap:6px!important;padding:6px 7px calc(6px + env(safe-area-inset-bottom))!important;border-width:1px!important}
.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:56px!important;min-height:56px!important;border-radius:15px!important;box-shadow:0 4px 10px rgba(15,23,42,.15)!important}
.bottom-nav button.nav1048 .nav-icon1048{width:28px!important;height:28px!important}.bottom-nav button.nav1048 .nav-icon1048 svg{width:25px!important;height:25px!important}.bottom-nav button.nav1048 small{font-size:9px!important}.bottom-nav button.nav1048.active{outline:2px solid #fff!important;box-shadow:0 0 0 3px rgba(15,23,42,.14),0 5px 12px rgba(15,23,42,.18)!important}
/* Garantías: mismos sólidos también en tema claro */
.w3-kpis>div{background:var(--r10-blue)!important;border:2px solid rgba(255,255,255,.25)!important;color:#fff!important}.w3-kpis .critical{background:#d63243!important}.w3-kpis .high{background:#d8870c!important}.w3-kpis .good{background:#13a85c!important}.w3-kpis small,.w3-kpis b,.w3-kpis span{color:#fff!important;opacity:1!important}
.w3-group.critical{background:#8d2633!important;border-color:#ff4354!important}.w3-group.critical>summary{background:#d63243!important}.w3-group.high{background:#8d570b!important;border-color:#ffad27!important}.w3-group.high>summary{background:#d8870c!important}.w3-group.normal{background:#0e7544!important;border-color:#25d675!important}.w3-group.normal>summary{background:#13a85c!important}.w3-group.closed{background:#1260a3!important;border-color:#36a7ff!important}.w3-group.closed>summary{background:#147bd1!important}.w3-group>summary,.w3-group>summary b,.w3-group .w3-empty{color:#fff!important}
/* Móvil: KPI compactos y cifras sin romperse innecesariamente */
@media(max-width:700px){
 .exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .exec-card{min-height:126px!important;padding:13px!important;border-radius:17px!important}
 .exec-card b{font-size:clamp(20px,6.2vw,27px)!important;line-height:1.05!important;overflow-wrap:normal!important;word-break:normal!important;letter-spacing:-.025em!important}
 .exec-card span{font-size:13px!important}.exec-card small{font-size:11px!important;line-height:1.25!important}
 .enterprise-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
 .enterprise-action{min-height:112px!important;padding:10px!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:space-between!important;gap:6px!important}
 .enterprise-action .enterprise-action-icon{width:38px!important;height:38px!important}.enterprise-action .enterprise-action-copy b{font-size:11px!important;white-space:normal!important}.enterprise-action .enterprise-action-copy small{display:none!important}.enterprise-action em{font-size:7px!important}.enterprise-action>strong{position:absolute!important;right:9px!important;bottom:9px!important}
 .bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:54px!important;min-height:54px!important}.bottom-nav button.nav1048 .nav-icon1048 svg{width:24px!important;height:24px!important}
}
@media(max-width:390px){.exec-card b{font-size:clamp(18px,5.7vw,24px)!important}.enterprise-action-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}

/* ===== SOURCE: enterprise-10.4.81r11-mobile-optimization.css ===== */
/* DC CONTROL 10.4.81r11 — optimización móvil global.
   Conserva la paleta sólida r10. Corrige tablas, tarjetas, importes, scroll y nav en iPhone. */
@media(max-width:700px){
 html,body{max-width:100%;overflow-x:hidden!important}
 #view{padding-left:10px!important;padding-right:10px!important;padding-bottom:calc(82px + env(safe-area-inset-bottom))!important;max-width:100%!important;overflow-x:hidden!important}
 .module-103,.module-104,.section,.card{max-width:100%!important;min-width:0!important}
 /* Barra inferior: compacta y sin caja gigante */
 .bottom-nav,.bottom-nav.v1049-nav-centered{left:8px!important;right:8px!important;bottom:max(4px,env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;margin:0!important;padding:5px!important;gap:4px!important;border-radius:20px!important;height:auto!important;min-height:0!important;overflow:visible!important;grid-template-columns:repeat(5,minmax(0,1fr))!important}
 .bottom-nav button,.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{min-width:0!important;width:100%!important;height:58px!important;min-height:58px!important;padding:5px 2px!important;border-radius:15px!important}
 .bottom-nav button.nav1048 .nav-icon1048{width:25px!important;height:25px!important;margin:0 auto 2px!important}.bottom-nav button.nav1048 .nav-icon1048 svg{width:23px!important;height:23px!important}.bottom-nav button.nav1048 .nav-label1048,.bottom-nav button.nav1048 small{font-size:9px!important;line-height:1!important;white-space:nowrap!important}
 /* KPI: dos columnas, altura natural y números que caben */
 .exec-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.exec-grid .exec-card{min-height:112px!important;height:auto!important;padding:12px!important;border-radius:17px!important}
 .exec-grid .exec-card b{font-size:clamp(18px,5.4vw,25px)!important;line-height:1.04!important;letter-spacing:-.035em!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;max-width:100%!important}.exec-grid .exec-card span{font-size:12px!important;line-height:1.15!important}.exec-grid .exec-card small{font-size:10px!important;line-height:1.2!important}
 /* Tablas: en móvil son tarjetas compactas; elimina min-width heredado de escritorio */
 .enterprise-table-wrap,.v1049-table-zone{overflow:visible!important;max-width:100%!important;background:transparent!important;border:0!important;box-shadow:none!important}
 .enterprise-table{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;background:transparent!important}.enterprise-table thead{display:none!important}.enterprise-table tbody{display:block!important;width:100%!important}.enterprise-table tr{display:block!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0 0 9px!important;padding:9px 10px!important;border-radius:15px!important;overflow:hidden!important}
 .enterprise-table td{display:grid!important;grid-template-columns:minmax(88px,.8fr) minmax(0,1.2fr)!important;gap:8px!important;align-items:center!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;padding:5px 2px!important;border:0!important;text-align:right!important;overflow-wrap:anywhere!important;white-space:normal!important}
 .enterprise-table td:before{content:attr(data-label)!important;display:block!important;font-size:10px!important;line-height:1.15!important;font-weight:800!important;text-align:left!important;opacity:.72!important;min-width:0!important}.enterprise-table td:empty{display:none!important}.enterprise-table td>*{max-width:100%!important;min-width:0!important}
 .enterprise-table td.amount{font-size:14px!important;font-weight:900!important;text-align:right!important}.enterprise-table button,.enterprise-table select,.enterprise-table input{max-width:100%!important;min-width:0!important}
 /* Reportes y grupos: sin filas gigantes */
 .reports-1075 .enterprise-table,.rec20 .enterprise-table,.sicar27 .enterprise-table{min-width:0!important}.rec-group{height:auto!important;min-height:0!important}.rec-group summary{padding:12px!important}.rec-group .enterprise-table-wrap{overflow:visible!important}
 /* Tarjetas genéricas: altura natural */
 .card,.metric,.report-card,.movement-card-1031{height:auto!important;min-height:0!important}.row{min-height:0!important;height:auto!important;padding:8px 0!important}
 /* Gráficos: nunca más anchos que viewport */
 canvas,svg{max-width:100%!important}.chart-wrap,.report-chart,.gps-history-map{max-width:100%!important;overflow:hidden!important}
 /* Formularios y tabs */
 .form-grid,.grid,.grid2{min-width:0!important}.module-tabs,.employee-tabs-1031,.rec-history-tabs{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.finance-tabs1066{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}.finance-tabs1066 button{min-width:0!important;min-height:44px!important;font-size:10px!important;padding:7px 4px!important}
}
@media(max-width:390px){
 #view{padding-left:8px!important;padding-right:8px!important}.exec-grid{gap:7px!important}.exec-grid .exec-card{padding:10px!important;min-height:108px!important}.exec-grid .exec-card b{font-size:clamp(17px,5.1vw,22px)!important}.enterprise-table td{grid-template-columns:minmax(78px,.75fr) minmax(0,1.25fr)!important}.bottom-nav,.bottom-nav.v1049-nav-centered{left:5px!important;right:5px!important}.bottom-nav button,.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:55px!important;min-height:55px!important}.bottom-nav button.nav1048 .nav-label1048,.bottom-nav button.nav1048 small{font-size:8px!important}
}

/* ===== SOURCE: enterprise-10.4.81r12-mobile-nav-fix.css ===== */
/* DC CONTROL 10.4.81r12 — corrección quirúrgica de navegación móvil.
   Conserva intactos colores, KPI y tarjetas r11. Sólo fija la barra inferior en iPhone. */
@media(max-width:700px){
  :root{--dc-mobile-nav-h:72px}
  body{padding-bottom:calc(var(--dc-mobile-nav-h) + env(safe-area-inset-bottom) + 12px)!important}
  #view{padding-bottom:calc(var(--dc-mobile-nav-h) + env(safe-area-inset-bottom) + 18px)!important}
  .bottom-nav,
  .bottom-nav.v1049-nav-centered{
    position:fixed!important;
    left:max(6px,env(safe-area-inset-left))!important;
    right:max(6px,env(safe-area-inset-right))!important;
    bottom:max(4px,env(safe-area-inset-bottom))!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    transform:none!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:4px!important;
    padding:5px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
    overscroll-behavior:none!important;
    border-radius:20px!important;
  }
  .bottom-nav button,
  .bottom-nav button.nav1048,
  .bottom-nav button.nav1048.active{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:58px!important;
    min-height:58px!important;
    margin:0!important;
    padding:5px 1px!important;
    box-sizing:border-box!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .bottom-nav button.nav1048 .nav-icon1048{width:24px!important;height:24px!important;flex:0 0 24px!important;margin:0 auto 2px!important}
  .bottom-nav button.nav1048 .nav-icon1048 svg{width:22px!important;height:22px!important}
  .bottom-nav button.nav1048 small,
  .bottom-nav button.nav1048 .nav-label1048{display:block!important;width:100%!important;max-width:100%!important;font-size:9px!important;line-height:1!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important;text-align:center!important}
}
@media(max-width:390px){
  :root{--dc-mobile-nav-h:68px}
  .bottom-nav,.bottom-nav.v1049-nav-centered{left:max(4px,env(safe-area-inset-left))!important;right:max(4px,env(safe-area-inset-right))!important;gap:3px!important;padding:4px!important}
  .bottom-nav button,.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:55px!important;min-height:55px!important;padding:4px 0!important;border-radius:14px!important}
  .bottom-nav button.nav1048 small,.bottom-nav button.nav1048 .nav-label1048{font-size:8px!important}
}

/* ===== SOURCE: enterprise-10.4.81r13-movimientos-solidos.css ===== */
/* DC CONTROL 10.4.81r13 — Últimos movimientos con tarjetas sólidas.
   Cambio visual únicamente: conserva lógica, datos y acciones de r12. */
.cards-shell .cards-bottom-grid .movement-row{
  border:0!important;border-left:0!important;border-radius:18px!important;
  color:#fff!important;box-shadow:0 10px 24px rgba(8,22,38,.18)!important;
  overflow:hidden!important;position:relative!important;
}
.cards-shell .cards-bottom-grid .movement-row::after{
  content:"";position:absolute;right:-34px;top:-54px;width:150px;height:150px;
  border-radius:50%;background:rgba(255,255,255,.10);pointer-events:none;
}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+1){background:linear-gradient(135deg,#1688f4,#0877df)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+2){background:linear-gradient(135deg,#f3295a,#e51648)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+3){background:linear-gradient(135deg,#ff8a1f,#f36d08)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+4){background:linear-gradient(135deg,#09bd73,#08a963)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+5){background:linear-gradient(135deg,#13b8c5,#079aa8)!important}
.cards-shell .cards-bottom-grid .movement-row:nth-child(6n+6){background:linear-gradient(135deg,#8b45ef,#7130d9)!important}
.cards-shell .cards-bottom-grid .movement-row b,
.cards-shell .cards-bottom-grid .movement-row small,
.cards-shell .cards-bottom-grid .movement-row strong,
.cards-shell .cards-bottom-grid .movement-row .red,
.cards-shell .cards-bottom-grid .movement-row .green,
.cards-shell .cards-bottom-grid .movement-row .cancelled-label{color:#fff!important}
.cards-shell .cards-bottom-grid .movement-row .row{border-bottom:1px solid rgba(255,255,255,.20)!important;position:relative;z-index:1}
.cards-shell .cards-bottom-grid .movement-row .card-cancel-1032{position:relative;z-index:1;margin-top:10px!important}
.cards-shell .cards-bottom-grid .movement-row .card-cancel-1032 .mini{
  width:100%!important;min-height:44px!important;border:1px solid rgba(255,255,255,.18)!important;
  border-radius:12px!important;background:rgba(5,28,54,.38)!important;color:#fff!important;
  font-weight:900!important;box-shadow:none!important;
}
.cards-shell .cards-bottom-grid .movement-row.cancelled-1032{opacity:.72!important;filter:saturate(.55)!important}
@media(max-width:700px){
  .cards-shell .cards-bottom-grid .movement-row{padding:14px!important;margin-bottom:10px!important}
  .cards-shell .cards-bottom-grid .movement-row .row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:start!important;padding:0 0 10px!important}
  .cards-shell .cards-bottom-grid .movement-row .row strong{font-size:clamp(18px,5.3vw,25px)!important;line-height:1.05!important;white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important}
  .cards-shell .cards-bottom-grid .movement-row .row b{font-size:17px!important;line-height:1.1!important}
  .cards-shell .cards-bottom-grid .movement-row .row small{font-size:12px!important;line-height:1.35!important;opacity:.92!important}
}

/* ===== SOURCE: enterprise-10.4.81r17-purchase-preview-solid.css ===== */
/* DC CONTROL 10.4.81r17 — Vista previa de compras compacta y sólida en móvil. */
@media(max-width:700px){
  .sheet.wide104{width:calc(100vw - 16px)!important;max-width:none!important;padding:16px 12px!important;overflow-x:hidden!important}
  .sheet.wide104 .enterprise-table-wrap{overflow:visible!important;border:0!important;background:transparent!important}
  .sheet.wide104 .enterprise-table{display:block!important;width:100%!important;min-width:0!important;border:0!important;background:transparent!important}
  .sheet.wide104 .enterprise-table thead{display:none!important}
  .sheet.wide104 .enterprise-table tbody{display:grid!important;gap:12px!important}
  .sheet.wide104 .enterprise-table tr{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px 10px!important;width:100%!important;padding:14px!important;border:0!important;border-radius:20px!important;box-shadow:0 8px 22px rgba(0,0,0,.18)!important;overflow:hidden!important;color:#fff!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n+1){background:linear-gradient(135deg,#1267d6,#084ba8)!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n+2){background:linear-gradient(135deg,#e43d68,#b91f4a)!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n+3){background:linear-gradient(135deg,#16a66a,#087d4c)!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n+4){background:linear-gradient(135deg,#f08a24,#c45c0b)!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n+5){background:linear-gradient(135deg,#7b52d9,#5932b3)!important}
  .sheet.wide104 .enterprise-table tr:nth-child(6n){background:linear-gradient(135deg,#0797a5,#05717d)!important}
  .sheet.wide104 .enterprise-table td{display:block!important;min-width:0!important;padding:0!important;border:0!important;background:transparent!important;color:#fff!important;font-weight:800!important;overflow:visible!important}
  .sheet.wide104 .enterprise-table td:nth-child(1),.sheet.wide104 .enterprise-table td:nth-child(2),.sheet.wide104 .enterprise-table td:nth-child(3),.sheet.wide104 .enterprise-table td:nth-child(7){grid-column:1/-1!important}
  .sheet.wide104 .enterprise-table td::before{display:block!important;margin:0 0 4px!important;font-size:10px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.06em!important;text-transform:uppercase!important;color:rgba(255,255,255,.78)!important}
  .sheet.wide104 .enterprise-table td:nth-child(1)::before{content:'SKU / CLAVE SICAR'}
  .sheet.wide104 .enterprise-table td:nth-child(2)::before{content:'ARTÍCULO'}
  .sheet.wide104 .enterprise-table td:nth-child(3)::before{content:'VARIANTE'}
  .sheet.wide104 .enterprise-table td:nth-child(4)::before{content:'CANTIDAD'}
  .sheet.wide104 .enterprise-table td:nth-child(5)::before{content:'COSTO'}
  .sheet.wide104 .enterprise-table td:nth-child(6)::before{content:'IMPORTE'}
  .sheet.wide104 .enterprise-table td:nth-child(7)::before{content:'IMEI / SERIES'}
  .sheet.wide104 .enterprise-table input{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:42px!important;margin:0!important;padding:9px 11px!important;box-sizing:border-box!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:12px!important;background:rgba(7,18,31,.34)!important;color:#fff!important;font-size:15px!important;font-weight:800!important;white-space:normal!important;text-overflow:ellipsis!important;overflow:hidden!important}
  .sheet.wide104 .enterprise-table td:nth-child(2) input{min-height:48px!important;font-size:14px!important}
  .sheet.wide104 .enterprise-table td:nth-child(6){align-self:end!important;padding:9px 11px!important;border-radius:12px!important;background:rgba(7,18,31,.24)!important;font-size:17px!important;line-height:24px!important}
  .sheet.wide104 .security{background:#1468d4!important;color:#fff!important;border:0!important;border-radius:16px!important;padding:14px!important;font-weight:800!important}
  .sheet.wide104 .review-check1046{background:#6d4bd1!important;color:#fff!important;border:0!important;border-radius:16px!important;padding:14px!important;font-weight:800!important}
  .sheet.wide104 #piConfirm{border-radius:16px!important;min-height:52px!important;font-weight:900!important}
}

/* ===== SOURCE: enterprise-10.4.81r21-oracle-fix.css ===== */
/* r21 - Oráculo mobile close button + safe-area */
.oracle-sheet-r21{position:relative}
@media(max-width:650px){
  .oracle-overlay-r21{align-items:flex-start!important;padding-top:max(12px,env(safe-area-inset-top))!important;padding-bottom:max(18px,env(safe-area-inset-bottom))!important;overflow-y:auto!important}
  .oracle-sheet-r21{margin-top:0!important;max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)))!important;overflow-y:auto!important}
  .oracle-sheet-r21>.sheet-head{position:sticky!important;top:0!important;z-index:30!important;padding-top:14px!important}
  .oracle-sheet-r21>.sheet-head [data-x]{position:sticky!important;top:8px!important;align-self:flex-start!important;flex:0 0 48px!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;font-size:24px!important;z-index:40!important}
}

/* ===== SOURCE: enterprise-10.4.81r22-oracle-smart-mobile.css ===== */
/* r22 — Oráculo: modal móvil estable + sugerencias de coincidencia */
.oracle-sheet-r21{display:block!important}
.oracle-supplier-hint,.oracle-match{border:1px solid rgba(59,130,246,.28);background:rgba(37,99,235,.10);border-radius:18px;padding:14px;margin:12px 0;display:grid;gap:8px}
.oracle-supplier-hint small,.oracle-match small{opacity:.78}.oracle-supplier-hint b,.oracle-match b{display:block}.oracle-supplier-hint span,.oracle-match span{display:block;font-size:.9rem;opacity:.86}
.oracle-supplier-hint.warn{background:rgba(245,158,11,.10);border-color:rgba(245,158,11,.32)}
.oracle-match-list{display:grid;gap:10px;margin:12px 0}.oracle-match select{width:100%;margin-top:5px}.oracle-confidence{font-size:.78rem}
.oracle-items-mobile{display:grid;gap:12px;margin:12px 0}.oracle-item-card{background:linear-gradient(135deg,#1769d2,#1155b5);color:#fff;border-radius:20px;padding:16px;overflow:hidden}.oracle-item-top{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.oracle-item-top b{overflow-wrap:anywhere}.oracle-item-top span{white-space:nowrap;font-weight:800}.oracle-item-money{display:flex;justify-content:space-between;margin-top:12px;gap:10px}.oracle-item-card summary{cursor:pointer;margin-top:12px;font-weight:800}.oracle-imeis{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:6px;margin-top:8px}.oracle-imeis code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem;white-space:nowrap;background:rgba(0,0,0,.18);padding:6px 8px;border-radius:8px;color:#fff}.oracle-total strong{white-space:nowrap}
@media(max-width:650px){
 .oracle-overlay-r21{padding:0!important;align-items:stretch!important;overflow:hidden!important}
 .oracle-sheet-r21{width:100%!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding:0 16px calc(20px + env(safe-area-inset-bottom))!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain}
 .oracle-sheet-r21>.sheet-head{position:sticky!important;top:0!important;z-index:100!important;margin:0 -16px 16px!important;padding:calc(14px + env(safe-area-inset-top)) 72px 14px 16px!important;background:var(--panel,#121b26)!important;min-height:112px!important;display:block!important}
 .oracle-sheet-r21>.sheet-head h2{font-size:1.65rem!important;line-height:1.08!important;margin:5px 0 6px!important}.oracle-sheet-r21>.sheet-head small{display:block!important;line-height:1.35!important}
 .oracle-sheet-r21>.sheet-head [data-x]{position:absolute!important;right:16px!important;top:calc(14px + env(safe-area-inset-top))!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;margin:0!important;z-index:110!important}
 .oracle-sheet-r21>label,.oracle-sheet-r21>#piStatus,.oracle-sheet-r21>#piAnalyze,.oracle-sheet-r21>#piPreview{position:relative!important;z-index:1!important}
 .oracle-sheet-r21 .form-grid{grid-template-columns:1fr!important}.oracle-sheet-r21 input,.oracle-sheet-r21 select,.oracle-sheet-r21 textarea{max-width:100%!important;box-sizing:border-box!important}
 .oracle-match{padding:12px}.oracle-item-card{padding:14px}.oracle-imeis{grid-template-columns:1fr 1fr}.oracle-imeis code{font-size:.74rem;text-align:center;overflow:hidden;text-overflow:clip}
 .oracle-meta{overflow:visible!important}
}

/* ===== SOURCE: enterprise-10.4.81r23-global-card-system.css ===== */
/* DC CONTROL 10.4.81r23 — Normalización visual global.
   Una sola capa final para tarjetas/tablas responsive. No modifica lógica ni datos. */
:root{
  --dc23-blue:#167eea; --dc23-pink:#e92d5b; --dc23-green:#0aae69;
  --dc23-orange:#f47b16; --dc23-purple:#7b45df; --dc23-cyan:#079eac;
  --dc23-navy:#173f59; --dc23-line:rgba(255,255,255,.20);
}
/* Tarjetas principales: mismo lenguaje visual (radio, borde, sombra y recorte). */
.exec-card,.metric,.enterprise-action,.movement-row,.report-card,.w3-kpis>div,
.route-point-card1046,.dc-routine-card,.purchase-card,.supplier-card{
  border-radius:18px!important;
  overflow:hidden!important;
  box-shadow:0 8px 20px rgba(5,20,36,.16)!important;
}

/* Tablas convertidas a tarjetas en móvil: esquema sólido uniforme en TODOS los módulos. */
@media(max-width:700px){
  .enterprise-table-wrap{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important}
  .enterprise-table,.enterprise-table tbody{background:transparent!important}
  .enterprise-table tbody tr{
    position:relative!important;
    background:linear-gradient(135deg,#1c4a66,#15384f)!important;
    color:#fff!important;
    border:1px solid rgba(255,255,255,.16)!important;
    border-radius:18px!important;
    box-shadow:0 8px 20px rgba(4,18,32,.18)!important;
    overflow:hidden!important;
    padding:13px 14px!important;
    margin:0 0 10px!important;
  }
  .enterprise-table tbody tr:nth-child(6n+2){background:linear-gradient(135deg,#176fd1,#1255a4)!important}
  .enterprise-table tbody tr:nth-child(6n+3){background:linear-gradient(135deg,#0b9e63,#08794c)!important}
  .enterprise-table tbody tr:nth-child(6n+4){background:linear-gradient(135deg,#d63861,#ad234b)!important}
  .enterprise-table tbody tr:nth-child(6n+5){background:linear-gradient(135deg,#e57a18,#b95a0d)!important}
  .enterprise-table tbody tr:nth-child(6n){background:linear-gradient(135deg,#7446d3,#5630a8)!important}
  .enterprise-table tbody tr::after{
    content:"";position:absolute;right:-42px;top:-58px;width:150px;height:150px;
    border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none
  }
  /* Importante para iPhone: Safari deja :hover pegado después de tocar Editar.
     Ninguna celda puede volver a blanco. */
  .enterprise-table tbody tr td,
  .enterprise-table tbody tr:hover td,
  .enterprise-table tbody tr:active td,
  .enterprise-table tbody tr:focus-within td{
    position:relative!important;z-index:1!important;
    background:transparent!important;
    color:#fff!important;
    border-color:rgba(255,255,255,.14)!important;
  }
  .enterprise-table tbody tr td::before{
    color:rgba(255,255,255,.72)!important;opacity:1!important
  }
  .enterprise-table tbody tr td.amount,
  .enterprise-table tbody tr td strong,
  .enterprise-table tbody tr td b,
  .enterprise-table tbody tr td .green,
  .enterprise-table tbody tr td .red,
  .enterprise-table tbody tr td .payment-amount{color:#fff!important}
  .enterprise-table tbody tr .mini,
  .enterprise-table tbody tr .primary,
  .enterprise-table tbody tr .secondary{
    border:1px solid rgba(255,255,255,.22)!important;
    background:rgba(20,132,238,.94)!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  /* Las vistas especiales de Oráculo/Compras ya tienen paleta propia; conservarla,
     pero impedir igualmente el flash/blanco por hover. */
  .sheet.wide104 .enterprise-table tbody tr:hover td,
  .sheet.wide104 .enterprise-table tbody tr:active td,
  .sheet.wide104 .enterprise-table tbody tr:focus-within td{background:transparent!important;color:#fff!important}
}

/* ===== DC CONTROL 10.5.0 · CONSOLIDATION GUARD ===== */
:root{
  --dc-app-version:"10.5.0";
  --dc-safe-bottom:env(safe-area-inset-bottom,0px);
  --dc-safe-top:env(safe-area-inset-top,0px);
}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
button,input,select,textarea{font:inherit;}
button{-webkit-tap-highlight-color:transparent;}
img,svg,canvas{max-width:100%;}
@media (max-width:760px){
  .bottom-nav{padding-bottom:max(8px,var(--dc-safe-bottom));}
  .app-shell{min-height:100dvh;}
  main#view{min-width:0;}
}

/* ============================================================
   DC CONTROL 10.5.1 — NAVEGACIÓN PERSISTENTE + SALDO A FAVOR
   ============================================================ */
.dc-module-nav-host{position:sticky;top:var(--dc-topbar-height,78px);z-index:76;width:100%;pointer-events:none}
.dc-module-nav-host>*{pointer-events:auto}
#financeNavPersistent[hidden],#dcServiceNavPersistent[hidden]{display:none!important}
.dc-module-nav-host .finance-tabs1066{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;margin:8px 18px 4px!important;padding:6px!important;background:rgba(9,22,38,.96)!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:18px!important;box-shadow:0 10px 26px rgba(4,18,34,.23)!important;backdrop-filter:blur(16px)!important}
.dc-module-nav-host .finance-tabs1066 button{min-height:50px!important;font-size:12px!important;padding:8px 7px!important;white-space:normal!important;line-height:1.12!important}
.service-tabs1051{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 18px 4px;padding:6px;background:rgba(9,22,38,.96);border:1px solid rgba(255,255,255,.18);border-radius:18px;box-shadow:0 10px 26px rgba(4,18,34,.23);backdrop-filter:blur(16px)}
.service-tabs1051 button{min-height:50px;border:0;border-radius:14px;color:#fff;font-weight:950;font-size:13px;cursor:pointer;box-shadow:0 7px 18px rgba(0,0,0,.2);opacity:.82;transition:.16s ease}
.service-tabs1051 button:first-child{background:linear-gradient(135deg,#7651d6,#8b3de0)}
.service-tabs1051 button:last-child{background:linear-gradient(135deg,#0f83e9,#0867d8)}
.service-tabs1051 button.active{opacity:1;outline:3px solid rgba(255,255,255,.92);box-shadow:0 0 0 2px rgba(9,22,38,.7),0 9px 22px rgba(0,0,0,.28);transform:translateY(-1px)}

.saf-page{min-width:0}
.saf-head{align-items:flex-end;gap:14px}
.saf-head-actions{display:flex;gap:8px;align-items:center}
.saf-head-actions .primary,.saf-head-actions .secondary{width:auto;white-space:nowrap}
.saf-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}
.saf-kpis>div{position:relative;overflow:hidden;min-height:104px;padding:15px;border-radius:20px;color:#fff;box-shadow:0 9px 22px rgba(15,23,42,.17)}
.saf-kpis>div:after{content:"";position:absolute;width:86px;height:86px;border-radius:50%;right:-22px;bottom:-30px;background:rgba(255,255,255,.13)}
.saf-kpis>div:nth-child(1){background:linear-gradient(135deg,#087bea,#1264c4)}
.saf-kpis>div:nth-child(2){background:linear-gradient(135deg,#f59e0b,#ea580c)}
.saf-kpis>div:nth-child(3){background:linear-gradient(135deg,#08b86b,#07864f)}
.saf-kpis small,.saf-kpis span{display:block;color:#fff!important;opacity:.92;font-size:11px;font-weight:750}
.saf-kpis b{display:block;margin:5px 0 2px;font-size:clamp(21px,3vw,30px);line-height:1;color:#fff}
.saf-driver-tabs{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:14px 0 9px;padding:6px;border-radius:19px;background:#eaf0f7;border:1px solid #d7e1ec}
.saf-driver-tabs button{border:0;border-radius:14px;min-height:58px;padding:8px 10px;color:#fff;text-align:left;font:inherit;font-weight:900;cursor:pointer;opacity:.78;box-shadow:0 6px 14px rgba(15,23,42,.14)}
.saf-driver-tabs button:nth-child(4n+1){background:linear-gradient(135deg,#147bd1,#0d64bc)}
.saf-driver-tabs button:nth-child(4n+2){background:linear-gradient(135deg,#13a85c,#078447)}
.saf-driver-tabs button:nth-child(4n+3){background:linear-gradient(135deg,#f59e0b,#d96b05)}
.saf-driver-tabs button:nth-child(4n+4){background:linear-gradient(135deg,#8b3de0,#6c31c1)}
.saf-driver-tabs button span,.saf-driver-tabs button small{display:block;color:#fff!important}.saf-driver-tabs button small{margin-top:3px;opacity:.9;font-size:10px}.saf-driver-tabs button.active{opacity:1;outline:3px solid #fff;box-shadow:0 0 0 2px #26384e,0 8px 18px rgba(15,23,42,.24)}
.saf-subtabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:8px 0}
.saf-subtabs button{border:1px solid #cbd7e5;background:#eef3f8;color:#42536a;border-radius:14px;padding:12px;font-weight:900;cursor:pointer}
.saf-subtabs button.active{background:linear-gradient(135deg,#7651d6,#8b3de0);border-color:transparent;color:#fff;box-shadow:0 6px 14px rgba(91,50,180,.22)}
.saf-toolbar{display:flex;align-items:center;gap:10px;margin:10px 0 12px}.saf-toolbar input{margin:0;flex:1}.saf-toolbar>span{font-size:11px;font-weight:900;color:#607087;white-space:nowrap}
.saf-list{display:grid;gap:10px}
.saf-card{margin:0!important;padding:15px!important;border-radius:20px!important;border:0!important;color:#fff!important;box-shadow:0 9px 22px rgba(15,23,42,.17)!important;overflow:hidden;position:relative}
.saf-card.pending{background:linear-gradient(135deg,#1264c4,#087bea)!important}.saf-card.history{background:linear-gradient(135deg,#0b8a52,#08b86b)!important}
.saf-card:after{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-48px;bottom:-62px;background:rgba(255,255,255,.09);pointer-events:none}
.saf-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;position:relative;z-index:1}.saf-card-top h3{margin:4px 0 5px;font-size:16px;color:#fff}.saf-card-top strong{font-size:clamp(20px,4vw,28px);white-space:nowrap;color:#fff}.saf-date{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;opacity:.86}
.saf-linked,.saf-unlinked{display:inline-flex;border-radius:999px;padding:4px 7px;font-size:9px;font-weight:900;background:rgba(255,255,255,.16);color:#fff}.saf-unlinked{background:#a92b3b}
.saf-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0;position:relative;z-index:1}.saf-card-grid span{min-width:0;background:rgba(4,21,42,.18);border:1px solid rgba(255,255,255,.13);border-radius:12px;padding:9px;font-size:11px;font-weight:800;word-break:break-word;color:#fff}.saf-card-grid small{display:block;margin-bottom:3px;color:#fff!important;opacity:.76;font-size:9px;text-transform:uppercase;letter-spacing:.04em}
.saf-request-box{position:relative;z-index:1;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.2);border-radius:14px;padding:10px;margin-top:8px}.saf-request-box b,.saf-request-box small{display:block;color:#fff}.saf-request-box small{margin-top:3px;opacity:.88}.saf-inline-actions,.saf-actions{position:relative;z-index:1;display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.saf-card .primary,.saf-card .secondary{width:auto;min-width:130px}.saf-card .secondary{background:rgba(255,255,255,.92);color:#173557}.saf-card .primary{background:#fff;color:#0c5cac}
.saf-empty{padding:28px 16px;text-align:center;border-radius:18px;border:1px dashed #b9c7d8;background:#f6f9fc;color:#617087;font-weight:750}
.saf-setup{border-left:5px solid #f59e0b}.saf-setup code{word-break:break-all}
.saf-sheet .sheet-head{position:sticky;top:-18px;z-index:5;background:#fff;padding:18px 0 10px;margin-top:-18px}.saf-balance-banner{display:flex;justify-content:space-between;align-items:center;background:linear-gradient(135deg,#087bea,#1264c4);color:#fff;border-radius:17px;padding:14px;margin:7px 0}.saf-balance-banner small,.saf-balance-banner b{color:#fff}.saf-balance-banner b{font-size:24px}
.saf-new-client-row{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:-2px 0 8px}.saf-new-client-row .secondary{width:auto}.saf-new-client-row small{color:#667085}
.saf-client-toolbar{display:flex;gap:8px;align-items:center;position:sticky;top:66px;z-index:4;background:#fff;padding:5px 0 10px}.saf-client-toolbar input{margin:0}.saf-client-toolbar .primary{width:auto;white-space:nowrap}.saf-client-list{display:grid;gap:8px}.saf-client-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dce5ef;border-radius:16px;padding:12px;background:#f8fbff}.saf-client-row b,.saf-client-row small{display:block}.saf-client-row small{margin-top:3px;color:#667085}.saf-client-row .secondary{width:auto;flex:0 0 auto}
.saf-assignment-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}.saf-assignment-list label{display:flex;align-items:center;gap:8px;margin:0;padding:11px;border-radius:13px;background:#f1f5f9}.saf-assignment-list input{width:auto;margin:0}

html.dc-dark .saf-driver-tabs,html[data-theme="dark"] .saf-driver-tabs{background:#132335;border-color:#29405a}
html.dc-dark .saf-subtabs button,html[data-theme="dark"] .saf-subtabs button{background:#1d3045;border-color:#334c67;color:#e9f2fb}
html.dc-dark .saf-subtabs button.active,html[data-theme="dark"] .saf-subtabs button.active{background:linear-gradient(135deg,#7651d6,#8b3de0);color:#fff}
html.dc-dark .saf-empty,html[data-theme="dark"] .saf-empty{background:#132235;border-color:#38506a;color:#dbe8f6}
html.dc-dark .saf-sheet .sheet-head,html[data-theme="dark"] .saf-sheet .sheet-head,html.dc-dark .saf-client-toolbar,html[data-theme="dark"] .saf-client-toolbar{background:#101d2c}
html.dc-dark .saf-client-row,html[data-theme="dark"] .saf-client-row{background:#17283a;border-color:#30475f;color:#fff}html.dc-dark .saf-client-row small,html[data-theme="dark"] .saf-client-row small{color:#c1d0df}
html.dc-dark .saf-assignment-list label,html[data-theme="dark"] .saf-assignment-list label{background:#1b3045;color:#fff}

@media(max-width:700px){
 .dc-module-nav-host{top:var(--dc-topbar-height,70px)}
 .dc-module-nav-host .finance-tabs1066,.service-tabs1051{margin:5px 8px 3px!important;gap:5px!important;padding:5px!important;border-radius:16px!important}
 .dc-module-nav-host .finance-tabs1066{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dc-module-nav-host .finance-tabs1066 button{min-height:44px!important;font-size:9.5px!important;padding:6px 3px!important}
 .service-tabs1051 button{min-height:44px;font-size:11px;padding:7px 5px}
 .saf-head{align-items:stretch;flex-direction:column}.saf-head-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.saf-head-actions .primary,.saf-head-actions .secondary{width:100%;padding:11px 7px}
 .saf-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.saf-kpis>div{min-height:91px;padding:12px}.saf-kpis>div:first-child{grid-column:1/-1}.saf-kpis b{font-size:22px}
 .saf-driver-tabs{display:flex;overflow-x:auto;gap:6px;padding:5px}.saf-driver-tabs button{min-width:112px;flex:0 0 112px;min-height:53px;padding:7px 8px}
 .saf-card{padding:13px!important}.saf-card-top strong{font-size:21px}.saf-card-grid{grid-template-columns:1fr 1fr}.saf-card .primary,.saf-card .secondary{flex:1;min-width:0;padding:10px 8px;font-size:11px}.saf-toolbar{align-items:stretch;flex-direction:column}.saf-toolbar>span{padding-left:3px}
 .saf-assignment-list{grid-template-columns:1fr}.saf-client-toolbar{top:62px}.saf-new-client-row{align-items:stretch;flex-direction:column}.saf-new-client-row .secondary{width:100%}
}


/* ===== DC CONTROL 10.5.2 — encabezado de usuario uniforme ===== */
.user-card1048.account-open,
#accountBtn.account-open{
  background:linear-gradient(135deg,#0868d7 0%,#1686f3 100%)!important;
  border-color:#6db9ff!important;
  color:#fff!important;
  box-shadow:0 10px 26px rgba(8,104,215,.34),inset 0 1px 0 rgba(255,255,255,.24)!important;
}
.user-card1048.account-open .user-copy1048 small,
.user-card1048.account-open .user-copy1048 em{color:#e9f5ff!important}
html.dc-role-seller .topbar-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important}
html.dc-role-seller .user-card1048{display:grid!important;visibility:visible!important;opacity:1!important}
@media(max-width:700px){
  html.dc-role-seller .user-card1048{max-width:min(72vw,310px)!important}
}


/* ============================================================
   DC CONTROL 10.5.3 — ALINEACIÓN DE ENCABEZADOS + TARJETAS SALDO
   ============================================================ */
:root{--dc-app-version:"10.5.3";--dc-module-content-max:980px}

/* La botonera persistente usa exactamente el mismo ancho de trabajo
   que Finanzas, Conciliación, Garantías y Saldo a favor. */
.dc-module-nav-host{
  width:100%;
  box-sizing:border-box;
  padding-left:clamp(14px,2.1vw,32px);
  padding-right:clamp(14px,2.1vw,32px);
}
.dc-module-nav-host .finance-tabs1066,
.dc-module-nav-host .service-tabs1051{
  width:100%!important;
  max-width:var(--dc-module-content-max)!important;
  margin:8px auto 4px!important;
  box-sizing:border-box!important;
}
#view>.finance-shell,
#view>.rec20,
#view>.saf-page,
#view>.w3{
  width:100%!important;
  max-width:var(--dc-module-content-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}

/* Saldo a favor: secuencia visual por tarjeta de cliente.
   Verde → naranja → rojo → morado y vuelve a iniciar. */
.saf-card.pending.tone-0,.saf-card.history.tone-0{background:linear-gradient(135deg,#0bbf79,#07965e)!important}
.saf-card.pending.tone-1,.saf-card.history.tone-1{background:linear-gradient(135deg,#f59e0b,#df6f08)!important}
.saf-card.pending.tone-2,.saf-card.history.tone-2{background:linear-gradient(135deg,#ef4054,#c92642)!important}
.saf-card.pending.tone-3,.saf-card.history.tone-3{background:linear-gradient(135deg,#7c3aed,#5b21b6)!important}
.saf-card.pending.tone-0 .primary,.saf-card.history.tone-0 .primary{color:#087a4d!important}
.saf-card.pending.tone-1 .primary,.saf-card.history.tone-1 .primary{color:#b55a05!important}
.saf-card.pending.tone-2 .primary,.saf-card.history.tone-2 .primary{color:#b51f38!important}
.saf-card.pending.tone-3 .primary,.saf-card.history.tone-3 .primary{color:#5b21b6!important}

@media(max-width:700px){
  .dc-module-nav-host{padding-left:10px!important;padding-right:10px!important}
  .dc-module-nav-host .finance-tabs1066,
  .dc-module-nav-host .service-tabs1051{width:100%!important;margin:5px auto 3px!important}
  #view>.finance-shell,#view>.rec20,#view>.saf-page,#view>.w3{max-width:100%!important}
}

/* DC CONTROL 10.5.4 · Chat móvil: selector simple + historial persistente */
.dc-chat-mobile-tabs{display:none}
.dc-chat-side-head small{display:block;margin-top:3px;color:#7f8e98;font-size:11px}
.dc-chat-picker{display:none}
.dc-chat-load-older{display:block;margin:2px auto 12px;border:1px solid rgba(96,165,250,.35);background:rgba(59,130,246,.10);color:#60a5fa;border-radius:999px;padding:8px 14px;font-weight:800;cursor:pointer}
.dc-chat-load-older:disabled{opacity:.6}
html.dc-dark .dc-chat-side-head small{color:#94a3b8}
@media(max-width:760px){
  body:has(#dcChatShell) .dc-page-head{display:none!important}
  .dc-chat-mobile-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:sticky;top:0;z-index:28;padding:8px 8px 7px;margin:0 auto;background:linear-gradient(180deg,rgba(7,19,33,.98),rgba(7,19,33,.90));backdrop-filter:blur(14px);width:100%;max-width:760px}
  .dc-chat-mobile-tabs button{min-height:48px;border:1px solid rgba(148,163,184,.24);border-radius:15px;background:#152337;color:#cbd5e1;display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;font-weight:900;box-shadow:0 6px 18px rgba(0,0,0,.14)}
  .dc-chat-mobile-tabs button.active{background:linear-gradient(135deg,#0f7cf7,#0759c7);border-color:#5da7ff;color:#fff;box-shadow:0 9px 22px rgba(15,124,247,.28)}
  .dc-chat-mobile-tabs button span{font-size:17px}.dc-chat-mobile-tabs button i{font-style:normal;font-size:14px;opacity:.8}
  .dc-chat-shell{height:calc(100dvh - 176px)!important;min-height:0!important;border-radius:16px!important;display:block!important;position:relative;overflow:hidden}
  .dc-chat-sidebar,.dc-chat-main{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;transform:none!important;transition:none!important}
  .dc-chat-sidebar{display:none!important;z-index:4!important;border-right:0!important}
  .dc-chat-main{display:flex!important;z-index:5!important}
  .dc-chat-shell.history-open .dc-chat-sidebar{display:flex!important}
  .dc-chat-shell.history-open .dc-chat-main{display:none!important}
  .dc-chat-side-head{padding:14px 14px 10px}.dc-chat-side-head h2{font-size:19px;margin:1px 0}.dc-chat-side-head .eyebrow{font-size:9px}
  .dc-chat-search{padding:8px 12px}.dc-chat-list{padding-bottom:max(16px,env(safe-area-inset-bottom))}
  .dc-chat-head{height:60px!important;min-height:60px;padding:0 8px!important;position:sticky;top:0;z-index:8}
  .dc-chat-back{display:grid!important;place-items:center;width:38px;height:38px;font-size:27px}
  .dc-chat-head-actions button:first-child{display:grid!important}
  .dc-chat-messages{padding:10px 9px 12px!important}.dc-msg{max-width:88%!important}
  .dc-chat-composer{position:sticky!important;bottom:0!important;padding:8px 8px max(8px,env(safe-area-inset-bottom))!important}
  .dc-chat-picker{display:block;position:fixed;inset:0;z-index:1200;pointer-events:none;visibility:hidden}
  .dc-chat-picker.open{pointer-events:auto;visibility:visible}
  .dc-chat-picker-backdrop{position:absolute;inset:0;border:0;background:rgba(2,8,23,.64);opacity:0;transition:opacity .18s ease}
  .dc-chat-picker.open .dc-chat-picker-backdrop{opacity:1}
  .dc-chat-picker-card{position:absolute;left:0;right:0;bottom:0;max-height:min(78dvh,720px);display:flex;flex-direction:column;background:#0f1b2b;border:1px solid #334155;border-radius:24px 24px 0 0;box-shadow:0 -25px 70px rgba(0,0,0,.42);transform:translateY(105%);transition:transform .22s ease;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  .dc-chat-picker.open .dc-chat-picker-card{transform:translateY(0)}
  .dc-chat-picker-grab{width:42px;height:5px;border-radius:99px;background:#53647a;margin:8px auto 4px}
  .dc-chat-picker-head{display:flex;align-items:center;justify-content:space-between;padding:8px 14px 6px}.dc-chat-picker-head h3{margin:1px 0 0;color:#fff;font-size:20px}.dc-chat-picker-head .eyebrow{font-size:9px}.dc-chat-picker-head button{width:38px;height:38px;border:0;border-radius:12px;background:#223047;color:#fff;font-size:24px}
  .dc-chat-picker-actions{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:4px 12px 8px}.dc-chat-picker-actions .dc-chat-search{padding:0}.dc-chat-new-wide{height:43px;border:0;border-radius:13px;background:#0aa37f;color:#fff;font-weight:900;padding:0 12px;white-space:nowrap}
  .dc-chat-picker-list{overflow:auto;padding:0 8px 8px;overscroll-behavior:contain}.dc-chat-picker-list .dc-chat-item{border-radius:14px;margin:3px 0}
  body.dc-chat-picker-open{overflow:hidden}
  body.dc-chat-keyboard .dc-chat-mobile-tabs{display:none!important}
  body.dc-chat-keyboard .dc-chat-shell{height:var(--dc-chat-vvh,100dvh)!important;border-radius:0!important}
}


/* ============================================================
   DC CONTROL 10.5.5 — CONTRASTE SALDO + TARJETA DE USUARIO
   ============================================================ */
:root{--dc-app-version:"10.5.5"}

/* Saldo a favor: botones de acción con contraste fijo en cualquier tono. */
.saf-card .saf-actions .primary,
.saf-card .saf-inline-actions .primary,
.saf-card button[data-saf-request],
.saf-card button[data-saf-approve]{
  background:linear-gradient(135deg,#087bea 0%,#075fc4 100%)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.26)!important;
  opacity:1!important;
  text-shadow:none!important;
  -webkit-text-fill-color:#fff!important;
  box-shadow:0 8px 18px rgba(5,79,170,.28)!important;
}
.saf-card .saf-actions .primary:hover,
.saf-card .saf-inline-actions .primary:hover,
.saf-card button[data-saf-request]:hover,
.saf-card button[data-saf-approve]:hover{
  background:linear-gradient(135deg,#096fd4 0%,#064f9f 100%)!important;
  color:#fff!important;
}
.saf-card .saf-actions .primary:disabled,
.saf-card .saf-inline-actions .primary:disabled{
  background:#64748b!important;
  color:#fff!important;
  opacity:.72!important;
}

/* Cuenta: el desplegable adopta la identidad azul del encabezado. */
.account-menu{
  background:linear-gradient(145deg,#0a67d1 0%,#087bea 55%,#075ab7 100%)!important;
  border:1px solid rgba(151,207,255,.72)!important;
  color:#fff!important;
  box-shadow:0 20px 52px rgba(3,48,105,.36),inset 0 1px 0 rgba(255,255,255,.18)!important;
}
.account-menu .account-head{
  border-bottom:1px solid rgba(255,255,255,.22)!important;
}
.account-menu .account-head b,
.account-menu .account-head small{
  color:#fff!important;
}
.account-menu .account-head small{opacity:.86!important}
.account-menu button{
  background:rgba(4,42,91,.34)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.14)!important;
}
.account-menu button b,
.account-menu button small{color:#fff!important}
.account-menu button small{opacity:.82!important}
.account-menu button:hover,
.account-menu button:focus-visible{
  background:rgba(3,38,83,.58)!important;
  border-color:rgba(255,255,255,.32)!important;
  outline:none!important;
}

@media(max-width:700px){
  .account-menu{top:calc(var(--dc-topbar-height,70px) + env(safe-area-inset-top,0px) + 4px)!important;right:10px!important;width:min(320px,calc(100vw - 20px))!important}
  .saf-card .saf-actions .primary,.saf-card .saf-inline-actions .primary{min-height:46px!important;font-size:12px!important;font-weight:900!important}
}


/* 10.5.8 · Alertas: Inicio y Centro personal comparten la misma fuente */
.dc-alert-tab-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:5px;border-radius:999px;background:rgba(255,255,255,.28);color:inherit;font-size:11px;font-weight:900}
.dc-alerts-operational-list{display:grid;gap:10px}.dc-operational-alert{width:100%;text-align:left;cursor:pointer}.dc-operational-alert.critical{border-left:5px solid #e53935!important}.dc-operational-alert.warning{border-left:5px solid #f59e0b!important}.dc-operational-alert.info{border-left:5px solid #2588e6!important}.dc-system-notifications{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(120,140,160,.22)}.dc-alert-subtitle{font-size:12px;font-weight:900;opacity:.72;text-transform:uppercase;letter-spacing:.04em}.dc-system-alert{display:grid;gap:4px}.dc-system-alert small{opacity:.78}

/* DC CONTROL 2.0.8 · Nómina Pro / Historial */
.payroll-pro208 .payroll-tabs208{display:flex;gap:10px;align-items:center;margin:14px 0 16px;padding:6px;background:#f3f6fb;border:1px solid #dbe4f0;border-radius:18px;max-width:520px}
.payroll-pro208 .payroll-tabs208 button{appearance:none;border:0;background:transparent;color:#536273;font-weight:900;padding:11px 18px;border-radius:13px;cursor:pointer;display:flex;align-items:center;gap:8px}
.payroll-pro208 .payroll-tabs208 button span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;border-radius:999px;background:rgba(15,23,42,.08);font-size:12px}
.payroll-pro208 .payroll-tabs208 button.active{background:#1769e0;color:#fff;box-shadow:0 8px 22px rgba(23,105,224,.24)}
.payroll-pro208 .payroll-tabs208 button.active span{background:rgba(255,255,255,.22);color:#fff}
.payroll-history-toolbar208{display:grid;grid-template-columns:minmax(220px,1.4fr) repeat(3,minmax(150px,.8fr)) auto;gap:10px;align-items:end;margin:0 0 12px;padding:14px;border:1px solid #dde6f2;border-radius:18px;background:#fff}
.payroll-history-toolbar208 label{display:grid;gap:6px;font-size:11px;font-weight:900;letter-spacing:.03em;color:#64748b;text-transform:uppercase}
.payroll-history-toolbar208 select,.payroll-history-toolbar208 input{width:100%;min-height:42px;border:1px solid #d4dfed;border-radius:12px;background:#f8fafc;padding:8px 10px;color:#172033;font-weight:700}
.payroll-history-summary208{display:grid;grid-template-columns:repeat(2,minmax(180px,260px));gap:10px;margin:0 0 12px}
.payroll-history-summary208 span{display:grid;gap:2px;padding:13px 16px;border-radius:16px;background:linear-gradient(135deg,#172554,#1d4ed8);color:#fff;box-shadow:0 10px 24px rgba(29,78,216,.15)}
.payroll-history-summary208 span:nth-child(2){background:linear-gradient(135deg,#065f46,#10b981)}
.payroll-history-summary208 b{font-size:20px}.payroll-history-summary208 small{opacity:.86;font-weight:700}
.payroll-history-table208 td[data-label="Desglose"]{font-size:12px;color:#64748b;line-height:1.35}
.payroll-history-table208 td[data-label="Fecha"]{font-size:12px;white-space:nowrap}
.payroll-pending-table208 .enterprise-table tbody tr{border-color:#dbeafe}
@media(max-width:900px){.payroll-history-toolbar208{grid-template-columns:1fr 1fr}.payroll-history-toolbar208 label:first-child{grid-column:1/-1}.payroll-history-toolbar208 button{grid-column:1/-1}.payroll-history-summary208{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.payroll-pro208 .payroll-tabs208{max-width:none}.payroll-pro208 .payroll-tabs208 button{flex:1;justify-content:center;padding:10px 8px}.payroll-history-toolbar208{grid-template-columns:1fr}.payroll-history-toolbar208 label:first-child,.payroll-history-toolbar208 button{grid-column:auto}.payroll-history-summary208{grid-template-columns:1fr}.payroll-history-table208 td[data-label="Fecha"]{white-space:normal}}
[data-dc-page="payroll"] .payroll-history-table208 .v10498-payroll-card td[data-label="Acción"]{grid-template-columns:1fr!important}
[data-dc-page="payroll"] .payroll-history-table208 .v10498-payroll-card td[data-label="Estado"]{align-items:flex-start!important}
[data-dc-page="payroll"] .payroll-history-table208 .v10498-payroll-card td[data-label="Estado"] small{display:block;max-width:65%;text-align:right;line-height:1.25;color:#64748b}


/* =============================================================
   DC CONTROL 2.0.9 · VISUAL CARDS — EMPLEADOS / NÓMINA
   Pendientes, Historial y Directorio heredan el sistema multicolor.
   ============================================================= */
.payroll-pro208 .payroll-tabs208{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;max-width:560px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}
.payroll-pro208 .payroll-tabs208 button{position:relative!important;min-height:64px!important;border:0!important;border-radius:17px!important;padding:12px 16px!important;color:#fff!important;font-weight:900!important;justify-content:flex-start!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(15,43,79,.12)!important;opacity:.84!important;transition:transform .16s ease,opacity .16s ease,box-shadow .16s ease!important}
.payroll-pro208 .payroll-tabs208 button:before{font-size:20px;position:relative;z-index:2;margin-right:2px}
.payroll-pro208 .payroll-tabs208 button:first-child{background:linear-gradient(135deg,#1688f7,#1761d6)!important}
.payroll-pro208 .payroll-tabs208 button:first-child:before{content:"⏳"}
.payroll-pro208 .payroll-tabs208 button:nth-child(2){background:linear-gradient(135deg,#8a5af0,#6633cf)!important}
.payroll-pro208 .payroll-tabs208 button:nth-child(2):before{content:"🕘"}
.payroll-pro208 .payroll-tabs208 button:after{content:"";position:absolute;right:-24px;top:-36px;width:100px;height:100px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.payroll-pro208 .payroll-tabs208 button span{position:relative;z-index:2;background:rgba(255,255,255,.2)!important;color:#fff!important}
.payroll-pro208 .payroll-tabs208 button.active{opacity:1!important;transform:translateY(-2px)!important;box-shadow:0 14px 30px rgba(15,43,79,.20),inset 0 0 0 2px rgba(255,255,255,.34)!important}

/* Directorio: cada empleado con color propio incluso si el decorador visual no alcanzó a añadir clases */
[data-dc-page="payroll"] .employee-directory1045{position:relative!important;overflow:hidden!important;border:0!important;color:#fff!important;box-shadow:0 10px 22px rgba(15,43,79,.12)!important}
[data-dc-page="payroll"] .employee-directory1045:after{content:"";position:absolute;right:-30px;top:-36px;width:112px;height:112px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+1){background:linear-gradient(135deg,#1688f7,#1761d6)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+2){background:linear-gradient(135deg,#16b96e,#078d52)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+3){background:linear-gradient(135deg,#ff992f,#e86e0e)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+4){background:linear-gradient(135deg,#8a5af0,#6633cf)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+5){background:linear-gradient(135deg,#13b8b0,#078b88)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+6){background:linear-gradient(135deg,#5478ff,#3659dc)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n+7){background:linear-gradient(135deg,#f05272,#cf294d)!important}
[data-dc-page="payroll"] .employee-directory1045:nth-child(8n){background:linear-gradient(135deg,#f6b91c,#d99b05)!important}
[data-dc-page="payroll"] .employee-directory1045 .row,[data-dc-page="payroll"] .employee-directory1045 b,[data-dc-page="payroll"] .employee-directory1045 small{position:relative;z-index:2;color:#fff!important}
[data-dc-page="payroll"] .employee-directory1045 .employee-photo1045{background:rgba(255,255,255,.92)!important;color:#5b46c5!important;box-shadow:0 0 0 3px rgba(255,255,255,.16)!important}
[data-dc-page="payroll"] .employee-directory1045 button{position:relative;z-index:2;background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.26)!important;color:#fff!important;font-weight:900!important}

/* Las acciones superiores también se leen como tarjetas del mismo sistema */
[data-dc-page="payroll"] .v10498-top-action{position:relative!important;overflow:hidden!important;border:0!important;box-shadow:0 10px 24px rgba(15,43,79,.12)!important}
[data-dc-page="payroll"] .v10498-top-action:after{content:"";position:absolute;right:-25px;top:-36px;width:98px;height:98px;border-radius:50%;background:rgba(255,255,255,.14);pointer-events:none}

@media(max-width:620px){
  .payroll-pro208 .payroll-tabs208{max-width:none!important;gap:8px!important}
  .payroll-pro208 .payroll-tabs208 button{min-height:58px!important;padding:10px 11px!important;font-size:13px!important}
  .payroll-pro208 .payroll-tabs208 button:before{font-size:18px}
}

/* ===== DC CONTROL 2.1.0 — CONCILIACIÓN PRO PRIORITARIA ===== */
.finance-tabs-pro210{grid-template-columns:1.45fr 1fr 1fr!important}
.finance-tabs-pro210 button[data-fin1066="sicarReconciliation"]{position:relative;overflow:hidden;box-shadow:0 10px 28px rgba(5,150,105,.34)!important}
.finance-tabs-pro210 button[data-fin1066="sicarReconciliation"]::after{content:'PRIORIDAD';position:absolute;right:8px;top:6px;font-size:8px;letter-spacing:.08em;padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.20);color:#fff}
.sicar-pro{max-width:1500px!important}
.recon-monthly-pro{margin:0 0 16px;padding:18px;border-radius:24px;background:linear-gradient(145deg,#071a33,#0b3564 58%,#0b5a6b);color:#fff;box-shadow:0 20px 48px rgba(4,22,45,.25);overflow:hidden;position:relative}
.recon-monthly-pro::before{content:'';position:absolute;width:360px;height:360px;border-radius:50%;right:-160px;top:-210px;background:rgba(255,255,255,.08)}
.recon-monthly-head{position:relative;display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:14px}
.recon-monthly-head h2{margin:3px 0 4px;font-size:25px;color:#fff}.recon-monthly-head p{margin:0;color:#dbeafe}.recon-monthly-head .eyebrow{color:#7dd3fc}
.recon-monthly-actions{display:flex;gap:8px;align-items:center}.recon-monthly-actions input{min-height:42px;border:1px solid rgba(255,255,255,.25);border-radius:11px;background:rgba(255,255,255,.12);color:#fff;padding:8px 10px;color-scheme:dark}.recon-monthly-actions .secondary{background:#fff!important;color:#0b3564!important;border-color:#fff!important}
.recon-pro-kpis{position:relative;display:grid;grid-template-columns:1.2fr repeat(5,minmax(0,1fr));gap:9px}.pro-kpi{min-height:110px;border-radius:17px;padding:13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.13);display:flex;flex-direction:column;justify-content:center;gap:4px}.pro-kpi small,.pro-kpi span{color:#dbeafe}.pro-kpi b{font-size:21px;color:#fff}.pro-kpi.pro-main{background:linear-gradient(145deg,#10b981,#047857);box-shadow:0 10px 24px rgba(16,185,129,.24)}.pro-kpi.pro-main b{font-size:30px}.pro-kpi.pro-review{background:linear-gradient(145deg,#f59e0b,#c86d05)}.pro-kpi.pro-danger{background:linear-gradient(145deg,#ef476f,#be123c)}.pro-kpi.pro-info{background:linear-gradient(145deg,#1687f5,#075fc4)}
.recon-monthly-bottom{position:relative;display:grid;grid-template-columns:minmax(230px,.75fr) minmax(0,1.65fr);gap:10px;margin-top:10px}.recon-balance,.recon-issues{border-radius:16px;padding:13px 15px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.13)}.recon-balance{display:flex;flex-direction:column;gap:4px}.recon-balance b{font-size:23px}.recon-balance.ok{box-shadow:inset 4px 0 #34d399}.recon-balance.warn{box-shadow:inset 4px 0 #fb7185}.recon-issues{display:flex;gap:7px;flex-wrap:wrap;align-content:flex-start}.recon-issues>b{width:100%;margin-bottom:2px}.recon-issues span{font-size:11px;font-weight:800;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff}
.recon-priority-banner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:15px;align-items:center;margin:14px 0;padding:18px;border-radius:20px;background:linear-gradient(135deg,#eef8ff,#eafdf8);border:1px solid #cce7f7;box-shadow:0 10px 25px rgba(15,65,100,.08)}.recon-priority-banner h2{margin:4px 0}.recon-priority-banner p{margin:0;color:#475569;max-width:920px}.recon-run{min-height:52px!important;padding:0 20px!important}
.recon-actions-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.recon-action-card{border:0;border-radius:18px;min-height:118px;padding:14px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:5px;color:#fff;text-align:left;box-shadow:0 9px 22px rgba(15,23,42,.16);cursor:pointer}.recon-action-card span{font-size:27px}.recon-action-card b{font-size:14px}.recon-action-card small{color:rgba(255,255,255,.86)}.recon-action-card.import{background:linear-gradient(135deg,#0ea5e9,#2563eb)}.recon-action-card.bank{background:linear-gradient(135deg,#475569,#1e293b)}.recon-action-card.groups{background:linear-gradient(135deg,#8b5cf6,#6d28d9)}.recon-action-card.report{background:linear-gradient(135deg,#16a34a,#047857)}
.recon-groups-section{padding:15px;margin-bottom:14px;border:1px solid rgba(124,58,237,.28)!important;box-shadow:inset 4px 0 #7c3aed}.recon-groups-empty{padding:13px;border-radius:12px;background:rgba(100,116,139,.08);color:#64748b}.recon-group-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:13px;border-radius:14px;background:linear-gradient(135deg,rgba(124,58,237,.10),rgba(59,130,246,.06));border:1px solid rgba(124,58,237,.16);margin-top:9px}.recon-group-card b,.recon-group-card small{display:block;margin-top:4px}.recon-group-card>div:last-child{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.recon-filter-pro{padding:14px;margin:14px 0}.recon-filter-pro>div{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.recon-filter-pro label{display:flex;flex-direction:column;gap:4px;font-size:11px;font-weight:800}.recon-filter-pro label.grow{flex:1;min-width:220px}.recon-filter-pro input,.recon-filter-pro select{min-height:40px;border:1px solid rgba(120,130,150,.25);border-radius:10px;padding:7px 9px;background:var(--card,#fff)}.recon-filter-pro>small{display:block;margin-top:8px}
.recon-main-table{border:1px solid rgba(20,100,170,.18)!important;box-shadow:0 12px 28px rgba(15,45,75,.08)!important}.sicar-pro .sicar-table1075 th{background:#0c3158!important;color:#fff!important}.sicar-pro .sicar-table1075 th:nth-child(1){background:#0f766e!important}.sicar-pro .sicar-table1075 th:nth-child(2){background:#1769e8!important}.sicar-pro .sicar-table1075 td:nth-child(3){font-weight:900;color:#15803d}.sicar-pro .sicar-review{background:rgba(245,158,11,.10)}.sicar-pro .sicar-review .sicar-state{color:#b45309;font-weight:900}.sicar-pro .sicar-state{display:block}.sicar-pro td small{display:block;margin-top:4px;white-space:normal;opacity:.68;max-width:440px}.sicar-candidate{width:100%;min-width:190px;max-width:320px;margin-bottom:5px;min-height:36px}.sicar-mini{min-height:34px!important;padding:6px 9px!important;font-size:11px!important}.sicar-pro hr{border:0;border-top:1px dashed rgba(120,130,150,.25);margin:5px 0}
html.dc-dark .recon-priority-banner{background:linear-gradient(135deg,#13283b,#12352f);border-color:#29465e}html.dc-dark .recon-priority-banner p{color:#cbd5e1}html.dc-dark .recon-filter-pro input,html.dc-dark .recon-filter-pro select{background:#111c28;color:#e5edf6;border-color:#334155}html.dc-dark .recon-groups-empty{color:#cbd5e1;background:#162231}html.dc-dark .sicar-pro .sicar-review{background:rgba(245,158,11,.15)}
@media(max-width:1050px){.recon-pro-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.recon-actions-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.finance-tabs-pro210{grid-template-columns:1fr!important}.finance-tabs-pro210 button[data-fin1066="sicarReconciliation"]{order:-2}.recon-monthly-pro{padding:13px;border-radius:18px}.recon-monthly-head{align-items:stretch;flex-direction:column}.recon-monthly-actions{display:grid;grid-template-columns:1fr 1fr}.recon-pro-kpis{grid-template-columns:1fr 1fr}.pro-kpi{min-height:94px}.pro-kpi.pro-main{grid-column:1/-1}.recon-monthly-bottom{grid-template-columns:1fr}.recon-priority-banner{grid-template-columns:1fr}.recon-run{width:100%}.recon-actions-grid{grid-template-columns:1fr 1fr}.recon-action-card{min-height:104px}.recon-group-card{grid-template-columns:1fr}.recon-group-card>div:last-child{justify-content:stretch}.recon-group-card>div:last-child button{flex:1}.recon-filter-pro>div{display:grid;grid-template-columns:1fr 1fr}.recon-filter-pro label.grow{grid-column:1/-1;min-width:0}.recon-filter-pro button{width:100%}.recon-main-table{overflow:auto!important}.sicar-pro .sicar-table1075{min-width:1050px!important}}

/* ===== DC CONTROL 2.1.1 — AUDITORÍA DE CANCELACIONES SICAR ===== */
.sicar-pro .sicar-cancelled td{background:rgba(100,116,139,.055)}
.sicar-pro .sicar-cancelled .sicar-state{color:#475569;font-weight:800}

/* DC CONTROL 2.1.3 — Conciliación: foco exclusivo en excepciones */
.recon-focus-month{background:linear-gradient(145deg,#061a31,#0a3159 58%,#0d5260)}
.recon-focus-kpis{position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.focus-kpi{min-height:118px;border-radius:18px;padding:15px;border:1px solid rgba(255,255,255,.14);display:flex;flex-direction:column;justify-content:center;gap:5px;box-shadow:0 10px 24px rgba(0,0,0,.10)}
.focus-kpi small{font-size:11px;font-weight:900;letter-spacing:.08em;color:#e2e8f0}.focus-kpi b{font-size:29px;line-height:1.05;color:#fff}.focus-kpi span{font-size:11px;color:#e2e8f0}
.focus-kpi.explained{background:linear-gradient(145deg,#16a34a,#047857)}.focus-kpi.missing{background:linear-gradient(145deg,#ef4444,#be123c)}.focus-kpi.extra{background:linear-gradient(145deg,#f59e0b,#c76705)}.focus-kpi.pending{background:linear-gradient(145deg,#2563eb,#1649ad)}
.recon-detail-fold{position:relative;margin-top:11px;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:rgba(255,255,255,.07)}.recon-detail-fold>summary{cursor:pointer;padding:11px 14px;font-weight:900;color:#fff}.recon-detail-fold .recon-monthly-bottom{margin:0;padding:0 10px 10px}
.recon-focus-banner{border-left:5px solid #2563eb}.recon-focus-filter{position:sticky;top:78px;z-index:8;background:rgba(255,255,255,.96);backdrop-filter:blur(12px)}
.recon-table-title{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 14px;border-bottom:1px solid rgba(100,116,139,.14)}.recon-table-title b{display:block;font-size:15px}.recon-table-title small{display:block;color:#64748b;margin-top:3px}.recon-table-title>span{background:#fff1f2;color:#be123c;border:1px solid #fecdd3;border-radius:999px;padding:7px 10px;font-size:11px;font-weight:900;white-space:nowrap}
.recon-bank-open{margin-top:14px}.recon-bank-open .section-title{display:flex;justify-content:space-between;align-items:center;gap:12px}.recon-bank-open-list{display:grid;gap:7px;margin-top:10px}.recon-bank-open-list>div{display:grid;grid-template-columns:95px 110px minmax(0,1fr);gap:10px;align-items:center;padding:9px 10px;border-radius:12px;background:rgba(37,99,235,.055);border:1px solid rgba(37,99,235,.10)}.recon-bank-open-list b{color:#075fc4}.recon-bank-open-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#64748b}
.recon-tools-fold{margin-top:14px}.recon-tools-fold>summary{cursor:pointer;font-weight:900;padding:4px 0 10px}.recon-tools-fold .sicar-paste{margin-top:12px}
html.dc-dark .recon-focus-filter{background:rgba(17,28,40,.96)}html.dc-dark .recon-table-title small,html.dc-dark .recon-bank-open-list small{color:#cbd5e1}html.dc-dark .recon-bank-open-list>div{background:rgba(59,130,246,.10);border-color:rgba(96,165,250,.18)}
@media(max-width:820px){.recon-focus-kpis{grid-template-columns:1fr 1fr}.focus-kpi{min-height:98px}.focus-kpi b{font-size:24px}.recon-focus-filter{position:relative;top:auto}.recon-bank-open .section-title{align-items:stretch;flex-direction:column}.recon-bank-open-list>div{grid-template-columns:85px 95px minmax(0,1fr)}}
@media(max-width:480px){.recon-focus-kpis{grid-template-columns:1fr 1fr;gap:7px}.focus-kpi{padding:12px;min-height:92px}.focus-kpi b{font-size:21px}.focus-kpi span{font-size:10px}.recon-monthly-actions{grid-template-columns:1fr}.recon-bank-open-list>div{grid-template-columns:1fr auto}.recon-bank-open-list small{grid-column:1/-1}}
/* DC CONTROL 2.1.6 — conciliación bidireccional: Banco ↔ SICAR */
.recon-bank-open-list>div{grid-template-columns:95px 110px minmax(0,1fr) auto!important}
.recon-bank-open-list>div em{font-style:normal;font-size:11px;font-weight:900;white-space:nowrap;padding:5px 8px;border-radius:999px;background:rgba(37,99,235,.10);color:#075fc4}
.recon-bank-open-list>div.bank-conflict{background:rgba(245,158,11,.10)!important;border-color:rgba(245,158,11,.28)!important}
.recon-bank-open-list>div.bank-conflict em{background:rgba(245,158,11,.16);color:#a16207}
.recon-explained-external{margin-top:12px}.recon-explained-external summary{cursor:pointer;font-weight:900}.recon-explained-external>small{display:block;margin:8px 0 4px}.recon-explained-external .recon-bank-open-list>div{background:rgba(22,163,74,.06);border-color:rgba(22,163,74,.14)}.recon-explained-external .recon-bank-open-list>div em{background:rgba(22,163,74,.12);color:#15803d}
@media(max-width:820px){.recon-bank-open-list>div{grid-template-columns:85px 95px minmax(0,1fr)!important}.recon-bank-open-list>div em{grid-column:1/-1;justify-self:start}}
@media(max-width:480px){.recon-bank-open-list>div{grid-template-columns:1fr auto!important}.recon-bank-open-list>div small,.recon-bank-open-list>div em{grid-column:1/-1}}

/* DC CONTROL 2.1.7 — conciliación Banco → SICAR */
.bf217 .bf-month{border:2px solid rgba(15,118,110,.22)}
.bf217 .bf-bank-section{border-left:5px solid #0f766e;padding:14px}
.bf217 .bf-table{min-width:1180px}
.bf217 .bf-table th:nth-child(1){background:#0f766e!important;color:#fff!important}
.bf217 .bf-table th:nth-child(2){background:#0b4f7d!important;color:#fff!important}
.bf217 .bf-table th:nth-child(3){background:#1769e8!important;color:#fff!important}
.bf217 .bf-table th:nth-child(4){background:#7c3aed!important;color:#fff!important}
.bf217 .bf-table td{vertical-align:top}
.bf217 .bf-table td small{display:block;margin-top:4px;max-width:440px;white-space:normal;opacity:.72}
.bf217 .bf-money{font-size:16px;font-weight:900;color:#1769e8;white-space:nowrap}
.bf217 .bf-diff{font-weight:900;color:#b45309;white-space:nowrap}
.bf217 .bf-sicar-line{padding:7px 9px;border-radius:10px;background:rgba(124,58,237,.07);margin:0 0 6px;border:1px solid rgba(124,58,237,.12)}
.bf217 .bf-sicar-line b{display:inline-block;margin-right:8px;color:#15803d}
.bf217 .bf-sicar-line details{margin-top:4px}
.bf217 .bf-sicar-line details small{padding-left:8px}
.bf217 tr.bf-missing{background:rgba(239,68,68,.055)}
.bf217 tr.bf-review,.bf217 tr.bf-difference{background:rgba(245,158,11,.075)}
.bf217 tr.bf-auto_ref,.bf217 tr.bf-auto_amount_date,.bf217 tr.bf-manual{background:rgba(16,185,129,.045)}
.bf217 .bf-sicar-extra{border-left:5px solid #f59e0b}
.bf217 .bf-extra-row{display:grid;grid-template-columns:110px 120px minmax(160px,1fr) minmax(260px,2fr);gap:10px;align-items:center;padding:10px 8px;border-bottom:1px solid rgba(120,130,150,.16)}
.bf217 .bf-extra-row b{color:#b45309}
.bf217 .bf-filter{position:sticky;top:8px;z-index:8;background:var(--card,#fff)}
html.dc-dark .bf217 .bf-sicar-line{background:rgba(124,58,237,.16);border-color:rgba(167,139,250,.25)}
@media(max-width:700px){.bf217 .bf-table{min-width:1050px}.bf217 .bf-extra-row{grid-template-columns:1fr 1fr}.bf217 .bf-extra-row small{grid-column:1/-1}.bf217 .bf-filter{position:static}}
/* DC CONTROL 2.1.7 — asignador Banco → SICAR */
.bf-assign-backdrop{position:fixed;inset:0;z-index:99999;background:rgba(7,18,40,.62);backdrop-filter:blur(5px);display:grid;place-items:center;padding:18px}
.bf-assign-modal{width:min(980px,96vw);max-height:90vh;overflow:hidden;background:var(--card,#fff);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.35);display:flex;flex-direction:column;border:1px solid rgba(40,91,160,.18)}
.bf-assign-modal>header{display:flex;gap:18px;justify-content:space-between;align-items:flex-start;padding:22px 24px 14px;background:linear-gradient(135deg,rgba(12,92,198,.12),rgba(20,190,115,.08))}
.bf-assign-modal>header h3{margin:4px 0 2px;font-size:26px}.bf-assign-modal>header p{margin:0;color:var(--muted,#65758b);font-size:13px}.bf-assign-modal>header small{font-weight:900;letter-spacing:.08em;color:#1664c0}
.bf-assign-rules{margin:12px 24px 8px;padding:12px 14px;border-radius:14px;background:#f1f7ff;border:1px solid #dbeaff;font-size:13px}
.bf-assign-search{margin:6px 24px 10px;width:calc(100% - 48px);padding:12px 14px;border:1px solid #d5deea;border-radius:14px;background:#fff}
.bf-assign-list{padding:0 24px 12px;overflow:auto;display:grid;gap:8px;min-height:160px;max-height:48vh}
.bf-assign-item{display:grid;grid-template-columns:auto 1fr;column-gap:10px;row-gap:2px;align-items:center;padding:11px 12px;border:1px solid #e0e7f0;border-radius:14px;background:#fff;cursor:pointer}
.bf-assign-item:hover{border-color:#86b7ff;background:#f8fbff}.bf-assign-item input{grid-row:1/3;width:18px;height:18px}.bf-assign-item span{font-size:14px}.bf-assign-item small{color:#6b7890}
.bf-assign-modal>footer{padding:14px 24px 20px;border-top:1px solid #e3eaf2;display:flex;gap:14px;justify-content:space-between;align-items:center;background:#fbfdff}.bf-assign-modal>footer>div{font-size:14px}.bf-assign-modal>footer b{font-size:16px}
@media(max-width:700px){.bf-assign-backdrop{padding:8px}.bf-assign-modal{width:100%;max-height:95vh;border-radius:18px}.bf-assign-modal>header{padding:16px}.bf-assign-rules,.bf-assign-search{margin-left:16px;margin-right:16px}.bf-assign-search{width:calc(100% - 32px)}.bf-assign-list{padding-left:16px;padding-right:16px}.bf-assign-modal>footer{padding:12px 16px;flex-direction:column;align-items:stretch}}

/* DC CONTROL 2.1.11 · Origen de efectivo */
.manual-cash-origin{margin:2px 0 10px}.route-cash-help{border-left:4px solid #f97316!important}

/* enterprise-10.5.12-kiosk.css?v=2.2.20 */
.kiosk-title-row{gap:18px}.kiosk-admin-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.kiosk-employee-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.kiosk-employee-card{border:1px solid rgba(120,145,180,.24);border-radius:18px;padding:16px;background:var(--card,#fff);display:grid;gap:10px;box-shadow:0 10px 28px rgba(0,30,70,.06)}.kiosk-employee-card>div:first-child{display:flex;flex-direction:column}.kiosk-employee-card small{opacity:.72}.kiosk-schedule-copy{display:flex;flex-direction:column;gap:3px}.kiosk-status{font-weight:800;font-size:.78rem;padding:7px 10px;border-radius:999px;width:max-content}.kiosk-status.on{background:rgba(16,185,129,.15);color:#087a55}.kiosk-status.off{background:rgba(100,116,139,.14);color:#566273}.kiosk-card-actions{display:flex;gap:8px;flex-wrap:wrap}.kiosk-sheet{max-height:min(92vh,900px);overflow:auto}.schedule-mode{display:flex;gap:12px;margin:8px 0 14px}.schedule-mode label,.switch-row{display:flex;align-items:center;gap:10px}.switch-row{justify-content:space-between;border:1px solid rgba(120,145,180,.22);border-radius:15px;padding:13px 14px;margin:10px 0}.switch-row span{display:flex;flex-direction:column;gap:2px}.schedule-days{display:grid;gap:8px;margin:14px 0}.schedule-day-row{display:grid;grid-template-columns:minmax(120px,1.2fr) 108px 18px 108px minmax(120px,1fr);gap:8px;align-items:center;padding:10px 12px;border:1px solid rgba(120,145,180,.2);border-radius:14px}.schedule-day-row input[type=time]{min-width:0}.schedule-work,.schedule-meal{display:flex;align-items:center;gap:7px;font-weight:700}.schedule-meal{font-weight:600;font-size:.9rem}.schedule-profile-card{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;border:1px solid rgba(120,145,180,.22);border-radius:15px;padding:14px;background:var(--card,#fff);color:inherit}.schedule-profile-card span{display:flex;flex-direction:column;gap:2px}.week-nav{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;margin-bottom:14px}.week-nav strong{text-align:center}.weekly-grid{display:grid;gap:10px}.weekly-card{display:grid;grid-template-columns:minmax(180px,.8fr) 1.5fr;gap:18px;align-items:center;border:1px solid rgba(120,145,180,.2);border-radius:16px;padding:14px}.weekly-card>div:first-child{display:flex;flex-direction:column}.weekly-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.weekly-metrics span{background:rgba(59,130,246,.08);border-radius:12px;padding:10px;display:flex;flex-direction:column}.weekly-metrics b{font-size:1.15rem}
.kiosk-fullscreen-1059{position:fixed;inset:0;z-index:999999;background:radial-gradient(circle at 10% 0%,#123d70 0,#071a30 42%,#061321 100%);color:#fff;overflow:auto;padding:env(safe-area-inset-top) max(18px,env(safe-area-inset-right)) max(22px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left));font-family:inherit}.kiosk-top{height:96px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid rgba(255,255,255,.14);padding:0 12px}.kiosk-top>div:first-child{display:flex;flex-direction:column}.kiosk-top span{font-size:.76rem;letter-spacing:.13em;opacity:.7}.kiosk-top b{font-size:1.45rem}.kiosk-clock{font-size:2rem;font-weight:900;font-variant-numeric:tabular-nums}.kiosk-top button,.kiosk-back{border:0;border-radius:12px;background:rgba(255,255,255,.12);color:#fff;padding:11px 16px;font-weight:800}.kiosk-welcome{text-align:center;padding:36px 10px 18px}.kiosk-welcome h1{font-size:2.3rem;margin:0 0 5px}.kiosk-welcome p{opacity:.72}.kiosk-person-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:18px;max-width:1100px;margin:10px auto 50px}.kiosk-person{min-height:190px;border:0;border-radius:28px;color:white;padding:24px;text-align:left;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:0 18px 46px rgba(0,0,0,.24);position:relative;overflow:hidden}.kiosk-person:before{content:"";position:absolute;width:140px;height:140px;border-radius:50%;right:-28px;top:-36px;background:rgba(255,255,255,.13)}.kiosk-person>span{position:absolute;top:22px;left:22px;width:58px;height:58px;border-radius:18px;background:rgba(255,255,255,.2);display:grid;place-items:center;font-size:1.3rem;font-weight:900}.kiosk-person b{font-size:1.3rem;position:relative}.kiosk-person small{position:relative;opacity:.86;margin-top:4px}.tone-0{background:linear-gradient(135deg,#087f5b,#10b981)}.tone-1{background:linear-gradient(135deg,#d97706,#f59e0b)}.tone-2{background:linear-gradient(135deg,#2563eb,#3b82f6)}.tone-3{background:linear-gradient(135deg,#7c3aed,#a855f7)}.tone-4{background:linear-gradient(135deg,#dc2626,#f43f5e)}.tone-5{background:linear-gradient(135deg,#0f766e,#14b8a6)}.kiosk-punch-panel{max-width:620px;margin:38px auto;padding:30px;border-radius:30px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.13);box-shadow:0 30px 80px rgba(0,0,0,.25)}.kiosk-person-head{display:flex;gap:18px;align-items:center;margin:25px 0}.kiosk-person-head>span{width:76px;height:76px;border-radius:22px;background:#1687ff;display:grid;place-items:center;font-size:1.5rem;font-weight:900}.kiosk-person-head h1{margin:0;font-size:1.8rem}.kiosk-person-head p{margin:3px 0 0;opacity:.7}.kiosk-pin-label{display:flex;flex-direction:column;gap:8px;font-size:1rem;font-weight:800}.kiosk-pin-label input{font-size:2rem;text-align:center;letter-spacing:.35em;border-radius:18px;padding:14px;border:2px solid rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:white}.kiosk-photo-btn{display:block;margin:15px 0;border:2px dashed rgba(255,255,255,.3);border-radius:18px;padding:15px;text-align:center;font-weight:800}.kiosk-photo-name{text-align:center;opacity:.72;margin-top:-7px}.kiosk-punch-button{width:100%;border:0;border-radius:20px;padding:19px;background:#1687ff;color:white;font-size:1.3rem;font-weight:900;margin-top:16px}.kiosk-punch-button:disabled{opacity:.55}.kiosk-error{background:rgba(239,68,68,.19);border:1px solid rgba(248,113,113,.5);padding:13px;border-radius:14px;margin-top:12px;text-align:center;font-weight:800}.kiosk-success{text-align:center;padding:80px 20px}.kiosk-success-icon{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;margin:0 auto 24px;background:#10b981;font-size:4rem;font-weight:900}.kiosk-success h1{font-size:2.4rem;margin:0}.kiosk-success h2{font-size:1.5rem;opacity:.8}.kiosk-success strong{font-size:3rem}.kiosk-success p{font-size:1.3rem;font-weight:800}
@media(max-width:900px){.kiosk-employee-grid{grid-template-columns:1fr 1fr}.schedule-day-row{grid-template-columns:1fr 92px 14px 92px}.schedule-meal{grid-column:1/-1}.kiosk-person-grid{grid-template-columns:1fr 1fr}.weekly-card{grid-template-columns:1fr}.weekly-metrics{grid-template-columns:repeat(4,1fr)}}
@media(max-width:620px){.kiosk-admin-actions{width:100%}.kiosk-admin-actions button{flex:1 1 100%}.kiosk-employee-grid{grid-template-columns:1fr}.schedule-day-row{grid-template-columns:1fr 1fr 12px 1fr;padding:12px 9px}.schedule-work{grid-column:1/-1}.schedule-meal{grid-column:1/-1}.week-nav{grid-template-columns:1fr 1fr}.week-nav strong{grid-column:1/-1;grid-row:1}.kiosk-top{height:auto;padding:16px 4px;align-items:flex-start}.kiosk-top b{font-size:1.05rem}.kiosk-clock{font-size:1.35rem}.kiosk-welcome{padding-top:24px}.kiosk-welcome h1{font-size:1.7rem}.kiosk-person-grid{grid-template-columns:1fr;gap:12px}.kiosk-person{min-height:150px}.kiosk-punch-panel{margin:18px auto;padding:20px}.weekly-metrics{grid-template-columns:1fr 1fr}}
.kiosk-retention-note,.kiosk-history-help{margin:10px 0 16px;padding:11px 13px;border-radius:14px;background:rgba(59,130,246,.09);border:1px solid rgba(59,130,246,.18);font-size:.9rem}.weekly-admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 14px}.weekly-metrics.six{grid-template-columns:repeat(6,1fr)}.kiosk-exit-lock{position:fixed;inset:0;z-index:1000001;display:grid;place-items:center;background:rgba(0,0,0,.68);padding:20px}.kiosk-exit-card{width:min(420px,92vw);background:#fff;color:#172033;border-radius:24px;padding:24px;box-shadow:0 30px 90px rgba(0,0,0,.35)}.kiosk-exit-card h2{margin:0 0 4px}.kiosk-exit-card input{width:100%;box-sizing:border-box;font-size:2rem;letter-spacing:.32em;text-align:center;padding:12px;border-radius:14px;border:1px solid rgba(100,116,139,.35);margin:10px 0}.kiosk-exit-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.kiosk-exit-card #kioskExitMsg{min-height:22px;margin-top:8px;color:#b91c1c;font-weight:800}.kiosk-success small{display:block;margin-top:10px;opacity:.7}@media(max-width:900px){.weekly-metrics.six{grid-template-columns:repeat(3,1fr)}}@media(max-width:620px){.weekly-admin-actions{display:grid;grid-template-columns:1fr 1fr}.weekly-metrics.six{grid-template-columns:1fr 1fr}}
/* DC CONTROL 2.0.8 · checada de comida */
.schedule-day-row.meal207{grid-template-columns:minmax(118px,1.05fr) minmax(235px,1.2fr) minmax(132px,.8fr) minmax(220px,1.1fr)}
.schedule-shift,.meal-times207{display:grid;grid-template-columns:1fr 18px 1fr;gap:7px;align-items:center}
.meal-times207[hidden]{display:none!important}.meal-toggle207{white-space:nowrap}.meal-times207 input{min-width:0}
@media(max-width:900px){.schedule-day-row.meal207{grid-template-columns:1fr 1fr}.schedule-work,.schedule-shift,.meal-toggle207,.meal-times207{grid-column:auto}.schedule-shift,.meal-times207{min-width:0}}
@media(max-width:620px){.schedule-day-row.meal207{grid-template-columns:1fr}.schedule-day-row.meal207>*{grid-column:1/-1}.schedule-shift,.meal-times207{grid-template-columns:1fr 14px 1fr}.meal-toggle207{padding-top:4px}}


/* =============================================================
   DC CONTROL 2.0.9 · VISUAL CARDS — HORARIOS / KIOSCO
   Unifica las funciones nuevas con el lenguaje multicolor de DC CONTROL.
   ============================================================= */
.kiosk-title-row{display:block!important}
.kiosk-admin-actions{width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin-top:16px!important;justify-content:stretch!important}
.kiosk-admin-actions .kiosk-action-card{position:relative!important;min-height:96px!important;border:0!important;border-radius:20px!important;padding:16px 16px!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;text-align:left!important;color:#fff!important;overflow:hidden!important;box-shadow:0 12px 28px rgba(8,35,70,.16)!important;font-weight:900!important}
.kiosk-admin-actions .kiosk-action-card:after{content:"";position:absolute;right:-28px;top:-34px;width:118px;height:118px;border-radius:50%;background:rgba(255,255,255,.14);pointer-events:none}
.kiosk-admin-actions .kiosk-action-icon{position:relative;z-index:2;flex:0 0 50px;width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:25px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.16)}
.kiosk-admin-actions .kiosk-action-label{position:relative;z-index:2;color:#fff!important;font-size:15px;line-height:1.12}
.kiosk-admin-actions .action-kiosk{background:linear-gradient(135deg,#1688f7,#175fd0)!important}
.kiosk-admin-actions .action-profiles{background:linear-gradient(135deg,#8b5cf6,#6532cf)!important}
.kiosk-admin-actions .action-weekly{background:linear-gradient(135deg,#14b96e,#078c52)!important}
.kiosk-admin-actions .action-pin{background:linear-gradient(135deg,#ff9a2f,#e86d0d)!important}
.kiosk-admin-actions .kiosk-action-card:hover{transform:translateY(-1px)}

/* Empleados del checador: tarjetas multicolor en lugar de bloques blancos */
.kiosk-employee-card{position:relative!important;overflow:hidden!important;border:0!important;color:#fff!important;box-shadow:0 12px 26px rgba(15,43,79,.13)!important;min-height:178px!important}
.kiosk-employee-card:after{content:"";position:absolute;right:-34px;top:-42px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}
.kiosk-employee-card:nth-child(6n+1){background:linear-gradient(135deg,#1688f7,#1761d6)!important}
.kiosk-employee-card:nth-child(6n+2){background:linear-gradient(135deg,#16b96e,#078d52)!important}
.kiosk-employee-card:nth-child(6n+3){background:linear-gradient(135deg,#ff992f,#e86e0e)!important}
.kiosk-employee-card:nth-child(6n+4){background:linear-gradient(135deg,#8a5af0,#6633cf)!important}
.kiosk-employee-card:nth-child(6n+5){background:linear-gradient(135deg,#13b8b0,#078b88)!important}
.kiosk-employee-card:nth-child(6n){background:linear-gradient(135deg,#f05272,#cf294d)!important}
.kiosk-employee-card>div,.kiosk-employee-card b,.kiosk-employee-card strong,.kiosk-employee-card small{position:relative;z-index:2;color:#fff!important}
.kiosk-employee-card small{opacity:.88!important}
.kiosk-employee-card .kiosk-status{position:relative;z-index:2;background:rgba(255,255,255,.92)!important;border:0!important}
.kiosk-employee-card .kiosk-status.on{color:#087a55!important}.kiosk-employee-card .kiosk-status.off{color:#596579!important}
.kiosk-employee-card .kiosk-card-actions{position:relative;z-index:2}
.kiosk-employee-card .kiosk-card-actions .mini{background:rgba(255,255,255,.18)!important;border:1px solid rgba(255,255,255,.24)!important;color:#fff!important;font-weight:900!important}

/* Perfiles de horario: tarjetas visuales y reconocibles */
.profile-list1059{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin-top:12px!important}
.schedule-profile-card{position:relative!important;min-height:92px!important;border:0!important;border-radius:18px!important;padding:14px 15px!important;color:#fff!important;overflow:hidden!important;box-shadow:0 10px 24px rgba(15,43,79,.14)!important;display:grid!important;grid-template-columns:48px minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important}
.schedule-profile-card:after{content:"";position:absolute;right:-26px;top:-34px;width:108px;height:108px;border-radius:50%;background:rgba(255,255,255,.13);pointer-events:none}
.schedule-profile-icon{position:relative;z-index:2;width:48px;height:48px;border-radius:15px;display:grid!important;place-items:center;background:rgba(255,255,255,.18);font-size:22px}
.schedule-profile-copy{position:relative;z-index:2;display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0}
.schedule-profile-card b,.schedule-profile-card small,.schedule-profile-card strong{position:relative;z-index:2;color:#fff!important}
.schedule-profile-card small{opacity:.86}.schedule-profile-card strong{white-space:nowrap}
.schedule-profile-card.profile-tone-1{background:linear-gradient(135deg,#1688f7,#1761d6)!important}
.schedule-profile-card.profile-tone-2{background:linear-gradient(135deg,#16b96e,#078d52)!important}
.schedule-profile-card.profile-tone-3{background:linear-gradient(135deg,#ff992f,#e86e0e)!important}
.schedule-profile-card.profile-tone-4{background:linear-gradient(135deg,#8a5af0,#6633cf)!important}
.schedule-profile-card.profile-tone-5{background:linear-gradient(135deg,#13b8b0,#078b88)!important}
.schedule-profile-card.profile-tone-6{background:linear-gradient(135deg,#f05272,#cf294d)!important}

/* Corte semanal: conserva lectura de métricas, pero cada empleado ya tiene jerarquía visual */
.weekly-card{position:relative!important;overflow:hidden!important;border:0!important;border-left:6px solid #1688f7!important;background:linear-gradient(180deg,#ffffff,#f7fbff)!important;box-shadow:0 9px 22px rgba(15,43,79,.08)!important}
.weekly-card:nth-child(4n+2){border-left-color:#16b96e!important}.weekly-card:nth-child(4n+3){border-left-color:#ff992f!important}.weekly-card:nth-child(4n){border-left-color:#8a5af0!important}

@media(max-width:900px){
  .kiosk-admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:620px){
  .kiosk-admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  .kiosk-admin-actions .kiosk-action-card{min-height:86px!important;padding:12px!important;gap:10px!important}
  .kiosk-admin-actions .kiosk-action-icon{flex-basis:42px;width:42px;height:42px;border-radius:13px;font-size:21px}
  .kiosk-admin-actions .kiosk-action-label{font-size:13px}
  .profile-list1059{grid-template-columns:1fr!important}
  .schedule-profile-card{min-height:80px!important;grid-template-columns:42px minmax(0,1fr) auto!important;padding:12px!important}
  .schedule-profile-icon{width:42px;height:42px;border-radius:13px;font-size:20px}
  .kiosk-employee-card{min-height:0!important}
}

/* DC CONTROL 2.1.4 · horario en orden real de checadas */
.schedule-day-row.meal214{grid-template-columns:minmax(115px,.55fr) minmax(560px,2.8fr) minmax(145px,.7fr);gap:12px;align-items:end}
.schedule-flow214{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:9px;min-width:0}
.schedule-time214{display:flex;flex-direction:column;gap:5px;min-width:0;font-weight:700}
.schedule-time214 small{font-size:.72rem;letter-spacing:.01em;opacity:.72;white-space:nowrap}
.schedule-time214 input[type=time]{width:100%;min-width:0}
.meal-slot214[hidden]{display:none!important}
.meal-toggle214{align-self:end;min-height:44px;display:flex;align-items:center;gap:8px;white-space:nowrap}
@media(max-width:1050px){.schedule-day-row.meal214{grid-template-columns:minmax(105px,.55fr) 1fr}.meal-toggle214{grid-column:2}.schedule-flow214{grid-template-columns:repeat(2,minmax(120px,1fr))}}
@media(max-width:620px){.schedule-day-row.meal214{grid-template-columns:1fr}.schedule-day-row.meal214>*{grid-column:1/-1}.schedule-flow214{grid-template-columns:repeat(2,minmax(0,1fr))}.meal-toggle214{grid-column:1/-1;align-self:auto}.schedule-time214 small{font-size:.69rem}}
/* DC CONTROL 2.1.8 · tarjetas de horario: días + horario real de hoy */
.schedule-days218{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:3px}
.schedule-days-label218{font-size:.76rem;font-weight:900;opacity:.78;margin-right:2px}
.schedule-day-chip218{width:25px;height:25px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.2);font-size:.72rem;font-weight:950;line-height:1}
.schedule-day-chip218.today{background:#fff;color:#1457b8!important;border-color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.12)}
.schedule-today218{display:grid;gap:3px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.22);font-size:.78rem;line-height:1.32}
.schedule-today218>b{font-size:.84rem;letter-spacing:.01em}
.schedule-today218 span{display:block;opacity:.96!important}
.schedule-today218 span strong{font-weight:950}
.schedule-card-empty218{font-size:.82rem;font-weight:800;opacity:.86;margin-top:3px}
@media(max-width:620px){
  .kiosk-employee-card{gap:8px!important}
  .schedule-day-chip218{width:27px;height:27px;font-size:.76rem}
  .schedule-today218{font-size:.82rem;line-height:1.38}
  .schedule-today218>b{font-size:.9rem}
}

/* DC CONTROL 2.1.10 · Kiosco: mismo horario de hoy que la tarjeta administrativa */
.kiosk-person{min-height:250px!important;justify-content:flex-start!important;padding-top:96px!important}
.kiosk-person>b{font-size:1.34rem!important;line-height:1.1;margin-bottom:8px}
.kiosk-person-schedule2110{position:relative;z-index:2;width:100%;display:grid;gap:8px;text-align:left;color:#fff}
.kiosk-days2110{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.kiosk-days-label2110{font-size:.78rem;font-weight:950;opacity:.86;margin-right:2px}
.kiosk-day-chip2110{width:28px;height:28px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);font-size:.78rem;font-weight:950;line-height:1;color:#fff}
.kiosk-day-chip2110.today{background:#fff;color:#1457b8!important;border-color:#fff;box-shadow:0 3px 10px rgba(0,0,0,.16)}
.kiosk-today2110{display:grid;gap:4px;padding-top:9px;border-top:1px solid rgba(255,255,255,.24);font-size:.86rem;line-height:1.38}
.kiosk-today2110>b{font-size:.96rem;color:#fff!important}
.kiosk-today2110 span{display:block;color:#fff!important;opacity:.97}
.kiosk-today2110 strong{font-weight:950;color:#fff!important}
.kiosk-schedule-empty2110{font-size:.9rem;font-weight:850;opacity:.88}
.kiosk-punch-schedule2110{margin-top:8px;color:#fff}
.kiosk-punch-schedule2110 .kiosk-days2110{gap:6px}
.kiosk-punch-schedule2110 .kiosk-day-chip2110{width:26px;height:26px;font-size:.73rem}
.kiosk-punch-schedule2110 .kiosk-today2110{font-size:.82rem}
.kiosk-punch-schedule2110 .kiosk-today2110>b{font-size:.9rem}
@media(max-width:620px){
  .kiosk-person{min-height:250px!important;padding:88px 20px 20px!important}
  .kiosk-person>span.kiosk-initials2110{top:18px;left:20px}
  .kiosk-person>b{font-size:1.28rem!important}
  .kiosk-day-chip2110{width:30px;height:30px;font-size:.82rem}
  .kiosk-today2110{font-size:.9rem;line-height:1.42}
  .kiosk-today2110>b{font-size:1rem}
  .kiosk-person-head{align-items:flex-start}
  .kiosk-person-head>div{min-width:0;flex:1}
}

/* enterprise-10.5.15-precorte.css?v=2.2.20 */
.dc-cashhub-sheet{width:min(940px,calc(100vw - 28px));max-height:min(92vh,980px);overflow:auto;padding-bottom:max(22px,env(safe-area-inset-bottom));}
.dc-cashhub-head{position:sticky;top:0;z-index:8;background:var(--surface,#0b1726);padding-bottom:12px;}
.dc-cashhub-tabs{position:sticky;top:84px;z-index:7;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 0 12px;background:var(--surface,#0b1726);}
.dc-cashhub-tabs button,.dc-precut-subtabs button{border:0;border-radius:14px;padding:12px 14px;font-weight:800;cursor:pointer;background:rgba(148,163,184,.14);color:inherit;}
.dc-cashhub-tabs button.active{background:#2563eb;color:#fff;box-shadow:0 8px 22px rgba(37,99,235,.25)}
.dc-precut-topline{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:8px 0 12px}.dc-precut-topline label{min-width:170px}.dc-precut-topline input{margin-top:6px}
.dc-precut-sync{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:8px 11px;font-size:.78rem;font-weight:800;background:rgba(148,163,184,.13)}.dc-precut-sync.ok{background:rgba(34,197,94,.16);color:#4ade80}.dc-precut-sync.dirty{background:rgba(245,158,11,.18);color:#fbbf24}.dc-precut-sync.saving{background:rgba(59,130,246,.18);color:#60a5fa}.dc-precut-sync.locked{background:rgba(100,116,139,.22);color:#cbd5e1}
.dc-precut-subtabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 12px}.dc-precut-subtabs::-webkit-scrollbar{display:none}.dc-precut-subtabs button{white-space:nowrap;min-width:max-content;display:flex;gap:7px;align-items:center}.dc-precut-subtabs button.active{background:#0f766e;color:#fff}
.dc-precut-pane{display:grid;gap:14px}.dc-precut-card{display:flex;justify-content:space-between;align-items:center;gap:16px;border-radius:20px;padding:18px;color:#fff;box-shadow:0 14px 28px rgba(0,0,0,.12)}.dc-precut-card h3{margin:3px 0 5px;font-size:1.35rem}.dc-precut-card p{margin:0;opacity:.88;font-size:.86rem}.dc-precut-card strong{font-size:1.55rem;white-space:nowrap}.dc-precut-card.blue,.dc-precut-summary-grid .blue{background:linear-gradient(135deg,#1d4ed8,#2563eb)}.dc-precut-card.green,.dc-precut-summary-grid .green{background:linear-gradient(135deg,#15803d,#22c55e)}.dc-precut-card.orange,.dc-precut-summary-grid .orange{background:linear-gradient(135deg,#c2410c,#f97316)}.dc-precut-card.red,.dc-precut-summary-grid .red{background:linear-gradient(135deg,#b91c1c,#ef4444)}.dc-precut-card.purple,.dc-precut-summary-grid .purple{background:linear-gradient(135deg,#6d28d9,#8b5cf6)}
.dc-denom-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dc-denom-card{display:grid;gap:6px;border-radius:16px;padding:14px;background:rgba(148,163,184,.10);border:1px solid rgba(148,163,184,.16)}.dc-denom-card span,.dc-denom-card small{font-size:.74rem;opacity:.76}.dc-denom-card b{font-size:1.05rem}.dc-denom-card input{font-size:1.25rem;font-weight:800;text-align:center;margin:0}
.dc-coins-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px;align-items:center;padding:14px;border-radius:16px;background:rgba(234,179,8,.10);border:1px solid rgba(234,179,8,.18)}.dc-coins-row label{margin:0}.dc-coins-row span{font-weight:800}.dc-coins-row b{display:block;font-size:1.25rem}.dc-coins-row p,.dc-coins-row small{margin:2px 0;font-size:.76rem;opacity:.78}
.dc-driver-amount{display:grid;gap:9px;padding:18px;border-radius:18px;background:rgba(148,163,184,.10);border:1px solid rgba(148,163,184,.16)}.dc-driver-amount span{font-weight:800}.dc-driver-amount input{font-size:1.6rem;font-weight:900}.dc-driver-amount small{opacity:.75}
.dc-precut-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dc-precut-summary-grid article{border-radius:16px;padding:16px;color:#fff;display:grid;gap:5px}.dc-precut-summary-grid span{font-size:.76rem;opacity:.9}.dc-precut-summary-grid b{font-size:1.2rem}.dc-precut-totalbox{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.dc-precut-totalbox>div{border-radius:16px;padding:16px;background:rgba(148,163,184,.11);display:grid;gap:5px}.dc-precut-totalbox .grand{background:linear-gradient(135deg,#0f766e,#14b8a6);color:#fff}.dc-precut-totalbox span{font-size:.76rem}.dc-precut-totalbox b{font-size:1.3rem}.dc-precut-totalbox small{font-size:.7rem;opacity:.75}
.dc-precut-notes{display:grid;gap:6px;margin-top:14px}.dc-precut-actions{position:sticky;bottom:0;padding:12px 0 2px;background:linear-gradient(180deg,transparent 0,var(--surface,#0b1726) 22%)}.dc-precut-readonly{padding:12px;border-radius:14px;background:rgba(100,116,139,.15);font-size:.82rem;text-align:center}
.dc-close-kpis,.dc-precut-compare{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.dc-close-kpis>div,.dc-precut-compare>div{padding:14px;border-radius:15px;background:rgba(148,163,184,.11);display:grid;gap:5px}.dc-close-kpis span,.dc-precut-compare span{font-size:.72rem;opacity:.75}.dc-close-kpis b,.dc-precut-compare b{font-size:1.05rem}.dc-precut-compare{grid-template-columns:repeat(3,minmax(0,1fr));background:rgba(37,99,235,.06);padding:10px;border-radius:18px}.dc-close-physical{display:grid;gap:7px;margin:14px 0}.dc-close-physical input{font-size:1.45rem;font-weight:900}.dc-close-physical small .ok,.dc-close-physical small .ok{color:#22c55e}.dc-close-physical small .warn{color:#f59e0b}.dc-cashhub-loading{padding:40px;text-align:center;font-weight:800}
@media(max-width:720px){.dc-cashhub-sheet{width:calc(100vw - 12px);max-height:96vh;border-radius:22px 22px 0 0;margin-top:auto}.dc-cashhub-head{top:0}.dc-cashhub-tabs{top:78px}.dc-precut-topline{align-items:stretch;flex-direction:column}.dc-precut-topline label{min-width:0}.dc-denom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-coins-row{grid-template-columns:1fr}.dc-precut-card{align-items:flex-start;flex-direction:column}.dc-precut-card strong{font-size:1.45rem}.dc-precut-summary-grid{grid-template-columns:1fr 1fr}.dc-precut-totalbox{grid-template-columns:1fr}.dc-close-kpis{grid-template-columns:1fr 1fr}.dc-precut-compare{grid-template-columns:1fr}.dc-cashhub-tabs button{padding:11px 10px}.dc-precut-subtabs{margin-right:-6px}.dc-precut-subtabs button{padding:10px 12px}}
.dc-legacy-amount{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:15px;background:rgba(245,158,11,.12);border:1px solid rgba(245,158,11,.26)}.dc-legacy-amount>div{display:grid;gap:3px}.dc-legacy-amount b{font-size:.9rem}.dc-legacy-amount small,.dc-legacy-amount>span{font-size:.72rem;opacity:.78}.dc-legacy-amount>span{text-align:right;max-width:320px}
@media(max-width:720px){.dc-legacy-amount{align-items:flex-start;flex-direction:column}.dc-legacy-amount>span{text-align:left;max-width:none}}

/* DC CONTROL 2.1.11 · Efectivo de ruta */
.dc-precut-totalbox{grid-template-columns:repeat(4,minmax(0,1fr))}
.dc-precut-totalbox .route,.dc-close-kpis .route{background:rgba(249,115,22,.13);border:1px solid rgba(249,115,22,.22)}
.dc-precut-totalbox .route b,.dc-close-kpis .route b{color:#fb923c}
.dc-route-cash-detail{border:1px solid rgba(249,115,22,.22);border-radius:16px;background:rgba(249,115,22,.08);overflow:hidden}
.dc-route-cash-detail summary{cursor:pointer;padding:13px 15px;font-weight:800;display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.dc-route-cash-detail summary small{opacity:.72;font-weight:600}
.dc-route-cash-list{display:grid;gap:7px;padding:0 12px 12px}
.dc-route-cash-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;border-radius:12px;background:rgba(148,163,184,.09)}
.dc-route-cash-list span{display:grid;gap:3px}.dc-route-cash-list small{font-size:.72rem;opacity:.72}.dc-route-cash-list strong{color:#fb923c;white-space:nowrap}
@media(max-width:720px){.dc-precut-totalbox{grid-template-columns:1fr}.dc-route-cash-detail summary{align-items:flex-start}}

/* DC CONTROL 2.1.12 · Corte automático: SICAR + Precorte + Banco */
.dc-close-source{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}
.dc-close-source>div{display:grid;gap:5px;padding:14px;border-radius:16px;background:rgba(59,130,246,.09);border:1px solid rgba(59,130,246,.14)}
.dc-close-source span{font-size:.72rem;opacity:.76}.dc-close-source b{font-size:1.15rem}.dc-close-source small{font-size:.7rem;opacity:.72}
.dc-close-priority{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0}
.dc-close-priority article{display:grid;gap:12px;padding:16px;border-radius:19px;border:1px solid rgba(148,163,184,.2);background:rgba(148,163,184,.08)}
.dc-close-priority article.ok{border-color:rgba(34,197,94,.34);background:rgba(34,197,94,.08)}
.dc-close-priority article.warn{border-color:rgba(245,158,11,.34);background:rgba(245,158,11,.07)}
.dc-close-priority header{display:flex;align-items:center;justify-content:space-between;gap:10px}.dc-close-priority header span{font-size:.76rem;font-weight:900;letter-spacing:.03em}.dc-close-priority header b{font-size:.74rem}
.dc-close-priority article.ok header b{color:#22c55e}.dc-close-priority article.warn header b{color:#f59e0b}
.dc-close-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr auto 1.15fr;gap:6px;align-items:center}.dc-close-flow>span{display:grid;gap:3px}.dc-close-flow small,.dc-transfer-grid small{font-size:.66rem;opacity:.72}.dc-close-flow b{font-size:.98rem}.dc-close-flow i{font-style:normal;opacity:.5;font-weight:900}.dc-close-flow .result{padding:9px;border-radius:12px;background:rgba(20,184,166,.12)}
.dc-close-compareline{display:flex;gap:8px;flex-wrap:wrap}.dc-close-compareline>span{padding:8px 10px;border-radius:999px;background:rgba(148,163,184,.12);font-size:.72rem}.dc-close-compareline .ok,.dc-transfer-grid .ok{color:#22c55e}.dc-close-compareline .warn,.dc-transfer-grid .warn{color:#f59e0b}
.dc-transfer-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dc-transfer-grid>span{display:grid;gap:3px;padding:9px;border-radius:12px;background:rgba(148,163,184,.1)}.dc-transfer-grid b{font-size:.98rem}.dc-go-recon{justify-self:start;margin-top:2px}
.dc-close-other,.dc-close-detail{border:1px solid rgba(148,163,184,.18);border-radius:16px;background:rgba(148,163,184,.06);overflow:hidden;margin:12px 0}.dc-close-other summary,.dc-close-detail summary{cursor:pointer;padding:13px 15px;font-weight:850}.dc-close-other>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0 12px 12px}.dc-close-other span{display:grid;gap:3px;padding:10px;border-radius:12px;background:rgba(245,158,11,.09)}.dc-close-other small{font-size:.68rem;opacity:.7}
.dc-close-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:0 12px 12px}.dc-close-detail-grid>div{display:grid;gap:6px;padding:12px;border-radius:13px;background:rgba(148,163,184,.08)}.dc-close-detail-grid>div>b{margin-bottom:3px}.dc-close-detail-grid span{display:flex;justify-content:space-between;gap:10px;font-size:.75rem}.dc-close-detail-grid strong{white-space:nowrap}
.dc-close-precut-status{padding:10px 12px;border-radius:13px;background:rgba(37,99,235,.08);font-size:.76rem;font-weight:750;margin-top:12px}.dc-close-blocked{display:block;text-align:center;margin-top:7px;opacity:.72}.dc-close-note{padding:9px 10px;border-radius:11px;font-size:.75rem}.dc-close-note.warn{background:rgba(245,158,11,.12)}
#confirmCashClose:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:760px){.dc-close-source{grid-template-columns:1fr 1fr}.dc-close-priority{grid-template-columns:1fr}.dc-close-flow{grid-template-columns:1fr auto 1fr;}.dc-close-flow>span:nth-of-type(3),.dc-close-flow>i:nth-of-type(3),.dc-close-flow .result{grid-column:auto}.dc-close-detail-grid{grid-template-columns:1fr}.dc-close-other>div{grid-template-columns:1fr}.dc-transfer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.dc-close-source{grid-template-columns:1fr}.dc-close-flow{grid-template-columns:1fr 1fr}.dc-close-flow i{display:none}.dc-close-flow .result{grid-column:1/-1}.dc-transfer-grid{grid-template-columns:1fr}.dc-close-priority header{align-items:flex-start;flex-direction:column}}

/* DC CONTROL 2.1.13 · Control de abonos reportados */
.dc-precut-collections-control{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.8fr);gap:14px;align-items:center;margin-top:14px;padding:16px;border-radius:18px;background:rgba(14,165,233,.09);border:1px solid rgba(14,165,233,.22)}
.dc-precut-collections-control>div{display:grid;gap:4px}.dc-precut-collections-control b{font-size:1.05rem}.dc-precut-collections-control small{font-size:.74rem;opacity:.76;line-height:1.35}.dc-precut-collections-control label{display:grid;gap:6px;margin:0}.dc-precut-collections-control label span{font-size:.74rem;font-weight:800;opacity:.8}.dc-precut-collections-control input{font-size:1.35rem;font-weight:900;margin:0}
.dc-close-priority article.collections{grid-column:1/-1;background:rgba(14,165,233,.07);border-color:rgba(14,165,233,.2)}
.dc-close-priority article.collections.ok{background:rgba(34,197,94,.08);border-color:rgba(34,197,94,.34)}
.dc-close-priority article.collections.warn{background:rgba(245,158,11,.07);border-color:rgba(245,158,11,.34)}
.dc-close-priority article.collections.pending{background:rgba(148,163,184,.07);border-color:rgba(148,163,184,.2)}
.dc-close-priority article.collections.pending header b{color:#94a3b8}
.dc-collections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dc-collections-grid>span{display:grid;gap:3px;padding:10px;border-radius:12px;background:rgba(148,163,184,.1)}.dc-collections-grid small{font-size:.66rem;opacity:.72}.dc-collections-grid b{font-size:1rem}.dc-collections-grid .ok{color:#22c55e}.dc-collections-grid .warn{color:#f59e0b}
@media(max-width:720px){.dc-precut-collections-control{grid-template-columns:1fr}.dc-collections-grid{grid-template-columns:1fr}}

/* DC CONTROL 2.1.14 · Abonos efectivo automático + Abonos banco */
.dc-precut-abonos-control{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(210px,.8fr) minmax(230px,.9fr);gap:12px;align-items:stretch;margin-top:14px;padding:16px;border-radius:18px;background:rgba(14,165,233,.07);border:1px solid rgba(14,165,233,.2)}
.dc-precut-abonos-title,.dc-precut-abonos-auto,.dc-precut-abonos-bank{display:grid;gap:5px;margin:0;padding:12px;border-radius:14px;background:rgba(148,163,184,.08)}
.dc-precut-abonos-title{background:transparent;padding:4px}.dc-precut-abonos-title>b{font-size:1.08rem}.dc-precut-abonos-title small,.dc-precut-abonos-auto small,.dc-precut-abonos-bank small{font-size:.72rem;opacity:.76;line-height:1.35}
.dc-precut-abonos-auto>span,.dc-precut-abonos-bank>span{font-size:.76rem;font-weight:900}.dc-precut-abonos-auto>b{font-size:1.35rem;color:#22c55e}.dc-precut-abonos-bank input{font-size:1.35rem;font-weight:900;margin:0}
.dc-abonos-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.dc-abonos-two section{display:grid;gap:8px;padding:11px;border-radius:14px;background:rgba(148,163,184,.07)}.dc-abonos-two h4{margin:0;font-size:.82rem}.dc-abonos-two section>small{font-size:.7rem;opacity:.72}
@media(max-width:820px){.dc-precut-abonos-control{grid-template-columns:1fr}.dc-abonos-two{grid-template-columns:1fr}}

/* enterprise-2.0.4-sicar-package.css?v=2.2.20 */
/* DC CONTROL 2.0.4 — Paquete diario SICAR */
.dc2-package{margin:16px 0 18px;padding:18px;border:1px solid #d8e7f5;background:linear-gradient(145deg,#f8fbff,#eef7ff);box-shadow:0 14px 34px rgba(7,43,84,.08)}
.dc2-package-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.dc2-package-head h3{margin:2px 0 5px;font-size:24px}.dc2-package-head p{margin:0;color:#52677d;max-width:720px}.dc2-badge{background:#072b54;color:#fff;border-radius:999px;padding:7px 11px;font-weight:800;white-space:nowrap}
.dc2-files{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.dc2-file-card{position:relative;display:flex;align-items:center;gap:11px;min-height:92px;padding:13px;border:1.5px dashed #b9cfe5;border-radius:18px;background:#fff;cursor:pointer;transition:.18s}.dc2-file-card:hover{transform:translateY(-1px);border-color:#448dd3}.dc2-file-card.loaded{border-style:solid;border-color:#22a06b;background:#f2fff8}.dc2-file-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e7f2ff;font-size:23px}.dc2-file-card>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:2px}.dc2-file-card b{font-size:14px;color:#10283e}.dc2-file-card small{font-size:11px;color:#6d7f91}.dc2-file-card em{font-style:normal;font-size:11px;font-weight:800;color:#236bad;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:210px}.dc2-file-card>strong{margin-left:auto;font-size:23px;color:#6192bd}.dc2-analyze{min-height:48px}
.dc2-preview{margin-top:14px}.dc2-empty,.dc2-loading{padding:22px;text-align:center;color:#65788b;border:1px dashed #cad9e7;border-radius:16px;background:#fff}.dc2-loading{font-weight:800}.dc2-error{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:15px;background:#fff0f1;border:1px solid #f0b7bd;color:#9d2531}.dc2-success{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:#effdf5;border:1px solid #a8dec0}.dc2-success>span{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#139b5e;color:#fff;font-size:22px}.dc2-success>div{display:flex;flex-direction:column;flex:1}.dc2-success small{color:#547060}
.dc2-preview-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:11px}.dc2-preview-head h3{margin:2px 0}.dc2-status{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;background:#eaf0f6;color:#38546b;font-size:12px;font-weight:900}.dc2-status.ok{background:#e7f9ef;color:#138451}.dc2-status.bad{background:#ffe9eb;color:#b52e3e}.dc2-status.warn{background:#fff3d9;color:#9c6500}
.dc2-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 13px}.dc2-kpis>div{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:3px;padding:13px;border-radius:16px;background:#fff;border:1px solid #d9e7f3}.dc2-kpis>div:after{content:"";position:absolute;width:82px;height:82px;border-radius:50%;right:-28px;top:-34px;background:linear-gradient(135deg,rgba(61,141,220,.15),transparent)}.dc2-kpis span{font-size:11px;font-weight:800;color:#60758a;text-transform:uppercase}.dc2-kpis b{font-size:20px;color:#092e52}.dc2-kpis small{font-size:11px;color:#6b7f91}.dc2-kpis.review>div:nth-child(1){background:#eaf4ff}.dc2-kpis.review>div:nth-child(2){background:#eafbf2}.dc2-kpis.review>div:nth-child(3){background:#fff3df}.dc2-kpis.review>div:nth-child(4){background:#f4edff}.dc2-kpis.review>div:nth-child(5){background:#e9fbfb}
.dc2-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}.dc2-check{display:flex;gap:9px;align-items:flex-start;padding:10px 11px;border-radius:14px;background:#fff;border:1px solid #dce7f0}.dc2-check>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:50%;font-weight:900}.dc2-check.ok>span{background:#def6e9;color:#087c48}.dc2-check.bad>span{background:#ffe1e5;color:#b22c3a}.dc2-check.warn>span{background:#fff0cc;color:#9c6500}.dc2-check.warn{border-color:#f0d99e;background:#fffaf0}.dc2-check div{display:flex;flex-direction:column}.dc2-check small{color:#718192}
.dc2-issues{margin-top:10px;padding:12px;border-radius:15px;background:#fff}.dc2-issue{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid #edf1f5}.dc2-issue:last-child{border-bottom:0}.dc2-issue small{color:#667889}.dc2-issue.blocking b{color:#b22234}.dc2-issue.review b{color:#a66b00}.dc2-issue.info b{color:#0a7a52}.dc2-cancel-preview{border:1px solid #dbe9f4}.dc2-source-note{margin:10px 0;padding:10px 12px;border-radius:12px;background:#edf4fa;color:#526b80;font-size:12px}
.dc2-recent{margin-top:14px;padding-top:12px;border-top:1px solid #d7e5f1}.dc2-recent>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;text-align:left;padding:10px 0;border:0;border-bottom:1px solid #e2ebf3;background:transparent}.dc2-recent>button span{display:flex;flex-direction:column}.dc2-recent small{color:#6e8192}.dc2-recent em{font-style:normal;font-size:12px;font-weight:900;color:#a06a00}.dc2-recent em.ok{color:#108452}
.dc2-legacy-capture{margin:18px 0;border:1px solid #e1e8ef;border-radius:15px;background:#fff}.dc2-legacy-capture summary{cursor:pointer;padding:12px 14px;font-weight:900}.dc2-legacy-capture summary small{display:block;font-weight:500;color:#758493;margin-top:2px}.dc2-legacy-body{padding:0 12px 12px}
.dc2-review .exec-head{margin-bottom:12px}.dc2-review-card{margin:12px 0}.dc2-note-list,.dc2-group-list{display:flex;flex-direction:column;margin-top:9px}.dc2-note,.dc2-group,.dc2-open-issue{display:grid;grid-template-columns:minmax(220px,1fr) minmax(180px,260px) auto;gap:8px;align-items:center;padding:10px 0;border-top:1px solid #edf0f4}.dc2-note>div,.dc2-group>div,.dc2-open-issue>div{display:flex;flex-direction:column}.dc2-note small,.dc2-group small,.dc2-open-issue small{color:#708091}.dc2-group.matched{grid-template-columns:1fr auto;background:#f4fff9;padding-left:8px;padding-right:8px;border-radius:11px}.dc2-open-issue{grid-template-columns:1fr auto}.dc2-next{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(135deg,#082f57,#0c497f);color:#fff}.dc2-next p{margin:4px 0 0;color:#dbeeff}.dc2-next button{white-space:nowrap;background:#fff;color:#08325a}
@media(max-width:760px){.dc2-package{padding:13px}.dc2-package-head{flex-direction:column}.dc2-files{grid-template-columns:1fr}.dc2-file-card{min-height:78px}.dc2-file-card em{max-width:250px}.dc2-kpis{grid-template-columns:1fr 1fr}.dc2-checks{grid-template-columns:1fr}.dc2-note,.dc2-group{grid-template-columns:1fr}.dc2-note button,.dc2-group button{width:100%}.dc2-next{align-items:stretch;flex-direction:column}.dc2-next button{width:100%}}

/* enterprise-2.0.4-capture.css?v=2.2.20 */
/* DC CONTROL 2.0.4 — Captura compacta: documento / manual / Oráculo */
[data-dc-page="purchases"] .dc204-capture-head{align-items:flex-start!important;display:flex!important;min-height:auto!important}
[data-dc-page="purchases"] .dc204-capture-head>div:last-child{display:block!important;min-width:0!important;width:auto!important}
[data-dc-page="purchases"] .dc204-capture-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:12px 0 14px;align-items:stretch}
[data-dc-page="purchases"] .dc204-capture-card{position:relative;overflow:hidden;display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;height:86px;min-height:86px;max-height:86px;border:0;border-radius:18px;padding:12px 14px;color:#fff;text-align:left;box-shadow:0 9px 22px rgba(15,43,79,.12);cursor:pointer}
[data-dc-page="purchases"] .dc204-capture-card:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-36px;top:-46px;background:linear-gradient(135deg,rgba(255,255,255,.2),transparent)}
[data-dc-page="purchases"] .dc204-capture-card.file{background:linear-gradient(135deg,#1687ff,#1766e8)}
[data-dc-page="purchases"] .dc204-capture-card.manual{background:linear-gradient(135deg,#17b978,#079a63)}
[data-dc-page="purchases"] .dc204-capture-card.oracle{background:linear-gradient(135deg,#7c4ce0,#6537cc)}
[data-dc-page="purchases"] .dc204-capture-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:rgba(255,255,255,.18);font-size:21px}
[data-dc-page="purchases"] .dc204-capture-card span:nth-child(2){display:flex;flex-direction:column;min-width:0;gap:2px}
[data-dc-page="purchases"] .dc204-capture-card b{font-size:14px;color:#fff}.dc204-capture-card small{font-size:11px;color:rgba(255,255,255,.88)}
[data-dc-page="purchases"] .dc204-capture-card strong{font-size:23px;color:#fff;z-index:1}
[data-dc-page="purchases"] .dc204-capture-note{margin:0 0 14px}
[data-dc-page="purchases"] .dc2-package{margin-top:0}
.dc204-purchase-sheet .dc204-purchase-row-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:12px 0 8px}.dc204-purchase-row-actions small{color:#6b7f91}.dc204-remove-item{min-width:34px}
.dc204-purchase-sheet.manual-mode #piPreview{margin-top:2px}
@media(max-width:760px){[data-dc-page="purchases"] .dc204-capture-actions{grid-template-columns:1fr 1fr}.dc204-capture-card{height:80px!important;min-height:80px!important;max-height:80px!important}[data-dc-page="purchases"] .dc204-capture-card.oracle{grid-column:1/-1}.dc204-purchase-row-actions{align-items:stretch!important;flex-direction:column}.dc204-purchase-row-actions button{width:100%}}

/* enterprise-2.0.4-supplier-debt.css?v=2.2.20 */
.supplier-debt-list201{display:grid;gap:14px;margin:14px 0}.supplier-debt-card201{background:linear-gradient(135deg,#13366e,#0c2551);color:#fff;border-radius:22px;padding:18px;box-shadow:0 12px 28px rgba(5,22,55,.18)}.supplier-debt-head201{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.supplier-debt-head201 h3{margin:3px 0 2px;font-size:1.18rem}.supplier-debt-head201 small{display:block;color:rgba(255,255,255,.8)}.supplier-debt-balance201{text-align:right}.supplier-debt-balance201 span{display:block;font-size:.78rem;color:rgba(255,255,255,.75)}.supplier-debt-balance201 b{font-size:1.35rem}.supplier-debt-grid201{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:15px 0}.supplier-debt-grid201>div{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:10px}.supplier-debt-grid201 span{display:block;font-size:.72rem;color:rgba(255,255,255,.72)}.supplier-debt-grid201 b{display:block;margin-top:3px}.supplier-debt-review201{background:#fff3cd;color:#6b4d00;border-radius:13px;padding:10px 12px;font-size:.82rem;margin:10px 0}.supplier-debt-actions201{display:flex;gap:9px;flex-wrap:wrap}.supplier-debt-actions201 .primary,.supplier-debt-actions201 .secondary{width:auto}.supplier-debt-history201{margin-top:12px;background:rgba(255,255,255,.08);border-radius:15px;padding:7px 12px}.supplier-move201{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid rgba(255,255,255,.12)}.supplier-move201:last-child{border-bottom:0}.supplier-move201 small{display:block;color:rgba(255,255,255,.7);margin-top:2px}.supplier-move201>div:last-child{text-align:right}.supplier-move201.plus strong{color:#c7ffd9}.supplier-move201.minus strong{color:#ffd1d1}@media(max-width:720px){.supplier-debt-head201{display:block}.supplier-debt-balance201{text-align:left;margin-top:12px}.supplier-debt-grid201{grid-template-columns:repeat(2,minmax(0,1fr))}.supplier-move201{font-size:.9rem}}

/* dc-control-2.2.2-design-system.css?v=2.2.20 */
/* =====================================================================
   DC CONTROL 2.2.1 · SISTEMA VISUAL UNIFICADO
   Objetivo: una sola jerarquía para claro/oscuro, escritorio/móvil.
   Capa exclusivamente visual: no modifica lógica, datos ni flujos.
   ===================================================================== */

:root{
  color-scheme:light;
  --dc-bg:#f3f6fb;
  --dc-bg-soft:#edf2f8;
  --dc-surface:#ffffff;
  --dc-surface-2:#f8fafc;
  --dc-surface-3:#eef3f8;
  --dc-surface-elevated:#ffffff;
  --dc-text:#10233f;
  --dc-text-strong:#0b1f39;
  --dc-muted:#66778d;
  --dc-subtle:#8998aa;
  --dc-line:#dbe4ee;
  --dc-line-strong:#c9d5e2;
  --dc-input:#ffffff;
  --dc-input-hover:#f9fbfd;
  --dc-primary:#147ff1;
  --dc-primary-strong:#0b63d9;
  --dc-blue:#147ff1;
  --dc-green:#0ca86b;
  --dc-red:#e43d55;
  --dc-orange:#f27b1b;
  --dc-purple:#7b45dc;
  --dc-cyan:#0d9dbb;
  --dc-yellow:#d99a06;
  --dc-navy:#082b50;
  --dc-success-bg:#ecf9f2;
  --dc-warn-bg:#fff7e7;
  --dc-danger-bg:#fff0f2;
  --dc-info-bg:#edf6ff;
  --dc-shadow-sm:0 3px 12px rgba(15,35,60,.06);
  --dc-shadow:0 10px 28px rgba(15,35,60,.08);
  --dc-shadow-lg:0 20px 55px rgba(15,35,60,.14);
  --dc-radius-sm:12px;
  --dc-radius:16px;
  --dc-radius-lg:20px;
  --dc-radius-xl:24px;
  --dc-control-h:48px;
  --dc-safe-bottom:env(safe-area-inset-bottom,0px);

  /* aliases usados por módulos históricos */
  --surface:var(--dc-surface);
  --card:var(--dc-surface);
  --text:var(--dc-text);
  --muted:var(--dc-muted);
  --line:var(--dc-line);
}

html.dc-dark,
html[data-theme="dark"]{
  color-scheme:dark;
  --dc-bg:#09131f;
  --dc-bg-soft:#0d1927;
  --dc-surface:#111f2f;
  --dc-surface-2:#162638;
  --dc-surface-3:#1a2c40;
  --dc-surface-elevated:#182a3d;
  --dc-text:#eef5fc;
  --dc-text-strong:#ffffff;
  --dc-muted:#a9b8c9;
  --dc-subtle:#8395aa;
  --dc-line:#2b4056;
  --dc-line-strong:#3b536b;
  --dc-input:#0d1a28;
  --dc-input-hover:#132235;
  --dc-primary:#58a9ff;
  --dc-primary-strong:#2d8ef3;
  --dc-success-bg:#0f2f28;
  --dc-warn-bg:#342711;
  --dc-danger-bg:#351821;
  --dc-info-bg:#102b46;
  --dc-shadow-sm:0 4px 14px rgba(0,0,0,.18);
  --dc-shadow:0 12px 30px rgba(0,0,0,.24);
  --dc-shadow-lg:0 24px 65px rgba(0,0,0,.38);
  --surface:var(--dc-surface);
  --card:var(--dc-surface);
  --text:var(--dc-text);
  --muted:var(--dc-muted);
  --line:var(--dc-line);
}

/* ---------- Base ---------- */
html,body{background:var(--dc-bg);color:var(--dc-text)}
body{font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Segoe UI",sans-serif}
#view,main{color:var(--dc-text)}
#view{max-width:100%;overflow-x:hidden}
.section{background:transparent!important;color:var(--dc-text)!important}
.section>h2,.section h2,.section-title,.exec-head h2,.page-head1046 h2,.route-head h2,.cards-hero-head h2{color:var(--dc-text-strong)}
.section>p,.section p,.muted,.label,small{color:var(--dc-muted)}
hr{border:0;border-top:1px solid var(--dc-line)}
a{color:var(--dc-primary)}
::selection{background:rgba(20,127,241,.24)}

/* teclado / accesibilidad */
button,input,select,textarea,summary{font:inherit}
button,input,select,textarea{outline:none}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{
  outline:3px solid rgba(20,127,241,.24)!important;
  outline-offset:2px;
}
button{touch-action:manipulation}

/* ---------- Barra superior ---------- */
.topbar{
  background:linear-gradient(135deg,#082440 0%,#0b3563 58%,#0c4876 100%)!important;
  color:#fff!important;
  border-bottom:1px solid rgba(255,255,255,.12)!important;
  box-shadow:0 8px 28px rgba(5,24,47,.18)!important;
}
.topbar h1,.topbar .eyebrow,.topbar .subtitle{color:#fff!important}
.topbar .eyebrow{opacity:.72}.topbar .subtitle{opacity:.78}
.search-launch,.topbar .icon-btn{
  border:1px solid rgba(255,255,255,.17)!important;
  background:rgba(255,255,255,.11)!important;
  color:#fff!important;
  box-shadow:none!important;
}
.search-launch:hover,.topbar .icon-btn:hover{background:rgba(255,255,255,.17)!important}

/* ---------- Jerarquía de superficies ---------- */
.card,.metric,.exec-card,.report-card,.config-section-block,.more-group1046,.w3-group,
.schedule-day-row,.weekly-card,.kiosk-employee-card:not([class*="tone-"]),
.dc-appearance-card,.map-config-card,.recon-filter-pro,.recon-main-table,
.dc-close-priority article,.dc-close-other,.dc-close-detail,.dc-route-cash-detail{
  border-color:var(--dc-line);
}
.card,.metric,.exec-card,.report-card,.dc-appearance-card,.config-section-block,.more-group1046{
  border-radius:var(--dc-radius-lg);
  box-shadow:var(--dc-shadow-sm);
}
.metric,.exec-card,.report-card{background:var(--dc-surface);color:var(--dc-text)}
.card{background:var(--dc-surface);color:var(--dc-text)}
.card>.row:first-child{padding-top:0}
.card>.row:last-child{padding-bottom:0}
.row{border-bottom-color:var(--dc-line);color:var(--dc-text)}

html.dc-dark .card,
html.dc-dark .dc-appearance-card,
html.dc-dark .config-section-block,
html.dc-dark .more-group1046{
  background:var(--dc-surface)!important;
  color:var(--dc-text)!important;
  border-color:var(--dc-line)!important;
  box-shadow:var(--dc-shadow-sm)!important;
}

/* Encabezados de página: un mismo ritmo */
.page-head1046,.exec-head,.route-head,.cards-hero-head,.enterprise-section-head,
.config-section-head,.route-points-head1047,.kiosk-title-row{
  gap:12px;
}
.page-head1046,.exec-head,.route-head,.cards-hero-head{
  padding:15px 16px;
  border:1px solid var(--dc-line);
  border-radius:var(--dc-radius-lg);
  background:var(--dc-surface);
  box-shadow:var(--dc-shadow-sm);
  margin-bottom:14px;
}
html.dc-dark :is(.page-head1046,.exec-head,.route-head,.cards-hero-head){
  background:var(--dc-surface)!important;border-color:var(--dc-line)!important;color:var(--dc-text)!important;
}
.page-head1046 h2,.exec-head h2,.route-head h2,.cards-hero-head h2{margin:2px 0!important;letter-spacing:-.025em}

/* ---------- Hero / portada ---------- */
.hero{
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(135deg,#08243f,#0c3a68 60%,#0a5776)!important;
  box-shadow:0 16px 40px rgba(7,31,58,.18)!important;
}
.hero h2,.hero .eyebrow,.hero p,.hero .score,.hero .score small{color:#fff!important}
.hero p{opacity:.78}
.hero .score{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.17)}
.enterprise-actions{border-color:var(--dc-line)!important}
.enterprise-action{
  background:var(--action,var(--dc-primary))!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 8px 18px rgba(15,35,60,.15)!important;
}
.enterprise-action-copy b,.enterprise-action-copy small,.enterprise-action em,.enterprise-action>strong{color:#fff!important;opacity:1!important}
.enterprise-action .enterprise-action-icon{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.22)!important;color:#fff!important}
html.dc-dark .enterprise-action{background:var(--action,var(--dc-primary))!important}

/* ---------- Botones ---------- */
.primary,.secondary,.mini,.danger,.icon-btn.light,.config-add,.map-open-btn,.map-center-btn{
  min-height:42px;
  border-radius:var(--dc-radius-sm);
  font-weight:850;
  transition:transform .14s ease,filter .14s ease,box-shadow .14s ease,background .14s ease;
}
.primary{background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong))!important;color:#fff!important;box-shadow:0 7px 16px rgba(20,127,241,.20)}
.primary:hover{filter:brightness(1.04)}
.secondary,.mini,.icon-btn.light{
  background:var(--dc-surface-3)!important;
  color:var(--dc-text)!important;
  border:1px solid var(--dc-line)!important;
}
.secondary:hover,.mini:hover,.icon-btn.light:hover{background:var(--dc-input-hover)!important;border-color:var(--dc-line-strong)!important}
.danger{background:var(--dc-danger-bg)!important;color:#d93850!important;border:1px solid rgba(228,61,85,.28)!important}
button:active{transform:scale(.985)}
button:disabled{filter:saturate(.6);opacity:.55}

/* ---------- Formularios ---------- */
label{color:var(--dc-text);font-weight:800}
input,select,textarea{
  width:100%;
  min-height:var(--dc-control-h);
  color:var(--dc-text)!important;
  background:var(--dc-input)!important;
  border:1px solid var(--dc-line-strong)!important;
  border-radius:var(--dc-radius-sm)!important;
  box-shadow:0 1px 0 rgba(15,35,60,.02);
}
textarea{min-height:96px;resize:vertical}
input::placeholder,textarea::placeholder{color:var(--dc-subtle)!important;opacity:1}
input:hover,select:hover,textarea:hover{background:var(--dc-input-hover)!important}
input:focus,select:focus,textarea:focus{
  border-color:var(--dc-primary)!important;
  box-shadow:0 0 0 3px rgba(20,127,241,.12)!important;
}
input[type="checkbox"],input[type="radio"]{width:auto!important;min-height:0!important;accent-color:var(--dc-primary);box-shadow:none!important}

/* ---------- Pills / estados ---------- */
.pill,.greenpill,.warnpill,.mutedpill,.status,.alert,.security,.match{
  border-radius:999px;
}
.pill{background:var(--dc-info-bg);color:var(--dc-primary);border:1px solid rgba(20,127,241,.16)}
.greenpill,.status.ok,.status.green{background:var(--dc-success-bg)!important;color:#0c8d5a!important;border-color:rgba(12,168,107,.25)!important}
.warnpill,.status.warn,.status.yellow,.alert{background:var(--dc-warn-bg)!important;color:#9b6800!important;border-color:rgba(217,154,6,.30)!important}
.status.bad,.status.red,.alert.red{background:var(--dc-danger-bg)!important;color:#c62f47!important;border-color:rgba(228,61,85,.28)!important}
.mutedpill,.status.neutral{background:var(--dc-surface-3)!important;color:var(--dc-muted)!important;border-color:var(--dc-line)!important}
.match{background:var(--dc-info-bg)!important;color:var(--dc-primary)!important;border-color:rgba(20,127,241,.20)!important}

/* ---------- Pestañas / opciones desplegables ---------- */
.module-tabs1046,.config-tabs,.finance-tabs-pro210,.dc-cashhub-tabs,.dc-precut-subtabs,
.route-zone-tabs10411,.tabs104,.dc-theme-switch{
  gap:8px;
}
.module-tabs1046 button,.config-tabs button,.finance-tabs-pro210 button,.dc-cashhub-tabs button,
.dc-precut-subtabs button,.route-zone-tabs10411 button,.dc-theme-switch button{
  min-height:44px;
  border-radius:13px!important;
  background:var(--dc-surface-2)!important;
  color:var(--dc-text)!important;
  border:1px solid var(--dc-line)!important;
  font-weight:850;
}
.module-tabs1046 button.active,.config-tabs button.active,.finance-tabs-pro210 button.active,
.dc-cashhub-tabs button.active,.dc-precut-subtabs button.active,.route-zone-tabs10411 button.active,
.dc-theme-switch button.active{
  background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong))!important;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 7px 16px rgba(20,127,241,.18)!important;
}

details{
  border-color:var(--dc-line);
  color:var(--dc-text);
}
details>summary{color:var(--dc-text);border-radius:12px}
details>summary:hover{background:rgba(20,127,241,.055)}
html.dc-dark details>summary:hover{background:rgba(88,169,255,.08)}
.embedded-module1046[open]>summary{border-bottom-color:var(--dc-line)}

/* ---------- Tablas ---------- */
.enterprise-table-wrap,.v1049-table-zone,.recon-main-table{border-radius:var(--dc-radius)!important;overflow:auto;background:var(--dc-surface)}
table{width:100%;border-collapse:separate;border-spacing:0;color:var(--dc-text)}
th{
  background:var(--dc-surface-3)!important;
  color:var(--dc-text-strong)!important;
  border-color:var(--dc-line)!important;
  font-size:.74rem;
  letter-spacing:.025em;
}
td{border-color:var(--dc-line)!important;color:var(--dc-text)}
tbody tr:hover td{background:rgba(20,127,241,.035)}
html.dc-dark tbody tr:hover td{background:rgba(88,169,255,.045)}

/* ---------- Overlays / modales ---------- */
.overlay{background:rgba(3,12,23,.62)!important;backdrop-filter:blur(8px)}
.sheet{
  background:var(--dc-surface-elevated)!important;
  color:var(--dc-text)!important;
  border:1px solid var(--dc-line)!important;
  box-shadow:var(--dc-shadow-lg)!important;
}
.sheet-head{
  position:sticky;top:-18px;z-index:8;
  background:linear-gradient(180deg,var(--dc-surface-elevated) 80%,transparent);
  padding:18px 0 10px;margin-top:-18px;
}
.sheet-head h2{color:var(--dc-text-strong)!important}

/* ---------- Menú Más ---------- */
.more-group1046 h3{color:var(--dc-muted)!important;letter-spacing:.04em;text-transform:uppercase}
.more-grid1046 button:not(.more-card1048){
  background:var(--dc-surface)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important;box-shadow:var(--dc-shadow-sm)
}
.more-grid1046 button:not(.more-card1048) b{color:var(--dc-text-strong)}
.more-grid1046 button:not(.more-card1048) small{color:var(--dc-muted)}
.more-card1048{border-radius:18px!important;box-shadow:0 9px 22px rgba(15,35,60,.13)!important}

/* ---------- Finanzas / conciliación ---------- */
.finance-filter,.recon-filter-pro{background:var(--dc-surface);color:var(--dc-text);border-color:var(--dc-line)}
.movement-row,.finance-row{background:var(--dc-surface);border-color:var(--dc-line)}
.payment-amount{color:var(--dc-text)!important}
.recon-priority-banner{
  background:linear-gradient(135deg,var(--dc-info-bg),var(--dc-success-bg))!important;
  border-color:var(--dc-line)!important;
}
.recon-priority-banner h2{color:var(--dc-text-strong)!important}.recon-priority-banner p{color:var(--dc-muted)!important}
.recon-groups-empty,.recon-group-card,.recon-bank-open-list>div{color:var(--dc-text)}
html.dc-dark .recon-focus-filter{background:rgba(17,31,47,.95)!important}

/* ---------- Configuración ---------- */
[data-dc-page="settings"] .config-section-block,
[data-dc-page="settings"] .config-user-card,
[data-dc-page="settings"] .config-role-card,
[data-dc-page="settings"] .config-supplier-card,
[data-dc-page="settings"] .config-info-grid>div{
  border-color:var(--dc-line)!important;
  box-shadow:var(--dc-shadow-sm)!important;
}
html.dc-dark [data-dc-page="settings"] :is(.config-user-card,.config-role-card,.config-supplier-card,.config-info-grid>div) small{color:#cfdae7!important}

/* ---------- Kiosco administrativo ---------- */
.kiosk-employee-card{border-radius:20px!important}
.kiosk-card-actions .mini{min-height:44px!important}
.weekly-card{
  color:var(--dc-text)!important;
  border-color:var(--dc-line)!important;
  background:linear-gradient(180deg,var(--dc-surface),var(--dc-surface-2))!important;
}
.weekly-metrics span{background:var(--dc-info-bg)!important;color:var(--dc-text)!important}
html.dc-dark .weekly-card{background:linear-gradient(180deg,#142436,#101e2d)!important}
.schedule-day-row,.switch-row1046,.switch-row{background:var(--dc-surface-2);border-color:var(--dc-line)!important}

/* Kiosco empleado: conserva identidad pero mejora consistencia */
.kiosk-fullscreen-1059{
  background:radial-gradient(circle at 8% 0%,#164a80 0,#08233d 40%,#061523 100%)!important;
}
.kiosk-top{border-bottom-color:rgba(255,255,255,.15)}
.kiosk-top button,.kiosk-back{min-height:46px;border:1px solid rgba(255,255,255,.14);border-radius:14px}
.kiosk-person{border-radius:26px!important;box-shadow:0 16px 40px rgba(0,0,0,.22)!important}
.kiosk-punch-panel{border-radius:26px;border-color:rgba(255,255,255,.15);backdrop-filter:blur(12px)}

/* ---------- Pre-corte / Corte ---------- */
.dc-cashhub-sheet{background:var(--dc-surface-elevated)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important}
.dc-cashhub-head{
  background:var(--dc-surface-elevated)!important;
  color:var(--dc-text)!important;
  border-bottom:1px solid var(--dc-line);
  padding-top:4px;
}
.dc-cashhub-head h2,.dc-cashhub-head b,.dc-cashhub-head .eyebrow{color:var(--dc-text-strong)!important;opacity:1!important}
.dc-cashhub-head p,.dc-cashhub-head small{color:var(--dc-muted)!important;opacity:1!important}
.dc-cashhub-tabs{background:var(--dc-surface-elevated)!important}
.dc-precut-card,.dc-precut-totalbox>div,.dc-precut-summary-grid>div,.dc-close-source>div,
.dc-precut-abonos-title,.dc-precut-abonos-auto,.dc-precut-abonos-bank,.dc-abonos-two section,
.dc-collections-grid>span,.dc-transfer-grid>span,.dc-close-detail-grid>div{
  border-color:var(--dc-line)!important;
}
.dc-precut-abonos-control,.dc-precut-collections-control{
  background:var(--dc-info-bg)!important;border-color:rgba(20,127,241,.20)!important;color:var(--dc-text)!important;
}
.dc-precut-abonos-title,.dc-precut-abonos-auto,.dc-precut-abonos-bank,
.dc-abonos-two section,.dc-collections-grid>span,.dc-transfer-grid>span,
.dc-close-detail-grid>div,.dc-close-source>div{
  background:var(--dc-surface-2)!important;color:var(--dc-text)!important;
}
.dc-close-priority article{
  background:var(--dc-surface-2)!important;color:var(--dc-text)!important;box-shadow:none
}
.dc-close-priority article.ok{background:var(--dc-success-bg)!important;border-color:rgba(12,168,107,.30)!important}
.dc-close-priority article.warn{background:var(--dc-warn-bg)!important;border-color:rgba(217,154,6,.30)!important}
.dc-close-priority article.pending{background:var(--dc-surface-3)!important;border-color:var(--dc-line)!important}
.dc-close-other,.dc-close-detail,.dc-route-cash-detail{background:var(--dc-surface-2)!important;border-color:var(--dc-line)!important}
.dc-precut-actions{background:linear-gradient(180deg,transparent 0,var(--dc-surface-elevated) 24%)!important}
.dc-cashhub-loading{color:var(--dc-muted)}

/* ---------- Chat ---------- */
.dc-chat-shell{border-color:var(--dc-line)!important;box-shadow:var(--dc-shadow)!important}
.dc-chat-sidebar,.dc-chat-main,.dc-chat-head,.dc-chat-composer{border-color:var(--dc-line)!important}
html.dc-dark .dc-chat-shell,html.dc-dark .dc-chat-sidebar,html.dc-dark .dc-chat-main,
html.dc-dark .dc-chat-head,html.dc-dark .dc-chat-composer{background:var(--dc-surface)!important}

/* ---------- IMEI / garantías / agrupadores ---------- */
.imei-stats>div,.imei-row,.w3-group,.w3-card{
  background:var(--dc-surface)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important;
}
html.dc-dark .imei-stats>div,html.dc-dark .imei-row,html.dc-dark .w3-group,html.dc-dark .w3-card{
  background:var(--dc-surface)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important;
}

/* ---------- Navegación inferior multicolor, misma geometría ---------- */
.bottom-nav,.bottom-nav.v1049-nav-centered{
  background:color-mix(in srgb,var(--dc-surface) 94%,transparent)!important;
  border:1px solid var(--dc-line)!important;
  box-shadow:0 -8px 28px rgba(15,35,60,.12)!important;
  backdrop-filter:blur(18px)!important;
}
.bottom-nav button.nav1048,.bottom-nav button.nav1048.active{
  border-radius:15px!important;
  box-shadow:0 4px 11px rgba(15,35,60,.15)!important;
  transition:transform .14s ease,filter .14s ease,box-shadow .14s ease!important;
}
.bottom-nav button.nav1048.active{
  outline:2px solid var(--dc-surface)!important;
  box-shadow:0 0 0 4px rgba(20,127,241,.14),0 5px 14px rgba(15,35,60,.20)!important;
}
.bottom-nav button.nav1048:active{transform:scale(.97)!important}
.bottom-nav button.nav-home1048,.bottom-nav button.nav-home1048.active{background:linear-gradient(145deg,#ff8c25,#f36d0b)!important}
.bottom-nav button.nav-search1048,.bottom-nav button.nav-search1048.active{background:linear-gradient(145deg,#2496f7,#0b6ede)!important}
.bottom-nav button.nav-chat1048,.bottom-nav button.nav-chat1048.active,
.bottom-nav button.nav-capture1048,.bottom-nav button.nav-capture1048.active{background:linear-gradient(145deg,#18bd70,#079557)!important}
.bottom-nav button.nav-routes1048,.bottom-nav button.nav-routes1048.active{background:linear-gradient(145deg,#f25058,#dc2636)!important}
.bottom-nav button.nav-more1048,.bottom-nav button.nav-more1048.active{background:linear-gradient(145deg,#9859ea,#7733d1)!important}
.bottom-nav button.nav-warranties1048,.bottom-nav button.nav-warranties1048.active{background:linear-gradient(145deg,#8865e6,#673ec5)!important}

/* ---------- Oscuro: correcciones de contraste ---------- */
html.dc-dark body,html.dc-dark #view,html.dc-dark main{background:var(--dc-bg)!important;color:var(--dc-text)!important}
html.dc-dark .topbar{background:linear-gradient(135deg,#061829,#092b4d 58%,#0a3a60)!important}
html.dc-dark :is(h1,h2,h3,h4,b,strong){color:var(--dc-text-strong)}
html.dc-dark :is(p,small,.muted,.label){color:var(--dc-muted)}
html.dc-dark input,html.dc-dark select,html.dc-dark textarea{background:var(--dc-input)!important;color:var(--dc-text)!important;border-color:var(--dc-line-strong)!important}
html.dc-dark .secondary,html.dc-dark .mini,html.dc-dark .icon-btn.light{background:var(--dc-surface-3)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important}
html.dc-dark table,html.dc-dark th,html.dc-dark td{border-color:var(--dc-line)!important;color:var(--dc-text)!important}
html.dc-dark th{background:var(--dc-surface-3)!important}
html.dc-dark .overlay{background:rgba(1,7,14,.76)!important}
html.dc-dark .bottom-nav,html.dc-dark .bottom-nav.v1049-nav-centered{background:rgba(15,29,44,.95)!important;border-color:var(--dc-line)!important}

/* Evita que el modo oscuro apague tarjetas intencionalmente multicolor */
html.dc-dark :is(
  .enterprise-action-icon,.more-card1048,.kiosk-action-card,.kiosk-employee-card,
  .schedule-profile-card,.kiosk-person,.rk,.focus-kpi,.recon-action-card,.pro-kpi,
  .manual-type,.v10494-solid-kpi,.v10494-command,.v10498-payroll-card
) :is(b,strong){color:inherit}

/* ---------- Móvil ---------- */
@media(max-width:760px){
  main,#view{padding-left:10px!important;padding-right:10px!important}
  .page-head1046,.exec-head,.route-head,.cards-hero-head{padding:13px;border-radius:17px}
  .card,.metric,.exec-card,.report-card{border-radius:16px}
  .sheet{border-radius:22px 22px 0 0!important;padding:14px!important}
  .sheet-head{top:-14px;padding-top:14px;margin-top:-14px}
  .topbar{box-shadow:0 7px 22px rgba(5,24,47,.18)!important}
  .bottom-nav,.bottom-nav.v1049-nav-centered{
    left:max(5px,env(safe-area-inset-left))!important;
    right:max(5px,env(safe-area-inset-right))!important;
    width:auto!important;
    border-radius:19px!important;
    padding:5px 5px calc(5px + var(--dc-safe-bottom))!important;
    gap:4px!important;
  }
  .bottom-nav button.nav1048,.bottom-nav button.nav1048.active{height:57px!important;min-height:57px!important}
  .dc-cashhub-sheet{border-radius:22px 22px 0 0!important}
  .dc-cashhub-head{padding-left:2px;padding-right:2px}
}

@media(max-width:430px){
  .hero{padding:16px!important;border-radius:19px!important}
  .hero h2{font-size:21px!important}
  .grid2,.exec-grid,.report-cards{gap:7px!important}
  .metric,.exec-card,.report-card{padding:11px!important}
  .primary,.secondary,.mini{min-height:44px}
  .dc-precut-abonos-control{padding:12px!important;border-radius:16px!important}
}

/* Reduce animación si el usuario lo pide */
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* ---------- Oscuro: identidad cromática de KPIs y tarjetas ---------- */
html.dc-dark .metric.v1049-tone-1{background:linear-gradient(135deg,#124f88,#102c49)!important;border-color:#2b78b6!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-2{background:linear-gradient(135deg,#14573b,#112f25)!important;border-color:#2b9d69!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-3{background:linear-gradient(135deg,#493379,#271e43)!important;border-color:#8161ca!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-4{background:linear-gradient(135deg,#6b2b3a,#381c27)!important;border-color:#c84b63!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-5{background:linear-gradient(135deg,#6b431d,#352719)!important;border-color:#d98936!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-6{background:linear-gradient(135deg,#662b40,#351c29)!important;border-color:#c94f70!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-7{background:linear-gradient(135deg,#31457d,#1e2948)!important;border-color:#5f79ce!important;color:#fff!important}
html.dc-dark .metric.v1049-tone-8{background:linear-gradient(135deg,#15505a,#123037)!important;border-color:#37a5ae!important;color:#fff!important}
html.dc-dark .metric[class*="v1049-tone-"] :is(span,b,strong,small){color:#fff!important}

html.dc-dark [data-dc-page="cards"] .v10494-solid-kpi{color:#fff!important}
html.dc-dark [data-dc-page="cards"] .v10494-card-tone-1{background:linear-gradient(135deg,#185a9b,#12385f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-card-tone-2{background:linear-gradient(135deg,#166142,#103726)!important}
html.dc-dark [data-dc-page="cards"] .v10494-card-tone-3{background:linear-gradient(135deg,#7b451a,#3f2a16)!important}
html.dc-dark [data-dc-page="cards"] .v10494-card-tone-4{background:linear-gradient(135deg,#513681,#2d2247)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-1{background:linear-gradient(180deg,#132b47,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-2{background:linear-gradient(180deg,#2b2144,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-3{background:linear-gradient(180deg,#17392e,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-4{background:linear-gradient(180deg,#3a2a18,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-5{background:linear-gradient(180deg,#3b1e28,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-credit-tone-6{background:linear-gradient(180deg,#14343d,#111f2f)!important}
html.dc-dark [data-dc-page="cards"] .v10494-card-movement{background:var(--dc-surface-2)!important;color:var(--dc-text)!important}

html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-1{background:linear-gradient(135deg,#173554,#14283b)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-2{background:linear-gradient(135deg,#173c2d,#142d25)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-3{background:linear-gradient(135deg,#32264a,#272038)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-4{background:linear-gradient(135deg,#49301d,#332519)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-5{background:linear-gradient(135deg,#173a43,#142d33)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-6{background:linear-gradient(135deg,#43232d,#321c24)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-7{background:linear-gradient(135deg,#263444,#1b2837)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-pay-tone-8{background:linear-gradient(135deg,#2d2948,#232039)!important}
html.dc-dark [data-dc-page="payroll"] .v10498-payroll-card td,
html.dc-dark [data-dc-page="payroll"] .v10498-payroll-card td[data-label="Total"],
html.dc-dark [data-dc-page="payroll"] .v10498-payroll-card td:before{color:#eef5fc!important}
html.dc-dark [data-dc-page="payroll"] .v10498-payroll-card td:before{opacity:.72}

html.dc-dark :is(.v10496-user-tone-1,.v10496-role-tone-1){background:linear-gradient(135deg,#173d6b,#162639)!important}
html.dc-dark :is(.v10496-user-tone-2,.v10496-role-tone-2){background:linear-gradient(135deg,#17452f,#162b25)!important}
html.dc-dark :is(.v10496-user-tone-3,.v10496-role-tone-3){background:linear-gradient(135deg,#553116,#302319)!important}
html.dc-dark :is(.v10496-user-tone-4,.v10496-role-tone-4){background:linear-gradient(135deg,#43286c,#2a203e)!important}
html.dc-dark :is(.v10496-user-tone-5,.v10496-role-tone-5){background:linear-gradient(135deg,#164654,#172c34)!important}


/* ---------- 2.2.1 · acceso restaurado al paquete SICAR de 3 archivos ---------- */
.finance-tabs-pro210{grid-template-columns:1.35fr 1fr 1fr!important}
.bf-package-shortcut{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px!important;padding:14px 16px!important;border:1px solid var(--dc-line)!important;background:linear-gradient(135deg,color-mix(in srgb,var(--dc-purple) 9%,var(--dc-surface)),var(--dc-surface))!important}
.bf-package-shortcut>div{display:grid;gap:3px;min-width:0}
.bf-package-shortcut b{font-size:16px;color:var(--dc-text-strong)!important}
.bf-package-shortcut small{color:var(--dc-muted)!important}
html.dc-dark .bf-package-shortcut{background:linear-gradient(135deg,rgba(123,69,220,.18),var(--dc-surface))!important}
@media(max-width:900px){.finance-tabs-pro210{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){.finance-tabs-pro210{grid-template-columns:repeat(3,minmax(0,1fr))!important}.finance-tabs-pro210 button{font-size:10px!important;padding:7px 4px!important;min-height:48px!important}.bf-package-shortcut{align-items:stretch;flex-direction:column}.bf-package-shortcut .primary{width:100%}}

/* dc-control-2.2.3-internal-report.css?v=2.2.20 */
/* DC CONTROL 2.2.3 · Reporte interno DC dentro de Conciliación PRO */
.bf-subtabs{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 14px;padding:8px;background:var(--dc-surface);border:1px solid var(--dc-line);border-radius:18px;box-shadow:var(--dc-shadow-sm)}
.bf-subtabs button{min-height:44px;border:1px solid var(--dc-line);border-radius:13px;background:var(--dc-surface-2);color:var(--dc-text);padding:0 16px;font-weight:800;cursor:pointer}
.bf-subtabs button:hover{background:var(--dc-input-hover);border-color:var(--dc-line-strong)}
.bf-subtabs button.active{background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong));border-color:transparent;color:#fff;box-shadow:0 7px 18px rgba(20,127,241,.22)}
.internal-report-hero{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:20px!important}
.internal-report-hero h2{margin:4px 0 6px}.internal-report-hero p{margin:0;max-width:780px}
.internal-report-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.internal-report-actions input[type="month"]{min-height:44px}
.internal-dedupe-note{border-left:5px solid var(--dc-cyan)!important;background:linear-gradient(135deg,var(--dc-surface),var(--dc-info-bg))!important}
.internal-dedupe-note p{margin:5px 0 0}.internal-table td small{display:block;margin-top:4px}.internal-table td{vertical-align:top}
.ok-text{color:var(--dc-green)!important}.warn-text{color:var(--dc-orange)!important}
html.dc-dark .internal-dedupe-note,html[data-theme="dark"] .internal-dedupe-note{background:linear-gradient(135deg,var(--dc-surface),rgba(13,157,187,.09))!important}
@media(max-width:760px){.bf-subtabs{display:grid;grid-template-columns:1fr;gap:7px}.bf-subtabs button{width:100%;text-align:left}.internal-report-hero{align-items:stretch;flex-direction:column}.internal-report-actions{justify-content:stretch}.internal-report-actions>*{width:100%}.internal-kpis{grid-template-columns:1fr 1fr!important}.internal-table{min-width:850px}}
@media(max-width:480px){.internal-kpis{grid-template-columns:1fr!important}}

/* dc-control-2.2.4-kiosk-hierarchy.css?v=2.2.20 */
/* =====================================================================
   DC CONTROL 2.2.4 · KIOSCO — JERARQUIA VISUAL CLARO / OSCURO
   Solo presentación. No modifica checadas, PIN, horarios, fotos ni Supabase.
   ===================================================================== */

/* Tema claro por defecto */
.kiosk-fullscreen-1059{
  --kiosk-bg:#eaf1f8;
  --kiosk-bg-2:#dbe7f2;
  --kiosk-surface:#ffffff;
  --kiosk-surface-2:#f4f8fc;
  --kiosk-text:#102a43;
  --kiosk-text-strong:#071f36;
  --kiosk-muted:#60758b;
  --kiosk-line:#c7d6e5;
  --kiosk-primary:#1677df;
  --kiosk-primary-2:#0f63c5;
  --kiosk-success:#0b9f6a;
  --kiosk-danger:#d9475c;
  --kiosk-shadow:0 20px 55px rgba(15,42,70,.16);
  background:
    radial-gradient(circle at 8% 0%,rgba(22,119,223,.13),transparent 34%),
    linear-gradient(145deg,var(--kiosk-bg) 0%,var(--kiosk-bg-2) 100%)!important;
  color:var(--kiosk-text)!important;
}

/* Tema oscuro: sigue el tema general de DC CONTROL */
html.dc-dark .kiosk-fullscreen-1059,
html[data-theme="dark"] .kiosk-fullscreen-1059{
  --kiosk-bg:#071522;
  --kiosk-bg-2:#0b2237;
  --kiosk-surface:#10253a;
  --kiosk-surface-2:#153149;
  --kiosk-text:#eef6ff;
  --kiosk-text-strong:#ffffff;
  --kiosk-muted:#aec0d2;
  --kiosk-line:#31506c;
  --kiosk-primary:#4aa7ff;
  --kiosk-primary-2:#2588ea;
  --kiosk-success:#24c98b;
  --kiosk-danger:#ff6b7d;
  --kiosk-shadow:0 24px 70px rgba(0,0,0,.34);
  background:
    radial-gradient(circle at 8% 0%,rgba(51,135,210,.20),transparent 32%),
    linear-gradient(145deg,var(--kiosk-bg) 0%,var(--kiosk-bg-2) 100%)!important;
}

/* Encabezado: la hora es la primera referencia visual, sin competir con el contenido */
.kiosk-top{
  min-height:88px!important;
  height:auto!important;
  padding:14px 18px!important;
  border-bottom:1px solid var(--kiosk-line)!important;
  color:var(--kiosk-text)!important;
}
.kiosk-top span{color:var(--kiosk-muted)!important;opacity:1!important;font-weight:850!important}
.kiosk-top b{color:var(--kiosk-text-strong)!important}
.kiosk-clock{
  color:var(--kiosk-text-strong)!important;
  font-size:2.05rem!important;
  letter-spacing:-.02em;
  text-shadow:none!important;
}
.kiosk-top button,.kiosk-back{
  min-height:46px!important;
  background:var(--kiosk-surface)!important;
  color:var(--kiosk-text-strong)!important;
  border:1px solid var(--kiosk-line)!important;
  box-shadow:0 5px 16px rgba(15,42,70,.08)!important;
}
html.dc-dark .kiosk-top button,html.dc-dark .kiosk-back,
html[data-theme="dark"] .kiosk-top button,html[data-theme="dark"] .kiosk-back{
  background:var(--kiosk-surface-2)!important;
  box-shadow:none!important;
}

/* Bienvenida */
.kiosk-welcome{padding:32px 10px 20px!important}
.kiosk-welcome h1{color:var(--kiosk-text-strong)!important;font-weight:950!important;letter-spacing:-.03em}
.kiosk-welcome p{color:var(--kiosk-muted)!important;opacity:1!important;font-weight:700}

/* Tarjetas de empleados: color identifica, texto manda */
.kiosk-person-grid{gap:16px!important}
.kiosk-person{
  min-height:250px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 14px 36px rgba(17,44,71,.18)!important;
  transform:none!important;
  isolation:isolate;
}
.kiosk-person:before{background:rgba(255,255,255,.12)!important}
.kiosk-person:after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 15%,rgba(0,0,0,.15) 100%);
}
.kiosk-person>*{z-index:1}
.kiosk-person>b{
  color:inherit!important;
  text-shadow:0 1px 2px rgba(0,0,0,.16);
  font-weight:950!important;
  letter-spacing:-.01em;
}
.kiosk-person>span.kiosk-initials2110{
  color:inherit!important;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.18)!important;
}
.kiosk-person-schedule2110,
.kiosk-person-schedule2110 .kiosk-today2110,
.kiosk-person-schedule2110 .kiosk-today2110>b,
.kiosk-person-schedule2110 .kiosk-today2110 span,
.kiosk-person-schedule2110 .kiosk-today2110 strong,
.kiosk-person-schedule2110 .kiosk-days-label2110,
.kiosk-person-schedule2110 .kiosk-day-chip2110,
.kiosk-person-schedule2110 .kiosk-schedule-empty2110{
  color:inherit!important;
}
.kiosk-person-schedule2110 .kiosk-today2110{border-top-color:currentColor!important}
.kiosk-person-schedule2110 .kiosk-today2110{border-top-color:color-mix(in srgb,currentColor 30%,transparent)!important}
.kiosk-person-schedule2110 .kiosk-day-chip2110{
  background:rgba(255,255,255,.14)!important;
  border-color:rgba(255,255,255,.30)!important;
}
.kiosk-person-schedule2110 .kiosk-day-chip2110.today{
  background:#fff!important;
  color:#155da8!important;
  border-color:#fff!important;
}

/* Paleta menos saturada; amarillo usa texto oscuro por contraste */
.kiosk-person.tone-0{background:linear-gradient(135deg,#0c7a72,#13a89b)!important;color:#fff!important}
.kiosk-person.tone-1{background:linear-gradient(135deg,#e7a72e,#f6cf69)!important;color:#172b3f!important}
.kiosk-person.tone-2{background:linear-gradient(135deg,#1d67c8,#2f89ee)!important;color:#fff!important}
.kiosk-person.tone-3{background:linear-gradient(135deg,#6546c7,#8765e8)!important;color:#fff!important}
.kiosk-person.tone-4{background:linear-gradient(135deg,#c83f72,#e45c91)!important;color:#fff!important}
.kiosk-person.tone-5{background:linear-gradient(135deg,#177fa7,#28a6cc)!important;color:#fff!important}

html.dc-dark .kiosk-person.tone-0,html[data-theme="dark"] .kiosk-person.tone-0{background:linear-gradient(135deg,#075f5a,#0b8e84)!important}
html.dc-dark .kiosk-person.tone-1,html[data-theme="dark"] .kiosk-person.tone-1{background:linear-gradient(135deg,#b97816,#d6a62e)!important;color:#fff!important}
html.dc-dark .kiosk-person.tone-2,html[data-theme="dark"] .kiosk-person.tone-2{background:linear-gradient(135deg,#174f9a,#216fc0)!important}
html.dc-dark .kiosk-person.tone-3,html[data-theme="dark"] .kiosk-person.tone-3{background:linear-gradient(135deg,#50349f,#684bbd)!important}
html.dc-dark .kiosk-person.tone-4,html[data-theme="dark"] .kiosk-person.tone-4{background:linear-gradient(135deg,#9f305a,#bd4670)!important}
html.dc-dark .kiosk-person.tone-5,html[data-theme="dark"] .kiosk-person.tone-5{background:linear-gradient(135deg,#116680,#1988a7)!important}

/* Formulario de checada: superficie real, no transparencia sobre azul */
.kiosk-punch-panel{
  max-width:650px!important;
  background:var(--kiosk-surface)!important;
  color:var(--kiosk-text)!important;
  border:1px solid var(--kiosk-line)!important;
  box-shadow:var(--kiosk-shadow)!important;
  backdrop-filter:none!important;
}
.kiosk-person-head>span{
  background:linear-gradient(135deg,var(--kiosk-primary),var(--kiosk-primary-2))!important;
  color:#fff!important;
  box-shadow:0 8px 22px rgba(20,119,223,.24);
}
.kiosk-person-head h1{color:var(--kiosk-text-strong)!important;font-weight:950!important}
.kiosk-punch-schedule2110,
.kiosk-punch-schedule2110 .kiosk-today2110,
.kiosk-punch-schedule2110 .kiosk-today2110>b,
.kiosk-punch-schedule2110 .kiosk-today2110 span,
.kiosk-punch-schedule2110 .kiosk-today2110 strong,
.kiosk-punch-schedule2110 .kiosk-days-label2110,
.kiosk-punch-schedule2110 .kiosk-day-chip2110,
.kiosk-punch-schedule2110 .kiosk-schedule-empty2110{
  color:var(--kiosk-text)!important;
}
.kiosk-punch-schedule2110 .kiosk-today2110{border-top-color:var(--kiosk-line)!important}
.kiosk-punch-schedule2110 .kiosk-day-chip2110{
  background:var(--kiosk-surface-2)!important;
  border-color:var(--kiosk-line)!important;
}
.kiosk-punch-schedule2110 .kiosk-day-chip2110.today{
  color:#fff!important;
  background:var(--kiosk-primary)!important;
  border-color:var(--kiosk-primary)!important;
}
.kiosk-pin-label{color:var(--kiosk-text-strong)!important}
.kiosk-pin-label input{
  background:var(--kiosk-surface-2)!important;
  color:var(--kiosk-text-strong)!important;
  border:2px solid var(--kiosk-line)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
}
.kiosk-pin-label input:focus{
  border-color:var(--kiosk-primary)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--kiosk-primary) 18%,transparent)!important;
}
.kiosk-photo-btn{
  color:var(--kiosk-text)!important;
  background:var(--kiosk-surface-2)!important;
  border-color:var(--kiosk-line)!important;
}
.kiosk-photo-name{color:var(--kiosk-muted)!important;opacity:1!important}
.kiosk-punch-button{
  background:linear-gradient(135deg,var(--kiosk-primary),var(--kiosk-primary-2))!important;
  color:#fff!important;
  box-shadow:0 10px 24px rgba(20,119,223,.22)!important;
}
.kiosk-punch-button:disabled{
  opacity:1!important;
  background:#aebdca!important;
  color:#eef3f7!important;
  box-shadow:none!important;
}
html.dc-dark .kiosk-punch-button:disabled,
html[data-theme="dark"] .kiosk-punch-button:disabled{background:#36526c!important;color:#8fa4b8!important}
.kiosk-error{color:#a3172d!important;background:#fff0f3!important;border-color:#f1a6b2!important}
html.dc-dark .kiosk-error,html[data-theme="dark"] .kiosk-error{color:#ffdce2!important;background:#451d28!important;border-color:#7d3447!important}

/* Confirmacion: un solo foco visual */
.kiosk-success{
  width:min(590px,calc(100% - 40px));
  margin:54px auto!important;
  padding:46px 28px!important;
  border-radius:30px;
  background:var(--kiosk-surface)!important;
  color:var(--kiosk-text)!important;
  border:1px solid var(--kiosk-line)!important;
  box-shadow:var(--kiosk-shadow)!important;
}
.kiosk-success-icon{
  background:var(--kiosk-success)!important;
  color:#fff!important;
  box-shadow:0 12px 30px color-mix(in srgb,var(--kiosk-success) 28%,transparent);
}
.kiosk-success h1{color:var(--kiosk-text-strong)!important;font-weight:950!important}
.kiosk-success h2{color:var(--kiosk-muted)!important;opacity:1!important}
.kiosk-success strong{color:var(--kiosk-text-strong)!important}
.kiosk-success p{color:var(--kiosk-text)!important}
.kiosk-success small{color:var(--kiosk-muted)!important;opacity:1!important}

/* Modal de salida coherente con ambos temas */
.kiosk-exit-lock{background:rgba(4,13,23,.72)!important;backdrop-filter:blur(7px)}
.kiosk-exit-card{
  background:var(--kiosk-surface)!important;
  color:var(--kiosk-text)!important;
  border:1px solid var(--kiosk-line)!important;
  box-shadow:var(--kiosk-shadow)!important;
}
.kiosk-exit-card h2{color:var(--kiosk-text-strong)!important}
.kiosk-exit-card input{background:var(--kiosk-surface-2)!important;color:var(--kiosk-text-strong)!important;border-color:var(--kiosk-line)!important}

/* Pantalla grande / TV */
@media(min-width:1200px){
  .kiosk-person-grid{max-width:1160px!important}
  .kiosk-person{min-height:265px!important}
  .kiosk-welcome h1{font-size:2.45rem!important}
}

/* Tablet / movil */
@media(max-width:900px){
  .kiosk-top{padding:12px 10px!important}
  .kiosk-clock{font-size:1.65rem!important}
  .kiosk-person{min-height:245px!important}
}
@media(max-width:620px){
  .kiosk-fullscreen-1059{padding-left:12px!important;padding-right:12px!important}
  .kiosk-top{gap:10px!important}
  .kiosk-top>div:first-child{display:none!important}
  .kiosk-clock{font-size:1.45rem!important}
  .kiosk-welcome{padding:24px 6px 14px!important}
  .kiosk-welcome h1{font-size:1.8rem!important}
  .kiosk-person-grid{margin-bottom:30px!important}
  .kiosk-punch-panel{margin:18px auto!important;padding:20px!important}
  .kiosk-success{margin:28px auto!important;padding:36px 18px!important}
  .kiosk-success strong{font-size:2.35rem!important}
}

/* dc-control-2.2.12-enterprise-ui.css?v=2.2.20 */
/* =====================================================================
   DC CONTROL 2.2.6 · JERARQUÍA VISUAL EMPRESARIAL
   Capa final de presentación. Consolida claro/oscuro sin tocar lógica.
   ===================================================================== */

:root{
  --dc-bg:#f2f5f9;
  --dc-bg-soft:#eaf0f6;
  --dc-surface:#ffffff;
  --dc-surface-2:#f7f9fc;
  --dc-surface-3:#edf2f7;
  --dc-surface-elevated:#ffffff;
  --dc-text:#132338;
  --dc-text-strong:#0b1e35;
  --dc-muted:#63758a;
  --dc-subtle:#8796a8;
  --dc-line:#d9e2ec;
  --dc-line-strong:#c6d2df;
  --dc-input:#ffffff;
  --dc-input-hover:#f8fafc;
  --dc-primary:#1478e8;
  --dc-primary-strong:#0a5fc4;
  --dc-primary-soft:#eaf4ff;
  --dc-navy:#082844;
  --dc-navy-2:#0b3e6d;
  --dc-success:#0c9c64;
  --dc-warning:#d38309;
  --dc-danger:#d83f50;
  --dc-purple:#7544d8;
  --dc-cyan:#0c94ad;
  --dc-shadow-xs:0 1px 3px rgba(15,34,55,.05);
  --dc-shadow-sm:0 6px 18px rgba(15,34,55,.07);
  --dc-shadow:0 14px 34px rgba(15,34,55,.09);
  --dc-shadow-lg:0 28px 70px rgba(3,20,38,.20);
  --dc-radius-sm:12px;
  --dc-radius:16px;
  --dc-radius-lg:20px;
  --dc-radius-xl:26px;
  --dc-control-h:48px;
  --dc-safe-bottom:env(safe-area-inset-bottom,0px);
  --surface:var(--dc-surface);
  --card:var(--dc-surface);
  --text:var(--dc-text);
  --muted:var(--dc-muted);
  --line:var(--dc-line);
}

html.dc-dark,
html[data-theme="dark"]{
  --dc-bg:#08131f;
  --dc-bg-soft:#0c1927;
  --dc-surface:#111f2e;
  --dc-surface-2:#162638;
  --dc-surface-3:#1d3044;
  --dc-surface-elevated:#17293b;
  --dc-text:#edf4fb;
  --dc-text-strong:#ffffff;
  --dc-muted:#a9b8c9;
  --dc-subtle:#8193a7;
  --dc-line:#2a4056;
  --dc-line-strong:#3b536b;
  --dc-input:#0d1a28;
  --dc-input-hover:#132336;
  --dc-primary:#58a9ff;
  --dc-primary-strong:#2d8ef3;
  --dc-primary-soft:#102b46;
  --dc-navy:#061a2d;
  --dc-navy-2:#0a345b;
  --dc-success:#31c98b;
  --dc-warning:#f0ac33;
  --dc-danger:#ff7180;
  --dc-purple:#a47be9;
  --dc-cyan:#4dc2d6;
  --dc-shadow-xs:0 1px 3px rgba(0,0,0,.16);
  --dc-shadow-sm:0 8px 22px rgba(0,0,0,.20);
  --dc-shadow:0 16px 38px rgba(0,0,0,.26);
  --dc-shadow-lg:0 28px 75px rgba(0,0,0,.42);
  --surface:var(--dc-surface);
  --card:var(--dc-surface);
  --text:var(--dc-text);
  --muted:var(--dc-muted);
  --line:var(--dc-line);
}

/* ====== Base empresarial ====== */
html,body{background:var(--dc-bg)!important;color:var(--dc-text)!important}
body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Roboto,Arial,sans-serif!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
main,#view{color:var(--dc-text)!important}
main{max-width:100%}
h1,h2,h3,h4,h5,h6{color:var(--dc-text-strong);letter-spacing:-.02em}
p,.muted,.label,small{color:var(--dc-muted)}
a{color:var(--dc-primary)}

/* ====== Acceso / página inicial ====== */
.auth-shell{
  min-height:100dvh!important;
  display:grid!important;
  place-items:center!important;
  padding:clamp(18px,4vw,48px)!important;
  background:
    radial-gradient(circle at 13% 9%,rgba(34,132,237,.22),transparent 30%),
    radial-gradient(circle at 88% 88%,rgba(17,169,132,.11),transparent 31%),
    linear-gradient(145deg,#061522 0%,#082844 52%,#0a355b 100%)!important;
  color:#fff!important;
}
html:not(.dc-dark) .auth-shell,
html[data-theme="light"] .auth-shell{
  background:
    radial-gradient(circle at 13% 9%,rgba(34,132,237,.12),transparent 30%),
    radial-gradient(circle at 88% 88%,rgba(17,169,132,.08),transparent 31%),
    linear-gradient(145deg,#eaf2fa 0%,#f5f8fc 52%,#e8f0f8 100%)!important;
}
.auth-card{
  width:min(100%,520px)!important;
  background:var(--dc-surface-elevated)!important;
  color:var(--dc-text)!important;
  border:1px solid var(--dc-line)!important;
  border-radius:28px!important;
  padding:clamp(22px,4vw,34px)!important;
  box-shadow:var(--dc-shadow-lg)!important;
  position:relative;
  overflow:hidden;
}
.auth-card::before{
  content:"";
  display:block;
  position:absolute;
  inset:0 0 auto 0;
  height:5px;
  background:linear-gradient(90deg,#1478e8 0 46%,#13aa73 46% 70%,#7b49dc 70% 100%);
}
.auth-brand226{text-align:center;margin-bottom:22px}
.auth-brand226 .dc-auth-logo1047{
  width:96px!important;height:96px!important;margin:0 auto 14px!important;
  border:3px solid rgba(255,255,255,.92)!important;
  box-shadow:0 12px 28px rgba(10,70,126,.20)!important;
}
.auth-brand226 .eyebrow{
  color:var(--dc-primary)!important;opacity:1!important;font-size:10px!important;
  letter-spacing:.16em!important;font-weight:900!important;margin-bottom:6px!important;
}
.auth-brand226 h1{font-size:clamp(27px,5vw,34px)!important;margin:0!important;line-height:1.05!important;color:var(--dc-text-strong)!important}
.auth-brand226 .auth-subtitle226{margin:8px 0 0!important;font-size:13px!important;color:var(--dc-muted)!important;font-weight:700!important}
.auth-intro226{
  margin:0 0 19px!important;padding:12px 14px!important;
  border-radius:14px!important;background:var(--dc-surface-2)!important;border:1px solid var(--dc-line)!important;
  color:var(--dc-muted)!important;font-size:12px!important;line-height:1.45!important;
}
.auth-form226{display:grid;gap:12px}
.auth-card label{margin:0!important;color:var(--dc-text)!important;font-weight:800!important;font-size:12px!important}
.auth-card input{
  min-height:51px!important;margin-top:7px!important;padding:12px 14px!important;
  background:var(--dc-input)!important;color:var(--dc-text)!important;
  border:1px solid var(--dc-line-strong)!important;border-radius:13px!important;
  box-shadow:var(--dc-shadow-xs)!important;
}
.auth-card input:focus{border-color:var(--dc-primary)!important;box-shadow:0 0 0 4px rgba(20,120,232,.13)!important}
.auth-card .primary{min-height:52px!important;border-radius:13px!important;font-size:15px!important;margin-top:2px!important}
.auth-card .status{border-radius:14px!important;margin:0 0 14px!important}
.auth-setup{
  margin:20px 0 0!important;padding:0!important;border:1px solid var(--dc-line)!important;
  border-radius:14px!important;background:var(--dc-surface-2)!important;overflow:hidden!important;
}
.auth-setup summary{
  list-style:none;padding:13px 14px!important;color:var(--dc-muted)!important;font-size:11px!important;
  font-weight:850!important;cursor:pointer!important;display:flex!important;align-items:center!important;gap:8px!important;
}
.auth-setup summary::-webkit-details-marker{display:none}
.auth-setup summary::before{content:"⚙";font-size:13px}
.auth-setup[open] summary{border-bottom:1px solid var(--dc-line)!important;color:var(--dc-text)!important}
.auth-setup>p,.auth-setup>label,.auth-setup>button{margin-left:14px!important;margin-right:14px!important}
.auth-setup>p{font-size:11px!important;line-height:1.45!important}
.auth-setup>button{width:calc(100% - 28px)!important;margin-bottom:14px!important}
.auth-card .security{
  margin:13px 0 0!important;padding:10px 12px!important;border-radius:12px!important;
  background:transparent!important;border:0!important;color:var(--dc-subtle)!important;font-size:10.5px!important;line-height:1.4!important;text-align:center!important;
}

/* ====== Encabezado principal ====== */
.topbar{
  background:linear-gradient(135deg,#071d33 0%,#0a3560 58%,#0a4b78 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 10px 28px rgba(5,25,47,.18)!important;
}
.topbar h1,.topbar .eyebrow,.topbar .subtitle{color:#fff!important}
.topbar .eyebrow{opacity:.76!important}.topbar .subtitle{opacity:.82!important}
.search-launch,.topbar .icon-btn,.user-card1048{
  border-color:rgba(255,255,255,.16)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;
}
.search-launch:hover,.topbar .icon-btn:hover,.user-card1048:hover{background:rgba(255,255,255,.16)!important}

/* ====== Jerarquía común de páginas ====== */
.section{background:transparent!important;color:var(--dc-text)!important}
.page-head1046,.exec-head,.route-head,.cards-hero-head,.enterprise-section-head,.config-section-head,
.route-points-head1047,.section-title{
  color:var(--dc-text)!important;
}
.page-head1046,.exec-head,.route-head,.cards-hero-head{
  padding:16px 17px!important;margin:0 0 14px!important;
  background:var(--dc-surface)!important;border:1px solid var(--dc-line)!important;border-radius:var(--dc-radius-lg)!important;
  box-shadow:var(--dc-shadow-sm)!important;
}
.page-head1046 h2,.exec-head h2,.route-head h2,.cards-hero-head h2,.enterprise-section-head h3,.section-title h3{color:var(--dc-text-strong)!important}
.page-head1046 p,.exec-head p,.route-head p,.cards-hero-head p,.enterprise-section-head small,.section-title small{color:var(--dc-muted)!important}

/* ====== Superficies y tarjetas ====== */
.card,.metric,.exec-card,.report-card,.config-section-block,.dc-appearance-card,.map-config-card,
.recon-filter-pro,.recon-main-table,.movement-row,.finance-row,.weekly-card,.schedule-day-row,
.w3-group,.w3-card,.imei-row,.imei-stats>div,.supplier-debt-card,.capture-card,.sicar-card,
.internal-report-card,.dc-close-other,.dc-close-detail,.dc-route-cash-detail{
  background:var(--dc-surface)!important;color:var(--dc-text)!important;
  border-color:var(--dc-line)!important;box-shadow:var(--dc-shadow-sm)!important;
}
.card,.metric,.exec-card,.report-card,.config-section-block,.dc-appearance-card,.map-config-card,
.supplier-debt-card,.capture-card,.sicar-card,.internal-report-card{border-radius:var(--dc-radius-lg)!important}
.card h3,.card h4,.metric strong,.exec-card b,.report-card b{color:var(--dc-text-strong)!important}
.card p,.card small,.metric small,.exec-card small,.report-card small{color:var(--dc-muted)!important}
.row{border-bottom-color:var(--dc-line)!important;color:var(--dc-text)!important}

/* Neutraliza fondos heredados claros dentro de módulos estructurales */
html.dc-dark :is(
  .proposal,.expense-row,.location-stat,.location-person,.route-control-card,.route-card,.route-mode1047,
  .evidence-card1047,.debt-evolution1043,.payroll-cancel-box1044,.kiosk-people1045 button,
  .delivery-fixed1047,.photo-drop,.stop-instructions,.enterprise-table-wrap,.v1049-table-zone,
  .module-103,.module-1046,.module-204,.module-202,.module-203,.module-205
){background:var(--dc-surface)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important}
html.dc-dark :is(.route-mode1047:has(input:checked),.photo-drop,.delivery-fixed1047){background:var(--dc-primary-soft)!important;color:var(--dc-primary)!important}

/* ====== Formularios ====== */
label{color:var(--dc-text)!important}
input,select,textarea{
  min-height:var(--dc-control-h)!important;
  background:var(--dc-input)!important;color:var(--dc-text)!important;
  border:1px solid var(--dc-line-strong)!important;border-radius:var(--dc-radius-sm)!important;
  box-shadow:var(--dc-shadow-xs)!important;
}
input::placeholder,textarea::placeholder{color:var(--dc-subtle)!important;opacity:1!important}
input:hover,select:hover,textarea:hover{background:var(--dc-input-hover)!important}
input:focus,select:focus,textarea:focus{border-color:var(--dc-primary)!important;box-shadow:0 0 0 3px rgba(20,120,232,.13)!important}
select option{background:var(--dc-surface)!important;color:var(--dc-text)!important}
input[type="checkbox"],input[type="radio"]{accent-color:var(--dc-primary);box-shadow:none!important}

/* ====== Botones ====== */
.primary,.secondary,.mini,.danger,.config-add,.map-open-btn,.map-center-btn,.icon-btn.light{
  min-height:42px!important;border-radius:12px!important;font-weight:850!important;
}
.primary{background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong))!important;color:#fff!important;border:0!important;box-shadow:0 8px 17px rgba(20,120,232,.20)!important}
.secondary,.mini,.icon-btn.light{background:var(--dc-surface-3)!important;color:var(--dc-text)!important;border:1px solid var(--dc-line)!important}
.danger{background:rgba(216,63,80,.10)!important;color:var(--dc-danger)!important;border:1px solid rgba(216,63,80,.25)!important}
button:disabled{opacity:.48!important;filter:saturate(.55)!important}

/* ====== Pestañas y navegación interna ====== */
.module-tabs1046,.config-tabs,.finance-tabs-pro210,.dc-cashhub-tabs,.dc-precut-subtabs,.route-zone-tabs10411,
.tabs104,.dc-theme-switch,.sicar-package-tabs,.internal-report-tabs{gap:8px!important}
.module-tabs1046 button,.config-tabs button,.finance-tabs-pro210 button,.dc-cashhub-tabs button,
.dc-precut-subtabs button,.route-zone-tabs10411 button,.dc-theme-switch button,.sicar-package-tabs button,.internal-report-tabs button{
  min-height:44px!important;border-radius:13px!important;background:var(--dc-surface-2)!important;color:var(--dc-text)!important;
  border:1px solid var(--dc-line)!important;font-weight:850!important;
}
.module-tabs1046 button.active,.config-tabs button.active,.finance-tabs-pro210 button.active,.dc-cashhub-tabs button.active,
.dc-precut-subtabs button.active,.route-zone-tabs10411 button.active,.dc-theme-switch button.active,.sicar-package-tabs button.active,.internal-report-tabs button.active{
  background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong))!important;color:#fff!important;border-color:transparent!important;
  box-shadow:0 7px 16px rgba(20,120,232,.18)!important;
}

/* ====== Detalles / desplegables ====== */
details{border-color:var(--dc-line)!important;color:var(--dc-text)!important}
details>summary{color:var(--dc-text)!important;border-radius:11px!important}
details>summary:hover{background:rgba(20,120,232,.055)!important}
html.dc-dark details>summary:hover{background:rgba(88,169,255,.08)!important}
.embedded-module1046[open]>summary{border-bottom-color:var(--dc-line)!important}

/* ====== Tablas ====== */
.enterprise-table-wrap,.v1049-table-zone,.recon-main-table,.sicar-table-wrap,.internal-report-table-wrap{
  background:var(--dc-surface)!important;border:1px solid var(--dc-line)!important;border-radius:var(--dc-radius)!important;overflow:auto!important;
}
table{color:var(--dc-text)!important;border-color:var(--dc-line)!important}
th{background:var(--dc-surface-3)!important;color:var(--dc-text-strong)!important;border-color:var(--dc-line)!important}
td{color:var(--dc-text)!important;border-color:var(--dc-line)!important}
tbody tr:hover td{background:rgba(20,120,232,.035)!important}
html.dc-dark tbody tr:hover td{background:rgba(88,169,255,.045)!important}

/* ====== Modales / hojas ====== */
.overlay{background:rgba(3,12,23,.66)!important;backdrop-filter:blur(9px)!important}
.sheet,.config-overlay .sheet,.manual-movement-sheet,.route-expense-sheet,.route-expense-list-sheet{
  background:var(--dc-surface-elevated)!important;color:var(--dc-text)!important;border:1px solid var(--dc-line)!important;
  box-shadow:var(--dc-shadow-lg)!important;
}
.sheet-head{background:linear-gradient(180deg,var(--dc-surface-elevated) 78%,transparent)!important}
.sheet-head h2{color:var(--dc-text-strong)!important}

/* ====== Estados ====== */
.status,.alert,.security,.match,.pill,.greenpill,.warnpill,.mutedpill{border-radius:12px!important}
.status.green,.status.ok,.greenpill{background:rgba(12,156,100,.10)!important;color:var(--dc-success)!important;border-color:rgba(12,156,100,.25)!important}
.status.yellow,.status.warn,.warnpill,.alert{background:rgba(211,131,9,.11)!important;color:var(--dc-warning)!important;border-color:rgba(211,131,9,.27)!important}
.status.red,.status.bad,.alert.red{background:rgba(216,63,80,.10)!important;color:var(--dc-danger)!important;border-color:rgba(216,63,80,.25)!important}
.pill,.match{background:var(--dc-primary-soft)!important;color:var(--dc-primary)!important;border-color:rgba(20,120,232,.20)!important}
.mutedpill{background:var(--dc-surface-3)!important;color:var(--dc-muted)!important;border-color:var(--dc-line)!important}

/* ====== Inicio / tablero ====== */
.hero{
  background:linear-gradient(135deg,#062744 0%,#0a4f86 66%,#0d6a72 100%)!important;
  border:1px solid rgba(255,255,255,.12)!important;border-radius:24px!important;
  box-shadow:0 16px 40px rgba(7,31,58,.18)!important;color:#fff!important;
}
.hero :is(h2,h3,b,strong,.eyebrow,.score,.score small,p){color:#fff!important}
.hero p{opacity:.83!important}
.metric{border-left-width:4px!important}

/* ====== Finanzas / conciliación ====== */
.finance-filter,.recon-filter-pro,.recon-focus-filter{background:var(--dc-surface)!important;color:var(--dc-text)!important;border-color:var(--dc-line)!important}
.recon-priority-banner{background:linear-gradient(135deg,var(--dc-primary-soft),rgba(12,156,100,.08))!important;border-color:var(--dc-line)!important}
.recon-priority-banner h2{color:var(--dc-text-strong)!important}.recon-priority-banner p{color:var(--dc-muted)!important}
.recon-group-card,.recon-bank-open-list>div,.recon-groups-empty{color:var(--dc-text)!important;border-color:var(--dc-line)!important}

/* ====== SICAR / Reporte interno / Captura / Proveedores ====== */
[class*="sicar-"] :is(h2,h3,h4,b,strong),[class*="internal-report"] :is(h2,h3,h4,b,strong){color:var(--dc-text-strong)}
[class*="sicar-"] :is(p,small,.muted),[class*="internal-report"] :is(p,small,.muted){color:var(--dc-muted)}
.sicar-package-shell,.capture-enterprise,.supplier-debt-shell,.internal-report-shell{color:var(--dc-text)!important}
html.dc-dark :is(.sicar-package-shell,.capture-enterprise,.supplier-debt-shell,.internal-report-shell) :is(.card,.metric,.panel,.box,section){border-color:var(--dc-line)!important}

/* ====== Configuración / empleados / nómina ====== */
[data-dc-page="settings"] :is(.config-user-card,.config-role-card,.config-supplier-card,.config-info-grid>div),
[data-dc-page="payroll"] :is(.v10498-payroll-card,.weekly-card),
[data-dc-page="team"] :is(.card,.employee-directory1045 .row){border-color:var(--dc-line)!important;box-shadow:var(--dc-shadow-sm)!important}
html.dc-dark [data-dc-page="settings"] :is(.config-user-card,.config-role-card,.config-supplier-card,.config-info-grid>div){background:var(--dc-surface)!important;color:var(--dc-text)!important}

/* ====== Kiosco: respeta 2.2.4 y evita contaminación ====== */
.kiosk-fullscreen-1059{isolation:isolate}
html:not(.dc-dark) .kiosk-fullscreen-1059{color:#10243b}
html.dc-dark .kiosk-fullscreen-1059{color:#f2f7fd}
.kiosk-fullscreen-1059 :is(input,button,select){font-family:inherit}

/* ====== Barra inferior ====== */
.bottom-nav,.bottom-nav.v1049-nav-centered{
  background:rgba(255,255,255,.95)!important;border:1px solid var(--dc-line)!important;
  box-shadow:0 -8px 30px rgba(15,35,60,.12)!important;backdrop-filter:blur(18px)!important;
}
html.dc-dark .bottom-nav,html.dc-dark .bottom-nav.v1049-nav-centered{background:rgba(15,29,44,.96)!important}
.bottom-nav button.nav1048{border-radius:15px!important}
.bottom-nav button.nav1048.active{outline:2px solid var(--dc-surface)!important;box-shadow:0 0 0 4px rgba(20,120,232,.13),0 5px 14px rgba(15,35,60,.20)!important}

/* ====== Responsive empresarial ====== */
@media(max-width:760px){
  main,#view{padding-left:10px!important;padding-right:10px!important}
  .auth-shell{padding:16px!important;place-items:center!important}
  .auth-card{padding:22px 18px!important;border-radius:22px!important}
  .auth-brand226 .dc-auth-logo1047{width:82px!important;height:82px!important}
  .page-head1046,.exec-head,.route-head,.cards-hero-head{padding:13px!important;border-radius:17px!important}
  .card,.metric,.exec-card,.report-card{border-radius:16px!important}
  .sheet{border-radius:22px 22px 0 0!important;padding:14px!important}
  .bottom-nav,.bottom-nav.v1049-nav-centered{
    left:max(5px,env(safe-area-inset-left))!important;right:max(5px,env(safe-area-inset-right))!important;width:auto!important;
    border-radius:19px!important;padding:5px 5px calc(5px + var(--dc-safe-bottom))!important;gap:4px!important;
  }
}

@media(max-width:430px){
  .auth-card{padding:20px 16px!important}
  .auth-intro226{padding:10px 11px!important}
  .hero{padding:16px!important;border-radius:19px!important}
  .primary,.secondary,.mini{min-height:44px!important}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}

/* DC CONTROL 2.2.12 · Integridad de interacción */
.sheet-head :is([data-x],[data-cashhub-x],[data-kiosk-close],.icon-btn.light),
.overlay :is([data-x],[data-close],[data-close-task],[data-close-ai],[data-kiosk-close],[data-cashhub-x]),
.dc-task-editor [data-close-task]{
  position:relative!important;
  z-index:120!important;
  pointer-events:auto!important;
  touch-action:manipulation!important;
}
#alertBtn{pointer-events:auto!important;touch-action:manipulation!important;position:relative!important;z-index:3!important}
.dc-alerts-page229 .dc-personal-tabs{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin-bottom:12px!important}
.dc-alerts-page229 .dc-personal-tabs button{min-height:44px!important;border-radius:13px!important;background:var(--dc-surface-2)!important;color:var(--dc-text)!important;border:1px solid var(--dc-line)!important;font-weight:850!important}
.dc-alerts-page229 .dc-personal-tabs button.active{background:linear-gradient(135deg,var(--dc-primary),var(--dc-primary-strong))!important;color:#fff!important;border-color:transparent!important}


/* DC CONTROL 2.2.12 — revisión SICAR entre periodos */
.bf217 .bf-extra-buckets{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.bf217 .bf-extra-buckets article{display:flex;align-items:center;gap:9px;min-height:68px;padding:10px 12px;border:1px solid rgba(100,116,139,.18);border-radius:14px;background:rgba(248,250,252,.72)}
.bf217 .bf-extra-buckets article>span{font-size:20px}.bf217 .bf-extra-buckets article>div{display:grid;gap:1px}.bf217 .bf-extra-buckets small{font-size:10px;font-weight:800;color:var(--muted,#64748b)}
.bf217 .bf-extra-buckets b{font-size:20px;line-height:1}.bf217 .bf-extra-buckets em{font-style:normal;font-size:10px;color:var(--muted,#64748b)}
.bf217 .bf-cross-ok{margin:-4px 0 14px;padding:10px 12px;border-radius:12px;background:rgba(22,163,74,.10);border:1px solid rgba(22,163,74,.22);font-size:12px;font-weight:700;color:#166534}
.bf217 .bf-extra-row212{grid-template-columns:100px 115px minmax(120px,1fr) minmax(280px,2.2fr) auto}
.bf217 .bf-extra-detail{display:grid;gap:5px}.bf217 .bf-extra-actions{display:flex;justify-content:flex-end}
.bf-extra-badge{display:inline-flex;width:max-content;max-width:100%;align-items:center;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900;line-height:1.1;border:1px solid transparent}
.bf-extra-badge.pending_real{background:rgba(239,68,68,.10);color:#b91c1c;border-color:rgba(239,68,68,.22)}
.bf-extra-badge.other_month{background:rgba(37,99,235,.10);color:#1d4ed8;border-color:rgba(37,99,235,.22)}
.bf-extra-badge.missing_statement{background:rgba(245,158,11,.13);color:#a16207;border-color:rgba(245,158,11,.28)}
.bf-extra-badge.possible_multi{background:rgba(124,58,237,.10);color:#6d28d9;border-color:rgba(124,58,237,.22)}
.bf-extra-badge.manual_review{background:rgba(249,115,22,.11);color:#c2410c;border-color:rgba(249,115,22,.24)}
.bf-cross-note{display:block;margin-top:5px;padding:5px 7px;border-radius:8px;background:rgba(37,99,235,.08);color:#1d4ed8;font-weight:800}
.bf-cross-modal{width:min(1040px,97vw)}
.bf-cross-rules{margin:14px 24px 10px;padding:11px 13px;border-radius:12px;background:rgba(37,99,235,.07);border:1px solid rgba(37,99,235,.17);font-size:12px;color:var(--text,#1f2937)}
.bf-cross-diagnosis{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0 24px 10px}.bf-cross-diagnosis small{padding:4px 7px;border-radius:8px;background:rgba(100,116,139,.08)}.bf-cross-diagnosis small.warn{background:rgba(245,158,11,.12);color:#a16207;font-weight:800}
.bf-cross-evidence{display:grid;gap:3px;margin:0 24px 10px;padding:10px 12px;border-radius:12px;background:rgba(16,185,129,.07);border:1px solid rgba(16,185,129,.17);font-size:12px}.bf-cross-evidence span,.bf-cross-evidence small{color:var(--muted,#64748b)}
.bf-cross-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 24px 10px}.bf-cross-list{padding-top:4px}.bf-cross-candidate{display:grid;grid-template-columns:auto minmax(180px,.8fr) minmax(280px,2fr);gap:10px;align-items:center;padding:10px 8px;border-bottom:1px solid rgba(100,116,139,.14)}.bf-cross-candidate input{width:18px;height:18px}.bf-cross-candidate small{color:var(--muted,#64748b)}
.bf-cross-empty{display:grid;gap:4px;padding:18px;border:1px dashed rgba(100,116,139,.35);border-radius:14px;text-align:center}.bf-cross-empty span{font-size:12px;color:var(--muted,#64748b)}
.bf-cross-footer-actions{display:flex;gap:8px}
@media(max-width:900px){.bf217 .bf-extra-buckets{grid-template-columns:repeat(2,minmax(0,1fr))}.bf217 .bf-extra-row212{grid-template-columns:1fr 1fr}.bf217 .bf-extra-row212 .bf-extra-detail,.bf217 .bf-extra-row212 .bf-extra-actions{grid-column:1/-1}.bf217 .bf-extra-actions{justify-content:flex-start}}
@media(max-width:700px){.bf-cross-rules,.bf-cross-diagnosis,.bf-cross-evidence,.bf-cross-toolbar{margin-left:16px;margin-right:16px}.bf-cross-candidate{grid-template-columns:auto 1fr}.bf-cross-candidate small{grid-column:2}.bf-cross-footer-actions{display:grid;grid-template-columns:1fr 1fr}.bf217 .bf-extra-buckets{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.bf217 .bf-extra-buckets{grid-template-columns:1fr}.bf-cross-footer-actions{grid-template-columns:1fr}}

/* 2.2.20 · accesos reubicados; sólo presentación, sin carga de datos */
.more-card1048[data-more-page1048="creditBalance"]{background:linear-gradient(135deg,#0ea5a4,#08767c)!important}
.more-card1048[data-more-page1048="tasks"]{background:linear-gradient(135deg,#e3aa05,#bc7900)!important}
.more-card1048 .dc2218-emoji{font-size:30px;line-height:1;display:grid;place-items:center}
