/* Dawlance WMS — E-Bilty Update Control */
.ebuc-shell{--uc-ink:#14211f;--uc-deep:#173d3b;--uc-deep2:#235752;--uc-paper:#eef2ef;--uc-panel:#fffefa;--uc-line:#d6dfda;--uc-muted:#6b7772;--uc-coral:#dc704b;--uc-coral-dark:#a7472c;--uc-mint:#2f9c73;--uc-mint-soft:#dff3e9;--uc-gold:#ddae55;background:var(--uc-paper);color:var(--uc-ink);min-height:calc(100vh - 92px);padding:18px;border-radius:22px;font-family:Inter,"Segoe UI",sans-serif;position:relative;overflow:hidden}.ebuc-shell *{box-sizing:border-box}.ebuc-shell:before{content:"";position:absolute;right:-160px;top:-180px;width:470px;height:470px;border-radius:50%;border:1px solid rgba(47,156,115,.15);box-shadow:0 0 0 60px rgba(47,156,115,.035),0 0 0 120px rgba(47,156,115,.02);pointer-events:none}
.ebuc-hero{position:relative;z-index:1;background:linear-gradient(125deg,#153b3a 0%,#1d504b 58%,#347265 100%);border-radius:24px;padding:25px 27px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:25px;box-shadow:0 20px 48px rgba(18,55,52,.22);overflow:hidden}.ebuc-hero:after{content:"";position:absolute;right:18%;bottom:-130px;width:310px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(221,174,85,.25),transparent 68%);pointer-events:none}.ebuc-hero-copy{position:relative;z-index:1;max-width:820px}.ebuc-kicker{display:flex;align-items:center;gap:9px;text-transform:uppercase;letter-spacing:.17em;font-size:.63rem;font-weight:900;color:#d9c27b}.ebuc-kicker span{width:8px;height:8px;border-radius:50%;background:#7bd5ac;box-shadow:0 0 0 5px rgba(123,213,172,.13)}.ebuc-hero h1{font-family:"Arial Narrow",Inter,sans-serif;font-size:2.15rem;line-height:1;margin:9px 0 0;letter-spacing:-.04em}.ebuc-hero p{font-size:.79rem;line-height:1.5;color:#d2e3dd;margin:10px 0 0}.ebuc-scope{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.13);border-radius:9px;padding:7px 10px;margin-top:12px;color:#cfe5dc;font-size:.64rem;font-weight:750}.ebuc-hero-actions{position:relative;z-index:2;display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;max-width:520px}.ebuc-hero-actions button{border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.09);color:#fff;border-radius:10px;padding:9px 12px;font-size:.68rem;font-weight:850;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;transition:.17s}.ebuc-hero-actions button:hover{transform:translateY(-1px);background:rgba(255,255,255,.16)}.ebuc-hero-actions button.light{background:#fff;color:var(--uc-deep);border-color:#fff}.ebuc-hero-actions button.bulk{background:#dfad4e;border-color:#e8bd6d;color:#243a35;box-shadow:0 7px 18px rgba(12,37,35,.2)}.ebuc-hero-actions button.bulk:hover{background:#efc76f}
.ebuc-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:13px 0}.ebuc-kpis article{background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:17px;padding:15px;display:flex;align-items:center;gap:12px;min-height:112px;box-shadow:0 8px 22px rgba(35,57,50,.055);position:relative;overflow:hidden}.ebuc-kpis article>span{width:43px;height:43px;display:grid;place-items:center;border-radius:14px;flex:0 0 auto;font-size:1rem}.ebuc-kpis article small{display:block;text-transform:uppercase;letter-spacing:.1em;color:var(--uc-muted);font-size:.54rem;font-weight:900}.ebuc-kpis article strong{display:block;font-family:"Arial Narrow",Inter,sans-serif;font-size:1.75rem;line-height:1;margin:6px 0 4px}.ebuc-kpis article em{display:block;font-style:normal;color:var(--uc-muted);font-size:.58rem;line-height:1.35}.ebuc-kpis .pending>span{background:#fff0e7;color:var(--uc-coral-dark)}.ebuc-kpis .pending strong{color:var(--uc-coral-dark)}.ebuc-kpis .ok>span{background:var(--uc-mint-soft);color:#19704f}.ebuc-kpis .ok strong{color:#19704f}.ebuc-kpis .warehouse>span{background:#e8edf8;color:#345aa3}.ebuc-kpis .warehouse strong{color:#345aa3}.ebuc-kpis .coverage>span{background:#fbefd4;color:#996815}.ebuc-kpis .coverage strong{color:#805914}
.ebuc-filterbar{background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:15px;padding:10px;display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}.ebuc-field{min-width:145px}.ebuc-field.grow{flex:1;min-width:210px}.ebuc-field label{display:block;text-transform:uppercase;letter-spacing:.09em;color:var(--uc-muted);font-size:.52rem;font-weight:900;margin:0 0 4px 3px}.ebuc-field input,.ebuc-field select{width:100%;height:37px;border:1px solid #d5ddd7;border-radius:9px;background:#f8faf8;color:var(--uc-ink);font-size:.68rem;font-weight:730;padding:0 9px;outline:none}.ebuc-field input:focus,.ebuc-field select:focus{border-color:var(--uc-mint);box-shadow:0 0 0 3px rgba(47,156,115,.1)}.ebuc-apply,.ebuc-reset{height:37px;border:0;border-radius:9px;cursor:pointer;font-size:.65rem;font-weight:900}.ebuc-apply{background:var(--uc-deep);color:#fff;padding:0 14px}.ebuc-reset{width:38px;background:#e8eeea;color:#53635d}
.ebuc-section-head,.ebuc-ledger-head{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin:19px 2px 9px}.ebuc-section-head h2,.ebuc-ledger-head h2{font-family:"Arial Narrow",Inter,sans-serif;margin:2px 0 0;font-size:1.25rem;letter-spacing:-.025em}.ebuc-section-head p,.ebuc-ledger-head p{font-size:.62rem;color:var(--uc-muted);margin:4px 0 0}.ebuc-section-head .eyebrow,.ebuc-ledger-head .eyebrow{font-size:.5rem;letter-spacing:.14em;font-weight:900;color:var(--uc-coral-dark)}.ebuc-legend{display:flex;gap:13px;color:var(--uc-muted);font-size:.59rem;font-weight:800}.ebuc-legend span{display:flex;align-items:center;gap:5px}.ebuc-legend i{width:8px;height:8px;border-radius:50%}.ebuc-legend i.pending{background:var(--uc-coral)}.ebuc-legend i.ok{background:var(--uc-mint)}
.ebuc-warehouse-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:10px}.ebuc-wh-card{background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:17px;padding:14px;box-shadow:0 8px 24px rgba(28,55,46,.055);position:relative;overflow:hidden;transition:.18s ease}.ebuc-wh-card:hover{transform:translateY(-2px);box-shadow:0 13px 29px rgba(28,55,46,.09)}.ebuc-wh-card.needs-update{border-top:4px solid var(--uc-coral)}.ebuc-wh-card.complete{border-top:4px solid var(--uc-mint)}.ebuc-wh-top{display:flex;justify-content:space-between;align-items:center}.ebuc-wh-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#e7efea;color:var(--uc-deep)}.ebuc-wh-state{font-size:.55rem;border-radius:999px;padding:5px 8px;font-weight:900;display:inline-flex;align-items:center;gap:5px}.needs-update .ebuc-wh-state{background:#fff0e7;color:#a7472c}.complete .ebuc-wh-state{background:#dff3e9;color:#19704f}.ebuc-wh-card h3{font-size:.83rem;margin:10px 0 11px;color:var(--uc-deep);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ebuc-wh-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ebuc-wh-counts div{background:#f3f6f3;border-radius:10px;padding:8px;text-align:center}.ebuc-wh-counts strong{display:block;font-size:.9rem}.ebuc-wh-counts small{display:block;font-size:.48rem;text-transform:uppercase;color:var(--uc-muted);font-weight:800;margin-top:2px}.ebuc-progress{height:6px;background:#e5ebe7;border-radius:99px;overflow:hidden;margin-top:11px}.ebuc-progress i{display:block;height:100%;background:linear-gradient(90deg,#66c39d,var(--uc-mint));border-radius:99px}.ebuc-progress-meta{display:flex;justify-content:space-between;color:var(--uc-muted);font-size:.52rem;margin-top:4px}.ebuc-progress-meta b{color:var(--uc-deep)}.ebuc-wh-recipient{display:flex;align-items:center;gap:8px;border:1px solid #dae4de;background:#f5f9f6;border-radius:11px;padding:8px 9px;margin-top:10px}.ebuc-wh-recipient>i{color:#2f8061}.ebuc-wh-recipient div{min-width:0}.ebuc-wh-recipient small,.ebuc-wh-recipient b,.ebuc-wh-recipient em{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ebuc-wh-recipient small{text-transform:uppercase;letter-spacing:.08em;color:var(--uc-muted);font-size:.45rem;font-weight:900}.ebuc-wh-recipient b{font-size:.6rem;margin-top:2px}.ebuc-wh-recipient em{font-size:.52rem;color:var(--uc-muted);font-style:normal}.ebuc-wh-recipient.missing{background:#fff7f2;border-color:#efcbbb}.ebuc-wh-recipient.missing>i{color:var(--uc-coral-dark)}.ebuc-wh-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:10px}.ebuc-wh-actions button{height:34px;border:1px solid #cfd9d3;border-radius:9px;background:#fff;color:#41534d;font-size:.58rem;font-weight:900;cursor:pointer;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ebuc-wh-actions button.recipients{background:#eef7f2;border-color:#bfdacb;color:#236448}.ebuc-wh-actions button.email{grid-column:1/-1;background:var(--uc-deep);border-color:var(--uc-deep);color:#fff}.ebuc-wh-actions button.email.configure{background:#fff4e5;border-color:#e5b56b;color:#815617}.ebuc-wh-actions button:disabled{opacity:.48;cursor:not-allowed}.ebuc-wh-actions i{margin-right:5px}
.ebuc-row-count{background:#e4ece7;color:var(--uc-deep);border-radius:999px;padding:6px 10px;font-size:.58rem;font-weight:900}.ebuc-table-card{background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:16px;overflow:hidden}.ebuc-table-scroll{overflow:auto;max-height:55vh}.ebuc-table-card table{width:100%;border-collapse:separate;border-spacing:0;min-width:1500px;font-size:.66rem}.ebuc-table-card th{position:sticky;top:0;z-index:2;background:#e5ebe6;color:#52605a;text-transform:uppercase;letter-spacing:.065em;font-size:.51rem;padding:10px 9px;text-align:left;border-bottom:1px solid #ced8d2;white-space:nowrap}.ebuc-table-card td{padding:9px;border-bottom:1px solid #e8eee9;color:#2c3935;vertical-align:middle}.ebuc-table-card tr:hover td{background:#faf6ec}.ebuc-table-card tr.pending td{background:#fffaf7}.ebuc-table-card td small{display:block;color:var(--uc-muted);font-size:.5rem;margin-top:2px}.ebuc-status{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 8px;font-size:.54rem;font-weight:900;white-space:nowrap}.ebuc-status.pending{background:#fff0e7;color:#a7472c}.ebuc-status.ok{background:#dff3e9;color:#19704f}.ebuc-pager{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;color:var(--uc-muted);font-size:.61rem}.ebuc-pager div{display:flex;gap:6px}.ebuc-pager button{border:1px solid var(--uc-line);background:#fff;color:var(--uc-deep);border-radius:8px;padding:6px 9px;font-size:.58rem;font-weight:850;cursor:pointer}.ebuc-pager button:disabled{opacity:.35;cursor:not-allowed}
.ebuc-loading,.ebuc-empty{grid-column:1/-1;background:var(--uc-panel);border:1px solid var(--uc-line);border-radius:16px;padding:42px 20px;text-align:center;color:var(--uc-muted);font-size:.67rem}.ebuc-loading i{color:var(--uc-coral);font-size:1.3rem;margin-right:7px}.ebuc-empty i{display:block;font-size:1.7rem;color:#a9b6af;margin-bottom:9px}.ebuc-empty b,.ebuc-empty span{display:block}.ebuc-empty b{color:var(--uc-deep);font-size:.78rem;margin-bottom:4px}.ebuc-setup{background:#fff6ee;border:1px solid #edc49d;color:#69412e;border-radius:16px;padding:20px;display:flex;gap:14px;align-items:flex-start}.ebuc-setup>i{font-size:1.4rem}.ebuc-setup b{font-size:.8rem}.ebuc-setup p{font-size:.65rem;line-height:1.5}.ebuc-setup a{display:inline-block;background:#9e4a2d;color:#fff;text-decoration:none;border-radius:8px;padding:7px 10px;font-size:.6rem;font-weight:900}
.ebuc-busy{position:absolute;inset:0;background:rgba(238,242,239,.78);backdrop-filter:blur(2px);z-index:30;display:none;align-items:center;justify-content:center}.ebuc-busy.show{display:flex}.ebuc-busy>div{background:var(--uc-deep);color:#fff;border-radius:15px;padding:15px 19px;box-shadow:0 18px 50px rgba(16,46,43,.25);font-size:.72rem;font-weight:850}.ebuc-busy i{color:#d9c27b;margin-right:8px}
.ebuc-modal{position:fixed;inset:0;z-index:99990;background:rgba(9,29,27,.7);display:none;align-items:center;justify-content:center;padding:22px}.ebuc-modal.show{display:flex}.ebuc-dialog{background:#fffefa;border-radius:22px;width:min(520px,95vw);padding:25px;position:relative;box-shadow:0 28px 80px rgba(0,0,0,.35)}.ebuc-modal-x{position:absolute;right:15px;top:15px;border:0;background:#e9efeb;color:#53635d;width:32px;height:32px;border-radius:10px;cursor:pointer}.ebuc-mail-icon{width:50px;height:50px;border-radius:16px;display:grid;place-items:center;background:#dff3e9;color:#19704f;font-size:1.15rem}.ebuc-dialog>small{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.5rem;font-weight:900;color:var(--uc-coral-dark);margin-top:13px}.ebuc-dialog h3{font-family:"Arial Narrow",Inter,sans-serif;font-size:1.25rem;margin:4px 0}.ebuc-dialog>p{font-size:.67rem;color:var(--uc-muted);line-height:1.5}.ebuc-recipient{display:flex;align-items:center;gap:10px;background:#f1f6f2;border:1px solid #d8e3dc;border-radius:13px;padding:11px;margin:13px 0}.ebuc-recipient>span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--uc-deep);color:#fff;flex:0 0 auto}.ebuc-recipient>div{min-width:0;flex:1}.ebuc-recipient small,.ebuc-recipient b,.ebuc-recipient em{display:block;white-space:normal;overflow-wrap:anywhere}.ebuc-recipient small{font-size:.48rem;text-transform:uppercase;color:var(--uc-muted);font-weight:900}.ebuc-recipient b{font-size:.7rem}.ebuc-recipient em{font-size:.58rem;color:var(--uc-muted);font-style:normal}.ebuc-recipient-edit{flex:0 0 auto;border:1px solid #bcd8c9;background:#fff;color:#236448;border-radius:9px;padding:8px 10px;font-size:.55rem;font-weight:900;cursor:pointer}.ebuc-mail-rule{display:flex;align-items:flex-start;gap:8px;background:#fff2e9;color:#7b432e;border-radius:11px;padding:10px;font-size:.6rem;line-height:1.45}.ebuc-dialog-actions{display:flex;justify-content:flex-end;gap:7px;margin-top:16px}.ebuc-dialog-actions button{border:1px solid #d4ddd7;background:#fff;color:#4a5a54;border-radius:9px;padding:9px 12px;font-size:.62rem;font-weight:900;cursor:pointer}.ebuc-dialog-actions button.send{background:var(--uc-deep);border-color:var(--uc-deep);color:#fff}.ebuc-dialog-actions button:disabled{opacity:.5;cursor:not-allowed}.ebuc-mail-icon.settings{background:#fff0d5;color:#8b611d}.ebuc-settings-dialog{width:min(690px,96vw)}.ebuc-settings-note{display:flex;align-items:flex-start;gap:9px;background:#edf6f1;border:1px solid #d2e5da;color:#35594d;border-radius:12px;padding:10px 11px;font-size:.6rem;line-height:1.45;margin:12px 0}.ebuc-settings-note i{margin-top:2px;color:#23805d}.ebuc-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ebuc-settings-grid label{display:block}.ebuc-settings-grid label.wide{grid-column:1/-1}.ebuc-settings-grid label>span{display:block;text-transform:uppercase;letter-spacing:.08em;color:var(--uc-muted);font-size:.49rem;font-weight:900;margin:0 0 4px 3px}.ebuc-settings-grid input,.ebuc-settings-grid select{width:100%;height:40px;border:1px solid #d5ddd7;border-radius:10px;background:#f8faf8;color:var(--uc-ink);font-size:.68rem;font-weight:720;padding:0 10px;outline:none}.ebuc-settings-grid input:focus,.ebuc-settings-grid select:focus{border-color:var(--uc-mint);box-shadow:0 0 0 3px rgba(47,156,115,.1)}.ebuc-add-email{margin:6px 0 0;border:0;background:transparent;color:#267052;font-size:.54rem;font-weight:900;padding:2px 3px;cursor:pointer}.ebuc-add-email:hover{text-decoration:underline}.ebuc-setting-status{min-height:35px;margin-top:10px;border-left:3px solid #d7ad57;background:#fff7e8;color:#6c5831;border-radius:7px;padding:8px 10px;font-size:.58rem;line-height:1.45}.ebuc-dialog-actions.settings-actions{align-items:center}.ebuc-dialog-actions.settings-actions>span{flex:1}.ebuc-dialog-actions button.danger{border-color:#efc7ba;background:#fff5f1;color:#a6492f}
body.dark-mode .ebuc-shell{filter:none}
@media(max-width:1180px){.ebuc-kpis{grid-template-columns:1fr 1fr}.ebuc-hero{align-items:flex-start;flex-direction:column}.ebuc-hero-actions{justify-content:flex-start;max-width:none}}
@media(max-width:760px){.ebuc-shell{padding:10px;border-radius:12px}.ebuc-kpis{grid-template-columns:1fr}.ebuc-field,.ebuc-field.grow{min-width:calc(50% - 5px);flex:1}.ebuc-section-head,.ebuc-ledger-head{align-items:flex-start;flex-direction:column}.ebuc-warehouse-grid{grid-template-columns:1fr}.ebuc-pager{align-items:flex-start;gap:8px;flex-direction:column}.ebuc-dialog-actions button{flex:1}.ebuc-settings-grid{grid-template-columns:1fr}.ebuc-settings-grid label.wide{grid-column:auto}.ebuc-dialog-actions.settings-actions{flex-wrap:wrap}.ebuc-dialog-actions.settings-actions>span{display:none}}
