/* Isolated layout for the closed cash review screen. */
#pos-closed-audit-panel {max-width:1380px;margin-inline:auto;min-width:0;color:#334b65;font-size:13px;line-height:1.5}
#pos-closed-audit-panel .ca-header {display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:20px}
#pos-closed-audit-panel h2 {margin:0 0 6px;color:#203e61;font-size:24px;letter-spacing:-.5px}
#pos-closed-audit-panel .ca-header p {margin:0;color:#64748b;font-size:13px;line-height:1.6}
#pos-closed-audit-panel .ca-actions {display:flex;gap:8px;flex-wrap:wrap}
#pos-closed-audit-panel .btn {padding:8px 12px;min-height:37px;line-height:1.4;font-size:12px;font-weight:600;white-space:normal;border-radius:7px}
#pos-closed-audit-panel .btn-secondary {border-color:#ccd9e8;color:#355575;background:#fff}
#pos-closed-audit-panel .ca-guide {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;padding:17px 20px;margin-bottom:18px;border:1px solid #dce6f3;border-radius:10px;background:#f0f5fc}
#pos-closed-audit-panel .ca-guide strong {font-size:12px;color:#355575}
#pos-closed-audit-panel .ca-guide p {margin:6px 0 0;font-size:11px;line-height:1.7;color:#64748b}
#pos-closed-audit-panel .ca-filters {display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid #dde5ef;border-radius:10px;padding:17px 20px;margin-bottom:18px}
#pos-closed-audit-panel .ca-filters label {display:flex;flex-direction:column;gap:6px;font-size:12px;color:#526780;font-weight:600;flex:1 1 160px;min-width:0}
#pos-closed-audit-panel .ca-filters .ca-search {flex:1.5 1 190px}
#pos-closed-audit-panel .ca-filters .form-control {display:block;height:38px;min-width:0;width:100%;padding:8px 10px;font-size:12px;border-radius:6px;border:1px solid #d3deeb;background:#fff;color:#415b77}
#pos-closed-audit-panel .ca-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px}
#pos-closed-audit-panel .ca-metric {min-width:0;padding:17px 18px;border:1px solid #dce5ef;border-radius:9px;background:#fff}
#pos-closed-audit-panel .ca-metric span {display:block;font-size:11px;color:#64748b;margin-bottom:8px}
#pos-closed-audit-panel .ca-metric strong {display:block;color:#244568;font-size:22px;line-height:1.3;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#pos-closed-audit-panel .ca-metric small {display:block;margin-top:5px;color:#64748b;font-size:10px;line-height:1.5}
#pos-closed-audit-panel .ca-panel {overflow:hidden;border:1px solid #dce5ef;border-radius:10px;background:#fff}
#pos-closed-audit-panel .ca-panel-header {display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;padding:16px 18px;background:#f1f6fc;border-bottom:1px solid #dce5ef}
#pos-closed-audit-panel .ca-panel-header h3 {margin:0;color:#294b71;font-size:15px}
#pos-closed-audit-panel .ca-panel-header span {font-size:11px;color:#64748b}
#pos-closed-audit-panel .ca-table-wrap {max-width:100%;min-width:0;overflow-x:auto}
#pos-closed-audit-panel .ca-table {width:100%;min-width:1110px;border-collapse:collapse;text-align:left;font-size:12px}
#pos-closed-audit-panel .ca-table th {padding:12px;background:#f7f9fc;border-bottom:1px solid #e1e8f1;color:#64748b;font-size:11px;font-weight:650;white-space:nowrap}
#pos-closed-audit-panel .ca-table td {padding:14px 12px;border-bottom:1px solid #edf1f6;vertical-align:middle;line-height:1.6}
#pos-closed-audit-panel .ca-table tbody tr:last-child td {border-bottom:0}
#pos-closed-audit-panel .ca-table tbody tr:hover {background:#fafcff}
#pos-closed-audit-panel .ca-table small {display:block;font-size:10px;color:#64748b;margin-top:4px}
#pos-closed-audit-panel .ca-table th:nth-child(5),#pos-closed-audit-panel .ca-table th:nth-child(6),#pos-closed-audit-panel .ca-table th:nth-child(7),#pos-closed-audit-panel .ca-money {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
#pos-closed-audit-panel .ca-date {white-space:nowrap;font-size:11px}
#pos-closed-audit-panel .ca-short,#pos-closed-audit-panel small.ca-short {color:#b42334}
#pos-closed-audit-panel .ca-surplus,#pos-closed-audit-panel small.ca-surplus {color:#975b10}
#pos-closed-audit-panel .ca-balanced {color:#047857}
#pos-closed-audit-panel .ca-muted {color:#64748b;font-size:11px;font-weight:400}
#pos-closed-audit-panel .ca-badge {display:inline-flex;align-items:center;border-radius:20px;border:1px solid;font-size:10px;font-weight:600;padding:4px 9px;white-space:nowrap}
#pos-closed-audit-panel .ca-reviewed {color:#047857;background:#f0fbf6;border-color:#c3e7d7}
#pos-closed-audit-panel .ca-pending {color:#975b10;background:#fffbef;border-color:#efe0b7}
#pos-closed-audit-panel .ca-row-actions {display:flex;justify-content:flex-end;gap:6px;flex-wrap:wrap}
#pos-closed-audit-panel .ca-row-actions .btn {min-height:33px;font-size:11px;padding:7px 10px;white-space:nowrap}
#pos-closed-audit-panel .ca-table th:last-child {text-align:right}
#pos-closed-audit-panel .ca-empty {padding:25px!important;text-align:center;color:#64748b}
#pos-closed-audit-panel .ca-scope {font-size:11px;line-height:1.7;color:#64748b;margin:12px 0 18px}
#pos-closed-audit-panel .ca-explanation {border-left:3px solid #b4cbe6;padding:12px 16px;background:#f1f5fa;border-radius:0 8px 8px 0;color:#64748b;font-size:12px;line-height:1.8}
#pos-closed-audit-panel .ca-explanation strong {color:#415d7c}
#pos-closed-audit-panel button:focus-visible,#pos-closed-audit-panel .form-control:focus-visible {outline:3px solid #9cbff0;outline-offset:2px}
@media(max-width:800px){
 #pos-closed-audit-panel .ca-guide {grid-template-columns:1fr;gap:14px;padding:16px}
 #pos-closed-audit-panel .ca-guide p {margin-top:3px}
 #pos-closed-audit-panel .ca-metrics {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #pos-closed-audit-panel .ca-filters {padding:15px;gap:12px}
 #pos-closed-audit-panel .ca-filters label,#pos-closed-audit-panel .ca-filters .ca-search {flex:1 1 140px}
 #pos-closed-audit-panel h2 {font-size:21px}
 #pos-closed-audit-panel .ca-metric {padding:14px}
 #pos-closed-audit-panel .ca-metric strong {font-size:19px}
}
