/* V2.9.1 isolated forensic audit layout */
.page-expense_audit{max-width:none!important;width:100%}
.v291-audit{max-width:100%;color:#e8f6ff;direction:rtl}
.v291-audit *{box-sizing:border-box}
.v291-head{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:0 0 16px}
.v291-head h1{font-size:clamp(22px,2vw,29px);margin:4px 0 6px}
.v291-head .muted{font-size:13px;margin:0}
.v291-links,.v291-exports{display:flex;gap:8px;flex-wrap:wrap}
.v291-audit .card{background:linear-gradient(135deg,#102d41,#0b2234);border:1px solid #1d4b62;border-radius:11px}
.v291-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:12px}
.v291-cards .card{min-width:0;display:flex;flex-direction:column;gap:7px;padding:15px}
.v291-cards small{color:#b0cbd8;font-size:12px}.v291-cards strong{color:#83e9f5;font-size:clamp(18px,1.6vw,26px);direction:ltr;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.v291-cards .v291-warn{border-color:#977744}.v291-cards .v291-warn strong{color:#ffd18d}
.v291-policy{padding:13px;margin-bottom:12px;line-height:1.8;font-size:13px;color:#c4d8e4;border-inline-start:3px solid #ffcc7a!important}
.v291-filters{display:flex;flex-wrap:wrap;align-items:end;gap:10px;padding:13px;margin-bottom:14px}
.v291-filters label{display:flex;flex:1 1 145px;flex-direction:column;gap:5px;font-size:13px;color:#a4c0d1}
.v291-filters :is(input,select){min-height:40px;background:#061a2a;color:#e9f7fe;border:1px solid #326079;border-radius:7px;padding:7px 9px;font-size:15px;min-width:0;width:100%}
.v291-filters .btn{min-height:39px;white-space:nowrap}
.v291-exports{margin-inline-start:auto}
.v291-panels{display:grid;grid-template-columns:1.4fr 1fr;gap:12px;margin-bottom:12px}
.v291-panel{padding:15px;min-width:0}
.v291-panel h2{font-size:17px;margin:0 0 13px;color:#eaf7ff}
.v291-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-color:#3a8199 #09283a;scrollbar-width:thin;border-radius:8px}
.v291-table{width:100%;min-width:max-content;table-layout:auto;border-collapse:collapse;font-size:14px!important}
.v291-table td,.v291-table th{padding:9px 12px!important;text-align:right;white-space:nowrap;border-bottom:1px solid #20465d;vertical-align:middle}
.v291-table th{position:sticky;top:0;z-index:2;background:#193a50;font-size:13px;color:#b4dfea}
.v291-table .n{font-variant-numeric:tabular-nums;text-align:left;direction:ltr;font-size:15px!important}
.v291-table tbody tr:nth-child(2n){background:#153047}
.v291-detail{min-width:1100px}.v291-detail th:first-child,.v291-detail td:first-child{position:sticky;right:0;background:#113047;z-index:3}
.v291-detail th:first-child{z-index:4;background:#193a50}
.v291-flag{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #234b5f;padding:9px 4px;font-size:14px}.v291-flag b{color:#ffcf86}
.v291-flag-chip{display:inline-block;font-size:12px;background:#473927;color:#ffdb96;border:1px solid #916f3b;border-radius:50px;padding:3px 8px;margin:2px}
.v291-notes{white-space:normal!important;min-width:165px;max-width:370px}.v291-unresolved{color:#ffb5a8}
.v291-tablehead{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;align-items:center}.v291-tablehead span{font-size:12px;color:#a9c6d7}
.v291-pagination{display:flex;gap:12px;align-items:center;justify-content:center;padding:13px;font-size:13px}.v291-foot{text-align:center;font-size:12px;margin:15px}
.v291-audit :is(input,select,a,button):focus-visible{outline:2px solid #6ae8f1;outline-offset:2px}
@media(max-width:1400px){.v291-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.v291-panels{grid-template-columns:1fr}.v291-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.v291-cards .card{padding:10px}.v291-cards strong{font-size:19px}.v291-filters label{flex:1 1 100%}.v291-exports{width:100%}.v291-exports a{flex:1;text-align:center}.v291-head .v291-links{width:100%}}
