:root{--navy: #163b72;--navy-dark: #0d203b;--navy-sider: #102a4e;--orange-accent: #f4511e;--orange-hover: #d84315;--gold-accent: #ffa000;--page-bg: #f4f6f9}html,body,#root{height:100%}body{margin:0;background-color:var(--page-bg);font-family:Segoe UI,Tahoma,Noto Kufi Arabic,Arial,sans-serif}.ant-picker-content th{font-size:13px!important;font-weight:600!important;text-align:center!important;padding:4px 0!important;white-space:nowrap!important}.ant-table-wrapper .ant-table{font-size:13px}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-thead>tr>td{padding:8px 10px!important;font-size:12px;font-weight:700}.ant-table-wrapper .ant-table-tbody>tr>td{padding:6px 10px!important}.app-loading{height:100vh;display:flex;align-items:center;justify-content:center;background-color:var(--page-bg)}.loading-box{width:64px}.layout-root{min-height:100vh}.layout-sider{background:linear-gradient(180deg,#0d203b,#163b72,#0c1a2d)!important;border-inline-end:2px solid rgba(244,81,30,.4)!important}.sider-logo{height:64px;display:flex;align-items:center;justify-content:center;gap:8px;color:#fff;font-weight:700;border-bottom:1px solid rgba(255,255,255,.12);overflow:hidden;white-space:nowrap;background:#0000002e}.sider-logo-badge{background:linear-gradient(135deg,#f4511e,#d84315);color:#fff;padding:2px 7px;border-radius:5px;font-size:12px;font-weight:800;letter-spacing:.5px;box-shadow:0 2px 6px #f4511e66}.sider-title{font-size:15px;letter-spacing:.3px}.layout-header{background:#fff;padding-inline:16px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 1px 4px #00152914;z-index:10}.header-user-info{gap:8px}.layout-content{padding:24px}.page-loading{display:flex;align-items:center;justify-content:center;padding:48px 0}.login-page{height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--navy-dark) 0%,var(--navy) 55%,#2f5d9f 100%);padding:16px}.login-card{width:100%;max-width:400px;box-shadow:0 12px 40px #00000047;border-radius:12px}.login-brand{text-align:center;margin-bottom:28px}.login-title{color:var(--navy)!important;margin-bottom:4px!important}html,body,#root{max-width:100vw;overflow-x:hidden;touch-action:manipulation}.layout-root{min-height:100vh;max-width:100vw;overflow-x:hidden}.layout-content{padding:16px 20px;max-width:100%;overflow-x:hidden;box-sizing:border-box}.card-responsive-header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;width:100%}.card-header-title{font-size:16px;font-weight:700;color:var(--navy);display:flex;align-items:center;gap:8px}.card-header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.filter-toolbar{background:#fafbfc;border:1px solid #f0f0f0;border-radius:8px;padding:12px 14px;margin-bottom:14px;display:flex;flex-wrap:wrap;gap:10px;align-items:center}.mobile-horizontal-scroll{display:flex;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch;gap:8px;padding:2px 2px 8px;scrollbar-width:none}.mobile-horizontal-scroll::-webkit-scrollbar{display:none}.settings-mobile-nav{display:block}@media (min-width: 769px){.settings-mobile-nav{display:none!important}}.ant-table-wrapper{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;border:1px solid #f0f0f0;border-radius:8px;background:#fff}.ant-table{min-width:100%}.ant-table-thead>tr>th{background-color:#fafbfc!important;font-weight:700!important;font-size:13px!important;white-space:nowrap!important;color:var(--navy)!important}.ant-table-tbody>tr>td{font-size:13px!important;vertical-align:middle!important}.ant-form-item{margin-bottom:12px!important}.ant-form-item-label{padding-bottom:3px!important}.ant-form-item-label>label{font-size:13px!important;font-weight:600!important;color:#262626!important}.ant-form-item-extra{min-height:0!important;margin-top:3px!important;font-size:11px!important}.ant-modal-content{border-radius:12px!important;padding:16px 20px!important}.ant-modal-header{margin-bottom:12px!important}.ant-modal-title{font-size:16px!important;font-weight:700!important;color:var(--navy)!important}.ant-modal-body{padding:4px 0!important;max-height:calc(100vh - 180px);overflow-y:auto;overflow-x:hidden}.ant-modal-footer{margin-top:14px!important}@media (max-width: 768px){.layout-content{padding:10px 8px!important}.layout-header{padding-inline:10px!important;height:52px!important;line-height:52px!important}.header-user-info{gap:4px}.header-user-info .ant-typography{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-card{border-radius:8px!important;margin-bottom:12px!important;border:1px solid #e8e8e8!important}.ant-card-head{min-height:44px!important;padding:8px 12px!important}.ant-card-head-wrapper{flex-wrap:wrap!important;gap:8px!important;align-items:center!important}.ant-card-head-title{padding:2px 0!important;font-size:15px!important;font-weight:700!important;flex:1 1 auto!important}.ant-card-extra{padding:0!important;margin-inline-start:0!important;flex:1 1 100%!important;width:100%!important}.ant-card-extra .ant-space{width:100%!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important}.ant-card-extra .ant-space-item{flex:1 1 auto;min-width:fit-content}.ant-card-extra .ant-input-search,.ant-card-extra .ant-select,.ant-card-extra .ant-picker{width:100%!important;max-width:100%!important}.filter-toolbar{padding:8px 10px!important;gap:8px!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.filter-toolbar .ant-input-search,.filter-toolbar .ant-select,.filter-toolbar .ant-picker,.filter-toolbar .ant-btn{width:100%!important;max-width:100%!important}.ant-card-body{padding:12px 10px!important}.ant-btn{height:36px!important;font-size:13px!important;border-radius:6px!important}.ant-btn-sm{height:28px!important;font-size:12px!important}.ant-input,.ant-select-selector,.ant-input-number,.ant-picker{height:36px!important;min-height:36px!important;border-radius:6px!important;font-size:13px!important}.ant-select-single .ant-select-selector .ant-select-selection-item,.ant-select-single .ant-select-selector .ant-select-selection-placeholder{line-height:34px!important}.ant-table-wrapper{border-radius:6px}.ant-table-wrapper .ant-table-thead>tr>th,.ant-table-wrapper .ant-table-thead>tr>td{padding:8px!important;font-size:12px!important;white-space:nowrap}.ant-table-wrapper .ant-table-tbody>tr>td{padding:8px!important;font-size:13px!important}.ant-table-pagination{margin:10px 0!important;flex-wrap:wrap;justify-content:center!important;gap:4px}.ant-modal{max-width:calc(100vw - 12px)!important;width:100%!important;margin:6px auto!important;top:6px!important;padding-bottom:6px!important}.ant-modal-content{padding:14px 12px!important}.ant-modal-title{font-size:15px!important}.ant-modal-body{max-height:calc(85vh - 120px)!important;overflow-y:auto!important;padding:6px 0!important}.ant-modal-footer{display:flex!important;flex-wrap:wrap!important;gap:8px!important;justify-content:stretch!important}.ant-modal-footer .ant-btn{flex:1 1 calc(50% - 4px)!important;height:38px!important;font-weight:600!important}.ant-form-item{margin-bottom:10px!important}.ant-row{row-gap:6px!important}.ant-col{max-width:100%!important}.ant-tabs-nav{margin-bottom:12px!important}.ant-tabs-nav-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch}.ant-segmented{max-width:100%!important;overflow-x:auto!important;display:flex!important;padding:3px!important}.ant-space{max-width:100%!important}}@media print{body *{visibility:hidden!important}.printable-sales-draft,.printable-sales-draft *{visibility:visible!important}.printable-sales-draft{position:fixed!important;left:0!important;top:0!important;width:100%!important;margin:0!important;padding:20px!important;background:#fff!important;box-shadow:none!important;border:none!important}.watermark-overlay{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;color:#dc262647!important;border-color:#dc262666!important}.ant-modal-footer,.ant-modal-close,.ant-modal-header{display:none!important}}.settings-menu .ant-menu-title-content{white-space:normal!important;line-height:1.3!important;word-break:break-word!important;overflow:visible!important;text-overflow:clip!important}.settings-menu .ant-menu-item{height:auto!important;min-height:40px!important;padding-top:6px!important;padding-bottom:6px!important}
