@import"https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Source+Serif+4:wght@500;600&display=swap";.panel-parameters[data-v-458cc64f]{grid-column:2;max-height:100vh;overflow-y:auto}.form-fieldset[data-v-458cc64f]{border:none;padding:0;margin:1.5rem 0}.form-legend[data-v-458cc64f]{font-weight:600;font-size:.9rem;margin-bottom:.75rem;display:block}.corridor-selector[data-v-458cc64f],.dock-selector[data-v-458cc64f]{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:.35rem}.checkbox-label[data-v-458cc64f]{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.box-label[data-v-458cc64f]{padding:0}.checkbox-label input[type=checkbox][data-v-458cc64f]{position:absolute;opacity:0;width:0;height:0}.box-visual[data-v-458cc64f]{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfcfcf;border-radius:6px;font-size:.85rem;color:#333;background:#fff;transition:all .12s ease}.box-visual[data-v-458cc64f]:hover{transform:translateY(-1px);box-shadow:0 1px 2px #0000000f}.checkbox-label input[type=checkbox]:checked+.box-visual[data-v-458cc64f]{background-color:#e03f4f;color:#fff;border-color:#e03f4f}.checkbox-label input[type=checkbox]:disabled+.box-visual[data-v-458cc64f]{opacity:.5;cursor:not-allowed}.form-group[data-v-458cc64f]{margin:1rem 0}.form-label[data-v-458cc64f]{display:block;font-weight:500;margin-bottom:.5rem;font-size:.9rem}.form-input[data-v-458cc64f]{width:100%;padding:.5rem;border:1px solid #ddd;border-radius:.5rem;font-size:.9rem;transition:border-color .2s ease}.form-input[data-v-458cc64f]:focus{outline:none;border-color:#06c;box-shadow:0 0 0 3px #0066cc1a}.form-input[data-v-458cc64f]:disabled{background-color:#f5f5f5;cursor:not-allowed}.form-actions[data-v-458cc64f]{display:flex;gap:.75rem;margin-top:1.5rem}.form-actions button[data-v-458cc64f]{flex:1}@media(max-width:768px){.panel-parameters[data-v-458cc64f]{grid-column:1 / -1;max-height:none}.corridor-selector[data-v-458cc64f],.dock-selector[data-v-458cc64f]{grid-template-columns:repeat(auto-fill,minmax(40px,1fr))}}:root{--demac-blue: #4a5d8f;--demac-light-blue: #6b7db3;--demac-gray: #404040;--bg-soft: #e5e9f2;--card-bg: #f8faff;--white: #ffffff;--ok: #2b7f59;--warning: #9b2020;font-family:Manrope,sans-serif;color:var(--demac-gray)}*{box-sizing:border-box}body{margin:0;min-height:100vh;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;background:radial-gradient(circle at 12% 10%,rgb(255 255 255 / 90%),transparent 35%),linear-gradient(125deg,#d4dbea,#f3f5fa 52%,#dce2ee)}#app{min-height:100dvh}h1,h2,h3,h4{font-family:"Source Serif 4",serif}.login-page{min-height:100vh;display:grid;place-items:center;padding:2rem 1rem}.login-card{width:min(100%,430px);border-radius:12px;background:var(--card-bg);border:1px solid rgb(74 93 143 / 28%);box-shadow:0 22px 45px #40404033;padding:1.6rem 1.6rem 1.8rem;animation:fadeUp .45s ease-out}.login-brand{display:flex;justify-content:center;margin-bottom:.9rem}.login-logo{width:min(220px,65vw);height:auto}.login-title{margin:.2rem 0 0;text-align:center;font-size:1.78rem;color:var(--demac-gray)}.login-subtitle{margin:.4rem 0 1.25rem;text-align:center;color:#404040bf}.login-form{display:grid;gap:.42rem}.login-password-row{display:flex;justify-content:space-between;align-items:center;margin-top:.4rem}label{font-size:.95rem;font-weight:600}input,select{width:100%;min-height:42px;border-radius:8px;border:1px solid rgb(74 93 143 / 48%);padding:.62rem .75rem;font-size:.95rem;color:var(--demac-gray);background:#fff}input:focus,select:focus{outline:2px solid rgb(107 125 179 / 55%);outline-offset:1px}.link-button{border:0;background:transparent;color:var(--demac-blue);font-size:.8rem;cursor:pointer;padding:0}.primary-button,.secondary-button,.ghost-button,.refresh-button,.mini-button{min-height:40px;border-radius:8px;border:0;cursor:pointer;font-weight:600;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease}.primary-button{background:linear-gradient(90deg,var(--demac-blue),var(--demac-light-blue));color:var(--white);padding:.6rem 1rem}.primary-button:hover:enabled,.mini-button:hover:enabled,.refresh-button:hover:enabled,.ghost-button:hover{transform:translateY(-1px);box-shadow:0 9px 16px #4a5d8f47}.primary-button:disabled,.mini-button:disabled,.refresh-button:disabled{cursor:not-allowed;opacity:.72}.secondary-button{border:1px solid rgb(74 93 143 / 42%);color:var(--demac-blue);background:#ffffffe0;padding:.6rem 1rem}.ghost-button{background:transparent;border:1px solid rgb(107 125 179 / 45%);color:var(--demac-blue);padding:.4rem .8rem;min-height:34px}.refresh-button,.mini-button{background:#6b7db32e;color:var(--demac-blue);padding:.3rem .65rem;min-height:34px}.mini-button{font-size:.83rem}.full-width{width:100%}.feedback{margin:.5rem 0 0;font-size:.92rem}.feedback.error{color:var(--warning)}.feedback.success{color:var(--ok)}.feedback.info{color:#06c}.app-shell{min-height:100dvh;padding:.8rem;display:grid;grid-template-columns:minmax(180px,240px) 1fr;gap:.35rem}.sidebar-panel{border-radius:8px;background:linear-gradient(170deg,var(--demac-blue),#5c72ab);color:var(--white);padding:.75rem}.sidebar-logo-wrap{min-height:82px;display:flex;align-items:center;justify-content:center;padding:.4rem;border-radius:7px;background:#ffffff1a}.sidebar-logo{width:140px;max-width:100%;height:auto}.sidebar-nav{margin-top:.85rem;display:grid;gap:.3rem}.sidebar-link{color:var(--white);text-decoration:none;border-radius:6px;padding:.58rem .65rem;font-size:.9rem;background:#ffffff14}.sidebar-link.active{background:#ffffff3d;font-weight:700}.sidebar-link.disabled{opacity:.65;cursor:not-allowed}.main-panel{border-radius:8px;background:linear-gradient(180deg,#7f94ad,#7a90aa);padding:.72rem;min-width:0;overflow:auto;-webkit-overflow-scrolling:touch}.top-bar{min-height:56px;border-radius:7px;background:var(--white);display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.55rem .75rem}.screen-title{margin:0;font-size:clamp(1.15rem,2vw,1.85rem);color:var(--demac-gray)}.top-user-actions{display:flex;align-items:center;gap:.45rem}.user-chip{background:#4a5d8f1f;color:var(--demac-gray);border:1px solid rgb(74 93 143 / 25%);border-radius:999px;padding:.35rem .72rem;font-size:.86rem}.screen-content{margin-top:.8rem;min-width:0}.content-grid{display:grid;grid-template-columns:2fr minmax(240px,1fr);gap:.75rem;align-items:start}.content-grid.single-column{grid-template-columns:1fr}.panel-card{background:var(--card-bg);border:1px solid rgb(74 93 143 / 25%);border-radius:8px;padding:.85rem;box-shadow:0 12px 20px #40404026;animation:fadeUp .38s ease-out}.panel-card h2{margin:0;font-size:1.25rem}.panel-main{min-height:350px}.panel-placeholder{min-height:200px;background:linear-gradient(0deg,#ffffffd1,#ffffffd1),repeating-linear-gradient(45deg,rgb(107 125 179 / 18%),rgb(107 125 179 / 18%) 12px,transparent 12px,transparent 24px)}.panel-header{display:flex;align-items:center;justify-content:space-between;gap:.55rem;margin-bottom:.45rem}.panel-subtitle{margin:.25rem 0 0;color:#404040c2;font-size:.88rem}.home-view-tabs{display:inline-flex;gap:.45rem;margin-bottom:.75rem;padding:.25rem;border-radius:999px;background:#4a5d8f14;border:1px solid rgb(74 93 143 / 18%)}.home-view-tab{border:0;border-radius:999px;padding:.5rem .8rem;background:transparent;color:var(--demac-gray);font-weight:700;cursor:pointer}.home-view-tab.active{background:var(--white);color:var(--demac-blue);box-shadow:0 8px 14px #4a5d8f1f}.lost-palets-view{display:grid;gap:.8rem}.lost-palets-list{display:grid;gap:.65rem}.lost-palet-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border-radius:10px;border:1px solid rgb(74 93 143 / 18%);background:var(--white);padding:.8rem .9rem;box-shadow:0 10px 18px #40404014}.lost-palet-card.found{border-color:#2c855e47;background:linear-gradient(90deg,#80dab329,#fff 45%)}.lost-palet-main{min-width:0;display:grid;gap:.22rem}.lost-palet-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.lost-palet-heading strong{overflow-wrap:anywhere}.lost-palet-meta{margin:0;color:#404040bd;font-size:.86rem}.lost-palet-actions{display:flex;justify-content:flex-end}.panel-note{margin:0 0 .85rem;color:#404040c7}.panel-state{border-radius:8px;border:1px dashed rgb(74 93 143 / 40%);padding:.75rem;text-align:center;color:#404040bf}.found-modal-card{width:min(100%,420px)}.found-modal-field{display:grid;gap:.35rem;margin-bottom:.9rem}.found-modal-field span{font-size:.9rem;font-weight:700;color:var(--demac-gray)}.found-modal-field input{width:100%;border-radius:8px;border:1px solid rgb(74 93 143 / 24%);padding:.7rem .75rem;font:inherit}.instruction-list,.upload-list{margin:0;padding:0;list-style:none;display:grid;gap:.6rem}.instruction-item{display:grid;gap:.45rem;grid-template-columns:minmax(150px,1fr) auto auto;align-items:center;background:#fff;border:1px solid rgb(74 93 143 / 22%);border-radius:8px;padding:.55rem}.instruction-item.current{border-color:var(--demac-blue);box-shadow:0 0 0 2px #4a5d8f29,0 14px 26px #4a5d8f38;background:linear-gradient(90deg,#4a5d8f29,#fff 28%),linear-gradient(180deg,#fff,#f8faff);position:relative}.instruction-item.current:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:8px 0 0 8px;background:linear-gradient(180deg,var(--demac-blue),var(--demac-light-blue))}.instruction-item:not(.current){opacity:.84}.instruction-item.current .instruction-title{color:var(--demac-blue);font-weight:700}.instruction-main{display:flex;align-items:center;gap:.45rem;min-width:0}.instruction-title{font-size:.92rem;font-weight:600;overflow-wrap:anywhere}.current-tag{display:inline-flex;align-items:center;border-radius:999px;padding:.24rem .55rem;background:linear-gradient(90deg,#4a5d8f38,#6b7db32e);border:1px solid rgb(74 93 143 / 34%);color:var(--demac-blue);font-size:.78rem;font-weight:700}.instruction-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.27rem .6rem;color:#8d5f0a;background:#ffd78f59;border:1px solid rgb(192 142 45 / 35%);font-size:.82rem;font-weight:700}.status-pill.done{color:#14573d;background:#80dab359;border-color:#2c855e4d}.status-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:16px;padding:.35rem .75rem;font-size:.82rem;font-weight:600;white-space:nowrap}.status-badge.status-realizada{color:#14573d;background:#80dab359;border:1px solid rgb(44 133 94 / 30%)}.status-badge.status-error{color:#721c24;background:#f8d7da99;border:1px solid rgb(245 198 203 / 60%)}.ghost-action{background:#d6434324;color:#9b2020;border:1px solid rgb(155 32 32 / 35%)}.ghost-action:hover:enabled{box-shadow:0 9px 16px #9b202038;background:#d643433d}.current-instruction-banner{margin:.25rem 0 .85rem;padding:.65rem .75rem;border-radius:8px;background:linear-gradient(90deg,#4a5d8f29,#6b7db31a);border:1px solid rgb(74 93 143 / 24%);color:var(--demac-gray)}.current-instruction-banner strong{color:var(--demac-blue)}.instruction-accordion{display:grid;gap:.8rem}.instruction-card{border-radius:10px;border:1px solid rgb(74 93 143 / 22%);background:var(--white);box-shadow:0 12px 20px #4040401a;overflow:hidden}.instruction-card.current{border-color:var(--demac-blue);box-shadow:0 0 0 2px #4a5d8f1f,0 14px 26px #4a5d8f2e}.instruction-card-header{width:100%;border:0;padding:.85rem .9rem;background:linear-gradient(90deg,#4a5d8f0f,#fff 45%);cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:.75rem;text-align:left}.instruction-card-header-main{min-width:0;display:grid;gap:.35rem}.instruction-card-title{font-size:1.08rem;font-weight:700;color:var(--demac-gray);overflow-wrap:anywhere}.instruction-card.current .instruction-card-title{color:var(--demac-blue)}.oe-list{display:flex;flex-wrap:wrap;gap:.35rem}.oe-chip{display:inline-flex;align-items:center;border-radius:999px;padding:.23rem .55rem;background:#6b7db324;border:1px solid rgb(74 93 143 / 24%);color:var(--demac-blue);font-size:.77rem;font-weight:700}.instruction-card-header-meta{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem;flex-shrink:0}.accordion-toggle{font-size:.8rem;font-weight:700;color:#404040b8}.instruction-card-body{border-top:1px solid rgb(74 93 143 / 16%);padding:.85rem;display:grid;gap:.75rem;background:linear-gradient(180deg,#f8faff,#fff)}.instruction-section{border-radius:9px;border:1px solid rgb(74 93 143 / 18%);padding:.75rem;background:#fff}.previous-section{background:linear-gradient(90deg,#4a5d8f12,#fff 42%)}.main-section{background:linear-gradient(90deg,#6b7db314,#fff 44%)}.instruction-section-header{margin-bottom:.65rem;display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.instruction-section-header h3{margin:0;font-size:1rem}.instruction-section-header p{margin:.2rem 0 0;color:#404040b8;font-size:.86rem}.instruction-step-list{display:grid;gap:.55rem}.instruction-step{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.55rem;border-radius:8px;border:1px solid rgb(74 93 143 / 18%);padding:.6rem .65rem;background:#fff}.previous-step{background:linear-gradient(90deg,#4a5d8f0d,#fff 55%)}.main-step{background:linear-gradient(90deg,#6b7db312,#fff 48%)}.instruction-step.current{border-color:var(--demac-blue);box-shadow:0 0 0 2px #4a5d8f1a}.instruction-step.done{background:#fff}.instruction-step-main{min-width:0;display:grid;gap:.18rem}.instruction-step-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem}.instruction-step-heading strong{font-size:.92rem;overflow-wrap:anywhere}.instruction-step-meta{margin:0;color:#404040bd;font-size:.84rem}.instruction-step-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.35rem}.grua-assignment{min-width:145px}.grua-select{min-height:34px;border-radius:8px;border:1px solid rgb(74 93 143 / 35%);padding:.35rem .55rem;color:var(--demac-blue);background:#6b7db31a;font-size:.83rem}.grua-select:disabled{opacity:.72;cursor:not-allowed}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;background:#2c313e73;display:grid;place-items:center;padding:1rem}.modal-card{width:min(100%,460px);border-radius:10px;border:1px solid rgb(74 93 143 / 35%);background:var(--white);padding:1rem}.modal-card h3{margin:0;font-size:1.26rem}.modal-card p{margin:.55rem 0 .9rem;color:#404040cc}.modal-actions{display:flex;gap:.45rem;justify-content:flex-end}.uploader-grid{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin:.8rem 0}.upload-field{display:grid;gap:.4rem;background:#fff;border:1px solid rgb(74 93 143 / 25%);border-radius:8px;padding:.65rem}.upload-field span{font-size:.88rem;color:#404040db}.upload-field strong{font-size:.84rem;color:var(--demac-blue);overflow-wrap:anywhere}.check-row{margin:.2rem 0 .75rem;display:flex;align-items:center;gap:.5rem;font-size:.9rem}.check-row input{width:auto;min-height:1px}.recent-uploads{margin-top:1rem}.recent-uploads h3{margin:0 0 .5rem;font-size:1rem}.upload-list li{display:grid;gap:.2rem;border-radius:8px;border:1px solid rgb(74 93 143 / 22%);background:#fff;padding:.55rem}.upload-list span:last-of-type{color:var(--ok);font-weight:700}.upload-list small{color:#404040ad}@media(max-width:1050px){.content-grid{grid-template-columns:1fr}.submodelo2-grid{grid-template-columns:1fr;grid-template-areas:"instructions" "panels"}.panel-placeholder{min-height:140px}}@media(max-width:860px){.app-shell{grid-template-columns:1fr}.sidebar-panel{padding-bottom:.55rem}.sidebar-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.instruction-item{grid-template-columns:1fr}.instruction-item.current{border-left:5px solid var(--demac-blue)}.instruction-actions{justify-content:stretch}.instruction-actions .mini-button{flex:1 1 100%}.instruction-card-header{align-items:flex-start;flex-direction:column}.instruction-card-header-meta{align-items:flex-start}.instruction-step{grid-template-columns:1fr}.instruction-step-actions{justify-content:stretch}.instruction-step-actions .mini-button{flex:1 1 100%}.grua-assignment{width:100%}.uploader-grid{grid-template-columns:1fr}}@media(max-width:560px){.top-bar{align-items:flex-start;flex-direction:column}.top-user-actions{width:100%;justify-content:space-between}.sidebar-nav{grid-template-columns:1fr}.modal-actions{flex-direction:column}.app-shell,.login-page{padding-left:.65rem;padding-right:.65rem}}@keyframes fadeUp{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.submodelo2-grid{display:grid;grid-template-columns:1fr 360px;gap:.75rem;grid-template-areas:"instructions panels"}.submodelo2-grid>.panel-right{grid-area:panels;padding:.85rem;min-width:0}.submodelo2-grid>.panel-main{grid-area:instructions;min-width:0}.instructions-list{display:grid;gap:.6rem}.instruction-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.75rem;align-items:center;border-radius:8px;border:1px solid rgb(74 93 143 / 22%);background:#fff;padding:.65rem .75rem;box-shadow:0 8px 14px #40404014}.instruction-content{min-width:0;display:grid;gap:.2rem}.instruction-content strong{font-size:.95rem;overflow-wrap:break-word;word-break:normal;color:var(--demac-gray)}.instruction-hora{font-size:.82rem;color:#404040b8}.instruction-actions{display:flex;gap:.35rem;flex-shrink:0}.anden-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:.45rem}.anden-cell{min-height:44px;border-radius:6px;border:1px solid rgb(74 93 143 / 18%);background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;font-weight:600;transition:all .2s ease}.anden-cell:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #4a5d8f26}.anden-cell.blocked{background:#f8d7da;border-color:#f5c6cb;color:#721c24}.anden-cell.occupied{background:#fff3cd;border-color:#ffeeba;color:#856404}.anden-cell.assigned{background:#fff3cd;border-color:#ffeeba;color:#856404;font-weight:700}.anden-cell:disabled{opacity:.65;cursor:not-allowed}.transpaleta-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:.4rem;margin-top:.5rem}.transpaleta-cell{min-height:36px;border-radius:6px;border:1px solid rgb(74 93 143 / 18%);display:flex;align-items:center;justify-content:center;font-weight:600}.transpaleta-cell.blocked{background:#f8d7da;color:#721c24}.transpaleta-cell.occupied{background:#fff3cd;color:#856404}.transpaleta-cell.assigned{background:#fff3cd;color:#856404;font-weight:700}.instruction-assets{display:flex;gap:.75rem;margin-top:.5rem;align-items:center;flex-wrap:wrap}.instruction-cantidad-field{margin-top:.35rem}.instruction-cantidad-field input{width:100px}.instruction-ubicaciones{margin-top:.6rem;display:grid;gap:.35rem}.ubicaciones-grid{display:flex;flex-wrap:wrap;gap:.35rem}.ubicacion-cell{border-radius:6px;border:1px solid #ffeeba;background:#fff3cd;color:#856404;font-size:.78rem;font-weight:600;padding:.3rem .55rem;cursor:pointer;transition:transform .12s ease,box-shadow .12s ease}.ubicacion-cell:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #40404026}.ubicacion-cell.confirmada{border-color:#2c855e4d;background:#80dab359;color:#14573d;cursor:default}.ubicacion-cell:disabled{opacity:.85;cursor:not-allowed}.asset-label{font-size:.75rem;font-weight:600;color:#4a5d8f;text-transform:uppercase}.asset-box{min-width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:#fff3cd;border:2.5px solid #ffeeba;border-radius:6px;font-weight:700;color:#856404}.history-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.75rem}.history-toolbar-main h2{margin-bottom:.2rem}.history-toolbar-main p{margin:0;color:#404040bf;display:grid;gap:.2rem}.history-toolbar-main strong{color:var(--demac-blue)}.history-toolbar-actions{display:flex;flex-wrap:wrap;align-items:end;justify-content:flex-end;gap:.55rem}.history-days-field{display:grid;gap:.28rem}.history-days-field span{font-size:.84rem;color:#404040c2}.history-days-field input{width:120px}.history-preset-row{display:inline-flex;gap:.35rem;padding:.25rem;border-radius:999px;border:1px solid rgb(74 93 143 / 18%);background:#4a5d8f0f}.history-preset{min-height:34px;border-radius:999px;border:1px solid rgb(74 93 143 / 22%);background:#fff;color:var(--demac-blue);padding:.35rem .75rem;font-weight:700;cursor:pointer}.history-loading{text-align:center}.history-grid{display:grid;grid-template-columns:minmax(280px,1.05fr) minmax(280px,1fr) minmax(260px,.9fr);gap:.75rem;align-items:start}.history-column{min-width:0;display:grid;gap:.75rem;min-height:0}.history-column-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem}.history-column-header h3{margin:0;font-size:1.15rem}.history-column-header p{margin:.22rem 0 0;color:#404040bd;font-size:.84rem}.history-scroll{display:grid;gap:.7rem;max-height:calc(100dvh - 220px);overflow:auto;padding-right:.2rem}.history-day-card{border-radius:10px;border:1px solid rgb(74 93 143 / 20%);background:linear-gradient(180deg,#fff,#f7f9ff);padding:.8rem;box-shadow:0 10px 18px #40404014}.history-day-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.5rem;margin-bottom:.65rem}.history-day-header p{margin:.25rem 0 0;color:#404040b8;font-size:.82rem}.history-day-badge{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .55rem;background:linear-gradient(90deg,#4a5d8f2e,#6b7db324);border:1px solid rgb(74 93 143 / 28%);color:var(--demac-blue);font-size:.8rem;font-weight:700}.history-section{display:grid;gap:.48rem;margin-top:.7rem;padding-top:.7rem;border-top:1px solid rgb(74 93 143 / 12%)}.history-section h4{margin:0;font-size:.92rem}.history-entry-list{display:grid;gap:.5rem}.history-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:center;border-radius:8px;border:1px solid rgb(74 93 143 / 16%);background:#fff;padding:.6rem .68rem}.history-entry-main{min-width:0;display:grid;gap:.12rem}.history-entry-main strong{font-size:.9rem;overflow-wrap:anywhere}.history-entry-main span,.history-entry-main small{color:#404040bd;font-size:.8rem}.history-resource-strip,.history-chip-list{display:flex;flex-wrap:wrap;gap:.35rem}.history-chip,.history-resource-pill{display:inline-flex;align-items:center;gap:.25rem;border-radius:999px;border:1px solid rgb(74 93 143 / 22%);padding:.24rem .55rem;background:#6b7db31a;color:var(--demac-blue);font-size:.77rem;font-weight:700}.history-chip small{font-weight:600;color:inherit}.history-chip.blocked,.history-resource-pill.blocked{background:#f8d7da;border-color:#f5c6cb;color:#721c24}.history-empty{border-radius:8px;border:1px dashed rgb(74 93 143 / 26%);padding:.7rem;color:#404040b8;font-size:.84rem;background:#ffffffb8}.history-entry-despacho{align-items:start}.history-accordion{display:grid;gap:.75rem}.history-day-group{display:grid;gap:.75rem;padding:0;overflow:hidden}.history-day-toggle{width:100%;border:0;background:linear-gradient(90deg,#4a5d8f1a,#fff 50%);padding:.9rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;text-align:left;cursor:pointer}.history-day-group.expanded .history-day-toggle{background:linear-gradient(90deg,#4a5d8f24,#fff 48%)}.history-day-toggle-main{min-width:0;display:grid;gap:.2rem}.history-day-toggle-main p{margin:0;color:#404040b8;font-size:.84rem}.history-day-toggle-meta{flex-shrink:0;color:var(--demac-blue);font-weight:700}.history-day-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,.92fr);gap:.75rem;padding:0 .9rem .9rem}.history-panel{min-width:0;height:100%}.history-scroll-inner{max-height:none;overflow:visible;padding-right:0}@media(max-width:1050px){.history-grid,.history-day-panels{grid-template-columns:1fr}.submodelo2-grid{grid-template-columns:1fr;grid-template-areas:"instructions" "panels"}}@media(max-width:860px){.history-toolbar{flex-direction:column}.history-toolbar-actions{justify-content:stretch}.history-day-panels{grid-template-columns:1fr}.history-day-toggle{align-items:flex-start;flex-direction:column}.history-preset-row{width:100%;justify-content:space-between}.history-preset{flex:1 1 0}.history-entry{grid-template-columns:1fr}.history-entry-main{width:100%}.submodelo2-grid{grid-template-columns:1fr;grid-template-areas:"instructions" "panels"}.submodelo2-grid>.panel-main,.submodelo2-grid>.panel-right{min-width:0}.instruction-item{grid-template-columns:1fr;align-items:stretch}.instruction-actions{width:100%;justify-content:stretch}.instruction-actions .mini-button,.instruction-actions .secondary-button,.instruction-actions .status-badge{width:100%}}@media(max-width:560px){.history-days-field input{width:100%}}.history-preset.active{background:var(--demac-blue);border-color:var(--demac-blue);color:var(--white)}.performance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:start}.performance-column{min-width:0;display:grid;gap:.75rem;align-content:start}.perf-stat-grid{display:grid;gap:.6rem}.perf-stat-card{border-radius:8px;border:1px solid rgb(74 93 143 / 18%);background:#fff;padding:.65rem .7rem;display:grid;gap:.4rem}.perf-stat-card small{color:#404040b3;font-size:.78rem}.perf-stat-heading{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem}.perf-stat-heading span{font-size:.86rem;color:#404040c7;font-weight:600}.perf-stat-value{font-size:1.25rem;font-weight:700;color:var(--demac-blue);white-space:nowrap}.perf-progress-track{height:8px;border-radius:999px;background:#4a5d8f1f;overflow:hidden}.perf-progress-fill{height:100%;border-radius:999px;background:linear-gradient(90deg,var(--demac-blue),var(--demac-light-blue))}.perf-progress-fill.ok{background:linear-gradient(90deg,var(--ok),#6fbf9a)}.perf-progress-fill.warning{background:linear-gradient(90deg,var(--warning),#d6768c)}.perf-distribution-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:.4rem}.perf-distribution-cell{min-height:44px;border-radius:6px;border:1px solid rgb(74 93 143 / 18%);background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.1rem;font-size:.72rem;font-weight:600;color:#404040a6}.perf-distribution-cell strong{font-size:.86rem;color:var(--demac-gray)}.perf-distribution-cell.used{background:#fff3cd;border-color:#ffeeba;color:#856404}.perf-distribution-cell.used strong{color:#856404}.anden-cell.perf-cell,.transpaleta-cell.perf-cell{flex-direction:column;gap:.05rem}.anden-cell.perf-cell small,.transpaleta-cell.perf-cell small{font-size:.62rem;font-weight:600;opacity:.78}@media(max-width:1200px){.performance-grid{grid-template-columns:1fr 1fr}}@media(max-width:1050px){.performance-grid{grid-template-columns:1fr}}@media(max-width:560px){.perf-distribution-grid{grid-template-columns:repeat(4,1fr)}}.warehouse-toolbar{display:grid;gap:.65rem;margin-bottom:.75rem}.warehouse-summary h2{margin:0 0 .2rem;font-size:1.15rem}.warehouse-summary p{margin:0;color:#404040bf;display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem}.warehouse-summary strong{font-size:1.35rem;color:var(--demac-blue)}.warehouse-summary-track{margin-top:.5rem;height:10px}.warehouse-toolbar-actions{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:.6rem}.warehouse-search{display:flex;align-items:end;gap:.5rem}.warehouse-search-field{position:relative}.warehouse-search-suggestions{position:absolute;top:calc(100% + .25rem);left:0;z-index:20;min-width:100%;max-height:220px;overflow-y:auto;margin:0;padding:.3rem;list-style:none;background:#fff;border:1px solid rgb(74 93 143 / 22%);border-radius:8px;box-shadow:0 12px 24px #4040402e;display:flex;flex-direction:column;gap:.15rem}.warehouse-search-suggestions button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.35rem .5rem;border:0;border-radius:5px;background:transparent;cursor:pointer;text-align:left;font-size:.82rem;color:var(--demac-gray)}.warehouse-search-suggestions button:hover{background:#4a5d8f1a}.warehouse-search-suggestions button small{color:#4040408c;font-size:.74rem}.warehouse-search-feedback{margin-top:0}.warehouse-init-controls{display:flex;flex-direction:column;align-items:flex-end;gap:.3rem}.warehouse-forzar-check{margin:0;font-size:.8rem;color:#404040b8;white-space:nowrap}.warehouse-filters{margin-bottom:.75rem}.warehouse-filters-fields{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem}.warehouse-filters-fields .history-days-field{min-width:160px}.warehouse-filters-fields select{width:100%}.warehouse-filters-actions{display:flex;gap:.4rem}.warehouse-filters p.feedback{margin-top:.55rem}.warehouse-kpi-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.6rem;margin-bottom:.75rem}.warehouse-kpi-card{background:#fff;border:1px solid rgb(74 93 143 / 18%);border-radius:8px;padding:.7rem .85rem;display:flex;align-items:center;gap:.65rem;box-shadow:0 10px 18px #40404014}.warehouse-kpi-dot{width:12px;height:12px;border-radius:50%;flex-shrink:0;background:#2b7f59}.warehouse-kpi-dot.partial{background:#e0a800}.warehouse-kpi-dot.full{background:#c0392b}.warehouse-kpi-dot.perm-green{background:#2b7f59}.warehouse-kpi-dot.perm-yellow{background:#e8b93d}.warehouse-kpi-dot.perm-red{background:#c0392b}.warehouse-kpi-dot.perm-empty{background:#40404059}.warehouse-kpi-main{display:grid;gap:.05rem}.warehouse-kpi-value{font-size:1.4rem;color:var(--demac-gray)}.warehouse-kpi-label{font-size:.8rem;font-weight:600;color:#404040c2}.warehouse-kpi-sub{font-size:.74rem;color:#40404094}.warehouse-floorplan-card .history-column-header{align-items:center;margin-bottom:.6rem}.warehouse-legend{display:flex;gap:.85rem;flex-wrap:wrap;flex-shrink:0}.warehouse-legend-item{display:inline-flex;align-items:center;gap:.32rem;font-size:.78rem;color:#404040b8}.warehouse-legend-dot{width:10px;height:10px;border-radius:3px;background:#2b7f5973}.warehouse-legend-dot.partial{background:#e8b93d}.warehouse-legend-dot.full{background:#c0392b}.warehouse-legend-dot.perm-green{background:#2b7f59}.warehouse-legend-dot.perm-yellow{background:#e8b93d}.warehouse-legend-dot.perm-red{background:#c0392b}.warehouse-floorplan-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.35rem .6rem}.warehouse-rack-row{border:1px solid rgb(74 93 143 / 14%);border-radius:8px;padding:.3rem .6rem;background:linear-gradient(180deg,#fff,#f7f9ff);transition:box-shadow .25s ease}.warehouse-rack-row.highlighted{box-shadow:0 0 0 2px var(--demac-blue),0 12px 20px #4a5d8f40}.warehouse-rack-header{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;margin-bottom:.18rem;font-size:.76rem;color:#404040ad}.warehouse-rack-header strong{font-size:.86rem;color:var(--demac-blue)}.warehouse-rack-strip{display:grid;grid-template-columns:repeat(35,minmax(4px,1fr));gap:1px}.warehouse-rack-cell{height:9px;min-width:0;border-radius:2px;border:0;padding:0;background:#2b7f5952;cursor:pointer;transition:transform .12s ease}.warehouse-rack-cell:hover{transform:scaleY(1.7);box-shadow:0 2px 4px #40404040}.warehouse-rack-cell.partial{background:#e8b93d}.warehouse-rack-cell.full{background:#c0392b}.warehouse-rack-cell.perm-empty{background:#40404024}.warehouse-rack-cell.perm-green{background:#2b7f59}.warehouse-rack-cell.perm-yellow{background:#e8b93d}.warehouse-rack-cell.perm-red{background:#c0392b}.warehouse-rack-cell.filtro-match{position:relative;z-index:1;box-shadow:0 0 0 2px var(--demac-blue),0 0 4px #4a5d8f8c}.warehouse-rack-cell.filtro-dim{opacity:.22}.warehouse-rack-cell.no-interactivo{cursor:default}.warehouse-rack-cell.no-interactivo:hover{transform:none;box-shadow:none}.warehouse-aisle-divider{display:flex;align-items:center;gap:.5rem;margin:1px 0}.warehouse-aisle-divider:before,.warehouse-aisle-divider:after{content:"";flex:1;border-top:1px dashed rgb(74 93 143 / 25%)}.warehouse-aisle-divider span{font-size:.6rem;font-weight:700;color:#40404073;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.warehouse-modal-card{width:min(96vw,900px);max-height:min(88vh,760px);overflow-y:auto}.warehouse-modal-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,280px);gap:.85rem;align-items:start}.warehouse-nivel-grid{display:grid;gap:.32rem}.warehouse-detail-panel{position:sticky;top:0;border:1px solid rgb(74 93 143 / 20%);border-radius:9px;background:linear-gradient(180deg,#fff,#f7f9ff);padding:.75rem;min-height:160px}.warehouse-detail-panel h4{margin:0 0 .55rem;font-size:1rem;color:var(--demac-blue)}.warehouse-detail-panel p{margin:0 0 .6rem}.warehouse-detail-list{margin:0 0 .75rem;padding:0;list-style:none;display:grid;gap:.4rem}.warehouse-detail-list li{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;border-bottom:1px dashed rgb(74 93 143 / 16%);padding-bottom:.3rem;font-size:.85rem}.warehouse-detail-list span{color:#404040ad}.warehouse-detail-list strong{color:var(--demac-gray);text-align:right;overflow-wrap:anywhere}.warehouse-nivel-row{padding:.35rem .55rem}.warehouse-nivel-row .instruction-section-header{margin-bottom:.2rem}.warehouse-nivel-row .instruction-section-header h3{font-size:.86rem}.warehouse-posicion-row{display:grid;grid-template-columns:repeat(4,1fr);gap:.3rem}.warehouse-posicion-cell{min-height:38px;border-radius:6px;border:1px solid rgb(74 93 143 / 18%);background:#2b7f590f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.08rem;font-size:.66rem;color:#404040b3;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease}.warehouse-posicion-cell:hover{transform:translateY(-1px);box-shadow:0 4px 8px #4a5d8f26}.warehouse-posicion-cell strong{font-size:.78rem;color:var(--demac-gray)}.warehouse-posicion-cell small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.warehouse-posicion-cell.ocupado{background:#fff3cd;border-color:#ffeeba;color:#856404}.warehouse-posicion-cell.ocupado strong{color:#856404}.warehouse-posicion-cell.perdido{background:#f8d7da;border-color:#f5c6cb;color:#721c24}.warehouse-posicion-cell.perdido strong{color:#721c24}.warehouse-posicion-cell.reservado{background:#cfe2ff;border-color:#b6d4fe;color:#084298}.warehouse-posicion-cell.reservado strong{color:#084298}.warehouse-posicion-cell.perm-green{background:#d4edda;border-color:#c3e6cb;color:#155724}.warehouse-posicion-cell.perm-green strong{color:#155724}.warehouse-posicion-cell.perm-yellow{background:#fff3cd;border-color:#ffeeba;color:#856404}.warehouse-posicion-cell.perm-yellow strong{color:#856404}.warehouse-posicion-cell.perm-red{background:#f8d7da;border-color:#f5c6cb;color:#721c24}.warehouse-posicion-cell.perm-red strong{color:#721c24}.warehouse-posicion-cell.selected{border-color:var(--demac-blue);box-shadow:0 0 0 2px #4a5d8f29}.warehouse-posicion-cell.filtro-match{border-color:var(--demac-blue);box-shadow:0 0 0 2px #4a5d8f73}.warehouse-posicion-cell.filtro-match.selected{box-shadow:0 0 0 2px var(--demac-blue),0 0 0 4px #4a5d8f40}.warehouse-kiosk{height:100dvh;padding:.9rem 1.1rem;display:flex;flex-direction:column;gap:.6rem;background:linear-gradient(180deg,#7f94ad,#7a90aa);overflow:hidden}.warehouse-kiosk-header{flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:.75rem;background:var(--white);border-radius:7px;padding:.55rem .9rem}.warehouse-kiosk-header h1{margin:0;font-size:clamp(1.15rem,2vw,1.6rem);color:var(--demac-gray)}.warehouse-kiosk .warehouse-kpi-row{flex-shrink:0}.warehouse-kiosk .warehouse-floorplan-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}.warehouse-kiosk .warehouse-floorplan-card .history-column-header{flex-shrink:0}.warehouse-kiosk .warehouse-floorplan-card .warehouse-floorplan-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;align-content:space-between}@media(max-width:860px){.warehouse-toolbar-actions,.warehouse-search{flex-direction:column;align-items:stretch}.warehouse-init-controls{align-items:stretch}.warehouse-filters-fields{flex-direction:column;align-items:stretch}.warehouse-filters-actions{justify-content:stretch}.warehouse-filters-actions button{flex:1 1 0}.warehouse-posicion-row{grid-template-columns:repeat(2,1fr)}.warehouse-floorplan-scroll{grid-template-columns:1fr}.warehouse-rack-strip{grid-template-columns:repeat(18,minmax(4px,1fr));grid-auto-flow:row}.warehouse-floorplan-card .history-column-header{flex-direction:column;align-items:flex-start}.warehouse-modal-body{grid-template-columns:1fr}.warehouse-detail-panel{position:static}}
