.billing-overview{color:var(--ink,#173047);width:100%;min-width:0}.billing-overview *{box-sizing:border-box}.bo-heading,.bo-pages,.bo-tabs{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.bo-heading h2{margin:.25em 0}.bo-tabs{justify-content:flex-start;margin:20px 0}.bo-tabs [aria-current=page]{border-bottom:3px solid #315e82;font-weight:700}.bo-filters{display:grid;grid-template-columns:2fr 1.3fr 1fr 1fr auto auto;gap:12px;align-items:end}.billing-overview label{display:grid;gap:6px;min-width:0}.billing-overview input,.billing-overview select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #a9bac7;border-radius:6px;font:inherit}.billing-overview button{min-height:44px;min-width:44px;white-space:normal;overflow-wrap:anywhere;padding:10px 16px;font:inherit;cursor:pointer}.billing-overview .primary{background:#315e82;color:white;border:1px solid #315e82;border-radius:6px}.billing-overview .secondary,.bo-tabs button,.bo-pages button{background:white;color:#173047;border:1px solid #a9bac7;border-radius:6px}.billing-overview :focus-visible{outline:3px solid #1969af;outline-offset:3px}.bo-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:24px 0}.bo-totals>div{padding:18px;background:#eff4f8;border-radius:10px}.bo-totals dd{font-weight:700;font-size:1.35rem;margin:8px 0 0}.bo-rows{display:grid;gap:12px}.bo-record{display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,3fr) auto;gap:20px;align-items:center;border:1px solid #d6e0e8;padding:20px;border-radius:12px;background:white;overflow-wrap:anywhere}.bo-record h3{margin:0;font-size:1rem}.bo-record p{margin:6px 0}.bo-record dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:12px;margin:0}.bo-record dt{font-size:.85rem;color:#4e6171}.bo-record dd{margin:4px 0 0}.bo-status{min-height:1.5em;margin:18px 0}.bo-error{color:#992322}.bo-pages{margin-top:20px}.bo-matter-dialog{width:min(640px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #a9bac7;border-radius:12px;padding:24px}.bo-matter-dialog::backdrop{background:rgb(20 35 50 / .4)}.bo-matter-dialog label{display:grid;gap:8px}.bo-matter-dialog select{min-height:44px;max-width:100%;width:100%}@media(max-width:1050px){.bo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.bo-record{grid-template-columns:minmax(0,1fr)}.bo-record button{justify-self:start}}@media(max-width:480px){.bo-filters,.bo-totals{grid-template-columns:minmax(0,1fr)}.bo-record{padding:16px}.bo-record dl{grid-template-columns:repeat(2,minmax(0,1fr))}.bo-heading>*{max-width:100%}.bo-matter-dialog{padding:16px}.bo-pages>*{max-width:100%;overflow-wrap:anywhere}}
.billing-selected-record {outline:2px solid var(--brand-primary, #315e78);outline-offset:-2px;background:var(--surface-subtle,#f1f6f8)}
.bo-next,.bo-pending,.bo-empty{padding:18px;border:1px solid #c4d4e0;border-radius:10px;overflow-wrap:anywhere;margin:16px 0}.bo-next p{margin-top:0}.bo-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.bo-row-action{max-width:16rem}.bo-row-action p{font-size:.9rem}.bo-record{grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr)}.billing-overview [data-bo-work]{min-width:0}.billing-overview [data-bo-work]>[role=alert]{overflow-wrap:anywhere}.bo-status{overflow-wrap:anywhere}@media(max-width:1050px){.bo-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.bo-record{grid-template-columns:minmax(0,1fr)}}@media(max-width:480px){.bo-filters{grid-template-columns:minmax(0,1fr)}}
