/* Revenue Audit compact ERP presentation; intentionally scoped to one page. */
#page-audit { background:var(--rv-bg); }
#page-audit .report-page { gap:var(--rv-space-2); padding:0 0 var(--rv-space-3); }
#page-audit .report-currency { display:grid; gap:2px; }
#page-audit .report-currency > span,#page-audit .report-updated-at { color:var(--rv-text-muted); font-size:10px; font-weight:600; }
#page-audit .report-currency-options { display:flex; gap:2px; padding:2px; border:1px solid var(--rv-border); border-radius:6px; background:var(--rv-surface); }
#page-audit .report-currency-button { min-width:38px; min-height:28px; border:0; border-radius:4px; background:transparent; color:var(--rv-text-muted); font-size:11px; font-weight:600; }
#page-audit .report-currency-button.active { background:var(--rv-primary-soft); color:var(--rv-primary-hover); }
#page-audit .report-toolbar .rv-actions-menu { margin-left:0; }
#page-audit .report-toolbar .rv-actions-menu > summary,#page-audit .report-toolbar .rv-button { min-height:32px; height:32px; padding:5px 10px; border-radius:6px; font-size:11px; font-weight:600; }
#page-audit .report-card-actions .au-act-btn { min-height:32px; border-radius:6px; }
#page-audit .au-active-filters { padding-top:6px; }
#page-audit .au-filter-tag { border:0; border-radius:999px; padding:3px 7px; background:var(--rv-primary-soft); color:var(--rv-primary-hover); font-size:10px; }
#page-audit .au-info { font-size:11px; }
#page-audit .data-table .r { text-align:right; font-variant-numeric:tabular-nums; }
#page-audit .data-table .c { text-align:center; }
#page-audit .data-table-scroll { max-height:none; }
#page-audit #auditResultsTable { width:max(100%,245ch); table-layout:fixed; }
#page-audit #auditResultsTable th,
#page-audit #auditResultsTable td { box-sizing:border-box; margin:0; }
#page-audit #auditResultsTable tbody td { overflow:hidden; text-overflow:ellipsis; }
#page-audit #auditResultsTable .audit-col-voucher { width:18ch; }
#page-audit #auditResultsTable .audit-col-hotel { width:16ch; }
#page-audit #auditResultsTable .audit-col-agency { width:18ch; }
#page-audit #auditResultsTable .audit-col-sale-date { width:18ch; }
#page-audit #auditResultsTable .audit-col-checkin,
#page-audit #auditResultsTable .audit-col-checkout { width:16ch; }
#page-audit #auditResultsTable .audit-col-room { width:17ch; }
#page-audit #auditResultsTable .audit-col-currency { width:14ch; }
#page-audit #auditResultsTable .audit-col-nights { width:13ch; }
#page-audit #auditResultsTable .audit-col-system-gross { width:20ch; }
#page-audit #auditResultsTable .audit-col-system-net { width:19ch; }
#page-audit #auditResultsTable .audit-col-excel { width:16ch; }
#page-audit #auditResultsTable .audit-col-difference { width:15ch; }
#page-audit #auditResultsTable .audit-col-status { width:19ch; }
#page-audit #auditResultsTable .audit-col-detail { width:10ch; }
#page-audit .audit-cell-voucher { font-family:ui-monospace,SFMono-Regular,Consolas,monospace; }
#page-audit .audit-table-empty { padding:var(--rv-space-8) var(--rv-space-5); color:var(--rv-text-muted); text-align:center; }
#page-audit .data-table tbody td { background:#fff; }
#page-audit .data-table tbody tr:hover > td { background:var(--rv-surface-muted); }
#page-audit .audit-sortable { padding:0; transition:background-color .16s ease,color .16s ease; }
#page-audit .audit-header { width:100%; min-width:0; min-height:38px; display:flex; align-items:center; justify-content:space-between; gap:var(--rv-space-1); padding:var(--rv-space-1) var(--rv-space-2); }
#page-audit .audit-header-title { min-width:0; flex:1; overflow:hidden; color:inherit; text-align:left; text-overflow:ellipsis; white-space:nowrap; cursor:pointer; }
#page-audit .audit-header-controls { flex:0 0 auto; display:flex; align-items:center; gap:var(--rv-space-1); }
#page-audit .audit-sort-trigger { flex:0 0 1.5em; width:1.5em; height:1.5em; display:none; place-items:center; padding:0; border:1px solid transparent; border-radius:5px; background:transparent; color:var(--rv-text-muted); cursor:pointer; transition:background-color .15s ease,border-color .15s ease,color .15s ease; }
#page-audit .report-column-filter-trigger { display:none; flex-basis:1.5em; width:1.5em; height:1.5em; }
#page-audit .audit-sortable:hover .report-column-filter-trigger,
#page-audit .audit-sortable:focus-within .report-column-filter-trigger,
#page-audit .audit-sortable.has-column-filter .report-column-filter-trigger { display:grid; }
#page-audit .audit-sort-trigger:hover { border-color:var(--rv-border); background:var(--rv-surface); color:var(--rv-primary-hover); }
#page-audit .audit-sort-trigger:focus-visible { outline:2px solid var(--rv-primary-soft); outline-offset:1px; }
#page-audit .audit-sortable:hover { background:#f8fafc; color:var(--rv-primary); }
#page-audit .audit-sortable.is-sorted { background:var(--rv-primary-soft); color:var(--rv-primary); }
#page-audit .audit-sort-icon { opacity:0; color:inherit; font-size:12px; line-height:1; text-align:center; }
#page-audit .audit-sortable.is-sorted .audit-sort-trigger { display:grid; }
#page-audit .audit-sortable.is-sorted .audit-sort-icon { opacity:1; }
#page-audit .audit-sortable.is-sorted .audit-sort-trigger { border-color:var(--rv-primary); background:var(--rv-primary); color:var(--rv-surface); }
#page-audit .audit-column-filter-empty td { padding:36px 16px; color:var(--rv-text-muted); text-align:center; }
#page-audit .audit-table-actions { display:flex; align-items:center; gap:8px; }
@media(max-width:699px) { #page-audit .audit-table-actions { width:100%; flex-wrap:wrap; } }
#page-audit .data-table .au-bdg { display:inline-flex; align-items:center; min-height:20px; padding:2px 6px; border-radius:5px; font-size:10px; line-height:1; }
#page-audit .audit-detail-trigger { box-sizing:border-box; width:max-content; min-height:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; padding:0 var(--rv-space-2); border-color:var(--rv-primary); border-radius:5px; background:var(--rv-primary-soft); color:var(--rv-primary-hover); font-size:10px; font-weight:600; line-height:1; vertical-align:middle; transition:none; }
#page-audit .audit-detail-trigger:hover { border-color:var(--rv-primary-hover); background:var(--rv-primary); color:var(--rv-surface); }
#page-audit #auditResultsTable tbody tr.is-audit-selected > td,
#page-audit #auditResultsTable tbody tr.is-audit-selected:hover > td { background:var(--rv-primary-soft); }
#page-audit #auditResultsTable tbody tr.is-audit-selected > td:first-child { box-shadow:inset .1875rem 0 0 color-mix(in srgb,var(--rv-primary) 65%,transparent); }
#page-audit .results-toolbar label { display:flex; align-items:center; gap:6px; }
#page-audit .results-toolbar select { width:64px; min-height:30px; height:30px; }
#page-audit .report-table-card.is-loading { opacity:.58; pointer-events:none; }
#page-audit .ahidden { display:none; }
