/* Opening Balances · Stitch owner. Scoped to this route; no compatibility overrides. */
.tv-route-frame.opening-balances:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){--ob-ink:#142d48;--ob-muted:#63758a;--ob-line:#d8e2ec;--ob-wash:#f3f7fb;--ob-blue:#0872bd;color:var(--ob-ink);gap:20px}
.opening-balances .workspace-hero:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){align-items:center}
.opening-balances .workspace-hero-copy:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){max-width:760px}
.opening-balances .workspace-stats:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.opening-balances .workspace-stats>*:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:0;border:1px solid var(--ob-line);border-radius:12px;background:#fff;padding:16px 18px;box-shadow:none}
.opening-balances .workspace-body:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:0;gap:16px}
.opening-balances .opening-balance-register:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){overflow:hidden;border:1px solid var(--ob-line);border-radius:14px;background:#fff;box-shadow:0 4px 16px #142d4809}
.opening-balances .opening-balance-filters:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:grid;grid-template-columns:minmax(260px,1fr) minmax(160px,220px) auto auto;align-items:end;gap:12px;padding:16px;background:var(--ob-wash);border-bottom:1px solid var(--ob-line)}
.opening-balances .opening-balance-filters label:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-width:0;gap:6px;color:var(--ob-muted);font-size:12px;font-weight:700}
.opening-balances .opening-balance-filters input:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.opening-balances .opening-balance-filters select:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-height:42px;width:100%;border:1px solid #bccada;border-radius:8px;background:#fff;padding:8px 11px;color:var(--ob-ink);font:inherit}
.opening-balances .opening-balance-register .table-wrap:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.opening-balances .opening-balance-register .data-table-wrap:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){max-width:100%;overflow:auto;overscroll-behavior-x:contain}
.opening-balances .opening-balance-register table:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){width:100%;min-width:900px;border-collapse:collapse;font-size:13px;line-height:1.45}
.opening-balances .opening-balance-register thead th:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:12px 14px;background:#f7f9fc;color:#53677d;text-align:left;font-size:11px;letter-spacing:.04em;text-transform:uppercase;border-bottom:1px solid var(--ob-line)}
.opening-balances .opening-balance-register tbody td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:13px 14px;border-bottom:1px solid #e8eef4;vertical-align:middle;color:var(--ob-ink)}
.opening-balances .opening-balance-register tbody tr:last-child td:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){border-bottom:0}
.opening-balances .opening-balance-register tbody tr:hover:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){background:#f7fbff}
.opening-balances .opening-balance-register td:nth-last-child(-n+3):where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)),.opening-balances .opening-balance-register th:nth-last-child(-n+3):where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){font-variant-numeric:tabular-nums}
.opening-balances .opening-balance-pagination:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 16px;border-top:1px solid var(--ob-line);color:var(--ob-muted);font-size:13px}
.opening-balances .opening-balance-pagination .ledger-pagination-actions:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){display:flex;gap:8px}
.opening-balances .opening-balance-server-host [aria-busy=true]:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){cursor:progress}
.opening-balances :focus-visible:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){outline:3px solid #0872bd;outline-offset:2px}
@media(max-width:760px){.opening-balances .workspace-stats:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:repeat(2,minmax(0,1fr))}.opening-balances .opening-balance-filters:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:minmax(0,1fr) minmax(140px,.7fr)}.opening-balances .opening-balance-filters .btn:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){min-height:42px}}
@media(max-width:420px){.opening-balances .workspace-stats:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){gap:8px}.opening-balances .workspace-stats>*:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){padding:12px}.opening-balances .opening-balance-filters:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){grid-template-columns:1fr}.opening-balances .opening-balance-pagination:where(:not(.tv-stitch-surface):not(.tv-stitch-surface *):not(.tv-home-v1):not(.tv-home-v1 *)){align-items:flex-start;flex-direction:column}}
