/* Scoped form polish; preserve hidden inputs, checkbox and radio controls. */
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=image]):not([type=range]):not([type=color]),select,textarea){box-sizing:border-box;max-width:100%;min-width:0;min-height:44px;border-radius:10px;font-size:14px;line-height:1.45;padding:9px 12px}
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) select{padding-right:30px}
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) textarea{min-height:90px;resize:vertical}
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) :is(input,select,textarea,button):focus-visible{outline:2px solid #16846b;outline-offset:2px}
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) input[type=file]{height:auto;white-space:normal;max-width:100%}
:is(.ggbn,.ipl-payment-dialog,.ggbn-resident-dialog) input[type=file]::file-selector-button{border:0;border-radius:7px;padding:8px 10px;background:#e3f0e8;color:#064e3b;cursor:pointer}
.ggbn .ggbn-fields{gap:16px}.ggbn .ggbn-fields>label{min-width:0;display:grid;gap:7px;align-content:start}.ggbn .ggbn-fields>label>:is(input:not([type=checkbox]):not([type=radio]),select,textarea){width:100%}
.ggbn .ggbn-proof-months input{min-height:0!important;padding:0!important;width:1px!important;height:1px!important}
.ipl-brand img,.ggbn-resident-brand img,.ggbn-v2-brand img{object-fit:contain;border-radius:10px;flex-shrink:0}.gg-fin-brand{display:flex;align-items:center;gap:8px}.gg-fin-brand img{border-radius:7px}.ggbn .ggbn-scroll{max-width:100%;overflow-x:auto}.ggbn .ggbn-panel{min-width:0}.ggbn .ggbn-fields label{overflow-wrap:anywhere}
@media(max-width:600px){.ggbn .ggbn-fields{grid-template-columns:minmax(0,1fr);gap:12px}.ggbn .ggbn-fields>label{width:100%}.ipl-payment-dialog .ipl-dialog-footer{flex-wrap:wrap}.ggbn-resident-dialog{max-width:calc(100vw - 20px)}.ggbn .ggbn-proof-page input[type=file]{width:100%}}

/* Bank reconciliation: compact, scoped layout */
.ggbn-bank .ggbn-bank-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;color:#475569;font-size:13px}
.ggbn-bank .ggbn-bank-nav ul{display:flex;flex-wrap:wrap;gap:5px;margin:0;list-style:none;padding:0}
.ggbn-bank .ggbn-bank-nav li{margin:0}
.ggbn-bank .ggbn-bank-nav .page-numbers:not(ul){display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;padding:0 9px;border:1px solid #dce5e1;border-radius:7px;text-decoration:none;background:#fff;color:#064e3b;box-sizing:border-box}
.ggbn-bank .ggbn-bank-nav .current{background:#064e3b!important;color:#fff!important;border-color:#064e3b!important}
.ggbn-bank .ggbn-bank-table table{min-width:960px;table-layout:auto}
.ggbn-bank .ggbn-bank-table th,.ggbn-bank .ggbn-bank-table td{padding:10px 9px;vertical-align:middle;font-size:12px;line-height:1.45}
.ggbn-bank .ggbn-bank-table th{background:#edf5f1;color:#164e3b;font-weight:600}
.ggbn-bank .ggbn-bank-table td form{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin:0;min-width:140px}
.ggbn-bank .ggbn-bank-table td select{width:100%;max-width:210px;min-height:34px}
.ggbn-bank .ggbn-bank-table td .button{margin:0;white-space:normal;line-height:1.4;padding:6px 10px;text-align:center}
.ggbn-bank .ggbn-bank-import{margin:12px 0}
.ggbn-bank .ggbn-bank-import summary{cursor:pointer;font-weight:600;color:#064e3b;padding:4px 0}
.ggbn-bank .ggbn-bank-import form{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.ggbn-bank .ggbn-fields{align-items:end;gap:12px;flex-wrap:wrap}
.ggbn-bank .ggbn-fields label{display:flex;flex-direction:column;gap:5px}
.ggbn-bank .ggbn-fields input,.ggbn-bank .ggbn-fields select{min-height:38px}
.ggbn-bank .ggbn-scroll{overflow-x:auto}
