@font-face{font-family:Nunito;src:url("fonts/nunito-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url("fonts/nunito-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url("fonts/nunito-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:Nunito;src:url("fonts/nunito-latin-800-normal.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap}
body,button,input,select,textarea{font-family:Nunito,ui-rounded,"SF Pro Rounded","Segoe UI",sans-serif}
.summary-grid{grid-template-columns:1.15fr 1fr 1fr 1fr}.metric{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 24px rgba(23,51,49,.035)}.metric.dark{border-color:var(--deep2)}.chip{display:inline-flex;align-items:center;gap:7px;width:auto;height:auto;min-height:30px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}.chip.green{background:#dff1ed;color:#317b71}.chip.blue{background:#e4edf6;color:#507da6}.metric.forecast{border-top:3px solid #6995bb}.progress{height:6px;margin-top:10px;border-radius:9px;background:#edf2f1;overflow:hidden}.progress i{display:block;height:100%;border-radius:9px;background:var(--bucket,#62b5a9)}.progress i.over{background:#c76060}
.passkey-nudge{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:12px;margin:0 0 18px;padding:13px 15px;border:1px solid #cfe4df;border-radius:15px;background:#eaf5f2;color:#315f59}.passkey-nudge-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#d4ebe6}.passkey-nudge-icon img{width:19px;height:19px}.passkey-nudge strong,.passkey-nudge small{display:block}.passkey-nudge strong{font-size:12px;margin-bottom:3px}.passkey-nudge small{color:#66807c;font-size:10px;line-height:1.4}.passkey-nudge .secondary{white-space:nowrap;background:#d7ebe7;color:#2d6e65}.auth-divider{display:flex;align-items:center;gap:10px;margin:17px 0 2px;color:#91a09e;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;flex:1;background:#e3ebe9}.passkey-login{display:flex;align-items:center;justify-content:center;gap:7px}.passkey-login[hidden]{display:none}.passkey-login img{width:16px;height:16px}.passkey-message{margin-top:10px;padding:9px 11px;border-radius:10px;background:#edf3f1;color:#5b706d;font-size:10px;line-height:1.4;text-align:center}
[hidden]{display:none!important}.section-help{max-width:620px;margin:7px 0 0;color:#718080;font-size:12px;line-height:1.5}.push-help{max-width:620px;margin:6px 0 0;color:#849391;font-size:10px;line-height:1.45}.bills-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,360px);gap:28px;align-items:start}.bills-simple{max-width:none}.bill-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.push-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}.push-toggle img{width:15px;height:15px}.push-toggle.active{background:#dff1ed;color:#317b71}.push-toggle:disabled{opacity:.6;cursor:not-allowed}.bills-mascot-side{align-self:start;display:flex;justify-content:center;min-width:0;pointer-events:none}.bills-mascot-side img{display:block;width:100%;max-height:480px;object-fit:contain;object-position:center top;filter:drop-shadow(0 22px 24px rgba(23,51,49,.13))}.bill-pay{white-space:nowrap;margin-top:6px}
.top-actions{align-items:flex-end}.month-picker{margin-bottom:0}.month-picker input,.top-actions>.button{height:45px}.month-picker input{margin-bottom:0}
.brand strong,.auth-brand strong,.topbar h1,.panel h2,.auth-card h1{font-weight:800}
.sidebar nav img,.pack-card>img,.logout img{width:18px;height:18px;filter:brightness(0) invert(1);opacity:.66;flex:none}.sidebar nav button.active img,.sidebar nav button:hover img,.logout:hover img{opacity:1}.pack-card>img{width:24px;height:24px}.logout{display:flex;align-items:center;justify-content:center;gap:7px}
.button,.secondary,.ghost{display:inline-flex;align-items:center;justify-content:center;gap:7px}.button img,.secondary img,.ghost img{width:15px;height:15px;flex:none}.lucide{width:17px;height:17px;display:block}.chip .lucide{width:16px;height:16px}.dark .chip .lucide{filter:brightness(0) invert(1)}
.row-icon .lucide{width:18px;height:18px;opacity:.72}.row-icon.income .lucide{filter:sepia(1) saturate(3) hue-rotate(110deg)}.icon-button{display:inline-grid;place-items:center}.icon-button .lucide{width:13px;height:13px}.icon-button.danger .lucide{filter:sepia(1) saturate(5) hue-rotate(310deg)}
.close{display:grid;place-items:center}.close img{width:17px;height:17px}.privacy-note{display:flex;align-items:center;justify-content:center;gap:6px}.privacy-note img{width:14px;height:14px}
.brand-mascot{width:48px;height:48px;object-fit:contain;flex:none;filter:none!important;opacity:1!important}.auth-brand .brand-mascot{width:58px;height:58px}.auth-brand{margin-bottom:24px}
.cold-tip{overflow:visible;margin-top:96px;padding-top:132px;min-height:350px}.cold-tip:after{display:none}.tip-mascot{position:absolute;z-index:2;top:-112px;left:50%;transform:translateX(-50%);display:block;width:276px;height:auto;max-width:none;object-fit:contain;margin:0;border-radius:0;filter:drop-shadow(0 18px 20px rgba(36,77,75,.12));pointer-events:none}
.accounts-panel{overflow:hidden}.accounts-mascot{display:block;width:100%;max-height:310px;object-fit:contain;object-position:center bottom;margin:-6px auto 22px;border-radius:15px;background:#e8f4f1}.planning-panel{overflow:visible;position:relative}.planning-layout{display:block;min-height:520px}.planning-copy{position:relative;z-index:2;width:calc(110% - 270px);min-width:0}.planning-rules{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:20px}.rule-card{border:1px solid var(--line);border-top:4px solid var(--bucket);border-radius:14px;padding:14px;background:linear-gradient(180deg,var(--bucket-bg),#fff 44%)}.rule-title{display:flex;align-items:center;gap:8px}.rule-title span{color:var(--bucket-text);font-size:18px;font-weight:900}.rule-card h3{margin:0;font-size:14px}.rule-card p{color:#667a77;font-size:10px;line-height:1.45;min-height:30px}.rule-card ul{margin:10px 0 0;padding-left:16px;color:#536865;font-size:10px;line-height:1.55}.planning-visual{position:absolute;z-index:3;right:-42px;bottom:-38px;width:355px;display:flex;align-items:flex-end;justify-content:flex-end;pointer-events:none}.planning-visual img{display:block;width:100%;height:auto;max-height:540px;object-fit:contain;object-position:right bottom;filter:drop-shadow(0 22px 24px rgba(23,51,49,.12))}
.login-body{padding-top:28px;padding-bottom:28px}.login-scene{width:min(440px,100%);display:flex;flex-direction:column;align-items:center}.login-peek{display:block;width:350px;height:auto;max-width:92vw;margin-bottom:-35px;position:relative;z-index:2;pointer-events:none;filter:drop-shadow(0 18px 22px rgba(36,77,75,.12))}.login-card{position:relative;z-index:1;width:100%;padding-top:52px}
.brand{flex-direction:column;align-items:flex-start;gap:3px;padding:0 2px 26px}.brand-lockup{display:block;width:202px;height:auto}.brand-mascot-compact{display:none}.brand>small{margin-top:-18px;padding-left:53px;color:#9fbab6;font-size:10px;line-height:1;letter-spacing:.35px}.auth-brand-lockup{display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:25px}.auth-lockup{display:block;width:230px;max-width:82%;height:auto}.auth-brand-lockup>small{color:#79908d;font-size:10px;letter-spacing:.35px}
.content{position:relative}.metric{position:relative;overflow:hidden;isolation:isolate}.metric>*{position:relative;z-index:1}
@media(min-width:951px) and (max-width:1399px){body{zoom:.9}.app-shell{min-height:111.111vh}.sidebar{height:111.111vh}}
@media(max-width:950px) and (min-width:651px){.brand{align-items:center;padding:0 0 28px}.brand-lockup,.brand>small{display:none}.brand-mascot-compact{display:block;width:48px;height:48px}}
@media(max-width:1200px) and (min-width:651px){.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.planning-layout{min-height:560px}.planning-copy{width:calc(110% - 226px)}.planning-rules{grid-template-columns:1fr}.rule-card p{min-height:0}.planning-visual{right:-34px;width:295px}.planning-visual img{max-height:470px}}
@media(max-width:1050px){.bills-stage{grid-template-columns:minmax(0,1fr) 250px;gap:18px}.bills-mascot-side img{max-height:430px}}
@media(max-width:850px){.planning-layout{min-height:0}.planning-copy{width:100%}.planning-visual{position:relative;right:auto;bottom:-24px;width:auto;margin:8px -24px 0;min-height:300px;justify-content:center}.planning-visual img{width:auto;max-width:100%;max-height:360px;object-position:center bottom}}
@media(max-width:760px){.bills-stage{grid-template-columns:1fr}.bills-mascot-side{max-width:280px;margin:0 auto}.bills-mascot-side img{max-height:340px}}
@media(max-width:650px){.top-actions>.button img{width:19px;height:19px}.sidebar nav img{width:21px;height:21px}.brand-mascot{width:44px;height:44px}.cold-tip{margin-top:78px;padding-top:112px;min-height:320px}.tip-mascot{width:226px;top:-88px}.accounts-mascot{max-height:250px}.planning-rules{grid-template-columns:1fr}.planning-visual{min-height:240px}.planning-visual img{max-height:290px}.bills-mascot-side{display:none}.bill-head-actions{width:100%;justify-content:stretch}.bill-head-actions .button,.bill-head-actions .secondary{flex:1}.login-body{padding-top:18px;padding-bottom:18px;align-items:start}.login-peek{width:290px;margin-bottom:-35px}.login-card{padding-top:46px}}
.install-guide{width:min(460px,calc(100% - 28px));padding:24px;border:0;border-radius:24px;color:#173331;background:#fff;box-shadow:0 28px 80px rgba(12,39,36,.28)}.install-guide::backdrop{background:rgba(12,31,29,.52);backdrop-filter:blur(4px)}.install-guide-head{display:grid;grid-template-columns:68px 1fr 36px;gap:14px;align-items:center}.install-guide-icon{width:68px;height:68px;border-radius:18px;overflow:hidden;box-shadow:0 8px 22px rgba(23,51,49,.18)}.install-guide-icon img{display:block;width:100%;height:100%}.install-guide h2{margin:3px 0 0;font-size:21px}.install-guide>p{margin:22px 0 12px;color:#607572;line-height:1.55}.install-guide ol{margin:0;padding-left:22px}.install-guide li{padding:7px 0 7px 5px;line-height:1.45}.ios-share{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid #b8cbc7;border-radius:7px;color:#257d72;font-size:18px;font-weight:800;vertical-align:middle}.install-guide-note{margin:17px 0;padding:13px 14px;border-radius:13px;background:#e9f4f1;color:#426762;font-size:13px;line-height:1.5}.install-guide-ok{width:100%}.install-guide .close{width:34px;height:34px;border-radius:50%;align-self:start}.install-guide .close img{width:16px;height:16px}
@media(max-width:650px){
  html{-webkit-text-size-adjust:100%}
  .sidebar{height:calc(76px + env(safe-area-inset-bottom));padding:7px 8px calc(7px + env(safe-area-inset-bottom))}
  .sidebar nav{height:62px;align-items:stretch;gap:3px}
  .sidebar nav button{flex:1;min-width:0;min-height:58px;padding:7px 3px;border-radius:14px;justify-content:center;flex-direction:column;gap:4px}
  .sidebar nav b{display:block;font-size:9px;line-height:1;white-space:nowrap}
  .sidebar nav img{width:20px;height:20px}
  .content{padding:22px 14px calc(102px + env(safe-area-inset-bottom));overflow:hidden}
  .topbar{position:relative;display:block;min-height:0;margin-bottom:18px;padding-right:0}
  .topbar h1{font-size:23px;line-height:1.08}
  .topbar p:last-child{max-width:245px;line-height:1.4}
  .top-actions{display:grid;grid-template-columns:145px 46px;align-items:end;justify-content:space-between;gap:12px;margin-top:14px}
  .month-picker{position:static;display:block;width:145px;margin-top:0}
  .month-picker input{height:44px;margin-top:5px;padding:9px 10px;font-size:12px}
  .top-actions>.button{position:static;width:46px;height:46px;min-height:46px;border-radius:14px}
  .summary-grid{grid-template-columns:1fr;margin-top:0;gap:10px}
  .passkey-nudge{grid-template-columns:40px minmax(0,1fr);padding:12px;margin-bottom:14px}.passkey-nudge .secondary{grid-column:1/-1;width:100%;min-height:44px}
  .metric{min-height:136px;padding:18px}
  .metric strong{font-size:26px;margin:17px 0 10px}
  .panel{padding:16px;border-radius:16px}
  .panel-head{gap:14px;margin-bottom:16px}
  .button,.secondary,.ghost{min-height:44px}
  .ghost{display:inline-flex;align-items:center}
  .panel-head>.button{min-height:44px}
  .bills-simple .panel-head{display:block}
  .bill-head-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%;margin-top:16px}
  .bill-head-actions .button,.bill-head-actions .secondary{width:100%;min-height:44px;padding:11px 8px;font-size:11px}
  .section-help{font-size:11px}.push-help{font-size:10px}
  .row{grid-template-columns:39px minmax(0,1fr);align-items:start;gap:10px;padding:14px 0}
  .row>div:nth-child(2){min-width:0;padding-top:2px}
  .row strong{font-size:12px;line-height:1.35;overflow-wrap:anywhere}
  .row small{font-size:10px;line-height:1.45}
  .row>.amount{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:none;text-align:left}
  .row>.amount>.row-actions{margin-top:0;flex:none}
  .bills-simple .row>.amount{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
  .bills-simple .row>.amount>.row-actions{grid-column:1/-1;justify-content:flex-end;margin-top:4px}
  .icon-button{width:44px;height:44px;padding:0;border-radius:11px}
  .icon-button .lucide{width:15px;height:15px}
  .bill-pay{min-height:44px;margin-top:0;padding:9px 10px}
  .budget-row{grid-template-columns:42px minmax(0,1fr) 32px;gap:9px}
  .budget-badge{width:42px;height:42px}
  .budget-body>div:first-child{align-items:flex-start;gap:8px}
  .budget-body span{text-align:right;line-height:1.3}
  .cold-tip{margin-top:70px;padding-top:108px}
  .planning-panel{padding-bottom:0}
  .planning-layout{min-height:0}
  .planning-visual{margin:8px -16px 0;bottom:-18px}
  dialog{width:100%;max-width:none;padding:8px}
  .modal-card{max-height:calc(100dvh - 16px);padding:18px;border-radius:20px}
  .modal-card>header{position:sticky;z-index:2;top:-18px;margin:-18px -18px 18px;padding:18px;background:#fff;border-bottom:1px solid #edf2f0}
  .modal-card footer{position:sticky;z-index:2;bottom:-18px;margin:18px -18px -18px;padding:14px 18px calc(14px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf2f0}
  .modal-card footer .button,.modal-card footer .secondary{min-height:44px;flex:1}
  .modal-card .close{width:44px;height:44px;flex:none}
  label{font-size:12px}
  input,select,textarea{min-height:46px;font-size:16px}
  textarea{min-height:88px}
  .install-guide{width:calc(100% - 20px);padding:18px;border-radius:20px}
  .install-guide-head{grid-template-columns:58px minmax(0,1fr) 34px;gap:11px}
  .install-guide-icon{width:58px;height:58px;border-radius:15px}
  .install-guide h2{font-size:18px;line-height:1.2}.install-guide .close{width:40px;height:40px}
  #flash{top:calc(12px + env(safe-area-inset-top));right:12px;left:12px}
}
@media(max-width:360px){
  .content{padding-right:10px;padding-left:10px}
  .panel{padding:14px}
  .bill-head-actions{grid-template-columns:1fr}
  .planning-visual{margin-right:-14px;margin-left:-14px}
  .install-guide-head{grid-template-columns:50px minmax(0,1fr) 32px}
  .install-guide-icon{width:50px;height:50px;border-radius:13px}
}
.month-picker input{font-size:12px;font-weight:800;letter-spacing:0}
.sidebar>.logout{margin-top:auto}
.bills-stage{grid-template-columns:minmax(0,1fr) minmax(180px,240px);gap:20px}
.bill-tabs{display:flex;align-items:center;gap:24px;margin:2px 0 6px;border-bottom:1px solid var(--line)}.bill-tab{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:0 2px;border:0;background:transparent;color:#71827f;font-size:12px;font-weight:800;cursor:pointer;transition:color .18s ease}.bill-tab:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:3px 3px 0 0;background:transparent}.bill-tab:hover{color:#256f66}.bill-tab.active{color:#245f58}.bill-tab.active:after{background:#62bdb2}.bill-tab span{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 7px;border-radius:999px;background:#edf3f1;color:#657875;font-size:10px}.bill-tab.active span{background:#dff1ed;color:#2f786e}.bill-tab-panel{min-width:0}
.bill-pay{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;white-space:nowrap;padding:8px 11px;border-radius:11px;background:#f8ece4;color:#a45d35;box-shadow:0 5px 14px rgba(164,93,53,.1);font-size:10px;letter-spacing:.15px;transition:background .18s ease,color .18s ease,transform .18s ease}.bill-pay .lucide{width:13px;height:13px;flex:none}.bill-pay:hover{background:#f3dfd2;transform:translateY(-1px)}.bill-pay.paid{background:#dff1ed;color:#2f786e;box-shadow:0 5px 14px rgba(47,120,110,.1)}.bill-pay.paid:hover{background:#d2eae5}
@media(max-width:1180px){.bills-stage{grid-template-columns:minmax(0,1fr) 140px;gap:12px}.bills-mascot-side{margin-right:-18px}.bills-mascot-side img{width:190px;max-width:none;max-height:360px}}
@media(max-width:1100px) and (min-width:651px){.bills-stage{position:relative;display:block}.bills-simple{position:relative;z-index:1;width:100%}.bills-mascot-side{position:relative;z-index:2;width:240px;margin:-28px 24px 0 auto;opacity:1;overflow:visible}.bills-mascot-side img{width:100%;max-width:none;max-height:320px;object-position:right bottom}}
@media(max-width:950px) and (min-width:651px){.sidebar>.logout{display:flex;width:48px;height:48px;margin:auto auto 0;padding:0;font-size:0}.sidebar>.logout img{width:20px;height:20px}}
@media(max-width:650px){.bills-stage{display:block}.bills-mascot-side{display:none}.bill-tabs{gap:20px;margin-top:0}.bill-tab{min-height:46px;font-size:12px}.bill-pay{margin-top:0}.sidebar>.logout{display:none}}

/* Planejamento financeiro integrado */
.panel-actions,.section-intro{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.setup-banner{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:22px 24px;border-radius:18px;background:linear-gradient(110deg,#dff1ed,#f4f9f7);border:1px solid #cce4de}.setup-banner h2,.setup-banner p{margin:3px 0}.setup-banner p{color:#617874;font-size:12px}.dashboard-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin:18px 0}.section-tabs{display:flex;align-items:center;gap:8px;margin:4px 0 18px;padding:5px;border-radius:14px;background:#edf3f1;overflow-x:auto;scrollbar-width:none}.section-tabs::-webkit-scrollbar{display:none}.section-tab{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 14px;border:0;border-radius:10px;background:transparent;color:#6c7e7b;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.section-tab.active{background:#fff;color:#245f58;box-shadow:0 5px 14px rgba(23,51,49,.08)}.section-tab span{display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:20px;background:#dce8e5;font-size:9px}.section-tab.active span{background:#dff1ed;color:#28766c}.agenda-panel{max-width:none}.agenda-panel>.section-tabs:nth-of-type(2){width:max-content;max-width:100%;margin-top:-7px;background:transparent;padding:0;border-radius:0}.agenda-list{min-width:0}.scope-badge{display:inline-flex;margin-left:5px;padding:2px 6px;border-radius:999px;background:#e4f0ed;color:#4d756f;font-size:8px;font-weight:800;vertical-align:1px}.scope-badge.personal{background:#f6ece3;color:#936346}.timeline-list{display:grid}.timeline-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid #edf2f0}.timeline-row:last-child{border:0}.timeline-row>div:last-child{text-align:right}.timeline-row strong,.timeline-row small{display:block}.timeline-row strong{font-size:11px}.timeline-row small{margin-top:3px;color:#82908e;font-size:9px}.timeline-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px}.timeline-icon.positive{background:#e0f2ed}.timeline-icon.negative{background:#f8e9df}.timeline-icon .lucide{width:15px;height:15px}.empty.compact{padding:28px 14px}.planning-tab-body{min-width:0}.section-intro{margin:6px 0 18px}.section-intro h2,.section-intro p{margin:0}.section-intro p{margin-top:5px;color:#6f807d;font-size:11px}.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.plan-grid>.empty{grid-column:1/-1}.plan-card{padding:17px;border:1px solid #dce7e4;border-radius:16px;background:linear-gradient(150deg,#fff,#f6faf9)}.plan-card-head{display:grid;grid-template-columns:42px minmax(0,1fr) 36px;align-items:center;gap:10px}.plan-card h3{margin:0;font-size:13px}.plan-card-head small{display:block;margin-top:3px;color:#798986;font-size:9px}.plan-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#dff1ed}.plan-icon.emergency{background:#f6e8dc}.plan-values{display:flex;align-items:baseline;gap:6px;margin-top:17px}.plan-values strong{font-size:20px}.plan-values span{color:#84918f;font-size:10px}.progress.large{height:8px;margin-top:8px}.plan-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:10px}.plan-foot>small{color:#748481;font-size:9px}.secondary.compact{min-height:34px;padding:7px 10px;font-size:9px}.secondary.compact .lucide{width:12px;height:12px}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.comparison-grid article{padding:17px;border:1px solid #dce7e4;border-radius:15px;background:#f8fbfa}.comparison-grid span,.comparison-grid small,.comparison-grid strong{display:block}.comparison-grid span{color:#6f807d;font-size:10px}.comparison-grid strong{margin:9px 0 5px;font-size:20px}.comparison-grid small{color:#879592;font-size:9px;line-height:1.4}.closed-note{display:flex;gap:12px;margin-top:16px;padding:15px;border-radius:13px;background:#e8f3f0;color:#426963}.closed-note>.lucide{flex:none}.closed-note strong{font-size:11px}.closed-note p{margin:4px 0 0;font-size:10px}.form-note{margin-bottom:16px;padding:12px 14px;border-radius:12px;background:#edf5f3;color:#58726e;font-size:11px;line-height:1.5}.check{display:flex!important;align-items:center;gap:9px;min-height:46px;padding:10px 12px;border:1px solid #dce7e4;border-radius:11px}.check input{width:18px;min-height:18px;margin:0}.income{color:#2c8478!important}.expense{color:#b3623d!important}
.modal-feedback{display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:12px;margin:0 0 17px;padding:13px 14px;border:1px solid;border-radius:14px}.modal-feedback>span{display:grid;place-items:center;width:40px;height:40px;border-radius:12px}.modal-feedback .lucide{width:19px;height:19px;filter:brightness(0) invert(1)}.modal-feedback strong,.modal-feedback p{display:block;margin:0}.modal-feedback strong{font-size:12px}.modal-feedback p{margin-top:3px;font-size:10px;line-height:1.45}.modal-feedback.success{border-color:#cbe5dc;background:#edf8f4;color:#286f61}.modal-feedback.success>span{background:#43a88f}.modal-feedback.error{border-color:#edcfcb;background:#fff2f0;color:#954c45}.modal-feedback.error>span{background:#cc766d}.submission-success .modal-feedback{margin:4px 0 8px;padding:20px}.submission-success #modal-footer{display:flex;justify-content:flex-end}.submission-success #modal-footer .button{min-width:140px}
.category-breakdown{position:relative;z-index:4;margin-top:28px;padding-top:25px;border-top:1px solid #e2ebe8}.category-breakdown>header h3,.category-breakdown>header p{margin:0}.category-breakdown>header h3{font-size:17px}.category-breakdown>header p:last-child{margin-top:5px;color:#71817e;font-size:10px}.category-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.category-group{min-width:0;padding:15px;border:1px solid #dce7e4;border-top:4px solid var(--bucket);border-radius:15px;background:linear-gradient(180deg,var(--bucket-bg),#fff 76px)}.category-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:13px;border-bottom:1px solid #e4ecea}.category-group-head>div{display:flex;align-items:center;gap:7px}.category-group-head span{display:grid;place-items:center;min-width:37px;height:29px;padding:0 7px;border-radius:9px;background:#fff;color:var(--bucket-text);font-size:10px;font-weight:900}.category-group h4{margin:0;font-size:12px}.category-group-head>strong{font-size:12px;color:var(--bucket-text);white-space:nowrap}.category-list{display:grid;gap:12px;margin-top:13px}.category-detail{display:grid;grid-template-columns:34px minmax(0,1fr);align-items:start;gap:9px}.category-detail-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--bucket-bg)}.category-detail-icon .lucide{width:15px;height:15px;opacity:.72}.category-detail>div>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px}.category-detail b{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.category-detail>div>div:first-child span{font-size:9px;font-weight:800;white-space:nowrap}.category-detail .progress{height:5px;margin-top:6px}.category-detail small{display:block;margin-top:4px;color:#83918f;font-size:8px}.category-empty{padding:18px 8px;color:#83918f;font-size:9px;line-height:1.45;text-align:center}
.category-breakdown-grid{grid-template-columns:1fr}.category-group{padding:0;overflow:hidden}.category-group summary{list-style:none}.category-group summary::-webkit-details-marker{display:none}.category-group-head{padding:15px 16px;border-bottom:0;cursor:pointer;user-select:none}.category-group[open] .category-group-head{border-bottom:1px solid #dfe9e6}.category-group-title{display:flex;align-items:center;gap:10px}.category-group-title>span{display:grid;place-items:center;min-width:44px;height:36px;padding:0 8px;border-radius:10px;background:#fff;color:var(--bucket-text);font-size:12px;font-weight:900}.category-group-title h4,.category-group-title small{display:block;margin:0}.category-group-title h4{font-size:13px}.category-group-title small{margin-top:3px;color:#748481;font-size:9px;font-weight:600}.category-group-total{display:flex;align-items:center;gap:12px}.category-group-total>strong{color:var(--bucket-text);font-size:14px;white-space:nowrap}.category-toggle{display:grid!important;place-items:center!important;min-width:32px!important;width:32px;height:32px!important;padding:0!important;border-radius:9px!important;background:#fff!important;transition:transform .2s ease}.category-toggle .lucide{width:15px;height:15px}.category-group[open] .category-toggle{transform:rotate(180deg)}.category-drilldown{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:20px;padding:17px 18px 20px;background:#fff}.category-drilldown>section{min-width:0}.category-drilldown>section+section{padding-left:20px;border-left:1px solid #e5edeb}.category-drilldown h5{margin:0 0 12px;color:#60736f;font-size:9px;letter-spacing:1px;text-transform:uppercase}.category-list{margin-top:0}.expense-detail-list{display:grid}.expense-detail-row{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:9px 0;border-bottom:1px solid #edf2f0}.expense-detail-row:last-child{border-bottom:0}.expense-detail-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--bucket-bg)}.expense-detail-icon .lucide{width:15px;height:15px;opacity:.72}.expense-detail-row>div{min-width:0}.expense-detail-row strong,.expense-detail-row small{display:block}.expense-detail-row strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.expense-detail-row small{overflow:hidden;margin-top:3px;color:#81908d;font-size:8px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.expense-detail-row>b{font-size:10px;white-space:nowrap}
.budget-accordion,.budget-category{display:block}.budget-accordion>summary,.budget-category>summary{list-style:none}.budget-accordion>summary::-webkit-details-marker,.budget-category>summary::-webkit-details-marker{display:none}.budget-accordion>.budget-row{grid-template-columns:47px minmax(0,1fr) auto;cursor:pointer;user-select:none}.budget-progress-value{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:70px;font-size:13px}.budget-toggle,.budget-category-toggle{display:grid;place-items:center;width:27px;height:27px;border:1px solid #dce7e4;border-radius:8px;background:#fff;transition:transform .2s ease}.budget-toggle .lucide,.budget-category-toggle .lucide{width:13px;height:13px}.budget-accordion[open] .budget-toggle,.budget-category[open] .budget-category-toggle{transform:rotate(180deg)}.budget-category-list{padding:4px 0 14px 60px;border-bottom:1px solid #edf2f0}.budget-category-list>p{margin:2px 0 10px;color:#7a8a87;font-size:9px}.budget-category{border:1px solid #e0e9e7;border-radius:12px;background:#fff;overflow:hidden}.budget-category+.budget-category{margin-top:8px}.budget-category>summary{display:grid;grid-template-columns:36px minmax(0,1fr) auto 28px;align-items:center;gap:10px;padding:10px 11px;cursor:pointer}.budget-category-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--bucket-bg)}.budget-category-icon .lucide{width:16px;height:16px;opacity:.72}.budget-category>summary b,.budget-category>summary small{display:block}.budget-category>summary b{font-size:11px}.budget-category>summary small{margin-top:3px;color:#82908e;font-size:8px}.budget-category>summary>strong{font-size:11px;white-space:nowrap}.budget-individual-list{padding:0 12px 7px 57px;border-top:1px solid #edf2f0;background:#fbfdfc}.budget-individual-list .expense-detail-row{grid-template-columns:30px minmax(0,1fr) auto}.budget-individual-list .expense-detail-icon{width:30px;height:30px}
@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.planning-panel .planning-copy{width:calc(100% - 210px)}.planning-panel .planning-visual{width:290px;opacity:.88}.comparison-grid{grid-template-columns:1fr 1fr}.comparison-grid article:last-child{grid-column:1/-1}}
@media(max-width:850px){.planning-panel .planning-copy{width:100%}.planning-panel .planning-visual{width:auto}.plan-grid{grid-template-columns:1fr}}
@media(max-width:1050px){.category-drilldown{grid-template-columns:1fr}.category-drilldown>section+section{padding:18px 0 0;border-top:1px solid #e5edeb;border-left:0}}
@media(max-width:650px){
  .setup-banner{display:block;padding:18px}.setup-banner .button{width:100%;margin-top:14px}
  .dashboard-grid{gap:12px;margin:12px 0}.agenda-panel .panel-head{display:block}.panel-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:12px}.panel-actions>*{width:100%;padding-right:9px;padding-left:9px}
  .section-tabs{width:calc(100% + 32px);margin-left:-16px;padding:5px 16px;border-radius:0}.section-tab{min-height:44px;padding:10px 13px;font-size:10px}
  .agenda-panel>.section-tabs:nth-of-type(2){width:calc(100% + 32px);max-width:none;margin-left:-16px;padding:0 16px}
  .agenda-row .amount{display:grid!important;grid-template-columns:1fr!important;gap:9px}.agenda-row .amount>b{justify-self:end}.agenda-row .bill-pay{justify-self:end;margin-left:0}.agenda-row .row-actions{grid-column:1!important;justify-content:flex-end!important;margin-top:0}
  .scope-badge{display:table;margin:5px 0 0}.timeline-row{grid-template-columns:34px minmax(0,1fr);align-items:start}.timeline-row>div:last-child{grid-column:2;display:flex;justify-content:space-between;gap:10px;text-align:left}.timeline-row>div:last-child small{text-align:right}
  .section-intro{display:block}.section-intro .button,.section-intro .secondary{width:100%;margin-top:14px}.plan-card{padding:14px}.plan-foot{align-items:stretch;flex-direction:column}.plan-foot .secondary{width:100%;min-height:44px}.comparison-grid{grid-template-columns:1fr}.comparison-grid article:last-child{grid-column:auto}
  .planning-panel .planning-visual{margin-top:12px}.planning-tab-body{min-width:0}
  .category-breakdown{margin-top:18px;padding-top:20px}.category-breakdown-grid{gap:10px}.category-group{padding:14px}.category-detail{grid-template-columns:38px minmax(0,1fr)}.category-detail-icon{width:38px;height:38px}.category-detail b{font-size:11px}.category-detail>div>div:first-child span{font-size:10px}.category-detail small{font-size:9px}
  .category-group{padding:0}.category-group-head{align-items:center;padding:13px 12px}.category-group-title{gap:8px}.category-group-title>span{min-width:40px;height:34px}.category-group-total{gap:7px}.category-group-total>strong{font-size:12px}.category-toggle{min-width:30px!important;width:30px;height:30px!important}.category-drilldown{padding:14px 12px 17px}.expense-detail-row{grid-template-columns:38px minmax(0,1fr);align-items:start}.expense-detail-icon{width:38px;height:38px}.expense-detail-row>b{grid-column:2;margin-top:-7px;font-size:11px}.expense-detail-row strong{font-size:11px}.expense-detail-row small{font-size:9px;white-space:normal}.category-drilldown h5{font-size:10px}
  .budget-accordion>.budget-row{grid-template-columns:42px minmax(0,1fr) auto}.budget-progress-value{min-width:61px;gap:5px;font-size:11px}.budget-toggle{width:25px;height:25px}.budget-category-list{padding:5px 0 13px}.budget-category-list>p{padding:0 3px;line-height:1.4}.budget-category>summary{grid-template-columns:38px minmax(0,1fr) 28px;padding:10px 8px;gap:8px}.budget-category>summary>strong{grid-column:2;grid-row:2;margin-top:-12px}.budget-category-toggle{grid-column:3;grid-row:1/3}.budget-individual-list{padding:0 9px 7px}.budget-individual-list .expense-detail-row{grid-template-columns:36px minmax(0,1fr)}.budget-individual-list .expense-detail-icon{width:36px;height:36px}.budget-individual-list .expense-detail-row>b{grid-column:2;margin-top:-7px}
  dialog#form-modal{align-items:flex-end;justify-content:flex-end;width:100%;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:transparent}dialog#form-modal[open]{display:flex}.modal-card{width:100%;max-height:min(92dvh,820px);margin:0;padding:18px;border-radius:22px 22px 0 0}.modal-card>header{top:-18px}.modal-card footer{bottom:-18px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.modal-card footer{display:grid;grid-template-columns:1fr 1fr;gap:9px}.modal-card footer>*{width:100%}
}
@media(max-width:380px){.panel-actions{grid-template-columns:1fr}.section-tab{padding:9px 11px}.comparison-grid article{padding:14px}.top-actions{grid-template-columns:150px 48px}.month-picker,.month-picker input{width:150px}.agenda-row .amount{grid-template-columns:1fr!important}.agenda-row .bill-pay{justify-self:stretch;width:100%}}

/* Cores semânticas e ícones por categoria */
.row-icon.expense{background:#fbe8e6;color:#b85f55}.row-icon.expense .lucide{filter:invert(45%) sepia(24%) saturate(1345%) hue-rotate(317deg) brightness(88%)}
.row-icon.income{background:#dff3eb;color:#27816c}.row-icon.income .lucide{filter:invert(43%) sepia(23%) saturate(1256%) hue-rotate(116deg) brightness(91%)}
.income-button,.bill-pay.income-action{background:#d9f1e8!important;color:#22725f!important;box-shadow:0 7px 18px rgba(34,114,95,.12)}.income-button{background:#65c3a9!important;color:#123a31!important}
.expense-button,.bill-pay.expense-action{background:#f7dfdc!important;color:#9d5149!important;box-shadow:0 7px 18px rgba(157,81,73,.11)}.expense-button{background:#efaaa2!important;color:#5f2d28!important}
.bill-pay.income-action:hover{background:#caeade!important}.bill-pay.expense-action:hover{background:#f2d1cd!important}.bill-pay.done{opacity:.78;box-shadow:none}
.section-tab[data-agenda-tab="payables"]{color:#9d5c54}.section-tab[data-agenda-tab="payables"]:before{content:"";width:8px;height:8px;border-radius:50%;background:#e99e95}.section-tab[data-agenda-tab="payables"].active{background:#fff1ef;color:#8f4941;box-shadow:0 5px 14px rgba(143,73,65,.09)}
.section-tab[data-agenda-tab="receivables"]{color:#347b6b}.section-tab[data-agenda-tab="receivables"]:before{content:"";width:8px;height:8px;border-radius:50%;background:#65bda6}.section-tab[data-agenda-tab="receivables"].active{background:#e5f6f0;color:#256b5b;box-shadow:0 5px 14px rgba(37,107,91,.09)}
.agenda-payables>.section-tabs:nth-of-type(2) .section-tab.active{color:#954f47}.agenda-payables>.section-tabs:nth-of-type(2) .section-tab.active:after{background:#e99e95}.agenda-payables>.section-tabs:nth-of-type(2) .section-tab.active span{background:#f8e4e1;color:#954f47}
.agenda-receivables>.section-tabs:nth-of-type(2) .section-tab.active{color:#287260}.agenda-receivables>.section-tabs:nth-of-type(2) .section-tab.active:after{background:#65bda6}.agenda-receivables>.section-tabs:nth-of-type(2) .section-tab.active span{background:#dff2eb;color:#287260}
.agenda-row small{display:flex;align-items:center;gap:3px;flex-wrap:wrap}.agenda-row .scope-badge{margin-left:3px}
.agenda-row .bill-pay{margin-left:16px}

/* Extrato mensal e previsão de curto prazo */
.chip.rose{background:#f8e3e1;color:#a9554d}.metric.forecast-positive{border-top-color:#62b5a9}.metric.forecast-negative{border-top-color:#df8f87}.dashboard-extract-grid{grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr)}.cashflow-panel{min-width:0}.cashflow-section{min-width:0}.cashflow-label{display:flex;align-items:center;justify-content:space-between;margin:2px 0 4px;padding:7px 9px;border-radius:9px;background:#edf4f2;color:#526e69;font-size:9px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}.cashflow-label.future{background:#e6f4ef;color:#2d7464}.cashflow-label b{display:grid;place-items:center;min-width:21px;height:21px;padding:0 6px;border-radius:99px;background:#fff;font-size:9px}.cashflow-divider{display:flex;align-items:center;gap:10px;margin:11px 0;color:#879794;font-size:8px;font-weight:900;letter-spacing:.8px;text-transform:uppercase}.cashflow-divider:before,.cashflow-divider:after{content:"";height:1px;flex:1;background:#dce7e4}.timeline-row.realized,.timeline-row.upcoming{padding:9px 0}.timeline-row.realized>div:last-child small{text-transform:capitalize}.upcoming-section .timeline-row:last-child{padding-bottom:0}
@media(max-width:1150px){.dashboard-extract-grid{grid-template-columns:1fr}}
@media(max-width:650px){.cashflow-panel{padding-right:16px;padding-left:16px}.cashflow-label{margin-right:-2px;margin-left:-2px}.cashflow-divider{margin:13px 0}.timeline-row.realized>div:last-child,.timeline-row.upcoming>div:last-child{grid-column:2;display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.timeline-row.realized>div:last-child small,.timeline-row.upcoming>div:last-child small{max-width:130px;text-align:right}}
.timeline-row.card-purchase{background:linear-gradient(90deg,rgba(249,231,226,.38),transparent 72%)}.card-spend-badge{display:inline-flex;padding:2px 6px;border-radius:999px;background:#f8e4df;color:#a45c50;font-size:8px;font-weight:900;vertical-align:1px}.timeline-row.card-purchase>div:last-child small{color:#a6665b;font-weight:800}
.card-purchase-row-history{background:linear-gradient(90deg,rgba(249,231,226,.3),transparent 68%)}.card-balance-note{display:block;margin-top:5px;color:#a6665b;font-size:8px;font-weight:800}.managed-badge.card-spend-badge{margin-left:5px;background:#f8e4df;color:#a45c50}
@media(max-width:650px){.timeline-row.card-purchase>div:last-child{display:grid;grid-template-columns:1fr;gap:3px;justify-items:start}.timeline-row.card-purchase>div:last-child small{max-width:none;text-align:left}}
.modal-feedback.warning{border-color:#efd7aa;background:#fff8e9;color:#765324}.modal-feedback.warning>span{background:#f5e4bd}.modal-feedback.warning .lucide{filter:invert(39%) sepia(31%) saturate(867%) hue-rotate(357deg)}.duplicate-confirm{background:#d79a48;color:#2f2212;box-shadow:0 10px 22px rgba(164,108,35,.16)}button:disabled{cursor:wait;opacity:.7}
.income-base-warning{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;padding:12px 13px;border:1px solid #ead8ad;border-radius:13px;background:#fff9eb;color:#71582e}.income-base-warning>.lucide{width:18px;height:18px;flex:none;margin-top:1px;filter:invert(38%) sepia(30%) saturate(729%) hue-rotate(358deg)}.income-base-warning strong,.income-base-warning span{display:block}.income-base-warning strong{font-size:10px}.income-base-warning span{margin-top:3px;font-size:9px;line-height:1.45;color:#856e45}.budget-row.without-income .progress{background:repeating-linear-gradient(135deg,#edf1f0 0,#edf1f0 5px,#f7f9f8 5px,#f7f9f8 10px)}.card-bill-badge{align-items:center;background:#f8e4df;color:#9b584e}.card-bill-badge .lucide{width:11px;height:11px;margin-right:3px;filter:invert(43%) sepia(20%) saturate(1134%) hue-rotate(318deg)}.bill-card-field small{display:block;margin-top:5px;color:#7d8d8a;font-size:8px;line-height:1.4}
@media(max-width:650px){.income-base-warning{padding:11px}.card-bill-badge{display:inline-flex;margin-top:4px}}

/* Modais: apenas o card interno rola, evitando barras duplicadas no desktop. */
body.modal-open{overflow:hidden}dialog#form-modal{max-height:none;overflow:visible}

/* Cartões e faturas */
.managed-badge{display:inline-flex;margin-left:4px;padding:2px 6px;border-radius:999px;background:#edf3f1;color:#5e7773;font-size:8px;font-weight:800}.cards-summary{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px;margin-bottom:18px}.cards-summary article{position:relative;overflow:hidden;min-height:132px;padding:20px;border:1px solid var(--line);border-top:3px solid #65bdb1;border-radius:17px;background:#fff}.cards-summary article:first-child{background:#1d4541;color:#fff;border-color:#1d4541}.cards-summary article:nth-child(2){border-top-color:#e79a91}.cards-summary article:nth-child(3){border-top-color:#65bda6}.cards-summary span,.cards-summary strong,.cards-summary small{display:block}.cards-summary span{display:flex;align-items:center;gap:7px;color:#71827f;font-size:10px;font-weight:900}.cards-summary article:first-child span{color:#b7d8d3}.cards-summary article:first-child .lucide{filter:brightness(0) invert(1)}.cards-summary strong{margin:14px 0 7px;font-size:25px;letter-spacing:-.7px}.cards-summary small{color:#84928f;font-size:9px}.cards-summary article:first-child small{color:#9fcbc4}.cards-summary .lucide{width:15px;height:15px}.cards-panel{max-width:none}.credit-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.credit-cards-grid>.empty{grid-column:1/-1}.credit-card-panel{overflow:hidden;border:1px solid #dce7e4;border-radius:18px;background:#fff;box-shadow:0 12px 28px rgba(23,51,49,.05)}.credit-card-panel.invoice-paid{border-color:#cce4de}.credit-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 17px;background:linear-gradient(135deg,#1d4541,#2b615b);color:#fff}.credit-card-brand{display:flex;align-items:center;min-width:0;gap:11px}.credit-card-brand>span{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:#ffffff18}.credit-card-brand .lucide{width:19px;height:19px;filter:brightness(0) invert(1)}.credit-card-brand p{overflow:hidden;margin:0 0 3px;font-size:13px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.credit-card-brand small{display:block;color:#b9d5d1;font-size:9px}.credit-card-head>.icon-button{border-color:#ffffff28;background:#ffffff12}.credit-card-head>.icon-button .lucide{filter:brightness(0) invert(1)}.invoice-overview{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px}.invoice-overview small,.invoice-overview strong,.invoice-overview span{display:block}.invoice-overview small{color:#748481;font-size:9px;text-transform:capitalize}.invoice-overview strong{margin:7px 0 5px;font-size:24px;letter-spacing:-.7px}.invoice-overview>div>span{color:#82918e;font-size:9px}.invoice-status{padding:6px 9px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase}.invoice-status.open{background:#f8e3e1;color:#9c514a}.invoice-status.paid{background:#dff2eb;color:#287260}.card-limit{padding:0 17px 14px}.card-limit>div:first-child{display:flex;justify-content:space-between;gap:10px;color:#758582;font-size:8px}.card-limit .progress{height:6px;margin-top:7px}.card-purchases{padding:0 17px}.card-purchase-row{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px 0;border-top:1px solid #edf2f0}.card-purchase-row .row-icon{width:36px;height:36px}.card-purchase-copy{min-width:0}.card-purchase-copy strong,.card-purchase-copy small,.card-purchase-value>b,.card-purchase-value>small{display:block}.card-purchase-copy strong{overflow:hidden;margin-bottom:4px;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.card-purchase-copy small{color:#84928f;font-size:8px;line-height:1.45}.card-purchase-value{text-align:right}.card-purchase-value>b{font-size:11px}.card-purchase-value>small{margin-top:3px;color:#869491;font-size:8px}.card-purchase-value .row-actions{margin-top:5px}.credit-card-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:8px;padding:13px 17px;border-top:1px solid #edf2f0;background:#fafcfb}.credit-card-panel>footer p{max-width:240px;margin:0;color:#778683;font-size:8px;line-height:1.45}.invoice-help{display:block;margin-top:5px;color:#7d8d8a;font-size:8px;line-height:1.4;font-weight:600}
.credit-card-panel.card-atacadao{border-color:#f4c391}.card-atacadao .credit-card-head{background:linear-gradient(135deg,#f26d21,#ff9b38);color:#27334a}.card-atacadao .credit-card-brand small{color:#57351f}.card-atacadao .credit-card-brand .lucide,.card-atacadao .credit-card-head>.icon-button .lucide{filter:brightness(0) saturate(100%) invert(17%) sepia(18%) saturate(1118%) hue-rotate(184deg) brightness(91%)}.card-atacadao .credit-card-head>.icon-button{border-color:#27334a35;background:#ffffff35}.credit-card-panel.card-neon{border-color:#9fdaea}.card-neon .credit-card-head{background:linear-gradient(135deg,#68c9e2,#a0e3f0);color:#153d4b}.card-neon .credit-card-brand small{color:#356674}.card-neon .credit-card-brand .lucide,.card-neon .credit-card-head>.icon-button .lucide{filter:brightness(0) saturate(100%) invert(20%) sepia(19%) saturate(1261%) hue-rotate(151deg) brightness(92%)}.card-neon .credit-card-head>.icon-button{border-color:#153d4b30;background:#ffffff38}.credit-card-panel.card-renner{border-color:#2f3335}.card-renner .credit-card-head{background:linear-gradient(135deg,#111315,#2c3033)}.card-renner .credit-card-brand small{color:#c7cbcd}
.piggy-hero{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:18px;padding:24px;border-radius:20px;background:linear-gradient(135deg,#183d39,#28645c);color:#fff;box-shadow:0 16px 36px rgba(23,51,49,.12)}.piggy-hero h2{margin:0 0 7px;font-size:23px}.piggy-hero p:not(.kicker){max-width:650px;margin:0;color:#b9d8d3;font-size:11px;line-height:1.55}.piggy-hero .kicker{color:#83c9bd}.piggy-total{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;padding-top:17px;border-top:1px solid #ffffff1f}.piggy-total span,.piggy-total small{color:#a9cec8;font-size:9px}.piggy-total strong{font-size:25px;letter-spacing:-.6px}.piggy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.piggy-card{padding:18px;border:1px solid #d8e6e2;border-radius:18px;background:linear-gradient(145deg,#fff,#f5faf8);box-shadow:0 10px 25px rgba(23,51,49,.04)}.piggy-card-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:11px}.piggy-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#dff2eb;color:#287567}.piggy-icon .lucide{width:21px;height:21px}.piggy-card-head p{margin:0 0 3px;color:#7b8c89;font-size:8px;font-weight:900;letter-spacing:1px}.piggy-card h3{overflow:hidden;margin:0;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.piggy-actions{display:flex;gap:5px}.piggy-values{display:flex;align-items:baseline;gap:7px;margin-top:19px}.piggy-values strong{font-size:24px;letter-spacing:-.5px}.piggy-values span{color:#84938f;font-size:9px}.piggy-card .progress i{background:#62b5a9}.piggy-meta{display:flex;justify-content:space-between;gap:10px;margin-top:8px;color:#71817e;font-size:8px}.piggy-card footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #e5eeeb}.piggy-card footer small{color:#7d8c89;font-size:8px}.piggy-card footer .button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:9px 12px}.piggy-card footer .lucide{width:14px;height:14px}.piggy-empty{grid-column:1/-1;display:grid;justify-items:center;gap:10px;padding:48px 20px}.piggy-empty>.lucide{width:34px;height:34px}.piggy-empty strong{font-size:14px}.piggy-empty span{max-width:440px;line-height:1.5}.piggy-badge{align-items:center;background:#e2f1ec;color:#33776c}.piggy-badge .lucide{width:11px;height:11px;margin-right:3px}.goal-field small{display:block;margin-top:5px;color:#7d8d8a;font-size:8px;line-height:1.4}
@media(max-width:1120px){.credit-cards-grid{grid-template-columns:1fr}.cards-summary{grid-template-columns:1fr 1fr}.cards-summary article:first-child{grid-column:1/-1}}
@media(max-width:650px){.sidebar nav button{padding:11px 12px}.cards-summary{grid-template-columns:1fr;gap:9px;margin-top:58px}.cards-summary article:first-child{grid-column:auto}.cards-summary article{min-height:112px;padding:17px}.cards-summary strong{margin:11px 0 5px;font-size:23px}.cards-panel{padding-right:14px;padding-left:14px}.cards-panel .panel-head{display:block}.cards-panel .panel-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;margin-top:15px}.cards-panel .panel-actions .button,.cards-panel .panel-actions .secondary{width:100%;min-height:46px;padding:10px 8px;font-size:10px}.credit-cards-grid{gap:12px}.credit-card-head{padding:14px}.invoice-overview{padding:15px 14px}.card-limit,.card-purchases{padding-right:14px;padding-left:14px}.card-purchase-row{grid-template-columns:36px minmax(0,1fr);gap:9px}.card-purchase-value{grid-column:2;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;text-align:left}.card-purchase-value>small{text-align:right}.card-purchase-value .row-actions{grid-column:1/-1;justify-content:flex-end}.credit-card-panel>footer{align-items:stretch;flex-direction:column;padding:13px 14px}.credit-card-panel>footer p{max-width:none}.credit-card-panel>footer .bill-pay{width:100%;min-height:44px}.managed-badge{margin:4px 0 0}}
@media(max-width:650px){.sidebar nav button{padding:7px 2px}.sidebar nav b{font-size:8px}.piggy-hero{grid-template-columns:1fr;margin-top:58px;padding:19px}.piggy-hero>.button{width:100%}.piggy-total{display:grid;grid-template-columns:1fr auto;gap:5px 10px}.piggy-total small{grid-column:1/-1}.piggy-grid{grid-template-columns:1fr}.piggy-card{padding:15px}.piggy-card footer{align-items:stretch;flex-direction:column}.piggy-card footer .button{width:100%;min-height:44px}.piggy-badge{display:inline-flex}}
@media(max-width:900px){.agenda-row .amount{display:grid!important;grid-template-columns:1fr!important;gap:10px;min-width:150px}.agenda-row .amount>b,.agenda-row .bill-pay{justify-self:end}.agenda-row .bill-pay{margin-left:0}.agenda-row .row-actions{grid-column:1!important;justify-content:flex-end!important;margin-top:0}.bill-pay{display:inline-flex;align-items:center;justify-content:center;gap:6px}.bill-pay .lucide{width:13px;height:13px;flex:none}}
.agenda-total-line{display:grid;grid-template-columns:38px auto minmax(0,1fr);align-items:center;gap:11px;margin:-6px 0 4px;padding:12px 2px 13px;border-bottom:1px solid #e6eeec}.agenda-total-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:11px}.agenda-total-icon .lucide{width:16px;height:16px}.agenda-total-line small,.agenda-total-line strong{display:block}.agenda-total-line small{margin-bottom:3px;color:#778784;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.agenda-total-line strong{color:#20312f;font-size:17px;letter-spacing:-.35px}.agenda-total-line p{justify-self:end;margin:0;color:#7d8c89;font-size:9px;text-align:right}.agenda-total-line.expense-total .agenda-total-icon{background:#f7dfdc}.agenda-total-line.expense-total .agenda-total-icon .lucide{filter:invert(44%) sepia(22%) saturate(1117%) hue-rotate(316deg)}.agenda-total-line.income-total .agenda-total-icon{background:#d9f1e8}.agenda-total-line.income-total .agenda-total-icon .lucide{filter:invert(42%) sepia(29%) saturate(892%) hue-rotate(119deg)}.invoice-agenda-row{background:linear-gradient(90deg,#fff 0,#fff 72%,#fff9f7 100%)}.invoice-agenda-row>.row-icon{background:#f7dfdc}.invoice-agenda-row>.row-icon .lucide{filter:invert(44%) sepia(22%) saturate(1117%) hue-rotate(316deg)}.invoice-agenda-row .row-actions .secondary{display:inline-flex;align-items:center;gap:6px}.invoice-agenda-row .row-actions .lucide{width:12px;height:12px}
@media(max-width:650px){.agenda-total-line{grid-template-columns:36px minmax(0,1fr);margin-top:-3px;padding:11px 0 12px}.agenda-total-line p{grid-column:2;justify-self:start;margin-top:-5px;text-align:left}.invoice-agenda-row{background:#fff}.invoice-agenda-row .row-actions .secondary{width:auto;min-height:36px}}
@media(max-width:360px){.sidebar nav button{padding:7px 1px}.credit-card-brand small{font-size:8px}}
.cashflow-more{width:100%;min-height:38px;margin-top:7px;border:0;border-radius:10px;background:#edf4f2;color:#3e6d65;font-size:10px;font-weight:800}
