:root{--ink:#1c2b25;--muted:#738077;--canvas:#f5f6f3;--line:#e7eae3;--gold:#e7c770;--green:#287959;--red:#b75d51;--radius:16px;--shadow:0 3px 18px #1c2b2504}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,a,summary{touch-action:manipulation}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b49a4a;outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}.icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:21px;letter-spacing:-.3px;margin-bottom:12px;font-weight:650}h3{font-size:21px}p{color:var(--muted);margin-bottom:18px}.sidebar{position:fixed;inset:0 auto 0 0;width:280px;background:#fff;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;z-index:40}.brand{display:flex;align-items:center;gap:10px;white-space:nowrap;letter-spacing:.7px;font-size:22px;line-height:1.2;font-weight:650}.brand b{font-weight:450}.brand small{display:block;color:var(--muted);font-size:13px;letter-spacing:1px;margin-top:7px;font-weight:400}.brand-icon{display:grid;place-items:center;width:40px;height:42px;border-radius:12px;background:var(--ink);color:var(--gold)}.brand-icon .icon{width:26px;height:26px}.nav-caption{font-size:13px;letter-spacing:1.7px;color:#9baba0;margin:48px 14px 14px;font-weight:650}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:10px;color:#718076;font-size:17px;margin:3px 0}.nav-item .icon{width:19px;height:19px}.nav-item.active{background:#f1f4ec;color:#243d2e;font-weight:650}.nav-item:hover{background:#f6f7f3}.sidebar-bottom{margin-top:auto;padding-top:40px}.private-note{display:flex;gap:9px;align-items:center;color:#89958b;font-size:15px;padding:16px 9px;border-top:1px solid var(--line)}.private-note .icon{width:15px}.workspace{margin-left:280px}.topbar{height:88px;padding:0 42px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#ffffffa6;gap:14px}.topbar-label{font-size:16px;color:#879188}.user-chip{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:600}.user-chip small{display:block;font-size:14px;color:var(--muted);font-weight:400}.avatar{width:36px;height:36px;display:grid;place-items:center;background:#e9ede4;border:3px solid #fff;border-radius:50%;font-size:17px}.content{padding:37px 42px 0;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.eyebrow{font-size:13px;letter-spacing:1.8px;font-weight:650;color:#81937e;display:block;margin-bottom:10px}.page-heading p{font-size:17px;margin:0}.heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:9px;min-height:43px;padding:10px 17px;font-size:16px;font-weight:600;background:var(--ink);color:white;line-height:1.4;text-align:center}.button .icon{width:16px;height:16px}.button:hover{filter:brightness(.96)}.button.primary{background:var(--ink);color:#fff}.button.secondary{background:white;color:var(--ink);border-color:#dce2d7}.button.ghost{background:transparent;color:var(--muted);padding-left:9px;padding-right:9px}.button.danger{color:#a54639;background:#fbefec;border-color:#f1ddd7}.button.small{font-size:15px;padding:7px 12px;min-height:34px}.button.full{width:100%}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin:22px 0 14px}.stats.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{background:white;border:1px solid var(--line);padding:23px 21px;border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.stat>span{display:block;font-size:15px;color:var(--muted);margin-bottom:16px}.stat>strong{font-size:clamp(24px,calc(1.9vw + 4px),33px);font-weight:600;letter-spacing:-1px;display:block;overflow-wrap:anywhere;line-height:1.25}.stat>small{font-size:14px;color:#96a091;display:block;margin-top:12px}.stat.featured{background:var(--ink);border-color:var(--ink);color:#fff}.stat.featured>span{color:#c2cdbd}.stat.featured>strong{color:#f1d58a}.stat.featured>small{color:#a1b39e}.stat.income>strong{color:var(--green)}.stat.expense>strong{color:var(--red)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:23px;box-shadow:var(--shadow)}.panel.flush{padding:0}.section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:8px}.section-heading h2{margin:0 0 5px}.section-heading p{font-size:15px;margin-bottom:10px}.text-link{font-size:15px;font-weight:650;color:#62765c}.text-link:hover{text-decoration:underline}.helper{font-size:15px;line-height:1.7;color:#7b867a;margin:10px 0 17px}.two-col{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:23px;align-items:start}.overdue-callout{display:flex;align-items:center;gap:15px;border:1px solid #ecdfd4;background:#fbf5ed;padding:16px 20px;border-radius:12px;margin:24px 0;color:#9e7250}.overdue-callout strong{font-size:16px;display:block;font-weight:600}.overdue-callout small{font-size:15px;color:#a18d77}.overdue-callout>.icon:last-child{margin-left:auto}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:16px}th{font-size:14px;text-transform:uppercase;letter-spacing:.8px;color:#929c8d;font-weight:500;background:#fafbf8;padding:13px 14px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:17px 14px;border-bottom:1px solid #f0f1ec}tbody tr:last-child td{border-bottom:none}.entry-title{font-size:16px;font-weight:600;display:block;max-width:330px;overflow-wrap:anywhere}.entry-title:hover{text-decoration:underline}.entry-title small{font-size:14px;color:#87957f;margin-left:4px}.cell-sub{display:block;font-size:14px;color:#97a08f;margin-top:4px;overflow-wrap:anywhere}.numeric{text-align:right}.amount{white-space:nowrap;font-weight:600;color:#555e53}.positive{color:#2a7d59}.badge{font-size:13px;border-radius:6px;padding:5px 9px;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.badge:before{content:"";width:4px;height:4px;background:currentColor;border-radius:50%}.badge.green{background:#eef6ec;color:#508451}.badge.red{background:#fcf0eb;color:#b57560}.badge.neutral{background:#f5f3e9;color:#968c5b}.row-actions{white-space:nowrap}.month-picker{display:flex;gap:8px;align-items:end;justify-content:flex-end;margin-top:-9px}.month-picker label{font-size:14px;min-width:145px}.month-picker input{min-height:38px;padding:7px 10px}.month-picker .button{min-height:38px}.breakdown{margin:22px 0}.breakdown>div{display:flex;justify-content:space-between;gap:12px;font-size:16px}.breakdown strong{font-size:15px}.breakdown small{font-size:13px;color:#929e8c}.breakdown meter{display:block;width:100%;height:7px;border:0;background:#f0f2eb;margin-top:9px;border-radius:5px}.breakdown meter::-webkit-meter-bar{background:#f0f2eb;border:none;height:5px}.breakdown meter::-webkit-meter-optimum-value{background:#a9bd92;border-radius:5px}.breakdown meter::-moz-meter-bar{background:#a9bd92}.account-line{display:flex;gap:12px;align-items:center;padding:17px 0;border-bottom:1px solid #f2f3ee;font-size:16px}.account-line>strong{margin-left:auto;font-size:17px;white-space:nowrap}.account-icon{width:35px;height:35px;border-radius:10px;background:#f4f5ef;color:#88977b;display:grid;place-items:center;flex-shrink:0}.account-icon .icon{width:18px}.account-block .account-line{border:0;padding-bottom:5px}.account-actions{display:flex;justify-content:space-between;gap:8px;align-items:center;border-bottom:1px solid var(--line);padding:0 0 10px 47px}.account-actions .text-link{font-size:14px}label{display:flex;flex-direction:column;gap:7px;color:#51604f;font-size:16px;font-weight:500;min-width:0}input,select,textarea{border:1px solid #dfe5da;border-radius:8px;padding:11px 12px;background:#fff;color:var(--ink);min-height:44px;width:100%;outline:none;transition:border .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:#97ac82;box-shadow:0 0 0 3px #afc19621}input:disabled{background:#f4f5f0;color:#7e887a}input::placeholder{color:#a5ada0;font-size:16px}.stack{display:flex;flex-direction:column;gap:17px}.stack .helper{margin-top:-5px;margin-bottom:0}.stack>.button{align-self:flex-start}.form-panel{max-width:780px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-actions{display:flex;gap:10px;align-items:center;margin-top:6px}.inline-form{display:inline-block;margin:0}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.filters label{flex:1;min-width:130px}.filters label:has(input[type=search]){flex:1.5;min-width:160px}.filters .button{min-height:44px}.list-summary{display:flex;align-items:center;gap:22px;font-size:15px;color:#84907c;margin:18px 0}.list-summary b{color:#44533f;font-weight:600}.list-summary .text-link{margin-left:auto}.notice{border:1px solid #dce5d3;border-radius:10px;padding:13px 17px;background:#f0f5eb;color:#4b6c3c;margin-bottom:20px;font-size:16px;display:block}.notice.error{background:#fcf0ec;color:#a55445;border-color:#eed9d2}.notice a{text-decoration:underline}.empty{text-align:center;padding:40px 20px}.empty>.icon{width:38px;height:38px;color:#b1bea6;margin-bottom:13px}.empty p{font-size:16px;max-width:380px;margin:0 auto 20px}.empty h3{font-weight:550}.empty.compact{padding:35px 0}.empty.compact p{margin-bottom:0}details{border-top:1px solid var(--line);padding-top:15px}summary{cursor:pointer;color:#6f805f;font-weight:600;font-size:16px}.details-body{display:flex;flex-direction:column;gap:16px;padding:20px 0 0}.checkbox{display:flex;flex-direction:row;align-items:center;gap:10px}.checkbox input{width:17px;height:17px;min-height:17px;accent-color:var(--ink)}.settle-summary{background:#f6f7f2;padding:20px;border-radius:12px;margin:20px 0}.settle-summary>*{display:block}.settle-summary strong{font-size:33px;letter-spacing:-1px;margin:10px 0}.settle-summary small{color:var(--muted)}.back-link{display:inline-block;font-size:16px;color:var(--muted);margin-bottom:20px}.transfer-line{display:flex;align-items:center;gap:17px;padding:16px 0;border-bottom:1px solid var(--line);font-size:16px}.transfer-line>b{margin-left:auto;white-space:nowrap}.category-line{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f0f2eb;font-size:16px}.category-line>span{flex:1}.category-line small{color:var(--muted)}.report-line{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 0;border-bottom:1px solid var(--line);font-size:16px}.section-title{margin:28px 0 0}.tutorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.tutorial-card{margin-bottom:0}.tutorial-card iframe{width:100%;aspect-ratio:16/9;border:0;border-radius:10px;background:#f2f4ee;margin:10px 0 20px}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted);font-size:17px;margin:16px 0}.link-box{margin-top:25px;display:flex;gap:12px;flex-direction:column;align-items:flex-start}.link-box label{width:100%}.link-box small{font-size:15px;color:var(--muted)}.pagination{display:flex;align-items:center;justify-content:center;gap:20px;padding:20px}.pagination span{font-size:15px;color:var(--muted)}footer{padding:29px 0 25px;display:flex;justify-content:space-between;gap:15px;border-top:1px solid var(--line);margin-top:28px;font-size:14px;color:#99a28f;letter-spacing:.3px}.icon-button{border:0;background:transparent;color:var(--ink);padding:9px;display:grid;place-items:center}.menu-toggle{display:none}.sidebar-shade{position:fixed;inset:0;background:#17241e66;z-index:39;border:0}.auth{min-height:100dvh;display:grid;grid-template-columns:47% 53%;background:#fafbf8}.auth-story{background:#17241e;color:#fff;padding:54px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;position:relative;overflow:hidden}.auth-story:after{content:"";position:absolute;width:400px;height:400px;border:1px solid #e7c77012;border-radius:50%;bottom:-120px;right:-180px;box-shadow:0 0 0 70px #e7c77005,0 0 0 140px #e7c77003;pointer-events:none}.auth-story .brand-icon{background:#e7c770;color:#17241e}.auth-story .brand small{color:#8c9c86}.auth-story .eyebrow{color:#a8b99a;margin-top:60px}.auth-story h1{font-size:clamp(42px,calc(4vw + 4px),65px);line-height:1.13;letter-spacing:-2px;font-weight:500;margin:23px 0}.auth-story h1 em{font-style:normal;color:var(--gold)}.auth-story p{color:#a2b29b;font-size:18px;max-width:360px;line-height:1.9}.story-features{display:flex;flex-direction:column;gap:15px;margin:35px 0 60px;font-size:16px;color:#bdc9b6}.story-features span{display:flex;align-items:center;gap:10px}.story-features .icon{color:#b9ca8f;width:16px;height:16px}.auth-story>small{font-size:14px;color:#788e71}.auth-main{display:grid;place-items:center;padding:50px 28px}.auth-card{width:100%;max-width:380px}.auth-card>h1{font-size:33px;margin-bottom:12px}.auth-card>p{font-size:17px;margin-bottom:30px}.auth-card form{margin-top:25px}.auth-card .button{width:100%;align-self:stretch}.forgot-link{text-align:right;font-size:15px;color:#77856c;margin-top:-7px}.auth-link{font-size:15px!important;text-align:center;margin-top:25px}.auth-link a{color:#60794e;font-weight:550}.mobile-brand{display:none}.custom-logo{max-width:200px;max-height:80px;object-fit:contain;margin:0 0 25px}.spaced{margin-top:30px}.install{max-width:680px;margin:40px auto;padding:0 20px}.install .brand{margin:25px 0 35px}.install h1{font-size:32px}[hidden]{display:none!important}
@media(min-width:1500px){.content{padding-top:45px}.stats{gap:22px}.stat{padding:27px}.two-col{grid-template-columns:1.2fr 1fr}}
@media(max-width:1180px){.sidebar{width:260px;padding-left:16px;padding-right:16px}.workspace{margin-left:260px}.topbar{padding:0 26px}.content{padding:30px 25px 0}.stats{gap:12px}.stat{padding:20px 15px}.stat>span{min-height:34px;margin-bottom:9px}.page-heading{align-items:flex-start}.heading-actions{gap:7px}.heading-actions .button{padding:10px 12px}.panel{padding:21px}.auth-story{padding:45px 40px}}
@media(max-width:940px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.stat>span{min-height:0}.stat>strong{font-size:30px}.two-col{grid-template-columns:1fr}.tutorial-grid{grid-template-columns:1fr}.page-heading{flex-wrap:wrap}.auth-story{padding:38px 30px}.auth-story h1{font-size:47px}}
@media(max-width:740px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:290px}.menu-open .sidebar{transform:translateX(0)}.workspace{margin-left:0}.topbar{height:70px;padding:0 17px}.topbar-label{display:none}.menu-toggle{display:grid}.content{padding:26px 17px 0}.page-heading{gap:18px;margin-bottom:20px}.page-heading h1{font-size:31px}.heading-actions{width:100%}.heading-actions>.button{flex:1;min-height:44px}.eyebrow{font-size:12px}.page-heading p{font-size:16px}.stats{gap:10px;margin-top:18px}.stat{padding:18px 14px;border-radius:12px}.stat>span{font-size:14px;min-height:30px;margin-bottom:8px}.stat>strong{font-size:27px;letter-spacing:-.7px}.stat>small{font-size:13px;margin-top:10px}.stats.three{grid-template-columns:1fr}.stats.three .stat>span{min-height:0}.panel{padding:20px 17px;border-radius:13px;margin-bottom:18px}.section-heading p{font-size:14px}.section-heading h2{font-size:20px}.table-wrap{overflow:visible}.entries-table thead{display:none}.entries-table,.entries-table tbody{display:block;width:100%}.entries-table tr{display:grid;grid-template-columns:1fr auto;gap:12px 8px;border-bottom:1px solid var(--line);padding:17px 0;align-items:center}.entries-table tr:last-child{border-bottom:none}.entries-table td{padding:0;border:none;display:block;min-width:0}.entries-table td:first-child{grid-column:1/-1}.entries-table td[data-label=Vencimento]:before,.entries-table td[data-label=Validade]:before{content:attr(data-label) ": ";font-size:14px;color:var(--muted)}.entries-table td[data-label=Situação]{text-align:right}.entries-table .numeric{text-align:left}.entries-table .row-actions{text-align:right}.entries-table .entry-title{max-width:none;font-size:17px}.entries-table .amount{font-size:19px}.panel.flush{padding:0 17px}.list-summary{flex-wrap:wrap;gap:8px 16px;font-size:14px}.list-summary .text-link{margin-left:0}.filters{gap:14px 10px}.filters label{min-width:calc(50% - 10px)}.filters label:has(input[type=search]){min-width:100%}.filters .button{flex:1}input,select,textarea{font-size:20px;min-height:46px}.form-grid{grid-template-columns:1fr}.button{min-height:44px}.button.small{min-height:40px}.month-picker{margin-top:0}.month-picker input{font-size:18px}.month-picker label{min-width:150px}.overdue-callout{padding:14px;gap:10px;margin:18px 0}.overdue-callout small{font-size:14px}.overdue-callout strong{font-size:15px}.helper{font-size:14px}.transfer-line{flex-wrap:wrap;gap:12px}.transfer-line>div{width:100%}.transfer-line>b{margin-left:0}.transfer-line>.inline-form{margin-left:auto}.category-line{gap:5px;font-size:15px}.category-line .button{font-size:14px;padding:7px}.account-line{font-size:16px}.account-actions{padding-left:0}.account-actions .text-link{font-size:14px}footer{font-size:13px;display:block;padding-top:23px}footer span{display:block;margin-top:6px}.auth{grid-template-columns:1fr}.auth-story{display:none}.auth-main{padding:38px 24px;min-height:100dvh;align-content:center}.mobile-brand{display:block;margin-bottom:45px}.auth-card>h1{font-size:32px}.auth-card{max-width:410px}.auth-card .stack{gap:20px}.install{margin-top:20px}.auth-link{line-height:1.8}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{.sidebar,.topbar,.heading-actions,.filters,footer{display:none}.workspace{margin:0}.content{padding:0}.panel,.stat{break-inside:avoid;box-shadow:none}.stats{grid-template-columns:repeat(3,1fr)}}
