.gss-root{font-size:16px;line-height:1.5;min-width:0}.gss-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.gss-heading h1{font-size:32px;line-height:1.2;margin:0 0 8px}.gss-heading p{margin:0;color:#656d76}.gss-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.gss-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}.gss-total{border:1px solid #e0e3e7;border-radius:16px;background:#fff;padding:20px;display:flex;flex-direction:column;gap:8px;min-width:0}.gss-total>span{color:#5f6770;font-size:15px}.gss-total strong{font-size:28px;line-height:1.25;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.gss-total small{font-size:13px;color:#747c85}.gss-total-due{background:#fff9d9;border-color:#e6ce60}.gss-total-overdue{background:#fff0ed;border-color:#e9beb4}.gss-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:20px;margin:22px 0}.gss-root label,.gss-dialog label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:#414b55;min-width:0}.gss-root input,.gss-root select,.gss-dialog input,.gss-dialog select,.gss-dialog textarea{font:inherit;font-size:16px;color:#232b33;background:#fff;border:1px solid #cbd1d8;border-radius:10px;min-height:44px;box-sizing:border-box;padding:10px 12px;width:100%;max-width:100%}.gss-root input:focus,.gss-root select:focus,.gss-dialog input:focus,.gss-dialog select:focus,.gss-dialog textarea:focus{outline:3px solid #537aaf3b;outline-offset:1px;border-color:#537aaf}.gss-filter-note{grid-column:1/-1;margin:0;font-size:13px;color:#68727d}.gss-root>.gs-panel{margin:22px 0}.gss-root h2{font-size:22px}.gss-root .gs-panel-head p{color:#69727d;margin:4px 0 0;font-size:14px}.gss-root td small,.gss-root td>a{display:block;margin-top:4px}.gss-root td:not(:first-child){font-variant-numeric:tabular-nums}.gss-root th,.gss-root td{vertical-align:top}.gss-due{font-weight:700;color:#604d00}.gss-balances{min-width:1030px}.gss-plans{min-width:1050px}.gss-balances td:first-child{min-width:260px}.gss-group>summary{cursor:pointer;list-style:none;position:relative;padding-left:20px}.gss-group>summary:before{content:'›';position:absolute;left:0;font-size:24px;line-height:1.1}.gss-group[open]>summary:before{transform:rotate(90deg)}.gss-group>summary strong,.gss-group>summary span{display:block}.gss-group>summary span{font-weight:400;color:#6d7680;margin-top:3px}.gss-group-content{padding:16px 0;max-width:none;width:100%;min-width:0}.gss-work-table{font-size:13px;min-width:430px}.gss-work-table td{padding:9px!important}.gss-row-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:180px}.gss-status{display:inline-block;border-radius:999px;background:#eef0f3;padding:4px 10px;font-size:13px;font-weight:600;white-space:nowrap}.gss-status-paid{color:#226142;background:#e2f1e8}.gss-status-planned{background:#fff4c3;color:#6b5700}.gss-status-cancelled,.gss-status-reversed{background:#f0f0f0;color:#777}.gss-status-partially_reversed{background:#fff0e2;color:#87581f}.gss-overdue-row td{background:#fff9f7}.gss-overdue-label{color:#a34232;font-weight:600}.gss-ledger-link{font-size:13px}.gss-note{font-size:14px;line-height:1.55;color:#66717c}.gss-empty{padding:24px;color:#69727d}.gss-dialog{font:16px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;color:#222b34;border:1px solid #d5dae1;border-radius:18px;padding:24px;width:min(740px,calc(100vw - 32px));max-width:740px;max-height:calc(100dvh - 40px);overflow:auto;box-sizing:border-box;box-shadow:0 24px 100px #10203040;background:#fff}.gss-dialog::backdrop{background:#15202d80}.gss-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:18px}.gss-dialog h2{font-size:24px;line-height:1.3;margin:0}.gss-dialog h3{font-size:17px}.gss-dialog form>label,.gss-dialog [data-plan-sources]{margin:18px 0}.gss-dialog .gs-btn{font-size:15px}.gss-dialog-intro{color:#69727d}.gss-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.gss-payment-facts{display:grid;grid-template-columns:140px minmax(0,1fr);gap:8px 12px;background:#f5f7f9;border-radius:12px;padding:16px;margin:18px 0}.gss-payment-facts dt{font-size:14px;color:#69727d}.gss-payment-facts dd{margin:0;font-weight:600;overflow-wrap:anywhere}.gss-confirm-label{color:#755a00;background:#fff5ca;border:1px solid #e4ce70;border-radius:10px;padding:12px 14px}.gss-confirm-amount{font-size:26px}.gss-dialog label.gss-check{flex-direction:row;align-items:flex-start;gap:10px;font-weight:500}.gss-check input{width:20px;height:20px;min-height:20px;padding:0;margin:2px 0;flex:0 0 20px}.gss-allocation-list{list-style:none;padding:0;margin:10px 0;display:flex;flex-direction:column;gap:8px}.gss-allocation-list li{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;overflow-wrap:anywhere}.gss-allocation-list strong{white-space:nowrap}.gss-allocation-editor{border:1px solid #d4dbe2;border-radius:12px;padding:14px}.gss-allocation-editor legend{font-weight:600}.gss-allocation-editor label{margin:8px 0}.gss-dialog [data-dialog-error]:not(:empty){padding:12px;background:#fff0ed;border:1px solid #e7c1b9;border-radius:10px}.gss-dialog[aria-busy=true]{cursor:wait}.gss-dialog button:disabled{opacity:.5;cursor:wait}@media(max-width:1000px){.gss-heading{align-items:flex-start;flex-direction:column}.gss-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.gss-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.gss-heading h1{font-size:27px}.gss-totals,.gss-filters,.gss-form-grid{grid-template-columns:1fr}.gss-total{padding:16px}.gss-total strong{font-size:26px}.gss-dialog{padding:18px;width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.gss-dialog-head{gap:10px}.gss-dialog h2{font-size:21px}.gss-payment-facts{grid-template-columns:1fr;gap:4px}.gss-payment-facts dd{margin-bottom:8px}.gss-actions .gs-btn{flex:1 1 150px}.gss-allocation-list li{gap:8px;flex-wrap:wrap}}
.gss-payment-history{padding:0;list-style:none;display:flex;flex-direction:column;gap:9px}.gss-payment-history li{display:flex;gap:12px;justify-content:space-between;align-items:flex-start}.gss-payment-history strong{white-space:nowrap}.gss-payment-history small{display:block;color:#737d87}.gss-unlinked{padding:18px;border-color:#e1cc79!important;background:#fffcf0!important}.gss-unlinked>summary{cursor:pointer;color:#705a10}.gss-unlinked>p{font-size:14px;color:#7b704e}.gss-unlinked .gs-table-wrap{margin-top:16px}

.gss-group-toggle{display:block;position:relative;width:100%;text-align:left;padding:0 0 0 24px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}.gss-group-toggle:before{content:"›";position:absolute;left:0;top:0;font-size:24px;line-height:1.1}.gss-group-toggle[aria-expanded=true]:before{transform:rotate(90deg)}.gss-group-toggle strong,.gss-group-toggle span{display:block}.gss-group-toggle span{font-weight:400;color:#6d7680;margin-top:3px}.gss-details-row[hidden]{display:none!important}.gss-details-row>td{padding:0 22px!important;background:#fafbfd}.gss-group-content>.gs-table-wrap{width:100%;max-width:none;margin:14px 0;overflow-x:auto}.gss-group-content .gss-work-table{width:100%;min-width:620px;font-size:15px}.gss-group-content .gss-payment-history{max-width:none;width:100%}.gss-group-content h4{margin:18px 0 10px;font-size:16px}.gss-group-content .gss-work-table td:first-child{width:55%;min-width:260px}.gss-group-content .gss-work-table th:not(:first-child),.gss-group-content .gss-work-table td:not(:first-child){white-space:nowrap}.gss-balances>tbody>.gss-balance-row>td{vertical-align:top}.gss-balances>tbody>.gss-details-row>td{width:auto}.gss-group-content p{margin:10px 0}
