.accounting-page { display: grid; gap: 16px; }
.accounting-page .page-intro { margin-bottom: 0; }
.accounting-sample-note { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 13px; border: 1px solid #dcebe8; border-radius: 12px; color: #536e72; background: rgba(255,255,255,.78); font-size: 11px; }
.accounting-sample-note .ic { width: 16px; height: 16px; color: var(--a-primary); }
.accounting-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 13px 15px; border: 1px solid var(--a-line); border-radius: 16px; background: rgba(255,255,255,.84); }
.accounting-filters .date-range-filter { flex: 1 1 400px; }
.accounting-quick-filters { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.accounting-quick-filters .filter-select { min-width: 150px; height: 38px; }
.accounting-clear { min-height: 38px; white-space: nowrap; }
.accounting-sort-hint { color: var(--a-muted); font-size: 10px; white-space: nowrap; }
.accounting-table { min-width: 1050px; }
.accounting-table th { padding: 0 7px; }
.accounting-table th:first-child { width: 13%; }
.accounting-table th:nth-child(2) { width: 25%; }
.accounting-table th:nth-child(3) { width: 12%; }
.accounting-table th:nth-child(4) { width: 14%; }
.accounting-table th:nth-child(5) { width: 14%; }
.accounting-table th:nth-child(6) { width: 14%; }
.accounting-table th:last-child { width: 8%; }
.accounting-sort { display: flex; align-items: center; justify-content: space-between; gap: 5px; width: 100%; min-height: 44px; padding: 0; border: 0; color: inherit; background: transparent; font-size: 10px; font-weight: 700; text-align: start; cursor: pointer; }
.accounting-sort span { color: var(--a-primary-deep); font-size: 13px; }
.accounting-table td { height: auto; padding: 5px 6px; font-size: 10px; line-height: 1.4; }
.accounting-table td b { font-size: 10px; }
.accounting-table .cell-sub { font-size: 8px; line-height: 1.35; }
.accounting-patient-meta { white-space: nowrap; }
.accounting-date-cell,.accounting-amount-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }
.accounting-amount-cell b { color: var(--a-ink); }
.accounting-card-number,.accounting-reference { font-variant-numeric: tabular-nums; white-space: nowrap; }
.accounting-unmatched { color: var(--a-warning) !important; }
.accounting-table .status-badge { min-height: 24px; padding-inline: 7px; font-size: 9px; }
.accounting-table .row-action { min-height: 40px; padding-inline: 9px; }
.accounting-empty-cell { height: 100px !important; color: var(--a-muted) !important; text-align: center; }
.accounting-detail-modal { width: min(100%, 660px); }
.accounting-detail-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 0; }
.accounting-detail-grid > div { min-width: 0; padding: 10px 12px; border: 1px solid var(--a-line); border-radius: 12px; background: var(--a-surface-soft); }
.accounting-detail-grid dt { color: var(--a-muted); font-size: 10px; }
.accounting-detail-grid dd { margin: 3px 0 0; color: var(--a-ink); font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.accounting-detail-note { margin-top: 14px; padding: 10px 12px; border-radius: 11px; color: var(--a-muted); background: #f3f8f7; font-size: 10px; }
@media (max-width: 780px) { .accounting-page { gap: 12px; }.accounting-filters { padding: 11px; }.accounting-filters .date-range-filter { flex-basis: 100%; }.accounting-quick-filters { width: 100%; }.accounting-quick-filters .filter-select { flex: 1; min-width: 0; }.accounting-sort-hint { display: none; }.accounting-detail-grid { grid-template-columns: 1fr; } }
