:root{--bg:#f5f6f2;--paper:#fff;--ink:#18352f;--muted:#63716a;--line:#e2e7df;--green:#215c49;--lime:#d6edb2;--red:#aa4e43;--soft:#edf3eb;--radius:18px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #729e40;outline-offset:3px}a{color:var(--green)}svg{display:block}button svg{width:19px;height:19px;flex:none}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);background:white;color:var(--ink);padding:11px 16px;border-radius:10px;min-height:44px;font-weight:600;font-size:14px}button:hover{background:var(--soft)}.primary{background:var(--green);border-color:var(--green);color:#fff}.primary:hover{background:#174a39}.danger{color:var(--red)}.quiet{background:transparent;border-color:transparent}.icon-btn{padding:9px;min-width:42px}.muted{color:var(--muted)}.small{font-size:12px}.positive{color:var(--green)}.negative{color:var(--red)}.num{font-variant-numeric:tabular-nums}.skip{position:absolute;top:-80px;z-index:50;background:#fff;padding:15px}.skip:focus{top:0}.initial{min-height:100vh;display:grid;place-content:center;text-align:center;gap:14px}.brandmark{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);color:white;font-size:27px;font-weight:800;letter-spacing:-3px;border-radius:12px;width:44px;height:44px;padding-right:4px}.brandmark span{color:var(--lime);font-size:22px}.brand{display:flex;align-items:center;gap:11px;font-weight:760;font-size:23px;letter-spacing:-1px}.brand small{font-weight:400}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:#fbfcf8;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:30px 20px;z-index:5}.sidebar .brand{padding:0 9px 34px}.nav-label{font-size:10px;letter-spacing:1.6px;font-weight:700;color:#89948b;margin:8px 14px 12px}.nav{display:grid;gap:7px}.nav button{justify-content:flex-start;gap:13px;padding:13px 15px;background:transparent;border:0;color:#6b766f;font-weight:500}.nav button.active{background:#e7efdf;color:#1d4c38;font-weight:700}.nav button:hover{background:#edf2e9}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:22px}.private-note{background:#eef3e7;padding:15px;border-radius:12px;font-size:12px;line-height:1.65;margin-bottom:22px}.private-note strong{display:block;color:var(--green);margin-bottom:5px}.user{display:flex;align-items:center;gap:10px}.avatar{background:#dfe8d6;display:grid;place-content:center;border-radius:50%;height:37px;width:37px;flex:none;font-weight:700}.user-info{min-width:0;flex:1}.user-info strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-info small{color:var(--muted);font-size:11px}.workspace{margin-left:238px;padding:0 42px 44px;max-width:1780px}.topbar{height:80px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;gap:15px}.breadcrumb{font-size:13px;color:var(--muted)}.breadcrumb b{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:14px;font-size:12px;color:var(--muted)}.secure-dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#5b8d55;margin-right:6px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.eyebrow{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:700;color:#75816e;margin:0 0 10px}h1{font-size:30px;letter-spacing:-1px;line-height:1.15;margin:0 0 10px;font-weight:650}h2{font-size:17px;margin:0 0 7px;font-weight:650;letter-spacing:-.3px}h3{font-size:14px;margin:0 0 8px}p{line-height:1.6;margin:0 0 12px}.heading p{font-size:13px;color:var(--muted);margin:0}.actions{display:flex;gap:10px;flex-wrap:wrap}.filterbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:23px}.filterbar .label{font-size:12px;color:var(--muted);margin-right:auto}.filterbar input,.filterbar select{width:auto;min-width:135px;background:#fff;padding:10px 12px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{border:1px solid var(--line);border-radius:var(--radius);padding:21px 23px;background:#fff;position:relative;overflow:hidden}.stat.featured{background:var(--ink);color:#fff;border-color:var(--ink)}.stat-label{font-size:12px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-label svg{width:16px;height:16px;color:#82927c}.featured .stat-label{color:#cee0d3}.stat-value{font-size:27px;font-weight:650;letter-spacing:-1px;margin:14px 0 11px;overflow-wrap:anywhere}.stat-foot{font-size:11px;color:var(--muted)}.featured .stat-foot{color:#c7d8cb}.pill{padding:4px 8px;border-radius:6px;background:#edf4e5;color:#497539;font-size:10px;font-weight:650;display:inline-block}.pill.expense{background:#f9ebe5;color:#995143}.pill.planned{background:#fbf0d8;color:#8d6820}.pill.transfer{background:#eef0f7;color:#5e6489}.grid-main{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(280px,1fr);gap:22px;margin-bottom:23px}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-width:0}.panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:25px}.panel-head p{font-size:12px;color:var(--muted);margin:0}.legend{display:flex;gap:15px;font-size:11px;color:var(--muted);align-items:center}.legend span:before{content:'';display:inline-block;width:7px;height:7px;border-radius:2px;background:var(--green);margin-right:5px}.legend span:last-child:before{background:#dbe7b9}.chart{width:100%;height:220px}.chart text{font-family:inherit;fill:#7a847a;font-size:10px}.chart line{stroke:#ecf0e8;stroke-dasharray:3 4}.donut-wrap{display:flex;justify-content:center;margin:0 0 20px}.donut{width:148px;height:148px;transform:rotate(-90deg)}.donut circle{fill:none;stroke-width:20}.category-list{display:grid;gap:14px}.cat-line{display:flex;gap:8px;align-items:center;font-size:12px}.cat-line .name{flex:1;min-width:0}.dot{width:8px;height:8px;border-radius:50%;flex:none}.cat-line b{font-weight:600}.insight{background:#edf2e6;border:1px solid #dfe8d5;border-radius:12px;padding:15px 18px;display:flex;align-items:flex-start;gap:12px;margin-bottom:24px;font-size:12px;line-height:1.65}.insight svg{width:20px;flex:none;color:#5c7d3f}.insight strong{color:#355a2f}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{text-align:left;color:#899087;font-size:10px;text-transform:uppercase;letter-spacing:.7px;font-weight:600;background:#f8faf5;padding:13px 12px;border-block:1px solid var(--line)}td{padding:15px 12px;border-bottom:1px solid #edf0e9}tbody tr:last-child td{border-bottom:0}.right{text-align:right}.entry-title{font-size:13px;font-weight:550;max-width:260px;white-space:normal;overflow-wrap:anywhere}.entry-note{font-size:11px;color:var(--muted);margin-top:4px;max-width:250px;overflow:hidden;text-overflow:ellipsis}.row-actions{display:flex;justify-content:flex-end;gap:2px}.row-actions button{min-height:36px;min-width:35px;padding:7px;border:0;background:transparent}.empty{padding:40px 20px;text-align:center;color:var(--muted);font-size:13px}.empty h3{color:var(--ink);font-size:17px;margin-bottom:8px}.empty button{margin-top:14px}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:12px}.loan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.loan-top{display:flex;justify-content:space-between;gap:10px}.progress{height:7px;background:#edf1e7;border-radius:6px;overflow:hidden;margin:20px 0 8px}.progress span{display:block;height:100%;background:#78975d}.loan-numbers{display:flex;justify-content:space-between;font-size:12px;gap:12px;margin:20px 0}.loan-numbers strong{display:block;font-size:21px;margin-top:7px}.loan-foot{display:flex;gap:8px;margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.loan-foot button{flex:1}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;min-width:0}label{font-size:12px;font-weight:600}input,select,textarea{width:100%;border:1px solid #d7dfd4;border-radius:9px;padding:12px;color:var(--ink);background:#fff;min-height:44px}textarea{resize:vertical;min-height:88px}input::placeholder,textarea::placeholder{color:#9aaba0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.span2{grid-column:1/-1}.help{font-size:11px;color:var(--muted);line-height:1.6}.notice{padding:13px 15px;background:#f4f6ec;border-radius:9px;font-size:12px;line-height:1.65;margin:0 0 18px}.notice.warn{background:#fff4db;color:#795d23}.form-error{color:#9b3f35;font-size:13px;line-height:1.5;margin-bottom:12px}.form-error:empty{display:none}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}dialog{border:0;border-radius:20px;padding:0;width:min(580px,calc(100vw - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 24px 100px #10282040}dialog::backdrop{background:#142e2a80;backdrop-filter:blur(3px)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 25px 14px;position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{font-size:21px;margin:0}.modal-body{padding:8px 25px 25px}.upload{border:1px dashed #a7b99a;background:#f6f9f1;border-radius:12px;padding:15px;margin-bottom:18px}.upload label{display:block;margin-bottom:9px}.upload input{font-size:12px;padding:7px;background:#fff}.upload button{margin-top:10px}.ocr-progress{font-size:12px;margin-top:10px;line-height:1.5}#toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,30px);background:#173e32;color:white;max-width:90vw;padding:13px 21px;box-shadow:0 5px 30px #173e3229;border-radius:12px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:100}#toast.show{opacity:1;transform:translate(-50%,0)}.auth{display:grid;grid-template-columns:1.05fr 1fr;min-height:100vh}.auth-story{background:#183e34;color:#f1f7ec;padding:55px 60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.auth-story .brandmark{background:#d7eeb4;color:#183e34}.auth-story .brandmark span{color:#183e34}.auth-story h1{font-size:clamp(38px,4vw,60px);line-height:1.13;letter-spacing:-2px;max-width:480px;margin:40px 0 20px}.auth-story h1 em{font-style:normal;color:#d7eeb4}.auth-story p{color:#bdcfc1;max-width:400px;font-size:15px}.auth-art{display:flex;align-items:flex-end;gap:16px;height:180px;margin:30px 0;width:75%;transform:rotate(-5deg)}.auth-art span{flex:1;border-radius:12px 12px 3px 3px;background:#d7eeb4}.auth-art span:nth-child(1){height:25%;opacity:.25}.auth-art span:nth-child(2){height:48%;opacity:.4}.auth-art span:nth-child(3){height:42%;opacity:.6}.auth-art span:nth-child(4){height:72%;opacity:.8}.auth-art span:nth-child(5){height:100%}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-box{width:100%;max-width:370px}.auth-box h2{font-size:28px;letter-spacing:-1px;margin-bottom:10px}.auth-box>p{font-size:13px;color:var(--muted);margin-bottom:28px}.auth-box .primary{width:100%;margin-top:6px}.auth-links{display:flex;justify-content:center;flex-wrap:wrap;gap:2px;margin-top:16px}.auth-links button{font-size:12px}.privacy-copy{font-size:11px;color:var(--muted);margin-top:26px;text-align:center;line-height:1.7}.mobile-brand{display:none}.mobile-nav{display:none}.section-gap{margin-top:22px}.amount-input{font-size:22px;letter-spacing:-.5px}.search{flex:1;min-width:150px}.checkbox{display:flex;align-items:center;gap:9px;font-size:12px}.checkbox input{width:18px;min-height:18px}.skeleton{padding:60px;color:var(--muted);text-align:center}
@media(min-width:1500px){.workspace{padding-inline:60px}.stat-value{font-size:32px}}
@media(max-width:1150px){.sidebar{width:205px;padding-inline:14px}.workspace{margin-left:205px;padding-inline:25px}.stats{gap:12px}.stat{padding:18px}.stat-value{font-size:23px}.grid-main{grid-template-columns:1.4fr 1fr}.top-actions .muted{display:none}.auth-story{padding:40px}}
@media(max-width:900px){.sidebar{width:185px;padding-inline:10px}.sidebar .brand{font-size:20px}.workspace{margin-left:185px;padding-inline:20px}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-main{grid-template-columns:1fr}.donut-wrap{float:left;margin:0 30px 0 0}.category-list{min-height:148px;align-content:center}.loan-grid,.cards{grid-template-columns:1fr}.heading{align-items:flex-start}.heading .actions{justify-content:flex-end}.auth-story{padding:35px}.auth-story h1{font-size:40px}.auth-form{padding:30px}}
@media(max-width:680px){.sidebar{display:none}.workspace{margin-left:0;padding:0 18px 100px}.topbar{height:68px;margin-bottom:25px}.breadcrumb{display:none}.mobile-brand{display:flex;font-size:20px}.mobile-brand .brandmark{height:34px;width:34px;font-size:23px}.top-actions{font-size:10px;gap:6px}.top-actions .quiet{padding:7px}.heading{display:block;margin-bottom:22px}h1{font-size:28px}.heading .actions{justify-content:flex-start;margin-top:20px}.heading .actions .primary{flex:1}.filterbar{gap:8px}.filterbar .label{width:100%;margin-bottom:3px}.filterbar input,.filterbar select{min-width:0;flex:1}.stats{gap:10px;margin-bottom:18px}.stat{padding:16px 14px;min-height:126px}.stat-label{font-size:11px}.stat-label svg{width:14px}.stat-value{font-size:22px;margin:14px 0 8px}.stat-foot{font-size:10px}.panel{padding:18px}.panel-head{margin-bottom:20px;flex-wrap:wrap}.grid-main{gap:18px;margin-bottom:18px}.chart{height:190px}.legend{font-size:10px}.donut-wrap{margin-right:18px}.donut{width:125px;height:125px}.cat-line{font-size:11px}.category-list{min-height:125px}.insight{font-size:11px;padding:13px;line-height:1.7}.mobile-nav{position:fixed;bottom:0;inset-inline:0;background:#fbfcf8f5;border-top:1px solid var(--line);z-index:10;display:flex;justify-content:space-around;padding:8px 6px max(8px,env(safe-area-inset-bottom));backdrop-filter:blur(15px)}.mobile-nav button{display:flex;flex-direction:column;gap:5px;font-size:9px;padding:7px 6px;min-width:54px;border:0;background:transparent;color:var(--muted)}.mobile-nav button.active{color:var(--green);background:#eaf1e3}.mobile-nav button svg{height:19px;width:19px}.auth{display:block}.auth-story{display:none}.auth-form{min-height:100dvh;padding:30px}.auth-box .mobile-brand{margin-bottom:45px}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.modal-body{padding:6px 20px 20px}.modal-head{padding:20px 20px 14px}.modal-head h2{font-size:19px}.form-actions button{flex:1}.loan-numbers strong{font-size:19px}#toast{bottom:90px;width:max-content}.privacy-copy{font-size:10px}.row-actions button{min-height:42px;min-width:40px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.privacy-copy svg{display:inline-block;width:14px;height:14px;vertical-align:middle}.panel-head>svg{width:20px;height:20px;flex:none}.upload label svg{display:inline-block;width:17px;height:17px;vertical-align:middle}.mobile-nav{overflow-x:auto}.auth-story .brand small{color:#fff}

.ranking-bar{height:4px;border-radius:4px;background:#edf1e9;max-width:220px;margin-top:8px}.ranking-bar span{display:block;height:100%;border-radius:4px;background:#85a071}.projection-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px}.sidebar{overflow-y:auto}.sidebar .brand{padding-bottom:22px}.nav{gap:3px}.nav button{padding-block:10px}.private-note{margin-top:18px}.mobile-nav{justify-content:flex-start;gap:4px}.mobile-nav button{flex:0 0 66px}@media(max-width:680px){.projection-fields{grid-template-columns:1fr 1fr}.projection-fields .field{grid-column:auto}.projection-fields input{min-width:0;font-size:13px}}

.mobile-nav{justify-content:space-around}.mobile-nav button{flex:1;min-width:0}

/* p4X: mesmas cores, forma e proporções da marca original. */
.brandmark{flex-shrink:0;letter-spacing:-2px;padding-right:2px;font-size:23px}
.brandmark span{font-size:20px}
.brandmark .brand-x{font-size:16px;letter-spacing:-1px;font-weight:800;color:inherit}
@media(max-width:680px){.brandmark,.mobile-brand .brandmark{font-size:19px}.brandmark span{font-size:17px}.brandmark .brand-x{font-size:13px}}

/* Resultado do período e gráfico de fluxo de caixa. */
.stat.featured.result-negative{background:#A83232;color:#fff}
.stat.featured.result-zero{background:#898989;color:#fff}
.stat.featured.result-negative .stat-label,.stat.featured.result-negative .stat-foot,.stat.featured.result-negative svg,.stat.featured.result-zero .stat-label,.stat.featured.result-zero .stat-foot,.stat.featured.result-zero svg{color:#fff}
.legend span:nth-child(2)::before{background:#FF746C}
.cashflow-chart{position:relative}
.chart-tooltip{position:absolute;right:8px;top:0;z-index:5;pointer-events:none;white-space:pre-line;background:#183e34;color:#fff;border-radius:10px;padding:10px 14px;font-size:12px;line-height:1.6;box-shadow:0 4px 18px #0002;max-width:calc(100% - 16px)}
.chart-tooltip[hidden]{display:none}
.chart-month{cursor:help}
.chart-month:focus{outline:none}
.chart-month:focus-visible>rect:first-child{stroke:#29614e;stroke-width:1;stroke-dasharray:3 3}

.google-login{width:100%;margin-top:16px;justify-content:center;background:#fff;color:#1f1f1f;border:1px solid #747775;border-radius:6px;min-height:44px;font-size:14px;font-weight:600}
