:root{--musgo-950:#263023;--musgo-900:#303c2d;--musgo-800:#394735;--musgo-700:#4a5d45;--musgo-100:#e8eee5;--palha-50:#efece3;--palha-100:#e5e1d5;--palha-200:#d6d1c3;--nude:#cfc6b4;--terra:#b9684f;--terra-100:#f6e5df;--ouro:#ae8a44;--ouro-100:#f4ecd9;--texto:#252620;--muted:#6e695f;--line:#cfc8b8;--line-soft:#ddd7c9;--white:#fff;--danger:#a94f3d;--green-ok:#486b46;--green-ok-bg:#e7f0e4;--board:#d2cec0;--field:#1f291f;--ink-soft:#d9d3c4;--grid:rgba(57,71,53,0.07);--font-sans:"Figtree","Segoe UI",system-ui,sans-serif;--font:var(--font-sans);--font-display:var(--font-sans);--radius:24px;--radius-pill:999px;--shadow:0 10px 32px color-mix(in srgb,var(--musgo-950) 7%,transparent);--measure:800px;--text-xs:0.8125rem;--text-sm:0.9375rem;--text-md:1.0625rem;--text-lg:1.25rem;--text-xl:1.5rem;--text-2xl:1.875rem}*,:after,:before{box-sizing:border-box}html{scroll-behavior:smooth}body,html{background:var(--palha-100)}body{margin:0;min-height:100dvh;color:var(--texto);font-family:var(--font);font-size:var(--text-md);font-weight:400;line-height:1.55;letter-spacing:0;-webkit-font-smoothing:antialiased}:focus-visible{outline:2px solid var(--musgo-700);outline-offset:2px}button,input,select{font:inherit}button{touch-action:manipulation}h1,h2,h3,h4{font-family:var(--font-display);font-weight:600;margin:0;color:var(--musgo-950);letter-spacing:.01em}::selection{background:var(--nude)}.app{width:min(1320px,calc(100% - 32px));margin:0 auto;padding:18px 0 48px;min-height:100dvh}.workspace{display:grid;grid-template-columns:300px minmax(0,1fr);grid-gap:18px;gap:18px;align-items:start}.content{min-width:0}.masthead{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:16px;gap:16px;padding:6px 0 18px}.brand-hero{display:flex;align-items:center;gap:0;min-width:0}.brand-mark{display:inline-flex;align-items:center;gap:12px;font-family:var(--font-display);font-size:1.05rem;font-weight:700;letter-spacing:-.02em;line-height:1;color:var(--musgo-950)}.brand-mark:before{content:"E";width:42px;height:42px;flex:0 0 42px;border-radius:50%;background:var(--musgo-950);color:var(--palha-50);display:grid;place-items:center;font-size:.92rem;font-weight:700}.brand-tag{display:none}.soft-nav{display:flex;align-items:center;gap:4px;min-width:0;overflow-x:auto}.soft-nav::-webkit-scrollbar{display:none}.soft-nav button{border:0;background:transparent;padding:9px 14px;color:var(--muted);font-size:var(--text-sm);font-weight:500;cursor:pointer;white-space:nowrap;border-radius:var(--radius-pill);transition:background .2s ease,color .2s ease}.soft-nav button:hover{color:var(--musgo-800);background:color-mix(in srgb,var(--white) 70%,transparent)}.soft-nav button.active{color:var(--musgo-950);background:var(--white);font-weight:600;box-shadow:var(--shadow)}.mast-actions{gap:10px;flex-shrink:0}.mast-actions,.welcome{display:flex;align-items:center}.welcome{gap:18px;text-align:left;margin:8px 0 22px}.date-orb{display:flex;align-items:center;gap:12px;flex-shrink:0}.date-orb strong{width:64px;height:64px;border-radius:50%;border:1.5px solid var(--line);display:grid;place-items:center;font-size:1.55rem;font-weight:600;color:var(--musgo-950);background:var(--white)}.date-orb span{display:none}.welcome-copy{min-width:0}.greeting-line{font-family:var(--font-display);font-size:clamp(1.6rem,3vw,2.15rem);font-weight:600;letter-spacing:-.03em;color:var(--musgo-950);margin:0}.greeting-line .user-name{color:var(--terra)}.daily-line{margin:6px 0 0;max-width:62ch;font-size:var(--text-sm);font-weight:400;line-height:1.5;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.profile-btn{display:inline-flex;align-items:center;gap:10px;border:0;background:var(--white);padding:4px 14px 4px 4px;color:var(--musgo-900);font-size:var(--text-sm);font-weight:500;cursor:pointer;white-space:nowrap;border-radius:var(--radius-pill);box-shadow:var(--shadow)}.profile-btn:hover{color:var(--musgo-800)}.avatar{width:34px;height:34px;border-radius:50%;background:var(--terra);color:#fff;display:grid;place-items:center;font-weight:700;text-transform:uppercase}.month-picker{display:inline-flex;align-items:center;gap:2px;background:var(--white);border-radius:var(--radius-pill);padding:4px 8px;box-shadow:var(--shadow)}.month-picker button{width:28px;height:28px;border:0;background:transparent;border-radius:50%;color:var(--musgo-700);cursor:pointer}.month-picker button:hover{background:var(--palha-100)}.month-picker span{min-width:9.5ch;text-align:center;font-family:var(--font-display);font-size:var(--text-sm);font-weight:600;color:var(--musgo-900);text-transform:capitalize;white-space:nowrap}.page{display:none!important}.page.active{display:block!important}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:8px 0 32px;flex-wrap:wrap}.section-head h2{font-size:1.5rem;font-weight:600;letter-spacing:-.04em}.section-head p{margin:6px 0 0;color:var(--muted);font-size:.84rem;font-weight:300;max-width:52ch}.section-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.card{border:0;border-radius:var(--radius);padding:22px;box-shadow:var(--shadow);margin-bottom:16px}.card,.card.soft{background:var(--white)}.card-title{font-size:1.02rem;font-weight:600;margin-bottom:16px}.map-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}.map-toggle-label{font-size:.78rem;color:var(--muted);font-weight:300;text-transform:capitalize}.view-switch{display:inline-flex;gap:2px;background:var(--white);padding:4px;box-shadow:var(--shadow)}.view-switch,.view-switch button{border:0;border-radius:var(--radius-pill)}.view-switch button{background:transparent;padding:6px 14px;font-size:.78rem;font-weight:500;color:var(--muted);cursor:pointer}.view-switch button:hover{color:var(--musgo-800)}.view-switch button.active{background:var(--musgo-800);color:#fff;font-weight:600;border-bottom-color:transparent;box-shadow:none}.board{display:grid;grid-gap:14px;gap:14px}.board .story-block,.board .story-section,.board .story-split{margin-bottom:0}.composer{position:-webkit-sticky;position:sticky;top:12px;align-self:start;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px 18px 18px;border-left:6px solid var(--terra)}.composer[data-type=receita]{border-left-color:var(--green-ok)}.composer[data-type=investimento]{border-left-color:var(--ouro)}.composer-head h2{font-size:1.15rem;letter-spacing:-.03em}.composer-head p{margin:4px 0 14px;color:var(--muted);font-size:var(--text-sm)}.composer-modes{display:flex;gap:2px;padding:4px;background:var(--palha-100);border-radius:var(--radius-pill)}.composer-modes button{flex:1 1;border:0;background:transparent;border-radius:var(--radius-pill);padding:8px 6px;color:var(--muted);font-size:.78rem;font-weight:600;cursor:pointer}.composer-modes button.active[data-type=despesa]{background:var(--terra);color:#fff}.composer-modes button.active[data-type=receita]{background:var(--green-ok);color:#fff}.composer-modes button.active[data-type=investimento]{background:var(--ouro);color:#fff}.composer-kinds{display:grid;grid-template-columns:1fr 1fr;grid-gap:6px;gap:6px;margin:10px 0 0}.composer-kinds button{border:1px solid var(--line);background:#fff;border-radius:var(--radius-pill);padding:8px 10px;font-size:.78rem;font-weight:600;color:var(--muted);cursor:pointer}.composer-kinds button.active{background:var(--terra-100);border-color:transparent;color:var(--terra)}.composer-form{display:flex;flex-direction:column;gap:10px;margin-top:16px}.composer-form .btn{width:100%;margin-top:6px}.composer-amount{background:var(--palha-50);border-radius:18px;padding:12px 16px 10px}.composer-amount label{display:block;font-size:var(--text-xs);color:var(--muted);margin-bottom:4px}.composer-amount div{display:flex;align-items:baseline;gap:8px}.composer-amount span{font-size:1.2rem;font-weight:600;color:var(--musgo-800)}.composer-amount input{border:0;background:transparent;font:inherit;font-size:2rem;font-weight:600;letter-spacing:-.04em;color:var(--musgo-950);width:100%;outline:0}.composer-row{display:grid;grid-template-columns:1fr;grid-gap:8px;gap:8px}.composer-row .field{margin-bottom:0}.story-section{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.text-link{text-decoration:none}.metrics{display:grid;grid-template-columns:repeat(3,1fr);grid-template-areas:"saldo saldo saldo" "in out inv";grid-gap:10px;gap:10px}.metric{background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px 14px;display:flex;flex-direction:column;justify-content:space-between;gap:8px;min-width:0}.metric:nth-child(2){grid-area:in}.metric:nth-child(3){grid-area:out}.metric:nth-child(4){grid-area:inv}.metric span{font-size:var(--text-xs);color:var(--muted);font-weight:600}.metric strong{font-family:var(--font-display);font-size:1.15rem;font-weight:600;letter-spacing:-.03em;color:var(--musgo-900);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.metric .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}.metric .dot.in{background:var(--green-ok)}.metric .dot.out{background:var(--terra)}.metric .dot.inv{background:var(--ouro)}.metric-saldo{grid-area:saldo;background:var(--musgo-800);padding:22px 20px}.metric-saldo span{color:color-mix(in srgb,#fff 70%,var(--musgo-800))}.metric-saldo strong{font-size:clamp(1.8rem,4vw,2.6rem);color:#fff;line-height:1}.metric-saldo.neg{background:var(--terra)}.story-block{max-width:none;margin:0 0 16px;padding:18px 22px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow);border-top:0;border-bottom:0}.story-block.compact p{line-height:1.55}.story-block p,.story-block.compact p{font-size:var(--text-md);font-weight:400}.story-block p{margin:0;line-height:1.65;color:var(--texto)}.story-block strong{font-weight:600;color:var(--musgo-900);white-space:nowrap}.story-alert{color:var(--danger);font-weight:500}.story-calm{color:var(--green-ok)}.story-split{display:grid;grid-template-columns:1fr 1fr;grid-gap:14px;gap:14px;margin-bottom:16px}.story-col{min-width:0;background:var(--white);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}.story-title{font-size:1.02rem;font-weight:600;margin-bottom:18px}.story-hint{margin:-10px 0 0;font-size:.78rem;font-weight:300;color:var(--muted)}.story-section{margin-bottom:0}.story-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}.story-head,.story-head .story-title{margin-bottom:14px}.text-link{border:0;background:transparent;padding:2px 0;color:var(--terra);font-size:.8rem;font-weight:500;cursor:pointer;border-bottom:1px solid transparent;transition:border-color .2s ease}.text-link:hover{border-bottom-color:var(--terra)}.quiet-list{display:flex;flex-direction:column}.quiet-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line-soft)}.quiet-row:last-child{border-bottom:0}.quiet-row strong{font-size:.95rem;font-weight:600;color:var(--musgo-900);white-space:nowrap}.quiet-label{font-size:.86rem;color:var(--texto)}.quiet-note{font-size:.72rem;font-weight:300;color:var(--muted);margin-top:1px}.insight-grid,.kpis{display:grid;grid-template-columns:1fr;grid-gap:0;gap:0;margin-bottom:40px}.grid-2{display:grid;grid-template-columns:1fr 1fr;grid-gap:56px;gap:56px;margin-bottom:56px}.grid-2>.card,.grid-equal>.card{margin-bottom:0}.grid-equal{grid-template-columns:1fr;gap:64px}.insight-card{padding:16px 0;border:0;border-radius:0;background:transparent;border-bottom:1px solid var(--line-soft)}.insight-card:last-child{border-bottom:0}.insight-card .eyebrow{font-size:.66rem;font-weight:500;color:var(--ouro);text-transform:uppercase;letter-spacing:.14em}.insight-card strong{display:block;color:var(--musgo-900);font-size:1.05rem;font-weight:600;margin:6px 0 3px}.insight-card span{font-size:.78rem;font-weight:300;color:var(--muted);line-height:1.6}.btn{border:0;border-radius:var(--radius-pill);padding:10px 18px;font-family:var(--font-display);font-size:.88rem;font-weight:600;letter-spacing:0;cursor:pointer;transition:background .2s ease,color .2s ease,transform .15s ease}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--musgo-800);color:#fff}.btn-primary:hover:not(:disabled){background:var(--musgo-950)}.btn-terra{background:var(--terra);color:#fff}.btn-soft{background:var(--white);color:var(--musgo-800);border:1px solid var(--line)}.btn-soft:hover{background:var(--palha-100);border-color:var(--nude)}.btn-ghost{background:transparent;color:var(--muted);border:1px solid transparent}.btn-ghost:hover{background:var(--palha-100);color:var(--musgo-800)}.btn-danger{background:var(--terra-100);color:var(--danger)}.btn-sm{padding:6px 14px;font-size:.74rem}.icon-btn{width:30px;height:30px;border:0;border-radius:var(--radius);background:transparent;color:var(--muted);font-size:.78rem;cursor:pointer;opacity:.55;transition:opacity .2s ease,background .2s ease}.icon-btn:hover{background:var(--palha-100);opacity:1}.cat-row{display:grid;grid-template-columns:minmax(90px,140px) 1fr auto;align-items:center;grid-gap:14px;gap:14px;padding:10px 0}.cat-row .name{font-size:.84rem;color:var(--texto);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bar-bg{height:3px;border-radius:2px;background:var(--palha-200);overflow:hidden}.bar-fill{height:100%;border-radius:2px;background:var(--musgo-700)}.bar-fill.gold{background:var(--ouro)}.cat-row .amt{font-size:.8rem;font-weight:500;color:var(--muted);text-align:right;white-space:nowrap}.list{list-style:none;padding:0;margin:0}.list-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line-soft)}.list-row:last-child{border-bottom:0}.list-main{min-width:0}.list-title{font-size:.9rem;font-weight:500;color:var(--texto);overflow:hidden;text-overflow:ellipsis}.list-row:not(.fixed-row) .list-title{white-space:nowrap}.list-meta{font-size:.74rem;font-weight:300;color:var(--muted);margin-top:3px;line-height:1.55}.list-right{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.amount{font-weight:500;font-size:.9rem;white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.amount.expense{color:var(--terra)}.amount.income{color:var(--green-ok)}.amount.invest{color:var(--ouro)}.badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:var(--radius);font-family:var(--font-display);font-size:.72rem;font-weight:600;letter-spacing:.03em;white-space:nowrap}.badge.ok{background:var(--green-ok-bg);color:var(--green-ok)}.badge.pending{background:var(--ouro-100);color:#8a6a2f}.badge.overdue{background:var(--terra-100);color:var(--danger)}.badge.neutral{background:var(--palha-100);color:var(--muted)}.empty{text-align:left;color:var(--muted);font-size:.86rem;font-weight:300;line-height:1.7;padding:24px 0}.empty strong{display:block;font-family:var(--font-display);color:var(--musgo-900);font-size:1.15rem;font-weight:600;letter-spacing:.02em;margin-bottom:4px}.app.is-boot{display:grid;grid-template-columns:1fr;grid-template-rows:1fr;grid-template-areas:none;place-items:center}.empty.boot-state{z-index:2;width:min(420px,calc(100% - 40px));margin:0;padding:32px 28px;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow)}.month-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.month-card{cursor:pointer;background:var(--white);padding:18px 20px;margin-bottom:0;border-bottom:0}.month-card:hover .month-name{color:var(--terra)}.month-name{text-transform:capitalize;font-size:.78rem;font-weight:500;color:var(--muted);transition:color .2s ease}.month-balance{color:var(--musgo-800);font-size:1.3rem;font-weight:600;letter-spacing:-.04em;margin:6px 0}.month-balance.neg{color:var(--terra)}.month-mini{font-size:.7rem;font-weight:300;color:var(--muted);line-height:1.7}.chart-wrap{overflow-x:auto;margin-bottom:16px}.year-chart{width:100%;min-width:640px;height:auto;display:block}.chart-legend{display:flex;gap:20px;flex-wrap:wrap;font-size:.74rem;color:var(--muted);margin-top:10px}.chart-legend span{display:flex;align-items:center;gap:7px}.chart-legend i{width:8px;height:8px;border-radius:50%;display:inline-block}.expense-summary,.invest-kpis{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;gap:10px;margin-bottom:16px;padding:0;border:0;border-radius:0;overflow:visible;background:none}.invest-kpis{grid-template-columns:repeat(3,1fr)}.mini-kpi{padding:18px 20px;margin-bottom:0;background:var(--white)}.mini-kpi .label{font-size:.68rem;color:var(--muted);text-transform:uppercase;font-weight:500;letter-spacing:.14em}.mini-kpi .value{font-size:1.6rem;font-weight:600;letter-spacing:-.04em;color:var(--musgo-800);margin-top:6px;line-height:1.2}.mini-kpi .sub{font-size:.74rem;font-weight:300;color:var(--muted);margin-top:6px;line-height:1.6}.mini-kpi.balance-negative .value{color:var(--terra)}.mini-kpi.balance-positive .value{color:var(--green-ok)}.fixed-row{padding:18px 0;align-items:flex-start}.fixed-row .list-title{font-size:.92rem;white-space:normal}.fixed-row .due{font-size:.72rem;color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px 16px;gap:12px 16px}.form-grid .full{grid-column:1/-1}.field{margin-bottom:14px}.field label{display:block;margin-bottom:6px;color:var(--muted);font-size:.74rem;font-weight:400}.field input,.field select{width:100%;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:11px 14px;color:var(--texto);outline:0;transition:border-color .2s ease}.field input:focus,.field select:focus{border-color:var(--musgo-700)}.field small{display:block;color:var(--muted);font-size:.7rem;font-weight:300;line-height:1.5;margin-top:5px}.account-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid var(--line-soft)}.account-row:last-child{border-bottom:0}.account-name{font-size:.9rem;font-weight:500}.account-meta{font-size:.72rem;font-weight:300;color:var(--muted);margin-top:2px}.credit-card{position:relative;overflow:hidden;background:var(--musgo-800);color:#fff;border-radius:var(--radius);padding:22px 24px;margin-top:16px;box-shadow:none}.credit-card:after{display:none}.credit-card h4{color:#fff;font-size:.95rem;font-weight:600}.credit-card .cc-line{display:flex;justify-content:space-between;gap:12px;font-size:.78rem;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.12)}.credit-card .cc-line:last-child{border-bottom:0}.credit-card .muted-light{opacity:.7}.cc-limit-action{border:0;background:transparent;color:#f2e2af;font:inherit;font-size:.72rem;font-weight:500;cursor:pointer;text-decoration:underline}.goal-grid{display:grid;grid-template-columns:1fr;grid-gap:24px;gap:24px}.goal-card{background:#fff;border:0;border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.goal-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:12px}.goal-head h3{font-size:1.1rem}.goal-head-actions{display:flex;align-items:center;gap:8px}.goal-delete-btn{width:30px;height:30px;border:0;border-radius:50%;background:transparent;color:var(--muted);cursor:pointer;display:grid;place-items:center;opacity:.6}.goal-delete-btn:hover{background:var(--palha-100);opacity:1}.goal-delete-btn svg{width:14px;height:14px}.goal-progress{height:3px;background:var(--palha-200);border-radius:2px;overflow:hidden;margin:10px 0}.goal-progress div{height:100%;background:var(--terra);border-radius:2px}.goal-stats{display:flex;justify-content:space-between;gap:10px;font-size:.72rem;font-weight:300;color:var(--muted);margin-bottom:18px}.goal-contribution{margin-top:18px;padding-top:18px;border-top:1px solid var(--line-soft)}.goal-contribution-note{font-size:.74rem;font-weight:300;color:var(--muted);line-height:1.6;margin-bottom:12px}.goal-amount-highlight{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:14px 0;background:transparent;border:0;margin:8px 0 12px}.goal-amount-highlight span{font-size:.72rem;color:var(--muted)}.goal-amount-highlight strong{display:block;margin-top:3px;font-size:1.5rem;font-weight:600;letter-spacing:-.04em;color:var(--musgo-800)}.category-grid{display:grid;grid-template-columns:1fr;grid-gap:8px;gap:8px}.category-add{display:flex;gap:10px;margin-bottom:18px}.category-add input{flex:1 1;min-width:0;border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:11px 14px;outline:0}.category-add input:focus{border-color:var(--musgo-700)}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:8px;background:var(--white);border:1px solid var(--line);border-radius:var(--radius-pill);padding:6px 10px 6px 14px;font-size:.78rem;color:var(--musgo-900)}.chip button{background:transparent;color:var(--muted);padding:0 2px}.chip button,.fab{border:0;cursor:pointer}.fab{position:fixed;right:24px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:18;display:flex;align-items:center;gap:10px;border-radius:var(--radius-pill);padding:12px 20px 12px 12px;background:var(--terra);color:#fff;font-family:var(--font-display);font-size:.92rem;font-weight:600;letter-spacing:0;box-shadow:0 12px 28px color-mix(in srgb,var(--terra) 38%,transparent);transition:transform .2s ease,background .2s ease}.fab:hover{transform:translateY(-1px);background:#a85a42}.fab-plus{width:28px;height:28px;border-radius:50%;background:rgba(255,255,255,.22);display:grid;place-items:center;font-size:1.1rem;font-weight:400}.overlay{position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(30,34,27,.38);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:40;padding:16px}.overlay.open{display:flex}.modal{width:100%;max-width:540px;max-height:92vh;overflow:auto;background:var(--white);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:20px}.modal-head h2{font-size:1.25rem}.modal-head p{margin:4px 0 0;color:var(--muted);font-size:.8rem;font-weight:300}.modal-close{border:0;background:var(--palha-100);width:36px;height:36px;border-radius:50%;cursor:pointer;color:var(--muted)}.steps{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:6px;gap:6px;margin-bottom:20px}.step{padding:8px;border-radius:var(--radius);background:var(--palha-100);font-family:var(--font-display);font-size:.78rem;font-weight:600;letter-spacing:.03em;color:var(--muted);text-align:center}.step.active{background:var(--musgo-100);color:var(--musgo-900)}.step.done{background:var(--musgo-800);color:#fff}.launch-step{display:none}.launch-step.active{display:block}.choice-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:10px;gap:10px}.choice-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:18px 12px;text-align:center;cursor:pointer;color:var(--musgo-900);display:flex;flex-direction:column;align-items:center;min-height:120px;transition:border-color .2s ease,background .2s ease}.choice-card.active,.choice-card:hover{border-color:var(--musgo-700)}.choice-card.active{background:var(--musgo-100)}.choice-symbol{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;background:var(--palha-100);color:var(--musgo-800)}.choice-symbol svg{width:22px;height:22px}.choice-card[data-type=despesa] .choice-symbol{color:#c64a43;background:#f8e6e3}.choice-card[data-type=receita] .choice-symbol{color:#2f8f4e;background:#e5f3e8}.choice-card[data-type=investimento] .choice-symbol{color:#ae8a44;background:#f5efd9}.choice-card strong{display:block;font-size:.92rem}.choice-card span{display:block;color:var(--muted);font-size:.72rem;font-weight:300;line-height:1.4;margin-top:6px}.sub-choice{display:none;margin-top:10px;grid-template-columns:1fr 1fr;gap:8px}.sub-choice.show{display:grid}.kind-card{border:1px solid var(--line);border-radius:var(--radius);padding:11px;background:#fff;cursor:pointer;font-size:.78rem;font-weight:500;color:var(--musgo-900)}.kind-card.active{background:var(--terra-100);border-color:#d8a997;color:#874936}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.modal-actions .btn{min-width:96px}.period-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px}.period-box .field{margin:0}.summary-pill{display:inline-flex;align-items:center;gap:7px;border-radius:var(--radius);background:var(--musgo-100);color:var(--musgo-900);font-size:.72rem;font-weight:500;padding:6px 14px;margin-bottom:14px}.note{background:var(--ouro-100);border:0;color:#735a2e;border-radius:12px;padding:12px 14px;font-size:.74rem;font-weight:300;line-height:1.6;margin-top:10px}.center-modal{align-items:center;padding:18px}.center-modal .modal{border-radius:var(--radius);max-width:460px;padding:28px;max-height:90vh}.profile-hero{text-align:left;padding:0 0 14px}.profile-mark{width:44px;height:44px;display:grid;place-items:center;margin:0 0 14px;border-radius:var(--radius);background:var(--musgo-100);color:var(--musgo-800);font-family:var(--font-display);font-size:1.15rem;font-weight:600}.profile-hero h2{font-size:1.25rem}.profile-hero p{font-size:.82rem;font-weight:300;color:var(--muted);line-height:1.65;margin:8px 0 0}.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,18px);z-index:80;background:var(--musgo-950);color:#fff;border-radius:var(--radius);padding:11px 20px;font-size:.78rem;font-weight:500;opacity:0;pointer-events:none;transition:.25s ease;box-shadow:none}.toast.show{opacity:1;transform:translate(-50%)}.credit-usage-panel,.expense-category-panel{margin-bottom:56px;padding-top:0;border-top:0}.expense-category-panel{display:grid;grid-template-columns:1fr;grid-gap:32px;gap:32px}.credit-usage-head,.expense-category-head{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:18px;flex-wrap:wrap}.expense-category-head h3{font-size:1.02rem}.expense-category-head p{margin:4px 0 0;color:var(--muted);font-size:.8rem;font-weight:300}.credit-usage-total span,.expense-category-total span{display:block;font-size:.7rem;color:var(--muted)}.credit-usage-total strong,.expense-category-total strong{font-size:1.4rem;font-weight:600;letter-spacing:-.04em;color:var(--musgo-800)}.expense-category-row{display:grid;grid-template-columns:10px 1fr auto auto;align-items:center;grid-gap:12px;gap:12px;padding:11px 0;border-bottom:1px solid var(--line-soft);font-size:.86rem}.expense-category-row:last-child{border-bottom:0}.expense-category-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.expense-category-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.expense-category-amount{font-weight:500}.expense-category-share{min-width:52px;text-align:right;font-size:.74rem;font-weight:300;color:var(--muted)}.expense-category-empty{color:var(--muted);font-size:.86rem;font-weight:300;padding:18px 0}.expense-category-empty strong{display:block;color:var(--musgo-900);margin-bottom:4px}.expense-pie-wrap{display:grid;place-items:center;position:relative;min-height:200px}.expense-pie{width:176px;height:176px;border-radius:50%;-webkit-mask:radial-gradient(circle,transparent 54%,#000 55%);mask:radial-gradient(circle,transparent 54%,#000 55%)}.expense-pie-center{position:absolute;text-align:center;max-width:100px}.expense-pie-center span{font-size:.66rem;color:var(--muted)}.expense-pie-center strong{display:block;font-weight:600;color:var(--musgo-950);font-size:.95rem;line-height:1.2;margin:4px 0}.expense-pie-center small{font-size:.66rem;font-weight:300;color:var(--muted)}.credit-usage-bars{display:flex;flex-direction:column;gap:24px}.credit-usage-row{display:grid;grid-template-columns:1fr auto;grid-gap:12px;gap:12px;align-items:center;margin-bottom:8px}.credit-usage-name{font-size:.9rem;font-weight:500}.credit-usage-cycle{font-size:.72rem;font-weight:300;color:var(--muted)}.credit-usage-values{text-align:right}.credit-usage-values strong{display:block;font-size:.95rem;font-weight:600;color:var(--musgo-900)}.credit-usage-track{height:3px;background:var(--palha-200);border-radius:2px;overflow:hidden}.credit-usage-fill{height:100%;background:var(--musgo-700);border-radius:2px}.credit-usage-fill.watch{background:var(--ouro)}.credit-usage-fill.high{background:#c68169}.credit-usage-fill.over{background:var(--danger)}.credit-usage-meta,.credit-usage-values{font-size:.72rem;font-weight:300;color:var(--muted)}.credit-usage-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}.credit-usage-meta .over-text{color:var(--danger);font-weight:500}.credit-usage-empty{text-align:left;padding:18px 0;color:var(--muted);font-size:.86rem;font-weight:300}.credit-usage-empty strong{display:block;color:var(--musgo-900);margin-bottom:4px}@media (max-width:1100px){.profile-name{display:none}.profile-btn{padding:4px}}@media (max-width:860px){.masthead{grid-template-columns:1fr auto;grid-template-areas:"brand actions" "nav nav"}.brand-hero{grid-area:brand}.soft-nav{grid-area:nav}.mast-actions{grid-area:actions}.profile-name{display:none}.profile-btn{padding:4px}.workspace{grid-template-columns:1fr}.composer{position:static}.composer.hide-on-narrow{display:none}.composer-row,.metrics{grid-template-columns:1fr 1fr}.metrics{grid-template-areas:"saldo saldo" "in out" "inv inv"}}@media (max-width:720px){.app{width:calc(100% - 24px);padding-top:12px}.month-picker span{min-width:0}.welcome{margin-top:14px}.metric-saldo{padding:18px 16px}.story-block{margin-bottom:16px;padding:18px 20px}.story-block p{font-size:.86rem;line-height:1.55}.grid-2,.story-split{grid-template-columns:1fr;gap:48px}.board .story-split{gap:14px}.month-grid{grid-template-columns:1fr 1fr;gap:4px 28px}.expense-summary,.invest-kpis{grid-template-columns:1fr;gap:0}.mini-kpi{border-bottom:1px solid var(--line-soft)}.mini-kpi:last-child{border-bottom:0}.goal-card{padding:22px}.choice-grid{grid-template-columns:1fr}.choice-card{text-align:left;display:grid;grid-template-columns:40px 1fr;grid-column-gap:10px;column-gap:10px;align-items:center;min-height:auto;padding:14px}.choice-symbol{margin:0;grid-row:1/3}.fab{right:16px}.list-row{flex-wrap:wrap}.list-right{justify-content:flex-start}}@media (max-width:480px){.composer-row,.form-grid,.month-grid{grid-template-columns:1fr}.map-toggle{flex-direction:column;align-items:flex-start}.cat-row{grid-template-columns:1fr auto}.cat-row .bar-bg{grid-column:1/-1;order:3}.fab span:not(.fab-plus){display:none}.fab{padding:13px}}.card-title,.mini-kpi .value,.month-balance,.month-name,.section-head h2,.story-title{font-family:var(--font-display)}.section-head h2{font-size:var(--text-xl)}.card-title,.section-head p,.story-title{font-size:var(--text-lg)}.section-head p{font-size:var(--text-sm);font-weight:400}.list-title{font-size:var(--text-md)}.amount,.badge,.btn,.btn-sm,.cat-row .amt,.cat-row .name,.empty,.list-meta,.map-toggle-label,.month-mini,.month-name,.quiet-label,.quiet-note,.view-switch button{font-size:var(--text-sm)}.mini-kpi .value,.month-balance,.quiet-row strong{font-size:var(--text-lg)}.field label,.mini-kpi .label,.quiet-label{font-size:var(--text-xs)}.btn{padding:10px 16px}.btn,.btn-sm{font-size:var(--text-sm)}.btn-sm{padding:8px 12px}.modal-head h2{font-size:var(--text-xl)}.chip,.choice-card span,.choice-card strong,.fab,.field input,.field select,.modal-head p,.note,.summary-pill{font-size:var(--text-sm)}@media (max-width:720px){.story-block p{font-size:var(--text-md);line-height:1.55}.balance-value{font-size:clamp(2.4rem,11vw,3rem)}}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn,.fab,.soft-nav button,.toast{transition:none}}