.st-workspace{--st-blue:#287bd4;--st-line:#dfe5ed;--st-ink:#34475b;background:#fff;border:1px solid var(--st-line);border-radius:10px;padding:22px;color:var(--st-ink);font-size:13px;min-width:0}.st-workspace[hidden],.st-bulk[hidden]{display:none!important}.st-workspace *,.st-dialog *{box-sizing:border-box}.st-top{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.st-eyebrow{color:#7b8d9f;letter-spacing:1.5px;font-size:10px}.st-top h2{font-size:25px;margin:6px 0 0;color:#355975;line-height:1.3}.st-view-tools{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.st-workspace label,.st-dialog label{display:flex;flex-direction:column;gap:5px;font-size:11px;color:#748495}.st-workspace input,.st-workspace select,.st-dialog input,.st-dialog select,.st-dialog textarea{background:#f8fafc;color:#30495f;border:1px solid #dbe4ee;border-radius:6px;padding:8px 10px;font:inherit;font-size:12px;max-width:100%;height:auto}.st-workspace select{min-width:120px}.st-workspace input[type=checkbox],.st-dialog input[type=checkbox]{width:17px;height:17px;margin:0;accent-color:#287bd4;cursor:pointer}.st-button,.st-primary{border:1px solid #d6e1ed;border-radius:6px;background:#fff;color:#38648b;padding:8px 12px;font:inherit;font-weight:600;font-size:12px;cursor:pointer;white-space:nowrap;line-height:1.4}.st-primary{background:#287bd4;color:white;border-color:#287bd4}.st-button:hover:not(:disabled){background:#eef6ff}.st-primary:hover:not(:disabled){background:#2268b3}.st-workspace button:disabled,.st-dialog button:disabled{opacity:.45;cursor:not-allowed}.st-workspace :focus-visible,.st-dialog :focus-visible{outline:3px solid #8fc4ff;outline-offset:2px}.st-tabs{display:flex;border-bottom:1px solid var(--st-line);gap:10px;overflow:auto;margin-bottom:18px}.st-tab{display:flex;align-items:center;gap:9px;white-space:nowrap;background:none;border:0;border-bottom:3px solid transparent;color:#6a7a89;padding:12px 15px;font:inherit;cursor:pointer}.st-tab[aria-selected=true]{border-bottom-color:#287bd4;color:#287bd4;font-weight:700}.st-count{font-size:10px;background:#f0f4f8;color:#718497;border-radius:10px;padding:3px 7px;min-width:20px;text-align:center}.st-tab[aria-selected=true] .st-count{background:#e7f2ff;color:#287bd4}.st-toolbar{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin-bottom:12px}.st-toolbar>label{flex:1;min-width:120px;max-width:220px}.st-toolbar input[type=search]{min-width:180px;flex:1}.st-note{font-size:11px;line-height:1.6;color:#8190a0;margin:10px 0 18px}.st-message:empty{display:none}.st-message{background:#eef6ff;color:#2e699e;padding:12px;border-radius:6px;font-size:12px;line-height:1.5}.st-error{background:#fff1ee;color:#a14031}.st-bulk{background:#eef6ff;border:1px solid #d6e8fc;padding:9px 12px;border-radius:7px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:12px 0}.st-bulk>span:first-child{margin-right:auto;font-size:12px;color:#356b9e}.st-table-wrap{width:100%;overflow:auto;border:1px solid var(--st-line);border-radius:6px}.st-table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.st-table th{background:#f4f6f8;color:#6c7885;font-weight:700;padding:9px 10px;white-space:nowrap;border-bottom:1px solid #dce4ed}.st-table td{padding:8px 10px;border-bottom:1px solid #e4e9ef;line-height:1.5}.st-table thead th:first-child{width:38px}.st-table tbody tr:nth-child(even){background:#f8fafc}.st-table tbody tr:hover{background:#f0f7ff}.st-sort{background:none;border:0;color:inherit;font:inherit;padding:0;cursor:pointer;text-align:inherit}.st-money{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}.st-amount{font-weight:700;color:#31465a}.st-link{background:none;border:0;padding:0;color:#227bd7;font:inherit;cursor:pointer;text-decoration:underline;text-underline-offset:2px;text-align:left}.st-table tfoot th,.st-table tfoot td{background:#f4f8fc;border-top:2px solid #d5dfeb;padding:12px 10px;color:#3d5871;font-size:12px}.st-empty{text-align:center;padding:72px 20px;color:#7a8da0;font-size:13px;line-height:1.6;border-bottom:1px solid #e2e8f0}.st-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding-top:14px;color:#7b8c9d;font-size:11px}.st-footer>span:first-child{margin-right:auto}.st-dialog{width:min(880px,95vw);max-height:90vh;overflow:auto;padding:26px;border:1px solid #d9e4ee;border-radius:12px;color:#30485c;font:13px/1.6 system-ui;box-shadow:0 20px 75px #172a4630}.st-dialog::backdrop{background:#152b4260}.st-dialog header{display:flex;align-items:center;gap:20px;justify-content:space-between;margin-bottom:12px}.st-dialog h2{font-size:22px;margin:0}.st-close{background:none;border:0;font-size:26px;color:#7890a3;cursor:pointer}.st-dialog form{display:grid;gap:14px;margin:18px 0}.st-dialog textarea{min-height:70px;resize:vertical;width:100%}.st-dialog form>button{justify-self:start}.st-dialog .st-note{margin:4px 0 8px}.st-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.st-form-grid input,.st-form-grid select{width:100%}.st-subtitle{color:#63819c}.st-detail-totals{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:20px 0}.st-detail-totals>div{background:#f3f7fc;border:1px solid #e2e9f2;border-radius:8px;padding:14px}.st-detail-totals span{display:block;font-size:11px;color:#748a9d}.st-detail-totals strong{font-size:20px;display:block;margin-top:5px}.st-detail-table{overflow:auto;max-height:360px;border:1px solid #e1e8f0;border-radius:7px;margin-top:20px}.st-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.st-column-list>div{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #edf2f7}.st-column-list label{flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:12px;flex:1;font-size:13px;color:#3c566e}.st-column-list{margin-bottom:20px}.st-dialog .st-table{font-size:12px}@media(max-width:1050px){.st-top{align-items:start;flex-direction:column}.st-toolbar>label{max-width:none}.st-detail-totals{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.st-workspace{padding:14px}.st-tabs{gap:0}.st-tab{padding:10px}.st-view-tools{width:100%}.st-toolbar>label{min-width:40%}.st-form-grid{grid-template-columns:1fr}.st-dialog{padding:18px}.st-detail-totals strong{font-size:16px}.st-toolbar input[type=search]{width:100%}}
/* Statement register and adjacent detail panel. */
.st-workspace{padding:0;overflow:hidden}.st-main{min-width:0;padding:22px}.st-workspace.st-has-drawer{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,440px);align-items:start}.st-has-drawer .st-top{align-items:flex-start;flex-direction:column;gap:12px}.st-has-drawer .st-toolbar>label{min-width:130px;max-width:none}.st-period-dates{display:flex;gap:10px;flex-basis:100%}.st-period-dates[hidden],.st-drawer[hidden]{display:none!important}.st-period-dates label{flex:1;max-width:220px}.st-date{white-space:nowrap}.st-entity{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-table td{white-space:nowrap}.st-table tr.st-selected,.st-table tr.st-selected:nth-child(even){background:#e8f3ff}.st-table-wrap{max-height:65vh}.st-table thead th{position:sticky;top:0;z-index:1}.st-table tfoot td,.st-table tfoot th{position:sticky;bottom:0}.st-drawer{min-width:0;border-left:1px solid #dce5ef;box-shadow:-6px 0 20px #334b6910;background:#fff;display:flex;flex-direction:column;height:min(900px,calc(100vh - 110px));min-height:500px;position:sticky;top:12px}.st-drawer-header{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid #e0e7ef;flex-shrink:0}.st-drawer-header h3{flex:1;font-size:17px;line-height:1.4;color:#2c435a;margin:0;overflow-wrap:anywhere}.st-drawer-header .st-close{font-size:23px;padding:0 4px}.st-drawer-body{padding:18px 20px;overflow:auto;flex:1;min-height:0}.st-drawer-status{display:flex;gap:10px;align-items:center;justify-content:space-between;color:#738496;font-size:12px}.st-status{display:inline-flex;padding:4px 9px;border-radius:12px;font-size:10px;font-weight:700;white-space:nowrap;background:#eef3f8;color:#516982}.st-status-review{background:#fff0e5;color:#9c5d29}.st-status-approved{background:#e8f4ed;color:#2b7550}.st-status-paid,.st-status-void{background:#e9ecef;color:#586879}.st-status-draft{background:#e8f2ff;color:#2c77c5}.st-statement-tools{display:flex;justify-content:flex-end;gap:8px;margin:15px 0}.st-statement-tools .st-button{font-size:11px;padding:6px 9px}.st-details-summary{padding:14px;border:1px solid #e2e9f0;border-radius:8px}.st-detail-pair{display:flex;gap:12px;justify-content:space-between;line-height:1.6;font-size:11px;margin:4px 0}.st-detail-pair>span{color:#7a8795;white-space:nowrap}.st-detail-pair strong{text-align:right;font-weight:600;overflow-wrap:anywhere}.st-headline-totals{display:grid;grid-template-columns:1fr 1fr;background:#f4f7fa;border-radius:8px;margin-top:16px;padding:16px}.st-headline-totals>div+div{border-left:1px solid #dce5ed;padding-left:16px}.st-headline-totals span{display:block;color:#738191;font-size:11px;margin-bottom:7px}.st-headline-totals strong{font-size:21px;line-height:1.3;color:#263f55;overflow-wrap:anywhere}.st-drawer .st-detail-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.st-drawer .st-detail-totals>div{padding:10px;background:#fff}.st-drawer .st-detail-totals strong{font-size:15px}.st-transactions-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:20px 0 12px}.st-transactions-title h4{margin:0;color:#657789;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase}.st-transactions-title .st-button{font-size:10px;padding:6px 8px}.st-payment-group{border:1px solid #dce4ed;border-radius:8px;margin:12px 0;overflow:hidden}.st-payment-group summary{cursor:pointer;padding:15px 13px;background:#f6f8fa;font-weight:650;font-size:13px;list-style:none;display:flex;gap:8px;align-items:center}.st-payment-group summary:before{content:'›';font-size:22px;color:#8593a0;font-weight:400;line-height:16px}.st-payment-group[open] summary:before{transform:rotate(90deg)}.st-payment-group summary>span{flex:1}.st-payment-group summary>strong{white-space:nowrap}.st-payment-content{padding:12px}.st-payment-content>.st-button{font-size:11px}.st-line-item{border-bottom:1px solid #e5eaf0;padding:12px 0}.st-line-item:last-child{border-bottom:0}.st-line-item>div{display:flex;gap:12px;justify-content:space-between;align-items:start;font-size:12px}.st-line-item>div>strong:first-child{font-weight:550;overflow-wrap:anywhere}.st-line-item small{display:block;color:#8091a1;font-size:10px;margin-top:5px}.st-line-item>.st-link{font-size:10px;margin-top:7px}.st-edit-details{border-top:1px solid #e2e8f0;margin-top:20px;padding-top:15px}.st-edit-details>summary{cursor:pointer;font-size:12px;color:#307cbd}.st-edit-details form{display:grid;gap:12px;margin:14px 0}.st-drawer .st-form-grid{grid-template-columns:1fr}.st-drawer textarea{min-height:80px;resize:vertical}.st-drawer-footer{border-top:1px solid #e0e7ef;background:#fcfdff;padding:15px 18px;display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.st-drawer-footer .st-button,.st-drawer-footer .st-primary{font-size:11px}.st-drawer-footer .st-void{color:#a96357}.st-closed-note{color:#83909d;font-size:11px}.st-statement-card{display:grid;grid-template-columns:1fr auto;gap:8px;padding:16px 0;border-bottom:1px solid #e0e7ee}.st-statement-card small{grid-column:1/-1;color:#8391a0}.st-statement-notes{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#65778a;font-size:12px}.st-workspace.st-drawer-expanded{grid-template-columns:1fr}.st-drawer-expanded>.st-main{display:none}.st-drawer-expanded>.st-drawer{width:100%;border-left:0}.st-drawer-expanded .st-drawer-body{max-width:1000px;width:100%;margin:auto}.st-drawer-expanded .st-detail-totals{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.st-workspace.st-has-drawer{display:flex;flex-direction:column}.st-has-drawer>.st-main{width:100%}.st-drawer{width:100%;order:-1;border-left:0;border-bottom:1px solid #dce5ef;height:75vh;min-height:460px;position:static}.st-drawer-expanded>.st-main{display:none}.st-main{padding:16px}.st-headline-totals strong{font-size:20px}}
@media(max-width:500px){.st-main{padding:12px}.st-drawer-body{padding:14px}.st-drawer-header{padding:14px}.st-toolbar>label{min-width:45%}.st-tabs{gap:0}.st-tab{padding:10px 7px;font-size:11px}.st-transactions-title{align-items:flex-start;flex-direction:column}.st-headline-totals strong{font-size:17px}.st-drawer-expanded .st-detail-totals{grid-template-columns:repeat(2,1fr)}}

.st-drawer{height:min(850px,calc(100vh - 270px));min-height:480px}.st-amount-breakdown{margin:12px 0}.st-amount-breakdown>summary{font-size:11px;color:#6282a0;cursor:pointer}.st-drawer .st-detail-totals{margin:10px 0}.st-transactions-title{margin-top:16px}@media(max-width:900px){.st-drawer{height:75vh;min-height:460px}}

.st-payment-group summary>.st-add-payment{padding:3px 8px;font-size:11px;line-height:1.35;border-color:#bccbd9;font-weight:500;background:#fff;color:#3c607f;flex-shrink:0}.st-payment-group summary>.st-add-payment:hover{background:#eaf4ff}.st-payment-group summary:has(.st-add-payment)>span{flex:0 1 auto;margin-right:2px}.st-payment-group summary:has(.st-add-payment)>strong{margin-left:auto}
