.app-header{z-index:1000;box-sizing:border-box;width:100%;padding:.5rem 1.25rem;position:relative}.header-container{box-sizing:border-box;background:#fff;border-radius:1.15rem;align-items:center;gap:1rem;width:min(100%,1280px);min-height:70px;margin:0 auto;padding:.55rem 1rem;display:flex;box-shadow:0 6px 18px #0f172a14}.header-brand{flex:none;align-items:center;text-decoration:none;display:flex}.header-logo{object-fit:contain;width:145px;height:auto;max-height:58px;display:block}.header-nav{background:#f8fafc;border-radius:2rem;flex:auto;justify-content:center;align-items:center;gap:1.5rem;min-width:0;padding:.65rem 1.25rem;display:flex}.nav-link{color:#475569;white-space:nowrap;flex:none;font-size:.9rem;font-weight:700;text-decoration:none;transition:color .2s}.nav-link:hover,.nav-link:focus-visible{color:#1d4ed8;outline:none}.header-user-menu-wrapper{z-index:1100;flex:none;position:relative}.header-user-menu-trigger{color:#fff;max-width:210px;min-height:42px;font:inherit;cursor:pointer;white-space:nowrap;background:#2563eb;border:0;border-radius:.55rem;justify-content:center;align-items:center;gap:.35rem;padding:.65rem .85rem;font-size:.9rem;font-weight:700;display:inline-flex}.header-user-menu-trigger:hover,.header-user-menu-trigger:focus-visible{background:#1d4ed8;outline:none}.header-user-greeting{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.header-user-arrow{flex:none;font-size:.7rem}.header-user{flex:none;align-items:center;gap:.65rem;display:flex}.user-name{color:#17345d;white-space:nowrap;font-weight:700}.btn-logout{color:#17345d;font:inherit;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:999px;padding:.55rem .85rem;font-weight:700}.btn-logout:hover{background:#f1f5f9}.header-user-dropdown button:hover,.header-user-dropdown button:focus-visible{background:#f1f5f9;outline:none}.header-notifications{z-index:1100;flex:none;margin-left:.25rem;position:relative}.notification-button{color:#17345d;cursor:pointer;background:#fff;border:1px solid #dbe3ee;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;transition:background .2s,border-color .2s;display:inline-flex;position:relative}.notification-button:hover,.notification-button:focus-visible{background:#edf5ff;border-color:#1b5ea9;outline:none}.notification-button svg{fill:currentColor;width:21px;height:21px}.notification-badge{color:#fff;background:#dc2626;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 4px;font-size:.68rem;font-weight:800;line-height:1;display:flex;position:absolute;top:-5px;right:-5px}.notification-dropdown{z-index:1200;background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;width:min(370px,100vw - 2rem);position:absolute;top:calc(100% + .65rem);right:0;overflow:hidden;box-shadow:0 16px 38px #0f172a33}.notification-dropdown-header{color:#17345d;border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;padding:.9rem 1rem;display:flex}.notification-dropdown-header span{color:#1b5ea9;background:#eaf2ff;border-radius:999px;justify-content:center;align-items:center;min-width:24px;height:24px;font-size:.78rem;font-weight:800;display:inline-flex}.notification-list{max-height:370px;overflow-y:auto}.notification-item{color:#334155;cursor:pointer;text-align:left;background:#fff;border:0;border-bottom:1px solid #f1f5f9;width:100%;padding:.85rem 1rem;display:grid}.notification-item:hover,.notification-item:focus-visible{background:#f8fbff;outline:none}.notification-item-title{color:#17345d;text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.notification-item-meta,.notification-item-date{color:#64748b;font-size:.8rem}.notification-item-meta{margin-top:.2rem}.notification-item-value{color:#c2410c;margin-top:.45rem;font-size:.9rem;font-weight:800}.notification-item-date{margin-top:.12rem}.notification-empty,.notification-more{color:#64748b;text-align:center;margin:0;padding:1rem;font-size:.9rem}.notification-more{border-top:1px solid #e2e8f0;padding:.65rem 1rem;font-size:.78rem}@media (width<=1050px){.header-container{gap:.65rem;padding-inline:.75rem}.header-logo{width:125px}.header-nav{gap:.8rem;padding-inline:.75rem}.nav-link{font-size:.82rem}.header-user-menu-trigger{max-width:175px;padding-inline:.7rem;font-size:.82rem}}@media (width<=760px){.app-header{padding:.5rem}.header-container{flex-wrap:wrap;justify-content:space-between;min-height:auto;padding:.65rem}.header-brand{order:1}.header-logo{width:125px;max-height:48px}.header-notifications{order:2;margin-left:auto}.header-user-menu-wrapper{order:3}.header-nav{flex:1 0 100%;order:4;justify-content:flex-start;gap:.7rem;padding:.65rem .7rem;overflow-x:auto}.nav-link{font-size:.78rem}.header-user-menu-trigger{max-width:160px;min-height:40px;font-size:.8rem}.notification-dropdown{right:-2.8rem}}@media (width<=450px){.header-logo{width:110px}.header-user-menu-trigger{max-width:135px}.header-user-greeting{max-width:100px}.header-nav{gap:.55rem}}.notification-item-date.notification-vencida{color:#dc2626;font-weight:800}.notification-item-date.notification-vence-hoje{color:#ea580c;font-weight:800}.notification-item-date.notification-vence-amanha{color:#b45309;font-weight:700}.header-user-menu-wrapper{margin-left:auto;position:relative}.header-user-menu-trigger{color:#fff;font:inherit;cursor:pointer;background:#2563eb;border:0;border-radius:.5rem;align-items:center;gap:.35rem;padding:.7rem .9rem;font-weight:700;display:inline-flex}.header-user-menu-trigger:hover,.header-user-menu-trigger:focus-visible{background:#1d4ed8}.header-user-arrow{font-size:.75rem}.header-user-dropdown{z-index:1000;background:#fff;border:1px solid #e5e7eb;border-radius:.55rem;width:220px;position:absolute;top:calc(100% + .55rem);right:0;overflow:hidden;box-shadow:0 12px 30px #0f172a2e}.header-user-dropdown button{color:#1f2937;text-align:left;width:100%;font:inherit;cursor:pointer;background:0 0;border:0;padding:.8rem 1rem;display:block}.header-user-dropdown button:hover,.header-user-dropdown button:focus-visible{background:#f1f5f9}.header-user-dropdown button:disabled{cursor:wait;opacity:.55}.header-user-danger{color:#b91c1c!important}.header-user-menu-divider{background:#e5e7eb;height:1px;margin:.25rem 0}.user-modal-overlay{z-index:2000;background:#0f172a8c;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.user-modal{background:#fff;border-radius:.8rem;width:min(100%,430px);padding:1.5rem;box-shadow:0 20px 50px #0f172a40}.user-modal h2{color:#17345d;margin:0 0 1rem}.user-modal p{color:#475569;line-height:1.5}.user-modal label{color:#334155;margin-bottom:.45rem;font-weight:700;display:block}.user-modal input{box-sizing:border-box;width:100%;font:inherit;border:1px solid #cbd5e1;border-radius:.5rem;padding:.75rem}.user-modal input:focus{border-color:#2563eb;outline:2px solid #2563eb40}.user-modal-actions{justify-content:flex-end;gap:.6rem;margin-top:1.25rem;display:flex}.user-modal-actions button{color:#334155;font:inherit;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:.5rem;padding:.65rem .9rem;font-weight:700}.user-modal-actions button:hover{background:#f8fafc}.user-modal-actions button:disabled{cursor:not-allowed;opacity:.55}.user-modal-primary{color:#fff!important;background:#2563eb!important;border-color:#2563eb!important}.user-modal-primary:hover{background:#1d4ed8!important}.user-modal-delete{color:#fff!important;background:#dc2626!important;border-color:#dc2626!important}.user-modal-delete:hover{background:#b91c1c!important}.user-modal-error{font-size:.9rem;color:#b91c1c!important}.header-user-feedback{z-index:1500;border-radius:.5rem;max-width:min(360px,100vw - 2rem);padding:.8rem 1rem;font-weight:700;position:fixed;top:6rem;right:1.5rem;box-shadow:0 8px 22px #0f172a29}.header-user-feedback-success{color:#166534;background:#dcfce7}.header-user-feedback-error{color:#991b1b;background:#fee2e2}@media (width<=700px){.header-user-menu-trigger{padding:.6rem .7rem}.header-user-dropdown{right:0}.user-modal-actions{flex-direction:column-reverse}.user-modal-actions button{width:100%}.header-user-feedback{top:5rem;right:1rem}}.whatsapp-float{color:#000;white-space:nowrap;background:#25d366;border:0;border-radius:999px;justify-content:center;align-items:center;gap:.4rem;width:auto;min-width:0;min-height:38px;margin:0;padding:.55rem .9rem;font-size:.78rem;font-weight:600;line-height:1;text-decoration:none;transition:background-color .2s,transform .2s,box-shadow .2s;display:inline-flex;box-shadow:0 4px 12px #00000026}.whatsapp-float:hover{color:#000;background:#1ebe5d;text-decoration:none;transform:translateY(-1px);box-shadow:0 5px 14px #0003}.whatsapp-float:focus-visible{outline-offset:3px;outline:3px solid #061388}.whatsapp-float svg{fill:currentColor;flex:none;width:18px;height:18px}@media (width<=600px){.footer-links .whatsapp-float{border-radius:50%;grid-column:auto;justify-self:center;width:auto;min-width:44px;min-height:44px;padding:0}.footer-links .whatsapp-float span{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.footer-links .whatsapp-float svg{width:22px;height:22px}}.site-footer{border-top:1px solid var(--border-color);color:#000;background:#fff;width:100%;margin-top:auto;padding:.65rem 1rem;overflow:hidden}.footer-content{width:min(100%, var(--content-width));justify-content:space-between;align-items:center;gap:.5rem 1.25rem;min-height:28px;margin:0 auto;display:flex}.footer-copyright{color:#000;white-space:nowrap;flex:none;margin:0;font-size:.78rem;line-height:1.3}.footer-links{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.35rem .85rem;display:flex}.footer-links>a:not(.whatsapp-float){color:#000;font-size:.78rem;font-weight:500;line-height:1.3;text-decoration:none}.footer-links>a:not(.whatsapp-float):hover{color:var(--primary-color);text-decoration:underline}.footer-links>a:not(.whatsapp-float):focus-visible{outline-offset:3px;border-radius:4px;outline:3px solid #061388}@media (width<=1024px){.footer-content{text-align:center;flex-direction:column;justify-content:center;gap:.45rem}.footer-links{justify-content:center}}@media (width<=600px){.site-footer{padding:.75rem}.footer-copyright,.footer-links>a:not(.whatsapp-float){font-size:.76rem}.footer-links{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem .75rem;width:100%;display:grid}.footer-links a{overflow-wrap:anywhere;text-align:center}}.auth-container{background:linear-gradient(115deg,#04132af2 0%,#072141e6 45%,#071a30ad 100%),url(/images/login-financas.jpg) 50%/cover no-repeat,radial-gradient(circle at 15% 15%,#25c48847,#0000 31%),radial-gradient(circle at 88% 78%,#1b5ea973,#0000 34%),#081b36;place-items:center;min-height:100vh;padding:2rem 1rem;display:grid;position:relative;overflow:hidden}.auth-backdrop{pointer-events:none;background-color:#0000;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-position:0 0,0 0;background-repeat:repeat,repeat;background-size:42px 42px;background-attachment:scroll,scroll;background-origin:padding-box,padding-box;background-clip:border-box,border-box;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000000bf,#0000);mask-image:linear-gradient(#000000bf,#0000)}.auth-card{z-index:1;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#fffffff0;border:1px solid #fff3;border-radius:24px;width:min(100%,450px);padding:clamp(1.6rem,5vw,2.6rem);position:relative;box-shadow:0 25px 70px #0000005c}.auth-brand{justify-content:center;align-items:center;min-height:92px;margin-bottom:1.65rem;display:flex}.auth-logo{object-fit:contain;width:min(100%,330px);height:auto;max-height:88px;display:block}.auth-heading{text-align:center;margin-bottom:1.6rem}.auth-eyebrow{color:#1b8c65;letter-spacing:.11em;margin-bottom:.55rem;font-size:.68rem;font-weight:900;display:inline-block}.auth-card h1{color:#102b55;letter-spacing:-.04em;margin:0;font-size:clamp(1.65rem,5vw,2.25rem);line-height:1.1}.auth-heading p{color:#63748b;margin:.75rem auto 0;font-size:.91rem;line-height:1.55}.auth-card form{gap:1rem;display:grid}.input-group{gap:.42rem;display:grid}.input-group label{color:#314967;font-size:.82rem;font-weight:800}.input-group input{color:#183253;width:100%;min-height:46px;font:inherit;background:#fff;border:1px solid #dce5ef;border-radius:10px;outline:none;padding:.7rem .85rem;transition:border-color .2s,box-shadow .2s}.input-group input::placeholder{color:#9aa9bb}.input-group input:focus{border-color:#1b82be;box-shadow:0 0 0 4px #1b82be24}.input-group input:disabled{cursor:not-allowed;opacity:.72;background:#f1f5f9}.auth-card .btn-primary{color:#fff;background:linear-gradient(135deg,#1b5ea9,#167bc0);border:0;border-radius:10px;width:100%;min-height:48px;margin-top:.35rem;font-weight:800;transition:transform .2s,filter .2s;box-shadow:0 10px 20px #1b5ea938}.auth-card .btn-primary:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}.auth-card .btn-primary:disabled{cursor:not-allowed;opacity:.7}.auth-link{color:#687991;text-align:center;margin:1.35rem 0 0;font-size:.88rem}.auth-link a{color:#176ab0;font-weight:800;text-decoration:none}.auth-link a:hover{text-decoration:underline}.auth-message,.error,.erro{border-radius:10px;margin-bottom:1rem;padding:.8rem .9rem;font-size:.86rem;line-height:1.4}.auth-message.error,.error,.erro{color:#b42318;background:#fff1f2;border:1px solid #dc354538}.auth-message.success{color:#166534;background:#ecfdf3;border:1px solid #1665342e}@media (width<=520px){.auth-container{align-items:start;min-height:100svh;padding:1rem}.auth-card{border-radius:18px;width:100%;margin-top:1.2rem;padding:1.5rem 1.15rem}.auth-brand{min-height:72px;margin-bottom:1.35rem}.auth-logo{width:min(100%,275px);max-height:72px}.auth-heading{margin-bottom:1.35rem}.auth-heading p{font-size:.87rem}}.login-highlight-money{color:#08b908}.login-highlight-control{color:#2255a8}.dashboard-container,.receitas-container,.despesas-container,.transacoes-page{box-sizing:border-box;width:100%;min-height:0;padding:1rem 1rem 1.25rem}.dashboard-main{width:min(100%, var(--content-width));margin:0 auto}.filtros-section,.form-section,.categoria-section,.transacoes-section,.grafico-anual{border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-white);box-shadow:var(--shadow);margin-bottom:1rem;padding:1rem 1.25rem}.filtros{flex-wrap:wrap;align-items:center;gap:.65rem;display:flex}.filtros label{color:var(--text-light);font-size:.9rem;font-weight:700}.filtros select{width:auto;min-width:120px}.btn-pdf{border-radius:var(--radius-sm);background:var(--brand-blue);color:#fff;min-height:42px;padding:.65rem 1rem;font-weight:700;transition:background-color .2s,transform .2s}.btn-pdf:hover{background:var(--brand-blue-dark);transform:translateY(-1px)}.cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1rem;display:grid}.card{border-radius:var(--radius-md);color:#fff;min-height:115px;box-shadow:var(--shadow-md);padding:1.1rem 1.25rem;position:relative;overflow:hidden}.card:after{content:"";border:18px solid #ffffff24;border-radius:50%;width:118px;height:118px;position:absolute;bottom:-54px;right:-34px}.card h3,.card .valor{z-index:1;margin:0;position:relative}.card h3{font-size:1rem}.card .valor{margin-top:.55rem;font-size:clamp(1.45rem,2.5vw,1.9rem);font-weight:800}.card.receita{background:linear-gradient(135deg, #13a83a, var(--brand-green))}.card.despesa{background:linear-gradient(135deg,#c92d43,#f05b63)}.card.saldo{background:linear-gradient(135deg, var(--brand-navy), var(--brand-blue))}.grafico-anual{margin-bottom:0;padding:1rem 1.25rem}.grafico-anual h2{color:var(--text-dark);text-align:center;margin:0 0 .75rem;font-size:clamp(1rem,2vw,1.2rem)}.form-section-header,.categoria-acoes,.modal-buttons,.modal-botoes{flex-wrap:wrap;align-items:center;gap:.75rem;display:flex}.form-section-header,.modal-buttons,.modal-botoes{justify-content:space-between}.transacao-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.checkbox-label{color:var(--text-dark);align-items:center;gap:.55rem;font-weight:700;display:flex}.checkbox-label input{width:20px;min-height:20px}.campo-data{color:#475569;flex-direction:column;gap:.35rem;font-size:.82rem;font-weight:700;display:flex}.campo-data input,.campo-data select{box-sizing:border-box;width:100%}.btn-add,.btn-add-categoria,.btn-gerenciar-categoria,.btn-save{border-radius:var(--radius-sm);background:var(--brand-blue);color:#fff;min-height:42px;padding:.65rem 1rem;font-weight:700}.btn-add:hover,.btn-add-categoria:hover,.btn-gerenciar-categoria:hover,.btn-save:hover{background:var(--brand-blue-dark)}.btn-add:disabled,.btn-save:disabled,.btn-delete:disabled{cursor:not-allowed;opacity:.6}.btn-add-categoria,.btn-gerenciar-categoria{background:var(--brand-navy-soft)}.erro,.error{border-radius:var(--radius-sm);color:#b42318;background:#fff1f2;border:1px solid #dc354533;margin-bottom:1rem;padding:.8rem 1rem}.transacoes-list{gap:.75rem;display:grid}.transacao-item{border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-white);align-items:center;gap:1rem;min-width:0;padding:1rem;display:flex}.transacao-info,.resumo-grupo{flex-direction:column;flex:1;gap:.25rem;min-width:0;display:flex}.transacao-info strong,.resumo-grupo strong{color:var(--text-dark);text-overflow:ellipsis;white-space:nowrap;font-weight:800;overflow:hidden}.categoria{color:var(--text-light);font-size:.85rem}.datas-transacao{flex-direction:column;gap:.2rem;margin-top:.15rem;display:flex}.datas-transacao .data{color:#64748b;font-size:.82rem;line-height:1.35}.datas-transacao .data.vencimento{color:#b45309;font-weight:700}.resumo-grupo .categoria{margin:0}.resumo-grupo-parcelas,.resumo-grupo-periodo{color:#64748b;font-size:.82rem;line-height:1.35}.resumo-grupo-periodo{color:#b45309;font-weight:700}.transacao-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.5rem;display:flex}.transacao-actions button{color:#fff;border-radius:6px;min-height:36px;padding:.45rem .7rem;font-size:.82rem;font-weight:700}.btn-edit{background:var(--brand-blue)}.btn-edit:hover{background:var(--brand-blue-dark)}.btn-pay{background:var(--brand-green-dark)}.btn-pay:hover{background:#047857}.transacao-actions .btn-unpay,.parcelas-detalhes .transacao-actions .btn-unpay{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;padding:.45rem .75rem;font-weight:700;text-decoration:none;display:inline-flex;color:#fff!important;background:#f59e0b!important;border:1px solid #b45309!important}.transacao-actions .btn-unpay:hover,.parcelas-detalhes .transacao-actions .btn-unpay:hover{color:#fff!important;background:#d97706!important;border-color:#92400e!important}.transacao-actions .btn-unpay:focus-visible,.parcelas-detalhes .transacao-actions .btn-unpay:focus-visible{outline-offset:2px;outline:3px solid #f59e0b59}.btn-delete{background:#c92d43}.btn-delete:hover{background:#a61d33}.btn-toggle-grupo{width:34px;min-height:34px;color:var(--brand-blue);background:#eaf2ff;border-radius:50%;flex:0 0 34px;padding:0;font-size:1.2rem;font-weight:800}.btn-toggle-grupo:hover{background:#d7e8ff}.parcelas-detalhes{border-left:3px solid #bcd5ff;gap:.5rem;margin:.55rem 0 0 2.5rem;padding:0 0 0 1rem;display:grid}.parcelas-detalhes .sub-item{box-sizing:border-box;width:100%}.total-parcelado.receita,.valor-parcela.receita{color:var(--brand-green-dark);font-weight:800}.total-parcelado.despesa,.valor-parcela.despesa{color:#c92d43;font-weight:800}.valor-parcela{white-space:nowrap;margin-right:10px;font-weight:700}.transacao-destacada{outline-offset:2px;outline:3px solid #f59e0bbf;animation:3s ease-out destaque-transacao}.transacoes-periodo-notificacao{color:#64748b;font-size:.82rem;font-weight:500}@keyframes destaque-transacao{0%,65%{background:#fef3c7}to{background:0 0}}.categorias-gerenciaveis{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.75rem;display:grid}.categoria-gerenciavel{border:1px solid var(--border-color);border-radius:var(--radius-sm);justify-content:space-between;align-items:center;gap:.75rem;padding:.8rem 1rem;display:flex}.btn-delete-categoria{color:#b42318;background:#fff1f2;border-radius:6px;min-height:34px;padding:.4rem .65rem;font-size:.8rem;font-weight:700}.btn-delete-categoria:hover{background:#ffe4e6}.modal-overlay{z-index:2000;background:#0f172a94;justify-content:center;align-items:center;padding:1rem;display:flex;position:fixed;inset:0}.modal-content{border-radius:var(--radius-md);background:var(--bg-white);width:min(100%,560px);max-height:calc(100vh - 2rem);box-shadow:var(--shadow-lg);border:1px solid #dce5eff2;padding:1.5rem;overflow-y:auto}.modal-content h2{color:var(--text-dark);margin:0 0 1rem;font-size:clamp(1.2rem,3vw,1.5rem);line-height:1.25}.modal-form{margin-top:1rem}.modal-selecao-parcelas{width:min(100%,620px)}.lista-selecao-parcelas{gap:.65rem;margin:0;display:grid}.item-selecao-parcela{border:1px solid var(--border-color);border-radius:var(--radius-sm);min-width:0;color:var(--text-dark);cursor:pointer;background:#f8fafc;align-items:flex-start;gap:.7rem;padding:.75rem;line-height:1.4;display:flex}.item-selecao-parcela:hover{background:#f0f6ff;border-color:#a9c7f8}.item-selecao-parcela input[type=checkbox]{width:20px;min-width:20px;height:20px;min-height:20px;accent-color:var(--brand-blue);flex:0 0 20px;margin:.1rem 0 0;padding:0}.item-selecao-parcela>span{overflow-wrap:anywhere;min-width:0;font-size:.92rem}.selecionar-todas-parcelas{background:0 0;border:0;border-bottom:1px solid #e5e7eb;border-radius:0;width:100%;margin:0 0 12px;padding:0 0 10px;font-weight:700}.selecionar-todas-parcelas:hover{background:0 0;border-bottom-color:#e5e7eb}.selecionar-todas-parcelas input{cursor:pointer;flex:none;width:18px;height:18px}.selecionar-todas-parcelas span{min-width:0}.paga-badge{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;margin-left:.5rem;padding:.15rem .45rem;font-size:.72rem;font-weight:800;display:inline-block}.modal-buttons,.modal-botoes{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.75rem;margin-top:1.25rem;display:flex}.modal-buttons button,.modal-botoes button{border-radius:var(--radius-sm);min-height:42px;padding:.65rem 1rem;font-weight:700}.btn-cancel,.modal-buttons .btn-cancel,.modal-botoes .btn-cancel{border-radius:var(--radius-sm);min-height:42px;color:var(--text-dark);background:#e7edf4;padding:.65rem 1rem;font-weight:700}.modal-buttons .btn-save,.modal-botoes .btn-save{background:var(--brand-blue);color:#fff}.modal-buttons .btn-delete,.modal-botoes .btn-delete{color:#fff;background:#c92d43}.receitas-container .categoria-acoes,.despesas-container .categoria-acoes{justify-content:flex-end;align-items:center;gap:12px;margin-bottom:16px;display:flex}.receitas-container .form-section-header,.despesas-container .form-section-header{margin-bottom:18px}.dashboard-container{padding:1.5rem}.dashboard-container .dashboard-main{width:min(100%,1280px)}.dashboard-container .filtros-section{box-shadow:var(--shadow);background:#fffffff0;border:1px solid #e5eaf1f2;border-radius:18px;margin-bottom:1.25rem;padding:1.15rem 1.25rem}.dashboard-container .filtros{gap:.7rem}.dashboard-container .filtros label{color:var(--text-muted);margin-left:.35rem;font-size:.78rem;font-weight:750}.dashboard-container .filtros select{min-height:40px;color:var(--brand-navy);background:#f8fafc;border-color:#e4eaf1;border-radius:10px;font-size:.87rem;font-weight:650}.dashboard-container .btn-pdf{background:var(--brand-navy);border-radius:10px;min-height:40px;margin-left:auto;padding:.55rem 1rem;box-shadow:0 5px 12px #102b5526}.dashboard-container .btn-pdf:hover{background:var(--brand-navy-dark)}.dashboard-container .cards{gap:1.25rem;margin-bottom:1.25rem}.dashboard-container .card{min-height:138px;box-shadow:var(--shadow-md);border:1px solid #ffffff47;border-radius:18px;padding:1.35rem 1.45rem}.dashboard-container .card h3{color:#ffffffd9;letter-spacing:.01em;font-size:.86rem;font-weight:700}.dashboard-container .card .valor{letter-spacing:-.03em;margin-top:.7rem;font-size:clamp(1.65rem,2.5vw,2.2rem)}.dashboard-container .card:before{content:"";border:4px solid #ffffffbf;border-radius:50%;width:11px;height:11px;position:absolute;top:1.3rem;right:1.3rem}.dashboard-container .card.receita{background:linear-gradient(135deg,#11895a,#20b978)}.dashboard-container .card.despesa{background:linear-gradient(135deg,#d54052,#ef6a75)}.dashboard-container .card.saldo{background:linear-gradient(135deg,#102b55,#1b5ea9)}.dashboard-container .grafico-anual{box-shadow:var(--shadow);background:#fffffff2;border:1px solid #e5eaf1f2;border-radius:18px;padding:1.35rem}.dashboard-container .grafico-anual h2{color:var(--brand-navy);text-align:left;margin-bottom:1.2rem;font-size:1.1rem;font-weight:800}@media (width<=760px){.dashboard-container,.receitas-container,.despesas-container,.transacoes-page{padding:.75rem}.cards,.transacao-form{grid-template-columns:1fr}.transacao-item{flex-wrap:wrap;align-items:flex-start;gap:.75rem}.transacao-info,.resumo-grupo{flex-basis:calc(100% - 48px)}.transacao-actions{justify-content:flex-start;width:100%}.parcelas-detalhes{margin-left:.55rem;padding-left:.75rem}.parcelas-detalhes .sub-item{padding:.85rem}.resumo-grupo-parcelas,.resumo-grupo-periodo,.datas-transacao .data{font-size:.78rem}.filtros-section,.form-section,.categoria-section,.transacoes-section,.grafico-anual{padding:1rem}.dashboard-container{padding:.85rem}.dashboard-container .filtros-section,.dashboard-container .grafico-anual{border-radius:14px;padding:1rem}.dashboard-container .filtros{align-items:stretch}.dashboard-container .filtros label{width:100%;margin:.2rem 0 -.35rem}.dashboard-container .filtros select,.dashboard-container .btn-pdf{width:100%;margin-left:0}.dashboard-container .card{border-radius:15px;min-height:120px;padding:1.15rem}.dashboard-container .grafico-anual h2{font-size:1rem}}@media (height<=850px) and (width>=761px){.dashboard-container{padding-top:.7rem;padding-bottom:.7rem}.filtros-section{margin-bottom:.75rem;padding:.75rem 1rem}.cards{margin-bottom:.75rem}.card{min-height:100px;padding:.9rem 1.1rem}.card .valor{font-size:1.5rem}.grafico-anual{padding:.75rem 1rem}.grafico-anual h2{margin-bottom:.5rem}}@media (width<=600px){.modal-overlay{align-items:flex-start;padding:.75rem}.modal-content,.modal-selecao-parcelas{width:100%;max-height:calc(100vh - 1.5rem);padding:1rem}.modal-content.modal-selecao-parcelas{width:calc(100% - 24px);max-width:none;max-height:calc(100vh - 24px);margin:12px;padding:20px 16px;overflow-y:auto}.lista-selecao-parcelas{max-height:45vh;overflow-y:auto}.item-selecao-parcela{gap:10px;width:100%;padding:12px 0}.item-selecao-parcela>span{font-size:.84rem}.item-selecao-parcela input[type=checkbox]{width:18px;min-width:18px;height:18px;margin-top:2px}.modal-buttons,.modal-botoes{flex-direction:column;justify-content:stretch;gap:10px;width:100%}.modal-buttons button,.modal-botoes button{width:100%;min-height:44px}.valor-parcela{margin-right:0}}.grafico-anual{overflow:hidden}.pizzas-anuais{grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:1rem;display:grid}.pizza-mensal{grid-template-columns:minmax(0,560px);justify-content:center;display:grid}.pizza-card{background:#fff;border:1px solid #e7edf3;border-radius:16px;min-width:0;padding:1.15rem;box-shadow:0 4px 16px #0f23410f}.pizza-card h3{color:var(--brand-navy);text-align:center;margin:0 0 1rem;font-size:1rem;font-weight:800}.pizza-conteudo{justify-content:center;align-items:center;gap:1.25rem;display:flex}.grafico-pizza{border-radius:50%;flex:0 0 148px;place-items:center;width:148px;height:148px;display:grid;position:relative;overflow:hidden;box-shadow:0 9px 20px #0f23411f}.pizza-centro{text-align:center;background:#fff;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:92px;height:92px;padding:.45rem;display:flex;box-shadow:inset 0 0 0 1px #edf1f5}.pizza-centro span{color:var(--text-light);text-transform:uppercase;font-size:.66rem;font-weight:700}.pizza-centro strong{color:var(--brand-navy);margin-top:.18rem;font-size:.75rem;line-height:1.15}.pizza-detalhes{flex:1;gap:.9rem;min-width:0;display:grid}.pizza-item{align-items:flex-start;gap:.55rem;min-width:0;display:flex}.pizza-cor{border-radius:4px;flex:0 0 12px;width:12px;height:12px;margin-top:.22rem}.pizza-item.receita .pizza-cor{background:#1db779}.pizza-item.despesa .pizza-cor{background:#e25567}.pizza-item>div{gap:.12rem;min-width:0;display:grid}.pizza-item-titulo{color:var(--text-light);font-size:.75rem;font-weight:700}.pizza-item strong{color:var(--brand-navy);text-overflow:ellipsis;white-space:nowrap;font-size:.86rem;font-weight:800;overflow:hidden}.pizza-item small{color:var(--text-light);font-size:.72rem;font-weight:700}.pizza-sem-dados{color:var(--text-light)}.pizza-vazia{width:148px;height:148px;color:var(--text-light);border:16px solid #eaf0f5;border-radius:50%;place-items:center;margin:0 auto 1rem;font-size:.8rem;font-weight:700;display:grid}.pizza-sem-dados p{text-align:center;margin:0;font-size:.82rem}.grafico-sem-dados{min-height:220px;color:var(--text-light);text-align:center;background:#f8fafc;border:1px dashed #ccd7e4;border-radius:14px;place-items:center;padding:1.5rem;font-size:.92rem;font-weight:700;display:grid}@media (width<=760px){.pizzas-anuais,.pizza-mensal{grid-template-columns:1fr}.pizza-card{border-radius:14px;padding:1rem}.pizza-conteudo{flex-direction:column;gap:1rem}.pizza-detalhes{width:min(100%,250px)}.grafico-pizza{flex-basis:138px;width:138px;height:138px}.pizza-centro{width:84px;height:84px}.pizza-centro strong{font-size:.7rem}}.legal-page{width:min(100%,1180px);min-height:calc(100vh - 180px);margin:0 auto;padding:clamp(1rem,3vw,2.5rem) clamp(1rem,3vw,2rem) 3rem}.legal-hero{color:#fff;background:radial-gradient(circle at 84% 22%,#26cb8d52,#0000 28%),radial-gradient(circle at 12% 120%,#2c7ecd6b,#0000 48%),linear-gradient(125deg,#0b2345,#173e72);border:1px solid #ffffff29;border-radius:22px;margin-bottom:1.25rem;padding:clamp(1.5rem,4vw,2.8rem);position:relative;overflow:hidden;box-shadow:0 18px 42px #0a234630}.legal-hero:after{content:"";border:28px solid #ffffff1a;border-radius:50%;width:220px;height:220px;position:absolute;top:-70px;right:-50px}.legal-hero-danger{background:radial-gradient(circle at 84% 22%,#f47d8947,#0000 28%),radial-gradient(circle at 12% 120%,#2c7ecd5c,#0000 48%),linear-gradient(125deg,#35172a,#772b46)}.legal-eyebrow{z-index:1;color:#e8fff4eb;letter-spacing:.12em;margin-bottom:.6rem;font-size:.7rem;font-weight:900;display:inline-block;position:relative}.legal-hero h1{z-index:1;color:#fff;letter-spacing:-.045em;max-width:760px;margin:0;font-size:clamp(1.8rem,4vw,2.8rem);line-height:1.05;position:relative}.legal-hero p{z-index:1;color:#f5faffdb;max-width:760px;margin:.9rem 0 0;font-size:clamp(.92rem,2vw,1rem);line-height:1.65;position:relative}.legal-hero .legal-updated{color:#f5faffad;margin-top:1.15rem;font-size:.78rem;font-weight:700}.legal-content{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.legal-card{background:#fffffff5;border:1px solid #dee7f1f2;border-radius:16px;min-width:0;padding:clamp(1.2rem,3vw,1.55rem);box-shadow:0 7px 20px #0f23410e}.legal-card h2{color:#16345e;letter-spacing:-.015em;margin:0 0 .75rem;font-size:1rem;font-weight:850}.legal-card p,.legal-card li{color:#596c85;font-size:.9rem;line-height:1.7}.legal-card p{margin:0}.legal-card p+p{margin-top:.8rem}.legal-card ul,.legal-card ol{gap:.45rem;margin:0;padding-left:1.25rem;display:grid}.legal-card a{color:#176ab0;font-weight:800;text-decoration:none}.legal-card a:hover{text-decoration:underline}.legal-contact-card{background:linear-gradient(105deg,#e8f7ffeb,#f5fffaf2);grid-column:1/-1}.support-email{background:#fff;border:1px solid #2a7ac033;border-radius:10px;align-items:center;margin-bottom:.9rem;padding:.66rem .85rem;font-size:.95rem;display:inline-flex;box-shadow:0 5px 12px #14589414}.legal-warning-card{background:linear-gradient(105deg,#fff6f7,#fffafb);border-color:#da455333;grid-column:1/-1}.legal-warning-card h2{color:#a92f46}.legal-steps strong{color:#213f68}@media (width<=760px){.legal-page{min-height:auto;padding-bottom:1.5rem}.legal-hero{border-radius:16px;margin-bottom:.9rem}.legal-hero:after{width:190px;height:190px;top:-95px;right:-100px}.legal-content{grid-template-columns:1fr;gap:.8rem}.legal-card,.legal-contact-card,.legal-warning-card{border-radius:14px;grid-column:auto}.legal-card p,.legal-card li{font-size:.88rem}}:root{--brand-navy:#102b55;--brand-navy-dark:#081d3a;--brand-blue:#1268f3;--brand-blue-dark:#0750c8;--brand-cyan:#12bfe8;--brand-green:#16a36a;--brand-green-dark:#0b7b4d;--brand-lime:#8df21e;--brand-red:#dc3545;--brand-red-dark:#b42318;--primary-color:var(--brand-blue);--primary-hover:var(--brand-blue-dark);--secondary-color:#667085;--success-color:var(--brand-green);--error-color:var(--brand-red);--warning-color:#f59e0b;--border-color:#e5eaf1;--border-strong:#d7e0ea;--text-dark:#14213d;--text-light:#667085;--text-muted:#8a96a8;--bg-light:#f3f5f8;--bg-page:#eef1f5;--bg-white:#fff;--bg-soft:#f8fafc;--shadow:0 3px 12px #0f23410f;--shadow-md:0 10px 30px #0f234117;--shadow-lg:0 20px 50px #0f234121;--radius-sm:10px;--radius-md:16px;--radius-lg:24px;--content-width:1280px;color:var(--text-dark);background:var(--bg-page);font-synthesis:none;text-rendering:optimizelegibility;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{background:radial-gradient(circle at top right, #1268f312, transparent 30%), var(--bg-page);min-height:100vh;color:var(--text-dark);overflow-x:hidden}#root,.app-layout{min-height:100vh}.app-layout{flex-direction:column;display:flex}.app-content{flex:1;min-width:0;min-height:0;padding:24px}button,input,select,textarea{font:inherit}button{cursor:pointer;touch-action:manipulation;border:0;min-height:42px}button:disabled{cursor:not-allowed;opacity:.65}input,select,textarea{border:1px solid var(--border-color);border-radius:var(--radius-sm);background:var(--bg-white);width:100%;max-width:100%;min-height:44px;color:var(--text-dark);padding:.7rem .85rem;transition:border-color .2s,box-shadow .2s;box-shadow:inset 0 1px 1px #0f234105}input:hover,select:hover,textarea:hover{border-color:var(--border-strong)}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline-offset:2px;outline:3px solid #1268f347}input:focus,select:focus,textarea:focus{border-color:var(--brand-blue);box-shadow:0 0 0 4px #1268f31f}img,svg,canvas{max-width:100%;display:block}.loading{min-height:240px;color:var(--text-muted);place-items:center;display:grid}@media (width<=768px){.app-content{padding:16px}}.app-content{background:radial-gradient(circle at 92% 4%,#1268f317,#0000 22%),radial-gradient(circle at 8% 92%,#16a36a0f,#0000 25%)}.app-content:has(.legal-page){padding-top:1.5rem;padding-bottom:2.5rem}.app-content:has(.auth-container){background:0 0;padding:0}@media (width<=768px){.app-content:has(.legal-page){padding:.85rem .75rem 1.25rem}}
