.btu-profile-option{padding:10px 18px;border-top:1px solid #e4eaf3;background:#fffcf5;display:grid;grid-template-columns:1fr auto;gap:3px 18px;color:#18345c}.btu-profile-option[hidden]{display:none}.btu-profile-option>label:first-child{display:flex;align-items:center;gap:8px;font-weight:600}.btu-profile-option small{font-weight:400;font-size:12px}.btu-profile-option .btu-effective{grid-column:2;grid-row:1/3;display:flex;align-items:center;gap:8px;font-size:12px}.btu-profile-option input[type=date]{width:145px;min-height:34px;padding:5px}.btu-profile-option input[type=checkbox]{accent-color:#aa781a;width:16px;height:16px}.btu-overlay{position:fixed;inset:0;background:#0c213a70;z-index:11000;display:flex;align-items:center;justify-content:center;padding:20px}.btu-dialog{width:min(940px,100%);max-height:90dvh;background:#fff;color:#173257;border:1px solid #dde5ef;border-radius:16px;display:flex;flex-direction:column;box-shadow:0 20px 70px #10294640}.btu-dialog header,.btu-dialog footer{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 18px}.btu-dialog header{border-bottom:1px solid #e4eaf3}.btu-dialog h3{margin:0;font-size:19px;color:#102746}.btu-body{padding:14px 18px;overflow:auto;overscroll-behavior:contain}.btu-dialog footer{border-top:1px solid #e4eaf3;justify-content:flex-end;flex-wrap:wrap}.btu-dialog button{min-height:34px;padding:6px 12px;border:1px solid #d5dfeb;border-radius:7px;background:white;color:#173257;font-size:13px;cursor:pointer}.btu-dialog button:hover{background:#edf3fa;color:#0d2d58}.btu-dialog button.btu-primary{background:#112947;color:white;border-color:#112947}.btu-dialog button.btu-primary:hover{background:#234b75;color:white}.btu-dialog button:disabled{opacity:.5;cursor:default}.btu-dialog label{display:flex;flex-direction:column;gap:5px;font-weight:500;font-size:13px;margin:9px 0}.btu-dialog input,.btu-dialog select,.btu-dialog textarea{min-height:34px;padding:7px 9px;border:1px solid #d5dfeb;border-radius:7px;background:#fff;color:#173257;font:inherit;width:100%;box-sizing:border-box}.btu-dialog textarea{min-height:65px;resize:vertical}.btu-dialog input[type=checkbox]{width:17px;height:17px;min-height:17px;accent-color:#aa781a}.btu-dialog small{display:block;font-weight:400;font-size:12px;line-height:1.45;color:#697e99}.btu-dialog p{font-size:13px;line-height:1.5;margin:8px 0}.btu-dialog details{border:1px solid #e1e7ef;border-radius:8px;padding:9px 12px;margin:10px 0}.btu-dialog summary{cursor:pointer;font-size:13px;font-weight:600}.btu-dialog li{font-size:13px;margin:5px 0}.btu-dialog fieldset{border:1px solid #e1e7ef;border-radius:9px;padding:10px;display:grid;grid-template-columns:1fr 1fr;gap:10px}.btu-dialog fieldset small{grid-column:1/-1}.btu-dialog em{color:#d33;font-style:normal}.btu-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.btu-amounts>div{background:#f4f7fb;border:1px solid #e3eaf3;border-radius:10px;padding:10px;display:flex;flex-direction:column;gap:5px;min-width:0}.btu-amounts span,.btu-amounts strong{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums}.btu-amounts strong{color:#14705b}.btu-warning,.btu-error{background:#fff6e3;border:1px solid #ecd19a;color:#855d13;padding:9px;border-radius:8px}.btu-error{background:#fff2f2;border-color:#f4c5c5;color:#a62323}.btu-error[hidden]{display:none}.btu-success{background:#eaf8f1;color:#13634c;border-radius:8px;padding:9px}.btu-result-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btu-result-list article{border:1px solid #e1e7ef;border-radius:9px;padding:10px}.btu-result-list article>div{display:flex;justify-content:space-between;gap:8px}.btu-status{background:#fff2d5;color:#855d13;font-size:11px;border-radius:15px;padding:3px 8px;align-self:start}.btu-status.good{background:#e4f6ed;color:#12654d}.btu-history-row{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e4eaf3;padding:9px;gap:8px}.btu-dialog label.btu-allocation-row{display:grid;grid-template-columns:18px 1fr 100px;gap:10px;align-items:center;border-bottom:1px solid #e4eaf3;padding:8px}.btu-allocation-list{max-height:36dvh;overflow:auto}.btu-tools{display:flex;gap:8px;justify-content:flex-end;margin:8px 0}.btu-tools button{border:1px solid #d5dfeb;background:#fff;color:#173257;border-radius:7px;padding:7px 12px;cursor:pointer}@media(max-width:650px){.btu-overlay{padding:8px}.btu-dialog{max-height:95dvh;border-radius:12px}.btu-body,.btu-dialog header,.btu-dialog footer{padding:10px 12px}.btu-amounts{grid-template-columns:1fr 1fr}.btu-result-list{grid-template-columns:1fr}.btu-dialog h3{font-size:17px}.btu-dialog fieldset{grid-template-columns:1fr}.btu-profile-option{grid-template-columns:1fr;padding:9px 12px}.btu-profile-option .btu-effective{grid-column:1;grid-row:auto}.btu-dialog footer button{flex:1;min-height:40px}.btu-amounts span,.btu-amounts strong{font-size:14px}.btu-dialog label.btu-allocation-row{grid-template-columns:18px 1fr 85px}}
.ub-biller-dialog .ub-tds-row .ub-tds-check{grid-column:1;grid-row:1}.ub-biller-dialog .ub-tds-row .ub-tds-fields{grid-column:2;grid-row:1}.ub-biller-dialog .ub-tds-fields .ub-tds-picker,.ub-biller-dialog .ub-tds-fields .ub-tds-rate{grid-column:auto;grid-row:auto}.ub-biller-dialog .btu-profile-option{flex:0 0 auto}
@media(max-width:850px){.ub-biller-dialog .ub-tds-fields .ub-tds-picker{grid-column:1;grid-row:2}.ub-biller-dialog .ub-tds-fields .ub-tds-rate{grid-column:2;grid-row:2}}
@media(max-width:600px){.ub-biller-dialog .ub-tds-row .ub-tds-fields{grid-column:1;grid-row:2}.ub-biller-dialog .ub-tds-fields .ub-tds-picker{grid-column:1;grid-row:2}.ub-biller-dialog .ub-tds-fields .ub-tds-rate{grid-column:1;grid-row:3}.btu-amounts{grid-template-columns:1fr}.btu-amounts>div{flex-direction:row;flex-wrap:wrap}.btu-amounts small{width:100%}.btu-amounts span,.btu-amounts strong{font-size:14px}}

.btu-history-dialog{width:min(1120px,100%);max-height:90dvh;overflow:hidden}
.btu-history-dialog header,.btu-history-dialog footer{flex:0 0 auto;background:#fff;position:sticky;z-index:2}
.btu-history-dialog header{top:0}.btu-history-dialog footer{bottom:0;justify-content:space-between;padding:14px 20px}
.btu-history-dialog header>div{min-width:0}.btu-history-dialog header button{flex:none;width:36px;height:36px;padding:0}
.btu-history-dialog .btu-body{min-height:0;overscroll-behavior:contain}
.btu-history-filters{display:flex;gap:10px;margin-bottom:12px;align-items:center}
.btu-history-dialog .btu-history-filters label{margin:0;min-width:0}
.btu-history-search{flex:1}.btu-history-filter-panel{display:block!important;flex:0 1 350px;padding:0!important;border:0!important;margin:0!important}.btu-history-filter-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btu-history-filter-panel>summary{display:none}.btu-history-filter-panel label{width:auto}
.btu-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.btu-history-table,.btu-snapshot-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}
.btu-history-table th,.btu-snapshot-table th{background:#f2f6fb;color:#23446c;text-align:left;padding:10px;font-size:11px;font-weight:600}
.btu-history-table td,.btu-snapshot-table td{padding:11px 10px;border-bottom:1px solid #e3ebf5;vertical-align:top;overflow-wrap:anywhere}
.btu-history-table>thead>tr>th:nth-child(1){width:23%}.btu-history-table>thead>tr>th:nth-child(2){width:12%}.btu-history-table>thead>tr>th:nth-child(3){width:24%}.btu-history-table>thead>tr>th:nth-child(4){width:19%}.btu-history-table>thead>tr>th:nth-child(5){width:13%}.btu-history-table>thead>tr>th:nth-child(6){width:9%}
.btu-history-table td>strong{color:#122f59}.btu-correction-id{display:inline-block;margin:4px 0 4px 6px;padding:3px 7px;background:#eaf1fc;border-radius:12px;font-size:10px;color:#345880}
.btu-history-money{font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.btu-history-event button{border:0;padding:3px;color:#175db4;min-height:32px}
.btu-history-detail-row[hidden]{display:none!important}.btu-history-detail-row>td{padding:0 7px 10px}
.btu-history-detail{background:#f1f7fe;border:1px solid #dfeaf6;border-radius:9px;padding:14px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px}
.btu-history-detail h4{font-size:12px;margin:0 0 6px;color:#163a68}.btu-history-detail p{font-weight:400;font-size:12px}
.btu-snapshot-table{background:#fff;border:1px solid #dfe6f0}.btu-snapshot-table td,.btu-snapshot-table th{padding:8px}
.btu-history-impact{border-left:1px solid #d9e5f2;padding-left:16px;display:flex;flex-direction:column;align-items:flex-start;gap:5px}
.btu-open-bill{display:inline-flex;align-items:center;justify-content:center;margin-top:auto;min-height:36px;padding:7px 14px;border:1px solid #6799db;border-radius:7px;background:#fff;color:#145bc0;text-decoration:none;font-size:12px;font-weight:600}
.btu-open-bill:hover{background:#e6f0fc;color:#124889}.btu-history-empty{padding:25px 0;text-align:center;color:#697e99}
.btu-history-dialog .btu-saved-settings{font-size:11px;color:#607b9b;overflow-wrap:anywhere}
@media(max-width:650px){
 .btu-history-dialog{width:100%;max-height:95dvh}.btu-history-dialog header,.btu-history-dialog footer{padding:12px}
 .btu-history-dialog footer>button{flex:0 0 auto;width:100%}.btu-history-dialog footer{gap:8px}
 .btu-history-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:5px}
 .btu-history-filter-panel{display:block!important;padding:0!important;border:0!important;margin:0!important}
 .btu-history-filter-panel>summary{display:block;grid-column:1/-1;font-size:12px;padding:6px 0}
 .btu-history-filter-panel label{width:auto;min-width:0}.btu-history-filter-panel:not([open])>.btu-history-filter-controls{display:none}
 .btu-history-dialog input,.btu-history-dialog select{min-height:38px;font-size:13px}
 .btu-history-table,.btu-history-table>tbody{display:block}.btu-history-table>thead{display:none}
 .btu-history-event{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #dfe7f1;border-radius:9px;margin-top:10px;padding:9px;gap:5px}
 .btu-history-event td{display:block;border:0;padding:0;font-size:12px}
 .btu-history-event td:nth-child(1){grid-column:1;grid-row:1}.btu-history-event td:nth-child(5){grid-column:2;grid-row:1}
 .btu-history-event td:nth-child(2){grid-column:1;grid-row:2}.btu-history-event td:nth-child(3){grid-column:1/-1;grid-row:3}
 .btu-history-event td:nth-child(4){grid-column:1;grid-row:4;font-size:11px;color:#607797}.btu-history-event td:nth-child(6){grid-column:2;grid-row:4}
 .btu-history-detail-row,.btu-history-detail-row>td{display:block;width:100%;box-sizing:border-box}
 .btu-history-detail-row>td{padding:0 0 6px}.btu-history-detail{grid-template-columns:minmax(0,1fr);padding:11px;gap:10px;border-top:0;border-radius:0 0 9px 9px}
 .btu-history-impact{border:0;padding:0}.btu-history-impact .btu-open-bill{width:100%;box-sizing:border-box}.btu-correction-id{margin-left:0}
 .btu-history-table td .btu-status{display:inline-block;font-size:10px}.btu-history-dialog .btu-body{padding:10px}
}
