/* Phase 207: shared look for the Accountant pages (loans, owner's money, starting figures). Builds on reports.css. */
.ac .rk-btn { text-decoration: none !important; }
.ac .rk-head-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.ac-tabs a { padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--rk-ink-2); background: #f1f2f4; text-decoration: none !important; }
.ac-tabs a.on { background: #1a1d2b; color: #fff; }
.ac-note { font-size: 12.5px; color: var(--rk-ink-2); background: #f6f7f9; border-radius: 10px; padding: 9px 12px; margin-bottom: 14px; }
.ac-state { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; background: #eef0f3; color: #59606b; }
.ac-state.ACTIVE { background: #e3f4e8; color: #1d7a3a; }
.ac-state.REQUESTED { background: #fff4d6; color: #8a5a00; }
.ac-state.CLOSED { background: #e7effa; color: #1c5cab; }
.ac-state.WRITTEN_OFF, .ac-state.REJECTED { background: #fdecea; color: #b42318; }
.ac-flag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: #fff4d6; color: #8a5a00; white-space: nowrap; }
.ac-flag.bad { background: #fdecea; color: #b42318; }
.ac a.ac-open { font-weight: 600; }
.ac-modal .modal-content { border-radius: 14px; border: 0; }
.ac-modal .modal-body { background: #fcfcfb; }
.ac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ac-field label { display: block; font-size: 12px; font-weight: 600; color: var(--rk-ink-2); margin-bottom: 4px; }
.ac-field .form-control { height: 38px; border-radius: 8px; font-size: 14px; }
.ac-field small { display: block; font-size: 11.5px; color: var(--rk-muted); margin-top: 3px; }
.ac-field.wide { grid-column: 1 / -1; }
.ac-radio { display: flex; flex-direction: column; gap: 6px; }
.ac-radio label { font-weight: 500; font-size: 13.5px; color: var(--rk-ink); display: flex; gap: 8px; align-items: flex-start; margin: 0; cursor: pointer; }
.ac-radio label small { display: block; margin: 0; }
.ac-preview { background: #eaf2fc; color: #1c3f6e; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin-top: 12px; }
.ac-warn { background: #fff4d6; color: #6b4500; border-radius: 10px; padding: 9px 12px; font-size: 13px; margin-top: 12px; }
.ac-msg { font-size: 12.5px; border-radius: 8px; padding: 8px 10px; margin-top: 10px; color: var(--rk-bad); background: #fdecea; }
.ac-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ac-facts div { background: #fff; border: 1px solid var(--rk-border); border-radius: 10px; padding: 9px 11px; }
.ac-facts span { display: block; font-size: 11.5px; color: var(--rk-muted); }
.ac-facts b { font-size: 15px; font-variant-numeric: tabular-nums; }
.ac-list { font-size: 13.5px; line-height: 1.9; }
.ac-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid #eceef1; }
.ac-check:first-child { border-top: 0; }
.ac-check .ic { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: #eef0f3; color: #59606b; }
.ac-check .ic.done { background: #e3f4e8; color: #1d7a3a; }
.ac-check .tx { flex: 1; }
.ac-check .tx b { display: block; font-size: 14px; }
.ac-check .tx small { color: var(--rk-ink-2); font-size: 12.5px; }
.ac-amt { width: 140px; height: 32px; border: 1px solid #cfd4dc; border-radius: 7px; padding: 0 8px; text-align: right; font-variant-numeric: tabular-nums; }
.ac-upgrade { max-width: 560px; margin: 40px auto; text-align: center; }
.ac-upgrade .ic { font-size: 40px; color: var(--rk-muted); }
.ac-upgrade h2 { font-size: 22px; font-weight: 700; margin: 10px 0 6px; }
.ac-upgrade p { color: var(--rk-ink-2); font-size: 14.5px; }
@media (max-width: 767px) {
    .ac-grid { grid-template-columns: minmax(0, 1fr); }
    .ac-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ac .rk-head-actions { width: 100%; }
    .ac-amt { width: 110px; }
}
@media print { .ac .rk-head-actions, .ac-tabs, .ac .rk-controls, .ac-noprint { display: none !important; } }
