/* Accountant (CA) portal: report list and viewer (builds on store.css + supplier.css). */
.sbs-ca-note { margin: 0 0 1.1rem; padding: .85rem 1.1rem; border-radius: 12px; background: #f1f5f9; color: #334155; font-size: .95rem; }
.sbs-ca-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .8rem; }
.sbs-ca-card { display: grid; gap: .25rem; padding: 1rem 1.1rem; border: 1px solid var(--s-line, #e2e8f0); border-radius: 14px; background: var(--s-surface, #fff); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sbs-ca-card:hover { transform: translateY(-2px); border-color: var(--s-accent, #0f766e); box-shadow: 0 10px 24px rgb(15 23 42 / 8%); }
.sbs-ca-card strong { font-size: 1.02rem; }
.sbs-ca-card span { color: var(--s-muted, #64748b); font-size: .88rem; line-height: 1.4; }
.sbs-ca-report__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.sbs-ca-report__head h2 { margin: 0 0 .2rem; }
.sbs-ca-report__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.sbs-ca-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem; margin: 0 0 1.1rem; padding: .9rem 1rem; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.sbs-ca-filter .sbs-field { margin: 0; }
.sbs-ca-tablewrap { overflow: auto; max-height: 70vh; border: 1px solid #e2e8f0; border-radius: 12px; }
.sbs-ca-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.sbs-ca-table th, .sbs-ca-table td { padding: .5rem .7rem; text-align: left; border-bottom: 1px solid #eef2f7; white-space: nowrap; }
.sbs-ca-table th { position: sticky; top: 0; background: #f1f5f9; font-weight: 700; color: #0f172a; z-index: 1; }
.sbs-ca-table td.is-num { text-align: right; font-variant-numeric: tabular-nums; }
.sbs-ca-table tbody tr:nth-child(even) td { background: #fafbfd; }
@media print {
	.sbs-ca-report__actions, .sbs-ca-filter, .sbs-tabs, .sbs-ca-note { display: none !important; }
	.sbs-ca-tablewrap { max-height: none; overflow: visible; border: 0; }
}

/* Books-of chooser (accounting reports and the accountant portal) */
.bs-books-scope { display: inline-flex; flex-direction: column; gap: .25rem; font-weight: 600; font-size: .85rem; }
.bs-books-scope select { min-height: 2.4rem; font-weight: 400; max-width: 100%; }
.bs-books-scope-note { margin: .2rem 0 .8rem; }
