:root{--bg-base:#eef1e8;--bg-surface:#f8fbf4;--bg-sidebar:#0f2c25;--bg-sidebar-soft:#183f35;--bg-card:#fff;--ink:#12211b;--ink-soft:#4f6359;--accent:#0a6a53;--accent-soft:#d5f3ea;--danger:#c04d2a;--warning:#a57313;--border:#d4ddd2;--shadow:0 18px 38px #091a161f;--radius:16px}@font-face{font-family:IRANYekanX;src:url(/build/assets/IRANYekanXVF-eDI7r7Tj.woff2)format("woff2"),url(/build/assets/IRANYekanXVF-C4oSUKt2.woff)format("woff");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/build/assets/IRANSansX-Regular-KkK_ptDK.woff2)format("woff2"),url(/build/assets/IRANSansX-Regular-svuyfzzO.woff)format("woff");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:IRANSansX;src:url(/build/assets/IRANSansX-Bold-DWpscwl7.woff2)format("woff2"),url(/build/assets/IRANSansX-Bold-CBYBdDJ3.woff)format("woff");font-weight:700;font-style:normal;font-display:swap}*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0}body{color:var(--ink);text-align:right;direction:rtl;background:radial-gradient(circle at 10% 10%,#dce7d8,#eef1e8 40%,#e8efe6);font-family:IRANYekanX,IRANSansX,sans-serif}code{background:#eaf2ec;border-radius:6px;padding:.1rem .35rem;font-family:IRANSansX,monospace;font-size:.8rem}.scene-overlay{pointer-events:none;background-image:radial-gradient(circle at 22% 18%,#0a6a5321 0 10%,#0000 30%),radial-gradient(circle at 78% 84%,#c04d2a1c 0 10%,#0000 34%),linear-gradient(120deg,#ffffff14,#fff0);position:fixed;inset:0}.app-shell{direction:ltr;grid-template-columns:minmax(0,1fr) 270px;grid-template-areas:"workspace sidebar";min-height:100vh;display:grid;position:relative}.sidebar{color:#e7f5ef;background:linear-gradient(180deg,var(--bg-sidebar)0%,var(--bg-sidebar-soft)100%);direction:rtl;border-left:1px solid #ffffff14;flex-direction:column;grid-area:sidebar;gap:1rem;padding:1.25rem 1rem;display:flex}body.guest-mode .app-shell{grid-template-columns:minmax(0,1fr);grid-template-areas:"workspace"}body.guest-mode .sidebar{display:none}body.guest-mode .mobile-menu-btn,body.guest-mode .mobile-nav-backdrop{display:none!important}.brand{background:linear-gradient(140deg,#0e806433,#ffffff0f);border-radius:14px;padding:.9rem .9rem 1rem}.brand h1{margin:.2rem 0 0;font-size:1.2rem}.brand-subtitle{color:#c9e6db;margin:.4rem 0 0;font-size:.84rem;line-height:1.45}.main-nav{gap:.45rem;display:grid}.nav-item{text-align:right;color:#d8efe7;cursor:pointer;background:#ffffff08;border:1px solid #ffffff1c;border-radius:12px;width:100%;padding:.62rem .75rem;font-weight:500;transition:all .2s}.sidebar-foot{background:#00000026;border-radius:12px;margin-top:auto;padding:.75rem}.ghost-link{color:#dff4ec;font-weight:500;text-decoration:none}.ghost-link:hover{text-decoration:underline}.topbar{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-surface);box-shadow:var(--shadow);justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.topbar h2{margin:0;font-size:1.32rem}.topbar .muted{margin:.15rem 0 0}.mobile-menu-btn,.mobile-menu-close{display:none}.status-badge{border-radius:999px;justify-content:center;align-items:center;gap:.25rem;min-width:64px;padding:.28rem .5rem;font-size:.78rem;font-weight:700;display:inline-flex}.status-badge.success{color:#176342;background:#dcfce7;border:1px solid #86efac}.status-badge.danger{color:#9f1239;background:#ffe4e6;border:1px solid #fda4af}.flash-stack{gap:.5rem;display:grid}.flash{border:1px solid;border-radius:11px;padding:.6rem .8rem;font-size:.9rem;animation:.2s rise}.flash.info{background:#eef8f4;border-color:#bfd9cf}.flash.success{background:#e8fbf2;border-color:#7ed8b7}.flash.warning{background:#fff6e7;border-color:#e5bb6a}.flash.error{background:#ffede7;border-color:#d88972}.content-grid{gap:.85rem;padding-bottom:.8rem;display:grid}.panel{border:1px solid var(--border);border-radius:var(--radius);background:var(--bg-card);box-shadow:var(--shadow);padding:1rem}.panel-head.compact{margin-bottom:.5rem}.panel-head h4{margin:0;font-size:1rem}.module-shell{gap:.9rem;display:grid}.module-nav{background:#f2f7f4;border:1px solid #d7e4db;border-radius:12px;flex-wrap:wrap;gap:.5rem;padding:.35rem;display:flex}.module-tab{color:#245041;cursor:pointer;background:#fff;border:1px solid #cbdccf;border-radius:10px;padding:.45rem .7rem;font-weight:600}.module-tab:hover{border-color:#8ebda9}.module-tab:disabled{opacity:.55;cursor:not-allowed}.module-panel{background:#fff;border:1px solid #dde8e0;border-radius:12px;padding:.9rem;display:none}.module-panel.active{display:block}.wizard-progress{flex-wrap:wrap;gap:.45rem;display:flex}.wizard-dot{color:#355c4f;cursor:pointer;background:#f7fbf8;border:1px dashed #9fbaad;border-radius:999px;padding:.3rem .6rem;font-size:.82rem}.wizard-dot.active{background:#ddf5eb;border-style:solid;border-color:#7ab69e}.wizard-dot.done{border-style:solid;border-color:#98c8b4}.wizard-step{display:none}.wizard-step.active{display:block}.wizard-actions{justify-content:space-between}.context-label{gap:.25rem;min-width:240px;display:inline-grid}.kpi-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-head{margin-bottom:.75rem}.panel-head h3{margin:0 0 .2rem}.panel-head p{color:var(--ink-soft);margin:0;font-size:.9rem}.auth-panel{gap:.8rem;max-width:640px;display:grid}.auth-panel.hidden{display:none}.form-grid{gap:.7rem;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;display:grid}.field-span-3{grid-column:1/-1;gap:.45rem;display:grid}.field-label{color:var(--ink-soft);font-size:.88rem}.warehouse-check-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.45rem;display:grid}.warehouse-check{border:1px solid var(--border);min-height:38px;color:var(--ink);cursor:pointer;background:#fbfefb;border-radius:10px;align-items:center;gap:.45rem;padding:.48rem .58rem;display:flex}.warehouse-check input{width:16px;min-height:16px;accent-color:var(--accent)}label{color:var(--ink-soft);gap:.35rem;font-size:.88rem;display:grid}input,select,textarea,button{font:inherit}input,select,textarea{border:1px solid var(--border);width:100%;color:var(--ink);background:#fbfefb;border-radius:11px;padding:.55rem .65rem}textarea{resize:vertical;min-height:88px}input:focus,select:focus,textarea:focus{border-color:#8ccbb3;outline:2px solid #abdcc9}.btn{cursor:pointer;border:1px solid #0000;border-radius:11px;justify-content:center;align-items:center;gap:.35rem;padding:.5rem .8rem;font-weight:600;transition:transform .15s,box-shadow .15s;display:inline-flex}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btn-primary{color:#f4fff9;background:var(--accent);border-color:#0b5b47}.inline-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.small-muted{color:var(--ink-soft);margin:0;font-size:.78rem}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;display:grid}.kpi{background:linear-gradient(160deg,#f3f8f4,#fff);border:1px solid #d4e1d8;border-radius:8px;padding:.52rem .62rem}.kpi strong{margin-top:.16rem;font-size:1.05rem;display:block}.orders-shell{gap:1rem}.sales-flow{grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;display:grid}.flow-step{background:linear-gradient(170deg,#f4faf6,#fff);border:1px solid #d8e6dc;border-radius:12px;gap:.3rem;padding:.7rem;display:grid}.flow-step strong{font-size:.9rem}.flow-step span{color:var(--ink-soft);font-size:.78rem}.soft-panel{background:#fff;border:1px solid #dce8df;border-radius:12px;gap:.7rem;padding:.85rem;display:grid}.order-totals{justify-content:flex-end}.chart-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;display:grid}.chart-card{background:#fff;border:1px solid #d9e4dd;border-radius:12px;padding:.75rem}.chart-card h4{margin:0 0 .6rem}.chart-wrap{min-height:260px;position:relative}.chart-wrap-lg{min-height:320px}.table-wrap{-webkit-overflow-scrolling:touch;border:1px solid #dce4dd;border-radius:12px;overflow:auto}.inbox-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:.75rem;display:grid}.inbox-list-panel,.inbox-detail-panel{background:#fff;border:1px solid #dce8df;border-radius:12px;padding:.65rem}.inbox-task-row{cursor:pointer;transition:background .18s}.inbox-task-row:hover{background:#f4faf6}.inbox-task-row.active{background:#e5f5ee}.inbox-comment-list{gap:.55rem;max-height:260px;padding-left:2px;display:grid;overflow:auto}.inbox-comment-item{background:#fafdfb;border:1px solid #dce7e0;border-radius:10px;gap:.28rem;padding:.55rem .6rem;display:grid}.inbox-comment-item header{justify-content:space-between;align-items:center;gap:.45rem;display:flex}.inbox-comment-item header span{color:#5b7468;font-size:.78rem}.inbox-comment-item p{white-space:pre-wrap;margin:0;line-height:1.55}.inbox-comment-signature-wrap{align-items:center;display:flex}.inbox-comment-signature{object-fit:contain;background:#fff;border:1px solid #d5e2db;border-radius:8px;max-width:180px;max-height:68px;padding:3px}.inbox-doc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-top:.7rem;display:grid}.inbox-doc-card{background:#fbfefc;border:1px solid #dce8e0;border-radius:11px;gap:.5rem;padding:.6rem;display:grid}.inbox-doc-card h5{margin:0;font-size:.84rem}.inbox-doc-preview{object-fit:contain;background:#fff;border:1px solid #d7e5dd;border-radius:8px;width:100%;min-height:86px;max-height:148px}.inbox-doc-placeholder{color:#4e655a;background:#f7fbf8;border:1px dashed #b9cbc0;border-radius:8px;justify-content:center;align-items:center;min-height:86px;font-weight:700;display:flex}.inbox-warehouse-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.75rem;display:grid}.inbox-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem;display:grid}.inbox-proof-card{background:#fbfefc;border:1px solid #d9e6de;border-radius:12px;gap:.62rem;padding:.72rem;display:grid}.inbox-proof-card h5{color:#183f34;margin:0;font-size:.88rem}.inbox-proof-preview{background:#f7fcf9;border:1px dashed #bdd0c4;border-radius:10px;justify-content:center;align-items:center;min-height:92px;padding:.45rem;display:flex}.inbox-proof-preview img{object-fit:contain;max-width:100%;max-height:130px}.inbox-proof-actions{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.inbox-signature-pad{touch-action:none;background:#fff;border:2px dashed #bfd2c7;border-radius:12px;width:100%}.inbox-camera-preview{object-fit:cover;background:#0f172a;border:1px solid #c9d9cf;border-radius:12px;width:100%;min-height:220px;max-height:360px}.inbox-open-task-btn{white-space:nowrap}.warehouse-delivery-layout{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);align-items:start;gap:.75rem;display:grid}.warehouse-delivery-layout>*{background:#fff;border:1px solid #dce8df;border-radius:12px;padding:.65rem}.warehouse-delivery-list-panel,.warehouse-delivery-detail-panel{align-content:start;gap:.55rem;display:grid}.delivery-hero{background:linear-gradient(165deg,#f3faf6,#fff 58%);border:1px solid #cee1d6;border-radius:14px;gap:.72rem;padding:.8rem;display:grid}.delivery-hero-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.55rem;display:flex}.delivery-order-no{color:#184136;margin:0;font-size:1.03rem}.delivery-status-pill{color:#1a4b3d;background:#e8f5ef;border:1px solid #c8ddd2;border-radius:999px;align-items:center;gap:.42rem;padding:.24rem .65rem;font-size:.8rem;font-weight:600;display:inline-flex}.delivery-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.delivery-meta-item{background:#fff;border:1px solid #dce9e1;border-radius:10px;gap:.2rem;padding:.42rem .55rem;display:grid}.delivery-meta-item span{color:#587065;font-size:.76rem}.delivery-meta-item strong{color:#173f33;font-size:.84rem}.delivery-proof-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.72rem;display:grid}.delivery-proof-card{background:#fbfefc;border:1px solid #d9e6de;border-radius:12px;gap:.62rem;padding:.72rem;display:grid}.delivery-proof-card h5{color:#183f34;margin:0;font-size:.88rem}.delivery-proof-preview{background:#f7fcf9;border:1px dashed #bdd0c4;border-radius:10px;justify-content:center;align-items:center;min-height:92px;padding:.45rem;display:flex}.delivery-proof-preview img{object-fit:contain;max-width:100%;max-height:130px}.delivery-proof-actions,.delivery-actions-bar{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.delivery-actions-sticky{position:relative}.delivery-playbook{grid-template-columns:repeat(4,minmax(0,1fr));gap:.45rem;display:grid}.delivery-playbook span{color:#2a4f41;text-align:center;background:#f7fcf9;border:1px solid #d8e5de;border-radius:10px;padding:.42rem .56rem;font-size:.8rem}.warehouse-delivery-toolbar{background:linear-gradient(135deg,#fffffff0,#e2f3ebdb);border:1px solid #a7cab8db;border-radius:18px;justify-content:space-between;align-items:stretch;gap:.75rem;margin-bottom:.75rem;padding:.85rem;display:flex;box-shadow:0 14px 32px #0f3a2d14}.warehouse-delivery-toolbar h4{color:#123f32;margin:0 0 .3rem;font-size:1rem}.warehouse-delivery-toolbar p{color:#537166;margin:0;font-size:.84rem}.delivery-filter-pills{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.45rem;min-width:min(420px,100%);display:flex}.delivery-state-btn{min-height:40px}.chat-layout{grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:.9rem;height:clamp(520px,68vh,760px);min-height:0;display:grid}.chat-sidebar,.chat-main{background:#ffffffc7;border:1px solid #bed6cbe6;border-radius:18px;box-shadow:0 14px 32px #0f3a2d12}.chat-sidebar{align-content:start;gap:.85rem;padding:.75rem;display:grid}.chat-sidebar-section{gap:.5rem;display:grid}.chat-sidebar-section h4{color:#123f32;margin:0}.chat-user-list,.chat-conversation-list{gap:.45rem;max-height:280px;display:grid;overflow:auto}.chat-user-item,.chat-conversation-item{text-align:right;cursor:pointer;background:linear-gradient(135deg,#fff,#f3fbf7);border:1px solid #d8e7df;border-radius:14px;padding:.58rem .65rem;transition:all .18s}.chat-user-item:hover,.chat-conversation-item:hover{border-color:#8fc2aa;transform:translateY(-1px)}.chat-user-item strong,.chat-conversation-item strong{color:#123f32;display:block}.chat-user-item span,.chat-conversation-item span{color:#587267;margin-top:.15rem;font-size:.78rem;display:block}.chat-conversation-item em{color:#31594b;margin-top:.18rem;font-size:.8rem;font-style:normal;line-height:1.65;display:block}.chat-main{grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid;overflow:hidden}.chat-head{background:linear-gradient(135deg,#f4fcf8f2,#e6f4edcc);border-bottom:1px solid #d8e7df;justify-content:space-between;align-items:center;gap:.75rem;padding:.75rem;display:flex}.chat-head span{color:#587267;font-size:.78rem;display:block}.chat-head strong{color:#123f32;font-size:1rem;display:block}.chat-messages-wrap{background:radial-gradient(circle at 0 0,#0f7b6114,#0000 34%),linear-gradient(#fbfffd,#f4faf7);min-height:0;padding:.85rem;overflow:auto}.chat-message-list{align-content:end;gap:.65rem;min-height:100%;display:grid}.chat-message{background:#fff;border:1px solid #d7e5dd;border-radius:18px 18px 18px 6px;justify-self:start;width:min(720px,88%);padding:.65rem .75rem;box-shadow:0 10px 22px #10382c0f}.chat-message.own{background:linear-gradient(135deg,#e9f8f1,#fff);border-color:#9fd0b8;border-radius:18px 18px 6px;justify-self:end}.chat-message header{color:#60786f;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.35rem;font-size:.78rem;display:flex}.chat-message header strong{color:#123f32}.chat-message p{white-space:pre-wrap;color:#1f3f35;margin:0}.chat-message-ref{color:#31594b;background:#0f6b5414;border-right:3px solid #34a67f;border-radius:10px;gap:.15rem;margin-bottom:.45rem;padding:.45rem .55rem;font-size:.78rem;display:grid}.chat-message-ref span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-message-actions{justify-content:flex-end;gap:.35rem;margin-top:.55rem;display:flex}.chat-message-actions button,.chat-compose-context button{color:#0f6b54;font:inherit;cursor:pointer;background:#f7fcf9;border:1px solid #cde0d6;border-radius:10px;padding:.18rem .5rem;font-size:.76rem}.chat-forward-icon-btn{justify-content:center;align-items:center;width:30px;height:30px;display:inline-flex;padding:0!important}.chat-forward-icon-btn svg{fill:currentColor;width:17px;height:17px}.chat-forward-modal{z-index:1800;background:#0f172a61;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.chat-forward-modal.hidden{display:none!important}.chat-forward-window{background:#fff;border:1px solid #d8e7df;border-radius:12px;grid-template-rows:auto auto minmax(0,1fr);gap:.75rem;width:min(520px,94vw);max-height:min(680px,86vh);padding:.85rem;display:grid;box-shadow:0 22px 60px #0f172a38}.chat-forward-window header{justify-content:space-between;align-items:center;gap:.75rem;display:flex}.chat-forward-preview{color:#244b3f;background:#f2fbf6;border-radius:10px;gap:.2rem;padding:.6rem;display:grid}.chat-forward-preview span{color:#587267;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-forward-list{gap:.45rem;min-height:180px;display:grid;overflow:auto}.chat-forward-target{text-align:right;cursor:pointer;background:#fbfffd;border:1px solid #d8e7df;border-radius:10px;gap:.18rem;padding:.65rem;display:grid}.chat-forward-target:hover{background:#f3fbf7;border-color:#8fc2aa}.chat-forward-target span{color:#587267;font-size:.8rem}.chat-attachments{flex-wrap:wrap;gap:.45rem;margin-top:.5rem;display:flex}.chat-attachment{color:#0f6b54;background:#f7fcf9;border:1px solid #cde0d6;border-radius:12px;align-items:center;gap:.35rem;padding:.35rem .5rem;font-weight:700;text-decoration:none;display:inline-flex}.chat-attachment.image{max-width:180px;display:grid}.chat-attachment.image img{object-fit:cover;border-radius:10px;width:100%;max-height:130px}.chat-compose{background:#ffffffe6;border-top:1px solid #d8e7df;grid-template-columns:1fr auto auto;gap:.55rem;padding:.75rem;display:grid}.chat-compose-context{color:#244b3f;background:#f2fbf6;border:1px solid #b9d7c7;border-radius:12px;grid-column:1/-1;justify-content:space-between;align-items:center;gap:.7rem;padding:.45rem .6rem;display:flex}.chat-compose-context div{min-width:0;display:grid}.chat-compose-context span{text-overflow:ellipsis;white-space:nowrap;color:#587267;font-size:.78rem;overflow:hidden}.chat-selected-files{color:#3f6358;grid-column:1/-1;min-height:18px;font-size:.78rem;line-height:1.7}.chat-compose textarea{resize:vertical;min-height:48px}.chat-file-picker{color:#0f6b54;cursor:pointer;white-space:nowrap;border:1px dashed #99bda9;border-radius:14px;justify-content:center;align-items:center;min-height:44px;margin:0;padding:.35rem .7rem;display:inline-flex}.chat-file-picker input{display:none}.auto-refresh-switch{color:#2a5143;cursor:pointer;background:#f6fbf8;border:1px solid #cfe1d6;border-radius:10px;align-items:center;gap:.4rem;padding:.35rem .58rem;font-size:.8rem;display:inline-flex}.auto-refresh-switch input[type=checkbox]{accent-color:#0a6a53;width:16px;min-height:16px;margin:0}.warehouse-order-row{cursor:pointer;transition:background .18s}.warehouse-order-row:hover{background:#f3faf6}.warehouse-order-row.active{background:#e4f3eb}.warehouse-order-list{gap:.62rem;display:grid}.warehouse-order-card{cursor:pointer;background:linear-gradient(165deg,#f7fcf9,#fff);border:1px solid #d8e4dd;border-radius:12px;gap:.52rem;padding:.62rem;transition:all .18s;display:grid}.warehouse-order-card:hover{border-color:#90bfa9;box-shadow:0 8px 18px #0e2e2314}.warehouse-order-card:focus-visible{border-color:#7db99f;outline:2px solid #8ecbb0}.warehouse-order-card.active{background:linear-gradient(165deg,#eaf8f1,#fff);border-color:#7dbb9e}.warehouse-order-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.5rem;display:flex}.warehouse-order-card-head strong{color:#153e31;font-size:.92rem}.warehouse-order-card-meta{color:#3f5d51;gap:.28rem;font-size:.81rem;display:grid}.warehouse-order-card-meta b{color:#24493d;font-weight:700}.delivery-checklist{grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;display:grid}.delivery-check-item{background:#fcfffd;border:1px solid #d9e6df;border-radius:11px;justify-content:space-between;align-items:center;gap:.45rem;padding:.5rem .62rem;display:flex}.delivery-check-item strong{color:#1e4538;font-size:.84rem;display:block}.delivery-check-item span{color:#557065;margin-top:.12rem;font-size:.76rem;display:block}.delivery-check-item.done{background:#edfaf3;border-color:#9fd0ba}.delivery-check-item.pending{background:#f9fcfb;border-color:#d8e2dd}.delivery-check-mark{color:#2f5748;background:#f4fbf8;border:1px solid #bdd2c6;border-radius:999px;flex-shrink:0;justify-content:center;align-items:center;width:26px;height:26px;font-size:.92rem;font-weight:800;display:inline-flex}.delivery-check-item.done .delivery-check-mark{color:#176342;background:#d9f5e8;border-color:#4cb484}.signature-preview{background:#f8fcf9;border:1px dashed #b8cbc0;border-radius:12px;justify-content:center;align-items:center;min-height:92px;padding:.45rem;display:flex}.signature-preview img{object-fit:contain;max-width:100%;max-height:74px}.wh-signature-pad{touch-action:none;background:#fff;border:2px dashed #bfd2c7;border-radius:12px;width:100%}.wh-camera-preview{object-fit:cover;background:#0f172a;border:1px solid #c9d9cf;border-radius:12px;width:100%;min-height:220px;max-height:360px}table{border-collapse:collapse;width:100%;min-width:720px;font-size:.86rem}th,td{text-align:right;vertical-align:top;border-bottom:1px solid #e3ebe4;padding:.55rem .6rem}thead th{text-transform:uppercase;letter-spacing:.05em;color:#567166;background:#f1f6f2;font-size:.79rem}tr:last-child td{border-bottom:0}.status-dot{background:#6f8278;border-radius:50%;width:8px;height:8px;margin-left:6px;display:inline-block}.status-dot.success{background:#1b9b62}.status-dot.warn{background:#ce8f20}.status-dot.danger{background:#cc5b39}.json-block{background:#f4f9f6;border:1px solid #d7e3dc;border-radius:11px;max-height:300px;margin:0;padding:.75rem;font-family:IRANSansX,monospace;font-size:.78rem;line-height:1.45;overflow:auto}.hidden{display:none!important}.mobile-nav-backdrop{pointer-events:none;cursor:pointer;display:none}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@media (width<=1120px){.app-shell{grid-template-columns:minmax(0,1fr) 210px}.kpi-grid,.sales-flow,.chart-grid,.delivery-playbook{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-layout,.warehouse-delivery-layout{grid-template-columns:1fr}.delivery-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inbox-doc-grid,.inbox-warehouse-grid{grid-template-columns:1fr}}@media (width<=860px){html,body{font-size:15px}.app-shell{grid-template-columns:1fr;grid-template-areas:"workspace"}.sidebar{z-index:80;border-bottom:0;border-left:1px solid #ffffff1c;gap:.8rem;width:min(84vw,320px);transition:transform .24s;position:fixed;top:0;bottom:0;right:0;overflow-y:auto;transform:translate(105%)}.workspace{gap:.7rem;padding:.65rem}.topbar{z-index:25;flex-direction:column;align-items:stretch;gap:.7rem;padding:.72rem;position:sticky;top:.35rem}.topbar h2{font-size:1.08rem;line-height:1.45}.topbar .muted{font-size:.82rem;line-height:1.45}.topbar-actions{gap:.45rem;justify-content:initial;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}.topbar-actions .btn{justify-content:center;width:100%;min-height:42px}.topbar-actions .badge{grid-column:1/-1;justify-content:center}.mobile-menu-btn{justify-content:center;align-items:center;width:42px;min-width:42px;padding:0;font-size:1.28rem;line-height:1;display:inline-flex}.mobile-menu-close{color:#f7fffc;cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:8px;justify-content:center;align-self:flex-start;align-items:center;width:34px;height:34px;font-size:1.35rem;display:inline-flex}.mobile-nav-backdrop{z-index:70;background:#060c0a6b;position:fixed;inset:0}body.mobile-menu-open{overflow:hidden}body.mobile-menu-open .mobile-nav-backdrop{pointer-events:auto;display:block}body.mobile-menu-open .sidebar{transform:translate(0)}.grid-2,.grid-3{grid-template-columns:1fr}.context-label{min-width:0}.panel,.module-panel,.soft-panel{border-radius:12px;padding:.72rem}.panel-head p,.small-muted{font-size:.81rem}.kpi-grid{grid-template-columns:1fr}.kpi{padding:.68rem}.kpi strong{font-size:1.1rem}.inline-actions{grid-template-columns:1fr;align-items:stretch;gap:.5rem;display:grid}.inline-actions .btn,.inline-actions a.btn,.inline-actions button{justify-content:center;width:100%;min-height:40px}.module-nav{scrollbar-width:none;-ms-overflow-style:none;flex-wrap:nowrap;padding:.3rem;overflow:auto hidden}.module-nav::-webkit-scrollbar{display:none}.module-tab{white-space:nowrap;text-align:center;flex:none;min-height:40px;padding:.5rem .8rem}.sales-flow,.chart-grid,.delivery-meta-grid,.delivery-proof-grid,.inbox-proof-grid{grid-template-columns:1fr}.delivery-actions-sticky{z-index:15;backdrop-filter:blur(2px);background:#fffffff2;border:1px solid #d7e4dc;border-radius:11px;padding:.42rem;position:sticky;bottom:.2rem}.delivery-playbook,.delivery-checklist{grid-template-columns:1fr}.warehouse-order-card{padding:.56rem}.warehouse-order-card-head strong{font-size:.88rem}.wizard-actions{gap:.6rem}input,select,textarea{min-height:42px;font-size:16px}textarea{min-height:92px}.table-wrap{border-radius:10px}table{min-width:560px;font-size:.8rem}th,td{padding:.46rem .5rem}.chart-wrap{min-height:220px}.chart-wrap-lg{min-height:250px}.table-wrap table.responsive-ready{border-collapse:separate;border-spacing:0 .52rem;width:100%;min-width:0;font-size:.82rem}.table-wrap table.responsive-ready thead{display:none}.table-wrap table.responsive-ready tbody{display:block}.table-wrap table.responsive-ready tr{background:#fff;border:1px solid #dbe5de;border-radius:12px;margin:0;display:block;overflow:hidden;box-shadow:0 4px 14px #0b1a140d}.table-wrap table.responsive-ready td{text-align:right;border-bottom:1px dashed #e0e8e2;justify-content:space-between;align-items:flex-start;gap:.65rem;width:100%;padding:.52rem .62rem;display:flex}.table-wrap table.responsive-ready td:last-child{border-bottom:0}.table-wrap table.responsive-ready td:before{content:attr(data-label);color:#496459;text-align:right;min-width:42%;max-width:52%;font-weight:700}.table-wrap table.responsive-ready td .btn,.table-wrap table.responsive-ready td a.btn{width:auto;min-width:118px}.table-wrap table.keep-table{min-width:560px}.inbox-layout{gap:.6rem}.inbox-list-panel,.inbox-detail-panel{padding:.55rem}}@media (width<=560px){.workspace{padding:.55rem}.sidebar{width:min(90vw,310px)}.topbar{padding:.62rem}.topbar-actions{grid-template-columns:1fr}.brand h1{font-size:1.06rem}.brand-subtitle{font-size:.78rem}.panel,.module-panel,.soft-panel{padding:.62rem}.badge{font-size:.75rem}table{min-width:500px}.chart-wrap{min-height:205px}}.app-shell{direction:rtl;grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);min-height:100vh;display:grid;position:relative}.app-header{z-index:50;backdrop-filter:blur(6px);background:linear-gradient(#f6fbf8,#eef5f1);border-bottom:1px solid #cfddd4;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;padding:.75rem 1rem;display:grid;position:sticky;top:0}.brand{background:linear-gradient(140deg,#0a6a5324,#ffffffd9);border:1px solid #c4dbcf;border-radius:12px;padding:.55rem .8rem}.brand-kicker{letter-spacing:.12em;text-transform:uppercase;color:#0f5a47;margin:0;font-size:.7rem}.brand h1{color:#12352a;margin:.14rem 0 0;font-size:1.05rem}.main-nav{scrollbar-width:thin;flex-wrap:nowrap;align-items:center;gap:.45rem;padding:.2rem;display:flex;overflow:auto hidden}.nav-item{text-align:center;color:#1d4a3d;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #c7d9cf;border-radius:11px;width:auto;min-height:38px;padding:.45rem .75rem;font-weight:600;transition:transform .15s,border-color .15s,background .15s}.nav-item:hover{border-color:#7db79d;transform:translateY(-1px)}.nav-item.active{color:#f3fff9;background:#0a6a53;border-color:#0a6a53}.workspace{direction:rtl;flex-direction:column;grid-area:auto;gap:.85rem;padding:.95rem 1rem 1rem;display:flex}.workspace-head h2{margin:0;font-size:1.16rem}.workspace-head .muted{margin:.16rem 0 0}.topbar-actions{align-items:center;gap:.45rem;display:inline-flex}.mobile-menu-btn,body.guest-mode .app-header{display:none}body.guest-mode .workspace{width:100%;max-width:920px;margin:0 auto}.flash-stack{z-index:180;pointer-events:none;position:fixed;inset:0}.flash-modal{pointer-events:auto;background:#060d0a75;justify-content:center;align-items:center;padding:1rem;display:flex;position:absolute;inset:0}.flash-dialog{background:#fff;border:1px solid #d4e2d9;border-radius:14px;gap:.75rem;width:min(480px,94vw);padding:.95rem;display:grid;box-shadow:0 20px 44px #06120e47}.flash-dialog h4{margin:0;font-size:1rem}.flash-dialog p{color:#27463b;margin:0;line-height:1.75}.flash-dialog.info{border-color:#9fbfb1}.flash-dialog.success{border-color:#76c8a6}.flash-dialog.warning{border-color:#d3b36e}.flash-dialog.error{border-color:#d8937f}.flash-dialog-actions{justify-content:flex-end;display:flex}.flash-dialog-actions .btn{min-width:132px}.app-window{pointer-events:auto;background:#f8fcfa;border:1px solid #c9ddd2;border-radius:16px;grid-template-rows:auto minmax(0,1fr);display:grid;position:absolute;inset:.6rem;overflow:hidden;box-shadow:0 24px 60px #08191357}.app-window-head{background:linear-gradient(#edf7f1,#e2f1ea);border-bottom:1px solid #d6e5dc;justify-content:space-between;align-items:center;gap:.75rem;padding:.6rem .75rem;display:flex}.app-window-meta{gap:.18rem;display:grid}.app-window-meta strong{color:#103a2d;font-size:.95rem}.app-window-meta span{color:#3f6357;font-size:.8rem}.win-btn{color:#1d493d;cursor:pointer;background:#fff;border:1px solid #bed4c7;border-radius:8px;width:34px;height:30px;font-size:.92rem;line-height:1}.win-btn:hover{background:#eef8f3;border-color:#79b59b}.win-btn.danger{color:#8a3421;border-color:#d7b5ab}.win-btn.danger:hover{background:#fff0ec;border-color:#cc8f7e}.app-window-body{padding:.78rem;overflow:auto}.window-dock{z-index:150;pointer-events:none;justify-content:center;align-items:center;gap:.45rem;display:none;position:fixed;bottom:.7rem;left:.75rem;right:.75rem}.dock-item{pointer-events:auto;color:#184336;cursor:pointer;background:#fff;border:1px solid #bed4c8;border-radius:10px;padding:.42rem .75rem;font-family:inherit;font-size:.86rem;font-weight:700}.dock-item.danger{color:#8b3c2a;border-color:#d6b7ae}@media (width<=1120px){.app-window.is-restored{inset:1.1rem 1.25rem .95rem}}@media (width<=860px){.app-header{grid-template-columns:auto auto;align-items:start}.brand{grid-column:1/2;min-width:0}.mobile-menu-btn{grid-column:2/3;justify-content:center;justify-self:end;align-items:center;width:42px;min-width:42px;font-size:1.18rem;line-height:1;display:inline-flex}.main-nav{border-top:1px solid #d1e2d9;grid-column:1/-1;width:100%;padding-top:.42rem;display:none}body.mobile-nav-open .main-nav{display:flex}.topbar-actions{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between}.topbar-actions .badge{justify-content:center;width:100%}.workspace{padding:.7rem}.workspace-head{padding:.68rem .72rem}.app-window{border-left:0;border-right:0;border-radius:0;inset:0}.app-window.is-restored,.app-window.is-maximized{inset:0}.app-window-head{z-index:2;position:sticky;top:0}.app-window-body{padding:.62rem}.window-dock{bottom:.55rem;left:.5rem;right:.5rem}.dock-item{flex:1;min-height:40px}}@media (width<=560px){.app-header{gap:.52rem;padding:.62rem}.brand h1{font-size:.95rem}.brand-subtitle{font-size:.72rem}.flash-dialog{width:96vw;padding:.8rem}.flash-dialog-actions .btn{width:100%}}:root{--ribbon-bg-1:#fafdfceb;--ribbon-bg-2:#ebf4f0e6;--ribbon-border:#8eaa9c59;--ribbon-shadow:0 14px 32px #0e251e29;--widget-shadow:0 12px 28px #0d241e1f}.scene-overlay{background-image:linear-gradient(120deg,#ffffff3d,#fff0),radial-gradient(circle at 75% 8%,#07574514 0,#0000 25%)}.app-shell{grid-template-rows:auto minmax(0,1fr);grid-template-columns:minmax(0,1fr);min-height:100vh;display:grid}.app-header{z-index:70;border-bottom:1px solid var(--ribbon-border);background:linear-gradient(160deg,var(--ribbon-bg-1),var(--ribbon-bg-2));box-shadow:var(--ribbon-shadow);backdrop-filter:blur(8px);gap:8px;padding:12px 12px 10px;display:grid;position:sticky;top:0}.brand{background:linear-gradient(145deg,#ffffffe6,#deeee8c2);border:1px solid #82a29559;border-radius:14px;justify-items:end;gap:2px;padding:10px 12px;display:grid}.brand-kicker{color:#0d6953;letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.74rem}.brand h1{color:#153d31;margin:0;font-size:1.55rem;font-weight:800}.brand-subtitle{color:#355c4f;margin:0;font-size:.86rem}.header-usercard{background:#ffffffc2;border:1px solid #81a19352;border-radius:12px;align-items:center;gap:10px;min-width:240px;padding:8px 12px;display:inline-flex}.header-user-dot{background:linear-gradient(160deg,#1b8f72,#0f6852);border-radius:999px;width:12px;height:12px;box-shadow:0 0 0 3px #1b8f7229}.header-user-meta{gap:2px;display:grid}.header-user-meta small{color:#476a5e;font-size:.72rem}.badge{color:#174336;background:#e7f3ee;border-radius:999px;align-items:center;padding:4px 10px;font-size:.84rem;font-weight:700;display:inline-flex}.ribbon-bar{grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.main-nav{align-items:stretch;gap:8px;padding-bottom:2px;display:flex;overflow:auto hidden}.ribbon-group{background:linear-gradient(160deg,#ffffffdb,#e9f2edcc);border:1px solid #8fac9e59;border-radius:13px;gap:6px;min-width:max-content;padding:8px;display:grid;box-shadow:0 6px 14px #122a2312}.ribbon-group-title{color:#4a6a5f;letter-spacing:.04em;margin:0;padding:0 2px;font-size:.7rem}.nav-item{color:#1d4d40;cursor:pointer;white-space:nowrap;background:#fff;border:1px solid #95b1a466;border-radius:11px;align-items:center;gap:8px;min-height:44px;padding:8px 12px;font-weight:700;transition:transform .18s,box-shadow .18s,border-color .18s,background .18s;display:inline-flex;position:relative}.nav-item:hover{background:linear-gradient(160deg,#fff,#eef7f3);border-color:#84b69e;transform:translateY(-2px);box-shadow:0 8px 20px #0c2c2326}.nav-item-icon{width:18px;height:18px;display:inline-flex}.nav-item-icon svg{width:18px;height:18px}.nav-item-label{font-size:.88rem}.nav-badge{color:#fff;background:#e44c36;border-radius:999px;justify-content:center;align-items:center;min-width:20px;height:20px;padding:0 6px;font-size:.72rem;font-weight:900;display:none;box-shadow:0 8px 16px #e44c3647}.required-field:after{content:" *";color:#d92d20;font-weight:900}.chat-unread-pill{color:#fff;background:#e44c36;border-radius:999px;justify-content:center;align-items:center;min-width:22px;height:22px;margin-inline-start:6px;font-size:.75rem;display:inline-flex}.ribbon-actions{align-items:stretch;gap:6px;display:flex}.ribbon-action{color:#1e4e40;cursor:pointer;background:#fff;border:1px solid #95b1a473;border-radius:11px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 12px;font-family:inherit;font-weight:700;transition:transform .18s,box-shadow .18s,background .18s;display:inline-flex}.ribbon-action svg{fill:none;stroke:currentColor;stroke-width:1.9px;stroke-linecap:round;stroke-linejoin:round;width:17px;height:17px}.ribbon-action:hover{background:linear-gradient(160deg,#fff,#eef7f3);transform:translateY(-2px);box-shadow:0 8px 18px #0c2c2326}.ribbon-action.danger{color:#8b3723;background:#fff6f3;border-color:#c5877673}.ribbon-action.danger:hover{background:#ffece6}.workspace{gap:12px;padding:12px}.workspace-head{background:linear-gradient(150deg,#ffffffe0,#ecf4f0c7);border:1px solid #92ab9f54;border-radius:14px;padding:12px 14px;box-shadow:0 8px 18px #102b2317}.workspace-head .muted{color:#4b685d;margin:4px 0 0;font-size:.88rem}.dashboard-status-column{gap:12px;display:grid}.status-widget{box-shadow:var(--widget-shadow);background:linear-gradient(155deg,#ffffffeb,#e9f2edd6);border:1px solid #92ab9f5c;border-radius:16px;gap:10px;padding:12px;display:grid;position:relative;overflow:hidden}.status-widget:before{content:"";background:linear-gradient(#0b7b61,#095344);width:4px;position:absolute;top:0;bottom:0;right:0}.status-widget header{align-items:center;gap:8px;display:flex}.status-widget h4{color:#183f33;margin:0;font-size:1.02rem}.status-widget-icon{color:#0f6f58;background:#0f6f581f;border-radius:10px;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex}.status-widget-icon svg{width:18px;height:18px}.status-widget-actions{gap:6px;display:grid}.status-widget-actions .btn{min-height:40px}.open-task-item,.role-breakdown-item{color:#23493d;cursor:pointer;background:#ffffffe6;border:1px solid #92ab9f5c;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;padding:8px 10px;font-family:inherit;transition:transform .15s,box-shadow .15s,border-color .15s;display:flex}.open-task-item:hover,.role-breakdown-item:hover{border-color:#7ab297;transform:translateY(-1px);box-shadow:0 6px 14px #0d261f1f}.open-task-item strong,.role-breakdown-item strong{font-size:.92rem}.dashboard-main-column{gap:12px;display:grid}.enterprise-kpi{box-shadow:var(--widget-shadow);background:linear-gradient(150deg,#fffffff2,#e8f1ecd6);border:1px solid #92ab9f57;border-radius:16px;gap:10px;padding:14px;transition:transform .2s,box-shadow .2s;display:grid;position:relative;overflow:hidden}.enterprise-kpi:hover{transform:translateY(-3px);box-shadow:0 16px 30px #0c271f29}.enterprise-kpi:before{content:"";width:5px;position:absolute;top:0;bottom:0;right:0}.enterprise-kpi[data-tone=emerald]:before{background:linear-gradient(#159475,#0a6a53)}.enterprise-kpi[data-tone=slate]:before{background:linear-gradient(#5f7380,#34424b)}.enterprise-kpi-head{align-items:center;gap:8px;display:flex}.enterprise-kpi-head h3{color:#1a4337;margin:0;font-size:1rem}.enterprise-kpi-icon{color:#0f7059;background:#0f70591f;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}.enterprise-kpi-icon svg{width:20px;height:20px}.enterprise-kpi strong{color:#183f33;font-size:2.1rem;line-height:1;display:block}.performance-panel{background:linear-gradient(160deg,#fffffff0,#e8f1ecd1);border:1px solid #92ab9f5c;border-radius:18px;gap:10px;padding:12px;display:grid;box-shadow:0 14px 30px #0b241d24}.performance-head{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.performance-head h3{color:#1a4236;margin:0;font-size:1.25rem}.performance-icon{color:#0f6f58;background:#0f6f581f;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.performance-icon svg{width:22px;height:22px}.performance-chart-wrap{min-height:360px;position:relative}@media (width<=1180px){.dashboard-enterprise{grid-template-columns:280px minmax(0,1fr)}.dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=980px){.app-header{padding:10px 10px 8px}.header-top{grid-template-columns:auto 1fr;gap:8px}.mobile-menu-btn{justify-content:center;align-items:center;width:42px;min-width:42px;min-height:42px;font-size:1.2rem;display:inline-flex}.header-usercard{grid-column:2/3;justify-self:start;width:100%;min-width:0}.brand{grid-column:1/-1}.ribbon-bar{grid-template-columns:1fr;gap:8px}.main-nav{padding-bottom:0;display:none;overflow:auto}body.mobile-nav-open .main-nav{flex-wrap:nowrap;display:flex}.ribbon-actions{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ribbon-action{width:100%}.workspace{padding:10px}.dashboard-enterprise{grid-template-columns:1fr}.dashboard-status-column{order:2}.dashboard-main-column{order:1}.dashboard-kpi-grid{grid-template-columns:1fr}.performance-chart-wrap{min-height:280px}}@media (width<=640px){.workspace-head{padding:10px 11px}.workspace-head h2{font-size:1.08rem}.workspace-head .muted{font-size:.8rem}.brand h1{font-size:1.18rem}.brand-subtitle{font-size:.78rem}.header-usercard{padding:8px}.status-widget,.enterprise-kpi,.performance-panel{padding:10px}.enterprise-kpi strong{font-size:1.7rem}.performance-chart-wrap{min-height:240px}}.app-shell{direction:rtl!important;grid-template-columns:1fr!important;grid-template-areas:none!important}.sidebar{display:none!important}.workspace{grid-area:auto!important;width:100%!important;max-width:100%!important}.badge-warning,.order-correction-badge{color:#8a5a05;background:#fff4d6;border:1px solid #f6cf72}.order-no-cell{flex-wrap:wrap;align-items:center;gap:.45rem;display:flex}.order-card-badges{margin-bottom:.65rem}.correction-history-details{background:#fffbeb;border:1px dashed #e3c36b;border-radius:12px;margin-top:.55rem;padding:.55rem}.correction-history-details summary{cursor:pointer;color:#855400;font-weight:800}.compact-table table th,.compact-table table td{padding:.45rem;font-size:.82rem}.iran-plate-input{background:#fff;border:2px solid #111827;border-radius:8px;width:100%;min-width:280px;max-width:390px;position:relative;overflow:hidden;box-shadow:0 5px 16px #0f172a1f}.plate-blue-strip{color:#fff;z-index:1;background:#039;border-right:2px solid #111827;flex-direction:column;justify-content:space-between;align-items:center;width:40px;padding:5px 0 7px;display:flex;position:absolute;inset:0 auto 0 0}.plate-flag{border:1px solid #ffffff8c;flex-direction:column;width:20px;height:15px;display:flex}.flag-green,.flag-white,.flag-red{flex:1}.flag-green{background:#239f40}.flag-white{background:#fff;position:relative}.flag-white:after{content:"الله";color:#da0000;font-size:4px;line-height:1;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)scale(.75)}.flag-red{background:#da0000}.plate-iran{letter-spacing:.7px;writing-mode:vertical-rl;font-family:Arial,sans-serif;font-size:8px;font-weight:800;transform:rotate(180deg)}.plate-inputs{background-image:repeating-linear-gradient(45deg,#0f172a08 0 5px,#0000 5px 10px);align-items:center;gap:.25rem;min-height:70px;padding:0 10px 0 45px;display:flex}.iran-plate-input .input-number{color:#020617;text-align:center;height:54px;min-height:54px;box-shadow:none;background:0 0;border:0;border-radius:4px;outline:none;padding:0 .15rem;font-size:1.75rem;font-weight:900;line-height:1}.iran-plate-input .input-number:focus{background:#2563eb1a}.iran-plate-input .input-number::placeholder{color:#cbd5e1;font-weight:600}.iran-plate-input .input-part-1{width:50px}.iran-plate-input .input-part-letter{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;text-align-last:center;width:64px;font-size:1.35rem}.iran-plate-input.has-long-plate-letter .input-part-letter{font-size:.82rem}.iran-plate-input .input-part-2{width:74px}.iran-plate-input .plate-divider{background:#111827;align-self:stretch;width:2px;min-height:58px;margin:0 .35rem}.plate-iran-code-wrap{place-items:center;height:60px;display:grid;position:relative}.iran-plate-input .iran-label{color:#020617;text-align:center;pointer-events:none;font-size:.72rem;font-weight:900;position:absolute;top:0;left:0;right:0}.iran-plate-input .input-part-iran{width:50px;padding-top:16px;font-size:1.35rem}.plate-separator{color:#0f7b61;align-self:center;font-size:1.1rem;font-weight:900}.delivery-modal{z-index:2400;backdrop-filter:blur(6px);background:#061f186b;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.delivery-modal.hidden{display:none!important}.delivery-modal-window{background:linear-gradient(155deg,#fffffffa,#ecf8f2f5);border:1px solid #b0cfbeeb;border-radius:22px;grid-template-rows:auto 1fr;width:min(1180px,96vw);max-height:94vh;display:grid;overflow:hidden;box-shadow:0 28px 80px #071a1559}.delivery-modal-head{background:linear-gradient(135deg,#f8fffb,#e2f2ea);border-bottom:1px solid #cfe1d7;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.delivery-modal-head span{color:#60786f;font-size:.78rem;display:block}.delivery-modal-head strong{color:#103c32;font-size:1.05rem}.delivery-modal-body{padding:.9rem;overflow:auto}.factory-request-modal-window{grid-template-rows:auto auto;width:min(620px,96vw)}.factory-request-modal-window .delivery-modal-body{overflow:visible}.has-delivery-modal{overflow:hidden}.warehouse-delivery-layout{grid-template-columns:1fr!important}.warehouse-delivery-layout>*{min-width:0}.warehouse-order-list{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}.task-status-open,.open-task-item{position:relative}.task-status-open:before,.open-task-item:before{content:"";background:#f59e0b;border-radius:99px;align-self:stretch;width:7px;box-shadow:0 0 0 4px #f59e0b1f}.task-status-open{background:linear-gradient(90deg,#fff7edc7,#fffffff5)}.open-task-role-pill{color:#0f6b54;white-space:nowrap;background:#e3f4ec;border-radius:999px;padding:.25rem .55rem;font-weight:800}.open-task-role-warehouse_keeper:before,.open-task-role-warehouse_worker:before{background:#0f7b61;box-shadow:0 0 0 4px #0f7b6124}.open-task-role-financial_manager:before{background:#2563eb;box-shadow:0 0 0 4px #2563eb1f}.open-task-role-sales_manager:before{background:#d97706;box-shadow:0 0 0 4px #d977061f}.inbox-signature-pad,.wh-signature-pad{min-height:220px}@media (width<=760px){.chat-layout{grid-template-columns:1fr;height:auto}.chat-messages-wrap{min-height:320px;max-height:56vh}.chat-compose{grid-template-columns:1fr}.chat-message{width:94%}.warehouse-delivery-toolbar{padding:.7rem;display:grid}.delivery-filter-pills{justify-content:stretch;min-width:0}.delivery-state-btn{flex:100%}.delivery-modal{align-items:stretch;padding:8px}.delivery-modal-window{border-radius:18px;width:100%;max-height:98vh}.delivery-modal-body{padding:.65rem}.iran-plate-input{min-width:250px;max-width:100%}.plate-inputs{gap:.1rem;padding-right:6px}.iran-plate-input .input-number{font-size:1.35rem}.iran-plate-input .input-part-1,.iran-plate-input .input-part-iran{width:42px}.iran-plate-input .input-part-letter{width:54px}.iran-plate-input .input-part-2{width:60px}.inbox-signature-pad,.wh-signature-pad{min-height:58vh}.delivery-proof-grid,.inbox-proof-grid{grid-template-columns:1fr!important}.delivery-actions-sticky{z-index:8;backdrop-filter:blur(8px);background:#f6fdf9f0;border:1px solid #cfe1d7;border-radius:14px;padding:.55rem;position:sticky;bottom:0}}.header-top{justify-content:space-between;align-items:center;gap:10px;display:flex!important}.header-top-actions{align-items:center;gap:8px;display:inline-flex}.ribbon-bar{display:block!important}.ribbon-bar .main-nav{width:100%}@media (width<=980px){.header-top{flex-direction:column;align-items:stretch}.header-top-actions{grid-template-columns:1fr 1fr auto;gap:8px;width:100%;display:grid}.header-usercard{grid-column:1/-1}.ribbon-actions{grid-column:1/3;grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.mobile-menu-btn{grid-column:3/4;justify-self:end}.main-nav{display:none}body.mobile-nav-open .main-nav{display:flex}}.app-header{background:linear-gradient(135deg,#fffffff5,#e5f2ebeb),radial-gradient(circle at 10% 0,#0873591f,#0000 36%)!important;border-bottom:1px solid #81a4946b!important}.brand{text-align:right;align-content:center;min-height:76px;box-shadow:0 14px 28px #0a332814;background:linear-gradient(135deg,#fffffff5,#daefe5b8)!important;border-color:#0c665038!important;border-radius:20px!important;justify-items:start!important}.brand h1{letter-spacing:-.03em}.header-top-actions{display:contents!important}.header-usercard{align-self:stretch;min-width:260px;min-height:76px;box-shadow:0 12px 26px #0c2c2314;background:linear-gradient(145deg,#fff,#edf8f2)!important;border-radius:20px!important}.ribbon-actions{background:#ffffffb8;border:1px solid #81a19347;border-radius:20px;min-height:76px;padding:8px}.ribbon-action{min-width:118px;border-radius:16px!important}.ribbon-bar{background:#ffffff94;border:1px solid #81a19342;border-radius:18px;padding:4px}.main-nav{scrollbar-width:thin}.ribbon-group{border-radius:16px!important}.nav-item{min-height:48px;border-radius:14px!important}.dashboard-action-list{gap:8px;max-height:430px;padding:2px;display:grid;overflow:auto}.dashboard-action-list .open-task-list{gap:8px}.dashboard-action-list .open-task-item{background:linear-gradient(135deg,#fff,#eff9f4);min-height:62px}.avatar-card-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px;display:grid}.avatar-card{background:linear-gradient(145deg,#fffffff5,#ebf7f1d1);border:1px solid #8bb09e6b;border-radius:18px;gap:10px;padding:14px;display:grid;box-shadow:0 14px 30px #0c2c2314}.avatar-card header,.avatar-card footer{justify-content:space-between;align-items:center;gap:8px;display:flex}.avatar-card header strong{color:#103c32;font-size:1rem}.avatar-card header span{color:#537166;font-size:.82rem}.avatar-card-body{gap:5px;display:grid}.avatar-card-body p{color:#294d41;margin:0;font-size:.86rem;line-height:1.7}#catalogEditPanel:not(.hidden),#categoryEditPanel:not(.hidden),#unitEditPanel:not(.hidden),#warehouseEditPanel:not(.hidden),#productEditPanel:not(.hidden){background:linear-gradient(145deg,#fff,#eef9f4);border-color:#0a6a5352;margin-bottom:12px}@media (width<=980px){.header-top{grid-template-columns:1fr auto!important}.brand{grid-column:1/-1;min-height:auto}.header-usercard{min-width:0;min-height:58px}.ribbon-actions{grid-template-columns:repeat(2,minmax(0,1fr));width:100%;min-height:58px;display:grid}.mobile-menu-btn{min-height:58px;border-radius:18px!important;display:inline-flex!important}.ribbon-bar{background:0 0;border:0;padding:0}body.mobile-nav-open .main-nav{grid-template-columns:1fr;gap:8px;max-height:calc(100vh - 210px);padding:8px 2px;overflow:auto;display:grid!important}.ribbon-group{min-width:0!important}.ribbon-group-items{grid-template-columns:repeat(2,minmax(0,1fr));display:grid!important}.nav-item{justify-content:center;width:100%}}@media (width<=560px){.header-top{grid-template-columns:1fr!important}.ribbon-actions{grid-template-columns:1fr 1fr}.mobile-menu-btn{width:100%}.ribbon-group-items{grid-template-columns:1fr!important}}.app-shell{direction:rtl!important;grid-template:auto minmax(0,1fr)/1fr!important;display:grid!important}.app-header{background:radial-gradient(circle at 8% 0,#0a6a5324,#0000 30%),linear-gradient(135deg,#fffffffa,#e6f3ecf0)!important;border-bottom:1px solid #688b7b52!important;grid-template-columns:1fr!important;gap:10px!important;padding:12px clamp(10px,1.4vw,18px)!important;display:grid!important;box-shadow:0 16px 34px #0a271f1f!important}.header-top{grid-template-columns:minmax(280px,1fr) minmax(0,auto)!important;align-items:stretch!important;gap:12px!important;display:grid!important}.brand{background:linear-gradient(135deg,#fffffffa,#e0f1e8c7),radial-gradient(circle at 100% 0,#0a6a5321,#0000 42%)!important;border:1px solid #688b7b47!important;border-radius:22px!important;align-content:center!important;justify-items:start!important;min-height:74px!important;padding:12px 16px!important;display:grid!important;box-shadow:0 14px 26px #0a271f14!important}.brand-kicker{color:#0c6f57!important}.brand h1{color:#103c32!important;font-size:clamp(1.2rem,1.7vw,1.65rem)!important;line-height:1.2!important}.brand-subtitle{color:#47695e!important}.header-top-actions{grid-template-columns:minmax(230px,auto) auto auto!important;align-items:stretch!important;gap:10px!important;display:inline-grid!important}.header-usercard{background:linear-gradient(145deg,#fffffff2,#eef8f3e6)!important;border:1px solid #688b7b42!important;border-radius:22px!important;justify-content:center!important;min-width:min(310px,32vw)!important;min-height:74px!important;box-shadow:0 12px 24px #0a271f14!important}.ribbon-actions{background:#ffffffa8!important;border:1px solid #688b7b3d!important;border-radius:22px!important;grid-template-columns:repeat(2,minmax(112px,auto))!important;gap:8px!important;min-height:74px!important;padding:8px!important;display:inline-grid!important;box-shadow:inset 0 1px #ffffffb8!important}.ribbon-action{border-radius:17px!important;min-height:56px!important}.mobile-menu-btn{color:#0f604d!important;background:linear-gradient(145deg,#fff,#eaf7f1)!important;border-color:#688b7b52!important;border-radius:22px!important;min-width:74px!important;min-height:74px!important;box-shadow:0 12px 24px #0a271f14!important}.ribbon-bar{background:linear-gradient(135deg,#ffffffd1,#ebf6f1bd)!important;border:1px solid #688b7b3d!important;border-radius:22px!important;padding:8px!important;display:block!important;box-shadow:inset 0 1px #ffffffc2!important}.main-nav{flex-wrap:nowrap!important;align-items:stretch!important;gap:8px!important;padding:2px!important;display:flex!important;overflow:auto hidden!important}.ribbon-group{background:linear-gradient(160deg,#ffffffeb,#e8f4eedb)!important;border-radius:18px!important;min-width:max-content!important}.nav-item{border-radius:15px!important;min-height:48px!important}.dashboard-action-list{min-height:320px}.dashboard-action-list .open-task-list{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));display:grid}@media (width<=980px){.app-header{padding:10px!important;position:sticky!important;top:0!important}.header-top{grid-template-columns:1fr auto!important;gap:8px!important}.brand{grid-column:1/-1!important;min-height:auto!important;padding:11px 13px!important}.header-top-actions{grid-column:1/-1!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;width:100%!important;display:grid!important}.header-usercard{grid-column:1/-1!important;justify-content:flex-start!important;width:100%!important;min-width:0!important;min-height:52px!important}.ribbon-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;min-height:54px!important;padding:6px!important}.ribbon-action{min-width:0!important;min-height:46px!important}.mobile-menu-btn{min-width:56px!important;min-height:56px!important;display:inline-flex!important}.ribbon-bar{box-shadow:none!important;background:0 0!important;border:0!important;padding:0!important}.main-nav{display:none!important}body.mobile-nav-open .main-nav{background:#f8fdfafa!important;border:1px solid #688b7b47!important;border-radius:20px!important;grid-template-columns:1fr!important;gap:8px!important;max-height:min(62vh,520px)!important;padding:8px!important;display:grid!important;overflow:auto!important;box-shadow:0 18px 42px #0a271f29!important}.ribbon-group{width:100%!important;min-width:0!important}.ribbon-group-items{grid-template-columns:repeat(2,minmax(0,1fr))!important;display:grid!important}.nav-item{justify-content:center!important;width:100%!important;min-height:52px!important}.dashboard-action-list{min-height:auto}}@media (width<=560px){.header-top-actions{grid-template-columns:1fr 56px!important}.ribbon-actions{grid-template-columns:1fr 1fr!important}.ribbon-action span{font-size:.78rem}.ribbon-group-items{grid-template-columns:1fr!important}}:root{--swms-page:#f8fafc;--swms-surface:#fff;--swms-soft:#f1f5f9;--swms-border:#e2e8f0;--swms-border-strong:#cbd5e1;--swms-ink:#1e293b;--swms-muted:#64748b;--swms-faint:#94a3b8;--swms-emerald:#059669;--swms-emerald-dark:#047857;--swms-emerald-soft:#ecfdf5;--swms-rose:#e11d48;--swms-amber:#f59e0b;--swms-blue:#2563eb;--swms-shadow:0 12px 28px #0f172a14;--swms-shadow-soft:0 4px 14px #0f172a0f}html,body{background:var(--swms-page)!important;color:var(--swms-ink)!important}body{background:radial-gradient(circle at 12% 0,#10b98114,#0000 28%),linear-gradient(#f8fafc,#f1f5f9)!important;min-height:100vh!important;font-family:IRANYekanX,IRANSansX,Tahoma,sans-serif!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:999px}::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}.scene-overlay,.sidebar,.mobile-nav-backdrop{display:none!important}.app-shell,body.guest-mode .app-shell{direction:rtl!important;background:0 0!important;flex-direction:column!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;padding:0!important;display:flex!important;position:relative!important}.app-header,body.guest-mode .app-header{z-index:50!important;border:0!important;border-bottom:1px solid var(--swms-border)!important;background:0 0!important;flex-direction:column!important;gap:0!important;width:100%!important;padding:0!important;display:flex!important;position:sticky!important;top:0!important;box-shadow:0 1px 3px #0f172a14!important}.header-top,body.guest-mode .header-top{border-bottom:1px solid var(--swms-border)!important;background:#fff!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;width:100%!important;height:64px!important;min-height:64px!important;padding:0 clamp(16px,2vw,32px)!important;display:flex!important}.brand,body.guest-mode .brand{min-width:0!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;align-items:center!important;gap:12px!important;padding:0!important;display:flex!important}.brand-logo{color:#fff;background:linear-gradient(135deg,var(--swms-emerald),#10b981);border-radius:14px;flex:none;justify-content:center;align-items:center;width:38px;height:38px;display:inline-flex;box-shadow:0 8px 18px #0596693d}.brand-logo svg{fill:none;stroke:currentColor;stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}.brand-copy{gap:1px;min-width:0;display:grid}.brand-kicker,body.guest-mode .brand-kicker{color:var(--swms-emerald-dark)!important;letter-spacing:.13em!important;text-transform:uppercase!important;margin:0!important;font-size:.72rem!important;font-weight:800!important;line-height:1!important}.brand h1,body.guest-mode .brand h1{color:#0f172a!important;white-space:nowrap!important;margin:0!important;font-size:1.28rem!important;font-weight:900!important;line-height:1.25!important}.brand-subtitle,body.guest-mode .brand-subtitle{color:var(--swms-muted)!important;white-space:nowrap!important;margin:0!important;font-size:.72rem!important;line-height:1.35!important}.header-top-actions,body.guest-mode .header-top-actions{justify-content:flex-end!important;align-items:center!important;gap:14px!important;min-width:0!important;display:flex!important}.header-usercard,body.guest-mode .header-usercard{width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;flex-direction:row-reverse!important;justify-content:flex-start!important;align-items:center!important;gap:10px!important;padding:0!important;display:inline-flex!important;position:relative!important}.header-avatar{border:1px solid var(--swms-border);width:36px;height:36px;color:var(--swms-muted);background:#f8fafc;border-radius:999px;flex:none;justify-content:center;align-items:center;font-size:.72rem;font-weight:900;display:inline-flex;position:relative}.header-user-dot{background:#10b981!important;border:2px solid #fff!important;border-radius:999px!important;width:10px!important;height:10px!important;position:absolute!important;bottom:1px!important;right:1px!important}.header-user-meta{text-align:left!important;direction:ltr!important;gap:2px!important;display:grid!important}.header-user-meta small{color:var(--swms-emerald)!important;font-size:.66rem!important;font-weight:700!important}.header-user-meta .badge,#authBadge{max-width:min(240px,30vw)!important;color:var(--swms-ink)!important;text-overflow:ellipsis!important;white-space:nowrap!important;background:0 0!important;border:0!important;padding:0!important;font-size:.86rem!important;font-weight:800!important;display:block!important;overflow:hidden!important}.ribbon-actions,body.guest-mode .ribbon-actions{min-height:0!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;align-items:center!important;gap:8px!important;padding:0!important;display:inline-flex!important}.ribbon-action{border:1px solid var(--swms-border)!important;min-width:0!important;height:36px!important;min-height:0!important;color:var(--swms-muted)!important;box-shadow:var(--swms-shadow-soft)!important;font:inherit!important;cursor:pointer!important;background:#fff!important;border-radius:10px!important;justify-content:center!important;align-items:center!important;gap:8px!important;padding:0 12px!important;font-size:.83rem!important;font-weight:800!important;transition:background .18s,color .18s,border-color .18s,transform .18s!important;display:inline-flex!important}.ribbon-action:hover{color:var(--swms-emerald-dark)!important;background:var(--swms-emerald-soft)!important;border-color:#bbf7d0!important;transform:translateY(-1px)!important}.ribbon-action.danger{color:var(--swms-rose)!important;border-color:#fecdd3!important}.ribbon-action.danger:hover{background:#fff1f2!important;border-color:#fda4af!important}.ribbon-action svg,.mobile-menu-btn svg{fill:none!important;stroke:currentColor!important;stroke-width:1.9px!important;stroke-linecap:round!important;stroke-linejoin:round!important;width:16px!important;height:16px!important}.mobile-menu-btn{display:none!important}.ribbon-bar,body.guest-mode .ribbon-bar{border:0!important;border-bottom:1px solid var(--swms-border)!important;width:100%!important;height:56px!important;min-height:56px!important;box-shadow:none!important;background:#f8fafc!important;border-radius:0!important;padding:0 clamp(16px,2vw,32px)!important;display:block!important;overflow:auto hidden!important}.main-nav,.ribbon-bar .main-nav,body.mobile-nav-open .main-nav{min-width:max-content!important;height:55px!important;max-height:none!important;box-shadow:none!important;background:0 0!important;border:0!important;border-radius:0!important;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;gap:24px!important;padding:0!important;display:flex!important;overflow:visible!important}.ribbon-group{border:0!important;border-left:1px solid var(--swms-border)!important;min-width:max-content!important;height:100%!important;box-shadow:none!important;background:0 0!important;border-radius:0!important;align-items:center!important;gap:0!important;padding:0 0 0 24px!important;display:flex!important}.ribbon-group:last-child{border-left:0!important}.ribbon-group-title{display:none!important}.ribbon-group-items{align-items:center!important;gap:4px!important;display:inline-flex!important}.nav-item{color:#475569!important;width:auto!important;min-width:0!important;height:34px!important;min-height:0!important;box-shadow:none!important;font:inherit!important;white-space:nowrap!important;cursor:pointer!important;background:0 0!important;border:0!important;border-radius:10px!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:7px!important;padding:0 12px!important;font-size:.85rem!important;font-weight:800!important;transition:background .16s,color .16s,transform .16s,box-shadow .16s!important;display:inline-flex!important;position:relative!important}.nav-item:hover{color:#0f172a!important;background:#e2e8f0!important;transform:translateY(-1px)!important}.nav-item.active{color:#fff!important;background:var(--swms-emerald)!important;box-shadow:0 8px 16px #05966938!important}.nav-item-icon,.nav-item-icon svg{flex:none!important;width:17px!important;height:17px!important}.nav-badge{color:#fff!important;background:var(--swms-rose)!important;border:2px solid #fff!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;min-width:16px!important;height:16px!important;padding:0 4px!important;font-size:.62rem!important;line-height:1!important;display:none!important;position:absolute!important;top:1px!important;right:8px!important}.nav-badge.visible{display:inline-flex!important}.workspace,body.guest-mode .workspace{direction:rtl!important;flex-direction:column!important;flex:auto!important;gap:24px!important;width:100%!important;max-width:1400px!important;margin:0 auto!important;padding:32px clamp(16px,2vw,32px) 88px!important;display:flex!important}.workspace-head{box-shadow:none!important;background:0 0!important;border:0!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:4px!important;margin:0!important;padding:0!important;display:flex!important}.workspace-head h2{color:#0f172a!important;margin:0!important;font-size:1.55rem!important;font-weight:900!important}.workspace-head p,.muted{color:var(--swms-muted)!important;font-size:.9rem!important}.content-grid{width:100%!important;display:block!important}.panel,.soft-panel,.auth-panel{border:1px solid var(--swms-border)!important;box-shadow:var(--swms-shadow-soft)!important;background:#fff!important;border-radius:18px!important}.panel-head h3,.soft-panel h4{color:#0f172a!important;font-weight:900!important}.dashboard-enterprise{grid-template-columns:minmax(0,2fr) minmax(280px,.88fr)!important;align-items:start!important;gap:28px!important;display:grid!important}.dashboard-main-column,.dashboard-status-column{flex-direction:column!important;gap:24px!important;min-width:0!important;display:flex!important}.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important;display:grid!important}.enterprise-kpi{min-height:154px!important;box-shadow:var(--swms-shadow-soft)!important;background:#fff!important;border:1px solid #f1f5f9!important;border-radius:22px!important;flex-direction:column!important;justify-content:space-between!important;gap:12px!important;padding:22px 22px 18px!important;transition:transform .18s,box-shadow .18s!important;display:flex!important;position:relative!important;overflow:hidden!important}.enterprise-kpi:hover{box-shadow:var(--swms-shadow)!important;transform:translateY(-2px)!important}.enterprise-kpi:before{content:""!important;background:var(--swms-emerald)!important;width:4px!important;position:absolute!important;top:0!important;bottom:0!important;right:0!important}.enterprise-kpi[data-tone=rose]:before{background:var(--swms-rose)!important}.enterprise-kpi[data-tone=amber]:before{background:var(--swms-amber)!important}.enterprise-kpi-head{justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;display:flex!important}.enterprise-kpi-head h3{color:var(--swms-muted)!important;margin:0!important;font-size:.92rem!important;font-weight:800!important}.enterprise-kpi-icon,.status-widget-icon,.performance-icon{width:48px!important;height:48px!important;color:var(--swms-emerald)!important;background:var(--swms-emerald-soft)!important;border-radius:16px!important;flex:none!important;justify-content:center!important;align-items:center!important;display:inline-flex!important}.enterprise-kpi[data-tone=rose] .enterprise-kpi-icon{color:var(--swms-rose)!important;background:#fff1f2!important}.enterprise-kpi[data-tone=amber] .enterprise-kpi-icon{color:var(--swms-amber)!important;background:#fffbeb!important}.enterprise-kpi-icon svg,.status-widget-icon svg,.performance-icon svg{width:24px!important;height:24px!important}.enterprise-kpi strong{color:#0f172a!important;font-size:2.15rem!important;font-weight:900!important;line-height:1!important}.enterprise-kpi small{color:var(--swms-faint)!important;font-size:.78rem!important}.performance-panel{min-height:420px!important;padding:24px!important}.performance-head{border-bottom:1px solid var(--swms-border)!important;justify-content:space-between!important;align-items:flex-start!important;gap:16px!important;padding-bottom:16px!important;display:flex!important}.performance-head h3{color:#0f172a!important;margin:0!important;font-size:1.15rem!important;font-weight:900!important}.performance-head p{color:var(--swms-muted)!important;margin:5px 0 0!important;font-size:.82rem!important}.dashboard-action-list{min-height:0!important;padding-top:18px!important}.dashboard-action-list .open-task-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;display:grid!important}.open-task-list,.role-breakdown-list{gap:10px!important;display:grid!important}.open-task-item,.role-breakdown-item{width:100%!important;min-height:82px!important;color:var(--swms-ink)!important;text-align:right!important;font:inherit!important;cursor:pointer!important;background:#fff!important;border:1px solid #f1f5f9!important;border-radius:16px!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:14px!important;transition:transform .18s,box-shadow .18s,border-color .18s!important;display:flex!important;position:relative!important;box-shadow:0 2px 8px #0f172a0a!important}.open-task-item:before,.role-breakdown-item:before{content:""!important;background:var(--swms-amber)!important;border-radius:99px 0 0 99px!important;width:3px!important;position:absolute!important;top:14px!important;bottom:14px!important;right:0!important}.open-task-item:hover,.role-breakdown-item:hover{box-shadow:var(--swms-shadow-soft)!important;border-color:#bbf7d0!important;transform:translateY(-2px)!important}.open-task-item strong,.role-breakdown-item strong{color:#0f172a!important;margin-top:3px!important;font-weight:900!important;display:block!important}.open-task-item p{color:var(--swms-muted)!important;margin:4px 0 0!important;font-size:.75rem!important}.task-order-no{color:var(--swms-faint)!important;font-size:.74rem!important;font-weight:800!important}.open-task-role-pill{color:var(--swms-emerald-dark)!important;background:var(--swms-emerald-soft)!important;white-space:nowrap!important;border:1px solid #bbf7d0!important;border-radius:9px!important;justify-content:center!important;align-items:center!important;padding:5px 9px!important;font-size:.7rem!important;font-weight:900!important;display:inline-flex!important}.status-widget{box-shadow:var(--swms-shadow-soft)!important;background:#fff!important;border:1px solid #f1f5f9!important;border-radius:22px!important;padding:20px!important;position:relative!important;overflow:hidden!important}.status-widget:before{content:""!important;background:var(--swms-emerald)!important;border-radius:99px 0 0 99px!important;width:4px!important;position:absolute!important;top:18px!important;bottom:18px!important;right:0!important}.status-widget header{justify-content:flex-start!important;align-items:center!important;gap:12px!important;margin-bottom:12px!important;display:flex!important}.status-widget h4{color:#0f172a!important;margin:0!important;font-size:1.02rem!important;font-weight:900!important}.status-widget p{color:var(--swms-muted)!important;margin:0 0 14px!important;font-size:.82rem!important;line-height:1.8!important}.status-widget-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;display:grid!important}.btn{border-radius:10px!important;font-family:inherit!important;font-weight:800!important;transition:background .16s,border-color .16s,color .16s,transform .16s!important}.btn:hover{transform:translateY(-1px)!important}.btn-primary{border-color:var(--swms-emerald)!important;background:var(--swms-emerald)!important;color:#fff!important}.btn-secondary{border-color:var(--swms-border)!important;color:#475569!important;background:#fff!important}.btn-secondary:hover{background:var(--swms-emerald-soft)!important;color:var(--swms-emerald-dark)!important;border-color:#bbf7d0!important}.btn-success{color:#166534!important;background:#dcfce7!important;border-color:#86efac!important}.btn-warning{color:#92400e!important;background:#fffbeb!important;border-color:#fcd34d!important}.btn-danger{color:#be123c!important;background:#fff1f2!important;border-color:#fecdd3!important}.window-layer{z-index:140!important;pointer-events:none!important;position:fixed!important;inset:0!important}.app-window{pointer-events:auto!important;border:1px solid var(--swms-border)!important;background:#fff!important;border-radius:18px!important;grid-template-rows:auto minmax(0,1fr)!important;display:grid!important;position:absolute!important;inset:84px clamp(16px,2vw,28px) 28px!important;overflow:hidden!important;box-shadow:0 24px 70px #0f172a38!important}.app-window.is-active{border-color:#a7f3d0!important;box-shadow:0 28px 80px #0f172a47!important}.app-window.is-hidden{display:none!important}.app-window.is-restored{inset:104px max(36px,8vw) 64px!important}.app-window-head{border-bottom:1px solid var(--swms-border)!important;background:linear-gradient(#fff,#f8fafc)!important;justify-content:space-between!important;align-items:center!important;gap:16px!important;height:50px!important;padding:0 14px!important;display:flex!important}.app-window-meta{gap:2px!important;min-width:0!important;display:grid!important}.app-window-meta strong{color:#0f172a!important;font-size:.95rem!important;font-weight:900!important}.app-window-meta span{color:var(--swms-muted)!important;white-space:nowrap!important;text-overflow:ellipsis!important;font-size:.74rem!important;overflow:hidden!important}.app-window-controls{align-items:center!important;gap:6px!important;display:inline-flex!important}.win-btn{border:1px solid var(--swms-border)!important;color:#475569!important;cursor:pointer!important;background:#fff!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;width:34px!important;height:30px!important;font-family:inherit!important;font-weight:900!important;display:inline-flex!important}.win-btn:hover{color:var(--swms-emerald-dark)!important;background:var(--swms-emerald-soft)!important;border-color:#bbf7d0!important}.win-btn.danger:hover{color:var(--swms-rose)!important;background:#fff1f2!important;border-color:#fecdd3!important}.app-window-body{background:#f8fafc!important;padding:20px!important;overflow:auto!important}.window-dock{z-index:151!important;pointer-events:none!important;justify-content:center!important;align-items:center!important;display:none!important;position:fixed!important;bottom:14px!important;left:16px!important;right:16px!important}.window-dock.visible{display:flex!important}.dock-items{pointer-events:auto!important;backdrop-filter:blur(12px)!important;background:#ffffffe0!important;border:1px solid #cbd5e1e6!important;border-radius:16px!important;justify-content:center!important;align-items:center!important;gap:8px!important;max-width:min(920px,100%)!important;padding:8px!important;display:flex!important;overflow-x:auto!important;box-shadow:0 14px 34px #0f172a2e!important}.dock-entry{border:1px solid var(--swms-border)!important;background:#fff!important;border-radius:12px!important;align-items:center!important;display:inline-flex!important;overflow:hidden!important}.dock-item,.dock-close{pointer-events:auto!important;height:34px!important;font:inherit!important;cursor:pointer!important;background:0 0!important;border:0!important;font-size:.82rem!important;font-weight:900!important}.dock-item{color:var(--swms-emerald-dark)!important;padding:0 12px!important}.dock-close{width:32px!important;color:var(--swms-rose)!important;border-right:1px solid var(--swms-border)!important}.flash-modal{z-index:300!important;backdrop-filter:blur(4px)!important;background:#0f172a6b!important;justify-content:center!important;align-items:center!important;padding:20px!important;display:flex!important;position:fixed!important;inset:0!important}.flash-dialog{border:1px solid var(--swms-border)!important;background:#fff!important;border-radius:18px!important;width:min(420px,100%)!important;padding:22px!important;box-shadow:0 24px 70px #0f172a40!important}.flash-dialog h4{color:#0f172a!important;font-weight:900!important}.notification-list{gap:12px!important;display:grid!important}.notification-card{border:1px solid var(--swms-border)!important;box-shadow:var(--swms-shadow-soft)!important;background:#fff!important;border-radius:16px!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:14px!important;display:grid!important}.notification-card.is-unread{background:linear-gradient(135deg,#fff,#ecfdf5)!important;border-color:#a7f3d0!important}.notification-main{min-width:0!important;color:inherit!important;text-align:right!important;font:inherit!important;cursor:pointer!important;background:0 0!important;border:0!important;align-items:flex-start!important;gap:12px!important;display:flex!important}.notification-dot{background:var(--swms-emerald)!important;width:10px!important;height:10px!important;box-shadow:0 0 0 4px var(--swms-emerald-soft)!important;border-radius:999px!important;margin-top:8px!important}.notification-card.is-read .notification-dot{background:var(--swms-border-strong)!important;box-shadow:none!important}.notification-copy{gap:5px!important;min-width:0!important;display:grid!important}.notification-copy strong{color:#0f172a!important;font-size:.95rem!important;font-weight:900!important}.notification-copy small{color:var(--swms-faint)!important;font-size:.72rem!important}.notification-copy p{color:var(--swms-muted)!important;margin:0!important;font-size:.84rem!important;line-height:1.8!important}.notification-actions{align-items:center!important;gap:8px!important;display:inline-flex!important}@media (width<=1100px){.dashboard-enterprise{grid-template-columns:1fr!important}.dashboard-status-column{order:-1!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;display:grid!important}}@media (width<=860px){.header-top{flex-wrap:wrap!important;height:auto!important;min-height:64px!important;padding:10px 14px!important}.brand{width:100%!important}.brand h1{font-size:1.05rem!important}.brand-subtitle{white-space:normal!important}.header-top-actions{justify-content:space-between!important;gap:10px!important;width:100%!important}.header-user-meta .badge,#authBadge{max-width:46vw!important}.ribbon-action span{display:none!important}.ribbon-action{width:40px!important;padding:0!important}.ribbon-bar{height:56px!important;padding:0 12px!important}.main-nav{gap:12px!important}.ribbon-group{padding-left:12px!important}.workspace,body.guest-mode .workspace{gap:18px!important;padding:22px 12px 92px!important}.dashboard-kpi-grid,.dashboard-status-column,.dashboard-action-list .open-task-list{grid-template-columns:1fr!important}.app-window,.app-window.is-restored,.app-window.is-maximized{border-radius:16px!important;inset:8px!important}.app-window-body{padding:12px!important}.notification-card{grid-template-columns:1fr!important}.notification-actions{flex-wrap:wrap!important;justify-content:stretch!important}.notification-actions .btn{flex:150px!important}}@media (width<=560px){.brand-logo{border-radius:12px!important;width:34px!important;height:34px!important}.header-avatar{width:34px!important;height:34px!important}.header-user-meta small{display:none!important}.nav-item{height:38px!important;padding:0 10px!important;font-size:.8rem!important}.nav-item-icon,.nav-item-icon svg{width:16px!important;height:16px!important}.enterprise-kpi,.status-widget,.performance-panel{border-radius:18px!important;padding:18px!important}.open-task-item{flex-direction:column!important;align-items:flex-start!important}}.workspace-head h2{font-size:1.28rem!important;line-height:1.6!important}.panel-head h3{font-size:1.08rem!important;line-height:1.7!important}.soft-panel h4,.panel-head h4{font-size:.98rem!important}.chat-message{overflow-wrap:anywhere!important;word-break:break-word!important;background:#fff!important;border-color:#dbe7ef!important;width:fit-content!important;min-width:min(220px,74vw)!important;max-width:min(680px,82%)!important;max-height:260px!important;overflow:auto!important}.chat-message.own{background:linear-gradient(135deg,#dcfce7,#f0fdf4)!important;border-color:#86efac!important}.chat-message:not(.own){background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;border-color:#bfdbfe!important}.chat-message p{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word!important;line-height:1.9!important}.settings-logo-preview{gap:12px!important;margin:12px 0!important;display:grid!important}.settings-logo-card{border:1px solid var(--swms-border)!important;background:linear-gradient(135deg,#fff,#f8fafc)!important;border-radius:16px!important;align-items:center!important;gap:14px!important;padding:14px!important;display:flex!important}.settings-logo-card img{object-fit:contain!important;background:#fff!important;border:1px dashed #cbd5e1!important;border-radius:14px!important;width:82px!important;height:82px!important;padding:8px!important}.settings-print-logo-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:10px!important;display:grid!important}.settings-print-logo-card{border:1px solid var(--swms-border)!important;background:#fff!important;border-radius:8px!important;gap:10px!important;padding:12px!important;display:grid!important}.settings-print-logo-head{justify-content:space-between!important;align-items:center!important;gap:8px!important;display:flex!important}.settings-logo-preview-box{background:#f8fafc!important;border:1px dashed #cbd5e1!important;border-radius:8px!important;justify-content:center!important;align-items:center!important;min-height:86px!important;padding:8px!important;display:flex!important}.settings-logo-preview-box img{object-fit:contain!important;max-width:82px!important;max-height:82px!important}.settings-warehouse-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:10px!important;display:grid!important}.settings-warehouse-row{border:1px solid var(--swms-border)!important;background:#fff!important;border-radius:8px!important;gap:8px!important;padding:10px!important;display:grid!important}.checkbox-row{align-items:center!important;gap:8px!important;margin:0!important;display:flex!important}.checkbox-row input[type=checkbox]{width:18px!important;height:18px!important}.pagination-bar{border:1px solid var(--swms-border)!important;color:#475569!important;background:#f8fafc!important;border-radius:8px!important;justify-content:space-between!important;align-items:center!important;gap:10px!important;margin-top:10px!important;padding:8px 10px!important;font-size:.82rem!important;display:flex!important}.pagination-bar .inline-actions{gap:6px!important}.pagination-bar .btn{min-height:30px!important;padding:6px 10px!important;font-size:.78rem!important}@media (width<=860px){.dashboard-kpi-grid{grid-template-columns:1fr!important}.chat-message{min-width:min(190px,78vw)!important;max-width:92%!important;max-height:220px!important}}.user-signature-pad-wrap{background:linear-gradient(#fff,#f8fafc);border:1px solid #0f766e38;border-radius:18px;width:100%;min-height:190px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffffb3}.user-signature-pad{touch-action:none;width:100%;height:190px;display:block}label.required-field{position:relative!important}.required-field:after{content:"*"!important;color:#be123c!important;background:#fff1f2!important;border:1px solid #fecdd3!important;border-radius:999px!important;justify-content:center!important;align-items:center!important;width:18px!important;height:18px!important;font-size:.78rem!important;font-weight:900!important;line-height:1!important;display:inline-flex!important;position:absolute!important;top:2px!important;left:4px!important}.nav-item{border-color:#cbd5e1cc!important}.nav-item[data-view=dashboard] .nav-item-icon{color:#0f766e!important}.nav-item[data-view=orders] .nav-item-icon{color:#2563eb!important}.nav-item[data-view=warehouses] .nav-item-icon{color:#d97706!important}.nav-item[data-view=reports] .nav-item-icon{color:#7c3aed!important}.nav-item[data-view=notifications] .nav-item-icon{color:#e11d48!important}.nav-item[data-view=chat] .nav-item-icon{color:#0891b2!important}.nav-item[data-view=knowledge] .nav-item-icon{color:#16a34a!important}.module-tab.active{color:#fff!important;background:linear-gradient(135deg,#0f766e,#2563eb)!important;border-color:#0f766e!important}.status-widget-actions .btn:first-child{color:#fff!important;background:#eff6ff!important;border-color:#bfdbfe!important}.status-widget-actions .btn:nth-child(2){color:#fff!important;background:#f0fdf4!important;border-color:#bbf7d0!important}.status-widget-actions .btn:nth-child(3){color:#fff!important;background:#fff7ed!important;border-color:#fed7aa!important}.status-widget-actions .btn:nth-child(4){color:#fff!important;background:#f5f3ff!important;border-color:#ddd6fe!important}.knowledge-list{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:12px!important;display:grid!important}.knowledge-card{border:1px solid var(--swms-border)!important;box-shadow:var(--swms-shadow-soft)!important;background:#fff!important;border-right:4px solid #10b981!important;border-radius:10px!important;gap:10px!important;padding:14px!important;display:grid!important}.knowledge-card.is-inactive{background:#fffbeb!important;border-right-color:#f59e0b!important}.knowledge-card header{justify-content:space-between!important;align-items:flex-start!important;gap:10px!important;display:flex!important}.knowledge-card strong{color:#0f172a!important;font-size:.96rem!important;font-weight:900!important}.knowledge-card small{color:#64748b!important;margin-top:4px!important;font-size:.74rem!important;display:block!important}.knowledge-card p{color:#334155!important;white-space:pre-wrap!important;margin:0!important;font-size:.86rem!important;line-height:1.9!important}:root{--bg-base:#eaf2ff!important;--bg-surface:#f8fbff!important;--bg-sidebar:#08245c!important;--bg-sidebar-soft:#0f3b82!important;--accent:#1d4ed8!important;--accent-soft:#dbeafe!important;--border:#c7d7f4!important;--swms-page:#eef5ff!important;--swms-soft:#e6f0ff!important;--swms-border:#cbdcf7!important;--swms-border-strong:#93b4ee!important;--swms-emerald:#1d4ed8!important;--swms-emerald-dark:#1e3a8a!important;--swms-emerald-soft:#dbeafe!important;--swms-blue:#2563eb!important;--swms-shadow:0 18px 38px #1e40af29!important;--swms-shadow-soft:0 8px 20px #1e40af1a!important}body{background:linear-gradient(135deg,#2563eb1f,#0ea5e914),linear-gradient(#f8fbff,#eef5ff),#eef5ff!important}.sidebar{background:linear-gradient(#061a44,#0f3b82 52%,#1554a8)!important}.brand,.status-widget-primary,.enterprise-kpi{background:linear-gradient(145deg,#fffffff5,#dbeafedb)!important;border:1px solid #60a5fa47!important}.nav-item{background:#ffffff14!important;border-color:#93c5fd38!important}.nav-item:hover{transform:translateY(-1px);background:#60a5fa2e!important}.nav-item.active{color:#fff!important;background:linear-gradient(135deg,#2563eb,#0ea5e9)!important;border-color:#bfdbfebf!important;box-shadow:0 12px 28px #2563eb4d!important}.btn-primary{background:linear-gradient(135deg,#1d4ed8,#0284c7)!important;border-color:#1d4ed8!important;box-shadow:0 10px 22px #2563eb38!important}.btn-secondary{color:#1e3a8a!important;background:linear-gradient(135deg,#fff,#e0edff)!important;border-color:#bfdbfe!important}.status-widget-actions .btn{color:#fff!important;border:0!important;box-shadow:0 12px 26px #0f172a26!important}.status-widget-actions .btn:first-child{background:linear-gradient(135deg,#2563eb,#38bdf8)!important}.status-widget-actions .btn:nth-child(2){background:linear-gradient(135deg,#0891b2,#22c55e)!important}.status-widget-actions .btn:nth-child(3){background:linear-gradient(135deg,#f59e0b,#ef4444)!important}.status-widget-actions .btn:nth-child(4){background:linear-gradient(135deg,#7c3aed,#2563eb)!important}.ts-wrapper.swms-tom-select{text-align:right;direction:rtl}.ts-wrapper.swms-tom-select .ts-control{gap:6px;min-height:42px;color:#172554!important;background:linear-gradient(#fff,#f1f7ff)!important;border:1px solid #bfdbfe!important;border-radius:10px!important;box-shadow:inset 0 1px #ffffffe6!important}.ts-wrapper.swms-tom-select.focus .ts-control{border-color:#2563eb!important;box-shadow:0 0 0 3px #2563eb29!important}.ts-dropdown{text-align:right;direction:rtl;border-color:#bfdbfe!important;border-radius:10px!important;box-shadow:0 18px 38px #1e40af33!important}.ts-dropdown .option{padding:9px 11px!important}.ts-dropdown .active{color:#1e3a8a!important;background:#dbeafe!important}.knowledge-card[role=button]{cursor:pointer;transition:transform .18s,box-shadow .18s}.knowledge-card[role=button]:hover{transform:translateY(-2px);box-shadow:0 16px 32px #1e40af29!important}.ribbon-bar.nav-knowledge-open{overflow:visible!important}.nav-knowledge-wrap{z-index:10020;align-items:center;display:inline-flex;position:relative}.knowledge-nav-dropdown{z-index:10090;opacity:0;pointer-events:none;background:#fff;border:1px solid #bfdbfe;border-radius:14px;width:min(320px,86vw);max-height:380px;padding:10px;transition:opacity .16s,transform .16s;position:absolute;top:calc(100% - 1px);right:0;overflow:auto;transform:translateY(8px);box-shadow:0 22px 46px #1e40af3d}.nav-knowledge-wrap:hover .knowledge-nav-dropdown,.nav-knowledge-wrap:focus-within .knowledge-nav-dropdown{opacity:1;pointer-events:auto;transform:translateY(0)}.nav-knowledge-wrap:hover,.nav-knowledge-wrap:focus-within{z-index:10080}.knowledge-nav-dropdown-head{color:#1e3a8a;padding:4px 6px 9px;font-size:.84rem;font-weight:900}.knowledge-nav-dropdown-list{gap:7px;display:grid}.knowledge-nav-item{color:#0f172a;text-align:right;cursor:pointer;pointer-events:auto;background:linear-gradient(135deg,#eff6ff,#fff);border:1px solid #dbeafe;border-radius:10px;gap:4px;width:100%;padding:10px 11px;display:grid}.knowledge-nav-item:hover{background:#dbeafe;border-color:#93c5fd}.knowledge-nav-item strong{font-size:.88rem;font-weight:900}.knowledge-nav-empty{color:#64748b;margin:0;font-size:.78rem;line-height:1.8}.knowledge-dialog-backdrop{z-index:9999;backdrop-filter:blur(4px);background:#0f172a6b;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.knowledge-dialog{background:#fff;border-radius:14px;flex-direction:column;width:min(680px,94vw);max-height:min(680px,88vh);display:flex;overflow:hidden;box-shadow:0 24px 60px #0f172a47}.knowledge-dialog header{background:linear-gradient(135deg,#eff6ff,#fff);border-bottom:1px solid #dbeafe;justify-content:space-between;align-items:flex-start;gap:12px;padding:16px;display:flex}.knowledge-dialog header strong{color:#1e3a8a;font-size:1.04rem;font-weight:900}.knowledge-dialog header small{color:#64748b;margin-top:5px;font-size:.78rem;display:block}.knowledge-dialog-body{color:#1f2937;white-space:pre-wrap;padding:18px;font-size:.94rem;line-height:2;overflow:auto}.dashboard-main-column{direction:rtl!important}.dashboard-kpi-grid,.dashboard-kpi-grid .enterprise-kpi,.dashboard-kpi-grid .enterprise-kpi-head,#openTasksWidget{text-align:right!important;direction:rtl!important}#openTasksWidget{width:100%!important}label.required-field{padding-right:16px!important}label.required-field:after,.required-field:after{content:"*"!important;color:#dc2626!important;background:0 0!important;border:0!important;border-radius:0!important;width:auto!important;height:auto!important;font-size:1rem!important;font-weight:900!important;line-height:1!important;top:.15rem!important;left:auto!important;right:0!important}label>.ts-wrapper.swms-tom-select{margin-top:7px!important}.ts-wrapper.swms-tom-select{text-align:right!important;direction:rtl!important;width:100%!important}.ts-wrapper.swms-tom-select .ts-control{border-radius:10px!important;align-items:center!important;min-height:42px!important;padding:7px 10px!important;line-height:1.5!important}.ts-wrapper.swms-tom-select.single .ts-control{padding-left:34px!important}.ts-wrapper.swms-tom-select .ts-control>input{text-align:right!important;direction:rtl!important;min-width:6rem!important;font-family:inherit!important}.ts-wrapper.swms-tom-select .ts-control .item{color:#172554!important;white-space:normal!important;overflow-wrap:anywhere!important;max-width:100%!important;line-height:1.65!important}.ts-wrapper.swms-tom-select.multi .ts-control .item{color:#1e3a8a!important;background:#eff6ff!important;border:1px solid #bfdbfe!important;border-radius:999px!important;margin:2px 0 2px 6px!important;padding:4px 9px!important}.ts-wrapper.swms-tom-select .ts-control .placeholder{color:#64748b!important}.ts-wrapper.swms-tom-select .ts-dropdown{z-index:10050!important}.ts-dropdown .option,.ts-dropdown .no-results,.ts-dropdown .optgroup-header{font-family:IRANYekanX,IRANSansX,sans-serif!important;line-height:1.8!important}.ts-dropdown .option{text-align:right!important;white-space:normal!important;direction:rtl!important}body>.ts-dropdown{z-index:10080!important;text-align:right!important;direction:rtl!important;background:#fff!important;border:1px solid #2563eb40!important;border-radius:14px!important;overflow:hidden!important;box-shadow:0 24px 54px #0f172a42!important}body>.ts-dropdown .ts-dropdown-content{max-height:320px!important;padding:6px!important}.ts-wrapper.swms-tom-select.dropdown-active .ts-control{border-color:#2563eb!important;box-shadow:0 0 0 4px #2563eb24!important}.ts-wrapper.swms-tom-select .ts-control>input{color:#0f172a!important;font-weight:800!important}body>.ts-dropdown .option{color:#1e293b!important;border-radius:10px!important;margin:2px 0!important;padding:9px 11px!important;line-height:1.8!important}body>.ts-dropdown .option.active,body>.ts-dropdown .option:hover{color:#1e3a8a!important;background:linear-gradient(135deg,#dbeafe,#eff6ff)!important}body>.ts-dropdown .no-results{color:#64748b!important;text-align:center!important;background:#f8fafc!important;border-radius:10px!important;margin:4px!important}.status-widget-actions .btn,.status-widget-actions .btn:visited,.status-widget-actions .btn:hover,.status-widget-actions .btn:focus{color:#fff!important}#openTasksWidget .open-task-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#openTasksWidget .open-task-item{flex-direction:column;align-items:stretch;min-height:92px}#openTasksWidget .open-task-item>div{gap:3px;display:grid}.dashboard-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.dashboard-clickable{cursor:pointer!important}.dashboard-clickable:focus-visible{outline-offset:3px!important;outline:3px solid #2563eb47!important}@media (width<=860px){.dashboard-kpi-grid{grid-template-columns:1fr!important}}.open-task-status{color:#1e3a8a;text-align:right;background:#eff6ff;border-radius:10px;align-self:stretch;gap:3px;padding:6px 8px;display:grid}.open-task-status b{font-size:.78rem}.open-task-status em{color:#64748b;font-size:.72rem;font-style:normal;font-weight:800}.external-loading-check-table .external-loading-item-row.is-discrepant{background:#fff1f2}.external-discrepancy-fields{grid-template-columns:repeat(3,minmax(82px,1fr));gap:6px;min-width:320px;display:grid}.external-discrepancy-fields textarea{grid-column:1/-1;min-height:54px}.warehouse-delivery-state-nav{margin-top:-4px}@media (width<=760px){#openTasksWidget .open-task-list{grid-template-columns:1fr}.dashboard-enterprise{flex-direction:column!important;display:flex!important}.dashboard-main-column{order:1!important}.dashboard-status-column{order:2!important}.dashboard-status-column .status-widget-primary,#roleBreakdownWidget p{display:none!important}.external-discrepancy-fields{grid-template-columns:1fr;min-width:220px}}.role-management-wrap{min-height:220px}.role-management-layout{grid-template-columns:minmax(190px,240px) minmax(0,1fr);align-items:start;gap:14px;display:grid}.role-list-panel,.role-permissions-panel{background:#fff;border:1px solid #dbeafe;border-radius:12px;box-shadow:0 10px 24px #1e40af14}.role-list-panel{overflow:hidden}.role-list-title{color:#1e3a8a;background:linear-gradient(135deg,#eff6ff,#fff);border-bottom:1px solid #dbeafe;justify-content:space-between;align-items:center;gap:10px;padding:12px;display:flex}.role-list-title span{color:#64748b;font-size:.78rem}.role-list{gap:8px;padding:10px;display:grid}.role-list-item{color:#1e3a8a;text-align:right;cursor:pointer;background:#f8fbff;border:1px solid #dbeafe;border-radius:10px;gap:3px;width:100%;padding:10px;display:grid}.role-list-item span{font-weight:900}.role-list-item small{color:#64748b;text-align:right;direction:ltr}.role-list-item em{color:#0369a1;background:#e0f2fe;border-radius:999px;justify-self:start;padding:2px 8px;font-size:.72rem;font-style:normal;font-weight:800}.role-list-item.active{color:#fff;background:linear-gradient(135deg,#2563eb,#0ea5e9);border-color:#2563eb}.role-list-item.active small,.role-list-item.active em{color:#fff}.role-list-item.active em{background:#ffffff2e}.role-permissions-panel{padding:12px}.role-permissions-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.role-permissions-head h4,.role-permissions-head p{margin:0}.role-permissions-head h4{color:#1e3a8a}.role-permissions-head p{color:#64748b;margin-top:4px;font-size:.82rem}.permission-master-toggle,.permission-group-card header label,.permission-check-row{align-items:center;gap:8px;display:flex}.permission-master-toggle{color:#1e3a8a;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 12px;font-weight:800}.role-permission-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.permission-group-card{background:#fff;border:1px solid #dbeafe;border-radius:12px;overflow:hidden}.permission-group-card header{color:#1e3a8a;background:#f8fbff;border-bottom:1px solid #e0f2fe;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.permission-check-list{gap:2px;padding:8px;display:grid}.permission-check-row{color:#1f2937;border-radius:10px;padding:8px;position:relative}.permission-check-row:hover{background:#eff6ff}.permission-check-row input,.permission-master-toggle input,.permission-group-card header input{accent-color:#2563eb;width:17px;height:17px}.permission-check-row span{font-weight:800}.permission-check-row small{color:#94a3b8;direction:ltr;margin-right:auto;font-size:.72rem}.role-save-actions{margin-top:14px}@media (width<=900px){.role-management-layout,.role-permission-grid{grid-template-columns:1fr}}