/* V6.22.0 — Contas desktop, apresentação clara aprovada. */
.gfa-dialog.gfa{font:16px/1.5 Inter,system-ui,sans-serif;color:#101828;color-scheme:light}
.gfa-dialog :is(button,input,select){font:inherit}
.gfa-dialog :is(button,input,select):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
.gfa-dialog :is(h2,p){margin:0}.gfa-dialog h2{font-size:21px;font-weight:600}
.gfa-dialog .button{cursor:pointer}.gfa-dialog small{font-size:14px;color:#475467}
.gfa .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #8794a7;color:#344054;border-radius:8px;padding:10px 16px;min-height:44px;text-decoration:none}
.gfa .button.primary{background:#175cd3;color:#fff;border-color:#175cd3}
.gfa .button.danger{color:#b42318;border-color:#b42318}
.gfa .button.quiet{border:0;padding:8px;background:transparent}
.gfa .button.small{padding:7px 12px;min-height:38px;font-size:15px}
.gfa .tabs{display:flex;gap:20px;border-bottom:1px solid #dce3ec;margin-bottom:22px}
.gfa .tabs button{min-height:48px;padding:10px 16px;background:transparent;border:0;border-bottom:3px solid transparent;color:#475467}
.gfa .tabs button[aria-selected=true]{color:#175cd3;border-bottom-color:#175cd3;font-weight:600}
.gfa .tabs .count{background:#eaecf0;color:#344054;border-radius:6px;padding:2px 7px;margin-left:6px;font-size:14px}
.gfa .tabs button[aria-selected=true] .count{background:#dbeafe;color:#1849a9}
.gfa .toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.gfa .search{display:flex;gap:10px;align-items:center;border:1px solid #8794a7;border-radius:8px;background:#fff;padding:0 14px;min-height:46px;flex:1;min-width:240px}
.gfa .search svg{width:21px;height:21px;color:#475467}
.gfa .search input{width:100%;min-width:0;border:0;outline-offset:0;background:#fff;color:#101828;padding:10px 0}
.gfa .search input::placeholder{color:#475467}
.gfa .group-filter{display:grid;gap:5px;font-size:14px;color:#475467}
.gfa .group-filter select{width:260px;min-height:46px}
.gfa .field input,.gfa .field select,.gfa .group-filter select{border:1px solid #8794a7;border-radius:8px;background:#fff;color:#101828;padding:10px 12px}
.gfa .result-count{color:#475467;font-size:14px;margin-bottom:10px}
.gfa .workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}
.gfa .surface{background:#fff;border:1px solid #dce3ec;border-radius:12px;min-width:0;overflow:hidden}
.gfa .table-wrap{overflow-x:auto}
.gfa table{width:100%;border-collapse:collapse;text-align:left}
.gfa th{background:#f8fafc;color:#475467;font-size:14px;font-weight:500;padding:12px 16px}
.gfa td{border-top:1px solid #e4e7ec;padding:14px 16px;vertical-align:middle;font-size:15px}
.gfa th:first-child{width:42%}
.gfa th:nth-child(2){width:20%}
.gfa .group-row td{background:#f8fafc;padding:12px 16px}
.gfa .group-toggle{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#101828;text-align:left;padding:0;width:100%}
.gfa .group-toggle strong{font-size:16px}
.gfa .group-toggle small{margin-left:auto}
.gfa .group-toggle>svg{width:18px;height:18px}
.gfa .category-button{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#101828;text-align:left;width:100%;padding:0;min-height:42px}
.gfa .category-button strong{font-size:16px}
.gfa .category-button small{display:block;margin-top:2px}
.gfa .category-button:hover strong{text-decoration:underline;color:#175cd3}
.gfa .symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:9px;background:var(--soft,#f2f4f7);color:var(--tone,#475467)}
.gfa .selected td{background:#eff4ff}
.gfa .selected td:first-child{box-shadow:inset 3px 0 #175cd3}
.gfa .badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 9px;font-size:14px;font-weight:500;background:#f2f4f7;color:#344054;white-space:nowrap}
.gfa .badge.green{background:#ecfdf3;color:#067647}
.gfa .badge.blue{background:#eff4ff;color:#1849a9}
.gfa .usage{display:grid;gap:2px;font-size:15px}
.gfa .usage small{font-size:14px}
.gfa .empty{padding:36px;text-align:center;color:#475467}
.gfa .detail{padding:24px;position:sticky;top:24px}
.gfa .detail-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.gfa .detail-head .symbol{width:48px;height:48px}
.gfa .detail-head h2{overflow-wrap:anywhere}
.gfa .detail-head small{display:block;margin-top:4px}
.gfa .facts{margin:0}
.gfa .facts>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #e4e7ec}
.gfa .facts dt{color:#475467}
.gfa .facts dd{margin:0;text-align:right;font-weight:500}
.gfa .detail h3{margin-top:18px;margin-bottom:8px}
.gfa .use-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}
.gfa .use-stats>div{display:grid;gap:6px}
.gfa .use-stats strong{font-size:24px;font-variant-numeric:tabular-nums}
.gfa .use-stats small{font-size:14px}
.gfa .detail-actions{display:grid;gap:10px;margin-top:16px}
.gfa .detail-actions .button{width:100%;justify-content:flex-start}
.gfa .detail-actions .primary{justify-content:center}
.gfa .notice{padding:14px 16px;border:1px solid #b3c9ee;border-radius:8px;background:#eff4ff;color:#1849a9;font-size:15px}
.gfa .notice p{margin-top:5px}
.gfa .notice.warn{background:#fffaeb;border-color:#e7c97c;color:#934715}
.gfa .notice.error{background:#fef3f2;border-color:#f3b2ad;color:#b42318}
.gfa .system-note{display:flex;align-items:center;gap:10px;margin-top:18px;color:#475467;font-size:14px}
.gfa .system-note svg{width:21px;height:21px;flex-shrink:0}
.gfa .field{display:grid;gap:7px;margin:18px 0;font-weight:500}
.gfa .field small{font-weight:400}
.gfa .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.gfa .check-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #e4e7ec}
.gfa .check-row input{width:20px;height:20px;accent-color:#175cd3;flex-shrink:0}
.gfa .check-row strong,.gfa .check-row small{display:block}
.gfa .check-row small{margin-top:4px}
.gfa .icon-current{display:flex;align-items:center;gap:12px;border:1px solid #8794a7;border-radius:8px;padding:12px;background:#fff;color:#101828;width:100%;text-align:left}
.gfa .icon-current small{display:block}
.gfa .icon-current>svg{margin-left:auto}
.gfa .icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.gfa .icon-choice{background:#fff;border:1px solid #c5cedb;border-radius:8px;min-height:44px;display:grid;place-items:center;color:var(--tone,#475467)}
.gfa .icon-choice[aria-pressed=true]{border:2px solid #175cd3;background:#eff4ff}
.gfa .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.gfa .dialog-copy{color:#475467;margin:12px 0 20px}
.gfa .dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}
.gfa .dialog-actions .button{min-width:100px}
dialog.gfa-dialog{background:#fff;color:#101828;border:1px solid #c5cedb;border-radius:14px;padding:28px;width:min(640px,calc(100% - 40px));max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 20px 50px #10182835}
dialog.gfa-dialog::backdrop{background:#10182873}
.gfa .error-text{color:#b42318;margin-top:14px;font-size:15px}
.gfa .summary-box{padding:16px;background:#f8fafc;border:1px solid #dce3ec;border-radius:9px;margin:18px 0}
.gfa .summary-box strong{display:block}
.gfa .impact{margin:18px 0;padding-left:22px;color:#344054}
.gfa .impact li{padding:4px 0}
.gfa .toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#101828;color:#fff;padding:14px 22px;border-radius:9px;font-size:15px;z-index:30;max-width:90vw}
.gfa .group-row.system .group-toggle{cursor:default}
.gfa .group-row.system small{margin-left:auto}
.gfa .number{font-variant-numeric:tabular-nums}
.gfa [hidden]{display:none!important}
@media(min-width:821px){
#accounts .gfa{font:16px/1.5 Inter,system-ui,sans-serif;color:#101828}
#accounts .gfa :is(button,input,select){font:inherit}
#accounts .gfa :is(h2,h3,p){margin:0}
#accounts .gfa h2{font-size:21px;font-weight:600}#accounts .gfa h3{font-size:18px;font-weight:600}
#accounts .gfa strong{font-weight:600}#accounts .gfa small{font-size:14px;color:#475467}
#accounts .gfa .button.small{font-size:15px}
#accounts .gfa :is(button,input,select):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
#accounts .gfa .section-actions{display:flex;justify-content:flex-end;margin:-8px 0 6px}
#accounts .gfa .detail h3{margin-top:18px;margin-bottom:8px}
#accounts .gfa table{table-layout:fixed;min-width:0}
#accounts .gfa :is(th,td){white-space:normal;overflow-wrap:anywhere}
#accounts .gfa .table-wrap{overflow:visible}
#accounts .gfa .table-wrap th:nth-child(2){width:27%}
#accounts .gfa .table-wrap th:nth-child(3){width:17%}
#accounts .gfa .table-wrap th:nth-child(4){width:14%}
#accounts .gfa .table-wrap th:first-child{width:42%}
body.gf-accounts-desktop .desktop-period,body.gf-accounts-desktop #monthStateBadge{display:none}
}
@media(min-width:1600px){#accounts .gfa .workspace{grid-template-columns:minmax(0,1fr) 400px;gap:28px}#accounts .gfa .detail{padding:24px}#accounts .gfa td{padding:16px 20px}#accounts .gfa th,#accounts .gfa .group-row td{padding-left:20px;padding-right:20px}}
@media(min-width:821px) and (max-width:1250px){#accounts .gfa .workspace{grid-template-columns:minmax(0,1fr)}#accounts .gfa .detail{position:static}#accounts .gfa .detail-actions{display:flex;flex-wrap:wrap}#accounts .gfa .detail-actions .button{width:auto}#accounts .gfa .use-stats{max-width:450px}}
@media(max-width:820px){.gfa-dialog .form-grid{grid-template-columns:1fr}.gfa-dialog .icon-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.gfa-dialog{padding:20px}}

.gfa :is(.button,.symbol,.icon-current,.icon-choice) svg{width:21px;height:21px;flex-shrink:0}

.gfa{font-size:17px}.gfa .account-list-area{min-width:0}.gfa .account-overview{gap:20px}.gfa .account-overview .overview-note{margin-top:0}.gfa .detail{position:sticky;top:20px}.gfa .topbar{margin-bottom:22px}.gfa .topbar p{font-size:17px}.gfa .account-overview{display:flex;align-items:center;gap:32px;margin-bottom:24px;padding:20px 24px;background:#fff;border:1px solid #dce3ec;border-radius:12px;flex-wrap:wrap}.gfa .total-balance{min-width:285px}.gfa .total-balance small{display:block;font-size:15px}.gfa .total-balance strong{font-size:32px;line-height:1.3;display:block;margin-top:3px}.gfa .overview-facts{display:flex;gap:30px;border-left:1px solid #dce3ec;padding-left:32px}.gfa .overview-facts strong{display:block;font-size:23px}.gfa .overview-facts small{font-size:15px}.gfa .account-overview .overview-note{max-width:none;flex-basis:100%;margin-left:0;font-size:15px;color:#475467}.gfa .workspace{grid-template-columns:minmax(0,1fr) 420px}.gfa .account-table th:first-child{width:32%}.gfa .account-table th:nth-child(2){width:24%}.gfa .account-table th:nth-child(3){width:21%}.gfa .account-table th,.gfa .account-table td{font-size:16px}.gfa .account-table td{padding:20px 18px}.gfa .account-cell{display:flex;gap:14px;align-items:center;text-align:left;border:0;background:transparent;padding:0;color:#101828;width:100%;min-height:48px}.gfa .account-cell strong{font-size:18px}.gfa .account-cell small{display:block;margin-top:3px;font-size:15px}.gfa .account-cell:hover strong{color:#175cd3;text-decoration:underline}.gfa .account-cell .symbol{width:44px;height:44px}.gfa .account-balance{font-size:19px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.gfa .account-balance.pending{color:#934715;font-size:16px;white-space:normal}.gfa .table-info{display:block;font-size:14px;margin-top:4px;color:#475467}.gfa .badge{font-size:14px}.gfa .detail{padding:24px}.gfa .detail .detail-head{margin-bottom:14px}.gfa .balance-card{padding:16px 0 20px;border-bottom:1px solid #e4e7ec}.gfa .balance-card small{display:block;font-size:15px}.gfa .balance-card strong{font-size:30px;line-height:1.3;display:block;margin:3px 0 6px}.gfa .detail .facts{font-size:16px}.gfa .detail .facts>div{padding:9px 0}.gfa .account-stats{display:flex;gap:32px;margin-top:16px}.gfa .account-stats strong{display:block;font-size:24px}.gfa .account-stats small{font-size:14px}.gfa .settings-links{border-top:1px solid #e4e7ec;margin-top:18px}.gfa .settings-links button{display:flex;align-items:center;gap:12px;border:0;border-bottom:1px solid #e4e7ec;background:#fff;color:#101828;width:100%;text-align:left;padding:14px 0}.gfa .settings-links strong{display:block;font-size:16px}.gfa .settings-links small{font-size:14px;display:block;margin-top:3px}.gfa .settings-links button>svg:last-child{margin-left:auto;width:17px;height:17px}.gfa .detail-actions{margin-top:18px;gap:8px}.gfa .detail-actions .button{font-size:16px;min-height:42px}.gfa .detail-actions .secondary-actions{display:flex;gap:8px}.gfa .detail-actions .secondary-actions .button{width:50%;padding:9px 8px;font-size:15px;justify-content:center}.gfa .delete-help{font-size:14px;margin:8px 0 0;color:#475467}.gfa .detail .notice{margin-top:14px;font-size:14px}.gfa .list-footnote{font-size:15px;color:#475467;margin:16px 0 0}.gfa .editor-tabs{display:flex;border-bottom:1px solid #dce3ec;gap:18px;margin:8px 0 16px}.gfa .editor-tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:10px 4px;color:#475467;font-size:16px}.gfa .editor-tabs button[aria-selected=true]{color:#175cd3;border-bottom-color:#175cd3;font-weight:600}.gfa .editor-dialog{width:min(780px,calc(100% - 40px))}.gfa .editor-fields{min-height:350px}.gfa .editor-fields h3{margin:16px 0}.gfa .editor-fields .field{margin:14px 0}.gfa .editor-fields .field label{font-size:16px}.gfa .editor-fields input,.gfa .editor-fields select{font-size:17px}.gfa .icon-options{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.gfa .icon-options button{width:50px;min-height:44px;border:1px solid #8794a7;background:#fff;color:#344054;border-radius:8px}.gfa .icon-options button[aria-pressed=true]{border:2px solid #175cd3;background:#eff4ff;color:#175cd3}.gfa .icon-options button svg{width:22px;height:22px}.gfa .check-row{font-size:16px}.gfa .balance-explanation{display:grid;gap:10px;margin:18px 0}.gfa .balance-explanation>div{display:flex;justify-content:space-between;gap:20px}.gfa .balance-explanation>div:last-child{border-top:1px solid #dce3ec;padding-top:12px;font-weight:600}.gfa .movement-table td,.gfa .movement-table th{font-size:16px}.gfa .movement-table .amount{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.gfa .blocked-fields input:disabled{background:#f2f4f7;color:#475467}.gfa .result-count{font-size:15px}.gfa .tabs button{font-size:16px}.gfa .preview{font-size:14px}.gfa .field input:invalid{box-shadow:none}.gfa [role=tabpanel][hidden]{display:none}
@media(min-width:1600px){.gfa .workspace{grid-template-columns:minmax(0,1fr) 440px}.gfa .main{padding:28px 42px}.gfa .account-table td{padding:20px}.gfa .detail{padding:24px}.gfa .topbar{margin-bottom:22px}}
@media(max-width:1450px){.gfa .workspace{grid-template-columns:minmax(0,1fr)}.gfa .detail-actions{display:grid}.gfa .detail-actions .button{width:100%}.gfa .overview-note{margin-left:0!important}.gfa .settings-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.gfa .settings-links button{align-items:start}.gfa .detail-actions .secondary-actions{max-width:400px}}
@media(max-width:760px){.gfa .account-overview{padding:18px;gap:16px}.gfa .overview-facts{border-left:0;padding-left:0;gap:24px}.gfa .account-table th:nth-child(2),.gfa .account-table td:nth-child(2),.gfa .account-table th:nth-child(4),.gfa .account-table td:nth-child(4){display:none}.gfa .account-table th,.gfa .account-table td{padding:14px 10px}.gfa .account-cell strong{font-size:16px}.gfa .account-cell .symbol{width:36px;height:36px}.gfa .account-balance{font-size:16px}.gfa .settings-links{display:block}.gfa .editor-tabs{gap:12px}.gfa .editor-tabs button{font-size:15px}.gfa .editor-fields{min-height:0}.gfa .account-stats{gap:24px}.gfa .topbar .button{width:100%}}

@media(min-width:1251px){.gfa .detail .facts>div{padding:6px 0}.gfa .balance-card{padding:12px 0}.gfa .settings-links button{padding:11px 0}.gfa .account-stats{margin-top:12px}.gfa .detail .detail-head{margin-bottom:10px}}

.gfa :is(button,input,select){font:inherit}.gfa :is(h2,h3,p){margin-top:0}.gfa .section-actions{display:flex;justify-content:flex-end;margin-bottom:20px}.gfa .symbol svg,.gfa button svg{width:21px;height:21px;flex-shrink:0}.gfa .account-overview strong{color:#101828}.gfa .editor-tabs button[aria-selected=true]{color:#175cd3}.gfa-dialog.gfa{width:min(780px,calc(100% - 40px));font:17px/1.5 Inter,system-ui,sans-serif}.gfa-dialog .editor-fields{min-height:350px}.gfa .error-text:empty{display:none}@media(max-width:820px){.gfa-dialog .editor-fields{min-height:0}.gfa-dialog .form-grid{grid-template-columns:1fr}}

@media(min-width:821px){#accounts .gfa{font:17px/1.5 Inter,system-ui,sans-serif}#accounts .gfa table{table-layout:auto}#accounts .gfa .table-wrap{overflow-x:auto}#accounts .gfa .account-table th:first-child{width:32%}#accounts .gfa .account-table th:nth-child(2){width:24%}#accounts .gfa .account-table th:nth-child(3){width:21%}#accounts .gfa .account-table th:nth-child(4){width:auto}#accounts .gfa .account-table :is(td,th){white-space:normal;overflow-wrap:normal}#accounts .gfa .section-actions{margin:0 0 20px}#accounts .gfa .detail .facts>div{padding:6px 0}#accounts .gfa .detail h2{font-size:21px}.gfa .detail-head small{margin-top:4px}}
