/* GARAGEM88 V8.68 — Financeiro redesenhado seguindo as Configurações aprovadas.
   CSS único: sem as camadas de overrides das V8.64 a V8.67.
   Não toca nas regras de negócio do Financeiro. */
#g88FinanceScreen{--gf-ink:#0c2342;--gf-muted:#7184a0;--gf-line:#e2ebf6;--gf-blue:#1974d2;--gf-green:#10845f;--gf-red:#c93c50;--gf-shadow:0 10px 26px rgba(45,92,157,.065);font-family:'Inter','Segoe UI',Arial,sans-serif;color:var(--gf-ink);height:calc(100dvh - 90px);min-height:0;overflow:hidden;margin:0 -9px 0}
#g88FinanceScreen[hidden]{display:none!important}
#g88FinanceScreen *,#g88FinanceScreen *::before,#g88FinanceScreen *::after{box-sizing:border-box}
.gf-shell{height:100%;display:flex;flex-direction:column;gap:13px;padding:14px 20px 13px;min-width:0;min-height:0}
.gf-head{display:flex;justify-content:space-between;align-items:center;gap:16px;flex:none;min-height:59px}
.gf-head h1{font-size:29px;font-weight:800;letter-spacing:-.8px;line-height:1.2;margin:0;color:#091f3c}
.gf-head p{font-size:12px;color:#6b83a1;margin:5px 0 0;line-height:1.4}
.gf-date{border:1px solid #dce7f3;border-radius:10px;background:white;padding:10px 12px;color:#39556e;font-size:11.5px;font-weight:600;display:inline-flex;gap:8px;align-items:center;white-space:nowrap;box-shadow:0 2px 8px #1d57850a}
.gf-date svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.9;fill:none}
.gf-body{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:13px}
.gf-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;flex:none}
.gf-kpi,.gf-panel,.gf-account{background:#fff;border:1px solid #e4edf8;box-shadow:var(--gf-shadow);border-radius:17px}
.gf-kpi{height:116px;min-height:116px;display:grid;grid-template-columns:50px minmax(0,1fr);align-items:center;gap:12px;text-align:left;padding:17px 16px;color:#102849;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.gf-kpi:hover,.gf-kpi:focus-visible,.gf-panel.gf-interactive:hover{transform:translateY(-2px);border-color:#79aeff;box-shadow:0 16px 30px rgba(45,92,157,.13)}
.gf-kpi:focus-visible,.gf-btn:focus-visible,.gf-account:focus-visible,.gf-sidebar-item:focus-visible{outline:3px solid #8db9ff;outline-offset:2px}
.gf-kpi-symbol{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#e2f8ed;color:#09916e;transition:transform .18s ease}
.gf-kpi:hover .gf-kpi-symbol{transform:scale(1.05)}
.gf-kpi-symbol svg{width:25px;height:25px;stroke-width:2.2;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.gf-kpi-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.gf-kpi small{font-size:12px;color:#667d99;font-weight:650}
.gf-kpi strong{font-weight:800;font-size:21px;line-height:1.15;letter-spacing:-.65px;color:#0b754d;white-space:nowrap}
.gf-kpi em{font-style:normal;font-size:10.5px;line-height:1.4;color:#8494a8;white-space:normal}
.gf-kpi-recv .gf-kpi-symbol{background:#e3f0ff;color:#1774da}
.gf-kpi-recv strong{color:#146fc7}
.gf-kpi-pay .gf-kpi-symbol{background:#fde9ee;color:#ce4058}
.gf-kpi-pay strong{color:#c6334d}
.gf-has-overdue .gf-kpi-symbol,.gf-has-upcoming .gf-kpi-symbol{background:#fff1db;color:#be7b17}
.gf-has-overdue strong,.gf-has-upcoming strong{color:#b27816}
.gf-has-clear .gf-kpi-symbol{background:#e3f8ed;color:#109268}
.gf-has-clear strong{color:#148259}
.gf-hgrid{display:grid;grid-template-columns:minmax(0,1.56fr) minmax(320px,1fr);gap:13px;min-height:0;flex:1}
.gf-panel{padding:19px 20px;min-height:0;min-width:0}
.gf-panel h2{font-size:18px;font-weight:750;letter-spacing:-.4px;color:#0c2342;margin:0;line-height:1.3}
.gf-panel h3{font-size:15px;color:#0c2342}
.gf-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
.gf-panel-head p{font-size:11px;color:#8095ac;margin:4px 0 0}
.gf-extract,.gf-quick{display:flex;flex-direction:column;overflow:hidden}
.gf-extract .gf-scroll{min-height:0;flex:1;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d3e3f5 transparent}
.gf-quick .gf-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:11px;margin-top:14px;flex:1;min-height:0}
.gf-btn{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #dce7f1;border-radius:10px;padding:10px 12px;background:#f7faff;color:#244363;font-size:12px;font-weight:700;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
.gf-btn:hover{background:#f2f7ff;border-color:#89b4ed;box-shadow:0 8px 18px #326ba51b;transform:translateY(-2px)}
.gf-btn.gf-primary{background:#1974d2;border-color:#1974d2;color:white}
.gf-btn.gf-primary:hover{background:#1264bb}
.gf-btn.gf-text-btn{border:0;background:none;padding:6px;color:#116cce;font-size:12px;font-weight:750;box-shadow:none;white-space:nowrap}
.gf-btn.gf-text-btn:hover{color:#074d9a;background:#f4f8fd;box-shadow:none}
.gf-btn.gf-action{padding:7px 5px;min-height:0;min-width:0;height:100%;flex-direction:column;gap:7px;font-size:12px;font-weight:750;border-radius:13px;background:#fff;border:1px solid #e6edf5;box-shadow:0 5px 13px rgba(45,92,157,.045);color:#223c59}
.gf-btn.gf-action svg{height:23px;width:23px;stroke:currentColor;stroke-width:2.1;fill:none;stroke-linejoin:round;stroke-linecap:round;transition:transform .18s}
.gf-btn.gf-action:hover svg{transform:translateY(-1px)}
.gf-btn.gf-action:hover{transform:translateY(-2px);border-color:#79aeff;box-shadow:0 12px 22px rgba(45,92,157,.13);background:#fff}
.gf-btn.gf-action span{display:block;text-align:center}
.gf-btn.gf-btn-in svg{color:#0d9a70}.gf-btn.gf-btn-out svg{color:#ce4b5b}.gf-btn.gf-btn-transfer svg{color:#277ce8}.gf-btn.gf-btn-account svg{color:#8652dc}.gf-btn.gf-btn-card svg{color:#4c7baf}.gf-btn.gf-btn-flow svg{color:#277ce8}
.gf-btn.gf-btn-in{background:#f6fffa}.gf-btn.gf-btn-out{background:#fff9fa}.gf-btn.gf-btn-transfer{background:#f7faff}.gf-btn.gf-btn-account{background:#fbf9ff}
.gf-entry{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #edf2f7;min-width:0}
.gf-entry:last-child{border-bottom:0}
.gf-time{display:inline-block;flex:0 0 39px;color:#8a9aac;font-size:11px;font-weight:500}
.gf-dot{height:33px;width:33px;flex:0 0 33px;display:grid;place-items:center;border-radius:50%;background:#e8f1fc;color:#266fb7}
.gf-dot svg{width:18px;height:18px;stroke:currentColor;stroke-width:2.2;fill:none}
.gf-dot.gf-pos{background:#e4f8ee;color:#14a56d}.gf-dot.gf-neg{background:#fde9ed;color:#d34459}.gf-dot.gf-neutral{background:#e6f1ff;color:#277ad7}
.gf-entry-desc{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.gf-entry-desc b{font-size:12.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-entry-desc small{font-size:10.5px;color:#7f92ab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-entry-amount{font-size:12px;font-weight:750;white-space:nowrap}
.gf-pos{color:#16885b!important}.gf-neg{color:#d13c52!important}.gf-neutral,.gf-transfer-value{color:#366889!important}
.gf-more{border:none;background:transparent;cursor:pointer;font-size:19px;padding:5px;color:#7589a0;border-radius:6px}
.gf-more:hover{background:#edf5ff;color:#1266bd}
.gf-empty{margin:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:8px;color:#8397ae;padding:18px;line-height:1.45}
.gf-empty-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;background:#ecf5ff;color:#2e85e0;margin-bottom:5px}
.gf-empty-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}
.gf-empty b{font-size:13px;color:#244866;font-weight:700}
.gf-empty small{max-width:270px;font-size:11px}
.gf-empty-action{margin-top:7px;background:#e6f2ff;color:#1869c2;border:1px solid #cbe4ff;border-radius:9px;font:700 11px 'Inter',sans-serif;padding:9px 12px;cursor:pointer}
.gf-empty-action:hover{background:#d8eaff}
.gf-notice{border:1px solid #cee0f7;background:#f0f7ff;color:#466f9e;padding:10px 12px;border-radius:10px;font-size:11px;display:flex;gap:10px;align-items:center}
.gf-notice.gf-warn{background:#fff8e8;color:#765a22;border-color:#e7d5ac}
.gf-small{padding:6px}
/* Submenu Financeiro segue a mesma tipografia, alinhamento e altura do Cadastros. */
.gf-sidebar-group{display:none;padding:2px 0 6px 17px;flex-direction:column;gap:3px}
.gf-sidebar-group.gf-visible{display:flex}
.gf-sidebar-item{display:flex;align-items:center;width:100%;min-height:41px;font:500 14px 'Inter','Segoe UI',Arial,sans-serif;cursor:pointer;border:0;text-align:left;color:#e5ebf0;padding:0 10px 0 54px;border-radius:9px;background:transparent;transition:background-color .16s ease,color .16s ease}
.gf-sidebar-item:hover{background:#132a3b;color:#fff}
.gf-sidebar-item.on{background:#173f68;color:#fff}
/* Internal modules: same card vocabulary, without changing their business actions. */
.gf-listpanel,.gf-flow,.gf-report{display:flex;flex-direction:column;flex:1;min-height:0}
.gf-head-actions{display:flex;gap:9px;flex-wrap:wrap}
.gf-filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:8px 0 14px}
.gf-filters button{font-family:inherit;border:1px solid transparent;background:#f3f7fb;color:#5d7790;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:700;cursor:pointer;transition:background .15s,border-color .15s}
.gf-filters button.on{background:#e4f0ff;color:#1466bb;border-color:#c2dfff}
.gf-filters button:hover{border-color:#95bbed}
.gf-filters input{border:1px solid #d6e2ed;border-radius:9px;padding:8px;font-family:inherit}
.gf-listscroll,.gf-flow-scroll,.gf-report-scroll{min-height:0;flex:1;overflow:auto;scrollbar-width:thin;scrollbar-color:#dae7f4 transparent}
.gf-date-row{border-bottom:1px solid #eaf0f7;padding:0 9px}
.gf-date-row>span{display:block;font-size:11px;color:#7890aa;font-weight:800;padding:10px 0 0}
.gf-projections{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.gf-projections>div{border:1px solid #e5edf7;border-radius:13px;padding:15px 12px;background:#fafcff;display:flex;flex-direction:column;gap:7px}
.gf-projections small{font-size:11px;color:#7085a0}.gf-projections b{font-size:17px;letter-spacing:-.3px;color:#173c62}
.gf-flow-scroll table{border-collapse:collapse;width:100%;font-size:12px}
.gf-flow-scroll th{position:sticky;top:0;background:#eef4fa;color:#48627b;text-align:left;padding:12px}
.gf-flow-scroll td{border-bottom:1px solid #e8eef5;padding:11px}
.gf-flow-scroll tr:hover{background:#f5f9ff}
.gf-footnote{color:#8394a6;font-size:11px;margin-top:10px}
.gf-acct-actions{display:flex;gap:9px;flex-wrap:wrap}
.gf-two{display:grid;grid-template-columns:1fr 1fr;gap:13px;min-height:0;flex:1}
.gf-two .gf-panel{overflow:auto}
.gf-account{display:flex;justify-content:space-between;gap:12px;align-items:center;text-align:left;width:100%;padding:15px 13px;margin-top:11px;cursor:pointer;color:#24425e;font:inherit;font-size:13px;transition:box-shadow .18s,transform .18s,border-color .18s}
.gf-account:hover{border-color:#79aeff;box-shadow:0 12px 23px #326ba51c;transform:translateY(-2px)}
.gf-account span{display:flex;flex-direction:column;gap:5px}.gf-account small{color:#8194aa;font-size:11px}
.gf-report .gf-projections{grid-template-columns:repeat(3,minmax(0,1fr))}
.gf-report-row{margin:12px 0 17px}.gf-report-row>div:first-child{display:flex;justify-content:space-between;font-size:13px}.gf-report-row small{font-size:11px;color:#8294a5}
.gf-bar{background:#e8eff7;border-radius:30px;height:9px;overflow:hidden;margin:8px 0}.gf-bar i{display:block;height:100%;border-radius:30px;background:#2582d3}
/* Modal windows styled like the compact, approved configuration modals */
.gf-overlay{position:fixed;inset:0;background:#081a2d9c;display:flex;align-items:center;justify-content:center;padding:14px;z-index:101010}
.gf-modal{display:flex;flex-direction:column;width:min(650px,96vw);max-height:min(93vh,820px);overflow:hidden;background:#f4f8fd;border:1px solid #deebf7;border-radius:17px;box-shadow:0 28px 75px #0005}
.gf-modal-head{display:flex;align-items:center;justify-content:space-between;padding:17px 21px;background:white;border-bottom:1px solid #dce8f3}
.gf-modal-head h2{font-size:19px;font-weight:800;color:#102b46;margin:0}
.gf-modal-head button{border:0;background:#edf4fb;border-radius:8px;width:33px;height:33px;font-size:22px;cursor:pointer;color:#46627c;line-height:1}
.gf-modal-head button:hover{background:#e1edfa}
.gf-form{display:flex;flex-direction:column;gap:14px;padding:19px 22px;overflow-y:auto}
.gf-field{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#284662}
.gf-field input,.gf-field select{height:40px;min-width:0;width:100%;border:1px solid #cbdced;border-radius:9px;background:white;color:#17314b;font:500 13px 'Inter','Segoe UI',Arial,sans-serif;padding:0 11px}
.gf-field input:focus,.gf-field select:focus{outline:2px solid #b4d7fc;border-color:#2b84e2}
.gf-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gf-modal-actions{border-top:1px solid #deebf5;padding-top:13px;margin-top:4px;display:flex;justify-content:flex-end;gap:10px}
.gf-hint{font-size:11.5px;border-radius:9px;padding:11px 13px;background:#e7f1fe;border:1px solid #d2e6ff;color:#376fa3;margin:0;line-height:1.5}
.gf-repeat{border-top:1px solid #dfe9f4;display:flex;flex-direction:column;gap:10px;padding-top:13px}
.gf-repeat h3{font-size:13px;margin:0}.gf-repeat #gfRepeatFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gf-repeat #gfRepeatFields[hidden],.gf-repeat[hidden]{display:none!important}
.gf-repeat #gfRepeatFields > [hidden]{display:none!important}
.gf-card-detail{max-height:310px;overflow:auto;font-size:13px}.gf-detail-line{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e1eaf5}
@media(min-width:701px) and (max-height:780px){.gf-shell{padding-top:10px;padding-bottom:9px;gap:10px}.gf-head{min-height:52px}.gf-kpi{height:103px;min-height:103px;padding:12px 13px}.gf-kpi-symbol{width:43px;height:43px}.gf-kpi strong{font-size:19px}.gf-hgrid{gap:11px}.gf-panel{padding:15px 17px}.gf-quick .gf-actions{gap:9px;margin-top:10px}.gf-entry{padding:8px 0}}
@media(min-width:701px) and (max-height:660px){.gf-shell{gap:8px}.gf-head{min-height:46px}.gf-kpi{height:86px;min-height:86px}.gf-quick .gf-actions{gap:6px;margin-top:8px}.gf-panel{padding:12px 15px}}
@media(max-width:1140px) and (min-width:701px){.gf-kpi{grid-template-columns:37px 1fr;gap:8px;padding:11px}.gf-kpi-symbol{width:36px;height:36px}.gf-kpi-symbol svg{height:19px;width:19px}.gf-kpi strong{font-size:17px}.gf-kpi em{font-size:9px}.gf-hgrid{grid-template-columns:minmax(0,1.4fr) minmax(285px,1fr)}}
@media(max-width:700px){#g88FinanceScreen{height:auto;min-height:100vh;overflow:auto;margin:0}.gf-shell{padding:12px;gap:12px}.gf-head h1{font-size:24px}.gf-head p{font-size:11px}.gf-date{display:none}.gf-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.gf-kpi{height:auto;min-height:118px;display:flex;flex-direction:column;align-items:flex-start;padding:14px;gap:10px}.gf-kpi strong{font-size:18px}.gf-hgrid,.gf-two{display:grid;grid-template-columns:1fr}.gf-extract{min-height:300px}.gf-quick{min-height:365px}.gf-quick .gf-actions{grid-template-rows:repeat(3,88px)}.gf-projections{grid-template-columns:repeat(2,minmax(0,1fr))}.gf-flow-scroll table{min-width:600px}.gf-form-grid,.gf-repeat #gfRepeatFields{grid-template-columns:1fr 1fr}.gf-modal{max-height:92vh}.gf-head-actions{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.gf-kpi,.gf-btn,.gf-account,.gf-kpi-symbol{transition:none!important;transform:none!important}}

/* V8.71 — Lançamentos: ações autoexplicativas, fiel ao layout visual aprovado.
   Escopo restrito à tela .gf-launch-panel para preservar os outros módulos. */
.gf-launch-panel{padding:20px 20px 18px}
.gf-launch-panel .gf-launch-head{align-items:center;gap:20px;margin-bottom:19px}
.gf-launch-intro{min-width:180px;max-width:310px;flex:1 1 250px}
.gf-launch-intro h2{font-size:20px;letter-spacing:-.5px}
.gf-launch-intro p{font-size:12px;line-height:1.55;max-width:270px;margin-top:5px}
.gf-launch-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;flex:0 1 610px;min-width:0}
.gf-launch-action{appearance:none;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:64px;padding:9px 10px;border-radius:12px;cursor:pointer;font:inherit;text-align:left;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,filter .18s ease}
.gf-launch-action:hover{transform:translateY(-2px);filter:brightness(1.02)}
.gf-launch-action:focus-visible{outline:3px solid #94c9ff;outline-offset:3px}
.gf-launch-action-icon{display:grid;place-items:center;flex:0 0 33px;width:33px;height:33px}
.gf-launch-action-icon svg{height:33px;width:33px;stroke-width:2;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round}
.gf-launch-action-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.gf-launch-action-copy strong{font-size:13.5px;line-height:1.15;font-weight:800;white-space:nowrap;letter-spacing:-.18px}
.gf-launch-action-copy small{font-size:10.5px;line-height:1.2;font-weight:500;white-space:nowrap}
.gf-launch-action-in{background:linear-gradient(180deg,#10a36a 0%,#0d905b 100%);border:1px solid #078f5b;color:#fff;box-shadow:0 6px 16px rgba(11,146,91,.15)}
.gf-launch-action-in:hover{box-shadow:0 10px 23px rgba(11,146,91,.24)}
.gf-launch-action-out{background:linear-gradient(180deg,#eb4d57 0%,#d73945 100%);border:1px solid #df404d;color:#fff;box-shadow:0 6px 16px rgba(206,47,65,.13)}
.gf-launch-action-out:hover{box-shadow:0 10px 23px rgba(206,47,65,.23)}
.gf-launch-action-transfer{background:#fff;border:1px solid #cbdcf0;color:#183954;box-shadow:0 4px 13px rgba(41,91,157,.055)}
.gf-launch-action-transfer:hover{border-color:#7baee8;box-shadow:0 10px 22px rgba(41,91,157,.13)}
.gf-launch-action-transfer .gf-launch-action-icon{color:#216fc5}
.gf-launch-action-transfer .gf-launch-action-icon svg{height:30px;width:30px}
.gf-launch-action-transfer .gf-launch-action-copy small{color:#7b8fa8}
.gf-launch-panel .gf-filters{margin:2px 0 13px;gap:8px}
.gf-launch-panel .gf-filters button{border-radius:10px;padding:10px 13px}
.gf-launch-panel .gf-listscroll{display:flex;flex-direction:column}
.gf-launch-empty{margin:auto;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center;gap:13px;padding:22px;color:#7890ab}
.gf-launch-empty-icon{width:74px;height:74px;display:grid;place-items:center;border-radius:50%;background:#eef4fa;color:#6386aa;margin-bottom:4px}
.gf-launch-empty-icon svg{width:39px;height:39px}
.gf-launch-empty strong{color:#122945;font-size:17px;font-weight:750;line-height:1.35}
.gf-launch-empty p{margin:0;max-width:425px;font-size:12px;line-height:1.7}
@media (min-width:701px) and (max-width:1200px){
 .gf-launch-panel .gf-launch-head{gap:12px}
 .gf-launch-intro{flex-basis:210px}
 .gf-launch-actions{gap:7px}
 .gf-launch-action{gap:5px;padding:9px 6px}
 .gf-launch-action-copy strong{font-size:12.2px}
 .gf-launch-action-copy small{font-size:10px}
 .gf-launch-action-icon{flex-basis:29px;width:29px;height:29px}
 .gf-launch-action-icon svg{width:29px;height:29px}
}
@media(max-width:900px){
 .gf-launch-panel .gf-launch-head{align-items:stretch;flex-direction:column}
 .gf-launch-intro{max-width:none;flex:auto}
 .gf-launch-actions{width:100%;flex:auto}
}
@media(max-width:700px){
 .gf-launch-actions{grid-template-columns:1fr 1fr}
 .gf-launch-action-transfer{grid-column:1/-1}
 .gf-launch-panel{padding:15px}
 .gf-launch-panel .gf-launch-head{margin-bottom:11px}
}
@media(prefers-reduced-motion:reduce){.gf-launch-action{transition:none}.gf-launch-action:hover{transform:none}}

/* V8.72 — Fluxo: duas datas no período personalizado e atalho para a próxima semana. */
.gf-flow .gf-filters{margin-bottom:7px;gap:7px}
.gf-flow .gf-filters button{white-space:nowrap}
.gf-period-range{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.gf-period-range label{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:#506b88;white-space:nowrap}
.gf-period-range input{height:35px;width:128px;min-width:0;padding:6px 7px;font-size:11.5px;color:#203b56}
.gf-period-caption{font-size:11px;color:#7289a1;margin-bottom:9px}
.gf-period-caption b{color:#284c6e}
.gf-start-note{font-size:11px;color:#637b96;margin:-6px 0 10px}
.gf-start-note b{font-weight:750}
@media (max-width:700px){.gf-period-range input{width:138px}}


/* V8.73 — Contas e cartões: visual no padrão Configurações, isolado das demais telas */
.gf-accounts-page{display:flex;flex-direction:column;flex:1;min-height:0;gap:13px}
.gf-accounts-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;flex:none}
.gf-accounts-stat{font-family:inherit;position:relative;min-width:0;min-height:88px;display:flex;align-items:center;gap:12px;text-align:left;padding:13px 16px;border:1px solid #e3ecf6;border-radius:17px;background:#fff;box-shadow:var(--gf-shadow);color:#18334f}
button.gf-accounts-stat{cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}
button.gf-accounts-stat:hover{transform:translateY(-2px);border-color:#93baf0;box-shadow:0 15px 26px rgba(45,92,157,.12)}
.gf-accounts-stat-icon,.gf-accounts-section-icon{display:grid;place-items:center;flex:none;border-radius:13px;width:53px;height:53px}
.gf-accounts-stat-icon svg,.gf-accounts-section-icon svg{height:26px;width:26px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}
.gf-acc-bank{background:#eaf3ff;color:#1876df}
.gf-acc-card{background:#f2ecff;color:#7952ed}
.gf-acc-money{background:#e5f8ef;color:#08a272}
.gf-accounts-stat-copy{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.gf-accounts-stat-copy small{font-size:11px;font-weight:650;color:#647f9b}
.gf-accounts-stat-copy strong{font-size:23px;line-height:1;font-weight:800;color:#142a44}
.gf-accounts-stat-copy em{font-size:10.5px;font-style:normal;color:#8a9cb0;line-height:1.3}
.gf-accounts-stat-total .gf-acc-total-value{color:#0b9164;font-size:22px;white-space:nowrap}
.gf-acc-stat-chevron{color:#68819c;font-size:27px;line-height:1}
.gf-accounts-visibility{border:0;background:transparent;border-radius:9px;width:34px;height:34px;display:grid;place-items:center;cursor:pointer;color:#526f8c;transition:background .15s}
.gf-accounts-visibility:hover{background:#eef5fc}
.gf-accounts-visibility svg{width:20px;height:20px;stroke:currentColor;fill:none}
.gf-accounts-actions{display:flex;gap:10px;flex:none;align-items:center;flex-wrap:wrap}
.gf-btn.gf-accounts-action{min-height:41px;font-size:12px;gap:8px;padding:9px 14px;background:#fff}
.gf-accounts-action svg,.gf-accounts-empty-button svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}
.gf-btn.gf-accounts-action-primary,.gf-btn.gf-accounts-empty-button{background:#1974d2;border-color:#1974d2;color:#fff;box-shadow:0 5px 14px #1974d21b}
.gf-btn.gf-accounts-action-primary:hover,.gf-btn.gf-accounts-empty-button:hover{background:#0c65c3;color:#fff}
.gf-accounts-panels{flex:1;min-height:0}
.gf-accounts-panels>.gf-accounts-panel{display:flex;flex-direction:column;overflow:hidden;padding:0}
.gf-accounts-panel.gf-accounts-focus{border-color:#67a6ee;box-shadow:0 0 0 3px #cae4ff,0 15px 26px rgba(45,92,157,.12)}
.gf-accounts-section-head{display:flex;align-items:center;gap:13px;padding:18px 19px 15px;flex:none;border-bottom:1px solid #eef3f9}
.gf-accounts-section-icon{width:48px;height:48px}
.gf-accounts-section-icon svg{width:25px;height:25px}
.gf-accounts-section-head h2{font-size:17px;margin:0;color:#0b2543;font-weight:800;letter-spacing:-.35px}
.gf-accounts-section-head p{font-size:11.5px;margin:5px 0 0;color:#8295ab}
.gf-accounts-content{flex:1;min-height:0;display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d8e7f7 transparent}
.gf-accounts-empty{margin:auto;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:11px;padding:15px 18px;color:#7e92a8}
.gf-accounts-illustration{position:relative;display:grid;place-items:center;border-radius:50%;width:94px;height:94px;margin-bottom:3px}
.gf-accounts-illustration.gf-acc-bank{background:#eaf3ff;color:#7caef0}
.gf-accounts-illustration.gf-acc-card{background:#f2ecff;color:#a798ed}
.gf-accounts-illustration>span svg{height:46px;width:46px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}
.gf-accounts-illustration i{position:absolute;right:2px;top:8px;width:31px;height:31px;border-radius:50%;background:#1878df;color:#fff;display:grid;place-items:center;font:700 22px Inter,Arial,sans-serif;font-style:normal;border:3px solid white}
.gf-accounts-empty strong{font-size:14.5px;font-weight:780;color:#102b48}
.gf-accounts-empty p{margin:0 0 4px;max-width:290px;font-size:11.5px;line-height:1.55;color:#8195aa}
.gf-btn.gf-accounts-empty-button{min-height:40px;font-size:12px;padding:9px 16px}
.gf-accounts-rows{padding:8px 15px 15px}
.gf-accounts-panels .gf-account.gf-accounts-row{min-height:68px;display:flex;gap:11px;margin-top:8px;padding:11px 12px;border-radius:12px;box-shadow:none}
.gf-acc-item-icon{width:37px;height:37px;flex:0 0 37px;border-radius:10px;display:grid!important;place-items:center}
.gf-acc-item-icon svg{width:20px;height:20px;fill:none;stroke:currentColor}
.gf-account .gf-acc-item-copy{display:flex;flex-direction:column;flex:1;min-width:0;gap:4px}
.gf-acc-item-copy b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12.5px}
.gf-account .gf-acc-item-amount{display:flex;flex-direction:column;text-align:right;gap:4px;white-space:nowrap}
.gf-acc-item-amount b{color:#0b865d;font-size:12px}
.gf-acc-item-amount small{font-size:10px}
.gf-acc-chevron{font-size:23px;color:#8aa0b8}
.gf-private-hidden{letter-spacing:2px}
@media(min-width:701px) and (max-height:780px){.gf-accounts-page{gap:10px}.gf-accounts-stat{min-height:84px;padding:11px 14px}.gf-accounts-section-head{padding:13px 15px}.gf-accounts-empty{gap:9px;padding:10px 14px}.gf-accounts-illustration{width:84px;height:84px}.gf-accounts-illustration>span svg{width:41px;height:41px}.gf-accounts-actions{gap:8px}.gf-btn.gf-accounts-action{min-height:40px}}
@media(max-width:1000px){.gf-accounts-stat{padding:10px;gap:8px}.gf-accounts-stat-icon{width:42px;height:42px}.gf-accounts-stat-copy strong{font-size:19px}.gf-accounts-section-head{gap:9px}.gf-accounts-section-icon{width:42px;height:42px}}
@media(max-width:700px){.gf-accounts-stats{grid-template-columns:1fr;gap:8px}.gf-accounts-stat{min-height:80px}.gf-accounts-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.gf-accounts-panels{grid-template-columns:1fr}.gf-accounts-panels>.gf-accounts-panel{min-height:300px}.gf-accounts-page{flex:auto}}
@media(prefers-reduced-motion:reduce){.gf-accounts-stat{transition:none;transform:none!important}}


/* V8.75 — Despesas: tipo visível, sugestão por categoria e repetição sem data duplicada. */
.gf-repeat-message{font-size:11px;color:#5a7c9e;background:#eaf4ff;border-radius:8px;padding:9px 11px;margin:0;line-height:1.45}
.gf-repeat-message[hidden],#gfSubcatTextWrap[hidden],#gfSubcatSupplierWrap[hidden]{display:none!important}
/* Informação simples por categoria, sem classificações de custos fixos ou variáveis. */
.gf-category-tip{font-size:11px;color:#547697;background:#ebf4ff;border:1px solid #d6e8fb;border-radius:8px;padding:9px 11px;line-height:1.5;margin:-4px 0 0}
.gf-category-tip[hidden]{display:none!important}
.gf-report-subcats{border:1px solid #e6eff8;border-radius:9px;background:#f7faff;margin-top:10px;padding:6px 11px}
.gf-report-subcats>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 1px;color:#57718b;font-size:12px}
.gf-report-subcats>div+div{border-top:1px solid #e3ecf5}
.gf-report-subcats b{font-size:12px;color:#355876}
.gf-form{gap:12px}.gf-repeat{gap:8px;padding-top:11px}


/* V8.76 — Empresa x Pessoal. Sem pergunta de fixo/variável. */
.gf-scope-block{display:flex;flex-direction:column;gap:8px}
.gf-scope-title{font-size:12px;color:#253e5b;font-weight:800}
.gf-scope-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.gf-scope-choice{display:flex;align-items:center;gap:10px;border:1px solid #d9e6f3;background:#fff;border-radius:11px;padding:11px 12px;cursor:pointer;transition:border-color .15s,background .15s}
.gf-scope-choice:has(input:checked){background:#eaf4ff;border-color:#438eed;box-shadow:inset 0 0 0 1px #438eed}
.gf-scope-choice input{width:17px;height:17px;accent-color:#1974d2;flex:none}
.gf-scope-choice span{display:flex;flex-direction:column;gap:3px}
.gf-scope-choice b{font-size:12.5px;color:#193453}
.gf-scope-choice small{font-size:10px;color:#7d90a7}
.gf-entry-meta{display:flex;align-items:center;gap:5px;justify-content:flex-end;flex:0 1 225px;min-width:0}
.gf-origin,.gf-cat-badge{display:inline-block;max-width:140px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:7px;font-size:10px;font-weight:700;padding:5px 7px}
.gf-origin-company{color:#146dc5;background:#e9f3ff;border:1px solid #cfdef6}
.gf-origin-personal{color:#ba680b;background:#fff2e4;border:1px solid #fae2ca}
.gf-cat-badge{color:#526f89;background:#f4f8fb;border:1px solid #e4edf6}
.gf-report-v876{gap:10px;padding:16px 18px 14px}
.gf-report-v876 .gf-panel-head{margin-bottom:0;flex:none}
.gf-report-month-label{display:flex;align-items:center;gap:8px;font-size:11px;color:#617c96;font-weight:700}
.gf-report-month-label input{padding:7px 8px;border:1px solid #d9e6f3;border-radius:9px;font:600 11px 'Inter',Arial,sans-serif;color:#27455f;background:white}
.gf-report-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;flex:none}
.gf-report-stats>div{padding:12px 12px 11px;border-radius:12px;background:#fafcff;border:1px solid #e4edf6;min-width:0;display:flex;flex-direction:column;gap:4px}
.gf-report-stats small{font-weight:700;color:#667f99;font-size:10.5px}
.gf-report-stats b{font-size:18px;white-space:nowrap;color:#102e4b}
.gf-report-stats em{font-style:normal;color:#8ba0b3;font-size:9px;line-height:1.35}
.gf-report-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;min-height:0;flex:1}
.gf-report-section{min-height:0;min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e4edf6;border-radius:13px;overflow:hidden}
.gf-report-section-header{display:flex;gap:9px;align-items:center;padding:11px 12px;border-bottom:1px solid #ecf1f7;flex:none}
.gf-report-section-header>div{flex:1;min-width:0}
.gf-report-section-header h3{margin:0;font-size:13px;color:#173451}
.gf-report-section-header small{display:block;font-size:10px;color:#8498af;margin-top:2px}
.gf-report-section-header strong{font-size:14px;color:#143c60;white-space:nowrap}
.gf-report-icon{border-radius:10px;width:35px;height:35px;display:grid;place-items:center}
.gf-report-icon svg{width:20px;height:20px}
.gf-report-items{overflow-y:auto;flex:1;min-height:0;padding:2px 14px;scrollbar-width:thin}
.gf-report-category{padding:11px 0;border-bottom:1px solid #eaf1f7}
.gf-report-category:last-child{border-bottom:none}
.gf-report-category-line{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gf-report-category-line b{font-size:12px;color:#264963}
.gf-report-category-line b:last-child{white-space:nowrap}
.gf-report-category .gf-bar{height:5px;border-radius:9px;margin:6px 0 4px;background:#edf2f8}
.gf-report-category .gf-bar i{display:block;height:100%;border-radius:9px;background:#2980de}
.gf-personal-section .gf-bar i{background:#dc9950}
.gf-report-category>small{font-size:9.5px;color:#8299ad}
.gf-report-detail{margin-top:7px;display:grid;gap:5px}
.gf-report-detail>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#647e95}
.gf-report-detail>div span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-report-detail>div b{white-space:nowrap;color:#36516c}
.gf-report-no-data{padding:33px 14px;text-align:center;color:#8098ae;font-size:11px}
.gf-report-reconciliation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none;background:#f0f6fe;border:1px solid #dceafb;border-radius:11px;padding:10px}
.gf-report-reconciliation>div{display:flex;flex-direction:column;gap:3px}
.gf-report-reconciliation>div span{font-size:10px;color:#5a7895}
.gf-report-reconciliation>div b{font-size:14px;color:#254f72}
.gf-report-reconciliation>small{grid-column:1/-1;font-size:9.5px;line-height:1.35;color:#7791a7}
.gf-report-footnote{display:block;font-size:9.5px;line-height:1.4;color:#8296aa;flex:none}
@media(max-width:1120px){.gf-entry-meta{flex-basis:155px}.gf-cat-badge{max-width:100px}.gf-report-stats b{font-size:15px}}
@media(max-width:800px){.gf-entry{flex-wrap:wrap}.gf-entry-meta{order:1;flex:1 1 100%;justify-content:flex-start;padding-left:48px}.gf-report-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.gf-report-body{grid-template-columns:1fr;overflow:auto}.gf-report-section{min-height:220px}.gf-report-v876{min-height:650px}.gf-report-reconciliation{grid-template-columns:1fr}.gf-report-reconciliation>small{grid-column:1}.gf-scope-choices{grid-template-columns:1fr 1fr}}

.gf-modal .gf-modal-actions{position:sticky;bottom:-19px;background:#f4f8fd;z-index:5;padding:13px 0 10px;box-shadow:0 -7px 15px rgba(244,248,253,.95)}
.gf-account-scope-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;padding:9px 0}
.gf-account-scope-line label{font-size:12px;font-weight:750}
.gf-account-scope-line select{font:600 12px Inter,Arial,sans-serif;border:1px solid #cdddec;border-radius:8px;padding:9px;background:white;color:#204365;min-width:110px}
.gf-account-scope-note{font-size:11px;color:#7c95ad;line-height:1.4}

/* V8.77 — filtro mensal exclusivo dos Lançamentos. */
.gf-launch-panel .gf-month-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:-4px 0 10px;padding:8px 11px;border:1px solid #e3eaf3;border-radius:10px;background:#f9fbff}
.gf-month-picker{display:flex;align-items:center;gap:6px;min-width:0}
.gf-month-label{color:#657d99;font-size:11px;font-weight:700;white-space:nowrap;margin-right:4px}
.gf-month-picker>button{height:29px;min-width:29px;padding:0 6px;background:white;border:1px solid #d2e3f5;border-radius:8px;color:#246dba;font-size:19px;line-height:1;cursor:pointer}
.gf-month-picker>button:hover{background:#eaf3ff;border-color:#98c8ef}
.gf-month-picker input[type=month]{height:29px;min-width:140px;border:1px solid #c9dced;border-radius:8px;background:white;padding:2px 7px;font:600 11px Inter,Arial,sans-serif;color:#23455f;color-scheme:light}
.gf-month-picker .gf-month-now{min-width:0;padding:0 9px;font-size:10px;font-weight:700;white-space:nowrap}
.gf-month-stats{display:flex;align-items:center;gap:12px;color:#607894;font-size:10.5px;font-weight:650;white-space:nowrap;flex-wrap:wrap}
.gf-month-stats b{font-weight:800;font-size:11px;margin-left:3px}
@media(max-width:1100px){.gf-month-stats{gap:8px}.gf-month-toolbar{gap:6px}}
@media(max-width:700px){.gf-launch-panel .gf-month-toolbar{align-items:flex-start}.gf-month-label{display:none}.gf-month-stats{width:100%;justify-content:space-between}.gf-month-picker input[type=month]{min-width:130px}}

.gf-month-stats-note{font-size:10px;color:#889eb6;font-weight:500}

/* V8.78 — Extrato da Visão geral com colunas e fechamento diário. */
.gf-kpi-balance.gf-balance-negative strong{color:#c83d51}
.gf-extract .gf-home-columns,.gf-extract .gf-home-row{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.06fr) minmax(0,.78fr) minmax(0,1.1fr) 14px;align-items:center;column-gap:7px;min-width:0}
.gf-extract .gf-home-columns{background:#f2f7fd;color:#66809c;border:1px solid #e8f0f9;border-radius:8px;padding:10px 6px;font-size:10px;font-weight:800;flex:none}
.gf-extract .gf-home-columns .gf-home-value-head{text-align:right}
.gf-extract .gf-home-row{border-bottom:1px solid #e9eff6;padding:12px 6px;min-height:58px}
.gf-extract .gf-home-row:last-child{border-bottom:0}
.gf-extract .gf-home-desc,.gf-extract .gf-home-cat{display:flex;flex-direction:column;gap:4px;overflow:hidden;min-width:0}
.gf-extract .gf-home-desc b,.gf-extract .gf-home-cat b{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#143352;font-size:11.5px;font-weight:750}
.gf-extract .gf-home-cat b{font-size:11px;font-weight:700}
.gf-extract .gf-home-desc small,.gf-extract .gf-home-cat small{font-size:9.5px;color:#7c92ac;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.gf-extract .gf-home-type{min-width:0;overflow:hidden}
.gf-extract .gf-home-type .gf-origin,.gf-extract .gf-home-kind{display:inline-block;max-width:100%;padding:4px 5px;border-radius:6px;font-size:9.3px;font-weight:750;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.gf-extract .gf-home-kind-in{color:#127a55;background:#e5f8ed}
.gf-extract .gf-home-kind-transfer,.gf-extract .gf-home-kind-adjust{color:#336d9e;background:#eaf4ff}
.gf-extract .gf-home-value{font-size:11.2px;font-weight:800;white-space:nowrap;text-align:right;letter-spacing:-.15px}
.gf-extract .gf-home-edit{font-size:17px;padding:2px 0;justify-self:end}
.gf-extract .gf-home-summary{display:flex;align-items:center;justify-content:space-between;gap:7px;flex:none;border-top:1px solid #ddeaf7;margin-top:4px;padding:13px 1px 3px}
.gf-extract .gf-home-summary>span{font-size:9.6px;color:#66809b;display:flex;flex-direction:column;gap:4px;min-width:0;white-space:nowrap}
.gf-extract .gf-home-summary strong{font-size:12.4px;font-weight:800}
.gf-extract .gf-home-totalnote{display:block;font-size:9px;color:#9aacc0;margin-top:5px;flex:none;line-height:1.35}
@media(min-width:701px) and (max-width:1140px){.gf-extract .gf-home-columns,.gf-extract .gf-home-row{grid-template-columns:minmax(0,1.75fr) minmax(0,.9fr) minmax(0,.73fr) minmax(0,1fr) 12px;gap:4px}.gf-extract .gf-home-value{font-size:10.6px}.gf-extract .gf-home-columns{font-size:9px}}
@media(max-width:700px){.gf-extract .gf-home-columns,.gf-extract .gf-home-row{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1fr) 13px;gap:4px}.gf-extract .gf-home-columns{font-size:9px;padding:9px 4px}.gf-extract .gf-home-row{padding:10px 4px}.gf-extract .gf-home-desc b{font-size:10.5px}.gf-extract .gf-home-value{font-size:10px}.gf-extract .gf-home-summary strong{font-size:11px}}

/* V8.79 — confirmação de cancelamento sem perder dados digitados. */
.gf-discard-overlay{position:fixed;inset:0;background:#081a2dc9;z-index:101025;display:flex;align-items:center;justify-content:center;padding:16px}
.gf-discard-dialog{width:min(420px,95vw);background:#fff;border:1px solid #dae7f4;border-radius:16px;box-shadow:0 24px 65px #07172f66;padding:27px 25px 23px;text-align:center;font-family:'Inter','Segoe UI',Arial,sans-serif;color:#112f4a}
.gf-discard-symbol{width:42px;height:42px;display:flex;align-items:center;justify-content:center;background:#fff3e8;border:1px solid #ffdec5;border-radius:50%;color:#c45c10;font-size:25px;font-weight:750;margin:0 auto 12px}
.gf-discard-dialog h3{font-size:19px;line-height:1.3;font-weight:800;margin:0 0 9px;color:#102b46}
.gf-discard-dialog p{font-size:13px;color:#647992;line-height:1.5;margin:0 auto 19px;max-width:340px}
.gf-discard-actions{display:flex;gap:10px;justify-content:center}
.gf-discard-actions .gf-btn{font-size:12px;line-height:1.3;font-weight:700;min-height:40px;padding:10px 13px;flex:1;white-space:nowrap}
.gf-discard-back{background:#1879dd;color:#fff;border:1px solid #1879dd}
.gf-discard-back:hover{background:#0c66c5}
.gf-discard-danger{background:#fff;color:#bb3344;border:1px solid #e9bfc5}
.gf-discard-danger:hover{background:#fff2f4;border-color:#d98c97}
@media(max-width:440px){.gf-discard-actions{flex-direction:column}.gf-discard-actions .gf-btn{width:100%}}

/* V8.80 — O meio de pagamento define o fluxo da despesa.
   Cartão: compra + parcelas; banco: vencimento e recorrência intactos. */
.gf-payment-first{display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid #d7e7f7;border-radius:12px;padding:12px 13px}
.gf-payment-first .gf-field>span{font-weight:800;color:#153552}
.gf-payment-help{margin:0;font-size:11px;line-height:1.45;color:#62819e}
.gf-card-purchase{display:flex;flex-direction:column;gap:11px;background:#edf6ff;border:1px solid #c8e1fc;border-radius:12px;padding:13px}
.gf-card-purchase[hidden],#gfBankSituation[hidden],#gfBankRecurrence[hidden]{display:none!important}
.gf-card-cycle{display:flex;flex-direction:column;justify-content:center;gap:5px;font-size:12px;color:#174b79}
.gf-card-cycle small{font-size:11px;font-weight:400;color:#547a9e;line-height:1.4}
.gf-card-preview{border-top:1px solid #cbdff5;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;padding-top:10px;font-size:13px;color:#164771}
.gf-card-preview strong{font-weight:800}.gf-card-preview>span{font-weight:700;color:#1679ce}
.gf-card-preview small{font-size:11px;flex-basis:100%;color:#4a7196;line-height:1.5}
#gfBankSituation .gf-field{max-width:100%}

/* V8.81 — Detalhe do cartão: composição do limite e ajuste do saldo anterior. */
.gf-card-detail{max-height:none;overflow:visible;display:flex;flex-direction:column;gap:10px;color:#153450}
.gf-card-limit-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.gf-card-limit-summary>div{background:#fff;border:1px solid #e0eafa;padding:13px;border-radius:11px;display:flex;flex-direction:column;gap:5px}
.gf-card-limit-summary small{font-size:11px;font-weight:650;color:#70869f}
.gf-card-limit-summary strong{font-size:19px;letter-spacing:-.3px;color:#123354}
.gf-card-limit-summary .gf-card-limit-ok{color:#0c8c60}
.gf-card-limit-summary .gf-card-limit-empty{color:#b63248}
.gf-card-limit-breakdown{display:flex;justify-content:space-between;gap:12px;font-size:12px;padding:0 3px}
.gf-card-limit-breakdown span{color:#6a819b}.gf-card-limit-breakdown b{white-space:nowrap}
.gf-card-cycle-info{margin:1px 0 0;color:#738ba3;font-size:11px}
.gf-card-opening-adjust{background:#e7f1ff;border:1px solid #cce0fa;border-radius:12px;padding:12px;display:grid;grid-template-columns:1fr auto;gap:9px 12px;align-items:end}
.gf-card-opening-adjust .gf-field{font-size:11px}
.gf-card-opening-save{background:#fff;color:#0c63b6;border-color:#a9cdf4;font-weight:700;min-height:40px}
.gf-card-opening-adjust p{grid-column:1/-1;color:#47719b;font-size:11px;line-height:1.4;margin:0}
.gf-card-detail h3{font-size:13px;margin:2px 0 0;color:#17324c}
.gf-card-installments{overflow-y:auto;max-height:145px;border-top:1px solid #dce7f4;scrollbar-width:thin}
.gf-card-installments .gf-detail-line{padding:9px 3px;font-size:12px}
.gf-card-installments .gf-detail-line span{min-width:0}.gf-card-installments .gf-detail-line b{white-space:nowrap}
@media(max-width:600px){.gf-card-opening-adjust{grid-template-columns:1fr}.gf-card-opening-save{justify-self:start}}

/* V8.82 — Cabeçalhos alinhados e dados separados em colunas, só em Lançamentos. */
.gf-launch-panel .gf-launch-columns,
.gf-launch-panel .gf-launch-record{
 display:grid;
 grid-template-columns:94px minmax(0,1.5fr) minmax(85px,.88fr) 80px minmax(128px,1.1fr) 112px 24px;
 column-gap:8px;
 align-items:center;
 min-width:0;
 padding-left:9px;
 padding-right:9px;
}
.gf-launch-panel .gf-launch-columns{
 flex:none;
 min-height:38px;
 margin-bottom:2px;
 border:1px solid #e3edf8;
 border-radius:9px;
 background:#f2f7fd;
 color:#66809c;
 font-size:10.5px;
 font-weight:800;
}
.gf-launch-panel .gf-launch-record{
 min-height:65px;
 padding-top:10px;
 padding-bottom:10px;
 border-bottom:1px solid #eaf0f7;
 font-size:11.5px;
 color:#244363;
}
.gf-launch-panel .gf-launch-record:last-child{border-bottom:0}
.gf-launch-panel .gf-launch-date{display:flex;flex-direction:column;gap:4px;color:#51769a;font-weight:700;font-size:11px;white-space:nowrap}
.gf-launch-panel .gf-launch-date small{font-size:10px;color:#8a9fb3;font-weight:500}
.gf-launch-panel .gf-launch-description{display:flex;align-items:center;gap:9px;min-width:0}
.gf-launch-panel .gf-launch-description .gf-dot{width:32px;height:32px;flex-basis:32px}
.gf-launch-panel .gf-launch-description-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.gf-launch-panel .gf-launch-description-copy b{font-size:11.8px;font-weight:750;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:#102d4c}
.gf-launch-panel .gf-launch-description-copy small{font-size:10px;color:#8298ae}
.gf-launch-panel .gf-launch-account{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5f7894}
.gf-launch-panel .gf-launch-type{min-width:0}
.gf-launch-panel .gf-launch-type .gf-origin{max-width:100%;padding:5px 6px;font-size:9.5px}
.gf-launch-panel .gf-origin-kind{background:#f0f6fc;border:1px solid #deebf9;color:#46739b}
.gf-launch-panel .gf-launch-category{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:3px;overflow:hidden}
.gf-launch-panel .gf-launch-category b{max-width:100%;font-size:10.5px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#426481}
.gf-launch-panel .gf-launch-category small{max-width:100%;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#7a90a8}
.gf-launch-panel .gf-launch-amount{font-size:11.5px;white-space:nowrap;text-align:right;font-weight:800}
.gf-launch-panel .gf-launch-amount-head{text-align:right}
.gf-launch-panel .gf-launch-actions-head{text-align:center}
.gf-launch-panel .gf-launch-more{padding:2px;font-size:19px;text-align:center}
@media(max-width:1000px){
 .gf-launch-panel .gf-launch-columns,.gf-launch-panel .gf-launch-record{grid-template-columns:79px minmax(100px,1.3fr) minmax(65px,.7fr) 68px minmax(90px,.9fr) 94px 20px;column-gap:5px;padding-left:5px;padding-right:5px}
 .gf-launch-panel .gf-launch-amount{font-size:10.5px}
 .gf-launch-panel .gf-launch-columns{font-size:9px}
}
@media(max-width:650px){
 .gf-launch-panel .gf-launch-columns,.gf-launch-panel .gf-launch-record{min-width:650px}
 .gf-launch-panel .gf-launch-columns{overflow:hidden}
 .gf-launch-panel .gf-launch-list{overflow-x:auto}
}

/* V8.83 — Gerenciar cartões: ações curtas, detalhes agrupados e ajustes em tela separada. */
.gf-card-manage{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #dce6f3;padding-top:11px}
.gf-card-status{border-radius:999px;font-size:11px;padding:5px 10px;font-weight:800}
.gf-card-status-on{color:#087a58;background:#e1f6ed}.gf-card-status-off{color:#69768a;background:#e5eaf0}
.gf-card-inactive-label{font-size:10px;font-weight:700;color:#738395;background:#edf1f5;border:1px solid #dce5ed;padding:2px 5px;border-radius:5px}
.gf-card-manage .gf-btn{font-size:11px;font-weight:700;padding:9px 10px;min-height:34px;background:#fff;color:#205680;border-color:#d1e0f0}
.gf-card-manage .gf-card-delete-btn{color:#b23a49;border-color:#eacbd0;margin-left:auto}
.gf-card-manage .gf-card-delete-btn:hover,.gf-card-purchase-delete:hover{background:#fff0f1}
.gf-card-purchases{max-height:212px;overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:8px;padding-right:3px}
.gf-card-purchase-item{background:#fff;border:1px solid #dfeaf4;border-radius:10px;padding:10px 12px}
.gf-card-purchase-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.gf-card-purchase-head>div{display:flex;flex-direction:column;gap:4px;min-width:0}
.gf-card-purchase-head strong{font-size:12px;color:#163753;overflow-wrap:anywhere}
.gf-card-purchase-head small{font-size:11px;color:#6d8198}
.gf-card-purchase-delete{border:1px solid #f0cad1!important;background:#fff!important;color:#b23a49!important;font-size:11px!important;padding:7px 10px!important;white-space:nowrap;font-weight:700}
.gf-card-purchase-details{margin-top:8px;border-top:1px solid #ebf0f7;padding-top:8px}
.gf-card-purchase-details summary{font-size:11px;color:#2369a9;font-weight:700;cursor:pointer;list-style-position:inside}
.gf-card-purchase-details .gf-card-installments{max-height:none;margin-top:4px}
.gf-card-purchase-details .gf-detail-line{padding:6px 2px!important}
.gf-card-no-purchases{font-size:12px;color:#71859d;padding:16px}
.gf-card-settings-more{background:#edf4fc;border:1px solid #d9e5f2;border-radius:11px;padding:12px 14px}
.gf-card-settings-more summary{font-size:12px;font-weight:750;color:#265776;cursor:pointer}
.gf-card-settings-more p{font-size:11px;color:#67819a;line-height:1.5;margin:9px 0}
.gf-card-settings-more .gf-field{margin-top:10px}
.gf-card-confirm-primary{background:#fff;color:#165a9b;border:1px solid #aed1f1}
.gf-card-confirm-primary:hover{background:#eaf5ff}
@media(max-width:650px){.gf-card-manage .gf-card-delete-btn{margin-left:0}.gf-card-manage{gap:6px}.gf-card-purchase-head{align-items:flex-start}}

/* V8.84 — Cartões: lápis e lixeira na linha, situação no formulário de edição. */
.gf-accounts-panels .gf-account.gf-card-list-row{padding:0 8px 0 0;display:flex;align-items:center;gap:0;border:1px solid #e1ebf6;overflow:hidden}
.gf-card-row-main{background:transparent;display:flex;align-items:center;flex:1;min-width:0;gap:10px;padding:10px 8px 10px 11px;border:0;text-align:left;color:inherit;cursor:pointer;font:inherit}
.gf-card-row-main:hover{background:#f7fbff}.gf-card-row-main .gf-acc-item-copy{flex:1;min-width:0}
.gf-card-row-main .gf-acc-item-amount{min-width:90px}.gf-card-row-actions{display:flex;align-items:center;gap:5px;flex:none}
.gf-card-icon-btn{width:31px;height:34px;display:grid;place-items:center;cursor:pointer;border:1px solid #dae5f1;background:#f5f8fd;color:#2769a9;border-radius:8px}
.gf-card-icon-btn svg{width:16px;height:16px}.gf-card-icon-btn:hover{background:#e6f2ff;border-color:#bcd6f0}
.gf-card-trash-btn{background:#fff5f6;border-color:#fde0e4;color:#c83a52}.gf-card-trash-btn:hover{background:#ffe9ec;border-color:#efb7c1}
.gf-card-detail-hint{font-size:11px;color:#6e859e;border-top:1px solid #e3edf6;padding-top:9px}
.gf-card-status-toggle{display:flex;align-items:center;gap:14px;padding:13px;border-radius:11px;background:#fff;border:1px solid #d7e7f6;cursor:pointer;color:#264661}
.gf-card-status-copy{flex:1;display:flex;flex-direction:column;gap:4px}.gf-card-status-copy strong{font-size:13px;color:#14324f}.gf-card-status-copy small{font-size:11px;color:#8293a4}
.gf-card-switch{display:inline-flex;position:relative;flex:none}.gf-card-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}
.gf-card-switch-track{display:block;width:44px;height:24px;border-radius:20px;background:#a8b6c4;position:relative;transition:background .15s}
.gf-card-switch-track:after{content:'';position:absolute;width:18px;height:18px;top:3px;left:3px;border-radius:50%;background:white;box-shadow:0 1px 3px #19345344;transition:transform .15s}
.gf-card-switch input:checked+.gf-card-switch-track{background:#1979df}.gf-card-switch input:checked+.gf-card-switch-track:after{transform:translateX(20px)}
.gf-card-switch input:focus-visible+.gf-card-switch-track{outline:3px solid #a8d0f6;outline-offset:2px}
.gf-card-status-word{min-width:47px;font-size:12px;color:#52677b}
@media(max-width:1050px){.gf-card-row-main .gf-acc-item-amount{min-width:70px}.gf-card-icon-btn{width:30px}}

/* V8.84 — Lançamentos compactos. Todos os campos cabem em 1366×768, sem rolagem interna. */
@media(min-width:850px) and (min-height:550px){
.gf-modal-compact-expense,.gf-modal-compact-entry{width:min(900px,calc(100vw - 32px));max-height:calc(100vh - 22px)}
.gf-modal-compact-expense .gf-modal-head,.gf-modal-compact-entry .gf-modal-head{padding:9px 18px;flex:none;min-height:52px}
.gf-modal-compact-expense .gf-form,.gf-modal-compact-entry .gf-form{display:grid;grid-template-columns:1fr;align-content:start;gap:9px;padding:11px 16px 9px;overflow:visible;min-height:0}
.gf-modal-compact-expense .gf-field,.gf-modal-compact-entry .gf-field{gap:4px;font-size:11px}
.gf-modal-compact-expense .gf-field input,.gf-modal-compact-expense .gf-field select,.gf-modal-compact-entry .gf-field input,.gf-modal-compact-entry .gf-field select{height:34px;font-size:12px;padding:0 10px}
.gf-modal-compact-expense .gf-payment-first{padding:7px 10px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7px;border-radius:9px}
.gf-modal-compact-expense .gf-payment-first .gf-field{grid-column:1/2}.gf-modal-compact-expense .gf-payment-help{grid-column:2/3;font-size:10px;line-height:1.35}
.gf-modal-compact-expense .gf-compact-main,.gf-modal-compact-entry .gf-compact-main{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1.75fr);gap:10px;align-items:end}
.gf-modal-compact-expense .gf-compact-main .gf-form-grid,.gf-modal-compact-entry .gf-compact-main .gf-form-grid{gap:10px}
.gf-modal-compact-expense .gf-compact-classify{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:10px;align-items:start}
.gf-modal-compact-expense .gf-scope-block{gap:5px}.gf-modal-compact-expense .gf-scope-title{font-size:11px}
.gf-modal-compact-expense .gf-scope-choices{gap:7px}
.gf-modal-compact-expense .gf-scope-choice{padding:7px 8px;gap:6px;min-height:38px;border-radius:8px}
.gf-modal-compact-expense .gf-scope-choice input{height:14px;width:14px}.gf-modal-compact-expense .gf-scope-choice b{font-size:11px}
.gf-modal-compact-expense .gf-scope-choice small{font-size:9px}.gf-modal-compact-expense .gf-scope-choice span{gap:1px}
.gf-modal-compact-expense .gf-compact-classify .gf-form-grid{gap:8px}
.gf-modal-compact-expense .gf-category-tip{font-size:10px;padding:5px 7px;margin:5px 0 0;line-height:1.3}
.gf-modal-compact-expense .gf-compact-schedule{display:grid;grid-template-columns:1fr;gap:0;align-items:start}
.gf-modal-compact-expense .gf-compact-schedule:has(#gfBankRecurrence:not([hidden])){grid-template-columns:160px minmax(0,1fr);gap:10px}
.gf-modal-compact-expense #gfBankSituation{align-self:end}
.gf-modal-compact-expense #gfBankRecurrence{display:block}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:10px;row-gap:5px;align-items:end;border:0;padding:0}
.gf-modal-compact-expense .gf-repeat h3{grid-column:1/-1;font-size:11px;font-weight:800}
.gf-modal-compact-expense .gf-repeat>label{grid-column:1/2}
.gf-modal-compact-expense .gf-repeat #gfRepeatFields{grid-column:2/3;grid-row:2;gap:9px;align-items:end;grid-template-columns:repeat(2,minmax(0,1fr))}
.gf-modal-compact-expense .gf-repeat #gfRepeatFields:has(#gfWeekdayField[hidden]){grid-template-columns:1fr}
.gf-modal-compact-expense .gf-repeat #gfRepeatMessage{grid-column:1/-1;font-size:10px;padding:5px 8px;margin:0;line-height:1.25}
.gf-modal-compact-expense #gfCardFields{padding:8px 11px;gap:4px}
.gf-modal-compact-expense #gfCardFields .gf-form-grid{grid-template-columns:180px 1fr;gap:10px;align-items:center}
.gf-modal-compact-expense .gf-card-cycle{gap:2px;font-size:11px}.gf-modal-compact-expense .gf-card-cycle small{font-size:10px}
.gf-modal-compact-expense .gf-card-preview{font-size:11px;gap:2px 8px;padding-top:5px}
.gf-modal-compact-expense .gf-card-preview small{font-size:10px;line-height:1.3}
.gf-modal-compact-expense .gf-form>label.gf-field,.gf-modal-compact-entry .gf-form>label.gf-field{margin:0}
.gf-modal-compact-expense .gf-modal-actions,.gf-modal-compact-entry .gf-modal-actions{position:static;margin:0;padding:8px 0 0;box-shadow:none;min-height:44px}
.gf-modal-compact-expense .gf-btn,.gf-modal-compact-entry .gf-btn{font-size:11px;padding:8px 11px;min-height:32px}
.gf-modal-compact-entry .gf-compact-entry-rest{display:grid;grid-template-columns:1.2fr 1fr;gap:10px}
.gf-modal-compact-entry .gf-compact-entry-rest>.gf-form-grid{display:grid;grid-template-columns:1fr 1fr}
.gf-modal-compact-entry .gf-compact-entry-rest>.gf-repeat{grid-column:1/-1;display:grid;grid-template-columns:160px 1fr 1fr;gap:8px;border:0;padding:0}
.gf-modal-compact-entry .gf-compact-entry-rest>.gf-repeat h3{grid-column:1/-1}
.gf-modal-compact-entry .gf-compact-entry-rest>.gf-repeat #gfRepeatFields{display:grid;grid-template-columns:repeat(2,1fr)}
}
@media(min-width:850px) and (max-height:550px){.gf-modal-compact-expense .gf-form,.gf-modal-compact-entry .gf-form{overflow-y:auto}}
@media(max-width:849px){.gf-modal-compact-expense,.gf-modal-compact-entry{width:min(650px,96vw)}.gf-compact-main,.gf-compact-classify,.gf-compact-schedule,.gf-compact-entry-rest{display:flex;flex-direction:column;gap:11px}}
.gf-card-switch input{z-index:2}.gf-card-switch-track{pointer-events:none}

/* V8.85 — Novo lançamento compacto, campos claros, tooltip em vez da faixa explicativa. */
.gf-modal-compact-expense{width:min(780px,calc(100vw - 32px));max-height:calc(100vh - 18px)}
.gf-modal-compact-expense .gf-modal-head{padding:9px 18px;min-height:49px}
.gf-modal-compact-expense .gf-form{gap:9px;padding:12px 20px 11px;overflow:visible}
.gf-modal-compact-expense .gf-field{font-size:11px;gap:5px;line-height:1.2}
.gf-modal-compact-expense .gf-field input,.gf-modal-compact-expense .gf-field select{height:38px;font-size:12px}
.gf-modal-compact-expense .gf-payment-first{display:block;padding:0;border:0;background:transparent}
.gf-modal-compact-expense .gf-payment-first .gf-field{width:100%}
.gf-modal-compact-expense .gf-payment-first .gf-field select{height:39px}
.gf-modal-compact-expense .gf-compact-main{grid-template-columns:minmax(0,1.4fr) minmax(0,1.85fr);gap:10px}
.gf-modal-compact-expense .gf-compact-main .gf-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.gf-modal-compact-expense .gf-compact-classify{display:grid;grid-template-columns:minmax(0,1fr);gap:9px}
.gf-modal-compact-expense .gf-scope-block{gap:6px}
.gf-modal-compact-expense .gf-scope-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gf-modal-compact-expense .gf-scope-choice{min-height:44px;padding:7px 12px}
.gf-modal-compact-expense .gf-scope-choice b{font-size:12px}
.gf-modal-compact-expense .gf-scope-choice small{font-size:10px}
.gf-modal-compact-expense .gf-compact-classify .gf-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.gf-modal-compact-expense .gf-compact-schedule:has(#gfBankRecurrence:not([hidden])){grid-template-columns:minmax(0,.85fr) minmax(0,1.8fr);gap:10px}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat{grid-template-columns:1fr 1fr;column-gap:9px;row-gap:3px}
.gf-modal-compact-expense .gf-repeat h3{font-size:11px;line-height:1.2}
.gf-modal-compact-expense .gf-repeat #gfRepeatFields{gap:7px}
.gf-modal-compact-expense .gf-repeat #gfRepeatMessage{font-size:10px;padding:3px 4px;background:transparent;border:0;line-height:1.25;color:#547390}
.gf-modal-compact-expense #gfCardFields{border:0;background:transparent;padding:0;gap:7px}
.gf-modal-compact-expense #gfCardFields .gf-form-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr);gap:10px;align-items:end}
.gf-modal-compact-expense .gf-card-readonly{display:flex;align-items:center;min-width:0;min-height:38px;padding:0 10px;border-radius:9px;border:1px solid #cbdced;background:#fff;font-size:12px;font-weight:650;color:#244763}
.gf-modal-compact-expense .gf-card-preview{padding:5px 8px;border:0;border-radius:8px;background:#e5f1ff;font-size:10px;line-height:1.25;display:block}
.gf-modal-compact-expense .gf-card-preview>span{font-weight:500}
.gf-modal-compact-expense .gf-card-preview .gf-card-over-limit{display:block;font-weight:700;color:#a92b44;margin-top:4px}
.gf-modal-compact-expense .gf-modal-actions{padding:9px 0 0;min-height:45px;margin:0}
.gf-modal-compact-expense .gf-modal-actions .gf-btn{font-size:12px;padding:9px 13px;min-height:34px}
.gf-help-icon{display:inline-flex;vertical-align:middle;position:relative;align-items:center;justify-content:center;margin-left:3px;border-radius:100%;font:800 10px 'Inter',Arial,sans-serif;background:#1879df;color:#fff;width:15px;height:15px;cursor:help;line-height:1;outline-offset:3px}
.gf-help-icon:is(:hover,:focus)::after{content:attr(data-gf-tip);z-index:300;position:absolute;top:calc(100% + 9px);left:0;width:max-content;max-width:280px;min-width:170px;white-space:normal;background:#0d253f;color:#fff;border-radius:7px;padding:8px 10px;font-size:11px;font-weight:500;line-height:1.4;box-shadow:0 5px 15px #08152544}
.gf-compact-main .gf-field:last-child .gf-help-icon:is(:hover,:focus)::after{left:auto;right:0}
@media(max-width:849px){
 .gf-modal-compact-expense .gf-form{overflow-y:auto}
 .gf-modal-compact-expense .gf-compact-main,.gf-modal-compact-expense .gf-compact-classify,.gf-modal-compact-expense .gf-compact-schedule{display:flex;flex-direction:column;gap:10px}
 .gf-modal-compact-expense .gf-payment-first{display:block}
 .gf-modal-compact-expense .gf-compact-main .gf-form-grid,.gf-modal-compact-expense #gfCardFields .gf-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Alinha Situação à linha Repetição, sem espaço ocioso à esquerda. */
@media(min-width:850px){.gf-modal-compact-expense #gfBankSituation{align-self:start;margin-top:24px}}

/* V8.86 — Repetição da despesa: uma única pergunta, alinhada à Situação. */
@media(min-width:850px){
 .gf-modal-compact-expense #gfBankSituation{align-self:start;margin-top:0}
}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat{display:flex;flex-direction:column;align-items:stretch;gap:5px}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat > label.gf-field{width:100%;max-width:none}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-items:end}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields:has(#gfWeekdayField[hidden]){grid-template-columns:1fr}

/* V8.87 — Situação Pago/Não pago ao lado da conta; sem repetição de campos.
   Ações e recorrência permanecem visíveis no Chrome 1366 x 768. */
.gf-modal-compact-expense{width:min(890px,calc(100vw - 36px));max-height:calc(100vh - 24px)}
.gf-modal-compact-expense .gf-form{display:flex;flex-direction:column;gap:9px;padding:10px 18px 9px;overflow-x:hidden;overflow-y:auto;flex:1 1 auto}
.gf-modal-compact-expense .gf-modal-head{min-height:48px;flex:0 0 auto}
.gf-modal-compact-expense .gf-modal-actions{position:sticky;bottom:-9px;z-index:8;flex:0 0 auto;background:#f4f8fd;box-shadow:0 -4px 10px #f4f8fddd;padding:9px 0 0;margin-top:auto}
.gf-modal-compact-expense .gf-expense-top{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);align-items:end;gap:12px}
.gf-modal-compact-expense .gf-payment-first{min-width:0}
.gf-modal-compact-expense .gf-expense-paid{border:0;padding:0;margin:0;min-width:0;display:flex;flex-direction:column;gap:5px}
.gf-modal-compact-expense .gf-expense-paid legend{font-size:11px;font-weight:800;color:#284662;padding:0 0 5px}
.gf-paid-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px;height:39px}
.gf-paid-choice{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;cursor:pointer;border:1px solid #cbdced;background:white;border-radius:9px;color:#17314b;font-size:12px;font-weight:700}
.gf-paid-choice:has(input:checked){border-color:#207ff4;background:#e8f3ff;color:#176bd2;box-shadow:inset 0 0 0 1px #207ff4}
.gf-paid-choice input{appearance:none!important;-webkit-appearance:none!important;width:16px!important;height:16px!important;flex:0 0 16px;border:1.5px solid #96a8bb!important;border-radius:50%!important;background:#fff!important;padding:0!important;outline:0}
.gf-paid-choice input:checked{background:#1879df!important;border-color:#1879df!important;box-shadow:inset 0 0 0 4px #fff}
.gf-paid-choice:focus-within{outline:2px solid #b6d9fb;outline-offset:2px}
.gf-paid-is-card .gf-paid-choices{display:none}
.gf-paid-card-info{height:39px;padding:5px 9px;border:1px solid #cbdff5;border-radius:9px;display:flex;align-items:center;font-size:11px;line-height:1.25;color:#3e709e;background:#e9f3ff}
.gf-paid-card-info[hidden]{display:none!important}
.gf-modal-compact-expense .gf-scope-choice{min-height:51px;padding:7px 11px}
.gf-modal-compact-expense .gf-scope-choice b{font-size:13px}
.gf-modal-compact-expense .gf-compact-schedule{display:block!important}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;gap:9px;align-items:end;border:0;padding:0}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat>label.gf-field{grid-column:1;grid-row:1}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields{grid-column:2;grid-row:1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields[hidden]{display:none!important}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat:has(#gfRepeatFields[hidden]){grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields:not(:has(#gfWeekdayField:not([hidden])))>label:first-child{grid-column:1/3}
.gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatMessage{display:none!important}
.gf-modal-compact-expense #gfCardFields{display:flex;flex-direction:column;gap:5px}
.gf-modal-compact-expense #gfCardFields[hidden]{display:none!important}
@media(max-width:849px){
 .gf-modal-compact-expense .gf-expense-top{grid-template-columns:1fr}
 .gf-modal-compact-expense #gfBankRecurrence .gf-repeat{display:flex!important;flex-direction:column}
 .gf-modal-compact-expense #gfBankRecurrence .gf-repeat>label.gf-field,
 .gf-modal-compact-expense #gfBankRecurrence .gf-repeat #gfRepeatFields{width:100%}
}

/* V8.88 — Uma busca para categoria + subcategoria, com sugestões flutuantes.
   Não acrescenta linhas permanentes ao formulário nem altera a lógica dos pagamentos. */
.gf-modal-compact-expense .gf-expense-category-search{position:relative;min-width:0;z-index:15}
.gf-modal-compact-expense .gf-expense-category-search>.gf-field{width:100%}
.gf-modal-compact-expense .gf-expense-category-search>.gf-field input{width:100%;height:39px;border:1px solid #cadced;border-radius:8px;background:white;font-size:12px;color:#1d354f;padding:0 12px;outline-color:#217cdb}
.gf-modal-compact-expense .gf-category-selection{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:4px;font-size:10px;line-height:1.2;color:#55758c;min-height:16px}
.gf-modal-compact-expense .gf-category-selection[hidden]{display:none!important}
.gf-modal-compact-expense .gf-category-selection b{color:#166ac8}
.gf-modal-compact-expense .gf-category-selection button{border:0;background:none;color:#1879df;font-size:10px;font-weight:700;cursor:pointer;padding:0 2px}
.gf-modal-compact-expense .gf-category-results{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:80;background:#fff;border:1px solid #c6d9eb;border-radius:10px;box-shadow:0 14px 32px #152e4c38;max-height:239px;overflow:auto;padding:4px}
.gf-modal-compact-expense .gf-category-results[hidden]{display:none!important}
.gf-modal-compact-expense .gf-cat-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;cursor:pointer;border:0;border-radius:7px;background:white;padding:7px 10px;color:#173450}
.gf-modal-compact-expense .gf-cat-option:hover,.gf-modal-compact-expense .gf-cat-option-active{background:#eaf3ff}
.gf-modal-compact-expense .gf-cat-option strong{font-size:12px;line-height:1.2}
.gf-modal-compact-expense .gf-cat-option small{font-size:10px;color:#69839a}
.gf-modal-compact-expense .gf-cat-empty{margin:7px 9px;font-size:11px;color:#627b91}
.gf-modal-compact-expense .gf-cat-create-btn{display:block;width:100%;text-align:left;margin-top:3px;border:0;border-top:1px solid #e3edf7;background:#fff;color:#1775d0;cursor:pointer;font-size:11px;font-weight:750;padding:10px}
.gf-modal-compact-expense .gf-cat-create-btn:hover{background:#edf6ff}
.gf-modal-compact-expense .gf-cat-create{display:grid;gap:7px;padding:8px 10px}
.gf-modal-compact-expense .gf-cat-create strong{font-size:12px;color:#193550}
.gf-modal-compact-expense .gf-cat-create label{font-size:10px;display:grid;gap:3px;font-weight:650;color:#304a64}
.gf-modal-compact-expense .gf-cat-create input,.gf-modal-compact-expense .gf-cat-create select{height:31px!important;width:100%;border-radius:7px;border:1px solid #cedfed;padding:0 7px;background:#fff;font-size:11px}
.gf-modal-compact-expense .gf-cat-create label[hidden]{display:none!important}
.gf-modal-compact-expense .gf-cat-create-actions{display:flex;justify-content:flex-end;gap:7px}
.gf-modal-compact-expense .gf-cat-create-actions button{border:1px solid #cadae9;background:#fff;color:#26435c;border-radius:7px;padding:7px 12px;cursor:pointer;font-size:11px}
.gf-modal-compact-expense .gf-cat-create-actions #gfCreateConfirm{background:#1978db;border-color:#1978db;color:white;font-weight:700}
.gf-modal-compact-expense #gfCreateError{font-size:10px;color:#bc3648}
@media(max-width:849px){.gf-modal-compact-expense .gf-category-results{max-height:200px}}

/* Suspende rolagem do modal durante sugestões: lista sobreposta, fixada à janela. */
.gf-modal-compact-expense .gf-category-results{position:fixed;z-index:500}

/* V8.89 — Legibilidade dos lançamentos, mantendo colunas e altura aprovadas. */
@media(min-width:1001px){
 .gf-launch-panel .gf-launch-columns{font-size:11.5px}
 .gf-launch-panel .gf-launch-record{font-size:13px}
 .gf-launch-panel .gf-launch-date{font-size:12.5px}
 .gf-launch-panel .gf-launch-description-copy b{font-size:13.5px}
 .gf-launch-panel .gf-launch-description-copy small{font-size:11.5px}
 .gf-launch-panel .gf-launch-account{font-size:12.5px}
 .gf-launch-panel .gf-launch-type .gf-origin{font-size:10.5px}
 .gf-launch-panel .gf-launch-category b{font-size:12px}
 .gf-launch-panel .gf-launch-category small{font-size:11px}
 .gf-launch-panel .gf-launch-amount{font-size:13px}
 .gf-month-stats{font-size:11.5px;gap:8px}
 .gf-month-stats b{font-size:12px}
}
/* Tooltip da busca apenas no ícone: evita exibir duplicado por foco e hover simultâneos. */
.gf-modal-compact-expense .gf-expense-category-search .gf-help-icon:not(:hover):focus::after{display:none}
.gf-report-head-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gf-report-demo-btn{background:#edf5ff;color:#146cbb;border:1px solid #bedbf7;font-weight:750;white-space:nowrap;font-size:11px;padding:8px 12px;border-radius:9px}
.gf-report-demo-btn:hover{background:#e0efff}
.gf-report-demo-on{background:#fff3e3;color:#92561a;border-color:#ead4b5}
.gf-report-example-banner{background:#fff7e8;color:#865419;border:1px solid #f1d7ad;border-radius:10px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;font-size:12px;flex:none}
.gf-report-example-banner small{font-size:10.5px;line-height:1.5;color:#8d6a3b}
.gf-report-demo-mode{overflow-y:auto;max-height:100%}
.gf-report-demo-mode .gf-report-body{flex:0 0 auto;min-height:260px}
.gf-report-demo-mode .gf-report-section{height:270px}
.gf-report-example-ledger{margin-top:8px;padding:12px;border:1px solid #e3ebf4;border-radius:11px;background:white}
.gf-report-example-ledger h3{margin:0 0 10px;font-size:13px;color:#153e65}
.gf-report-example-scroll{max-height:none;overflow-x:auto;overflow-y:visible}
.gf-report-example-ledger table{width:100%;border-collapse:collapse;font-size:11px}
.gf-report-example-ledger th{text-align:left;color:#57718c;background:#f3f7fc;font-size:10px;position:sticky;top:0}
.gf-report-example-ledger th,.gf-report-example-ledger td{padding:8px 9px;border-bottom:1px solid #edf2f8}
.gf-report-example-ledger td:last-child,.gf-report-example-ledger th:last-child{text-align:right;white-space:nowrap;font-weight:750}
@media(max-width:700px){.gf-report-head-controls{flex-direction:column;align-items:flex-end}.gf-report-demo-mode .gf-report-section{min-height:260px}}


/* V8.90 — Acessibilidade visual unificada e gráficos categorizados.
   Alterações somente no Financeiro: Visão geral, Lançamentos e Relatórios. */
@media(min-width:701px){
 /* Aumentar leitura sem alargar painéis ou alterar as colunas aprovadas */
 .gf-extract .gf-home-columns{font-size:11.5px;padding:10px 6px}
 .gf-extract .gf-home-desc b{font-size:13.5px}
 .gf-extract .gf-home-cat b{font-size:12.5px}
 .gf-extract .gf-home-desc small,.gf-extract .gf-home-cat small{font-size:11px}
 .gf-extract .gf-home-type .gf-origin,.gf-extract .gf-home-kind{font-size:10.5px}
 .gf-extract .gf-home-value{font-size:13px;letter-spacing:-.25px}
 .gf-extract .gf-home-summary>span{font-size:11.5px}
 .gf-extract .gf-home-summary strong{font-size:14px}
 .gf-extract .gf-home-totalnote{font-size:10.5px}
 .gf-launch-panel .gf-launch-columns{font-size:12px}
 .gf-launch-panel .gf-launch-record{font-size:13px}
 .gf-launch-panel .gf-launch-date{font-size:13px}
 .gf-launch-panel .gf-launch-description-copy b{font-size:14px}
 .gf-launch-panel .gf-launch-description-copy small{font-size:11.5px}
 .gf-launch-panel .gf-launch-account{font-size:12.5px}
 .gf-launch-panel .gf-launch-category b{font-size:12.5px}
 .gf-launch-panel .gf-launch-category small{font-size:11px}
 .gf-launch-panel .gf-launch-amount{font-size:13px}
}
.gf-report-v876{gap:10px}
.gf-report-v876 .gf-panel-head h2{font-size:19px}
.gf-report-v876 .gf-panel-head p{font-size:12px}
.gf-report-head-controls{gap:8px}
.gf-report-view-switch{display:inline-flex;gap:3px;align-items:center;border:1px solid #d5e5f6;border-radius:9px;padding:3px;background:#f3f7fd}
.gf-report-view-switch button{border:0;border-radius:7px;background:transparent;color:#54728e;font:750 12px 'Inter',Arial,sans-serif;cursor:pointer;padding:7px 12px;white-space:nowrap}
.gf-report-view-switch button.on{color:#1163b3;background:#fff;box-shadow:0 2px 7px #2d649023}
.gf-report-view-switch button:focus-visible{outline:2px solid #1c77d5;outline-offset:2px}
.gf-report-month-label{font-size:12px}
.gf-report-month-label input{font-size:12px}
.gf-report-stats>div{padding:12px 13px;gap:5px}
.gf-report-stats small{font-size:12px}
.gf-report-stats b{font-size:21px}
.gf-report-stats em{font-size:10.5px}
.gf-report-section-header{padding:12px 13px}
.gf-report-section-header h3{font-size:15px}
.gf-report-section-header small{font-size:11px}
.gf-report-section-header strong{font-size:15px}
.gf-report-category{padding:10px 0}
.gf-report-category-line b{font-size:13.5px}
.gf-report-name{display:flex;align-items:center;gap:9px;min-width:0}
.gf-report-name b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-category-dot,.gf-pie-dot{width:12px;height:12px;flex:0 0 12px;border-radius:50%;display:inline-block}
.gf-report-category>small{font-size:11px}
.gf-report-detail>div{font-size:11.5px}
.gf-report-no-data{font-size:12px}
.gf-report-reconciliation>div span{font-size:11.5px}
.gf-report-reconciliation>div b{font-size:16px}
.gf-report-reconciliation>small{font-size:10.5px}
.gf-report-footnote{font-size:10.5px}
.gf-report-pie-mode .gf-report-items{padding:12px;display:flex;align-items:center;justify-content:center;overflow-y:auto}
.gf-report-pie-mode .gf-report-section{min-height:0}
.gf-pie-layout{display:grid;grid-template-columns:minmax(130px, 42%) minmax(0,1fr);gap:13px;align-items:center;width:100%;min-width:0}
.gf-pie-graphic{display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
.gf-pie-graphic svg{width:min(100%,190px);height:auto;max-height:184px;display:block}
.gf-pie-graphic small{font-size:11px;color:#637d98;text-align:center}
.gf-pie-graphic small b{color:#133552;font-size:12px}
.gf-pie-legend{min-width:0;max-height:200px;overflow-y:auto;scrollbar-width:thin}
.gf-pie-row{display:grid;grid-template-columns:12px minmax(0,1fr) auto 42px;gap:6px;align-items:center;padding:8px 2px;border-bottom:1px solid #edf2f7;min-width:0}
.gf-pie-row:last-child{border:0}
.gf-pie-row .gf-pie-name{font-weight:700;font-size:12px;color:#243f5d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.gf-pie-row b{font-size:11.5px;white-space:nowrap;color:#193f5f}
.gf-pie-row small{font-size:11px;color:#667f99;text-align:right}
@media(min-width:701px) and (max-width:1120px){
 .gf-report-stats b{font-size:18px}
 .gf-pie-layout{grid-template-columns:minmax(105px,38%) minmax(0,1fr);gap:7px}
 .gf-pie-row{grid-template-columns:10px minmax(0,1fr) auto;gap:5px}
 .gf-pie-row small{grid-column:3}
}
@media(max-width:700px){
 .gf-report-pie-mode .gf-report-items{min-height:240px}
 .gf-pie-layout{grid-template-columns:130px minmax(0,1fr)}
 .gf-report-stats small{font-size:11px}
 .gf-report-stats b{font-size:18px}
}


/* V8.91 — Ajustes de leitura e acessibilidade, sem alteração das regras financeiras. */
/* Tooltip financeiro exclusivo: não aciona o tooltip global de [data-tip]. */
.gf-modal .gf-help-icon:is(:hover,:focus)::after{
 background:#111827;color:#fff;font-size:12px;line-height:1.45;
 max-width:275px;min-width:175px;white-space:normal;border-radius:7px;
 padding:9px 11px;box-shadow:0 8px 20px rgba(0,0,0,.24);
}
.gf-modal .gf-help-icon:focus-visible{outline:2px solid #4d9ff4}
/* Os mesmos números ficam legíveis dentro de Contas e cartões em 1366x768. */
@media(min-width:1001px){
 .gf-accounts-stat-copy small{font-size:12.5px}
 .gf-accounts-stat-copy strong{font-size:23px}
 .gf-accounts-stat-copy em{font-size:12px}
 .gf-accounts-section-head h2{font-size:18px}
 .gf-accounts-section-head p{font-size:13px}
 .gf-accounts-panels .gf-account.gf-accounts-row{min-height:73px}
 .gf-acc-item-copy b{font-size:14px}
 .gf-account .gf-acc-item-copy small{font-size:12.5px}
 .gf-acc-item-amount b{font-size:14px}
 .gf-acc-item-amount small{font-size:12px}
 .gf-btn.gf-accounts-action{font-size:13px}
 .gf-accounts-empty strong{font-size:15px}
 .gf-accounts-empty p{font-size:12.5px}
}
/* Relatórios: melhorar os elementos antes miúdos sem mudar o grid principal. */
@media(min-width:1001px){
 .gf-report-v876 .gf-panel-head p{font-size:13px}
 .gf-report-stats small{font-size:12.5px}
 .gf-report-stats em{font-size:11.5px;line-height:1.3}
 .gf-report-section-header h3{font-size:16px}
 .gf-report-section-header small{font-size:12px}
 .gf-report-section-header strong{font-size:16px}
 .gf-report-category-line b{font-size:14px}
 .gf-report-category>small,.gf-report-detail>div{font-size:12px}
 .gf-pie-row .gf-pie-name{font-size:12.5px}
 .gf-pie-row b{font-size:12px}
 .gf-pie-row small{font-size:11.5px}
 .gf-report-reconciliation>div span{font-size:12px}
 .gf-report-reconciliation>div b{font-size:16px}
 .gf-report-reconciliation>small,.gf-report-footnote{font-size:11.5px;line-height:1.5}
}
/* Tabela dos lançamentos fictícios: linhas guiadas, zebrado discreto e hover. */
.gf-report-example-ledger h3{font-size:15px}
.gf-report-example-ledger table{font-size:12.5px;border-collapse:separate;border-spacing:0}
.gf-report-example-ledger th{font-size:12px;color:#3b5879;background:#edf4fc;white-space:nowrap}
.gf-report-example-ledger th,.gf-report-example-ledger td{padding:11px 10px;border-bottom:1px solid #dce8f4}
.gf-report-example-ledger tbody tr:nth-child(even){background:#f3f7fd}
.gf-report-example-ledger tbody tr:nth-child(odd){background:#fff}
.gf-report-example-ledger tbody tr:hover{background:#e3f0ff}
.gf-report-example-ledger tbody tr{transition:background-color .12s ease}
.gf-report-example-ledger tbody tr:last-child td{border-bottom:0}
.gf-report-example-ledger td{vertical-align:middle}
.gf-example-type{display:inline-flex;align-items:center;border-radius:7px;padding:4px 8px;font-weight:750;font-size:11.5px;background:#e7f0ff;color:#2169b7;white-space:nowrap}
.gf-example-type-personal{background:#fff0df;color:#9d5916}
.gf-example-type-income{background:#def7e9;color:#087f4f}
.gf-example-type-transfer{background:#eef2f8;color:#536b83}
.gf-example-category{display:inline-flex;align-items:center;gap:7px;min-width:0}
.gf-example-category .gf-pie-dot{width:10px;height:10px;flex:0 0 10px}
.gf-report-example-ledger td:nth-child(2){font-weight:650}
.gf-report-example-ledger td:last-child{font-size:13px}
@media(max-width:1000px){
 .gf-report-example-ledger table{min-width:735px}
}
@media(prefers-reduced-motion:reduce){.gf-report-example-ledger tbody tr{transition:none}}

/* V8.92 — baixa rápida por parcela, sem alterar fluxo do cartão. */
.gf-launch-panel .gf-launch-columns,.gf-launch-panel .gf-launch-record{grid-template-columns:90px minmax(0,1.48fr) minmax(80px,.85fr) 76px minmax(115px,1fr) 105px 67px;column-gap:7px}
.gf-launch-panel .gf-launch-row-actions{display:flex;justify-content:flex-end;align-items:center;gap:4px;min-width:0}
.gf-launch-panel .gf-pay-quick{display:grid;place-items:center;flex:none;width:30px;height:30px;cursor:pointer;background:#eaf8f0;color:#078055;border:1px solid #bfe9d1;border-radius:8px;transition:background .12s,border-color .12s}
.gf-launch-panel .gf-pay-quick svg{width:17px;height:17px}
.gf-launch-panel .gf-pay-quick:hover{background:#caeed9;border-color:#72c89d}
.gf-launch-panel .gf-pay-quick-paid{background:#eaf4fc;color:#4b779c;border-color:#cce0f2}
.gf-launch-panel .gf-pay-quick-paid:hover{background:#dceaf9}
.gf-launch-panel .gf-pay-quick:focus-visible{outline:2px solid #2682df;outline-offset:1px}
.gf-launch-panel .gf-launch-actions-head{text-align:right}
@media(max-width:1080px){.gf-launch-panel .gf-launch-columns,.gf-launch-panel .gf-launch-record{grid-template-columns:78px minmax(105px,1.28fr) minmax(67px,.7fr) 70px minmax(95px,.93fr) 94px 65px;gap:5px;padding-left:5px;padding-right:5px}}
@media(max-width:750px){.gf-launch-panel .gf-launch-columns,.gf-launch-panel .gf-launch-record{min-width:710px}}
/* V8.92 — filtros por coluna e totais calculados apenas sobre a seleção. */
.gf-report-ledger{flex:none}
.gf-report-ledger-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.gf-report-ledger-top h3{margin:0 0 4px;font-size:15px}
.gf-report-ledger-top small{font-size:11px;color:#6f849b}
.gf-report-ledger .gf-report-example-scroll{overflow-x:auto;max-height:350px;overflow-y:auto;scrollbar-width:thin}
.gf-report-ledger table{min-width:760px;width:100%;table-layout:auto}
.gf-report-ledger th{vertical-align:top;min-width:0;position:sticky;top:0;z-index:2;background:#edf4fc}
.gf-report-ledger th:first-child{min-width:138px;width:17%}
.gf-report-ledger th:nth-child(2){min-width:190px;width:26%}
.gf-report-ledger th:nth-child(3){min-width:125px;width:18%}
.gf-report-ledger th:nth-child(4){min-width:175px;width:23%}
.gf-report-ledger th:last-child{min-width:95px;width:16%}
.gf-report-ledger th button{border:0;background:transparent;color:#375a7e;font:750 12px Inter,'Segoe UI',Arial,sans-serif;padding:0;cursor:pointer;min-height:20px;white-space:nowrap}
.gf-report-ledger th button:hover{color:#1177d4;text-decoration:underline}
.gf-report-ledger th label{font:750 12px Inter,'Segoe UI',Arial,sans-serif;color:#375a7e;display:block}
.gf-report-ledger th input,.gf-report-ledger th select{display:block;width:100%;min-width:0;height:30px;margin-top:5px;background:white;color:#254567;border:1px solid #cddded;border-radius:7px;font:500 11px Inter,'Segoe UI',Arial,sans-serif;padding:4px 6px}
.gf-report-ledger th input:focus,.gf-report-ledger th select:focus{outline:2px solid #c0ddff}
.gf-report-ledger-totals{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;padding:12px 6px 2px;border-top:1px solid #dce8f4;color:#496782;font-size:12px}
.gf-report-ledger-totals b{font-size:13px;color:#203f61}
.gf-report-no-matches{text-align:center!important;color:#72869a;font-weight:500!important;padding:18px!important}
.gf-report-filter-notice{font-size:11px;color:#265a92;border:1px solid #cee0f6;border-radius:9px;background:#f0f7ff;padding:8px 11px}
.gf-report-clear:disabled{opacity:.4;cursor:default;transform:none;box-shadow:none}
.gf-report-due-hint{display:block;font-size:10px;color:#8093a7;margin-top:3px}
/* A tabela de movimentos não pode comprimir os painéis de categoria/pizza: a página de relatórios rola por dentro. */
.gf-report-v876:has(.gf-report-ledger){overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#d3e0ee transparent;align-content:start}
.gf-report-v876:has(.gf-report-ledger) .gf-report-body{flex:0 0 auto;min-height:270px}
.gf-report-v876:has(.gf-report-ledger) .gf-report-section{min-height:260px}

.gf-launch-panel .gf-pay-quick-paid span{font-size:23px;font-weight:700;line-height:1}

/* V8.93 — Mais espaço para Data e Descrição, sem espremer os demais filtros.
   O painel de relatórios conserva sua rolagem durante a filtragem. */
@media(min-width:1001px){
 .gf-report-ledger table{min-width:870px;table-layout:fixed}
 .gf-report-ledger th:first-child{width:19%;min-width:165px}
 .gf-report-ledger th:nth-child(2){width:31%;min-width:250px}
 .gf-report-ledger th:nth-child(3){width:16%;min-width:120px}
 .gf-report-ledger th:nth-child(4){width:23%;min-width:155px}
 .gf-report-ledger th:last-child{width:11%;min-width:100px}
 .gf-report-ledger th input,.gf-report-ledger th select{
   width:100%;height:37px;padding:6px 9px;font-size:12px;
 }
 .gf-report-ledger #gfReportDescription{font-size:12.5px;padding-left:11px}
 .gf-report-ledger #gfReportExactDate{font-size:12px}
}
@media(max-width:1000px){
 .gf-report-ledger th:first-child{min-width:165px}
 .gf-report-ledger th:nth-child(2){min-width:240px}
 .gf-report-ledger th:nth-child(3){min-width:122px}
 .gf-report-ledger th:nth-child(4){min-width:167px}
 .gf-report-ledger th:last-child{min-width:95px}
 .gf-report-ledger th input,.gf-report-ledger th select{height:36px;font-size:12px}
}


/* V8.94 — Nova entrada: compacta, independente do cadastro antigo de entradas.
   Usa o mesmo padrão da Nova despesa sem alterar regras de recorrência. */
.gf-modal-compact-entry{width:min(890px,calc(100vw - 36px));max-height:calc(100vh - 24px)}
.gf-modal-compact-entry .gf-modal-head{min-height:49px;flex:0 0 auto}
.gf-modal-compact-entry .gf-form{display:flex;flex-direction:column;gap:12px;padding:14px 19px 12px;overflow-y:auto;overflow-x:hidden;flex:1 1 auto}
.gf-modal-compact-entry .gf-field{font-size:12px;line-height:1.25;gap:6px}
.gf-modal-compact-entry .gf-field input,.gf-modal-compact-entry .gf-field select{height:39px;font-size:13px}
.gf-modal-compact-entry .gf-entry-top{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:13px;align-items:end}
.gf-modal-compact-entry .gf-entry-status{border:0;padding:0;margin:0;min-width:0}
.gf-modal-compact-entry .gf-entry-status legend{color:#284662;font-size:12px;font-weight:750;padding:0 0 7px}
.gf-modal-compact-entry .gf-entry-status-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gf-modal-compact-entry .gf-entry-status-options label{display:flex;align-items:center;justify-content:center;gap:8px;height:39px;border:1px solid #cbdced;background:#fff;border-radius:9px;color:#223f5d;font-size:12px;font-weight:700;cursor:pointer}
.gf-modal-compact-entry .gf-entry-status-options label:has(input:checked){border-color:#1d80e5;background:#e8f3ff;color:#156dd3;box-shadow:inset 0 0 0 1px #1d80e5}
.gf-modal-compact-entry .gf-entry-status-options input{width:15px;height:15px;accent-color:#1c7ce3;flex:0 0 auto}
.gf-modal-compact-entry .gf-entry-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1.05fr);gap:12px;align-items:end}
.gf-modal-compact-entry .gf-entry-schedule .gf-repeat{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:12px;align-items:end;border:0;padding:0}
.gf-modal-compact-entry .gf-entry-schedule .gf-repeat>label.gf-field{grid-column:1;grid-row:1}
.gf-modal-compact-entry .gf-entry-schedule #gfRepeatFields{grid-column:2;grid-row:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.gf-modal-compact-entry .gf-entry-schedule #gfRepeatFields:has(#gfWeekdayField[hidden]){grid-template-columns:1fr 1fr}
.gf-modal-compact-entry .gf-entry-schedule #gfRepeatFields[hidden]{display:none!important}
.gf-modal-compact-entry .gf-entry-schedule #gfRepeatMessage{display:none!important}
.gf-modal-compact-entry .gf-expense-category-search{position:relative;min-width:0;z-index:15}
.gf-modal-compact-entry .gf-expense-category-search>.gf-field input{height:39px;border:1px solid #cbdced;border-radius:9px;padding:0 12px;background:#fff;font-size:13px;color:#193955}
.gf-modal-compact-entry .gf-category-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:5px;color:#54758f;font-size:11px}
.gf-modal-compact-entry .gf-category-selection[hidden]{display:none!important}
.gf-modal-compact-entry .gf-category-selection button{border:0;background:none;color:#1879df;font-size:11px;font-weight:700;cursor:pointer}
.gf-modal-compact-entry .gf-category-results{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:80;background:#fff;border:1px solid #c6d9eb;border-radius:10px;box-shadow:0 14px 32px #152e4c38;max-height:235px;overflow:auto;padding:4px}
.gf-modal-compact-entry .gf-category-results[hidden]{display:none!important}
.gf-modal-compact-entry .gf-cat-option{display:flex;flex-direction:column;align-items:flex-start;gap:2px;width:100%;text-align:left;cursor:pointer;border:0;border-radius:7px;background:#fff;padding:8px 10px;color:#173450}
.gf-modal-compact-entry .gf-cat-option:hover,.gf-modal-compact-entry .gf-cat-option-active{background:#eaf3ff}
.gf-modal-compact-entry .gf-cat-option strong{font-size:13px}
.gf-modal-compact-entry .gf-cat-option small{font-size:11px;color:#69839a}
.gf-modal-compact-entry .gf-cat-empty{margin:8px 9px;font-size:12px;color:#647f99}
.gf-modal-compact-entry .gf-cat-create-btn{display:block;width:100%;text-align:left;margin-top:3px;border:0;border-top:1px solid #e3edf7;background:#fff;color:#1676d2;cursor:pointer;font-size:12px;font-weight:750;padding:10px}
.gf-modal-compact-entry .gf-cat-create{display:grid;gap:7px;padding:8px 10px}
.gf-modal-compact-entry .gf-cat-create strong{font-size:13px}
.gf-modal-compact-entry .gf-cat-create label{font-size:11px;display:grid;gap:4px;color:#30506b}
.gf-modal-compact-entry .gf-cat-create input,.gf-modal-compact-entry .gf-cat-create select{height:32px!important;border:1px solid #cbdced;border-radius:7px;background:#fff;padding:0 8px;font-size:12px;width:100%}
.gf-modal-compact-entry .gf-cat-create label[hidden]{display:none!important}
.gf-modal-compact-entry .gf-cat-create-actions{display:flex;justify-content:flex-end;gap:8px}
.gf-modal-compact-entry .gf-cat-create-actions button{background:#fff;border:1px solid #cbdced;border-radius:7px;padding:8px 12px;font-size:12px;cursor:pointer}
.gf-modal-compact-entry .gf-cat-create-actions #gfCreateConfirm{background:#1978db;border-color:#1978db;color:#fff;font-weight:700}
.gf-modal-compact-entry .gf-modal-actions{position:sticky;bottom:-12px;margin-top:auto;z-index:8;background:#f4f8fd;padding:10px 0 0;box-shadow:0 -5px 11px #f4f8fded;flex:none}
.gf-modal-compact-entry .gf-modal-actions .gf-btn{font-size:12px;padding:9px 15px;min-height:36px}
@media(max-width:849px){
 .gf-modal-compact-entry .gf-entry-top,.gf-modal-compact-entry .gf-entry-main{grid-template-columns:1fr}
 .gf-modal-compact-entry .gf-entry-schedule .gf-repeat{grid-template-columns:1fr}
 .gf-modal-compact-entry .gf-entry-schedule .gf-repeat>label.gf-field,.gf-modal-compact-entry .gf-entry-schedule #gfRepeatFields{grid-column:1;grid-row:auto;width:100%}
}
.gf-modal-compact-entry .gf-category-results{position:fixed;z-index:500}
.gf-modal-compact-entry .gf-modal-actions{flex:none}
