
:root{font-family:Inter,Segoe UI,Arial,sans-serif;color:#24252b;background:#f6f6f8;font-size:14px;--brand:#bd292e;--line:#ececef;--muted:#777982}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,input,select{border-radius:8px}button{border:0;padding:11px 16px;background:transparent;color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #d7797c;outline-offset:3px}input,select{width:100%;min-height:43px;padding:10px 12px;background:#fff;border:1px solid #dedee4;color:#28282d}input:focus,select:focus{outline:2px solid #e9b6b8;border-color:var(--brand)}label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;color:#555760}p{line-height:1.65;color:var(--muted)}h1,h2,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;margin-bottom:8px;font-weight:650}h2{font-size:17px;font-weight:650;letter-spacing:-.3px}small{font-size:11px;color:var(--muted)}.primary{background:var(--brand);color:white;box-shadow:0 3px 8px #bd292e12;font-weight:600}.primary:hover{background:#a82025}.secondary{border:1px solid #dedee4;background:white;font-weight:550}.text{padding:7px;color:#61636d}.danger,.red{color:#be383c!important}.green{color:#208368!important}.muted{font-size:12px;color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--brand);font-weight:700}.brand{display:flex;align-items:center;gap:10px}.brandmark{display:grid;place-items:center;border:2px solid var(--brand);border-radius:50%;width:43px;height:43px;color:var(--brand);font-size:15px;font-weight:800;letter-spacing:-2px}.brand small{display:block;font-size:8px;letter-spacing:1.8px;line-height:1.6}.brand strong{display:block;font-size:24px;line-height:1;color:var(--brand);font-style:italic;letter-spacing:-1px}.brand small:last-child{margin-top:6px;font-size:7px;letter-spacing:1.3px}aside{position:fixed;inset:0 auto 0 0;width:242px;background:white;border-right:1px solid var(--line);padding:37px 22px;display:flex;flex-direction:column}.workspace{font-size:9px;letter-spacing:1.2px;color:#909099;margin:45px 9px 18px}.workspace i{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--brand);margin-right:5px}nav{display:grid;gap:7px}nav button{text-align:left;padding:14px 13px;color:#73747d;font-size:13px;display:flex;align-items:center;gap:13px}nav button span{font-size:20px;line-height:1}nav button.selected{color:var(--brand);background:#fcf0f0;font-weight:650}.sidefoot{margin-top:auto;padding:20px 10px 0;border-top:1px solid var(--line)}.sidefoot p{font-size:15px;color:#45464d;line-height:1.5}.main{margin-left:242px}header{height:80px;padding:0 40px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#777982}header b{font-weight:400;margin:0 15px;color:#bfc0c6}header>div{display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;width:33px;height:33px;background:#f6e9e9;color:var(--brand);border-radius:50%;font-weight:700}main{max-width:1600px;margin:auto;padding:35px 40px 15px}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.pagehead h1{margin-top:10px}.pagehead p{font-size:13px;margin-bottom:0}.period{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:18px}.period label{flex-direction:row;align-items:center;gap:12px;color:#54545b}.period input{width:170px}.period>span{font-size:11px;color:#8a8a93}.cards{display:grid;grid-template-columns:1fr 1fr 1.15fr;gap:20px;margin-bottom:24px}.cards :is(article,.cash-card){border:1px solid var(--line);border-radius:12px;padding:24px;background:white;display:grid;gap:17px}.cards :is(article,.cash-card)>span{font-size:12px;color:#72747b}.cards strong{font-size:30px;font-weight:650;letter-spacing:-1px}.cards .balance{background:#28292e;border-color:#28292e;color:white}.cards .balance span,.cards .balance small{color:#c4c4cb}.dashboardgrid{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:24px;min-width:0}.panelhead{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:18px}.panelhead h2{margin:0}.panelhead>span{color:#9999a2;font-size:11px}.panelhead label{flex-direction:row;align-items:center}.panelhead select{width:auto}.legend{display:flex;gap:18px;font-size:10px;margin:22px 0}.chartrow{display:grid;grid-template-columns:1.1fr 1.5fr 100px;gap:14px;align-items:center;margin-bottom:23px;font-size:11px}.chartrow small{display:block;margin-top:6px;font-size:10px}progress{appearance:none;display:block;width:100%;height:7px;border:0;margin:7px 0;background:#f4f4f6;border-radius:5px;overflow:hidden}progress::-webkit-progress-bar{background:#f4f4f6}progress.in::-webkit-progress-value{background:#378f76}progress.out::-webkit-progress-value{background:#d66065}progress.in::-moz-progress-bar{background:#378f76}progress.out::-moz-progress-bar{background:#d66065}.note{background:#fdfbfa}.note h2{font-size:22px;line-height:1.5;max-width:240px;margin-top:13px}.method{display:flex;justify-content:space-between;border-bottom:1px solid #ebe7e5;padding:15px 0;font-size:12px}.note>small{display:block;margin-top:20px}.tablewrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}th{font-size:10px;color:#8a8b94;text-align:left;font-weight:500;letter-spacing:.3px;background:#fafafb;padding:14px 12px}td{padding:17px 12px;border-bottom:1px solid #f0f0f3}td b{font-weight:550}td small{display:block;margin-top:7px}tbody tr:last-child td{border-bottom:0}.num{text-align:right;font-variant-numeric:tabular-nums}.badge{display:inline-block;padding:6px 9px;border-radius:5px;font-size:10px}.badge.entrada{background:#edf7f2;color:#208368}.badge.saida{background:#fceeee;color:#be383c}.empty{text-align:center;padding:42px 15px;color:#92929a;white-space:normal}.empty strong{color:#666872;font-weight:550}.empty p{font-size:12px;margin:10px 0}.filters{display:flex;gap:12px;flex-wrap:wrap;align-items:end}.filters label{flex:1;min-width:135px}.filters input,.filters select{font-size:12px}.categorygrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.categorygrid>div{border:1px solid var(--line);border-radius:8px;padding:15px;display:flex;justify-content:space-between;align-items:center;gap:10px}.categorygrid+.muted{margin-top:20px}footer{display:flex;justify-content:space-between;border-top:1px solid #e9e9ed;padding:22px 0;color:#999aa2;font-size:10px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.welcome{background:#28292e;color:white;padding:50px 65px;display:flex;flex-direction:column;justify-content:space-between;min-height:100vh;position:relative;overflow:hidden}.welcome:after{content:'';position:absolute;width:400px;height:400px;border:1px solid #ffffff09;border-radius:50%;right:-190px;bottom:-100px;box-shadow:0 0 0 60px #ffffff02,0 0 0 120px #ffffff02;pointer-events:none}.welcome .brandmark{color:white;background:var(--brand);border:0}.welcome .brand strong{color:white}.welcome .brand small{color:#d9d9de}.welcome h1{font-size:clamp(38px,4.6vw,70px);line-height:1.13;letter-spacing:-2px;margin:25px 0}.welcome .eyebrow{color:#ee8f92}.welcome p{color:#bdbdc7;font-size:15px}.loginform{display:grid;place-items:center;padding:45px}.loginform>div{width:100%;max-width:370px}.loginform h2{font-size:27px;margin:18px 0 10px}.loginform p{font-size:13px}.loginform form{margin-top:32px}.loginform label{margin-bottom:20px}.loginform .primary{width:100%;display:flex;justify-content:space-between;padding:15px}.error{color:var(--brand);font-size:12px;line-height:1.5}dialog{border:1px solid var(--line);border-radius:15px;padding:28px;width:min(520px,calc(100% - 30px));max-height:92vh;box-shadow:0 20px 100px #14141b33}dialog::backdrop{background:#1e20276b;backdrop-filter:blur(4px)}dialog label{margin-bottom:18px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.modalfoot{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#28292e;color:white;z-index:100;padding:14px 22px;border-radius:9px;opacity:0;pointer-events:none;transition:.2s}#toast.show{opacity:1}@media(min-width:1600px){main{padding:45px 60px}}@media(max-width:1100px){aside{width:205px;padding:30px 15px}.main{margin-left:205px}main{padding:28px 22px}header{padding:0 22px}.cards{gap:12px}.cards :is(article,.cash-card){padding:20px}.cards strong{font-size:25px}.dashboardgrid{grid-template-columns:1fr}.period>span{max-width:240px;text-align:right}.chartrow{grid-template-columns:1fr 2fr 100px}}@media(max-width:760px){aside{position:static;width:auto;padding:17px 18px 8px;border-right:0}.brandmark{width:35px;height:35px}.brand strong{font-size:21px}aside .brand small:last-child{display:none}.workspace,.sidefoot{display:none}nav{display:flex;overflow-x:auto;gap:4px;margin-top:20px}nav button{white-space:nowrap;font-size:11px;padding:11px 12px}nav button span{font-size:16px}.main{margin-left:0}header{height:60px;padding:0 18px}header>span{font-size:10px}header>div>span:not(.avatar){display:none}header b{margin:0 7px}main{padding:26px 16px}.pagehead{align-items:flex-start;gap:10px}.pagehead h1{font-size:27px}.pagehead p{font-size:11px}.pagehead .primary{font-size:11px;padding:12px;white-space:nowrap;margin-top:22px}.period{align-items:flex-start}.period label{flex-direction:column;align-items:flex-start;font-size:10px;gap:7px}.period>span{font-size:10px;max-width:175px;line-height:1.6;padding-top:22px}.cards{grid-template-columns:1fr 1fr;gap:10px}.cards :is(article,.cash-card){padding:17px;gap:14px}.cards strong{font-size:23px}.cards :is(article,.cash-card)>span{font-size:11px}.cards small{font-size:9px}.cards .balance{grid-column:1/-1}.cards .balance strong{font-size:29px}.panel{padding:18px}.panelhead h2{font-size:15px}.chartrow{grid-template-columns:1fr 1fr 85px;gap:8px;font-size:10px}.filters{gap:10px}.filters label{min-width:120px}.filters button{width:100%}.categorygrid{grid-template-columns:1fr}.login{grid-template-columns:1fr}.welcome{min-height:260px;padding:28px}.welcome h1{font-size:34px;margin:22px 0}.welcome h1 br{display:none}.welcome h1{max-width:300px}.welcome>small,.welcome p,.welcome .eyebrow{display:none}.loginform{padding:35px 25px}.loginform h2{font-size:25px}footer span{max-width:140px;text-align:right}.formgrid{gap:10px}.panelhead label{flex-direction:column;align-items:flex-start;font-size:10px}}

.brand{flex-direction:column;align-items:flex-start;gap:12px}.brand img{width:180px;max-width:100%;height:auto}.brand>small{letter-spacing:2px;font-size:8px}.welcome .brand{background:#fff;padding:15px;border-radius:8px;width:215px}.welcome .brand small{color:#777}.welcome .brand img{width:180px}

.cash-card{text-align:left;border:1px solid var(--line);border-radius:12px;background:#fff;display:grid;gap:17px;padding:24px;transition:border-color .15s,box-shadow .15s}.cash-card:hover{border-color:#d7a1a3;box-shadow:0 4px 16px #28292e0d}.cash-card:focus-visible{outline:3px solid #bd292e66;outline-offset:3px}
.recent-mobile{display:none}.evolution .panelhead{align-items:flex-start}.evolution .panelhead p{margin:10px 0 0}.evolution .panelhead button{white-space:nowrap}.evo-scroll{overflow-x:auto;max-width:100%}.evo-svg{display:block;min-width:100%;height:260px}.evo-grid{stroke:#ececef;stroke-width:1}.evo-axis{font-size:11px;fill:#777982;font-family:Segoe UI,Arial,sans-serif}.evo-entrada{fill:#378f76}.evo-saida{fill:#d66065}.evolution summary{cursor:pointer;color:#61636d;font-size:12px;padding:12px 0}.recent-item{border-bottom:1px solid var(--line);padding:13px 0}.recent-item:last-child{border-bottom:0}.recent-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.recent-top>b{font-size:12px;font-weight:600;overflow-wrap:anywhere;min-width:0}.recent-top>strong{font-size:13px;white-space:nowrap;font-variant-numeric:tabular-nums}.recent-meta{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:10px;color:var(--muted);margin-top:7px;line-height:1.5}.recent-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:4px}.recent-bottom .text{font-size:11px;min-height:36px;padding:8px 10px}.recent-bottom .badge{font-size:9px;padding:4px 7px}@media(max-width:760px){.recent>.tablewrap{display:none}.recent-mobile{display:block}.recent .panelhead{margin-bottom:4px}.recent .panelhead .text{font-size:11px}.evolution .panelhead{flex-direction:column;gap:12px}.evolution .legend{flex-wrap:wrap;gap:12px}.evolution .evo-svg{min-width:570px}}

.daily-subtotal td{background:#f7f8fa;border-top:1px solid #e4e6eb;border-bottom:2px solid #e4e6eb;padding:15px 12px}.daily-totals{display:flex;align-items:center;justify-content:space-between;gap:22px;font-size:11px}.daily-totals>strong{color:#4b4e58;font-size:11px}.daily-totals>span{display:flex;gap:9px;align-items:center;color:#777982}.daily-totals b{font-size:12px;font-variant-numeric:tabular-nums}.daily-subtotal+tr td{padding-top:22px}
