/* One list layout for the first server-backed screens; existing brand tokens remain in use. */
.nj46-legacy{display:none!important}
#v2summary-sales,#v2summary-purchases,#v2summary-parties{display:none!important}
#tab-sales .ext-shortcuts,#tab-purchases .ext-shortcuts,#tab-parties .ext-shortcuts{display:none!important}
.nj46-summary{padding:8px 0;color:#705330;font-size:14px;line-height:1.8}
.nj46-list{background:#fff;border:1px solid #e4d8c6;border-radius:16px;overflow:hidden}
.nj46-list .nj20-list-header{padding:20px}
.nj46-toolbar{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:16px}
.nj46-toolbar>label{flex:1;min-width:180px}
.nj46-list label{display:grid;gap:7px;color:#655844;font-size:14px}
.nj46-list input,.nj46-list select{width:100%;min-height:44px;border:1px solid #d8cab7;border-radius:9px;padding:10px 12px;background:#fff;color:#403321;font:inherit}
.nj46-list button{min-height:44px;font:inherit;cursor:pointer}
.nj46-list button:disabled{opacity:.55;cursor:default}
.nj46-list button:focus-visible,.nj46-list input:focus-visible,.nj46-list select:focus-visible,.nj46-list summary:focus-visible{outline:3px solid #a87835;outline-offset:3px}
.nj46-filters{margin-top:12px;border:1px solid #e7dac5;border-radius:10px;padding:10px 14px}
.nj46-filters summary{cursor:pointer;min-height:28px;color:#69471e}
.nj46-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:14px;padding-top:14px;align-items:end}
.nj46-refresh,.nj50-return-entry,.nj46-filter-grid button,.nj46-pager button{border:1px solid #d8c4a7;border-radius:9px;padding:8px 16px;background:#fffaf2;color:#68461f}
.nj46-status{color:#8a442c;line-height:1.9;margin-top:8px}
.nj46-status:empty{display:none}
.nj46-table{width:100%;border-collapse:collapse;color:#463822}
.nj46-table th{background:#f6f0e6;text-align:right;padding:14px;font-size:13px}
.nj46-table td{padding:14px;border-bottom:1px solid #ece3d6;vertical-align:middle}
.nj46-table tfoot td{background:#faf6ee;font-size:12px;font-weight:700}
.nj46-table td strong,.nj46-table td small{display:block;margin-top:5px}
.nj46-table .nj20-number{font-variant-numeric:tabular-nums;white-space:nowrap}
.nj46-badge{font-weight:600;color:#75654d}
.nj46-pager{display:flex;justify-content:center;align-items:center;gap:16px;padding:18px;flex-wrap:wrap}
.nj46-scope{padding:0 20px 18px;font-size:12px;color:#796e5b;line-height:1.9}
.nj46-list[aria-busy=true] .nj46-table{opacity:.55}
.nj46-overview-note{display:none;background:#fff;border:1px solid #e7dac5;border-radius:12px;padding:20px;line-height:1.9}
.nj46-partial #tab-dashboard .ux-columns,.nj46-partial #njFollowup,.nj46-partial #njFollowupCenter{display:none!important}
.nj46-partial .nj46-overview-note{display:block}
.nj46-fetching:after{content:'جارٍ تحميل بيانات العملية…';position:fixed;inset-block-start:14px;inset-inline-start:50%;transform:translateX(-50%);background:#493015;color:#fff;padding:12px 20px;border-radius:12px;z-index:2147482100;box-shadow:0 4px 18px #0002;pointer-events:none}
@media(max-width:650px){
 .nj46-list .nj20-list-header{padding:14px}
 .nj46-toolbar{align-items:stretch}.nj46-toolbar>label{min-width:100%}.nj46-toolbar button{width:100%}
 .nj46-filter-grid{grid-template-columns:1fr}
 .nj46-table thead{display:none}.nj46-table tbody,.nj46-table tbody tr{display:block}
 .nj46-table tbody tr{border:1px solid #e4d8c6;border-radius:12px;margin:10px;padding:10px}
 .nj46-table tbody td{display:grid;grid-template-columns:minmax(85px,35%) minmax(0,1fr);gap:8px;border:0;padding:7px;overflow-wrap:anywhere;white-space:normal}
 .nj46-table tbody td.nj20-number{white-space:normal;overflow-wrap:anywhere}
 .nj46-table tbody td:before{content:attr(data-nj20-label);font-size:12px;color:#89795f}
 .nj46-table tbody td strong,.nj46-table tbody td small{grid-column:2}
 .nj46-table tfoot,.nj46-table tfoot tr{display:block}.nj46-table tfoot td{display:block;white-space:normal}.nj46-table tfoot td:before{content:attr(data-label)}
 .nj46-pager{gap:10px;padding:14px}.nj46-pager span{order:-1;width:100%;text-align:center}
 .nj46-list .nj20-add{width:100%}
 .nj46-fetching:after{inset-inline-start:12px;inset-inline-end:12px;transform:none;text-align:center}
}
