@import "https://fonts.googleapis.com/css2?family=Cairo:wght@500;600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Alexandria:wght@300;400;500;600;700;800&display=swap";
.legacy-erp{--erp-green:#3e0865;--erp-green-dark:#26033f;--erp-green-soft:#f4eff7;--erp-paper:#fffdff;--erp-grid:#d5c8dd;--erp-admin:#efe8f3;--erp-text:#2b1a32;--erp-muted:#75617f;--erp-row:#faf8fb;color:var(--erp-text);background-color:var(--erp-paper);border:1px solid var(--erp-grid);background-image:linear-gradient(#36415205 1px,#0000 1px),linear-gradient(90deg,#36415205 1px,#0000 1px);background-size:28px 28px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:13px}.legacy-erp *,.legacy-erp :before,.legacy-erp :after{box-sizing:border-box}.legacy-titlebar{color:#fff;background:linear-gradient(#75617f,#3e0865);border-bottom:1px solid #3e0865;justify-content:space-between;align-items:center;gap:12px;min-height:38px;padding:0 11px;font-family:Cairo,sans-serif;display:flex}.legacy-titlebar-identity{align-items:center;gap:8px;font-size:12px;font-weight:700;display:flex}.legacy-titlebar-appmark{background:#ffffff2b;border:1px solid #ffffff59;justify-content:center;align-items:center;width:20px;height:20px;font-size:11px;display:inline-flex}.legacy-titlebar-meta{color:#f4eff7;align-items:center;gap:6px;font-size:10px;display:flex}.legacy-titlebar-dot{opacity:.6}.legacy-menubar{border-bottom:1px solid var(--erp-grid);background:#f4eff7;justify-content:space-between;align-items:center;gap:12px;min-height:30px;padding:0 10px;font-family:Cairo,sans-serif;display:flex}.legacy-menubar-list{align-self:stretch;align-items:stretch;display:flex}.legacy-menu-item{color:#3e0865;border-inline:1px solid #0000;align-items:center;padding:0 10px;font-size:11px;font-weight:700;text-decoration:none;display:inline-flex}.legacy-menu-item:hover,.legacy-menu-item-active{color:var(--erp-green);border-color:var(--erp-grid);background:#fff}.legacy-menubar-info{color:#6f4a84;white-space:nowrap;font-size:10px}.legacy-toolbar{border-bottom:1px solid var(--erp-grid);background:#fcfdf9;align-items:stretch;min-height:60px;display:flex;overflow-x:auto}.legacy-toolbar-group{border-inline-end:1px solid var(--erp-grid);align-items:center;gap:3px;padding:5px 9px;display:flex}.legacy-tool{color:#3e0865;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:2px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:52px;padding:4px 5px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:9px;font-weight:700;text-decoration:none;transition:background .15s,border-color .15s;display:flex}.legacy-tool:hover{color:var(--erp-green);background:var(--erp-green-soft);border-color:#d5c8dd}.legacy-tool-main{color:#fff;background:linear-gradient(#3e0865,#3e0865);border-color:#26033f}.legacy-tool-main:hover{color:#fff;background:linear-gradient(#31054f,#26033f);border-color:#26033f}.legacy-tool-icon{justify-content:center;align-items:center;width:21px;height:21px;display:inline-flex}.legacy-modulebar{border-bottom:1px solid var(--erp-grid);background:#f4eff7;align-items:stretch;min-height:34px;display:flex;overflow-x:auto}.legacy-module{border-inline-end:1px solid var(--erp-grid);color:#6f4a84;white-space:nowrap;background:#f4eff7;align-items:center;gap:6px;padding:0 11px;font-family:Cairo,sans-serif;font-size:10px;font-weight:700;text-decoration:none;display:inline-flex}.legacy-module:hover{color:var(--erp-green);background:#f4eff7}.legacy-module-active{color:#fff;background:var(--erp-green);position:relative}.legacy-module-active:after{content:"";background:#e7b73c;height:2px;position:absolute;inset:auto 0 -1px}.legacy-workspace{background:#fffefaeb;padding:13px}.legacy-workspace-heading{justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:10px;display:flex}.legacy-workspace-path{color:#6f4a84;font-size:10px}.legacy-workspace-heading h1{color:#3e0865;margin:1px 0 0;font-family:Cairo,sans-serif;font-size:17px;font-weight:800}.legacy-workspace-meta{color:#6f4a84;align-items:center;gap:5px;font-size:10px;display:flex}.legacy-workspace-meta span{border:1px solid var(--erp-grid);background:#f4eff7;align-items:center;gap:4px;padding:3px 6px;display:inline-flex}.legacy-live-dot{background:#cdbed6;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 2px #f4eff7}.legacy-summary-table{border-top:1px solid var(--erp-grid);border-inline-start:1px solid var(--erp-grid);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;margin-bottom:12px;display:grid}.legacy-summary-cell{border-inline-end:1px solid var(--erp-grid);border-bottom:1px solid var(--erp-grid);background:linear-gradient(#fdfefc,#f4eff7);align-items:center;gap:9px;min-width:0;min-height:64px;padding:9px;display:flex}.legacy-summary-icon{background:var(--erp-green-soft);width:28px;height:28px;color:var(--erp-green);border:1px solid #d5c8dd;flex:none;justify-content:center;align-items:center;display:inline-flex}.legacy-summary-cell-danger .legacy-summary-icon{color:#a64b3c;background:#fff0ec;border-color:#e4bcb3}.legacy-summary-cell-warn .legacy-summary-icon{color:#9e6c11;background:#fff9e8;border-color:#e5d2a3}.legacy-summary-label{color:#6f4a84;font-size:10px;font-weight:700}.legacy-summary-value{text-align:start;color:#3e0865;white-space:nowrap;direction:ltr;margin-top:1px;font-family:Courier New,monospace;font-size:14px;font-weight:700}.legacy-summary-note{color:#6f4a84;white-space:nowrap;text-overflow:ellipsis;margin-top:1px;font-size:9px;overflow:hidden}.legacy-sheet{border:1px solid var(--erp-grid);background:#fff;margin-bottom:12px;overflow:hidden;box-shadow:0 1px #3e08650a}.legacy-sheet:last-child{margin-bottom:0}.legacy-sheet-caption{color:#3e0865;border-bottom:1px solid var(--erp-grid);background:linear-gradient(#f4eff7,#f4eff7);justify-content:space-between;align-items:center;gap:8px;min-height:32px;padding:0 8px;font-family:Cairo,sans-serif;font-size:11px;font-weight:800;display:flex}.legacy-sheet-caption-main{align-items:center;gap:6px;display:inline-flex}.legacy-sheet-caption-tools{align-items:center;gap:4px;display:flex}.legacy-mini-button{color:#6f4a84;cursor:pointer;background:#fff;border:1px solid #d5c8dd;border-radius:2px;align-items:center;gap:4px;min-height:22px;padding:0 7px;font-family:inherit;font-size:9px;font-weight:700;text-decoration:none;display:inline-flex}.legacy-mini-button:hover{color:#fff;background:var(--erp-green);border-color:var(--erp-green)}.legacy-mini-button-primary{color:#fff;background:var(--erp-green);border-color:#26033f}.legacy-mini-button-primary:hover{background:#26033f}.legacy-action-sheet{border-inline-start:1px solid var(--erp-grid);grid-template-columns:repeat(6,minmax(0,1fr));display:grid}.legacy-action-cell{color:#3e0865;border-inline-end:1px solid var(--erp-grid);text-align:center;background:#fffdff;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:74px;padding:8px 6px;text-decoration:none;transition:background .16s,color .16s;display:flex}.legacy-action-cell:hover{color:var(--erp-green);background:var(--erp-green-soft)}.legacy-action-cell-icon{width:24px;height:24px;color:var(--erp-green);justify-content:center;align-items:center;display:inline-flex}.legacy-action-cell-main{color:#fff;background:var(--erp-green)}.legacy-action-cell-main .legacy-action-cell-icon{color:#fff}.legacy-action-cell-main:hover{color:#fff;background:var(--erp-green-dark)}.legacy-action-cell-title{font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.legacy-action-cell-note{color:#6f4a84;white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:8px;overflow:hidden}.legacy-action-cell-main .legacy-action-cell-note{color:#f4eff7}.legacy-grid{grid-template-columns:minmax(0,1.65fr) minmax(260px,.85fr);align-items:start;gap:12px;display:grid}.legacy-grid-side{flex-direction:column;gap:12px;display:flex}.legacy-filter-row{border-bottom:1px solid var(--erp-grid);color:#6f4a84;background:#fafbf8;justify-content:space-between;align-items:center;gap:8px;min-height:29px;padding:0 8px;font-size:9px;display:flex}.legacy-filter-row span{align-items:center;gap:4px;display:inline-flex}.legacy-filter-box{color:#6f4a84;background:#fff;border:1px solid #d5c8dd;align-items:center;min-width:134px;height:20px;padding:0 6px;display:inline-flex}.legacy-table-scroll{overflow-x:auto}.legacy-table{border-collapse:collapse;width:100%;font-family:IBM Plex Sans Arabic,Arial,sans-serif}.legacy-table th{color:#3e0865;border-inline-end:1px solid var(--erp-grid);text-align:start;white-space:nowrap;background:linear-gradient(#f4eff7,#f4eff7);border-bottom:1px solid #cdbed6;padding:7px 8px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800}.legacy-table td{color:#3e0865;border-inline-end:1px solid #d5c8dd;background:#fffdff;border-bottom:1px solid #d5c8dd;padding:7px 8px;font-size:10px}.legacy-table tbody tr:nth-child(2n) td{background:#fbfcf9}.legacy-table tbody tr:hover td{background:#f4eff7}.legacy-table tbody tr.legacy-selected-row td{outline-offset:-1px;background:#f4eff7;outline:1px solid #cdbed6}.legacy-number{white-space:nowrap;direction:ltr;font-family:Courier New,monospace;font-weight:700;text-align:start!important;font-size:11px!important}.legacy-entry{color:#3e0865;font-family:Courier New,monospace;font-weight:700}.legacy-date{white-space:nowrap;direction:ltr;color:#6f4a84!important}.legacy-status{color:#6f4a84;background:#f4eff7;border:1px solid #cdbed6;align-items:center;gap:4px;padding:2px 5px;font-size:9px;font-weight:700;display:inline-flex}.legacy-status span{background:currentColor;border-radius:50%;width:5px;height:5px}.legacy-status-draft{color:#956d14;background:#fff8e5;border-color:#dcc78a}.legacy-empty{text-align:center;color:#6f4a84!important;padding:23px!important}.legacy-empty-inner{flex-direction:column;align-items:center;gap:5px;display:flex}.legacy-empty-inner strong{color:#6f4a84;font-family:Cairo,sans-serif;font-size:11px}.legacy-empty-inner span{font-size:9px}.legacy-account-list{border-inline-start:1px solid var(--erp-grid)}.legacy-account-row{border-bottom:1px solid var(--erp-grid);background:#fffdff;grid-template-columns:20px 1fr auto;align-items:center;gap:6px;min-height:37px;padding:0 8px;display:grid}.legacy-account-row:nth-child(2n){background:#f4eff7}.legacy-account-key{color:#6f4a84;background:#f4eff7;border:1px solid #d5c8dd;justify-content:center;align-items:center;width:15px;height:15px;font-size:8px;display:inline-flex}.legacy-account-name{color:#6f4a84;font-size:10px;font-weight:600}.legacy-account-value{color:#3e0865;direction:ltr;font-family:Courier New,monospace;font-size:10px;font-weight:700}.legacy-total-row{color:#6f4a84;background:#f4eff7;border-top:1px solid #d5c8dd;justify-content:space-between;align-items:center;min-height:28px;padding:0 8px;font-size:9px;font-weight:700;display:flex}.legacy-followup-row{border-bottom:1px solid var(--erp-grid);color:#3e0865;background:#fffdff;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;min-height:45px;padding:5px 8px;text-decoration:none;display:grid}.legacy-followup-row:last-child{border-bottom:none}.legacy-followup-row:hover{background:#f4eff7}.legacy-followup-icon{color:#9b711b;background:#fff6df;border:1px solid #dec88f;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.legacy-followup-row-green .legacy-followup-icon{color:#6f4a84;background:#f4eff7;border-color:#f4eff7}.legacy-followup-copy{flex-direction:column;gap:1px;min-width:0;display:flex}.legacy-followup-title{font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.legacy-followup-note{color:#6f4a84;white-space:nowrap;text-overflow:ellipsis;font-size:8px;overflow:hidden}.legacy-followup-value{color:#3e0865;font-family:Courier New,monospace;font-size:10px;font-weight:700}.legacy-statusbar{color:#f4eff7;background:#3e0865;border-top:1px solid #3e0865;justify-content:space-between;align-items:center;gap:8px;min-height:27px;padding:0 8px;font-size:9px;display:flex}.legacy-statusbar-group{align-items:center;gap:10px;display:flex}.legacy-statusbar-item{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.legacy-status-light{background:#f4eff7;border-radius:50%;width:6px;height:6px}.legacy-statusbar strong{color:#fff;font-family:Courier New,monospace}@media (max-width:1100px){.legacy-grid{grid-template-columns:1fr}.legacy-grid-side{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (max-width:820px){.legacy-summary-table{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-action-sheet{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-grid-side{grid-template-columns:1fr}}@media (max-width:620px){.legacy-workspace{padding:8px}.legacy-titlebar-meta,.legacy-menubar-info{display:none}.legacy-menu-item{padding:0 7px;font-size:10px}.legacy-toolbar{min-height:57px}.legacy-toolbar-group{padding:5px}.legacy-tool{min-width:48px}.legacy-toolbar-group:last-child .legacy-tool:not(.legacy-tool-main){display:none}.legacy-module{padding:0 9px}.legacy-workspace-heading{flex-direction:column;align-items:flex-start}.legacy-summary-table,.legacy-action-sheet{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-summary-cell{min-height:57px}.legacy-action-cell{min-height:66px}.legacy-table th,.legacy-table td{padding:7px 6px}.legacy-statusbar{flex-direction:column;align-items:flex-start;padding:5px 8px}.legacy-statusbar-group{flex-wrap:wrap;gap:7px}}.app-layout:has(.legacy-erp){background:#f8f5fa}.app-layout:has(.legacy-erp) .header{display:none}.app-layout:has(.legacy-erp) .page-content{background:#f8f5fa;margin-top:0;padding:0}.app-layout:has(.legacy-erp) .sidebar{background:#3e0865;border-color:#26033f}.app-layout:has(.legacy-erp) .sidebar-logo{background:#26033f;border-bottom-color:#ffffff2e;height:38px;padding:0 10px}.app-layout:has(.legacy-erp) .sidebar-logo img{-o-object-fit:contain;object-fit:contain;filter:brightness(0)invert()grayscale()contrast(1.4);max-height:30px}.app-layout:has(.legacy-erp) .sidebar-nav{padding:5px 0}.app-layout:has(.legacy-erp) .sidebar-section{margin-bottom:0}.app-layout:has(.legacy-erp) .sidebar-section-label{color:#f4eff7;letter-spacing:.04em;padding:7px 13px 3px;font-family:Cairo,sans-serif;font-size:9px}.app-layout:has(.legacy-erp) .sidebar-item{color:#f4eff7;border-bottom:1px solid #ffffff1f;gap:8px;min-height:31px;padding:6px 12px;font-family:Cairo,sans-serif;font-size:11px;font-weight:700}.app-layout:has(.legacy-erp) .sidebar-item:hover{color:#fff;background:#ffffff1f}.app-layout:has(.legacy-erp) .sidebar-item.active{color:#3e0865;background:#f4eff7;border-inline-start:3px solid #e7b73c}.app-layout:has(.legacy-erp) .sidebar-item-icon{width:17px;height:17px}.app-layout:has(.legacy-erp) .sidebar-submenu-item{color:#d5c8dd;border-bottom:1px solid #ffffff14;padding-block:5px;padding-inline:36px 12px;font-size:10px}.app-layout:has(.legacy-erp) .sidebar-submenu-item.active{color:#fff;background:#0000001f}.app-layout:has(.legacy-erp) .sidebar-footer{border-top-color:#ffffff26;padding:6px}.app-layout:has(.legacy-erp) .sidebar-collapse-btn{color:#f4eff7;border:1px solid #ffffff2e;border-radius:2px;min-height:26px;padding:4px 6px;font-family:Cairo,sans-serif;font-size:10px}.app-layout:has(.legacy-erp) .sidebar-collapse-btn:hover{color:#fff;background:#ffffff1f}@media (max-width:768px){.app-layout:has(.legacy-erp) .sidebar-logo{height:42px}.app-layout:has(.legacy-erp) .page-content{padding:0}}.legacy-app-shell{--primary:#3e0865;--primary-dark:#26033f;--primary-light:#f4eff7;--secondary:#3e0865;--accent:#6f4a84;--success:#6f4a84;--warning:#9a6b13;--danger:#a84a3b;--border:#d5c8dd;--bg:#f8f5fa;--surface:#fffdff;--text-primary:#2b1a32;--text-secondary:#75617f;--text-muted:#857692;--header-height:58px;font-family:IBM Plex Sans Arabic,Arial,sans-serif}.legacy-app-shell .header{height:var(--header-height);box-shadow:none;background:#fffdff;border-bottom:1px solid #cdbed6;flex-direction:column;align-items:stretch;gap:0;padding:0;display:flex}.legacy-app-shell .legacy-global-titlebar{color:#fff;background:linear-gradient(#75617f,#3e0865);align-items:center;gap:8px;min-height:32px;padding:0 9px;display:flex}.legacy-app-shell .legacy-global-appname{white-space:nowrap;align-items:center;gap:6px;font-family:Cairo,sans-serif;display:flex}.legacy-app-shell .legacy-global-appname>span{background:#ffffff26;border:1px solid #ffffff59;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;display:inline-flex}.legacy-app-shell .legacy-global-appname strong{font-size:11px}.legacy-app-shell .legacy-global-appname small{color:#f4eff7;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:9px}.legacy-app-shell .header-search{max-width:280px;height:22px;margin-inline-start:8px}.legacy-app-shell .header-search input{color:#3e0865;background:#fffffff0;border:1px solid #ffffff7a;border-radius:2px;height:22px;padding:3px 8px 3px 27px;font-family:inherit;font-size:10px}.legacy-app-shell [dir=rtl] .header-search input{padding:3px 27px 3px 8px}.legacy-app-shell .header-search-icon{color:#6f4a84}.legacy-app-shell .header-actions{gap:2px}.legacy-app-shell .header-icon-btn,.legacy-app-shell .lang-switcher{color:#f4eff7;background:0 0;border:1px solid #ffffff40;border-radius:2px;width:25px;height:23px;min-height:23px;padding:0;font-family:inherit;font-size:9px}.legacy-app-shell .lang-switcher{gap:4px;width:auto;padding:0 6px}.legacy-app-shell .header-icon-btn:hover,.legacy-app-shell .lang-switcher:hover{color:#3e0865;background:#f4eff7;border-color:#f4eff7}.legacy-app-shell .profile-btn{color:#fff;border:1px solid #ffffff40;border-radius:2px;min-height:24px;padding:1px 3px}.legacy-app-shell .profile-btn:hover{background:#ffffff1f}.legacy-app-shell .profile-avatar{color:#3e0865;background:#e7b73c;border-radius:1px;width:19px;height:19px;font-size:9px}.legacy-app-shell .profile-name{color:#fff;font-size:10px}.legacy-app-shell .profile-role{color:#f4eff7;font-size:8px}.legacy-app-shell .legacy-header-popup{position:relative}.legacy-app-shell .legacy-notification-count{top:-5px;color:#fff;background:#c84e3f;border:1px solid #fff;border-radius:9px;min-width:13px;padding:0 3px;font-size:8px;font-weight:700;line-height:12px;position:absolute;inset-inline-end:-5px}.legacy-app-shell .legacy-global-menubar{background:#f4eff7;border-bottom:1px solid #d5c8dd;justify-content:space-between;align-items:center;gap:8px;min-height:26px;padding:0 8px;font-family:Cairo,sans-serif;display:flex}.legacy-app-shell .legacy-global-menubar nav,.legacy-app-shell .legacy-global-shortcuts{align-items:stretch;height:26px;display:flex}.legacy-app-shell .legacy-global-menubar a{color:#3e0865;white-space:nowrap;border-inline:1px solid #0000;align-items:center;padding:0 8px;font-size:9px;font-weight:700;text-decoration:none;display:inline-flex}.legacy-app-shell .legacy-global-menubar a:hover{color:#3e0865;background:#fffdff;border-color:#d5c8dd}.legacy-app-shell .legacy-global-shortcuts a{color:#3e0865;background:#fbf8fc;border-inline-start:1px solid #d5c8dd}.legacy-app-shell .main-content{background:#f8f5fa}.legacy-app-shell .page-content{margin-top:var(--header-height);background-color:#f8f5fa;background-image:linear-gradient(#36415205 1px,#0000 1px),linear-gradient(90deg,#36415205 1px,#0000 1px);background-size:28px 28px;padding:14px}.legacy-app-shell .page-content.animate-fade{animation:none}.legacy-app-shell .sidebar{background:#3e0865;border-color:#26033f}.legacy-app-shell .sidebar-logo{background:#26033f;border-bottom-color:#ffffff2e;height:38px;padding:0 10px}.legacy-app-shell .sidebar-logo img{-o-object-fit:contain;object-fit:contain;filter:brightness(0)invert()grayscale()contrast(1.4);max-height:30px}.legacy-app-shell .sidebar-nav{padding:5px 0}.legacy-app-shell .sidebar-section{margin-bottom:0}.legacy-app-shell .sidebar-section-label{color:#f4eff7;letter-spacing:.04em;padding:7px 13px 3px;font-family:Cairo,sans-serif;font-size:9px}.legacy-app-shell .sidebar-item{color:#f4eff7;border-bottom:1px solid #ffffff1f;gap:8px;min-height:31px;padding:6px 12px;font-family:Cairo,sans-serif;font-size:11px;font-weight:700}.legacy-app-shell .sidebar-item:hover{color:#fff;background:#ffffff1f}.legacy-app-shell .sidebar-item.active{color:#3e0865;background:#f4eff7;border-inline-start:3px solid #e7b73c}.legacy-app-shell .sidebar-item-icon{width:17px;height:17px}.legacy-app-shell .sidebar-submenu-item{color:#d5c8dd;border-bottom:1px solid #ffffff14;padding-block:5px;padding-inline:36px 12px;font-size:10px}.legacy-app-shell .sidebar-submenu-item.active{color:#fff;background:#0000001f}.legacy-app-shell .sidebar-footer{border-top-color:#ffffff26;padding:6px}.legacy-app-shell .sidebar-collapse-btn{color:#f4eff7;border:1px solid #ffffff2e;border-radius:2px;min-height:26px;padding:4px 6px;font-family:Cairo,sans-serif;font-size:10px}.legacy-app-shell .sidebar-collapse-btn:hover{color:#fff;background:#ffffff1f}.legacy-app-shell .page-header{background:linear-gradient(#f4eff7,#f4eff7);border:1px solid #d5c8dd;border-bottom:2px solid #3e0865;border-radius:0;align-items:flex-end;min-height:46px;margin-bottom:12px;padding:8px 10px}.legacy-app-shell .page-title{color:#3e0865;font-family:Cairo,sans-serif;font-size:16px;font-weight:800}.legacy-app-shell .page-subtitle{color:#6f4a84;margin-top:1px;font-size:10px}.legacy-app-shell .breadcrumb{color:#75617f;margin-bottom:3px;font-size:9px}.legacy-app-shell .breadcrumb span:last-child{color:#3e0865}.legacy-app-shell .card{background:#fffdff;border:1px solid #d5c8dd;box-shadow:none!important;border-radius:0!important}.legacy-app-shell .card-header{background:linear-gradient(#faf8fb,#f4eff7);border-bottom:1px solid #d5c8dd;border-radius:0;min-height:32px;padding:7px 9px}.legacy-app-shell .card-title{color:#3e0865;font-family:Cairo,sans-serif;font-size:11px;font-weight:800}.legacy-app-shell .card-body{padding:10px}.legacy-app-shell .btn{color:#4c126d;background:#fbf8fc;border:1px solid #cdbed6;min-height:27px;padding:4px 10px;font-family:Cairo,sans-serif;font-size:10px;font-weight:700;box-shadow:inset 0 1px #ffffffb3;border-radius:2px!important}.legacy-app-shell .btn-primary{color:#fff;background:linear-gradient(#5a187e,#3e0865);border-color:#26033f}.legacy-app-shell .btn-primary:hover{color:#fff;background:linear-gradient(#31054f,#26033f)}.legacy-app-shell .btn-secondary{color:#4c126d;background:#faf8fb;border-color:#d5c8dd}.legacy-app-shell .btn-secondary:hover,.legacy-app-shell .btn-ghost:hover{color:#3e0865;background:#f4eff7}.legacy-app-shell .btn-danger{color:#fff;background:linear-gradient(#b95747,#984333);border-color:#81382d}.legacy-app-shell .btn-sm{min-height:23px;padding:3px 7px;font-size:9px}.legacy-app-shell .btn-lg{min-height:33px;padding:6px 13px;font-size:11px}.legacy-app-shell .table-wrapper{background:#fff;border:1px solid #d5c8dd;border-radius:0!important}.legacy-app-shell table{font-family:IBM Plex Sans Arabic,Arial,sans-serif}.legacy-app-shell thead tr{background:linear-gradient(#f4eff7,#f4eff7)}.legacy-app-shell th{color:#3e0865;border-inline-end:1px solid #d5c8dd;text-transform:none;letter-spacing:0;border-bottom:1px solid #cdbed6;padding:7px 8px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800}.legacy-app-shell td{color:#3e0865;border-inline-end:1px solid #d5c8dd;background:#fffdff;border-bottom:1px solid #d5c8dd;padding:7px 8px;font-size:10px}.legacy-app-shell tbody tr:nth-child(2n) td{background:#fbfcf9}.legacy-app-shell tbody tr:hover td{background:#f4eff7}.legacy-app-shell .badge{border:1px solid;border-radius:2px;padding:2px 5px;font-size:9px}.legacy-app-shell .badge-success{color:#6f4a84;background:#f4eff7}.legacy-app-shell .badge-warning{color:#956d14;background:#fff8e5}.legacy-app-shell .badge-danger{color:#9b4032;background:#fcebe7}.legacy-app-shell .badge-info{color:#285c76;background:#e9f1f3}.legacy-app-shell .form-group{margin-bottom:10px}.legacy-app-shell .form-label{color:#3e0865;margin-bottom:3px;font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.legacy-app-shell .form-input,.legacy-app-shell .form-select{color:#3e0865;background:#fffdff;border:1px solid #cdbed6;min-height:29px;padding:5px 7px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:11px;box-shadow:inset 0 1px 2px #3641520a;border-radius:1px!important}.legacy-app-shell .form-input:focus,.legacy-app-shell .form-select:focus{border-color:#3e0865;box-shadow:0 0 0 1px #3e0865}.legacy-app-shell textarea.form-input{min-height:70px}.legacy-app-shell .form-hint{color:#857692;font-size:9px}.legacy-app-shell .form-error{color:#a84a3b;font-size:9px}.legacy-app-shell .grid-2,.legacy-app-shell .grid-3,.legacy-app-shell .grid-4{gap:10px}.legacy-app-shell .stat-card{background:#fffdff;border:1px solid #d5c8dd;padding:10px;box-shadow:none!important;border-radius:0!important}.legacy-app-shell .stat-icon{width:32px;height:32px;border-radius:1px!important}.legacy-app-shell .stat-value{font-family:Courier New,monospace;font-size:16px}.legacy-app-shell .dropdown{border:1px solid #cdbed6;font-family:IBM Plex Sans Arabic,Arial,sans-serif;box-shadow:3px 4px #36415224;border-radius:0!important}.legacy-app-shell .dropdown-header{background:#f4eff7;border-bottom-color:#d5c8dd;padding:8px 10px}.legacy-app-shell .dropdown-item{text-align:start;background:#fffdff;border-bottom:1px solid #f4eff7;padding:7px 10px;font-size:10px}.legacy-app-shell .dropdown-item:hover{color:#3e0865;background:#f4eff7}.legacy-app-shell .dropdown-item.danger{color:#9b4032}.legacy-app-shell .dropdown-item.danger:hover{background:#fcebe7}.legacy-app-shell .legacy-dropdown-header{color:#3e0865;flex-direction:column;gap:1px;font-family:Cairo,sans-serif;font-size:10px;display:flex}.legacy-app-shell .legacy-dropdown-header span{color:#75617f;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:9px}.legacy-app-shell .legacy-dropdown-empty{color:#857692;text-align:center;padding:15px;font-size:10px}.legacy-app-shell .legacy-notification-row{cursor:pointer;border-bottom:1px solid #e5dcea;padding:7px 10px}.legacy-app-shell .legacy-notification-row.unread{background:#f4eff7}.legacy-app-shell .legacy-notification-row strong{color:#4c126d;font-size:10px;display:block}.legacy-app-shell .legacy-notification-row span{color:#857692;font-size:9px}.legacy-app-shell .legacy-dropdown-footer{color:#3e0865;text-align:center;background:#fbf8fc;border-top:1px solid #d5c8dd;padding:7px;font-size:10px;font-weight:700;text-decoration:none;display:block}@media (max-width:768px){.legacy-app-shell .header{height:54px}.legacy-app-shell .legacy-global-titlebar{min-height:31px}.legacy-app-shell .legacy-global-appname small,.legacy-app-shell .header-search,.legacy-app-shell .header-icon-btn{display:none}.legacy-app-shell .legacy-global-menubar{min-height:23px;overflow-x:auto}.legacy-app-shell .legacy-global-menubar nav,.legacy-app-shell .legacy-global-shortcuts{height:23px}.legacy-app-shell .legacy-global-shortcuts{display:none}.legacy-app-shell .legacy-global-menubar a{padding:0 7px}.legacy-app-shell .page-content{margin-top:54px;padding:9px}.legacy-app-shell .page-header{padding:7px}.legacy-app-shell .page-title{font-size:14px}}.legacy-app-shell .empty-state{color:#6f4a84;background:#fffdff;border:1px solid #d5c8dd;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-height:180px;padding:18px;display:flex;border-radius:0!important}.legacy-app-shell .empty-state:before{content:"";background:repeating-linear-gradient(#fbf8fc 0 6px,#e9ddf0 7px,#fbf8fc 8px);border:1px solid #cdbed6;width:28px;height:36px}.legacy-app-shell .empty-state-title{color:#4c126d;font-family:Cairo,sans-serif;font-size:11px;font-weight:800}.legacy-app-shell .empty-state-desc{color:#857692;font-size:9px}.legacy-app-shell .divider{background:#d5c8dd;height:1px;margin:8px 0}.legacy-app-shell .input{background:#fffdff;border:1px solid #cdbed6;min-height:29px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:11px;border-radius:1px!important}.legacy-app-shell [role=tablist]{border-bottom:1px solid #cdbed6;gap:0;padding:0;display:flex}.legacy-app-shell [role=tab]{background:#f4eff7;border:1px solid #0000;border-bottom:0;font-family:Cairo,sans-serif;font-size:10px;border-radius:0!important}.legacy-app-shell [role=tab][data-state=active],.legacy-app-shell [role=tab].active{color:#3e0865;background:#fffdff;border-color:#cdbed6}.legacy-app-shell .animate-slide{animation:none!important}.auth-page{min-height:100vh;font-family:IBM Plex Sans Arabic,Arial,sans-serif;background-color:#f8f5fa!important;background-image:linear-gradient(#36415206 1px,#0000 1px),linear-gradient(90deg,#36415206 1px,#0000 1px)!important;background-position:0 0!important;background-repeat:repeat!important;background-size:28px 28px!important;background-attachment:scroll!important;background-origin:padding-box!important;background-clip:border-box!important}.auth-left{border-inline-end:1px solid #26033f;position:relative;background:linear-gradient(#75617f,#3e0865)!important}.auth-left:before{content:"دفتر العمليات";color:#ffffff42;border:1px solid #fff3;padding:4px 8px;font-family:Courier New,monospace;font-size:10px;position:absolute;inset:18px auto auto 18px}.auth-left h1{font-family:Cairo,sans-serif}.auth-left [style*="borderRadius: 8"]{border-radius:2px!important}.auth-right{background:0 0!important}.auth-card{background:#fffdff!important;border:1px solid #d5c8dd!important;border-radius:0!important;box-shadow:3px 4px #36415221!important}.auth-card:before{content:"نظام محاسبي — دخول المستخدم";color:#fff;background:linear-gradient(#75617f,#3e0865);border-bottom:1px solid #26033f;margin:-32px -32px 22px;padding:8px 12px;font-family:Cairo,sans-serif;font-size:11px;font-weight:800;display:block}.auth-logo{margin-bottom:14px!important}.auth-title{color:#3e0865!important;font-family:Cairo,sans-serif!important;font-size:19px!important}.auth-subtitle{color:#75617f!important;font-size:11px!important}.auth-page .form-label{color:#3e0865;font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.auth-page .form-input{background:#fffdff;border:1px solid #cdbed6;min-height:31px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;border-radius:1px!important}.auth-page .btn{font-family:Cairo,sans-serif;border-radius:2px!important}.auth-page .btn-primary{background:linear-gradient(#5a187e,#3e0865)!important;border-color:#26033f!important}.legacy-app-shell .page-content>div:not(.legacy-erp){max-width:none}.legacy-app-shell .page-content [class*=filter],.legacy-app-shell .page-content [class*=toolbar],.legacy-app-shell .page-content [class*=actions]{border-color:#d5c8dd;box-shadow:none!important;border-radius:0!important}.legacy-app-shell .page-content [class*=filter]{background:#faf8fb}.legacy-app-shell .page-content input:not([type=checkbox]):not([type=radio]),.legacy-app-shell .page-content select,.legacy-app-shell .page-content textarea{font-family:IBM Plex Sans Arabic,Arial,sans-serif;background:#fffdff!important;border-color:#cdbed6!important;border-radius:1px!important;box-shadow:inset 0 1px 2px #3641520a!important}.legacy-app-shell .page-content input:focus,.legacy-app-shell .page-content select:focus,.legacy-app-shell .page-content textarea:focus{outline-offset:-1px;border-color:#3e0865!important;outline:1px solid #3e0865!important}.legacy-app-shell .page-content button:not(.header-icon-btn):not(.profile-btn):not(.sidebar-collapse-btn){border-radius:2px!important}.legacy-app-shell .page-content [class*=modal],.legacy-app-shell .page-content [role=dialog]{border-radius:0!important;box-shadow:4px 5px #36415229!important}.legacy-app-shell .page-content [class*=modal] [class*=header],.legacy-app-shell .page-content [role=dialog] [class*=header]{background:linear-gradient(#faf8fb,#f4eff7);border-bottom:1px solid #d5c8dd}.legacy-app-shell .page-content [class*=tab]{border-radius:0!important}.legacy-app-shell .page-content [class*=stat],.legacy-app-shell .page-content [class*=summary]{box-shadow:none!important}.legacy-app-shell .page-content [class*=stat]{border-radius:0!important}.legacy-app-shell .page-content [style*=border-radius]{border-radius:2px!important}.legacy-app-shell .page-content [style*=box-shadow]{box-shadow:none!important}.legacy-app-shell .page-content [style*="background: rgb(248, 250, 252)"],.legacy-app-shell .page-content [style*="background-color: rgb(248, 250, 252)"]{background:#faf8fb!important}.legacy-app-shell .page-content .no-print{border-radius:0!important}.legacy-app-shell .page-content .print-page,.legacy-app-shell .page-content .thermal-receipt{background:#fffdff;border-color:#d5c8dd;box-shadow:none!important;border-radius:0!important}.legacy-app-shell .page-content .card+.card,.legacy-app-shell .page-content .table-wrapper+.table-wrapper{margin-top:10px}.legacy-pos{--primary:#3e0865;--primary-dark:#26033f;--primary-light:#f4eff7;--secondary:#3e0865;--accent:#6f4a84;--success:#6f4a84;--warning:#9a6b13;--danger:#a84a3b;--border:#d5c8dd;--bg:#f8f5fa;--surface:#fffdff;--text-primary:#2b1a32;--text-secondary:#75617f;--text-muted:#857692;background-color:#f8f5fa;background-image:linear-gradient(#36415205 1px,#0000 1px),linear-gradient(90deg,#36415205 1px,#0000 1px);background-position:0 0;background-repeat:repeat;background-size:28px 28px;background-attachment:scroll;background-origin:padding-box;background-clip:border-box;font-family:IBM Plex Sans Arabic,Arial,sans-serif}.legacy-pos>div:first-child{background:linear-gradient(#fffdff,#f4eff7)!important;border-bottom-color:#cdbed6!important}.legacy-pos .card{box-shadow:none!important;background:#fffdff!important;border:1px solid #d5c8dd!important;border-radius:0!important}.legacy-pos .card-header{background:linear-gradient(#faf8fb,#f4eff7)!important;border-bottom-color:#d5c8dd!important;border-radius:0!important}.legacy-pos .card-title{font-family:Cairo,sans-serif;font-size:11px;font-weight:800}.legacy-pos .btn{border-color:#cdbed6;font-family:Cairo,sans-serif;font-size:10px;border-radius:2px!important}.legacy-pos .btn-primary{color:#fff;border-color:#26033f;background:linear-gradient(#5a187e,#3e0865)!important}.legacy-pos .btn-secondary{background:#faf8fb!important}.legacy-pos .form-input,.legacy-pos .form-select{font-family:IBM Plex Sans Arabic,Arial,sans-serif;background:#fffdff!important;border-color:#cdbed6!important;border-radius:1px!important}.legacy-pos [style*=border-radius]{border-radius:2px!important}.legacy-pos [style*=box-shadow]{box-shadow:none!important}.legacy-pos [style*="background: white"],.legacy-pos [style*="background: rgb(255, 255, 255)"]{background:#fffdff!important}.ops-dashboard{--ops-green:#3e0865;--ops-green-dark:#26033f;--ops-green-soft:#f4eff7;--ops-paper:#fffdff;--ops-grid:#d5c8dd;--ops-muted:#6f4a84;--ops-text:#2b1a32;color:var(--ops-text);font-family:IBM Plex Sans Arabic,Arial,sans-serif}.ops-dashboard *,.ops-dashboard :before,.ops-dashboard :after{box-sizing:border-box}.ops-header{border:1px solid var(--ops-grid);border-top:3px solid var(--ops-green);background:linear-gradient(135deg,#fffdff 0%,#f4eff7 100%);justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:12px;padding:12px 14px;display:flex}.ops-kicker{color:#857692;font-size:10px;font-weight:700}.ops-header h1{color:#3e0865;margin:2px 0;font-family:Cairo,sans-serif;font-size:20px;font-weight:800;line-height:1.35}.ops-header p{color:#6f4a84;margin:0;font-size:10px}.ops-header-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;padding-top:3px;display:flex}.ops-connection{color:#6f4a84;background:#f4eff7;border:1px solid #d5c8dd;align-items:center;gap:5px;min-height:26px;padding:0 8px;font-size:9px;font-weight:700;display:inline-flex}.ops-connection i{background:#cdbed6;border-radius:50%;width:6px;height:6px;box-shadow:0 0 0 2px #f4eff7}.ops-primary-action,.ops-secondary-action{color:#3e0865;background:#f4eff7;border:1px solid #d5c8dd;border-radius:2px;justify-content:center;align-items:center;gap:5px;min-height:27px;padding:4px 9px;font-family:Cairo,sans-serif;font-size:10px;font-weight:800;text-decoration:none;display:inline-flex}.ops-primary-action{color:#fff;border-color:var(--ops-green-dark);background:linear-gradient(#5a187e,#3e0865)}.ops-primary-action:hover{color:#fff;background:#26033f}.ops-secondary-action:hover{color:var(--ops-green);border-color:var(--ops-green);background:var(--ops-green-soft)}.ops-metrics{border-top:1px solid var(--ops-grid);border-inline-start:1px solid var(--ops-grid);background:#fff;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:12px;display:grid}.ops-metric{border-inline-end:1px solid var(--ops-grid);border-bottom:1px solid var(--ops-grid);background:#fffdff;flex-direction:column;justify-content:center;gap:2px;min-height:77px;padding:10px 12px;display:flex}.ops-metric-alert{background:linear-gradient(#fffdf7,#fff8e7);border-bottom:2px solid #cf9a2d}.ops-metric-success{background:linear-gradient(#fefffc,#f4eff7);border-bottom:2px solid #cdbed6}.ops-metric-neutral{background:#fbf8fc}.ops-metric-label{color:#6f4a84;font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.ops-metric-value{color:#3e0865;direction:ltr;align-self:flex-start;font-family:Courier New,monospace;font-size:17px;line-height:1.25}.ops-metric-hint{color:#6f4a84;font-size:9px}.ops-panel{border:1px solid var(--ops-grid);background:var(--ops-paper);overflow:hidden;box-shadow:0 1px #3e08650a}.ops-panel-head{border-bottom:1px solid var(--ops-grid);background:linear-gradient(#f4eff7,#f4eff7);justify-content:space-between;align-items:center;gap:10px;min-height:48px;padding:7px 10px;display:flex}.ops-panel-title{align-items:center;gap:8px;min-width:0;display:flex}.ops-panel-icon{width:27px;height:27px;color:var(--ops-green);background:#f4eff7;border:1px solid #f4eff7;flex:none;justify-content:center;align-items:center;display:inline-flex}.ops-panel-icon-alert{color:#946a14;background:#fff7e4;border-color:#e4c882}.ops-panel-title h2{color:#3e0865;margin:0;font-family:Cairo,sans-serif;font-size:11px;font-weight:800}.ops-panel-title p{color:#6f4a84;margin:1px 0 0;font-size:9px}.ops-text-link{color:var(--ops-green);flex:none;font-family:Cairo,sans-serif;font-size:10px;font-weight:800;text-decoration:none}.ops-text-link:hover{text-decoration:underline}.ops-approval-panel{border-top:2px solid #ce9727;margin-bottom:12px}.ops-table-wrap{overflow-x:auto}.ops-table{border-collapse:collapse;color:#3e0865;width:100%}.ops-table th{color:#3e0865;border-inline-end:1px solid var(--ops-grid);text-align:start;white-space:nowrap;background:#f4eff7;border-bottom:1px solid #cdbed6;padding:7px 8px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800}.ops-table td{border-inline-end:1px solid #d5c8dd;vertical-align:middle;background:#fffdff;border-bottom:1px solid #d5c8dd;padding:8px;font-size:10px}.ops-table td small{color:#6f4a84;margin-top:1px;font-size:8px;display:block}.ops-doc-number{color:var(--ops-green);white-space:nowrap;font-family:Courier New,monospace;font-size:10px;font-weight:700}.ops-payment-tag{color:#6f4a84;white-space:nowrap;background:#f4eff7;border:1px solid #d5c8dd;padding:2px 5px;font-size:9px;display:inline-flex}.ops-amount{text-align:start;color:#3e0865;white-space:nowrap;direction:ltr;font-family:Courier New,monospace;font-weight:700}.ops-date{color:#6f4a84;white-space:nowrap;direction:ltr}.ops-row-actions{white-space:nowrap;justify-content:flex-start;align-items:center;gap:4px;display:flex}.ops-row-actions button,.ops-view-link,.ops-rejection-form button{color:#3e0865;cursor:pointer;text-align:center;background:#fff;border:1px solid #cdbed6;border-radius:2px;min-width:42px;min-height:25px;padding:2px 6px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800;line-height:1;text-decoration:none}.ops-view-link:hover{color:var(--ops-green);background:var(--ops-green-soft);border-color:#cdbed6}.ops-approve-button{color:#fff!important;background:linear-gradient(#6f4a84,#3e0865)!important;border-color:#3e0865!important}.ops-approve-button:hover{background:#26033f!important}.ops-reject-button{color:#924335!important;background:#fff4f1!important;border-color:#d1aaa2!important}.ops-reject-button:hover{color:#fff!important;background:#a84a3b!important;border-color:#8d392d!important}.ops-row-actions button:disabled,.ops-rejection-form button:disabled{opacity:.58;cursor:wait}.ops-action-error{color:#914031;background:#fff1ee;border:1px solid #dfb1a9;margin:8px 10px 0;padding:6px 8px;font-size:10px}.ops-empty-row{text-align:center;min-height:88px;color:#6f4a84!important;padding:20px!important}.ops-empty-copy{flex-direction:column;align-items:center;gap:4px;display:flex}.ops-empty-copy strong{color:#3e0865;font-family:Cairo,sans-serif;font-size:10px}.ops-empty-copy span{font-size:9px}.ops-rejection-row td{background:#fffbf8!important;padding:0!important}.ops-rejection-form{background:#fff7f4;border-top:1px solid #e2c5bf;align-items:center;gap:6px;padding:8px;display:flex}.ops-rejection-form label{color:#7f4539;white-space:nowrap;font-family:Cairo,sans-serif;font-size:9px;font-weight:800}.ops-rejection-form input{color:#3e0865;background:#fff;border:1px solid #c9aaa3;border-radius:1px;width:100%;min-height:26px;padding:4px 7px;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:10px}.ops-rejection-form input:focus{border-color:#a84a3b;outline:1px solid #a84a3b}.ops-reject-confirm{flex:none;color:#fff!important;background:#a84a3b!important;border-color:#8d392d!important}.ops-cancel-button{flex:none}.ops-lower-grid{grid-template-columns:minmax(0,1.7fr) minmax(275px,.8fr);align-items:start;gap:12px;display:grid}.ops-side-stack{flex-direction:column;gap:12px;display:flex}.ops-journal-table td{padding-block:7px}.ops-followup-list{flex-direction:column;display:flex}.ops-followup{color:#3e0865;background:#fffdff;border-bottom:1px solid #d5c8dd;grid-template-columns:27px minmax(0,1fr) auto;align-items:center;gap:7px;min-height:53px;padding:7px 9px;text-decoration:none;display:grid}.ops-followup:last-child{border-bottom:0}.ops-followup:hover{background:#f4eff7}.ops-followup>span{color:#8b6619;background:#fff7e3;border:1px solid #dec98d;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.ops-followup:nth-child(2)>span{color:#6f4a84;background:#f4eff7;border-color:#f4eff7}.ops-followup:nth-child(3)>span{color:#2b657c;background:#edf5f7;border-color:#bad0d8}.ops-followup div{flex-direction:column;gap:1px;min-width:0;display:flex}.ops-followup strong{font-family:Cairo,sans-serif;font-size:10px;font-weight:800}.ops-followup small{color:#6f4a84;text-overflow:ellipsis;white-space:nowrap;font-size:8px;overflow:hidden}.ops-followup b{color:var(--ops-green);font-family:Courier New,monospace;font-size:10px}.ops-shortcut-panel .ops-panel-head{min-height:40px}.ops-shortcuts{grid-template-columns:repeat(3,1fr);display:grid}.ops-shortcuts a{color:#3e0865;text-align:center;background:#f4eff7;border-inline-end:1px solid #d5c8dd;justify-content:center;align-items:center;min-height:37px;padding:5px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800;text-decoration:none;display:flex}.ops-shortcuts a:last-child{border-inline-end:0}.ops-shortcuts a:hover{color:#fff;background:var(--ops-green)}@media (max-width:1100px){.ops-lower-grid{grid-template-columns:1fr}.ops-side-stack{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}}@media (max-width:820px){.ops-header{flex-direction:column;align-items:flex-start}.ops-header-actions{justify-content:flex-start}.ops-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-rejection-form{flex-wrap:wrap;align-items:stretch}.ops-rejection-form label{width:100%}.ops-side-stack{grid-template-columns:1fr}}@media (max-width:560px){.ops-header{margin:-2px -2px 9px;padding:10px}.ops-header h1{font-size:17px}.ops-metrics{grid-template-columns:1fr 1fr}.ops-metric{min-height:69px;padding:8px}.ops-metric-value{font-size:13px}.ops-panel-head{padding:7px}.ops-panel-title p{display:none}.ops-table th,.ops-table td{padding:6px}.ops-row-actions{white-space:normal;grid-template-columns:repeat(3,minmax(42px,1fr));gap:4px;width:144px;display:grid}.ops-row-actions button,.ops-row-actions .ops-view-link{justify-content:center;align-items:center;width:100%;min-width:0;min-height:32px;padding:4px 3px;font-size:10px;display:inline-flex}.ops-journal-table th:nth-child(3),.ops-journal-table td:nth-child(3){display:none}}.legacy-app-shell{--header-height:101px}.legacy-app-shell .header{height:var(--header-height)}.legacy-app-shell .legacy-global-shortcuts{display:none}.legacy-app-shell .legacy-quickbar{overscroll-behavior-x:contain;background:#fbfcf9;border-bottom:1px solid #cdbed6;align-items:stretch;gap:0;min-height:43px;display:flex;overflow-x:auto}.legacy-app-shell .legacy-quick-action{color:#6f4a84;text-align:center;white-space:nowrap;background:#fbfcf9;border-inline-end:1px solid #d5c8dd;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:92px;padding:4px 9px;font-family:Cairo,sans-serif;font-size:8px;font-weight:800;line-height:1.15;text-decoration:none;transition:background .14s,color .14s;display:flex}.legacy-app-shell .legacy-quick-action:hover{color:#3e0865;background:#f4eff7}.legacy-app-shell .legacy-quick-action-main{color:#fff;background:linear-gradient(#5a187e,#3e0865);border-color:#26033f}.legacy-app-shell .legacy-quick-action-main:hover{color:#fff;background:#26033f}.legacy-app-shell .legacy-quick-action span{text-overflow:ellipsis;max-width:100%;overflow:hidden}.ops-dashboard .ops-header{margin-top:0}.ops-system-links{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.ops-system-links a{color:#3e0865;border-inline-end:1px solid #d5c8dd;background:#fffdff;border-bottom:1px solid #d5c8dd;align-items:center;gap:6px;min-height:42px;padding:7px 9px;font-family:Cairo,sans-serif;font-size:9px;font-weight:800;text-decoration:none;display:flex}.ops-system-links a:nth-child(2n){border-inline-end:0}.ops-system-links a:nth-last-child(-n+2){border-bottom:0}.ops-system-links a:hover{color:#3e0865;background:#f4eff7}@media (max-width:768px){.legacy-app-shell .header{height:var(--header-height)}.legacy-app-shell .legacy-quickbar{min-height:35px}.legacy-app-shell .legacy-quick-action{min-width:76px;padding:3px 6px;font-size:7px}.legacy-app-shell .legacy-quick-action>span:first-child{transform:scale(.88)}.legacy-app-shell .page-content{margin-top:var(--header-height)}.ops-system-links a{min-height:39px}.legacy-app-shell{--header-height:92px}.legacy-app-shell .header{inset-inline:0;z-index:70;height:92px;position:fixed;top:0}.legacy-app-shell .legacy-global-titlebar{gap:9px;min-height:48px;padding:0 10px}.legacy-app-shell .mobile-menu-btn{color:#fff;background:#0000001a;border:1px solid #ffffff59;justify-content:center;align-items:center;width:38px;min-width:38px;height:38px;display:inline-flex}.legacy-app-shell .mobile-menu-btn svg{width:21px;height:21px}.legacy-app-shell .legacy-global-appname{flex:1;gap:8px;min-width:0}.legacy-app-shell .legacy-global-appname>span{width:26px;height:26px;font-size:12px}.legacy-app-shell .legacy-global-appname strong{text-overflow:ellipsis;font-size:14px;overflow:hidden}.legacy-app-shell .legacy-global-appname small,.legacy-app-shell .header-search,.legacy-app-shell .header-icon-btn,.legacy-app-shell .profile-info,.legacy-app-shell .profile-btn>svg{display:none}.legacy-app-shell .header-actions{gap:7px}.legacy-app-shell .lang-switcher{height:34px;min-height:34px;padding:0 9px;font-size:11px}.legacy-app-shell .profile-btn{justify-content:center;align-items:center;min-width:34px;min-height:34px;padding:2px;display:flex}.legacy-app-shell .profile-avatar{width:28px;height:28px;font-size:11px}.legacy-app-shell .legacy-global-menubar{min-height:44px;padding:0;overflow:hidden}.legacy-app-shell .legacy-global-menubar nav{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;height:44px;display:grid}.legacy-app-shell .legacy-global-menubar a{border-inline-start:1px solid #d5c8dd;justify-content:center;min-width:0;min-height:44px;padding:0 4px;font-size:11px}.legacy-app-shell .legacy-quickbar{display:none}.legacy-app-shell .page-content{margin-top:92px;padding:10px}.legacy-app-shell .page-header{min-height:unset;align-items:flex-start;gap:9px;padding:10px}.legacy-app-shell .page-title{font-size:17px;line-height:1.4}.legacy-app-shell .page-subtitle{font-size:11px;line-height:1.5}.legacy-app-shell .card-header,.legacy-app-shell .card-body{padding:10px}.legacy-app-shell .btn,.legacy-app-shell button,.legacy-app-shell select,.legacy-app-shell input:not([type=checkbox]):not([type=radio]){min-height:38px;font-size:12px}.legacy-app-shell .form-label{font-size:11px}.legacy-app-shell .table-wrapper{-webkit-overflow-scrolling:touch;width:100%;overflow:auto hidden;box-shadow:inset 14px 0 12px -16px #36415299}.legacy-app-shell .table-wrapper:after{content:"اسحب الجدول أفقيًا";color:#6f4a84;text-align:center;background:#f4eff7;border-top:1px solid #d5c8dd;padding:5px 8px;font-size:10px;display:block}.legacy-app-shell .table-wrapper table,.legacy-app-shell table{min-width:640px}.legacy-app-shell th{white-space:nowrap;padding:9px 8px;font-size:10px}.legacy-app-shell td{white-space:nowrap;padding:9px 8px;font-size:11px}.legacy-app-shell .grid-2,.legacy-app-shell .grid-3,.legacy-app-shell .grid-4{grid-template-columns:1fr!important}.legacy-app-shell .stat-card{min-height:82px;padding:12px}.legacy-app-shell .stat-value{font-size:19px}.legacy-app-shell .page-content [style*=grid-template-columns]{grid-template-columns:1fr!important}.legacy-app-shell .page-content [style*="display: flex"]{flex-wrap:wrap}}.rep-customers-mobile-list{display:none}@media (max-width:640px){.rep-customers-desktop-table{display:none}.rep-customers-mobile-list{flex-direction:column;gap:10px;padding:10px;display:flex}.rep-customer-mobile-card{background:#fffdff;border:1px solid #d5c8dd;box-shadow:inset 0 2px #f4eff7}.rep-customer-mobile-top{border-bottom:1px solid #d5c8dd;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 12px 9px;display:flex}.rep-customer-mobile-top strong{color:#3e0865;font-family:Cairo,sans-serif;font-size:14px;line-height:1.45;display:block}.rep-customer-code{color:#6f4a84;text-align:right;direction:ltr;margin-top:2px;font-family:Courier New,monospace;font-size:11px;display:block}.rep-customer-state{color:#75617f;white-space:nowrap;background:#f8f5fa;border:1px solid #d5c8dd;padding:3px 7px;font-size:10px;font-weight:800}.rep-customer-state.active{color:#6f4a84;background:#f4eff7;border-color:#f4eff7}.rep-customer-mobile-meta{color:#6f4a84;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px;font-size:11px;display:grid}.rep-customer-mobile-meta b{color:#3e0865;margin-top:2px;font-size:12px;display:block}.rep-customer-mobile-actions{border-top:1px solid #d5c8dd;grid-template-columns:1fr 1fr 1fr;display:grid}.rep-customer-mobile-actions a,.rep-customer-mobile-actions button{color:#3e0865;border:0;cursor:pointer;background:#faf8fb;border-inline-start:1px solid #d5c8dd;justify-content:center;align-items:center;min-height:42px;padding:6px;font-family:Cairo,sans-serif;font-size:12px;font-weight:800;text-decoration:none;display:flex}.rep-customer-mobile-actions a:first-child{background:#f4eff7;border-inline-start:0}.rep-customer-mobile-actions button.danger{color:#a84a3b;background:#fcebe7}}.legacy-app-shell.super-admin-shell{--super-admin-header-height:52px}.super-admin-shell .super-admin-brand{background:#fffdff;border-bottom:1px solid #cdbed6;flex-direction:column;justify-content:center;gap:3px;height:68px;padding:7px 11px;display:flex;overflow:hidden}.super-admin-shell .super-admin-brand-logo{-o-object-fit:contain;object-fit:contain;-o-object-position:center;object-position:center;width:142px;max-width:100%;height:36px}.super-admin-shell .super-admin-brand-caption{color:#6f4a84;white-space:nowrap;justify-content:space-between;align-items:center;font-family:Cairo,sans-serif;font-size:9px;font-weight:800;display:flex}.super-admin-shell .sidebar.collapsed .super-admin-brand{align-items:center;height:58px;padding:8px 7px}.super-admin-shell .sidebar.collapsed .super-admin-brand-logo{-o-object-fit:cover;object-fit:cover;-o-object-position:right center;object-position:right center;width:34px;height:34px}.super-admin-shell .sidebar.collapsed .super-admin-brand-caption{display:none}.super-admin-shell .super-admin-header{z-index:80;height:var(--super-admin-header-height);box-shadow:none;background:#fffdff;border-bottom:2px solid #3e0865;grid-template-columns:1fr auto auto;align-items:stretch;gap:0;display:grid;position:fixed;top:0}[dir=rtl] .super-admin-shell .super-admin-header{right:var(--sidebar-width);left:0}[dir=ltr] .super-admin-shell .super-admin-header{left:var(--sidebar-width);right:0}[dir=rtl] .super-admin-shell .super-admin-header.collapsed{right:var(--sidebar-collapsed)}[dir=ltr] .super-admin-shell .super-admin-header.collapsed{left:var(--sidebar-collapsed)}.super-admin-shell .super-admin-header-system{color:#f4eff7;background:linear-gradient(#75617f,#3e0865);align-items:center;gap:7px;min-width:0;padding:0 13px;font-family:Cairo,sans-serif;display:flex}.super-admin-shell .super-admin-header-system strong{white-space:nowrap;font-size:12px}.super-admin-shell .super-admin-header-system>span:last-child{text-overflow:ellipsis;color:#f4eff7;white-space:nowrap;font-family:IBM Plex Sans Arabic,Arial,sans-serif;font-size:9px;overflow:hidden}.super-admin-shell .super-admin-header-mark{background:#ffffff1a;border:1px solid #ffffff59;flex:none;place-items:center;width:24px;height:24px;display:grid}.super-admin-shell .super-admin-header-mark svg{width:14px;height:14px}.super-admin-shell .super-admin-header-context{background:#f4eff7;border-inline-start:1px solid #d5c8dd;flex-direction:column;justify-content:center;min-width:132px;padding:0 14px;display:flex}.super-admin-shell .super-admin-context-label{color:#75617f;font-family:Cairo,sans-serif;font-size:8px;font-weight:700}.super-admin-shell .super-admin-header-context b{color:#3e0865;font-family:Cairo,sans-serif;font-size:11px}.super-admin-shell .super-admin-header-user{background:#fffdff;border-inline-start:1px solid #d5c8dd;align-items:center;gap:8px;padding:0 11px;display:flex}.super-admin-shell .super-admin-user-card{align-items:center;gap:6px;min-width:0;display:flex}.super-admin-shell .super-admin-user-card .profile-avatar{color:#3e0865;background:#e7b73c;border-radius:1px;width:26px;height:26px;font-size:10px}.super-admin-shell .super-admin-user-card .profile-name{text-overflow:ellipsis;color:#3e0865;white-space:nowrap;max-width:130px;font-family:Cairo,sans-serif;font-size:10px;overflow:hidden}.super-admin-shell .super-admin-user-card .profile-role{color:#75617f;text-overflow:ellipsis;white-space:nowrap;max-width:130px;font-size:8px;overflow:hidden}.super-admin-shell .page-content{margin-top:var(--super-admin-header-height);padding-top:12px}@media (max-width:768px){.super-admin-shell .super-admin-header{grid-template-columns:1fr auto;height:48px}.super-admin-shell .super-admin-header-system{padding:0 10px}.super-admin-shell .super-admin-header-system>span:last-child,.super-admin-shell .super-admin-header-context,.super-admin-shell .super-admin-header-user .badge,.super-admin-shell .super-admin-user-card .profile-info{display:none}.super-admin-shell .super-admin-header-user{padding:0 10px}.super-admin-shell .page-content{margin-top:48px;padding-top:9px}.super-admin-shell .super-admin-brand{height:58px}}@media (min-width:769px){.legacy-app-shell .header{z-index:70;position:fixed;top:0}[dir=rtl] .legacy-app-shell .header{right:var(--sidebar-width);left:0}[dir=ltr] .legacy-app-shell .header{left:var(--sidebar-width);right:0}[dir=rtl] .legacy-app-shell .header.collapsed{right:var(--sidebar-collapsed)}[dir=ltr] .legacy-app-shell .header.collapsed{left:var(--sidebar-collapsed)}}.legacy-app-shell .legacy-global-menubar a,.legacy-app-shell .sidebar-section-label{font-size:12px}.legacy-app-shell .sidebar-item,.legacy-app-shell .sidebar-submenu-item{font-size:13px}.legacy-app-shell .sidebar-collapse-btn,.legacy-app-shell .header-search input,.legacy-app-shell .header-icon-btn,.legacy-app-shell .lang-switcher,.legacy-app-shell .profile-avatar{font-size:12px}.legacy-app-shell .profile-name{font-size:13px}.legacy-app-shell .profile-role,.legacy-app-shell .legacy-notification-count{font-size:11px}.legacy-app-shell .page-subtitle{font-size:13px}.legacy-app-shell .breadcrumb{font-size:12px}.legacy-app-shell .card-title,.legacy-app-shell .btn{font-size:13px}.legacy-app-shell .btn-sm{font-size:12px}.legacy-app-shell .btn-lg{font-size:14px}.legacy-app-shell th{font-size:12px}.legacy-app-shell td{font-size:13px}.legacy-app-shell .badge{font-size:12px}.legacy-app-shell .form-label,.legacy-app-shell .form-input,.legacy-app-shell .form-select,.legacy-app-shell .input{font-size:13px}.legacy-app-shell .form-hint,.legacy-app-shell .form-error{font-size:12px}.legacy-app-shell .stat-label,.legacy-app-shell .dropdown-item,.legacy-app-shell .legacy-dropdown-header,.legacy-app-shell .legacy-dropdown-empty,.legacy-app-shell .legacy-notification-row strong,.legacy-app-shell .legacy-dropdown-footer{font-size:13px}.legacy-app-shell .legacy-dropdown-header span,.legacy-app-shell .legacy-notification-row span{font-size:12px}.legacy-app-shell [role=tab],.legacy-erp .legacy-titlebar-meta,.legacy-erp .legacy-menubar-info,.legacy-erp .legacy-workspace-path,.legacy-erp .legacy-workspace-meta,.legacy-erp .legacy-summary-label,.legacy-erp .legacy-sheet-caption,.legacy-erp .legacy-filter-row,.legacy-erp .legacy-account-name,.legacy-erp .legacy-account-value,.legacy-erp .legacy-total-row,.legacy-erp .legacy-followup-title,.legacy-erp .legacy-followup-value,.legacy-erp .legacy-statusbar{font-size:13px}.legacy-erp .legacy-tool,.legacy-erp .legacy-mini-button,.legacy-erp .legacy-module,.legacy-erp .legacy-action-cell-title,.legacy-erp .legacy-table th,.legacy-erp .legacy-table td,.legacy-erp .legacy-status{font-size:12px}.legacy-erp .legacy-summary-note,.legacy-erp .legacy-action-cell-note,.legacy-erp .legacy-empty-inner span,.legacy-erp .legacy-account-key,.legacy-erp .legacy-followup-note{font-size:11px}.legacy-erp .legacy-number{font-size:13px!important}@media (max-width:768px){.legacy-app-shell .sidebar-item,.legacy-app-shell .sidebar-submenu-item,.legacy-app-shell .btn,.legacy-app-shell th,.legacy-app-shell td{font-size:12px}}.legacy-erp{--erp-green:#3e0865;--erp-green-dark:#26033f;--erp-green-soft:#f4eff7;--erp-paper:#fffdff;--erp-grid:#e4d9ea;--erp-admin:#e7edf3;--erp-text:#2b1a32;--erp-muted:#75617f;--erp-row:#f8fafc;background-color:#f6f8fa;background-image:linear-gradient(#425e7a05 1px,#0000 1px),linear-gradient(90deg,#425e7a05 1px,#0000 1px)}.legacy-titlebar,.legacy-app-shell .legacy-global-titlebar{background:linear-gradient(#75617f,#3e0865);border-color:#26033f}.legacy-titlebar-meta,.legacy-app-shell .legacy-global-appname small,.legacy-app-shell .profile-role{color:#d9e6f0}.legacy-menubar,.legacy-modulebar,.legacy-app-shell .legacy-global-menubar{background:#e7edf3;border-color:#e4d9ea}.legacy-menu-item,.legacy-module,.legacy-tool,.legacy-app-shell .legacy-global-menubar a,.legacy-app-shell .header-search input{color:#46576a}.legacy-toolbar,.legacy-app-shell .header{background:#fffdff;border-color:#cbd7e2}.legacy-tool-main,.legacy-app-shell .btn-primary,.legacy-pos .btn-primary{background:linear-gradient(#75617f,#3e0865)!important;border-color:#26033f!important}.legacy-tool-main:hover,.legacy-app-shell .btn-primary:hover{background:linear-gradient(#4c126d,#26033f)!important}.legacy-module,.legacy-workspace-meta span,.legacy-filter-row,.legacy-app-shell .btn,.legacy-app-shell .btn-secondary,.legacy-app-shell .legacy-global-shortcuts a{background:#f7f9fb}.legacy-module-active,.legacy-app-shell .sidebar{background:#3e0865;border-color:#26033f}.app-layout:has(.legacy-erp) .sidebar{background:#3e0865;border-color:#26033f}.legacy-module-active:after,.legacy-app-shell .sidebar-item.active{border-color:#c9bacf}.legacy-workspace{background:#fefdfcf0}.legacy-workspace-heading h1,.legacy-sheet-caption,.legacy-sheet-caption h2,.legacy-app-shell .page-title,.legacy-app-shell .card-title{color:#2b1a32}.legacy-summary-cell,.legacy-app-shell .page-header,.legacy-app-shell .card-header,.legacy-sheet-caption,.legacy-app-shell thead tr{background:linear-gradient(#fafcfd,#e7edf3)}.legacy-summary-icon,.legacy-account-key{color:#3e0865;background:#f4eff7;border-color:#c5d5e3}.legacy-sheet,.legacy-action-cell,.legacy-table td,.legacy-account-row,.legacy-followup-row,.legacy-app-shell .card,.legacy-app-shell td,.legacy-app-shell .stat-card,.legacy-pos .card{background:#fffdff}.legacy-table th,.legacy-app-shell th{color:#405267;background:linear-gradient(#edf2f6,#dde7f0);border-color:#c6d3df}.legacy-table td,.legacy-app-shell td,.legacy-app-shell .table-wrapper,.legacy-sheet,.legacy-app-shell .card,.legacy-app-shell .page-header,.legacy-app-shell .stat-card{border-color:#e4d9ea}.legacy-table tbody tr:nth-child(2n) td,.legacy-account-row:nth-child(2n),.legacy-app-shell tbody tr:nth-child(2n) td{background:#f8fafc}.legacy-table tbody tr:hover td,.legacy-table tbody tr.legacy-selected-row td,.legacy-app-shell tbody tr:hover td{background:#f4eff7}.legacy-entry,.legacy-followup-value,.legacy-app-shell .breadcrumb span:last-child,.legacy-app-shell .legacy-global-shortcuts a{color:#3e0865}.legacy-statusbar{color:#dce7f0;background:#26033f;border-color:#2b1a32}.legacy-app-shell .main-content,.legacy-app-shell .page-content,.legacy-pos{background-color:#faf8fb;background-image:linear-gradient(#425e7a05 1px,#0000 1px),linear-gradient(90deg,#425e7a05 1px,#0000 1px)}.app-layout:has(.legacy-erp){background-color:#faf8fb;background-image:linear-gradient(#425e7a05 1px,#0000 1px),linear-gradient(90deg,#425e7a05 1px,#0000 1px)}.app-layout:has(.legacy-erp) .page-content{background-color:#faf8fb;background-image:linear-gradient(#425e7a05 1px,#0000 1px),linear-gradient(90deg,#425e7a05 1px,#0000 1px)}.legacy-app-shell{--primary:#3e0865;--primary-dark:#26033f;--primary-light:#f4eff7;--secondary:#2b1a32;--accent:#75617f;--border:#e4d9ea;--bg:#faf8fb;--surface:#fffdff;--text-primary:#2b1a32;--text-secondary:#75617f;--text-muted:#988ba0}:is(.legacy-app-shell .sidebar-logo,.app-layout:has(.legacy-erp) .sidebar-logo){background:#26033f}:is(.legacy-app-shell .sidebar-section-label,.app-layout:has(.legacy-erp) .sidebar-section-label){color:#c2d4e4}:is(.legacy-app-shell .sidebar-item,.app-layout:has(.legacy-erp) .sidebar-item){color:#e2ebf3}:is(.legacy-app-shell .sidebar-submenu-item,.app-layout:has(.legacy-erp) .sidebar-submenu-item){color:#cbd9e6}:is(.legacy-app-shell .sidebar-item.active,.app-layout:has(.legacy-erp) .sidebar-item.active){color:#26033f;background:#f4eff7;border-inline-start-color:#c9bacf}.legacy-app-shell .form-input,.legacy-app-shell .form-select,.legacy-app-shell .input,.legacy-pos .form-input,.legacy-pos .form-select{color:#36485b;background:#fffdff!important;border-color:#b9c8d5!important;box-shadow:inset 0 1px 2px #425e7a0d!important}.legacy-app-shell .form-input:focus,.legacy-app-shell .form-select:focus,.legacy-app-shell .page-content input:focus,.legacy-app-shell .page-content select:focus,.legacy-app-shell .page-content textarea:focus{border-color:#3e0865!important;outline-color:#3e0865!important;box-shadow:0 0 0 1px #3e0865!important}.auth-page{background-color:#faf8fb!important;background-image:linear-gradient(#425e7a06 1px,#0000 1px),linear-gradient(90deg,#425e7a06 1px,#0000 1px)!important;background-position:0 0!important;background-repeat:repeat!important;background-size:auto!important;background-attachment:scroll!important;background-origin:padding-box!important;background-clip:border-box!important}.auth-card{background:#fffdff!important;border-color:#e4d9ea!important;box-shadow:3px 4px #425e7a21!important}.auth-title{color:#2b1a32!important}.auth-subtitle{color:#6b7a8a!important}.legacy-pos>div:first-child{background:linear-gradient(#fffdff,#eef3f7)!important;border-color:#cbd7e2!important}.ops-dashboard{--ops-green:#3e0865;--ops-green-dark:#26033f;--ops-green-soft:#f4eff7;--ops-paper:#fffdff;--ops-grid:#e4d9ea;--ops-muted:#75617f;--ops-text:#2b1a32}.ops-header{background:linear-gradient(135deg,#fffdff 0%,#eef3f7 100%)}.ops-header h1{color:#2b1a32}.ops-connection{color:#526b84;background:#f8fafc;border-color:#c7d7e5}.ops-metric,.ops-table td{background:#fffdff}.ops-table th{color:#405267;background:#e7edf3;border-color:#c6d3df}.ops-table tbody tr:nth-child(2n) td{background:#f8fafc}.ops-table tbody tr:not(.ops-rejection-row):hover td{background:#f4eff7}.ops-primary-action,.ops-approve-button{background:linear-gradient(#75617f,#3e0865)!important;border-color:#26033f!important}.ops-view-link:hover,.ops-secondary-action:hover{color:#3e0865;background:#f4eff7;border-color:#c9bacf}.legacy-app-shell .legacy-quickbar{align-items:stretch;display:flex}.legacy-app-shell .legacy-quickbar-items{overscroll-behavior-x:contain;flex:1;align-items:stretch;min-width:0;display:flex;overflow-x:auto}.legacy-app-shell .legacy-quickbar-items .legacy-quick-action{flex:none}.legacy-app-shell .legacy-quick-action.active{color:#fff;background:linear-gradient(#5a187e,#3e0865);border-color:#26033f}.legacy-app-shell .legacy-quick-action.active:hover{color:#fff;background:#26033f}.legacy-app-shell .legacy-quickbar-config-wrap{z-index:30;background:#ede7f2;border-inline-start:1px solid #cdbed6;flex:none;position:relative}.legacy-app-shell .legacy-quickbar-config{color:#3e0865;cursor:pointer;background:#ede7f2;border:0;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:104px;height:100%;padding:4px 9px;font-family:Cairo,sans-serif;font-size:8px;font-weight:800;line-height:1.15;display:flex}.legacy-app-shell .legacy-quickbar-config:hover,.legacy-app-shell .legacy-quickbar-config.open{color:#fff;background:#5a187e}.legacy-app-shell .legacy-quickbar-settings-panel{inset-inline-start:0;color:#334155;text-align:start;background:#fff;border:1px solid #cdbed6;border-radius:0 0 10px 10px;width:310px;max-height:min(70vh,520px);padding:12px;position:absolute;top:calc(100% + 1px);overflow:auto;box-shadow:0 12px 28px #1e0f2d2e}.legacy-app-shell .legacy-quickbar-settings-head{border-bottom:1px solid #e8dfed;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;display:flex}.legacy-app-shell .legacy-quickbar-settings-head strong{color:#3e0865;font-size:13px}.legacy-app-shell .legacy-quickbar-settings-head button{color:#5a187e;cursor:pointer;background:0 0;border:0;font-family:inherit;font-size:11px;font-weight:700}.legacy-app-shell .legacy-quickbar-settings-panel>p{color:#64748b;margin:8px 0 10px;font-size:11px}.legacy-app-shell .legacy-quickbar-settings-section{margin-top:10px}.legacy-app-shell .legacy-quickbar-section-title{color:#6f4a84;margin-bottom:4px;font-size:11px;font-weight:800}.legacy-app-shell .legacy-quickbar-option{color:#475569;cursor:pointer;border-radius:5px;align-items:center;gap:8px;min-height:28px;padding:3px 4px;font-size:11px;display:flex}.legacy-app-shell .legacy-quickbar-option:hover{color:#3e0865;background:#f7f1fa}.legacy-app-shell .legacy-quickbar-option input{accent-color:#5a187e}@media (max-width:768px){.legacy-app-shell .legacy-quickbar-config{min-width:76px;padding:3px 6px;font-size:7px}.legacy-app-shell .legacy-quickbar-settings-panel{inset-inline:8px;border-radius:10px;width:auto;max-height:calc(100vh - 100px);position:fixed;top:89px}}@media print{.legacy-app-shell .legacy-quickbar-config-wrap{display:none}}.legacy-app-shell .header{z-index:10060}.legacy-app-shell .legacy-quickbar{z-index:10060;position:relative;overflow:visible}.legacy-app-shell .legacy-quickbar-items{overflow:auto visible}.legacy-app-shell .legacy-quickbar-config-wrap{z-index:10061}.legacy-app-shell .legacy-quickbar-settings-panel{z-index:10062}
*,:before,:after{box-sizing:border-box;border:0 solid #e5e7eb}:before,:after{--tw-content:""}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--font-sans);font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-feature-settings:normal;font-variation-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-feature-settings:inherit;font-variation-settings:inherit;font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:#0000;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{margin:0;padding:0;list-style:none}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder{opacity:1;color:#9ca3af}textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}[hidden]{display:none}*{font-variant-numeric:normal}td,th,input,.stat-value,.badge,code,pre{font-feature-settings:"lnum" 1, "tnum" 1}*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.\!container{width:100%!important}.container{width:100%}@media (min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.visible{visibility:visible}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.grow{flex-grow:1}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.resize{resize:both}.break-all{word-break:break-all}.border{border-width:1px}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.underline{text-decoration-line:underline}.outline{outline-style:solid}.ring{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow,0 0 #0000)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert{--tw-invert:invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter,backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:root{--primary:#3e0865;--primary-dark:#26033f;--primary-light:#f4eff7;--secondary:#2b1a32;--accent:#75617f;--success:#6f4a84;--warning:#c7894a;--danger:#b85b5a;--sidebar-width:260px;--sidebar-collapsed:68px;--header-height:60px;--border:#e4d9ea;--bg:#faf8fb;--surface:#fffdff;--text-primary:#2b1a32;--text-secondary:#75617f;--text-muted:#988ba0}*{box-sizing:border-box;font-variant-numeric:normal;margin:0;padding:0}[dir=rtl]{-webkit-locale:"en"}.num,td,th,.stat-value,.badge,input[type=number],input[type=text]{font-feature-settings:"lnum" 1}html{scroll-behavior:smooth}body{background:var(--bg);color:var(--text-primary);-webkit-font-smoothing:antialiased;font-family:Alexandria,sans-serif;font-size:14px;line-height:1.6}[dir=rtl] body,[dir=rtl]{font-family:Alexandria,sans-serif}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:10px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}.app-layout{min-height:100vh;display:flex}.main-content{flex-direction:column;flex:1;min-width:0;transition:margin .3s;display:flex}[dir=ltr] .main-content{margin-left:var(--sidebar-width)}[dir=rtl] .main-content{margin-right:var(--sidebar-width)}[dir=ltr] .main-content.collapsed{margin-left:var(--sidebar-collapsed)}[dir=rtl] .main-content.collapsed{margin-right:var(--sidebar-collapsed)}@media (max-width:768px){[dir=ltr] .main-content,[dir=ltr] .main-content.collapsed{margin-left:0!important}[dir=rtl] .main-content,[dir=rtl] .main-content.collapsed{margin-right:0!important}}.page-content{margin-top:var(--header-height);flex:1;padding:24px;overflow-y:auto}@media (max-width:768px){.page-content{padding:16px}.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}}.sidebar{width:var(--sidebar-width);background:var(--secondary);z-index:50;flex-direction:column;transition:width .3s,transform .3s;display:flex;position:fixed;top:0;bottom:0;overflow:hidden}[dir=ltr] .sidebar{border-right:1px solid #ffffff0f;left:0}[dir=rtl] .sidebar{border-left:1px solid #ffffff0f;right:0}.sidebar.collapsed{width:var(--sidebar-collapsed)}@media (max-width:768px){.sidebar{z-index:200;transform:translate(-100%);width:var(--sidebar-width)!important}[dir=rtl] .sidebar{transform:translate(100%)}.sidebar.mobile-open{transform:translate(0)!important}.sidebar-footer{display:none}}.sidebar-overlay{z-index:199;background:#00000080;display:none;position:fixed;inset:0}@media (max-width:768px){.sidebar-overlay.visible{display:block}}.sidebar-logo{height:var(--header-height);border-bottom:1px solid #ffffff0f;flex-shrink:0;align-items:center;gap:10px;padding:0 16px;display:flex}.sidebar-logo-icon{background:var(--primary);color:#fff;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:16px;font-weight:800;display:flex}.sidebar-logo-text{color:#fff;white-space:nowrap;font-size:18px;font-weight:700;transition:opacity .2s;overflow:hidden}.sidebar.collapsed .sidebar-logo-text{opacity:0;width:0}.sidebar.collapsed .sidebar-logo img{-o-object-fit:contain;object-fit:contain;max-width:36px;height:36px}.sidebar-nav{flex:1;padding:12px 0;overflow:hidden auto}.sidebar-section{margin-bottom:4px}.sidebar-section-label{text-transform:uppercase;letter-spacing:.08em;color:#475569;white-space:nowrap;padding:8px 16px 4px;font-size:10px;font-weight:600;transition:opacity .2s;overflow:hidden}.sidebar.collapsed .sidebar-section-label{opacity:0}.sidebar-item{color:#94a3b8;cursor:pointer;white-space:nowrap;border-radius:0;align-items:center;gap:10px;padding:9px 16px;font-size:13.5px;font-weight:500;text-decoration:none;transition:all .15s;display:flex;position:relative}.sidebar-item:hover{color:#e2e8f0;background:#ffffff0d}.sidebar-item.active{color:#fff;border-inline-start:3px solid var(--primary);background:#2563eb33}.sidebar-item-icon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:flex}.sidebar-item-text{flex:1;transition:opacity .2s,width .2s;overflow:hidden}.sidebar.collapsed .sidebar-item-text{opacity:0;width:0}.sidebar-item-badge{background:var(--primary);color:#fff;border-radius:10px;flex-shrink:0;padding:1px 6px;font-size:10px;font-weight:700}.sidebar.collapsed .sidebar-item-badge{display:none}.sidebar-submenu{transition:max-height .25s;overflow:hidden}.sidebar-submenu-item{color:#64748b;cursor:pointer;white-space:nowrap;align-items:center;gap:8px;padding-block:7px;padding-inline:44px 16px;font-size:13px;font-weight:400;text-decoration:none;transition:all .15s;display:flex}.sidebar-submenu-item:hover{color:#cbd5e1;background:#ffffff08}.sidebar-submenu-item.active{color:#93c5fd;font-weight:500}.sidebar-submenu-dot{opacity:.5;background:currentColor;border-radius:50%;flex-shrink:0;width:5px;height:5px}.sidebar-submenu-item.active .sidebar-submenu-dot{opacity:1}.sidebar.collapsed .sidebar-submenu{display:none}.sidebar-footer{border-top:1px solid #ffffff0f;flex-shrink:0;padding:12px}.sidebar-collapse-btn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:8px;align-items:center;gap:10px;width:100%;padding:8px 10px;font-size:13px;font-weight:500;transition:all .15s;display:flex}.sidebar-collapse-btn:hover{color:#94a3b8;background:#ffffff0d}.header{height:var(--header-height);background:var(--surface);border-bottom:1px solid var(--border);z-index:40;align-items:center;gap:12px;padding:0 20px;transition:left .3s,right .3s;display:flex;position:fixed;top:0;left:0;right:0}[dir=ltr] .header{left:var(--sidebar-width);right:0}[dir=rtl] .header{right:var(--sidebar-width);left:0}[dir=ltr] .header.collapsed{left:var(--sidebar-collapsed);right:0}[dir=rtl] .header.collapsed{right:var(--sidebar-collapsed);left:0}@media (max-width:768px){[dir=ltr] .header,[dir=ltr] .header.collapsed,[dir=rtl] .header,[dir=rtl] .header.collapsed{left:0!important;right:0!important}.header-search{max-width:160px}.header-divider,.profile-info{display:none}}.mobile-menu-btn{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:none}@media (max-width:768px){.mobile-menu-btn{display:flex}}.header-search{flex:1;max-width:360px;position:relative}.header-search input{background:var(--bg);border:1px solid var(--border);width:100%;color:var(--text-primary);border-radius:8px;outline:none;padding:7px 12px 7px 36px;font-size:13px;transition:border-color .15s}[dir=rtl] .header-search input{padding:7px 36px 7px 12px}.header-search input:focus{border-color:var(--primary)}.header-search-icon{color:var(--text-muted);pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}[dir=ltr] .header-search-icon{left:10px}[dir=rtl] .header-search-icon{right:10px}.header-spacer{flex:1}.header-actions{align-items:center;gap:4px;display:flex}.header-icon-btn{width:36px;height:36px;color:var(--text-secondary);cursor:pointer;background:0 0;border:none;border-radius:8px;justify-content:center;align-items:center;transition:all .15s;display:flex;position:relative}.header-icon-btn:hover{background:var(--bg);color:var(--text-primary)}.header-notif-dot{background:var(--danger);border:2px solid #fff;border-radius:50%;width:8px;height:8px;position:absolute;top:6px;right:6px}.header-divider{background:var(--border);width:1px;height:24px;margin:0 4px}.lang-switcher{border:1px solid var(--border);cursor:pointer;color:var(--text-secondary);background:0 0;border-radius:8px;align-items:center;gap:4px;padding:5px 10px;font-size:12px;font-weight:600;transition:all .15s;display:flex}.lang-switcher:hover{border-color:var(--primary);color:var(--primary)}.profile-btn{cursor:pointer;background:0 0;border:none;border-radius:10px;align-items:center;gap:8px;padding:4px 8px 4px 4px;transition:background .15s;display:flex}[dir=rtl] .profile-btn{padding:4px 4px 4px 8px}.profile-btn:hover{background:var(--bg)}.profile-avatar{background:linear-gradient(135deg, var(--primary), var(--accent));color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:700;display:flex}.profile-info{text-align:start}.profile-name{color:var(--text-primary);font-size:13px;font-weight:600;line-height:1.2}.profile-role{color:var(--text-muted);font-size:11px}.dropdown{background:var(--surface);border:1px solid var(--border);z-index:100;border-radius:12px;min-width:200px;animation:.15s dropIn;position:absolute;top:calc(100% + 8px);overflow:hidden;box-shadow:0 10px 40px #0000001f}[dir=ltr] .dropdown{right:0}[dir=rtl] .dropdown{left:0}@keyframes dropIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.dropdown-header{border-bottom:1px solid var(--border);padding:12px 16px}.dropdown-item{color:var(--text-primary);cursor:pointer;align-items:center;gap:10px;padding:9px 16px;font-size:13px;text-decoration:none;transition:background .1s;display:flex}.dropdown-item:hover{background:var(--bg)}.dropdown-item.danger{color:var(--danger)}.dropdown-item.danger:hover{background:#fef2f2}.dropdown-divider{background:var(--border);height:1px;margin:4px 0}.page-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:24px;display:flex}.page-title{color:var(--text-primary);font-size:20px;font-weight:700}.page-subtitle{color:var(--text-secondary);margin-top:2px;font-size:13px}.breadcrumb{color:var(--text-muted);align-items:center;gap:6px;margin-bottom:6px;font-size:12px;display:flex}.breadcrumb-sep{opacity:.4}.breadcrumb a{color:var(--text-muted);text-decoration:none}.breadcrumb a:hover{color:var(--primary)}.breadcrumb span:last-child{color:var(--text-secondary);font-weight:500}.card{background:var(--surface);border:1px solid var(--border);border-radius:12px;overflow:hidden}.card-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:12px;padding:16px 20px;display:flex}.card-title{color:var(--text-primary);font-size:14px;font-weight:600}.card-body{padding:20px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:flex-start;gap:16px;padding:20px;transition:box-shadow .2s;display:flex}.stat-card:hover{box-shadow:0 4px 20px #0000000f}.stat-icon{border-radius:12px;flex-shrink:0;justify-content:center;align-items:center;width:48px;height:48px;display:flex}.stat-content{flex:1;min-width:0}.stat-label{color:var(--text-secondary);margin-bottom:4px;font-size:12px;font-weight:500}.stat-value{color:var(--text-primary);font-size:22px;font-weight:700;line-height:1.2}.stat-change{align-items:center;gap:3px;margin-top:4px;font-size:12px;display:flex}.stat-change.up{color:var(--success)}.stat-change.down{color:var(--danger)}.btn{cursor:pointer;white-space:nowrap;border:none;border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:8px 16px;font-size:13px;font-weight:600;text-decoration:none;transition:all .15s;display:inline-flex}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:var(--bg);color:var(--text-primary);border:1px solid var(--border)}.btn-secondary:hover{background:#f1f5f9}.btn-ghost{color:var(--text-secondary);background:0 0}.btn-ghost:hover{background:var(--bg);color:var(--text-primary)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover{background:#b91c1c}.btn-sm{padding:5px 12px;font-size:12px}.btn-lg{padding:11px 24px;font-size:15px}.btn-icon{padding:8px}.table-wrapper{border:1px solid var(--border);border-radius:12px;overflow-x:auto}table{border-collapse:collapse;width:100%}thead tr{background:#f8fafc}th{text-align:start;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--border);white-space:nowrap;padding:11px 16px;font-size:12px;font-weight:600}td{color:var(--text-primary);border-bottom:1px solid #f1f5f9;padding:13px 16px;font-size:13px}tr:last-child td{border-bottom:none}tbody tr:hover{background:#fafbfc}.badge{border-radius:6px;align-items:center;gap:4px;padding:3px 8px;font-size:11px;font-weight:600;display:inline-flex}.badge-success{color:#3e0865;background:#f0e7f4}.badge-warning{color:#854d0e;background:#fef9c3}.badge-danger{color:#991b1b;background:#fee2e2}.badge-info{color:#1e40af;background:#dbeafe}.badge-gray{color:#475569;background:#f1f5f9}.form-group{margin-bottom:16px}.form-label{color:var(--text-primary);margin-bottom:6px;font-size:13px;font-weight:500;display:block}.form-label .required{color:var(--danger);margin-inline-start:2px}.form-input{border:1px solid var(--border);width:100%;color:var(--text-primary);background:var(--surface);border-radius:8px;outline:none;padding:9px 12px;font-family:inherit;font-size:13px;transition:border-color .15s,box-shadow .15s}.form-input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}.form-input::placeholder{color:var(--text-muted)}.form-input:disabled{background:var(--bg);cursor:not-allowed}.form-select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-position:right 10px center;background-repeat:no-repeat;padding-right:32px}[dir=rtl] .form-select{background-position:10px;padding-left:32px;padding-right:12px}.form-error{color:var(--danger);margin-top:4px;font-size:12px}.form-hint{color:var(--text-muted);margin-top:4px;font-size:12px}.grid-2{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.grid-3{grid-template-columns:repeat(3,1fr);gap:16px;display:grid}.grid-4{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}@media (max-width:1024px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}.page-content{padding:16px}}.quick-actions-grid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}@media (max-width:768px){.quick-actions-grid{grid-template-columns:repeat(2,1fr);gap:12px}}.tooltip-wrapper{position:relative}.tooltip{color:#fff;white-space:nowrap;pointer-events:none;opacity:0;z-index:200;background:#1e293b;border-radius:6px;padding:4px 8px;font-size:11px;transition:opacity .15s;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%)}.tooltip-wrapper:hover .tooltip{opacity:1}.divider{background:var(--border);height:1px;margin:16px 0}.empty-state{color:var(--text-muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;padding:60px 20px;display:flex}.empty-state-icon{opacity:.4;margin-bottom:12px;font-size:48px}.empty-state-title{color:var(--text-secondary);margin-bottom:6px;font-size:15px;font-weight:600}.empty-state-desc{font-size:13px}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideUp{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.animate-fade{animation:.2s fadeIn}.animate-slide{animation:.25s slideUp}.auth-page{background:linear-gradient(135deg,#0f172a 0%,#1e3a5f 50%,#0f172a 100%);min-height:100vh;display:flex}[dir=rtl] .auth-page{flex-direction:row-reverse}.auth-left{flex-direction:column;flex:1;justify-content:center;align-items:center;padding:40px;display:none}@media (min-width:1024px){.auth-left{display:flex}}.auth-right{background:#fff;flex-direction:column;justify-content:center;align-items:center;width:100%;max-width:480px;min-height:100vh;padding:40px;display:flex}@media (min-width:1024px){.auth-right{min-height:auto}}.auth-card{width:100%;max-width:380px}.auth-logo{align-items:center;gap:10px;margin-bottom:32px;display:flex}.auth-logo-icon{background:var(--primary);color:#fff;border-radius:12px;justify-content:center;align-items:center;width:44px;height:44px;font-size:20px;font-weight:800;display:flex}.auth-logo-name{color:var(--text-primary);font-size:22px;font-weight:800}.auth-title{color:var(--text-primary);margin-bottom:6px;font-size:22px;font-weight:700}.auth-subtitle{color:var(--text-secondary);margin-bottom:28px;font-size:13px}@media print{body.thermal-print-mode *{visibility:hidden!important}body.thermal-print-mode .thermal-print-area,body.thermal-print-mode .thermal-print-area *{visibility:visible!important}body.thermal-print-mode .thermal-print-area{z-index:99999!important;display:block!important;position:fixed!important;top:0!important;left:0!important;right:0!important}.thermal-receipt{-webkit-print-color-adjust:exact;print-color-adjust:exact;color:#000!important;background:#fff!important;width:80mm!important;margin:0!important;padding:4mm 3mm!important;font-size:10pt!important}}.thermal-print-area{z-index:9999;background:#fff;display:none;position:fixed;top:0;left:0;right:0}.auth-page{background-color:#f8f5fa!important;background-image:linear-gradient(#3e086506 1px,#0000 1px),linear-gradient(90deg,#3e086506 1px,#0000 1px)!important;background-position:0 0!important;background-repeat:repeat!important;background-size:28px 28px!important;background-attachment:scroll!important;background-origin:padding-box!important;background-clip:border-box!important;font-family:IBM Plex Sans Arabic,Arial,sans-serif!important}.auth-left{background:linear-gradient(#75617f,#3e0865)!important;border-inline-end:1px solid #26033f!important}.auth-left h1{font-family:Cairo,sans-serif!important}.auth-left [style*="borderRadius: 8"]{border-radius:2px!important}.auth-right{background:0 0!important}.auth-card{background:#fffdff!important;border:1px solid #d5c8dd!important;border-radius:0!important;box-shadow:3px 4px #3e086521!important}.auth-card:before{content:"نظام محاسبي — دخول المستخدم";color:#fff;background:linear-gradient(#75617f,#3e0865);border-bottom:1px solid #26033f;margin:-32px -32px 22px;padding:8px 12px;font-family:Cairo,sans-serif;font-size:11px;font-weight:800;display:block}.auth-title{color:#3e0865!important;font-family:Cairo,sans-serif!important;font-size:19px!important}.auth-subtitle{color:#75617f!important;font-size:11px!important}.auth-page .form-label{color:#3e0865!important;font-family:Cairo,sans-serif!important;font-size:10px!important;font-weight:800!important}.auth-page .form-input{background:#fffdff!important;border:1px solid #cdbed6!important;border-radius:1px!important;min-height:31px!important;font-family:IBM Plex Sans Arabic,Arial,sans-serif!important}.auth-page .btn{border-radius:2px!important;font-family:Cairo,sans-serif!important}.auth-page .btn-primary{background:linear-gradient(#5a187e,#3e0865)!important;border-color:#26033f!important}.report-print-frame{display:none}@media print{@page{size:A4 portrait;margin:12mm}html,body{background:#fff!important}body:has(.report-print-frame) *{visibility:visible!important}.legacy-app-shell>.sidebar,.legacy-app-shell>.sidebar-overlay,.legacy-app-shell .header,.legacy-app-shell .ai-widget,.legacy-app-shell .ai-widget-button,.legacy-app-shell .no-print,.legacy-app-shell .page-header .btn,.legacy-app-shell .page-header button,.legacy-app-shell input,.legacy-app-shell select,.legacy-app-shell .form-group{display:none!important}.legacy-app-shell .card:has(.form-group){display:none!important}.legacy-app-shell,.legacy-app-shell .main-content,.legacy-app-shell .page-content{background:#fff!important;width:auto!important;margin:0!important;padding:0!important;display:block!important;overflow:visible!important}.report-print-frame{color:#2b1a32;border-bottom:2px solid #3e0865;justify-content:space-between;align-items:flex-start;margin:0 0 12px;padding:0 0 8px;font-family:IBM Plex Sans Arabic,Cairo,Arial,sans-serif;display:flex!important}.report-print-brand{align-items:center;gap:9px;display:flex}.report-print-brand img{-o-object-fit:contain;object-fit:contain;width:38px;height:38px}.report-print-brand strong,.report-print-meta strong{font-size:13px;display:block}.report-print-brand span,.report-print-meta span{color:#75617f;margin-top:2px;font-size:9px;display:block}.report-print-meta{text-align:end}.legacy-app-shell .page-header{border-bottom:1px solid #d5c8dd!important;margin:0 0 10px!important;padding:0 0 8px!important}.legacy-app-shell .breadcrumb{display:none!important}.legacy-app-shell .page-title{color:#3e0865!important;font-size:18px!important}.legacy-app-shell .card,.legacy-app-shell .grid-2>.card{-moz-column-break-inside:avoid;break-inside:avoid;box-shadow:none!important;background:#fff!important;border:1px solid #d5c8dd!important}.legacy-app-shell .card-header{background:#efe8f3!important;border-bottom:1px solid #d5c8dd!important}.legacy-app-shell table{border-collapse:collapse!important;width:100%!important;font-size:9px!important}.legacy-app-shell th,.legacy-app-shell td{border:1px solid #d5c8dd!important;padding:5px!important}.legacy-app-shell th{color:#2b1a32!important;background:#efe8f3!important}.legacy-app-shell .table-wrapper{border:none!important;overflow:visible!important}}:root{--primary:#3e0865;--primary-dark:#26033f;--primary-light:#f4eff7;--secondary:#26033f;--accent:#75617f;--border:#e4d9ea;--bg:#faf8fb;--surface:#fffdff;--text-primary:#2b1a32;--text-secondary:#75617f;--text-muted:#988ba0}.btn-primary,.auth-page .btn-primary,.legacy-app-shell .btn-primary,.legacy-pos .btn-primary,.legacy-tool-main,.legacy-mini-button-primary,.legacy-action-cell-main,.ops-primary-action,.ops-approve-button{background:#3e0865!important;border-color:#26033f!important}.btn-primary:hover,.auth-page .btn-primary:hover,.legacy-app-shell .btn-primary:hover,.legacy-pos .btn-primary:hover,.legacy-tool-main:hover,.legacy-mini-button-primary:hover,.legacy-action-cell-main:hover,.ops-primary-action:hover,.ops-approve-button:hover{background:#26033f!important;border-color:#26033f!important}.legacy-titlebar,.legacy-app-shell .legacy-global-titlebar,.auth-left,.auth-card:before{background:#3e0865!important;border-color:#26033f!important}.auth-page{background-color:#faf8fb!important;background-image:linear-gradient(#36415205 1px,#0000 1px),linear-gradient(90deg,#36415205 1px,#0000 1px)!important;background-position:0 0!important;background-repeat:repeat!important;background-size:auto!important;background-attachment:scroll!important;background-origin:padding-box!important;background-clip:border-box!important}@media (max-width:768px){.rep-tracking-workspace{flex-direction:column!important;gap:12px!important;height:auto!important;min-height:0!important;display:flex!important}.rep-tracking-map{order:1;flex:none!important;width:100%!important;height:min(52vh,440px)!important;min-height:320px!important}.rep-tracking-trip-panel{order:2;flex:none!important;width:100%!important;min-height:0!important;max-height:none!important;overflow:visible!important}.rep-tracking-trip-list{max-height:none!important;overflow:visible!important}}@media (max-width:480px){.rep-tracking-map{border-radius:10px!important;height:360px!important;min-height:360px!important}.rep-tracking-trip-panel{border-radius:10px!important}}@media (max-width:768px){.rep-zone-editor-grid{grid-template-columns:1fr!important}.rep-zone-editor-grid>.card:last-child,.rep-zone-editor-grid>.card:last-child>div{height:380px!important;min-height:380px!important}}.app-back-button{color:#4c126d;cursor:pointer;white-space:nowrap;background:#fbf8fc;border:1px solid #cdbed6;justify-content:center;align-items:center;gap:6px;font-family:Cairo,IBM Plex Sans Arabic,sans-serif;font-weight:800;text-decoration:none;transition:background .14s,color .14s,border-color .14s;display:inline-flex}.app-back-button:hover{color:#3e0865;background:#f4eff7;border-color:#3e0865}.app-back-button:active{transform:scale(.97)}.legacy-app-shell .legacy-quickbar .legacy-quick-back{border-inline:1px solid #cdbed6;color:#3e0865;background:#f4eff7;border-top:0;border-bottom:0;border-radius:0;min-width:86px;margin-inline-start:auto;padding:4px 12px;font-size:10px}.legacy-app-shell .legacy-quickbar .legacy-quick-back:hover{color:#fff;background:#3e0865}.rep-table-actions{align-items:center;gap:4px;min-width:max-content;display:flex;flex-wrap:nowrap!important}@media (max-width:768px){.legacy-app-shell .page-header>div[style*="display: flex"],.legacy-app-shell .page-header>div[style*=display\:flex]{overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;width:100%;max-width:100%;padding-bottom:2px;overflow:auto hidden;flex-wrap:nowrap!important}.legacy-app-shell .page-header>div[style*="display: flex"]>.btn,.legacy-app-shell .page-header>div[style*=display\:flex]>.btn,.legacy-app-shell .page-header>div[style*="display: flex"]>select,.legacy-app-shell .page-header>div[style*=display\:flex]>select{flex:none}.rep-tracking-map{isolation:isolate;z-index:0!important}.legacy-app-shell .sidebar{z-index:10050}.legacy-app-shell .sidebar-overlay{z-index:10040}.legacy-app-shell .legacy-quickbar .legacy-quick-back{display:none}}@media (min-width:769px){.rep-legacy-back,.supervisor-back,.super-admin-back{border-radius:2px;min-height:28px;padding:4px 10px;font-size:10px}}@media (max-width:768px){.rep-legacy-back,.supervisor-back,.super-admin-back{display:none}}
