:root{--navy:#101a32;--navy-2:#1e2b45;--bg:#f5f7fb;--card:#fff;--ink:#1c2940;--muted:#7d8ba3;--border:#e7ebf2;--mint:#16b987;--mint-soft:#e7faf3;--red:#ec6173;--red-soft:#fff0f1;--blue:#5874ed;--blue-soft:#eef1ff;--amber:#e8a33b;--shadow:0 10px 35px rgba(29,46,83,.047);--r:17px;--s:240px;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);min-height:100vh;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--s);background:var(--navy);color:#c9d3e6;padding:28px 15px 24px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:11px;align-items:center;padding:2px 15px 28px;color:#fff}.brand-mark{width:37px;height:37px;border-radius:12px;background:#263954;display:flex;align-items:center;justify-content:center;color:#43dfae}.brand-mark svg{height:26px;width:26px}.brand-name{font-size:24px;font-weight:800;letter-spacing:-1.2px}.brand-sub{font-size:10px;font-weight:600;color:#95a3bc;letter-spacing:1.6px;text-transform:uppercase}.side-label{text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:1.9px;margin:18px 15px 9px;color:#657794}.workspace-switch{display:grid;grid-template-columns:1fr 1fr;background:#1b2941;margin:0 8px 18px;padding:5px;border-radius:12px;gap:5px}.ws-btn{border:0;background:transparent;border-radius:9px;color:#94a3bd;padding:12px 5px;font-size:12px;font-weight:800;transition:.2s}.ws-btn.active{background:#344661;color:white;box-shadow:0 2px 10px #060c1b33}.ws-btn svg{width:14px;height:14px;vertical-align:-2px;margin-right:3px}.side-nav{display:grid;gap:3px}.nav-item{background:transparent;border:none;width:100%;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 14px;color:#9baac2;border-radius:11px;font-weight:650;transition:.2s}.nav-item svg{width:18px;height:18px}.nav-item:hover{background:#1b2a46;color:white}.nav-item.active{background:#283a55;color:#fff}.nav-item.active svg{color:#52d4aa}.sidebar-bottom{margin-top:auto}.sidebar-bottom .sidebar-card{background:#1b2941;border:1px solid #33425c;border-radius:14px;padding:15px 14px;margin:0 8px 16px}.sidebar-card strong{font-size:12px;color:white}.sidebar-card p{line-height:1.55;font-size:11px;color:#99a9bf;margin:7px 0 11px}.sidebar-card button{width:100%;border:1px solid #4d6582;border-radius:9px;padding:8px;background:#273b5d;color:#fff;font-weight:700;font-size:11px}.sidebar-footer{font-size:11px;color:#75849e;padding:4px 16px}.main{margin-left:var(--s);padding:0 40px 55px;flex:1;min-width:0}.topbar{height:103px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border);gap:15px}.eyebrow{color:var(--muted);font-weight:700;font-size:12px;letter-spacing:.3px;margin:0 0 8px}.page-title{font-size:27px;line-height:1.1;letter-spacing:-.8px;margin:0;font-weight:800}.top-actions{display:flex;align-items:center;gap:10px}.month-nav{display:flex;align-items:center;background:#fff;border:1px solid var(--border);border-radius:12px;padding:3px;gap:2px}.month-nav button{height:31px;width:33px;display:grid;place-items:center;border:0;background:none;color:#8190a8}.month-nav .month-label{font-size:13px;font-weight:750;min-width:125px;text-align:center;white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:11px 15px;background:var(--navy);border:1px solid var(--navy);border-radius:11px;color:white;font-weight:750;font-size:12px;white-space:nowrap}.btn svg{width:16px;height:16px}.btn:hover{filter:brightness(1.07)}.btn.secondary{color:var(--ink);background:#fff;border-color:var(--border)}.btn.soft{background:#edf1fc;border-color:#edf1fc;color:#344b92}.btn.success{background:#15ac80;border-color:#15ac80}.btn.danger{background:#fff1f3;border-color:#ffd9df;color:#bd4054}.btn.tiny{font-size:11px;padding:7px 9px;border-radius:8px}.btn:disabled{opacity:.5;cursor:not-allowed}.page{max-width:1500px;margin:auto}.hero{margin:27px 0 23px;background:linear-gradient(116deg,#152640,#203450 63%,#283e5b);color:white;padding:26px 31px;min-height:164px;border-radius:20px;position:relative;overflow:hidden;display:flex;justify-content:space-between;align-items:center;gap:18px}.hero::before{content:'';position:absolute;width:285px;height:285px;border:1px solid #ffffff20;border-radius:50%;right:30px;top:-140px;box-shadow:0 0 0 40px #ffffff05,0 0 0 86px #ffffff05}.hero-content{position:relative;z-index:1}.hero small{display:block;color:#bbc9dc;letter-spacing:.4px;font-size:12px;font-weight:600;margin-bottom:9px}.hero h2{margin:0;font-size:33px;letter-spacing:-1.2px;font-weight:800}.hero h2 sup{font-size:15px;vertical-align:top;margin:7px 7px 0 0;color:#bdcadb}.hero .hero-note{display:flex;gap:8px;align-items:center;color:#9ff3d3;font-weight:650;margin-top:13px;font-size:12px}.hero-graphic{position:relative;z-index:1;display:flex;align-items:end;gap:8px;margin-right:50px;height:95px;opacity:.8}.hero-graphic i{width:20px;background:linear-gradient(#4cdab2,#2d8da4);border-radius:5px 5px 0 0}.hero-graphic i:nth-child(1){height:35px}.hero-graphic i:nth-child(2){height:54px}.hero-graphic i:nth-child(3){height:42px}.hero-graphic i:nth-child(4){height:75px}.hero-graphic i:nth-child(5){height:62px}.hero-graphic i:nth-child(6){height:92px}.demo-banner{border:1px solid #f5ddb5;background:#fff8ec;border-radius:12px;margin:22px 0 0;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;color:#725326;font-size:12px;line-height:1.5}.demo-banner .btn{background:white;color:#725326;border-color:#efd5a5}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:0 0 23px}.stat{background:#fff;border:1px solid var(--border);box-shadow:var(--shadow);border-radius:var(--r);padding:21px 23px;min-width:0}.stat-top{display:flex;justify-content:space-between;align-items:center;gap:7px}.stat-label{color:var(--muted);font-weight:700;font-size:12px}.stat-icon{width:33px;height:33px;border-radius:10px;background:var(--mint-soft);color:var(--mint);display:grid;place-items:center}.stat-icon.red{background:var(--red-soft);color:var(--red)}.stat-icon.blue{background:var(--blue-soft);color:var(--blue)}.stat-icon svg{width:17px;height:17px}.stat-value{display:block;margin-top:15px;font-size:24px;font-weight:800;letter-spacing:-.8px;white-space:nowrap}.stat-sub{font-size:11px;color:var(--muted);margin-top:7px}.stat-sub .positive{color:#0bab78;font-weight:700}.stat-sub .negative{color:#df5667;font-weight:700}.two-columns{display:grid;grid-template-columns:minmax(0,1.62fr) minmax(290px,1fr);gap:18px;margin-bottom:19px}.panel{background:#fff;border:1px solid var(--border);border-radius:var(--r);box-shadow:var(--shadow);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:22px 24px 10px}.panel-title{font-size:15px;font-weight:800;letter-spacing:-.3px;margin:0}.panel-sub{font-size:11px;color:var(--muted);margin-top:5px}.panel-content{padding:13px 24px 22px}.text-action{border:0;background:transparent;color:var(--blue);font-size:12px;font-weight:750}.trend-chart{display:flex;align-items:flex-end;gap:18px;padding:8px 4px 0;min-height:210px}.trend-col{flex:1;min-width:0;text-align:center}.trend-bars{display:flex;align-items:flex-end;justify-content:center;gap:5px;height:164px;border-bottom:1px solid #f0f2f6}.trend-bar{width:23%;min-width:9px;max-width:28px;border-radius:6px 6px 0 0;transition:.2s}.trend-bar.income{background:#54d9b1}.trend-bar.expense{background:#f49ca5}.trend-month{font-size:10px;margin-top:12px;color:#8694a8;text-transform:capitalize;font-weight:700}.legend{display:flex;gap:16px;margin-top:9px;justify-content:center;font-size:11px;color:#7c8ba1}.legend span:before{content:'';display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:7px;background:#54d9b1}.legend span:nth-child(2):before{background:#f49ca5}.budget-list{display:grid;gap:17px}.budget-row{display:grid;gap:7px}.budget-top{display:flex;justify-content:space-between;gap:8px;font-size:12px}.budget-top b{font-weight:750}.budget-top span{color:#8590a3;font-size:11px}.progress{height:8px;background:#eef1f6;border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:var(--mint);border-radius:999px}.progress-fill.warn{background:#f0ac54}.progress-fill.over{background:#e76d7a}.category-dot{height:9px;width:9px;display:inline-block;border-radius:50%;margin-right:8px}.items{padding:0 24px 20px}.tx-row{display:flex;align-items:center;border-top:1px solid #f0f2f5;padding:14px 0;gap:12px;min-width:0}.tx-row:first-child{border-top:0}.tx-avatar{width:38px;height:38px;background:#f1f4fb;border-radius:11px;flex:0 0 auto;display:grid;place-items:center;color:#5b6d89}.tx-avatar svg{height:17px;width:17px}.tx-info{min-width:0;flex:1}.tx-info strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tx-info small{display:block;color:#9aa6b7;margin-top:5px;font-size:10px}.tx-value{font-size:12px;font-weight:800;white-space:nowrap;text-align:right}.tx-value.income{color:#16b486}.tx-value.expense{color:#d8586c}.tx-value.transfer{color:#677b9d}.tx-value small{font-size:9px;font-weight:650;display:block;margin-top:5px;color:#96a3b5}.empty{color:#8997ac;font-size:12px;line-height:1.6;padding:25px;text-align:center}.empty svg{width:34px;height:34px;color:#c9d3e1;margin-bottom:10px}.accounts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:15px;margin:23px 0}.account-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px 22px;box-shadow:var(--shadow)}.account-card .name{font-weight:750;display:flex;gap:10px;align-items:center;font-size:13px}.account-card .bank-icon{height:35px;width:35px;border-radius:10px;background:#edf1fa;display:grid;place-items:center;color:#6a7d99}.account-card .bank-icon svg{height:18px;width:18px}.account-card .amount{font-size:24px;font-weight:800;margin-top:20px;letter-spacing:-.6px}.account-card .sub{font-size:11px;color:#9ca9b8;margin-top:6px}.account-card .account-actions{display:flex;gap:8px;margin-top:20px}.account-card.card-credit{color:#fff;background:linear-gradient(130deg,#1d3157,#344f7f);border-color:#1d3157}.account-card.card-credit .bank-icon{background:#ffffff24;color:#fff}.account-card.card-credit .sub{color:#c7d5eb}.account-card.card-credit .btn.secondary{border-color:#ffffff40;background:#ffffff1c;color:#fff}.panel-pad{padding:24px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 17px;flex-wrap:wrap}.toolbar-left{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.control{border:1px solid var(--border);background:#fff;color:#4b5c77;border-radius:11px;padding:11px 13px;min-height:40px;outline:0}.control:focus{border-color:#8195ff;box-shadow:0 0 0 3px #8195ff1b}.search{width:260px;max-width:100%}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#91a0b3;font-weight:800;padding:16px 14px;background:#fbfcfe;white-space:nowrap}.data-table td{font-size:12px;border-top:1px solid #edf0f4;padding:14px;vertical-align:middle}.data-table td strong{font-size:12px}.data-table td small{display:block;color:#98a4b4;margin-top:4px}.status{display:inline-block;background:#eafaf3;color:#22a87e;border-radius:999px;font-weight:750;font-size:10px;padding:5px 9px;white-space:nowrap}.status.pending{background:#fff4e7;color:#b68336}.status.card{background:#eff2ff;color:#6575cb}.table-actions{white-space:nowrap}.iconbtn{border:0;background:#f5f7fb;color:#8391a5;border-radius:8px;padding:6px;margin-right:4px;display:inline-grid;place-items:center}.iconbtn:hover{color:var(--ink);background:#edf0f6}.iconbtn svg{width:15px;height:15px}.table-scroll{overflow-x:auto}.table-empty{padding:50px 20px}.section-intro{padding:24px 0 0;color:#8a98ab;font-size:12px;line-height:1.6}.budget-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px;margin-top:20px}.budget-card{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px}.budget-card strong{font-size:13px}.budget-card .limit{font-size:20px;font-weight:800;margin:14px 0 6px}.budget-card .spent{font-size:11px;color:#9aa5b4;margin-bottom:15px}.budget-card .row-between{display:flex;justify-content:space-between;align-items:center;gap:7px}.report-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:20px}.donut-wrap{display:flex;align-items:center;gap:27px;flex-wrap:wrap}.donut{height:175px;width:175px;border-radius:50%;background:#e8edf4;flex:0 0 auto;display:grid;place-items:center}.donut-center{border-radius:50%;height:115px;width:115px;background:white;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:10px}.donut-center span{font-size:11px;color:#8997ab}.donut-center strong{font-size:15px;margin-top:4px}.donut-legend{flex:1;min-width:170px}.donut-item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #f1f3f6;font-size:11px}.donut-item:last-child{border-bottom:0}.tip{border:1px solid #dce6ff;background:#f4f7ff;border-radius:14px;padding:17px;margin:20px 0;color:#586a91;line-height:1.7;font-size:12px}.tip strong{color:#344874}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--border);flex-wrap:wrap}.setting-row:last-child{border:0}.setting-row strong{font-size:13px}.setting-row p{font-size:11px;color:#8997a9;line-height:1.6;max-width:600px;margin:7px 0 0}.setting-row .group{display:flex;gap:8px;flex-wrap:wrap}.modal{border:none;box-shadow:0 25px 90px #13234050;border-radius:18px;width:min(570px,calc(100% - 24px));max-height:calc(100vh - 36px);padding:0;color:var(--ink)}.modal::backdrop{background:#101a329e;backdrop-filter:blur(4px)}.modal-head{padding:23px 26px 14px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border)}.modal-head h2{font-size:18px;margin:0;letter-spacing:-.4px}.modal-body{padding:21px 26px;max-height:calc(100vh - 195px);overflow-y:auto}.modal-foot{display:flex;justify-content:end;gap:8px;padding:16px 26px 22px;border-top:1px solid var(--border)}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px;min-width:0}.field label{font-size:11px;font-weight:800;color:#52617a}.field .control{width:100%;min-height:41px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.segmented{display:flex;background:#f1f4f9;border-radius:11px;padding:4px;margin-bottom:20px;gap:4px}.segmented input{position:absolute;opacity:0;pointer-events:none}.segmented label{flex:1;text-align:center;border-radius:8px;padding:10px;color:#7989a0;font-weight:750;cursor:pointer;font-size:12px}.segmented input:checked+label{background:#fff;color:#1a2b47;box-shadow:0 1px 5px #0e203214}.muted-text{color:#8e9db1;font-size:11px;line-height:1.6}.badgebubble{display:inline-flex;align-items:center;gap:6px;border-radius:30px;padding:5px 9px;background:#ebfaf4;color:#27a77e;font-size:10px;font-weight:800}.workspace-chip{display:inline-flex;align-items:center;gap:5px;color:#617590;font-weight:750;font-size:11px}.toast{position:fixed;bottom:25px;right:25px;background:#142541;color:white;box-shadow:0 12px 45px #10213f38;padding:13px 18px;border-radius:12px;font-size:12px;z-index:100;opacity:0;pointer-events:none;transform:translateY(14px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.mobile-nav{display:none}.spaced{display:flex;justify-content:space-between;gap:12px;align-items:center}.note{font-size:11px;color:#8896ac}.pill{display:inline-block;background:#f0f3fb;color:#687e9b;border-radius:20px;padding:5px 8px;font-size:10px;font-weight:750}.payments{margin-top:10px}.invoice-line{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eff2f6;font-size:12px}.invoice-line:last-child{border:0}.invoice-line small{display:block;color:#9aa7ba;margin-top:5px}.invoice-line strong{white-space:nowrap}.alert{border-radius:12px;padding:12px 14px;font-size:11px;line-height:1.6;background:#fff4e7;color:#98651e;margin:12px 0}.topbar-menu{display:none}.hidden{display:none!important}
@media(max-width:1120px){.main{padding:0 22px 38px}.stats{gap:10px}.stat{padding:17px 15px}.stat-value{font-size:20px}.two-columns{grid-template-columns:1fr}.hero-graphic{margin-right:25px}}
@media(max-width:760px){:root{--s:0px}.sidebar{position:fixed;transform:translateX(-100%);transition:transform .2s;width:240px;box-shadow:10px 0 40px #10213f35}.sidebar.mobile-open{transform:translateX(0)}.mobile-cover{position:fixed;inset:0;background:#131d3880;z-index:19}.main{margin-left:0;padding:0 14px 90px}.topbar{height:auto;min-height:95px;align-items:flex-start;padding:17px 0;flex-wrap:wrap}.topbar-menu{display:inline-grid;place-items:center;border:0;background:#fff;border-radius:9px;margin-right:8px;width:34px;height:34px}.topbar-menu svg{height:19px;width:19px}.title-row{display:flex;align-items:center}.page-title{font-size:23px}.top-actions{width:100%;justify-content:space-between}.hero{padding:22px;min-height:135px;margin-top:16px}.hero h2{font-size:27px}.hero-graphic{display:none}.stats{grid-template-columns:1fr;gap:9px}.stat{padding:15px 18px}.stat-value{margin-top:7px}.panel-head{padding:18px 18px 10px}.panel-content{padding:13px 18px 20px}.items{padding:0 18px 18px}.trend-chart{gap:7px}.report-split{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.modal-head{padding:18px}.modal-body{padding:18px}.modal-foot{padding:13px 18px 18px}.demo-banner{flex-direction:column;align-items:start}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--border);justify-content:space-around;z-index:15;padding:8px 6px max(8px,env(safe-area-inset-bottom))}.mobile-nav button{border:0;background:transparent;color:#9ca9bd;display:flex;align-items:center;flex-direction:column;gap:5px;font-size:10px;padding:5px}.mobile-nav button.active{color:#263f77;font-weight:800}.mobile-nav svg{width:19px;height:19px}.toolbar{align-items:stretch}.toolbar-left{width:100%}.search{flex:1;min-width:150px}.month-nav .month-label{min-width:116px}.btn{padding:10px 12px}.data-table{min-width:680px}.table-scroll{width:100%}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Isolamento visual do módulo financeiro na Maleta */
body.cloud-locked #app{visibility:hidden}
#fluxo-cloud-gate[hidden],#fluxo-cloud-bar[hidden]{display:none!important}
#fluxo-cloud-gate{position:fixed;inset:0;z-index:400;display:flex;align-items:center;justify-content:center;padding:18px;background:linear-gradient(130deg,#071121,#15213a 56%,#153c39);overflow:auto;color:#eaf0fc;font-family:system-ui,sans-serif}
.cloud-login-card{width:min(100%,435px);background:#16243b;border:1px solid #33455d;border-radius:22px;padding:28px;box-shadow:0 18px 65px #0009}
.cloud-mark{font-size:30px;color:#49e0b1}.cloud-overline{letter-spacing:2px;text-transform:uppercase;color:#53d9ad;font-size:11px;font-weight:700}
.cloud-login-card h1{line-height:1.2;font-size:24px;margin:14px 0 9px}.cloud-login-card p{color:#bfcce0;line-height:1.5;font-size:13px}
.cloud-login-card form{display:grid;gap:13px;margin-top:18px}.cloud-login-card label{display:grid;gap:5px;color:#e5edf9;font-size:13px;font-weight:600}
.cloud-login-card input{padding:13px;border-radius:10px;background:#0a162a;border:1px solid #40516c;color:white;font:inherit}
.cloud-login-submit{border:0;border-radius:11px;padding:13px;background:#35cca4;color:#06201b;font-weight:800;cursor:pointer}
.cloud-login-submit:disabled{opacity:.6;cursor:progress}.cloud-demo{display:block;margin:11px auto;color:#91a8c7;background:none;border:0;cursor:pointer;text-decoration:underline;font:inherit;font-size:13px}
.cloud-back{display:block;color:#9cecd5;text-align:center;font-size:13px;margin:15px 0}.cloud-feedback{min-height:20px}.cloud-login-card small{display:block;color:#8fa0bb;line-height:1.5}
#fluxo-cloud-bar{position:fixed;bottom:15px;right:15px;z-index:200;background:#14213b;color:#e9f5ff;border:1px solid #43536a;border-radius:14px;padding:8px 10px;display:flex;align-items:center;gap:9px;box-shadow:0 8px 30px #0004;font:12px/1.3 system-ui,sans-serif}
#fluxo-cloud-bar a{color:#66e0b6;font-weight:700}#fluxo-cloud-bar button{background:#263852;border:1px solid #455b75;border-radius:8px;color:#fff;padding:6px 8px;cursor:pointer}
#fluxo-cloud-status[data-mood=warn]{color:#ffca6c}#fluxo-cloud-status[data-mood=error]{color:#ff9090}#fluxo-cloud-status[data-mood=ok]{color:#72e3b5}
@media(max-width:760px){#fluxo-cloud-bar{bottom:79px;left:10px;right:10px;justify-content:space-between;gap:5px;font-size:11px}.cloud-login-card{padding:20px}}

/* Fluxo v1.5 — Dívidas e categorias */
.quick-actions{display:flex;flex-wrap:wrap;gap:10px;margin:19px 0 3px}
.quick-actions .btn{min-height:40px}
.debt-hero{margin-top:24px;min-height:138px}
.debts-list{display:grid;gap:18px;margin:16px 0 28px}
.debt-card{padding:24px}
.debt-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;margin-bottom:20px}
.debt-header h2{margin:4px 0 10px}
.debt-total{text-align:right;display:grid;gap:6px;min-width:160px}
.debt-total span,.debt-total small{font-size:11px;color:#94a1b5}
.debt-total strong{font-size:22px;color:#1f314c}
.debt-installments{display:grid;gap:8px;margin-top:19px}
.debt-installment{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f9fbfe;border:1px solid #edf0f5;border-radius:11px;padding:12px 14px}
.debt-installment>div{flex:1;min-width:120px}
.debt-installment small{display:block;color:#8999ad;font-size:11px;margin-top:5px}
.debt-installment strong{white-space:nowrap}
.debt-actions{display:flex;justify-content:flex-end;margin-top:16px}
.category-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:19px}
.category-list{display:grid;gap:0;padding:4px 17px 18px}
.category-row{display:flex;align-items:center;gap:10px;padding:13px 2px;border-bottom:1px solid #eef0f3}
.category-row:last-child{border-bottom:0}
.category-row .category-dot{width:13px;height:13px;border-radius:50%;flex:0 0 auto}
.category-name{flex:1;min-width:50px}.category-name strong{font-size:12px;overflow-wrap:anywhere}
.category-name small{display:block;font-size:10px;color:#8f9caf;margin-top:4px}
.category-row .btn:disabled{opacity:.4;cursor:not-allowed}
@media(max-width:1060px){.category-layout{grid-template-columns:1fr}}
@media(max-width:760px){.debt-header{flex-direction:column}.debt-total{text-align:left}.debt-installment{flex-wrap:wrap}.category-row{flex-wrap:wrap}.category-row .category-name{flex-basis:calc(100% - 28px)}.quick-actions .btn{flex:1;min-width:130px}}

/* Fluxo 1.6 — revisão de migração PF para PJ */
.migrate-line{display:flex;align-items:center;gap:12px;padding:12px 8px;border-bottom:1px solid #e3ece8;cursor:pointer;font-size:13px}.migrate-line:last-child{border:0}.migrate-line input{width:17px;height:17px;accent-color:#1c7967}.migrate-line b{white-space:nowrap}.migrate-line strong{overflow-wrap:anywhere}

/* Fluxo v1.7 — PJ installments, reminders and CDB */
.investment-row,.reminder-line{padding:15px 8px;display:flex;justify-content:space-between;gap:16px;align-items:center;border-bottom:1px solid #e6ecf0}
.investment-row:last-child,.reminder-line:last-child{border-bottom:none}.investment-row small,.reminder-line small{display:block;color:#76869d;margin-top:6px;font-size:12px}.investment-row>div:last-child{text-align:right;min-width:110px}.investment-details{display:flex;flex-wrap:wrap;gap:10px 25px;color:#5f7183;font-size:12px;padding:14px 0}.reminder-line{padding:16px 0}.reminder-right{text-align:right;display:flex;align-items:flex-end;gap:6px;flex-direction:column}.reminder-late{border-left:3px solid #e5756c;padding-left:12px}.reminder-today{border-left:3px solid #e1b54a;padding-left:12px}.reminder-toolbar{margin:16px 0;justify-content:flex-start;flex-wrap:wrap}.reminder-toolbar .group{display:flex;gap:5px}.reminder-toolbar .btn{min-width:62px}.mobile-nav{overflow-x:auto;scrollbar-width:thin;justify-content:flex-start}.mobile-nav button{flex:0 0 auto;min-width:64px}
@media(max-width:760px){.investment-row,.reminder-line{align-items:flex-start}.investment-details{flex-direction:column;gap:8px}.reminder-right{min-width:110px}}
