.warehouse-view{padding:18px clamp(18px,4vw,54px) 60px;color:var(--ink)}
.warehouse-hero{min-height:168px;padding:28px 34px;border-radius:18px;background:linear-gradient(122deg,#101f52 0%,#18317a 62%,#2448bc 100%);box-shadow:0 18px 42px rgba(17,38,103,.18);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;position:relative;overflow:hidden}
.warehouse-hero:after{content:"";position:absolute;width:270px;height:270px;border:54px solid rgba(255,255,255,.06);border-radius:50%;right:-52px;top:-112px}
.warehouse-hero>div{position:relative;z-index:1}.warehouse-hero>div>span,.warehouse-panel-heading>div>span,.warehouse-location-panel>header span,.warehouse-setup-panel>header span,.warehouse-selection>span,.warehouse-planimetry-next>span{font-size:9px;font-weight:950;letter-spacing:1.35px;color:#ff9da8}
.warehouse-hero h1{margin:7px 0 8px;font-size:clamp(28px,3.3vw,43px);line-height:1.02;letter-spacing:-1.6px}.warehouse-hero h1 em{font-style:normal;color:#a7c0ff}.warehouse-hero p{margin:0;max-width:680px;color:#d9e1fa;font-size:13px;line-height:1.45}
.warehouse-hero-actions{display:flex;gap:9px}.warehouse-hero-actions button{height:40px;border:1px solid rgba(255,255,255,.26);border-radius:9px;padding:0 14px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:900;cursor:pointer}.warehouse-hero-actions button:first-child{background:#fff;color:#1d3a98;border-color:#fff}.warehouse-hero-actions button:hover{transform:translateY(-1px)}
.warehouse-safety-note{width:calc(100% - 46px);margin:-13px auto 15px;position:relative;z-index:2;display:flex;align-items:center;gap:11px;padding:11px 15px;border:1px solid #bed8d1;border-radius:11px;background:#f2fbf8;box-shadow:0 8px 24px rgba(20,71,59,.08)}.warehouse-safety-note>span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#dff5ec;color:#147455;font-weight:950}.warehouse-safety-note b{display:block;color:#195f4c;font-size:12px}.warehouse-safety-note p{margin:2px 0 0;color:#5f766f;font-size:10px}
.warehouse-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.warehouse-kpis>div{min-height:96px;padding:16px 17px;border:1px solid #dbe1ec;border-radius:13px;background:#fff;box-shadow:0 5px 18px rgba(16,37,86,.045);display:flex;flex-direction:column}.warehouse-kpis span{font-size:8px;font-weight:950;letter-spacing:1px;color:#68738a}.warehouse-kpis strong{margin-top:5px;color:#15285f;font-size:27px;line-height:1}.warehouse-kpis small{margin-top:auto;color:#7d8798;font-size:9px}.warehouse-kpis .warning{border-color:#ead2a5;background:#fffaf0}.warehouse-kpis .warning strong{color:#a66a09}
.warehouse-filters{display:grid;grid-template-columns:minmax(300px,2.2fr) repeat(3,minmax(150px,1fr)) auto;gap:8px;padding:9px;border:1px solid #d8dfeb;border-radius:12px;background:#fff;box-shadow:0 7px 22px rgba(16,37,86,.05);margin-bottom:12px}.warehouse-filters select,.warehouse-clear{height:42px;border:1px solid #d9dfeb;border-radius:8px;background:#fff;padding:0 10px;color:#445066;font-size:11px}.warehouse-search{height:42px;border:2px solid #ced7e8;border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 6px 0 10px}.warehouse-search:focus-within{border-color:#3157d5;box-shadow:0 0 0 3px rgba(49,87,213,.08)}.warehouse-search>span{font-size:20px;color:#d72736}.warehouse-search input{min-width:0;flex:1;border:0;outline:0;font-size:12px}.warehouse-search button{height:30px;border:0;border-radius:6px;background:#2448bc;color:#fff;padding:0 13px;font-size:10px;font-weight:900;cursor:pointer}.warehouse-clear{color:#2448bc;font-weight:900;cursor:pointer}
.warehouse-workspace{display:grid;grid-template-columns:minmax(0,1.72fr) minmax(310px,.78fr);gap:12px;align-items:start}.warehouse-data-panel,.warehouse-location-panel,.warehouse-setup-panel{border:1px solid #d9dfeb;border-radius:14px;background:#fff;box-shadow:0 7px 24px rgba(15,38,89,.05);overflow:hidden}.warehouse-panel-heading{min-height:65px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #e0e5ee}.warehouse-panel-heading h2,.warehouse-location-panel>header h2,.warehouse-setup-panel h2{margin:3px 0 0;color:#15285f;font-size:18px}.warehouse-tabs{display:flex;padding:3px;border:1px solid #d7deeb;border-radius:8px;background:#f4f6fa}.warehouse-tabs button{height:29px;border:0;border-radius:6px;background:transparent;color:#68738a;padding:0 12px;font-size:10px;font-weight:900;cursor:pointer}.warehouse-tabs button.active{background:#fff;color:#2448bc;box-shadow:0 2px 7px rgba(16,37,86,.1)}
.warehouse-workspace.operations-wide{grid-template-columns:minmax(0,1fr)}.warehouse-workspace.operations-wide>.warehouse-location-panel{display:none}
.warehouse-outbound-table{min-width:1040px!important}.warehouse-outbound-reason>small{display:inline;margin-left:5px;color:#27344f;font-size:9px}.warehouse-outbound-reason>b{display:block;margin-top:7px;color:#1d3478;font-size:9px}.warehouse-outbound-reason>b:before{content:"";display:inline-block;width:14px;height:2px;margin:0 6px 3px 0;background:#d72736;border-radius:2px}
.warehouse-table-wrap{min-height:390px;max-height:590px;overflow:auto}.warehouse-table{width:100%;min-width:780px;border-collapse:collapse}.warehouse-table thead{position:sticky;top:0;z-index:2}.warehouse-table th{padding:9px 11px;background:#f3f5f9;color:#6c768b;font-size:8px;letter-spacing:.7px;text-align:left}.warehouse-table th:nth-child(n+3){text-align:right}.warehouse-table td{padding:11px;border-top:1px solid #e8ebf1;font-size:10px;vertical-align:middle}.warehouse-table tbody tr{cursor:pointer}.warehouse-table tbody tr:hover,.warehouse-table tbody tr.selected{background:#f4f7ff}.warehouse-table tbody tr.selected{box-shadow:inset 3px 0 #d72736}.warehouse-product b{display:block;color:#172651;font-size:11px;line-height:1.25}.warehouse-product span{display:block;margin-top:3px;color:#7a8497;font-family:ui-monospace,Consolas,monospace;font-size:8px}.warehouse-location-cell b{display:block;color:#2448bc;font-family:ui-monospace,Consolas,monospace}.warehouse-location-cell small{display:block;margin-top:2px;color:#7e8798;font-size:8px}.warehouse-number{text-align:right;font-variant-numeric:tabular-nums;font-weight:850}.warehouse-number.available{color:#147455}.warehouse-status{display:inline-flex;align-items:center;gap:5px;float:right;padding:4px 7px;border-radius:99px;background:#e9f7f2;color:#167055;font-size:8px;font-weight:900}.warehouse-status:before{content:"";width:6px;height:6px;border-radius:50%;background:#2aaa7d}.warehouse-status.low{background:#fff5df;color:#986111}.warehouse-status.low:before{background:#e5a22c}.warehouse-status.reserved{background:#eef2ff;color:#3150b2}.warehouse-status.reserved:before{background:#5474df}.warehouse-empty{min-height:260px;padding:50px 25px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:6px;color:#7b8596}.warehouse-empty b{color:#22315d}.warehouse-empty span{max-width:420px;font-size:10px;line-height:1.45}.warehouse-empty.compact{min-height:170px;padding:25px}.warehouse-table-footer{height:42px;padding:0 15px;border-top:1px solid #e3e7ee;display:flex;align-items:center;justify-content:space-between;color:#6f7a8f;font-size:9px}.warehouse-table-footer span{font-weight:900;color:#213368}
.warehouse-movement-table th:nth-child(4),.warehouse-movement-table th:nth-child(5){text-align:right}.warehouse-movement-code{font-family:ui-monospace,Consolas,monospace;color:#2448bc;font-weight:900}.warehouse-movement-change{font-weight:950;text-align:right}.warehouse-movement-change.positive{color:#147455}.warehouse-movement-change.negative{color:#c32935}.warehouse-movement-user b{display:block;font-size:9px}.warehouse-movement-user small{color:#7e8798;font-size:8px}
.warehouse-location-panel{position:sticky;top:68px}.warehouse-location-panel>header{padding:14px 15px 11px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #e2e6ee}.warehouse-location-panel>header>small{color:#768095;font-size:9px}.warehouse-location-map{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px;max-height:285px;overflow:auto;background:#f7f8fb}.warehouse-location-card{min-height:78px;padding:10px;border:1px solid #d9dfeb;border-radius:9px;background:#fff;text-align:left;cursor:pointer;position:relative;overflow:hidden}.warehouse-location-card:hover,.warehouse-location-card.active{border-color:#4161c8;box-shadow:0 5px 12px rgba(31,63,169,.1)}.warehouse-location-card.active{box-shadow:inset 3px 0 #d72736}.warehouse-location-card code{display:block;color:#213c9b;font-size:9px;font-weight:950}.warehouse-location-card span{display:block;margin-top:4px;color:#697489;font-size:8px}.warehouse-location-card b{display:block;margin-top:7px;color:#19295d;font-size:11px}.warehouse-location-card i{position:absolute;left:0;bottom:0;height:3px;background:#2aaa7d}.warehouse-location-card.medium i{background:#e8a62f}.warehouse-location-card.full i{background:#d6424d}.warehouse-location-card.blocked{background:#f4f5f7;color:#8b93a1}.warehouse-location-card.blocked i{background:#969eaa}
.warehouse-selection{padding:14px 15px;border-top:1px solid #e0e5ed}.warehouse-selection h3{margin:5px 0 3px;color:#15285f;font-size:13px}.warehouse-selection p{margin:0;color:#7b8597;font-size:9px;line-height:1.4}.warehouse-selection-totals{display:grid;grid-template-columns:repeat(3,1fr);margin-top:12px;border:1px solid #e0e5ed;border-radius:8px;overflow:hidden}.warehouse-selection-totals>div{padding:8px;border-left:1px solid #e0e5ed}.warehouse-selection-totals>div:first-child{border-left:0}.warehouse-selection-totals small{display:block;color:#7b8495;font-size:7px;font-weight:900}.warehouse-selection-totals b{display:block;margin-top:3px;color:#15285f;font-size:14px}.warehouse-planimetry-next{margin:0 10px 10px;padding:11px 12px;border:1px dashed #aebce4;border-radius:9px;background:#f6f8ff}.warehouse-planimetry-next b{display:block;margin-top:3px;color:#2448bc;font-size:11px}.warehouse-planimetry-next p{margin:4px 0 0;color:#727d92;font-size:8px;line-height:1.4}
.warehouse-setup-panel{margin-top:12px}.warehouse-setup-panel>header{padding:15px 17px;border-bottom:1px solid #e1e5ed;display:flex;align-items:flex-start;justify-content:space-between}.warehouse-setup-panel>header p{margin:4px 0 0;color:#768095;font-size:10px}.warehouse-setup-panel>header button{width:30px;height:30px;border:0;border-radius:50%;background:#f0f2f6;color:#5d687c;font-size:20px;cursor:pointer}.warehouse-setup-grid{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:9px;padding:11px}.warehouse-setup-card{padding:13px;border:1px solid #dfe4ec;border-radius:10px;background:#fbfcfe;display:grid;grid-template-columns:1fr 1fr;gap:8px}.warehouse-setup-card>b{grid-column:1/-1;color:#17295f;font-size:12px}.warehouse-setup-card label{display:flex;flex-direction:column;gap:4px}.warehouse-setup-card label span{color:#6e788c;font-size:8px;font-weight:900}.warehouse-setup-card input,.warehouse-setup-card select{height:36px;min-width:0;border:1px solid #d5dce8;border-radius:7px;background:#fff;padding:0 9px;font-size:10px}.warehouse-setup-card button{grid-column:1/-1;height:36px;border:0;border-radius:7px;background:#2448bc;color:#fff;font-size:10px;font-weight:900;cursor:pointer}.warehouse-setup-card label:nth-of-type(3){grid-column:1/-1}.warehouse-setup-card.location-card label:nth-of-type(3){grid-column:auto}.warehouse-message{min-height:18px;margin:6px 12px;color:#59677b;font-size:10px}.warehouse-message.error{color:#bf2834}.warehouse-message.success{color:#147455}
.warehouse-operation-panel{min-height:390px;background:#f7f9fd}.warehouse-outbound-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:11px}.warehouse-outbound-summary>div{min-height:72px;padding:11px 12px;border:1px solid #dce3ef;border-radius:10px;background:#fff;display:flex;flex-direction:column}.warehouse-outbound-summary span{font-size:7px;font-weight:950;letter-spacing:.8px;color:#6e788d}.warehouse-outbound-summary strong{margin-top:4px;color:#17295f;font-size:21px}.warehouse-outbound-summary small{margin-top:auto;color:#7c8698;font-size:8px}.warehouse-outbound-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr)) auto;gap:7px;padding:0 11px 11px}.warehouse-outbound-filters label{display:flex;flex-direction:column;gap:4px}.warehouse-outbound-filters label span{font-size:8px;font-weight:900;color:#6d788d}.warehouse-outbound-filters input,.warehouse-outbound-filters select{height:37px;min-width:0;border:1px solid #d6deeb;border-radius:7px;background:#fff;padding:0 9px;color:#263452;font-size:10px}.warehouse-outbound-filters button{align-self:end;height:37px;border:0;border-radius:7px;background:#2448bc;color:#fff;padding:0 15px;font-size:9px;font-weight:950;cursor:pointer}.warehouse-outbound-document{grid-column:span 2}.warehouse-outbound-table-wrap{min-height:300px;max-height:470px;border-top:1px solid #dfe4ed;background:#fff}.warehouse-outbound-table{min-width:1250px}.warehouse-outbound-table th:nth-child(n+3){text-align:left}.warehouse-outbound-table th:nth-child(4){text-align:right}.warehouse-outbound-table td{cursor:default}.warehouse-outbound-table tbody tr{cursor:default}.warehouse-outbound-table .warehouse-product small{display:block;margin-top:3px;color:#65728a;font-size:7px}.warehouse-outbound-date b,.warehouse-outbound-document-cell b,.warehouse-outbound-user b{display:block;color:#17295f;font-size:9px}.warehouse-outbound-date small,.warehouse-outbound-document-cell small,.warehouse-outbound-user small{display:block;margin-top:3px;color:#788397;font-size:8px}.warehouse-outbound-quantity{text-align:right;color:#c12d39;font-size:12px!important;font-weight:950}.warehouse-exit-badge{display:inline-flex;padding:4px 7px;border-radius:99px;background:#eef2ff;color:#2e4ab0;font-size:8px;font-weight:900}.warehouse-exit-badge.sale{background:#eaf7f2;color:#147455}.warehouse-exit-badge.transfer{background:#fff2e4;color:#a85d10}.warehouse-exit-badge.adjustment{background:#f6edf8;color:#7d4388}.warehouse-outbound-pagination{min-height:48px;padding:7px 12px;border-top:1px solid #e0e5ee;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:12px}.warehouse-outbound-pagination>span{color:#5f6c84;font-size:9px;font-weight:850}.warehouse-outbound-pagination>div{display:flex;gap:7px}.warehouse-outbound-pagination button{height:31px;padding:0 12px;border:1px solid #ced7e7;border-radius:7px;background:#fff;color:#2448bc;font-size:9px;font-weight:900;cursor:pointer}.warehouse-outbound-pagination button:disabled{opacity:.42;cursor:default}
.warehouse-transfer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border-bottom:1px solid #dfe4ed;background:#fff}.warehouse-transfer-toolbar>div:first-child>span{display:block;color:#d72736;font-size:8px;font-weight:950;letter-spacing:1px}.warehouse-transfer-toolbar>div:first-child>b{display:block;margin-top:3px;color:#17295f;font-size:14px}.warehouse-transfer-toolbar>div:first-child>small{display:block;margin-top:3px;color:#778297;font-size:9px}.warehouse-transfer-toolbar>div:last-child{display:flex;gap:7px}.warehouse-transfer-toolbar select,.warehouse-transfer-toolbar button{height:36px;border:1px solid #d5ddea;border-radius:7px;background:#fff;padding:0 10px;color:#31405e;font-size:9px;font-weight:850}.warehouse-transfer-toolbar button{border-color:#2448bc;background:#2448bc;color:#fff;cursor:pointer}.warehouse-transfer-workspace{display:grid;grid-template-columns:minmax(270px,.75fr) minmax(430px,1.25fr);min-height:470px}.warehouse-transfer-list-panel{border-right:1px solid #dfe4ed;background:#f7f9fd}.warehouse-transfer-list{padding:8px;display:grid;gap:7px}.warehouse-transfer-card{width:100%;padding:11px;border:1px solid #dce2ed;border-radius:9px;background:#fff;text-align:left;cursor:pointer}.warehouse-transfer-card:hover,.warehouse-transfer-card.active{border-color:#3d5cc6;box-shadow:0 5px 15px rgba(32,67,171,.09)}.warehouse-transfer-card.active{box-shadow:inset 3px 0 #d72736}.warehouse-transfer-card>div:first-child{display:flex;justify-content:space-between;gap:8px}.warehouse-transfer-card code{color:#2448bc;font-size:10px;font-weight:950}.warehouse-transfer-card p{margin:7px 0 0;color:#26375f;font-size:10px;font-weight:850}.warehouse-transfer-card small{display:block;margin-top:4px;color:#7a8497;font-size:8px}.warehouse-transfer-status{display:inline-flex;padding:4px 7px;border-radius:99px;background:#edf1f8;color:#59667c;font-size:7px;font-weight:950}.warehouse-transfer-status.prepared{background:#eef2ff;color:#3450b0}.warehouse-transfer-status.in_transit{background:#fff1df;color:#a55d0d}.warehouse-transfer-status.received{background:#e9f7f2;color:#147455}.warehouse-transfer-status.cancelled{background:#fdecee;color:#b52b37}.warehouse-transfer-editor{background:#fff}.warehouse-transfer-editor>header{display:flex;justify-content:space-between;align-items:flex-start;padding:12px 13px;border-bottom:1px solid #e1e5ed}.warehouse-transfer-editor>header span{color:#d72736;font-size:8px;font-weight:950;letter-spacing:1px}.warehouse-transfer-editor>header h3{margin:3px 0 0;color:#17295f;font-size:16px}.warehouse-transfer-editor>header button{width:28px;height:28px;border:0;border-radius:50%;background:#f0f2f6;color:#5d687c;font-size:18px;cursor:pointer}.warehouse-transfer-editor form{padding:11px}.warehouse-transfer-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:7px}.warehouse-transfer-route>span{padding-bottom:10px;color:#2448bc;font-weight:950}.warehouse-transfer-editor label{display:flex;flex-direction:column;gap:4px}.warehouse-transfer-editor label span{color:#6e788c;font-size:8px;font-weight:900}.warehouse-transfer-editor input,.warehouse-transfer-editor select{height:36px;min-width:0;border:1px solid #d5dce8;border-radius:7px;background:#fff;padding:0 9px;color:#253552;font-size:10px}.warehouse-transfer-document-fields{display:grid;grid-template-columns:170px 1fr;gap:7px;margin-top:8px}.warehouse-transfer-add-item{display:grid;grid-template-columns:minmax(250px,1fr) 85px auto;align-items:end;gap:7px;margin-top:10px;padding:9px;border:1px solid #dce3ef;border-radius:9px;background:#f7f9fd}.warehouse-transfer-add-item button{height:36px;border:0;border-radius:7px;background:#2448bc;color:#fff;padding:0 13px;font-size:9px;font-weight:950;cursor:pointer}.warehouse-transfer-items{margin-top:9px;border:1px solid #dfe4ed;border-radius:9px;overflow:hidden}.warehouse-transfer-items table{width:100%;border-collapse:collapse}.warehouse-transfer-items th{padding:7px 8px;background:#f3f5f9;color:#6b7589;font-size:7px;text-align:left}.warehouse-transfer-items td{padding:8px;border-top:1px solid #e6eaf0;color:#263659;font-size:9px}.warehouse-transfer-items td b{display:block;color:#17295f}.warehouse-transfer-items td small{display:block;margin-top:2px;color:#7b8597}.warehouse-transfer-items select,.warehouse-transfer-items input{height:30px;font-size:8px}.warehouse-transfer-items input{width:58px}.warehouse-transfer-items button{width:26px;height:26px;border:0;border-radius:6px;background:#fdecef;color:#bd2b37;cursor:pointer}.warehouse-transfer-items>div{padding:24px;text-align:center;color:#7b8597}.warehouse-transfer-items>div b{display:block;color:#22315d;font-size:10px}.warehouse-transfer-items>div span{display:block;margin-top:3px;font-size:8px}.warehouse-transfer-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:8px}.warehouse-transfer-actions button{height:36px;border:1px solid #cfd8e8;border-radius:7px;background:#fff;color:#2448bc;padding:0 12px;font-size:9px;font-weight:950;cursor:pointer}.warehouse-transfer-actions button.primary{border-color:#2448bc;background:#2448bc;color:#fff}.warehouse-transfer-actions button.warning{border-color:#d78725;background:#d78725;color:#fff}.warehouse-transfer-actions button.success{border-color:#19805b;background:#19805b;color:#fff}.warehouse-transfer-actions button.danger{border-color:#d44a55;color:#b72a35}
.warehouse-transfer-finder{margin-top:10px;border:1px solid #d9e1ef;border-radius:11px;background:#f7f9fd;overflow:hidden}.warehouse-transfer-finder-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:10px 11px 7px}.warehouse-transfer-finder-heading>div>span{display:block;color:#d72736;font-size:7px;font-weight:950;letter-spacing:1px}.warehouse-transfer-finder-heading>div>b{display:block;margin-top:3px;color:#17295f;font-size:11px}.warehouse-transfer-finder-heading>small{max-width:44%;color:#64728a;font-size:8px;text-align:right}.warehouse-transfer-searchbar{display:flex;align-items:center;gap:8px;margin:0 10px;border:2px solid #c9d4e8;border-radius:9px;background:#fff;padding:4px 5px 4px 11px}.warehouse-transfer-searchbar:focus-within{border-color:#3459cc;box-shadow:0 0 0 3px rgba(52,89,204,.1)}.warehouse-transfer-searchbar>span{color:#d72736;font-size:19px;line-height:1}.warehouse-transfer-searchbar input{height:35px;flex:1;border:0!important;outline:0;padding:0!important;font-size:11px!important}.warehouse-transfer-searchbar button{height:35px;border:0;border-radius:7px;background:#2448bc;color:#fff;padding:0 17px;font-size:9px;font-weight:950;cursor:pointer}.warehouse-transfer-searchbar button:disabled,.warehouse-transfer-searchbar input:disabled{opacity:.48;cursor:not-allowed}.warehouse-transfer-search-help{display:flex;justify-content:space-between;gap:12px;padding:6px 11px 8px;color:#758096;font-size:7px}.warehouse-transfer-search-help>span:last-child{color:#2448bc;font-weight:900;text-align:right}.warehouse-transfer-search-results{display:grid;max-height:390px;overflow:auto;border-top:1px solid #e0e5ed;background:#fff}.warehouse-transfer-search-result{display:grid;grid-template-columns:54px minmax(0,1fr) 210px;gap:10px;padding:10px 11px;border-top:1px solid #e7eaf0;align-items:center}.warehouse-transfer-search-result:first-child{border-top:0}.warehouse-transfer-search-result:hover{background:#f9faff}.warehouse-transfer-search-thumb{width:52px;height:52px;border:1px solid #dfe4ed;border-radius:8px;background:#f4f6f9;display:flex;align-items:center;justify-content:center;overflow:hidden}.warehouse-transfer-search-thumb img{width:100%;height:100%;object-fit:contain}.warehouse-transfer-search-thumb b{color:#9ca7ba;font-size:15px}.warehouse-transfer-search-copy>span{display:block;color:#3451b5;font-size:7px;font-weight:950}.warehouse-transfer-search-copy h4{margin:3px 0 0;color:#17295f;font-size:11px}.warehouse-transfer-search-copy p{margin:3px 0 0;color:#657188;font-size:8px;line-height:1.3}.warehouse-transfer-search-copy>small{display:block;margin-top:4px;color:#707c92;font-size:7px}.warehouse-transfer-search-copy>small b{color:#17295f;font-family:ui-monospace,Consolas,monospace}.warehouse-transfer-search-applications{display:flex;flex-wrap:wrap;gap:3px;margin-top:5px}.warehouse-transfer-search-applications i{padding:3px 5px;border-radius:99px;background:#eef2ff;color:#3650a7;font-size:6px;font-style:normal;font-weight:850}.warehouse-transfer-search-stock{display:grid;gap:6px}.warehouse-transfer-search-stock>strong{color:#147455;font-size:10px;text-align:right}.warehouse-transfer-search-stock label{gap:3px}.warehouse-transfer-search-stock label span{font-size:7px}.warehouse-transfer-search-stock select,.warehouse-transfer-search-stock input{height:31px;font-size:8px}.warehouse-transfer-search-stock>div{display:grid;grid-template-columns:66px 1fr;gap:6px;align-items:end}.warehouse-transfer-search-stock button{height:31px;border:0;border-radius:7px;background:#2448bc;color:#fff;font-size:8px;font-weight:950;cursor:pointer}.warehouse-transfer-search-empty{min-height:105px;padding:25px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;color:#7b8597;background:#fff;border-top:1px solid #e0e5ed}.warehouse-transfer-search-empty b{color:#213262;font-size:10px}.warehouse-transfer-search-empty span{max-width:430px;font-size:8px;line-height:1.4}.warehouse-transfer-search-more{width:calc(100% - 20px);height:32px;margin:8px 10px;border:1px solid #c9d4e8;border-radius:7px;background:#fff;color:#2448bc;font-size:8px;font-weight:950;cursor:pointer}
@media(max-width:1120px){.warehouse-filters{grid-template-columns:2fr 1fr 1fr}.warehouse-filters #warehouseStockFilter,.warehouse-filters .warehouse-clear{grid-row:2}.warehouse-workspace{grid-template-columns:minmax(0,1.45fr) minmax(285px,.75fr)}.warehouse-setup-grid{grid-template-columns:1fr 1fr}.warehouse-setup-card.location-card{grid-column:1/-1}.warehouse-outbound-filters{grid-template-columns:1fr 1fr 1fr}.warehouse-outbound-document{grid-column:1/3}.warehouse-transfer-workspace{grid-template-columns:1fr}.warehouse-transfer-list-panel{border-right:0;border-bottom:1px solid #dfe4ed}}
@media(max-width:840px){.warehouse-kpis,.warehouse-outbound-summary{grid-template-columns:repeat(2,1fr)}.warehouse-workspace{grid-template-columns:1fr}.warehouse-location-panel{position:static}.warehouse-location-map{grid-template-columns:repeat(3,1fr)}.warehouse-filters{grid-template-columns:1fr 1fr}.warehouse-search{grid-column:1/-1}.warehouse-filters #warehouseStockFilter,.warehouse-filters .warehouse-clear{grid-row:auto}.warehouse-hero{align-items:flex-start;flex-direction:column}.warehouse-hero-actions{width:100%}.warehouse-hero-actions button{flex:1}.warehouse-panel-heading{align-items:flex-start;flex-direction:column}.warehouse-transfer-toolbar{align-items:flex-start;flex-direction:column}.warehouse-transfer-toolbar>div:last-child{width:100%}.warehouse-transfer-toolbar select{flex:1}}
@media(max-width:560px){.warehouse-view{padding:8px 9px 42px}.warehouse-hero{padding:22px 19px;border-radius:13px}.warehouse-safety-note{width:calc(100% - 14px);margin-top:-7px}.warehouse-kpis{gap:6px}.warehouse-kpis>div{min-height:84px;padding:13px}.warehouse-kpis strong{font-size:23px}.warehouse-filters,.warehouse-outbound-filters{grid-template-columns:1fr}.warehouse-search,.warehouse-outbound-document{grid-column:auto}.warehouse-location-map{grid-template-columns:1fr 1fr}.warehouse-setup-grid{grid-template-columns:1fr}.warehouse-setup-card.location-card{grid-column:auto}.warehouse-table-footer small{display:none}.warehouse-tabs{width:100%;overflow:auto}.warehouse-tabs button{flex:1;min-width:max-content}.warehouse-transfer-route,.warehouse-transfer-document-fields,.warehouse-transfer-add-item{grid-template-columns:1fr}.warehouse-transfer-route>span{display:none}.warehouse-transfer-add-item button{width:100%}.warehouse-transfer-toolbar>div:last-child{flex-direction:column}.warehouse-transfer-toolbar button{width:100%}}
@media(max-width:760px){.warehouse-transfer-search-result{grid-template-columns:45px minmax(0,1fr)}.warehouse-transfer-search-thumb{width:43px;height:43px}.warehouse-transfer-search-stock{grid-column:1/-1;grid-template-columns:1fr auto;align-items:end}.warehouse-transfer-search-stock>strong{grid-column:1/-1;text-align:left}.warehouse-transfer-finder-heading{flex-direction:column}.warehouse-transfer-finder-heading>small{max-width:none;text-align:left}}
@media(max-width:560px){.warehouse-transfer-searchbar{flex-wrap:wrap}.warehouse-transfer-searchbar>span{display:none}.warehouse-transfer-searchbar input{width:100%}.warehouse-transfer-searchbar button{width:100%}.warehouse-transfer-search-help{flex-direction:column}.warehouse-transfer-search-stock{grid-template-columns:1fr}.warehouse-transfer-search-stock>div{grid-template-columns:82px 1fr}}

/* Transfer composer v2: guided flow + persistent cart */
.warehouse-transfer-flow{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:10px;padding:9px;border:1px solid #dce3ef;border-radius:10px;background:#f7f9fd}.warehouse-transfer-flow:before{content:"";position:absolute;left:12%;right:12%;top:25px;height:2px;background:#dce3ef}.warehouse-transfer-flow>div{position:relative;z-index:1;display:flex;align-items:center;gap:7px;min-width:0;color:#8993a5}.warehouse-transfer-flow i{width:31px;height:31px;flex:0 0 31px;border:2px solid #d3dbe9;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:#7d899c;font-size:9px;font-style:normal;font-weight:950}.warehouse-transfer-flow span{min-width:0}.warehouse-transfer-flow b,.warehouse-transfer-flow small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.warehouse-transfer-flow b{font-size:8px}.warehouse-transfer-flow small{margin-top:2px;font-size:6px}.warehouse-transfer-flow>div.complete i{border-color:#17805a;background:#17805a;color:#fff}.warehouse-transfer-flow>div.complete{color:#176b4e}.warehouse-transfer-flow>div.active i{border-color:#3154c7;background:#3154c7;color:#fff;box-shadow:0 0 0 4px rgba(49,84,199,.12)}.warehouse-transfer-flow>div.active{color:#203b99}.warehouse-transfer-flow.cancelled{border-color:#efcfd3;background:#fff7f8}.warehouse-transfer-flow.cancelled:before{background:#efcfd3}.warehouse-transfer-flow.cancelled>div{color:#b16b72}.warehouse-transfer-flow.cancelled i{border-color:#d84c58;color:#bc2f3b}
.warehouse-transfer-compose{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(310px,.72fr);gap:10px;margin-top:10px;align-items:start}.warehouse-transfer-compose .warehouse-transfer-finder{margin-top:0;min-width:0}.warehouse-transfer-compose .warehouse-transfer-search-results{max-height:500px}.warehouse-transfer-compose .warehouse-transfer-search-result{grid-template-columns:50px minmax(0,1fr) 175px}.warehouse-transfer-cart{position:sticky;top:8px;overflow:hidden;border:1px solid #cad4e7;border-radius:11px;background:#fff;box-shadow:0 10px 30px rgba(24,49,107,.1)}.warehouse-transfer-cart>header{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:11px 12px;background:#1c2d65;color:#fff}.warehouse-transfer-cart>header span{display:block;color:#ffb8bf;font-size:7px;font-weight:950;letter-spacing:1px}.warehouse-transfer-cart>header b{display:block;margin-top:3px;font-size:11px}.warehouse-transfer-cart>header strong{min-width:29px;height:29px;padding:0 7px;border-radius:99px;display:flex;align-items:center;justify-content:center;background:#d63a47;color:#fff;font-size:9px}.warehouse-transfer-cart-route{padding:9px 11px;border-bottom:1px solid #e2e7ef;background:#f6f8fc}.warehouse-transfer-cart-route small{display:block;color:#6f7b91;font-size:6px;font-weight:950;letter-spacing:.8px}.warehouse-transfer-cart-route b{display:block;margin-top:3px;color:#17295f;font-size:8px;line-height:1.35}.warehouse-transfer-cart-route span{display:block;margin-top:3px;color:#758097;font-size:7px}.warehouse-transfer-cart-items{max-height:355px;overflow:auto;padding:7px;display:grid;gap:6px;background:#fff}.warehouse-transfer-cart-item{border:1px solid #e0e5ee;border-radius:8px;padding:8px;background:#fff}.warehouse-transfer-cart-item>header{display:flex;align-items:flex-start;justify-content:space-between;gap:7px}.warehouse-transfer-cart-item>header b{display:block;color:#17295f;font-size:9px;line-height:1.25}.warehouse-transfer-cart-item>header small{display:block;margin-top:2px;color:#778397;font-size:6px}.warehouse-transfer-cart-item>header button{width:23px;height:23px;flex:0 0 23px;border:0;border-radius:6px;background:#fdecee;color:#bd2c38;font-size:13px;cursor:pointer}.warehouse-transfer-cart-locations{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin-top:7px}.warehouse-transfer-cart-locations select{height:29px;font-size:7px}.warehouse-transfer-cart-item>footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.warehouse-transfer-cart-item>footer>span{color:#187150;font-size:7px;font-weight:850}.warehouse-transfer-quantity{display:grid;grid-template-columns:26px 42px 26px;align-items:center}.warehouse-transfer-quantity button,.warehouse-transfer-quantity input{height:27px!important;border:1px solid #d6deeb!important;border-radius:0!important;text-align:center;padding:0!important;font-size:8px!important}.warehouse-transfer-quantity button{background:#f4f6fa;color:#2448bc;font-weight:950;cursor:pointer}.warehouse-transfer-quantity button:first-child{border-radius:6px 0 0 6px!important}.warehouse-transfer-quantity button:last-child{border-radius:0 6px 6px 0!important}.warehouse-transfer-cart-empty{padding:28px 15px;text-align:center;color:#7b8597}.warehouse-transfer-cart-empty b{display:block;color:#22315d;font-size:10px}.warehouse-transfer-cart-empty span{display:block;margin-top:3px;font-size:7px}.warehouse-transfer-cart-summary{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e2e6ee;border-bottom:1px solid #e2e6ee;background:#f7f9fd}.warehouse-transfer-cart-summary>div{display:flex;align-items:center;justify-content:space-between;padding:8px 10px}.warehouse-transfer-cart-summary>div+div{border-left:1px solid #e2e6ee}.warehouse-transfer-cart-summary span{color:#6d788c;font-size:7px}.warehouse-transfer-cart-summary b{color:#17295f;font-size:11px}.warehouse-transfer-cart-checks{display:grid;gap:4px;padding:8px 10px}.warehouse-transfer-cart-checks span{position:relative;padding-left:17px;color:#8a6b2a;font-size:7px;font-weight:800}.warehouse-transfer-cart-checks span:before{content:"!";position:absolute;left:0;top:-2px;width:13px;height:13px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff0cf;color:#98620f;font-size:7px;font-weight:950}.warehouse-transfer-cart-checks span.ready{color:#176b4e}.warehouse-transfer-cart-checks span.ready:before{content:"✓";background:#e3f5ed;color:#147455}.warehouse-transfer-cart .warehouse-message{min-height:0;margin:0 10px 7px;font-size:7px}.warehouse-transfer-cart .warehouse-transfer-actions{margin:0;padding:9px 10px;border-top:1px solid #e2e6ee;background:#fff;display:grid;grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}.warehouse-transfer-cart .warehouse-transfer-actions button{width:100%;height:36px}.warehouse-transfer-actions button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1080px){.warehouse-transfer-compose{grid-template-columns:1fr}.warehouse-transfer-cart{position:static}.warehouse-transfer-cart-items{max-height:430px}}
@media(max-width:620px){.warehouse-transfer-flow{grid-template-columns:1fr 1fr}.warehouse-transfer-flow:before{display:none}.warehouse-transfer-compose .warehouse-transfer-search-result{grid-template-columns:44px minmax(0,1fr)}.warehouse-transfer-cart-locations{grid-template-columns:1fr}.warehouse-transfer-cart-item>footer{align-items:flex-start;flex-direction:column}.warehouse-transfer-quantity{align-self:flex-end}}

/* Transfer requests v3: branch grouping, picking inbox and catalog filters */
.warehouse-transfer-list-heading{padding:11px 12px 8px;border-bottom:1px solid #dfe4ed;background:#eef2fb}.warehouse-transfer-list-heading span{display:block;color:#d72736;font-size:7px;font-weight:950;letter-spacing:1px}.warehouse-transfer-list-heading b{display:block;margin-top:3px;color:#17295f;font-size:12px}.warehouse-transfer-list-heading small{display:block;margin-top:3px;color:#6f7b91;font-size:7px;line-height:1.35}.warehouse-transfer-request-group{overflow:hidden;border:1px solid #d8dfec;border-radius:10px;background:#fff}.warehouse-transfer-request-group>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;background:#1c2d65;color:#fff}.warehouse-transfer-request-group>header span{display:block;color:#ffb8bf;font-size:6px;font-weight:950;letter-spacing:.9px}.warehouse-transfer-request-group>header b{display:block;margin-top:2px;font-size:9px}.warehouse-transfer-request-group>header small{padding:4px 6px;border-radius:99px;background:rgba(255,255,255,.13);font-size:6px;font-weight:850}.warehouse-transfer-request+.warehouse-transfer-request{border-top:1px solid #e3e7ef}.warehouse-transfer-request.active{box-shadow:inset 3px 0 #d72736}.warehouse-transfer-request-main{width:100%;padding:8px 9px;border:0;background:#fff;text-align:left;cursor:pointer}.warehouse-transfer-request-main:hover{background:#f8faff}.warehouse-transfer-request-main>div{display:flex;align-items:center;justify-content:space-between;gap:7px}.warehouse-transfer-request-main code{color:#2448bc;font-size:8px;font-weight:950}.warehouse-transfer-request-main p{margin:5px 0 0;color:#59667d;font-size:7px;line-height:1.35}.warehouse-transfer-request-main p b{color:#23345f}.warehouse-transfer-request-main>small{display:block;margin-top:4px;color:#7a8497;font-size:7px}.warehouse-transfer-request-items{padding:0 8px 8px;display:grid;gap:4px}.warehouse-transfer-request-item{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:6px 7px;border:1px solid #e1e6ef;border-radius:7px;background:#f8f9fc}.warehouse-transfer-request-item>span{min-width:0}.warehouse-transfer-request-item>span b{display:block;overflow:hidden;color:#17295f;font-size:7px;text-overflow:ellipsis;white-space:nowrap}.warehouse-transfer-request-item>span small{display:block;margin-top:2px;color:#778296;font-size:6px}.warehouse-transfer-request-item button{flex:0 0 auto;height:25px;border:0;border-radius:6px;background:#2448bc;color:#fff;padding:0 8px;font-size:6px;font-weight:950;cursor:pointer}.warehouse-transfer-request-item em{flex:0 0 auto;color:#147455;font-size:6px;font-style:normal;font-weight:950}.warehouse-transfer-request-item.picked{border-color:#cbe9dc;background:#edf8f3}.warehouse-transfer-search-filters{display:grid;grid-template-columns:1fr 1.25fr 1.25fr;gap:6px;margin:7px 10px 0}.warehouse-transfer-search-filters select{height:32px;font-size:8px}.warehouse-transfer-cart-destination{overflow:hidden;border:1px solid #d9e1ed;border-radius:9px;background:#f7f9fd}.warehouse-transfer-cart-destination>header{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:7px 8px;border-bottom:1px solid #dfe5ee;background:#edf2fb}.warehouse-transfer-cart-destination>header span{display:block;color:#d72736;font-size:5px;font-weight:950;letter-spacing:.8px}.warehouse-transfer-cart-destination>header b{display:block;margin-top:2px;color:#17295f;font-size:8px}.warehouse-transfer-cart-destination>header small{color:#607087;font-size:6px;font-weight:850}.warehouse-transfer-cart-destination>div{padding:5px;display:grid;gap:5px}
.warehouse-transfer-request-product{min-width:0!important;flex:1}.warehouse-transfer-request-product>b{font-size:8px!important}.warehouse-transfer-request-product .warehouse-transfer-request-vehicle{margin-top:3px!important;color:#2e4377!important;font-weight:850;line-height:1.35}.warehouse-transfer-request-codes{display:flex!important;flex-wrap:wrap;gap:3px;margin-top:5px!important}.warehouse-transfer-request-codes i{padding:3px 5px;border-radius:99px;background:#eef2ff;color:#3650a7;font-style:normal;font-weight:850}.warehouse-transfer-request-codes i:first-child{background:#fff0df;color:#96580e}.warehouse-transfer-request-codes i:last-child{background:#edf5f1;color:#176b4e}.warehouse-transfer-request-item{gap:9px;padding:8px;border-radius:8px}.warehouse-transfer-request-item button{min-width:92px;height:30px;border-radius:7px}.warehouse-transfer-request-item em{max-width:125px;text-align:right;line-height:1.35}
.warehouse-transfer-request-item em small{display:block;margin-top:3px;color:#527765;font-size:5px}.warehouse-transfer-request-item button:disabled{opacity:.5;cursor:wait}.warehouse-transfer-cart-product-meta{margin-top:6px;padding:6px;border-radius:6px;background:#f3f6fc}.warehouse-transfer-cart-product-meta span,.warehouse-transfer-cart-product-meta small{display:block;color:#304675;font-size:6px;line-height:1.35}.warehouse-transfer-cart-product-meta small{margin-top:3px;color:#788397}.warehouse-transfer-picked-quantity{color:#18346f;font-size:10px}.warehouse-transfer-pick-progress{display:flex;align-items:center;justify-content:center;padding:0 8px;color:#7c6127;font-size:7px;font-weight:900}.warehouse-transfer-actions [data-transfer-print]{border-color:#90a3cf;background:#f1f4fb;color:#1e3b8c}
@media(max-width:760px){.warehouse-transfer-search-filters{grid-template-columns:1fr}.warehouse-transfer-request-item{align-items:flex-start;flex-direction:column}.warehouse-transfer-request-item button,.warehouse-transfer-request-item em{align-self:flex-end}}

/* Hoja de picking imprimible sin estilos ni eventos inline (compatible con CSP). */
.warehouse-picking-print-page{margin:28px;background:#fff;color:#17295f;font-family:Arial,sans-serif}.warehouse-picking-print-page *{box-sizing:border-box}.warehouse-picking-print-page>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:4px solid #d52e3b}.warehouse-picking-print-page h1{margin:0;font-size:25px}.warehouse-picking-print-page p{margin:5px 0;color:#57657c}.warehouse-picking-print-page button{height:38px;padding:0 18px;border:0;border-radius:8px;background:#2448bc;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.warehouse-picking-print-page .route{display:grid;gap:5px;margin:18px 0;padding:14px;border:1px solid #ccd5e5;border-radius:10px;background:#f4f7fc}.warehouse-picking-print-page .route span{color:#d52e3b;font-size:10px;font-weight:900;letter-spacing:1px}.warehouse-picking-print-page .route b{font-size:18px}.warehouse-picking-print-page .meta{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.warehouse-picking-print-page .meta div{padding:9px;border:1px solid #dce2ec;border-radius:8px}.warehouse-picking-print-page .meta span,.warehouse-picking-print-page small{display:block;margin-top:3px;color:#6c7890;font-size:11px}.warehouse-picking-print-page table{width:100%;margin-top:16px;border-collapse:collapse}.warehouse-picking-print-page th{padding:9px;background:#1c2d65;color:#fff;font-size:11px;text-align:left}.warehouse-picking-print-page td{padding:10px 8px;border-bottom:1px solid #dfe4ed;font-size:12px;vertical-align:top}.warehouse-picking-print-page td.qty{font-size:18px;font-weight:800;text-align:center}.warehouse-picking-print-page>footer{margin-top:24px;padding-top:12px;border-top:1px solid #ccd5e5;color:#68758a;font-size:11px}
@media print{.warehouse-picking-print-page{margin:12mm}.warehouse-picking-print-page button{display:none}}

/* Inventory entry v4: manual and CSV stock loading */
.warehouse-inventory-panel{background:#f6f8fc}.warehouse-inventory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border-bottom:1px solid #dfe4ed;background:#fff}.warehouse-inventory-toolbar>div:first-child>span{display:block;color:#d72736;font-size:8px;font-weight:950;letter-spacing:1px}.warehouse-inventory-toolbar>div:first-child>b{display:block;margin-top:3px;color:#17295f;font-size:15px}.warehouse-inventory-toolbar>div:first-child>small{display:block;margin-top:3px;color:#778297;font-size:9px}.warehouse-inventory-modes{display:flex;padding:3px;border:1px solid #d5ddea;border-radius:8px;background:#f3f5f9}.warehouse-inventory-modes button{height:32px;border:0;border-radius:6px;background:transparent;color:#6a758a;padding:0 13px;font-size:9px;font-weight:900;cursor:pointer}.warehouse-inventory-modes button.active{background:#fff;color:#2448bc;box-shadow:0 2px 7px rgba(16,37,86,.1)}
.warehouse-inventory-document{display:grid;grid-template-columns:1fr 1fr 1fr 1.6fr;gap:8px;padding:12px 13px 0}.warehouse-inventory-document label,.warehouse-inventory-route label{display:flex;flex-direction:column;gap:4px}.warehouse-inventory-document label span,.warehouse-inventory-route label span{color:#69758b;font-size:8px;font-weight:900}.warehouse-inventory-document input,.warehouse-inventory-document select,.warehouse-inventory-route select{height:38px;min-width:0;border:1px solid #d4dce9;border-radius:8px;background:#fff;padding:0 10px;color:#263553;font-size:10px}.warehouse-inventory-operation-help{margin:7px 13px 0;padding:8px 10px;border-radius:8px;background:#eef3ff;color:#3450a6;font-size:8px}.warehouse-inventory-route{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px;padding:11px 13px}.warehouse-inventory-compose{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.65fr);gap:10px;padding:0 13px 13px;align-items:start}.warehouse-inventory-finder,.warehouse-inventory-cart,.warehouse-inventory-csv-preview{overflow:hidden;border:1px solid #d8dfeb;border-radius:11px;background:#fff}.warehouse-inventory-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:7px;padding:8px;border-bottom:1px solid #e0e5ed}.warehouse-inventory-search>span{padding-left:5px;color:#d72736;font-size:20px}.warehouse-inventory-search input{height:38px;min-width:0;border:0;outline:0;color:#1f2f54;font-size:11px}.warehouse-inventory-search button,.warehouse-inventory-result button,.warehouse-inventory-submit button,.warehouse-inventory-csv-head button{height:36px;border:0;border-radius:7px;background:#2448bc;color:#fff;padding:0 14px;font-size:9px;font-weight:950;cursor:pointer}.warehouse-inventory-results{max-height:350px;overflow:auto}.warehouse-inventory-result{display:grid;grid-template-columns:minmax(0,1fr) 90px auto;align-items:center;gap:9px;padding:10px 11px;border-top:1px solid #e5e9f0}.warehouse-inventory-result:first-child{border-top:0}.warehouse-inventory-result:hover{background:#f7f9fd}.warehouse-inventory-result b{display:block;color:#17295f;font-size:10px}.warehouse-inventory-result span{display:block;margin-top:3px;color:#6f7b91;font-size:7px}.warehouse-inventory-result code{display:block;margin-top:4px;color:#2448bc;font-size:7px;font-weight:900}.warehouse-inventory-result input{height:34px;width:90px;border:1px solid #d5ddea;border-radius:7px;padding:0 8px;text-align:center}.warehouse-inventory-empty{min-height:145px;padding:30px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;color:#7b8597}.warehouse-inventory-empty b{color:#22315d;font-size:10px}.warehouse-inventory-empty span{font-size:8px}.warehouse-inventory-cart{position:sticky;top:8px}.warehouse-inventory-cart>header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;background:#1c2d65;color:#fff}.warehouse-inventory-cart>header span{display:block;color:#ffb8bf;font-size:7px;font-weight:950;letter-spacing:1px}.warehouse-inventory-cart>header b{display:block;margin-top:3px;font-size:11px}.warehouse-inventory-cart>header strong{min-width:29px;height:29px;padding:0 7px;border-radius:99px;display:flex;align-items:center;justify-content:center;background:#d63a47;font-size:9px}.warehouse-inventory-cart-rows{max-height:300px;overflow:auto;padding:7px;display:grid;gap:6px}.warehouse-inventory-cart-row{display:grid;grid-template-columns:minmax(0,1fr) 78px 25px;align-items:center;gap:6px;padding:8px;border:1px solid #dfe5ee;border-radius:8px}.warehouse-inventory-cart-row b{display:block;color:#17295f;font-size:8px}.warehouse-inventory-cart-row small{display:block;margin-top:3px;color:#768198;font-size:6px}.warehouse-inventory-cart-row input{height:30px;width:78px;border:1px solid #d5ddea;border-radius:6px;text-align:center}.warehouse-inventory-cart-row button{width:25px;height:25px;border:0;border-radius:6px;background:#fdecee;color:#bd2c38;cursor:pointer}.warehouse-inventory-cart-empty{padding:30px 15px;text-align:center;color:#7b8597}.warehouse-inventory-cart-empty b{display:block;color:#22315d;font-size:10px}.warehouse-inventory-cart-empty span{display:block;margin-top:3px;font-size:7px}.warehouse-inventory-cart>footer{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #e1e6ee;background:#f7f9fd}.warehouse-inventory-cart>footer span{padding:9px 10px;color:#66738a;font-size:7px}.warehouse-inventory-cart>footer span+span{border-left:1px solid #e1e6ee}.warehouse-inventory-cart>footer b{color:#17295f;font-size:11px}
.warehouse-inventory-csv-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px}.warehouse-inventory-csv-head b{display:block;color:#17295f;font-size:12px}.warehouse-inventory-csv-head span{display:block;margin-top:3px;color:#778297;font-size:8px}.warehouse-inventory-csv-head button{border:1px solid #cbd5e7;background:#fff;color:#2448bc}.warehouse-inventory-drop{margin:0 13px 10px;min-height:100px;border:2px dashed #b9c6e1;border-radius:11px;background:#f9fbff;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;text-align:center;cursor:pointer}.warehouse-inventory-drop:hover{border-color:#4965c9;background:#f3f6ff}.warehouse-inventory-drop b{color:#2448bc;font-size:11px}.warehouse-inventory-drop span{color:#65728a;font-size:8px}.warehouse-inventory-drop small{color:#8a94a5;font-size:7px}.warehouse-inventory-csv-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:0 13px 10px}.warehouse-inventory-csv-summary>div{padding:9px;border:1px solid #dce3ee;border-radius:8px;background:#fff}.warehouse-inventory-csv-summary span{display:block;color:#6d798e;font-size:7px}.warehouse-inventory-csv-summary b{display:block;margin-top:3px;color:#17295f;font-size:14px}.warehouse-inventory-csv-summary .error b{color:#c12d39}.warehouse-inventory-csv-preview{margin:0 13px 13px;max-height:350px;overflow:auto}.warehouse-inventory-csv-preview table{width:100%;min-width:780px;border-collapse:collapse}.warehouse-inventory-csv-preview th{position:sticky;top:0;padding:8px 9px;background:#eef2f8;color:#69758a;font-size:7px;text-align:left}.warehouse-inventory-csv-preview td{padding:8px 9px;border-top:1px solid #e4e8ef;color:#2c3a59;font-size:8px}.warehouse-inventory-csv-status{display:inline-flex;padding:4px 6px;border-radius:99px;background:#e9f7f2;color:#147455;font-size:7px;font-weight:900}.warehouse-inventory-csv-status.error{background:#fdecee;color:#b72c38}.warehouse-inventory-submit{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border-top:1px solid #dfe4ed;background:#fff}.warehouse-inventory-submit>label{color:#44516a;font-size:9px}.warehouse-inventory-submit>label input{margin-right:6px}.warehouse-inventory-submit>div{display:flex;gap:7px}.warehouse-inventory-submit button:first-child{border:1px solid #cfd8e8;background:#fff;color:#2448bc}.warehouse-inventory-submit button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:1050px){.warehouse-inventory-document{grid-template-columns:1fr 1fr}.warehouse-inventory-reason{grid-column:1/-1}.warehouse-inventory-compose{grid-template-columns:1fr}.warehouse-inventory-cart{position:static}}
@media(max-width:680px){.warehouse-inventory-toolbar,.warehouse-inventory-submit{align-items:flex-start;flex-direction:column}.warehouse-inventory-modes,.warehouse-inventory-submit>div{width:100%}.warehouse-inventory-modes button,.warehouse-inventory-submit button{flex:1}.warehouse-inventory-document,.warehouse-inventory-route{grid-template-columns:1fr}.warehouse-inventory-reason{grid-column:auto}.warehouse-inventory-result{grid-template-columns:1fr 80px}.warehouse-inventory-result button{grid-column:1/-1}.warehouse-inventory-csv-head{align-items:flex-start;flex-direction:column}.warehouse-inventory-csv-head button{width:100%}.warehouse-inventory-csv-summary{grid-template-columns:1fr}}
/* Transfer workbench: consistent hierarchy and compact, scrollable receipt detail. */
#warehouseTransferPanel .warehouse-transfer-list-panel{border:2px solid #cad2ee;border-radius:14px;overflow:hidden}
#warehouseTransferPanel .warehouse-transfer-list-heading{background:#eef2ff;border-bottom:2px solid #cad2ee;padding:16px}
#warehouseTransferPanel .warehouse-transfer-editor{border:2px solid #4b5bc1;border-radius:14px;box-shadow:0 8px 22px #253b7012}
#warehouseTransferPanel .warehouse-transfer-editor>header{background:#25356e;color:#fff;padding:16px}
#warehouseTransferPanel .warehouse-transfer-editor>header h3{color:inherit}
.warehouse-transfer-received-summary{padding:12px;background:#eaf7f1;border:1px solid #abd4c2;border-radius:8px;color:#24543f}
.warehouse-receive-dialog{width:min(960px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:2px solid #4b5bc1;border-radius:16px;padding:24px;color:#202d60;background:#fff;font:16px/1.5 system-ui,sans-serif}
.warehouse-receive-dialog::backdrop{background:#16244888}
.warehouse-receive-dialog header,.warehouse-receive-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:16px}
.warehouse-receive-dialog h2{font-size:1.35rem;margin:0}
.warehouse-receive-dialog label{display:grid;gap:8px;margin:16px 0;font-weight:600}
.warehouse-receive-dialog input,.warehouse-receive-dialog textarea,.warehouse-receive-dialog button{font:inherit;border:1px solid #bec8e7;border-radius:8px;padding:9px 12px}
.warehouse-receive-dialog button{cursor:pointer;background:#f1f4fc;color:#20316a}
.warehouse-receive-dialog button.primary{background:#4254b7;color:#fff}
.warehouse-receive-dialog button:disabled{opacity:.55;cursor:wait}
.warehouse-receive-dialog textarea{min-height:80px;resize:vertical}
.warehouse-receive-dialog .warehouse-receive-confirm{display:flex;align-items:flex-start;font-weight:500}
.warehouse-receive-table{max-height:42vh;overflow:auto;border:1px solid #d0d8ed;border-radius:10px}
.warehouse-receive-table table{border-collapse:collapse;width:100%;min-width:580px}
.warehouse-receive-table th{position:sticky;top:0;background:#edf2fc;text-align:left}
.warehouse-receive-table th,.warehouse-receive-table td{padding:10px;border-bottom:1px solid #dce2f0}
.warehouse-receive-table small{display:block;font-size:.875rem}
.warehouse-receive-table input{width:90px}
.warehouse-receive-dialog [role=alert]{color:#a42222}
.warehouse-receive-dialog .transfer-incident-card{border:2px solid #e1b55a;border-radius:12px;padding:16px;margin:14px 0;background:#fffdf7;font-size:1rem}
.warehouse-receive-dialog .transfer-incident-card h3{margin:0 0 8px;font-size:1.1rem}
.warehouse-receive-dialog .transfer-incident-card article{border-top:1px solid #cbd5e1;padding:12px 0;margin-top:12px}
.warehouse-receive-dialog .transfer-incident-card button{margin:4px;border:1px solid #4855b9;color:#202d60;background:#fff;padding:10px;border-radius:8px;font-size:.9375rem}
/* Solicitudes independientes del despacho: compactas y con funciones diferenciadas. */
#transferRequestsPanel {margin-bottom:20px;color:#242d57;font-size:15px}
#transferRequestsPanel nav {display:flex;flex-wrap:wrap;gap:8px;padding:14px;background:#eaf0ff;border:1px solid #aebee4;border-radius:12px;margin-bottom:14px}
#transferRequestsPanel button {font:inherit;font-weight:600;border:1px solid #b4bfe0;border-radius:8px;background:white;color:#303f96;padding:10px 14px;cursor:pointer}
#transferRequestsPanel button[aria-pressed="true"],#transferRequestsPanel button[type="submit"] {background:#3e4cb4;color:white}
#transferRequestsPanel button:disabled {opacity:.5;cursor:default}
#transferRequestsPanel [data-board] {padding:18px;border:1px solid #b4c4dc;border-radius:12px;background:#f8fbff}
#transferRequestsPanel .requisition-card {padding:16px;border:1px solid #a7b7d7;border-left:5px solid #3a7d84;border-radius:10px;background:white;margin:12px 0}
#transferRequestsPanel header {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
#transferRequestsPanel header span {background:#fff0c7;padding:4px 10px;border-radius:8px}
#transferRequestsPanel label {display:block;margin:10px 0}
#transferRequestsPanel input:not([type="checkbox"]),#transferRequestsPanel select,#transferRequestsPanel textarea {display:block;box-sizing:border-box;width:100%;font:inherit;padding:10px;border:1px solid #aeb9d5;border-radius:8px;background:white}
#transferRequestsPanel .requisition-fields {display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}
#transferRequestsPanel [data-results] {display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:8px;max-height:330px;overflow:auto;margin:12px 0}
#transferRequestsPanel [data-cart] {max-height:360px;overflow:auto}
#transferRequestsPanel [data-cart] input {max-width:110px;display:inline-block}
#transferRequestsPanel [role="alert"] {color:#a52323}
#warehouseTransferPanel > [hidden],#transferRequestsPanel [hidden] {display:none!important}
#transferRequestsPanel [data-results].product-grid {grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));max-height:680px;gap:16px;padding:4px;align-items:stretch}
#transferRequestsPanel .requisition-product {min-width:0;cursor:default;display:flex;flex-direction:column}
#transferRequestsPanel .requisition-product .card-bottom {margin-top:auto;flex-wrap:wrap;gap:12px}
#transferRequestsPanel .requisition-product .price-pair {flex-wrap:wrap}
#transferRequestsPanel .requisition-product .card-copy h2 {font-size:16px;line-height:1.35}
#transferRequestsPanel .requisition-product .description {font-size:14px}
#transferRequestsPanel .requisition-product .thumb {height:110px}
#transferRequestsPanel .requisition-product .card-body {grid-template-columns:110px minmax(0,1fr)}
#transferRequestsPanel .requisition-product .stock {display:none}
#transferRequestsPanel .requisition-product .quote-add-button {font-size:14px;background:#3e4cb4;color:white}
#transferRequestsPanel [data-result-status] {font-size:14px;color:#596483}
@media(max-width:480px){#transferRequestsPanel .requisition-product .card-body {grid-template-columns:80px minmax(0,1fr)}#transferRequestsPanel .requisition-product .thumb{height:80px}}

/* Transfer notifications never take focus or change a request's business status. */
.transfer-alert-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border:1px solid #bac6e9;border-radius:12px;background:#f0f3ff;color:#3048ad;cursor:pointer}
.transfer-alert-bell [data-alert-count]{position:absolute;right:-5px;top:-6px;min-width:21px;padding:2px 5px;border:2px solid white;border-radius:99px;background:#d13845;color:white;font:700 12px/1.3 system-ui}
.transfer-alert-panel,.transfer-alert-toast,.transfer-receipt-success{box-sizing:border-box;position:fixed;z-index:1500;color:#223164;font:15px/1.45 system-ui,sans-serif;box-shadow:0 14px 48px #18255330}
.transfer-alert-panel{right:20px;top:78px;width:min(430px,calc(100% - 40px));max-height:calc(100vh - 100px);overflow:auto;padding:18px;border:2px solid #8799df;border-radius:16px;background:#fff}
.transfer-alert-panel header,.transfer-alert-panel footer,.transfer-alert-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}
.transfer-alert-panel h2{margin:0;font-size:19px;color:#24366d}.transfer-alert-panel p{font-size:13px;color:#61718a}.transfer-alert-panel [data-alert-list]{max-height:48vh;overflow:auto}
.transfer-alert-panel button,.transfer-alert-toast button{font:600 14px/1.4 system-ui;border:1px solid #bcc7e6;border-radius:9px;padding:9px 12px;background:#f1f4ff;color:#293e96;cursor:pointer}
.transfer-alert-panel .transfer-alert-row{display:block;width:100%;text-align:left;margin:8px 0;padding:13px;border-left:4px solid #3f8f96;background:#f6fafc}
.transfer-alert-row b,.transfer-alert-row span,.transfer-alert-row small{display:block}.transfer-alert-row b{font-size:14px}.transfer-alert-row span{margin:5px 0;font-size:13px;color:#536582}.transfer-alert-row small{font-size:12px;color:#657187}
.transfer-alert-toast{right:20px;bottom:20px;width:min(390px,calc(100% - 40px));padding:18px;border:2px solid #689aa8;border-radius:16px;background:#f1fafb}
.transfer-alert-toast strong{font-size:17px}.transfer-alert-toast p{margin:8px 0}.transfer-alert-toast span{font-size:14px;color:#54667d}.transfer-alert-actions{justify-content:flex-end;margin-top:15px}.transfer-alert-actions [data-alert-view]{background:#3559ad;border-color:#3559ad;color:#fff}
.transfer-receipt-success{bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 24px);padding:15px 22px;border:2px solid #368769;border-radius:13px;background:#e8f8ed;color:#1f5a40;font-weight:650}
.transfer-alert-bell:focus-visible,.transfer-alert-panel button:focus-visible,.transfer-alert-toast button:focus-visible{outline:3px solid #cf8a1f;outline-offset:3px}
.transfer-alert-bell[hidden],.transfer-alert-panel[hidden],.transfer-alert-toast[hidden],.transfer-receipt-success[hidden],.transfer-alert-panel [hidden],.transfer-alert-bell [hidden],.warehouse-receive-dialog [hidden]{display:none!important}
#transferRequestsPanel .requisition-highlight{outline:3px solid #5a70ce;outline-offset:3px;background:#f1f5ff}
.warehouse-receive-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}.warehouse-receive-summary div{border:1px solid #c4cfe6;border-radius:12px;padding:13px;background:#f2f5fc}.warehouse-receive-summary span{display:block;font-size:13px;color:#586887}.warehouse-receive-summary strong{font-size:28px;line-height:1.4}.warehouse-receive-summary .receiving{border:2px solid #66a591;background:#edf9f3;color:#205e48}.warehouse-receive-summary .remaining{border:2px solid #d6b369;background:#fff8e8;color:#835918}
.warehouse-receive-review{border:2px solid #6996a4;border-radius:14px;padding:18px;background:#f3fafb}.warehouse-receive-review h3{margin:0 0 10px;font-size:20px}.warehouse-receive-review ul{max-height:24vh;overflow:auto;padding-left:22px}.warehouse-receive-review p{font-size:15px}.warehouse-receive-dialog [data-receive-error]:not(:empty){border-left:4px solid #c34a41;padding:12px;background:#fff2ed;border-radius:6px}
@media(max-width:600px){.transfer-alert-panel{right:12px;top:70px;width:calc(100% - 24px)}.transfer-alert-toast{right:12px;bottom:12px;width:calc(100% - 24px)}.warehouse-receive-dialog{padding:16px}.warehouse-receive-summary{grid-template-columns:1fr 1fr}.warehouse-receive-dialog footer{flex-wrap:wrap}.warehouse-receive-dialog footer button{flex:1;min-width:125px}}
@media(prefers-reduced-motion:reduce){.transfer-alert-panel,.transfer-alert-toast{scroll-behavior:auto}}
