
:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#443d3d;background:#f8f5f2;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a96576;outline-offset:2px}.shell{max-width:1440px;margin:auto;display:flex;min-height:100vh}.sidebar{width:245px;background:#fffdfb;border-right:1px solid #eee7e3;padding:38px 24px;display:flex;flex-direction:column;position:fixed;top:0;bottom:0}.brand{font:600 22px Georgia,serif;color:#553f46;line-height:1.1}.brand small{display:block;font:10px -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:2.5px;color:#ad8d91;margin-top:8px;text-transform:uppercase}.brand i{font-style:normal;color:#be8290}.nav{margin-top:62px;display:grid;gap:8px}.nav button{border:0;background:transparent;text-align:left;padding:13px 15px;color:#8d8180;border-radius:9px}.nav button.active{background:#f8eceb;color:#9b586b;font-weight:700}.nav span{display:inline-block;width:30px;font-size:17px}.side-note{margin-top:auto;background:#fbf4f1;border-radius:12px;padding:18px;color:#9c8584;font-size:12px;line-height:1.6}.side-note b{display:block;color:#775e63;font:500 16px Georgia,serif;margin-bottom:5px}.main{margin-left:245px;width:calc(100% - 245px);padding:36px 6% 90px}.top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #eee7e3;padding-bottom:22px;color:#9d8b8a}.top .right{display:flex;gap:12px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:#ead0cf;color:#9b6470;display:grid;place-items:center;font-family:serif;font-size:18px}.hero{display:flex;align-items:end;justify-content:space-between;margin:38px 0 25px}.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#b28c91;font-size:10px;font-weight:700}.hero h1,h1{font:500 34px Georgia,serif;color:#4e3d42;margin:9px 0}.hero p,.muted{color:#a49492;margin:0}.btn{border:0;border-radius:8px;padding:13px 19px;background:#a86777;color:white;font-weight:600}.btn:hover{background:#92586a}.btn.secondary{background:#fff;border:1px solid #e9deda;color:#7d6669}.btn.small{padding:9px 12px;font-size:12px}.monthbar{display:flex;align-items:center;gap:13px;color:#6b565b;font-weight:600}.monthbar button,.iconbtn{border:1px solid #eee4e0;background:#fff;border-radius:8px;width:32px;height:32px;color:#a17880}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.card{background:#fff;border:1px solid #f0e9e5;border-radius:12px;padding:21px;box-shadow:0 5px 20px #725c5c08}.stat{min-height:142px}.stat.highlight{background:#b77988;color:white;border-color:#b77988}.label{font-size:12px;color:#a28e8e}.highlight .label,.highlight .hint{color:#f6e5e7}.stat .value{font:500 28px Georgia,serif;margin:18px 0 7px;color:#554348}.highlight .value{color:white}.hint{font-size:11px;color:#b7a9a6}.section-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:20px;margin-top:22px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.section-title h2{font:500 20px Georgia,serif;color:#59474b;margin:0}.section-title a,.link{border:0;background:none;color:#ae7480;font-size:12px;font-weight:600;padding:0}.progress{height:7px;background:#f4eeeb;border-radius:5px;overflow:hidden;margin:15px 0 10px}.progress div{height:100%;background:#c78d99;border-radius:5px}.spread{display:flex;justify-content:space-between;gap:10px}.summary{background:#faf6f3;border-radius:9px;padding:15px;margin-top:18px;color:#8e797a;font-size:12px;line-height:1.6}.list{display:grid}.row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #f4eeeb}.row:last-child{border:0}.rowicon{width:39px;height:39px;flex:none;border-radius:11px;background:#f8ecea;color:#b27d86;display:grid;place-items:center;font-size:16px}.row-main{flex:1;min-width:0}.row-title{font-weight:600;color:#655257}.row-sub{font-size:11px;color:#b0a09d;margin-top:5px}.amount{text-align:right;font-weight:700;color:#675258;white-space:nowrap}.badge{font-size:10px;color:#a77d84;background:#faf0ef;padding:4px 7px;border-radius:5px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;text-align:center}.calendar .dayname{font-size:10px;color:#bcaeaa;padding:8px 0}.day{min-height:38px;padding:10px 0;border-radius:8px;color:#8a7778;font-size:12px}.day.has{background:#f9eae9;color:#a45f70;font-weight:700}.day.today{outline:1px solid #c9929b}.empty{padding:24px 0;text-align:center;color:#b5a6a3;font-size:13px;line-height:1.7}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}input,select{border:1px solid #eadfdb;background:#fff;border-radius:8px;padding:11px;color:#594b4d;min-width:0}input:focus,select:focus{outline-color:#b87a89}.toolbar input,.toolbar select{flex:1}.modal-backdrop{position:fixed;inset:0;background:#493c3e80;display:grid;place-items:center;padding:20px;z-index:5;overflow:auto}.modal{background:#fffdfb;width:min(560px,100%);border-radius:16px;padding:27px;max-height:90vh;overflow:auto}.modal h2{font:500 25px Georgia,serif;margin:0 0 8px;color:#59474b}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:20px 0}.field{display:grid;gap:7px;font-size:12px;color:#8b7778}.field.full{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.notice{font-size:12px;line-height:1.6;color:#a28d8b}.auth{min-height:100vh;display:grid;place-items:center;padding:25px}.auth .card{width:min(420px,100%);padding:38px}.auth h1{font-size:32px}.auth input{width:100%;margin:10px 0}.auth .btn{width:100%;margin-top:10px}.error{color:#b34f5f;font-size:12px}.mobile-nav{display:none}.danger{color:#b45262!important}.settings-list{display:grid;gap:12px}.settings-list .card{display:flex;align-items:center;justify-content:space-between;gap:15px}.settings-list h3{margin:0 0 6px;font-size:14px}.settings-list p{margin:0;color:#a49391;font-size:12px;line-height:1.5}@media(max-width:900px){.sidebar{display:none}.main{margin:0;width:100%;padding:22px 22px 100px}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:#fffdfb;border-top:1px solid #eee4e0;padding:10px 4px calc(10px + env(safe-area-inset-bottom));justify-content:space-around;z-index:3}.mobile-nav button{border:0;background:none;color:#ad9b9a;font-size:10px;display:grid;gap:4px;text-align:center}.mobile-nav button span{font-size:19px}.mobile-nav button.active{color:#a96576}.grid{grid-template-columns:repeat(2,1fr)}.section-grid{grid-template-columns:1fr}.top{padding-bottom:16px}.hero{margin:30px 0 22px}.hero h1{font-size:28px}}@media(max-width:480px){.main{padding-left:16px;padding-right:16px}.hero{align-items:start}.hero .btn{padding:11px;font-size:12px}.grid{gap:10px}.card{padding:16px}.stat{min-height:122px}.stat .value{font-size:23px;margin-top:15px}.formgrid{grid-template-columns:1fr}.field.full{grid-column:auto}.top .right>span{display:none}}

/* Interface inspirada em um diário financeiro, otimizada para telas pequenas. */
:root{color:#372326;background:#faeeeb}body{background:#faeeeb}.sidebar{background:#fff9f6;border-color:#eedbd7}.brand{color:#41262b}.nav button.active{background:#f9e5e5;color:#b65f71}.main{max-width:1195px}.top{border-color:#ecd9d6;color:#96777a}.card{background:#fff9f6;border:1px solid #f0deda;border-radius:16px;box-shadow:0 4px 12px #6546440b}.hero h1,h1{color:#41272b}.hero p,.muted{color:#876f70}.btn{background:#bd7380;border-radius:20px}.btn:hover{background:#a75d6c}.btn.secondary{background:#fff9f6;border-color:#e8d6d2}.section-title h2{color:#432b2e}.row{border-color:#f2e4df}.row-title,.amount{color:#402e30}.row-sub{color:#967f7d}.rowicon{background:#f7dddf;color:#9f5e6b}.monthbar{border:1px solid #ebd9d5;border-radius:24px;background:#fff7f4;padding:3px 8px;min-width:250px;justify-content:space-between;box-shadow:0 2px 7px #684e4908}.monthbar button{background:none;border:0;color:#493135;font-size:22px;line-height:1}.calendar .dayname{color:#776468}.day{color:#46363a}.day.has{background:#ca8992;color:#fff}.progress{background:#f0dcda}.progress div{background:#c77d89}.summary{background:#faedeb;color:#806b6b}.modal{background:#fff9f6;border:1px solid #f1deda}.auth{background:radial-gradient(ellipse at 20% 90%,#e6b7b6 0,transparent 43%),linear-gradient(145deg,#f9eeeb,#f2d6d3)}.auth .card{background:#fff8f5ed;text-align:center;box-shadow:0 15px 50px #9f747322}.auth .brand{font-size:28px}.auth h1{font-size:30px;line-height:1.2}.auth .notice{color:#856b6d}.auth input{text-align:left}.auth .btn{border-radius:30px}.overview-card{display:flex;align-items:center;justify-content:space-around;gap:24px;padding:24px}.donut{width:150px;height:150px;flex:none;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#b76d7c var(--progress,0%),#f0cbd0 0)}.donut-inner{width:calc(100% - 24px);height:calc(100% - 24px);border-radius:50%;display:grid;place-items:center;background:#fff9f6;color:#3f2d30;font-weight:700;font-size:22px}.overview-values{display:grid;gap:10px}.overview-values .label{color:#8c7374;font-size:12px}.overview-values strong{display:block;font-size:18px;color:#402b2e}.overview-values .balance{color:#528464}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0 24px}.quick-action{display:grid;place-items:center;gap:8px;min-height:90px;padding:12px;border:0;border-radius:16px;background:#f9e2e2;color:#a95468;font-size:12px;font-weight:600;text-align:center}.quick-action span{font-size:25px;font-weight:400}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px;color:#402b2e;font-weight:700}.section-heading h2{font-size:16px;margin:0}.app-greeting h1{font-size:32px;margin:0 0 4px}.app-greeting p{color:#887174;margin:0}.centered-month{display:flex;justify-content:center;margin:18px 0}.mobile-plus{display:none}
@media(max-width:900px){.main{padding:24px 20px 105px}.top{display:none}.hero{margin:8px 0 22px}.hero h1{font-size:29px}.mobile-nav{background:#fff6f3;border-color:#ead8d3;padding:9px 8px calc(9px + env(safe-area-inset-bottom));align-items:center;box-shadow:0 -3px 14px #76515208}.mobile-nav button{min-width:48px;color:#705b5c;font-size:10px;gap:2px}.mobile-nav button span{font-size:20px}.mobile-nav button.active{color:#b65f71}.mobile-nav .mobile-plus{display:grid;place-items:center;align-content:center;width:43px;height:43px;min-width:43px;border-radius:50%;background:#c77f89;color:white;font-size:26px;box-shadow:0 3px 7px #bb80804d}.section-grid{gap:14px;margin-top:14px}.calendar{gap:3px}.day{min-height:39px}.card{padding:17px}.row{padding:12px 0}.rowicon{width:36px;height:36px}.overview-card{padding:20px}.donut{width:125px;height:125px}.donut-inner{width:calc(100% - 18px);height:calc(100% - 18px);font-size:19px}.overview-values strong{font-size:16px}.quick-actions{gap:8px}.quick-action{min-height:76px;font-size:11px}.quick-action span{font-size:22px}.centered-month .monthbar{width:100%}}
@media(max-width:380px){.main{padding-left:14px;padding-right:14px}.overview-card{gap:12px}.donut{width:108px;height:108px}.quick-action{padding:8px 3px}.app-greeting h1{font-size:28px}}
.app-greeting{display:flex;justify-content:space-between;align-items:center}.overview-values span{display:block;color:#8c7374;font-size:12px}.purchase-card{padding-top:2px;padding-bottom:2px}.future-note{display:flex;justify-content:space-between;margin-top:20px;padding:15px;border-radius:12px;background:#f7e3e2;color:#805e63;font-size:12px}.installments{display:grid;gap:12px}.installment-card{display:block;width:100%;text-align:left;color:#422d31}.installment-card .hint{margin-top:8px}.report-card{display:flex;align-items:center;justify-content:space-around;gap:20px}.report-card .donut-inner{align-content:center;gap:4px}.report-card .donut-inner strong{font-size:15px}.report-card .donut-inner small{font-size:10px;font-weight:400}.centered-month .monthbar{max-width:500px;width:100%}
