@charset "UTF-8";:root{--font: "Inter", "Noto Sans Arabic", "Noto Sans SC", "Segoe UI", sans-serif;--green: #22c55e;--green-dark: #16a34a;--green-soft: #dcfce7;--green-text: #15803d;--bg: #f8f9fa;--sidebar: #f7f8fa;--card: #ffffff;--line: #eceff2;--ink: #111827;--muted: #8b95a1;--muted-2: #6b7280;--blue: #3b82f6;--blue-soft: #dbeafe;--amber: #f59e0b;--amber-soft: #fef3c7;--red: #ef4444;--red-soft: #fee2e2;--shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .04);--radius: 16px;--radius-sm: 10px;--sidebar-w: 250px}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;min-height:100%}body{font-family:var(--font);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}a{color:inherit;text-decoration:none}img{max-width:100%}.btn-primary,.btn-secondary,.btn-ghost,.btn-icon{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border:0;cursor:pointer;font-weight:600;transition:.15s ease}.btn-primary{background:var(--green);color:#fff;border-radius:999px;padding:.7rem 1.15rem;box-shadow:0 8px 16px #22c55e40;text-decoration:none}.btn-primary:hover:not(:disabled){background:var(--green-dark)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:.65rem 1rem}.btn-ghost{background:transparent;color:var(--muted-2);border-radius:999px;padding:.55rem .85rem}.btn-export{background:transparent;border:0;color:#6b7280;font-weight:600;font-size:.92rem;cursor:pointer;padding:.55rem .75rem;border-radius:999px}.btn-export:hover{color:#111827;background:#1118270a}.btn-icon{width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--ink)}.btn-icon:hover,.btn-secondary:hover{background:#f9fafb}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem;flex-wrap:wrap}.page-head h2{margin:0;font-size:1.65rem;font-weight:700;letter-spacing:-.03em}.page-head p{margin:.35rem 0 0;color:var(--muted-2);font-size:.92rem;max-width:46rem}.page-head__actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.15rem}.stat{background:var(--card);border-radius:var(--radius);padding:1.1rem 1.15rem;box-shadow:var(--shadow);display:grid;gap:.35rem;position:relative;min-height:108px}.stat__label{color:var(--muted-2);font-size:.86rem}.stat__value{font-size:1.7rem;font-weight:800;letter-spacing:-.03em}.stat__trend{font-size:.78rem;color:var(--green-text);font-weight:600}.stat__trend.is-down{color:var(--red)}.stat__icon{position:absolute;top:1rem;inset-inline-end:1rem;width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.stat__icon.green{background:var(--green-soft);color:var(--green-text)}.stat__icon.blue{background:var(--blue-soft);color:var(--blue)}.stat__icon.amber{background:var(--amber-soft);color:#b45309}.stat__icon.red{background:var(--red-soft);color:var(--red)}.panel{background:#fff;border-radius:18px;border:1px solid #e5e7eb;box-shadow:0 10px 28px #1118270f;overflow:hidden}.panel__bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;flex-wrap:wrap}.tabs{display:flex;flex-wrap:wrap;gap:.2rem}.tab{border:0;background:transparent;color:var(--muted-2);padding:.45rem .85rem;border-radius:999px;font-weight:600;font-size:.9rem;cursor:pointer}.tab.is-active{background:var(--green-soft);color:var(--green-text)}.table-tools{display:flex;gap:.5rem;align-items:center}.search-mini{display:flex;align-items:center;gap:.45rem;background:#f4f6f8;border:1px solid transparent;border-radius:999px;padding:.45rem .8rem;min-width:200px}.search-mini input{border:0;background:transparent;outline:none;width:100%}.filters{display:grid;gap:.75rem;padding:.95rem 1rem;border-bottom:1px solid #eef0f3;background:#fafbfc}.filters-bar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.75rem 1rem;border-bottom:1px solid #eef0f3;background:#fff}.filters-bar__actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.filters-toggle{display:inline-flex;align-items:center;gap:.45rem;border:1px solid #e5e7eb;background:#fff;color:#374151;border-radius:999px;padding:.5rem .9rem;cursor:pointer;font-weight:650;font-size:.88rem}.filters-toggle:hover{background:#f8fafc}.filters-toggle.is-open{border-color:#86efac;background:#f0fdf4;color:#166534}.filters-toggle__chevron{margin-inline-start:.15rem;transition:transform .18s ease;opacity:.7}.filters-toggle.is-open .filters-toggle__chevron{transform:rotate(180deg)}.filters__footer{display:flex;justify-content:flex-start;padding-top:.35rem}.btn-reset-filters{display:inline-flex;align-items:center;justify-content:center;gap:.45rem;min-height:40px;padding:.5rem 1rem;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#374151;font-weight:700;font-size:.88rem;cursor:pointer;box-shadow:0 1px 2px #1018280a;transition:border-color .15s ease,background .15s ease,color .15s ease}.btn-reset-filters:hover:not(:disabled){border-color:#fecaca;background:#fff1f2;color:#b91c1c}.btn-reset-filters:disabled{opacity:.45;cursor:not-allowed}.filters__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.filters__lead{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap;min-width:0}.filters__title{margin:0;display:inline-flex;align-items:center;gap:.4rem;font-size:.88rem;font-weight:700;color:#111827}.filters__title:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px #22c55e2e}.filters__badge{display:inline-flex;align-items:center;padding:.14rem .48rem;border-radius:999px;background:var(--green-soft);color:var(--green-text);font-size:.72rem;font-weight:700}.filters__grid{display:grid;grid-template-columns:minmax(220px,1.5fr) repeat(auto-fit,minmax(180px,1fr));gap:.65rem;align-items:end}.filters__grid--equal{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.filters__grid--equal .filters__field input,.filters__grid--equal .filters__field select{height:42px}.filters__field{display:grid;gap:.3rem;min-width:0}.filters__field:has(select){min-width:240px}.filters__field>span{font-size:.72rem;font-weight:700;color:#6b7280}.filters__field input,.filters__field select{width:100%;border:1px solid #e5e7eb;border-radius:12px;background:#fff;padding:.65rem .8rem;outline:none;color:var(--ink);transition:border-color .15s ease,box-shadow .15s ease}.filters__field select{appearance:none;-webkit-appearance:none;padding-inline:.8rem 2.4rem;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px;text-overflow:clip;overflow:hidden;white-space:nowrap}html[dir=rtl] .filters__field select{background-position:left .75rem center}.filters__field select option{white-space:normal}.filters__field input:focus,.filters__field select:focus{border-color:#86efac;box-shadow:0 0 0 4px #22c55e1f}.filters__actions{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.filters__actions .btn-secondary,.filters__actions .btn-ghost{min-height:42px;padding:.58rem .85rem;white-space:nowrap}.filters__chips{display:flex;flex-wrap:wrap;gap:.4rem}.filter-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.28rem .55rem .28rem .7rem;border-radius:999px;background:#eef2f6;color:#374151;font-size:.74rem;font-weight:600}.filter-chip button{border:0;background:transparent;color:#6b7280;cursor:pointer;font-size:.95rem;line-height:1;width:18px;height:18px;border-radius:50%;display:grid;place-items:center}.filter-chip button:hover{color:var(--red);background:var(--red-soft)}@media(max-width:1100px){.filters__grid{grid-template-columns:1fr 1fr}.filters__grid--equal{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}}@media(max-width:640px){.filters__grid,.filters__grid--equal{grid-template-columns:1fr}.filters__field:has(select){min-width:0}}.table-card{margin:1rem;border:1px solid #e5e7eb;border-radius:14px;background:#fff;overflow:hidden;box-shadow:inset 0 1px #ffffffb3}.table-wrap{overflow-x:auto;overflow-y:visible;background:#fff}table.data{width:100%;border-collapse:separate;border-spacing:0;table-layout:auto;min-width:640px}table.data thead th{position:sticky;top:0;z-index:1}table.data th{text-align:center;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#6b7280;padding:.78rem .85rem;border-bottom:1px solid #e8eaed;background:#f8fafc;white-space:nowrap}table.data td{text-align:center;padding:.8rem .85rem;border-bottom:1px solid #f1f3f5;font-size:.9rem;vertical-align:middle}table.data tbody tr:last-child td{border-bottom:0}table.data tbody tr{transition:background .12s ease}table.data tbody tr:hover{background:#f7fdf9}table.data td.is-empty{color:var(--muted);text-align:center}table.data th.col-actions,table.data td.col-actions{text-align:center;width:5.5rem;min-width:5.25rem;padding-inline:.35rem}table.data td.col-actions .row-actions{display:inline-flex;justify-content:center;width:100%;gap:.15rem}html[lang=ar] table.data th,html[lang=zh-CN] table.data th{text-transform:none;letter-spacing:.01em}.id-link{color:var(--green);font-weight:700;cursor:pointer}.sub{color:var(--muted);font-size:.78rem;margin-top:.15rem}.pill{display:inline-flex;align-items:center;padding:.22rem .7rem;border-radius:999px;font-size:.75rem;font-weight:700}.pill.success{background:var(--green-soft);color:var(--green-text)}.pill.info{background:#dbeafe;color:#1d4ed8}.pill.warn{background:var(--amber-soft);color:#b45309}.pill.danger{background:var(--red-soft);color:#b91c1c}.pill.neutral{background:#eef2f6;color:#4b5563}.meter{display:flex;align-items:center;gap:.4rem;min-width:72px}.meter__bar{flex:1;height:6px;background:#eef2f6;border-radius:999px;overflow:hidden}.meter__bar>span{display:block;height:100%;background:var(--green);border-radius:inherit}.meter__val{font-size:.78rem;color:var(--muted-2);min-width:2.2rem}.row-actions{display:flex;gap:.35rem}.icon-btn{width:32px;height:32px;border:0;background:transparent;border-radius:8px;color:var(--muted-2);cursor:pointer;display:grid;place-items:center}.icon-btn:hover{background:#f3f4f6;color:var(--ink)}.icon-btn.danger:hover{background:var(--red-soft);color:var(--red)}.pager{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.8rem .9rem;color:var(--muted-2);font-size:.86rem;background:#fafbfc;border-top:1px solid #eef0f3}.pager__meta{display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.1rem}.pager__size{display:inline-flex;align-items:center;gap:.45rem;margin:0;font-weight:600;color:var(--muted-2)}.pager__size select{min-width:4.25rem;height:32px;padding:0 .45rem;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-weight:700;cursor:pointer}.pager__pages{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem}.pager__pages button{min-width:32px;height:32px;padding:0 .55rem;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;color:var(--muted-2);font-weight:600;font-size:.82rem}.pager__pages button:hover:not(:disabled):not(.is-active){background:#f3f4f6;color:var(--ink)}.pager__pages button.is-active{background:var(--green);color:#fff;border-color:var(--green)}.pager__pages button:disabled{opacity:.35;cursor:not-allowed}.pager__pages button.pager__nav{border-color:var(--line);background:#fff;border-radius:8px}.alert{background:var(--red-soft);color:#b91c1c;padding:.7rem .9rem;border-radius:12px;margin-bottom:.85rem}.modal{position:fixed;inset:0;background:#11182759;display:grid;place-items:center;padding:1rem;z-index:60;overflow:auto}.modal__card{width:min(640px,100%);background:#fff;border-radius:18px;padding:1.15rem 1.2rem 1.3rem;margin:auto;box-shadow:0 24px 60px #0000002e}.modal__card.wide{width:min(880px,100%)}.modal__card>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.modal__card h3{margin:0;font-size:1.15rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.85rem}.form-grid label{display:grid;gap:.35rem;font-size:.84rem;font-weight:600;color:#374151}.form-grid input:not([type=checkbox]),.form-grid select{border:1px solid var(--line);border-radius:10px;padding:.7rem .8rem;background:#fff}.form-grid .full,.form-grid footer{grid-column:1/-1}.form-grid footer,.form-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:.4rem}.checks{display:grid;gap:.4rem}.checks label{display:flex;align-items:center;gap:.55rem;font-weight:500;background:#f8fafb;border:1px solid var(--line);border-radius:10px;padding:.55rem .7rem}.hint{margin:0 0 .8rem;color:var(--muted-2);font-size:.9rem}@media(max-width:1100px){.stats{grid-template-columns:1fr 1fr}}@media(max-width:700px){.stats,.form-grid{grid-template-columns:1fr}}html[dir=rtl] .logout svg,html[dir=rtl] .icon-flip-rtl{transform:scaleX(-1)}html[dir=rtl] input:not([type=checkbox]):not([type=radio]):not([type=file]),html[dir=rtl] select,html[dir=rtl] textarea,html[dir=rtl] .readonly-field,html[dir=rtl] .search-mini input,html[dir=rtl] .search input,html[dir=rtl] .filters__field input,html[dir=rtl] .filters__field select,html[dir=rtl] .form-grid input:not([type=checkbox]),html[dir=rtl] .form-grid select,html[dir=rtl] .form-grid textarea,html[dir=rtl] .status-select,html[dir=rtl] .pager__size select{text-align:right}html[dir=rtl] input[dir=ltr],html[dir=rtl] select[dir=ltr],html[dir=rtl] textarea[dir=ltr],html[dir=rtl] .readonly-field[dir=ltr]{direction:ltr;text-align:right;unicode-bidi:plaintext}html[dir=rtl] label,html[dir=rtl] .filters__field>span,html[dir=rtl] .form-grid label{text-align:right}html[dir=rtl] table.data th,html[dir=rtl] table.data td{text-align:right}html[dir=rtl] table.data .col-actions,html[dir=rtl] table.data td.col-actions{text-align:center}html[dir=rtl] .modal__card,html[dir=rtl] .panel,html[dir=rtl] .stat,html[dir=rtl] .alert,html[dir=rtl] .hint,html[dir=rtl] .capacity-alerts,html[dir=rtl] .send-found{text-align:right}html[dir=rtl] .form-grid select,html[dir=rtl] .filters__field select,html[dir=rtl] .status-select,html[dir=rtl] select{background-position:left .75rem center}html[lang=ar] body{font-family:Noto Sans Arabic,Inter,sans-serif;font-size:15px;line-height:1.65;letter-spacing:0}html[lang=zh-CN] body{font-family:Noto Sans SC,Inter,Segoe UI,sans-serif;font-size:15px;line-height:1.7;letter-spacing:0}html[lang=ar] .nav__title,html[lang=zh-CN] .nav__title,html[lang=ar] .login__eyebrow,html[lang=zh-CN] .login__eyebrow,html[lang=ar] .login__mark-tag,html[lang=zh-CN] .login__mark-tag{letter-spacing:.02em;text-transform:none;font-size:.75rem}html[lang=ar] .page-head h2,html[lang=zh-CN] .page-head h2{letter-spacing:0;line-height:1.35}html[lang=ar] .stat__value,html[lang=zh-CN] .stat__value{letter-spacing:0;font-variant-numeric:tabular-nums}html[lang=ar] .pill,html[lang=zh-CN] .pill,html[lang=ar] .tab,html[lang=zh-CN] .tab,html[lang=ar] .btn-primary,html[lang=zh-CN] .btn-primary,html[lang=ar] .btn-secondary,html[lang=zh-CN] .btn-secondary{letter-spacing:0;line-height:1.4}html[lang=ar] table.data,html[lang=zh-CN] table.data{font-size:.9rem}html[lang=ar] .modal__card,html[lang=zh-CN] .modal__card{text-align:start}html[lang=ar] .modal__card{text-align:right}html[lang=ar] .search-mini,html[lang=zh-CN] .search-mini,html[lang=ar] .search,html[lang=zh-CN] .search{min-width:0}@media print{body.printing-payment-voucher,body.printing-receipt-voucher,body.printing-sales-invoice{background:#fff!important;color:#000!important}body.printing-payment-voucher .sidebar,body.printing-payment-voucher .topbar,body.printing-payment-voucher .burger,body.printing-payment-voucher .logout,body.printing-payment-voucher .no-print,body.printing-payment-voucher .screen-only,body.printing-payment-voucher .attach-modal,body.printing-payment-voucher .page-head,body.printing-payment-voucher .extra-panel,body.printing-receipt-voucher .sidebar,body.printing-receipt-voucher .topbar,body.printing-receipt-voucher .burger,body.printing-receipt-voucher .logout,body.printing-receipt-voucher .no-print,body.printing-receipt-voucher .screen-only,body.printing-receipt-voucher .attach-modal,body.printing-receipt-voucher .page-head,body.printing-receipt-voucher .extra-panel,body.printing-sales-invoice .sidebar,body.printing-sales-invoice .topbar,body.printing-sales-invoice .burger,body.printing-sales-invoice .logout,body.printing-sales-invoice .no-print,body.printing-sales-invoice .screen-only,body.printing-sales-invoice .attach-modal,body.printing-sales-invoice .page-head,body.printing-sales-invoice .extra-panel{display:none!important}body.printing-payment-voucher .app,body.printing-receipt-voucher .app,body.printing-sales-invoice .app{display:block!important;min-height:0!important}body.printing-payment-voucher .main,body.printing-payment-voucher .content,body.printing-receipt-voucher .main,body.printing-receipt-voucher .content,body.printing-sales-invoice .main,body.printing-sales-invoice .content{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important;overflow:visible!important}body.printing-payment-voucher .rv-page,body.printing-payment-voucher .si-page,body.printing-receipt-voucher .rv-page,body.printing-receipt-voucher .si-page,body.printing-sales-invoice .rv-page,body.printing-sales-invoice .si-page{display:block!important;gap:0!important;padding:0!important}body.printing-payment-voucher .voucher,body.printing-payment-voucher .invoice,body.printing-receipt-voucher .voucher,body.printing-receipt-voucher .invoice,body.printing-sales-invoice .voucher,body.printing-sales-invoice .invoice{box-shadow:none!important;border:none!important}@page{margin:12mm;size:A4}}
