.financial-card-strip,.financial-credit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.financial-credit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-credit-card{overflow:hidden;padding:16px;border:1px solid #dbe4e8;border-radius:19px;background:linear-gradient(145deg,#102a45,#173853);color:#fff;box-shadow:0 10px 24px rgba(15,37,61,.12)}.financial-credit-card header{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px}.financial-credit-card header>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:rgba(68,220,181,.14);color:#44dcb5}.financial-credit-card h3{margin:0}.financial-credit-card header small{color:#c3ced8}.financial-credit-card header em{padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.12);font-size:9px;font-style:normal;font-weight:800}.financial-credit-card-total{display:grid;gap:3px;margin:17px 0}.financial-credit-card-total small,.financial-credit-card-total span,.financial-credit-card dt{color:#bdcad5}.financial-credit-card-total strong{font-size:25px}.financial-credit-card-total span{font-size:11px}.financial-credit-card dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0;padding:12px 0;border-top:1px solid rgba(255,255,255,.13)}.financial-credit-card dl div{display:grid;gap:2px}.financial-credit-card dt{font-size:10px}.financial-credit-card dd{margin:0;font-weight:800}.financial-credit-card>button{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:8px;padding:10px 12px;border:0;border-radius:11px;background:#0db78c;color:#fff;font-weight:850}.financial-credit-card>button:disabled{opacity:.5}.financial-credit-overview{display:grid;grid-template-columns:1fr 1fr;gap:12px}.financial-credit-overview article{display:grid;gap:4px;padding:18px;border:1px solid #dce4e8;border-radius:18px;background:#fff}.financial-credit-overview small,.financial-credit-overview span{color:#6b7890}.financial-credit-overview strong{font-size:25px}.financial-credit-overview span{font-size:11px}
.financial-invoice-list,.financial-wallet-list{display:grid;gap:9px}.financial-invoice-list>button,.financial-wallet-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:13px;border:1px solid #e0e6ea;border-radius:14px;background:#fff;color:#172741;text-align:left}.financial-invoice-list>button>span{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:3px 10px}.financial-invoice-list>button>span>svg{grid-row:1/3;width:30px;color:#078e6f}.financial-invoice-list small{grid-column:2;color:#6d798d}.financial-invoice-list em{font-style:normal}.financial-wallet-list>article{grid-template-columns:44px minmax(0,1fr) auto}.financial-wallet-list>article>span{grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e8f8f4;color:#078e6f}.financial-wallet-list>article>div{display:grid;gap:3px}.financial-wallet-list small{color:#6d798d}.financial-wallet-list em{grid-column:3;color:#7b8798;font-size:9px;font-style:normal}.financial-data-note{display:flex;align-items:center;gap:8px;margin:13px 0 0;padding:11px;border-radius:12px;background:#f0f7f7;color:#526b70;font-size:11px}.financial-data-note svg{width:18px}.financial-invoice-summary{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:15px;border-radius:16px;background:#102a45;color:#fff}.financial-invoice-summary>div{display:grid;gap:4px}.financial-invoice-summary small{color:#c4d0d9}.financial-invoice-summary strong{font-size:19px}.financial-invoice-summary>em{position:absolute;right:12px;top:-12px}.financial-invoice-purchases{margin-top:16px}.financial-invoice-purchases h4{margin:0 0 8px}.financial-invoice-purchases article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #e5eaed}.financial-invoice-purchases article span{display:grid;gap:3px}.financial-invoice-purchases small{color:#6b7890}.financial-payment-balance{display:grid;gap:4px;padding:14px;border-radius:14px;background:#e9f8f4;color:#08765d}.financial-payment-balance strong{font-size:24px}
.financial-card-wizard .financial-wizard-progress{grid-template-columns:repeat(4,1fr)}
.financial-module-error{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #f3d49b;border-radius:15px;background:#fff9ed;color:#805b13}.financial-module-error>svg{flex:0 0 auto;color:#dc8a00}.financial-module-error>span{display:grid;flex:1;gap:2px}.financial-module-error small{color:#846f4a}.financial-module-error button{padding:8px 11px;border:1px solid #dfbc75;border-radius:10px;background:#fff;color:#805b13;font-weight:800}
.financial-credit-card header{grid-template-columns:40px minmax(0,1fr) auto auto}.financial-card-manage{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(255,255,255,.1);color:#fff}.financial-card-manage svg{width:16px}.financial-card-scope{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:5px 8px;border-radius:999px;background:rgba(68,220,181,.13);color:#a7f3df;font-size:10px;font-weight:800}.financial-card-scope svg{width:13px;height:13px}.financial-card-access-picker,.financial-space-checks{display:grid;gap:10px}.financial-card-access-picker>button,.financial-space-checks>button{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:11px;width:100%;padding:13px;border:1px solid #dce5e9;border-radius:15px;background:#fff;color:#172741;text-align:left}.financial-card-access-picker>button>svg:first-child,.financial-space-checks>button>svg:first-child{width:40px;height:40px;padding:10px;border-radius:12px;background:#e9f8f4;color:#078e6f}.financial-card-access-picker>button>span,.financial-space-checks>button>span{display:grid;gap:3px}.financial-card-access-picker small,.financial-space-checks small{color:#6b7890}.financial-card-access-picker>button.active,.financial-space-checks>button.active{border-color:#0cb68d;background:#f0fbf8;box-shadow:0 0 0 1px rgba(12,182,141,.08)}.financial-card-access-picker>button>svg:last-child{color:#0aa77f}.financial-space-checks{margin-top:14px;padding:14px;border:1px solid #e0e7ea;border-radius:16px;background:#f8fbfb}.financial-space-checks>b{margin-bottom:2px}.financial-invoice-tabs{display:flex;gap:6px;overflow-x:auto;margin:14px 0;padding:4px;border-radius:13px;background:#f1f5f6;scrollbar-width:none}.financial-invoice-tabs button{flex:1;min-width:max-content;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:#627086;font-weight:800}.financial-invoice-tabs button.active{background:#fff;color:#087d62;box-shadow:0 3px 10px rgba(21,45,64,.08)}.financial-breakdown-list{display:grid;gap:12px;margin-top:10px}.financial-breakdown-list article{display:grid;grid-template-columns:minmax(120px,1fr) minmax(100px,2fr) auto;align-items:center;gap:12px}.financial-breakdown-list article>div{display:grid;gap:2px}.financial-breakdown-list small{color:#6b7890}.financial-breakdown-list article>span{height:8px;overflow:hidden;border-radius:999px;background:#e5f3f0}.financial-breakdown-list article>span i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#08a67f,#22cba3)}
@media(max-width:780px){.financial-kpis{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.financial-kpis button{min-width:68vw;scroll-snap-align:start}.financial-module-tabs button{padding:9px 13px;font-size:12px}.financial-card-strip{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}.financial-card-strip .financial-credit-card{min-width:82vw;scroll-snap-align:start}.financial-credit-grid{grid-template-columns:1fr}.financial-credit-overview{grid-template-columns:1fr 1fr}.financial-credit-overview article{padding:13px}.financial-credit-overview strong{font-size:18px}.financial-payment-method-cards{grid-template-columns:1fr}.financial-invoice-summary{grid-template-columns:1fr 1fr}.financial-invoice-summary>div:last-of-type{grid-column:1/-1}.financial-wallet-list>article{grid-template-columns:40px minmax(0,1fr) auto}.financial-invoice-list>button{grid-template-columns:minmax(0,1fr) auto}.financial-invoice-list em{display:none}.financial-card-wizard{width:100%}.financial-breakdown-list article{grid-template-columns:minmax(90px,1fr) minmax(70px,1fr) auto}.financial-card-access-picker>button,.financial-space-checks>button{padding:11px}.financial-invoice-tabs button{padding:8px 10px}}
.financial-card-single-space{display:grid;margin-top:14px}.financial-card-archive{width:100%;margin-top:14px}

/* Financeiro V3: hierarquia mobile-first aprovada, sem alterar a semântica contábil. */
.financial-page{gap:18px}.financial-summary-card{padding:16px 18px;border-radius:20px;background:#fff}.financial-summary-card .financial-context-selectors{margin-bottom:16px}.financial-module-tabs{position:relative;border:0;border-radius:18px;background:#f3f7f8}.financial-module-tabs button{transition:color .18s ease,background .18s ease,transform .18s ease}.financial-module-tabs button:active{transform:scale(.98)}
.financial-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.financial-quick-actions button{display:grid;justify-items:center;gap:8px;min-height:104px;padding:13px 8px;text-align:center}.financial-quick-actions button>span{width:46px;height:46px}.financial-quick-actions button:nth-child(2)>span{background:#feecec;color:#e83f43}.financial-quick-actions button:nth-child(3)>span{background:#e8f8f4;color:#078e6f}.financial-quick-actions button:nth-child(4)>span{background:#e7f5f4;color:#087f78}
.financial-attention>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.financial-attention>div>button{display:grid;grid-template-columns:44px minmax(0,1fr) 18px;align-items:center;gap:10px;min-width:0;padding:13px;border:1px solid #f2ddba;border-radius:16px;background:#fffaf1;color:#172741;text-align:left}.financial-attention>div>button>svg:first-child{width:42px;height:42px;padding:10px;border-radius:13px;background:#fff0d7;color:#e47e00}.financial-attention>div>button>span{display:grid;gap:3px;min-width:0}.financial-attention>div>button small{color:#7c6a4f}.financial-attention>div>button.is-invoice{border-color:#f4ced0;background:#fff7f7}.financial-attention>div>button.is-invoice>svg:first-child,.financial-attention>div>button.is-danger>svg:first-child{background:#ffe7e8;color:#df3d45}
.financial-cards-compact>button{display:grid;grid-template-columns:50px minmax(0,1fr) 20px;align-items:center;gap:12px;width:100%;padding:15px;border:1px solid #dce4e8;border-radius:18px;background:#fff;color:#152944;text-align:left;box-shadow:0 8px 22px rgba(22,43,67,.05)}.financial-cards-compact>button>span{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#e5f8f3;color:#078e6f}.financial-cards-compact>button>div{display:grid;gap:2px}.financial-cards-compact small,.financial-cards-compact em{color:#69768b;font-style:normal}.financial-cards-compact strong{font-size:23px}
.financial-credit-hero{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border-radius:20px;background:linear-gradient(135deg,#102942,#0a3b49);color:#fff;box-shadow:0 12px 28px rgba(15,41,65,.16)}.financial-credit-hero>span{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:rgba(37,221,184,.15);color:#36dfbd}.financial-credit-hero>div{display:grid;gap:2px}.financial-credit-hero small,.financial-credit-hero em,.financial-credit-hero dt{color:#c8d7df;font-style:normal}.financial-credit-hero strong{font-size:28px}.financial-credit-hero dl{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:12px;margin:0}.financial-credit-hero dl>div{padding-left:14px;border-left:1px solid rgba(255,255,255,.18)}.financial-credit-hero dt{font-size:11px}.financial-credit-hero dd{margin:3px 0 0;font-weight:850}
.financial-card-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.financial-card-actions button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:46px;padding:10px;border:1px solid #bfe9df;border-radius:13px;background:#eefaf7;color:#087d64;font-weight:800}.financial-card-actions button:first-child{border-color:#08aa82;background:#08aa82;color:#fff}.financial-card-actions button:disabled{opacity:.45}.financial-card-actions svg{width:18px}
.financial-credit-card{cursor:pointer;padding:16px;border-color:#dce4e8;background:#fff;color:#152944;box-shadow:0 8px 22px rgba(22,43,67,.07);transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}.financial-credit-card:hover{border-color:#a9ddd0;box-shadow:0 12px 28px rgba(7,145,111,.1)}.financial-credit-card:active{transform:scale(.995)}.financial-credit-card header>span{background:#e7f8f4;color:#078e6f}.financial-credit-card header small,.financial-credit-card-total small,.financial-credit-card-total span,.financial-credit-card dt{color:#69768b}.financial-credit-card header em{background:#e4f8f1;color:#087d64}.financial-card-manage{border-color:#dce4e8;background:#f4f8f9;color:#34516a}.financial-card-scope{background:#e7f8f4;color:#087d64}.financial-credit-card dl{border-top-color:#e6ecef}.financial-credit-card>button{background:#07aa82}.financial-credit-card-total strong{color:#102242}
.financial-invoice-sheet{width:min(780px,100%)}.financial-invoice-summary-v3{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:17px;border:1px solid #dce4e8;border-radius:17px;background:#fff}.financial-invoice-summary-v3>div:not(.financial-invoice-progress){display:grid;gap:4px;padding-right:10px;border-right:1px solid #e2e8eb}.financial-invoice-summary-v3>div:nth-child(3){border-right:0}.financial-invoice-summary-v3 small{color:#6a7790}.financial-invoice-summary-v3 strong{font-size:22px}.financial-invoice-summary-v3>.financial-status{position:absolute;right:12px;top:-13px}.financial-invoice-progress{grid-column:1/-1;overflow:hidden;height:8px;border-radius:999px;background:#e7ecef}.financial-invoice-progress i{display:block;height:100%;border-radius:inherit;background:#08aa82}.financial-invoice-summary-v3>small:last-child{grid-column:1/-1;margin-top:-5px;text-align:right;font-size:10px}
.financial-invoice-primary-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:11px}.financial-invoice-primary-actions .btn{justify-content:center;min-width:0}.financial-invoice-reconciliation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;padding:12px;border-radius:14px;background:#f3f8f8}.financial-invoice-reconciliation span{display:grid;gap:3px}.financial-invoice-reconciliation small{color:#6b788d}.financial-invoice-tabs{position:sticky;top:0;z-index:2}.financial-panel-empty{padding:22px;text-align:center;color:#6b788d}
.financial-invoice-purchases>header{display:flex;align-items:center;justify-content:space-between;gap:10px}.financial-invoice-purchases>header button{border:0;background:transparent;color:#078e6f;font-weight:800}.financial-invoice-purchases [data-purchase-list] article[hidden]{display:none}.financial-payment-history{margin-top:22px;padding-top:16px;border-top:1px solid #e4eaed}
.financial-category-analysis{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:center;gap:20px}.financial-donut{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:var(--donut);box-shadow:inset 0 0 0 1px rgba(15,41,65,.05)}.financial-donut::before{content:'';grid-area:1/1;width:56%;height:56%;border-radius:50%;background:#fff}.financial-donut>span{z-index:1;grid-area:1/1;display:grid;gap:2px;text-align:center}.financial-donut b{font-size:16px}.financial-donut small{color:#6b788d}.financial-category-legend{display:grid;gap:5px}.financial-category-legend button{display:grid;grid-template-columns:10px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:9px;border:0;border-radius:11px;background:#fff;color:#172741;text-align:left}.financial-category-legend button:hover{background:#f2f8f7}.financial-category-legend button>i{width:10px;height:10px;border-radius:50%}.financial-category-legend button>span{display:flex;justify-content:space-between;gap:8px;min-width:0}.financial-category-legend button small{color:#6b788d}.financial-installment-list{display:grid;gap:8px}.financial-installment-list article{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid #dfe6ea;border-radius:14px}.financial-installment-list article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#e8f8f4;color:#078e6f}.financial-installment-list article>div{display:grid;gap:3px}.financial-installment-list small{color:#6b788d}.financial-installment-list em{grid-column:2/4;color:#627087;font-size:11px;font-style:normal}
.financial-adjustment-calculation,.financial-adjustment-difference{display:grid;gap:8px;padding:14px;border:1px solid #dce4e8;border-radius:15px;background:#f7fafb}.financial-adjustment-calculation span{display:flex;justify-content:space-between;gap:12px}.financial-adjustment-calculation small,.financial-adjustment-difference small,.financial-adjustment-difference span{color:#6b788d}.financial-adjustment-difference strong{font-size:25px}.financial-ongoing-sheet{width:min(620px,100%)}
@media(max-width:780px){.financial-page{gap:15px}.financial-summary-card{padding:11px;border-radius:18px}.financial-quick-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.financial-quick-actions button{min-height:91px;padding:9px 4px;border-radius:15px}.financial-quick-actions button>span{width:39px;height:39px}.financial-quick-actions b{font-size:10px}.financial-attention>div{grid-template-columns:1fr 1fr;gap:7px}.financial-attention>div>button{grid-template-columns:34px minmax(0,1fr);gap:7px;padding:10px}.financial-attention>div>button>svg:first-child{width:34px;height:34px;padding:8px}.financial-attention>div>button>svg:last-child{display:none}.financial-attention b{font-size:11px}.financial-attention small{font-size:10px}.financial-credit-hero{grid-template-columns:44px minmax(0,1fr);gap:10px;padding:14px}.financial-credit-hero>span{width:44px;height:44px}.financial-credit-hero strong{font-size:22px}.financial-credit-hero dl{grid-column:1/-1;grid-template-columns:1fr 1fr;padding-top:8px;border-top:1px solid rgba(255,255,255,.14)}.financial-credit-hero dl>div{padding-left:0;border-left:0}.financial-card-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.financial-card-actions button{font-size:11px}.financial-credit-grid{grid-template-columns:1fr}.financial-credit-card{padding:14px}.financial-invoice-sheet{width:100%;max-height:calc(100dvh - 8px)}.financial-invoice-summary-v3{gap:7px;padding:13px}.financial-invoice-summary-v3>div:not(.financial-invoice-progress){padding-right:5px}.financial-invoice-summary-v3 small{font-size:9px}.financial-invoice-summary-v3 strong{font-size:15px}.financial-invoice-primary-actions{grid-template-columns:1fr 1fr}.financial-invoice-primary-actions .btn:last-child{grid-column:1/-1}.financial-invoice-reconciliation{gap:6px;padding:10px}.financial-invoice-reconciliation small{font-size:8px}.financial-invoice-reconciliation b{font-size:11px}.financial-category-analysis{grid-template-columns:130px minmax(0,1fr);gap:10px}.financial-category-legend button{padding:6px 4px;font-size:10px}.financial-category-legend button>span{display:grid;gap:1px}.financial-breakdown-list article{grid-template-columns:minmax(76px,1fr) minmax(54px,.8fr) auto;gap:7px}.financial-breakdown-list b,.financial-breakdown-list strong{font-size:11px}.financial-invoice-tabs{margin-inline:-4px}.financial-invoice-tabs button{font-size:10px}.financial-cards-compact strong{font-size:19px}}
@media(max-width:360px){.financial-quick-actions button{min-height:86px}.financial-quick-actions b{font-size:9px}.financial-attention>div{grid-template-columns:1fr}.financial-category-analysis{grid-template-columns:1fr}.financial-donut{width:142px;justify-self:center}.financial-invoice-primary-actions{grid-template-columns:1fr}.financial-invoice-primary-actions .btn:last-child{grid-column:auto}.financial-invoice-reconciliation{grid-template-columns:1fr}.financial-invoice-reconciliation span{display:flex;justify-content:space-between}.financial-credit-hero dl{grid-template-columns:1fr}.financial-card-actions{grid-template-columns:1fr 1fr}}
.financial-space-checks[hidden],.financial-card-single-space[hidden],[data-account-edit-single-space][hidden],[data-account-edit-spaces][hidden]{display:none!important}
