/* Orçamento: primeiro a margem, depois os valores que já a comprometem. */
.budget-page>.toolbar{margin-bottom:12px}.budget-intro{color:var(--soft);line-height:1.65;margin:0 0 20px;max-width:660px}.budget-page>label{max-width:440px}.budget-cash-note{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 22px}.budget-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.budget-card{padding:24px;background:linear-gradient(150deg,#202e25,var(--panel) 65%)}.budget-card-heading h2{font-size:20px;margin:0 0 6px;overflow-wrap:anywhere}.budget-card-heading>p{font-size:12px;line-height:1.5;color:var(--muted);margin:0}.budget-remaining{margin:24px 0 20px;display:grid;gap:5px}.budget-remaining>span{font-size:14px;font-weight:650;color:var(--soft)}.budget-remaining>strong{font-size:clamp(30px,3vw,38px);font-weight:750;line-height:1.2;letter-spacing:-1px;color:var(--green);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.budget-remaining>small{font-size:12px;color:var(--muted)}.budget-meter{height:12px;display:flex;overflow:hidden;background:#101713;border:1px solid #57695d;border-radius:20px;margin:0 0 20px}.budget-meter>span{height:100%;flex-shrink:0}.budget-spent-segment{background:var(--green)}.budget-installment-segment{background:repeating-linear-gradient(135deg,#e3bb90 0px,#e3bb90 5px,#bb956f 5px,#bb956f 7px)}.budget-breakdown{margin:0;display:grid;gap:13px}.budget-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:12px}.budget-breakdown dt{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;line-height:1.45}.budget-breakdown dd{margin:0;text-align:right;color:var(--soft);font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%}.budget-breakdown>div:first-child{padding-bottom:13px;border-bottom:1px solid var(--line)}.budget-dot{width:8px;height:8px;flex:0 0 8px;border-radius:3px}.budget-spent-dot{background:var(--green)}.budget-installment-dot{background:#e3bb90}.budget-installment-row dd{color:#e3bb90}.budget-note{font-size:12px;line-height:1.6;color:#d1c2ad;margin:14px 0 0}.budget-options{border-top:1px solid var(--line);margin-top:20px;padding-top:4px}.budget-options>summary,.budget-explanation>summary{color:var(--soft);font-size:13px;font-weight:650;line-height:1.6;padding:12px 0;min-height:44px}.budget-installment-list{padding:0;margin:8px 0;list-style:none}.budget-installment-list li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px}.budget-installment-list li>span{overflow-wrap:anywhere}.budget-installment-list small{display:block;color:var(--muted);margin-top:4px}.budget-installment-list strong{font-variant-numeric:tabular-nums;font-size:13px}.budget-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.budget-actions button{font-size:13px}.budget-explanation{margin-top:22px;border-top:1px solid var(--line);padding-top:8px}.budget-over{border-color:#b08370}.budget-over .budget-remaining>strong,.budget-full .budget-remaining>strong{color:#f0c2a8}.budget-over .budget-remaining>span{color:#f0c2a8}
@media(max-width:1100px){.budget-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:650px){.budget-page{padding:18px 14px}.budget-page>.toolbar{gap:10px}.budget-page>.toolbar h2{font-size:21px}.budget-page>.toolbar>button{font-size:13px;padding:10px 13px}.budget-intro{font-size:14px;margin-bottom:16px}.budget-card{padding:21px 18px}.budget-card-heading h2{font-size:20px}.budget-remaining{margin-top:20px}.budget-remaining>strong{font-size:36px}.budget-cash-note{margin-bottom:18px}.budget-breakdown{gap:14px}.budget-breakdown dd{font-size:15px}.budget-actions>button{flex:1 1 120px}}
@media(max-width:360px){.budget-card{padding:18px 14px}.budget-remaining>strong{font-size:32px}.budget-breakdown>div{gap:8px}.budget-breakdown dd{font-size:14px}}

/* Resumo inicial: mesma margem, sem misturar os limites profissionais. */
.home-budget-summary{margin-bottom:24px;padding:26px;border-color:#658371;background:linear-gradient(135deg,#263c2e,#1a2520)}.home-budget-heading h2{font-size:24px;margin:0 0 6px}.home-budget-heading>p{color:var(--muted);font-size:13px;line-height:1.6;margin:0 0 20px}.home-budget-heading strong{color:var(--soft);font-weight:650}.home-budget-main>h3{font-size:16px;color:var(--soft);margin:0 0 5px}.home-budget-scope{font-size:12px;color:var(--muted);margin:0;line-height:1.6}.home-budget-main>.budget-remaining{margin:18px 0 16px}.home-budget-main>.budget-remaining>strong{font-size:40px}.home-budget-installments{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:0 0 14px;padding:13px 0;border-top:1px solid #4c6555}.home-budget-installments>span{font-size:14px;color:#e3c8a9;max-width:170px}.home-budget-installments>strong{font-size:23px;line-height:1.3;color:#e3bb90;font-variant-numeric:tabular-nums;white-space:nowrap}.home-budget-summary .budget-breakdown{gap:10px}.home-budget-summary .budget-breakdown>div:first-child{border:0;padding:0}.home-budget-category-details{margin-top:14px}.home-budget-category-details>summary{font-size:13px;font-weight:650;color:var(--soft)}.home-budget-categories{list-style:none;padding:0;margin:0}.home-budget-categories li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:16px;padding:12px 0;border-top:1px solid var(--line);font-size:13px}.home-budget-categories li>span{overflow-wrap:anywhere;color:var(--muted)}.home-budget-categories strong{font-variant-numeric:tabular-nums;color:var(--soft)}.home-budget-other{border-top:1px solid #4c6555;margin-top:12px;padding-top:6px}.home-budget-other>summary{display:flex;align-items:baseline;justify-content:space-between;gap:14px;position:relative;padding:12px 0 12px 20px}.home-budget-other>summary::before{content:'▸';position:absolute;left:0;color:var(--soft)}.home-budget-other[open]>summary::before{content:'▾'}.home-budget-other>summary>span{min-width:0}.home-budget-other b{font-size:14px;color:var(--soft)}.home-budget-other small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:4px;line-height:1.5}.home-budget-other>summary>strong{font-size:22px;color:var(--soft);text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.home-budget-caution{font-size:12px;color:var(--muted);line-height:1.6;margin:16px 0}.home-budget-open{font-size:14px}.home-budget-exceeded,.home-budget-exceeded .budget-remaining>strong,.home-budget-categories .home-budget-exceeded,.home-budget-other>summary>.home-budget-exceeded{color:#f0c2a8}
@media(min-width:1000px){.home-budget-summary{max-width:900px}.home-budget-main>.budget-remaining{margin-top:16px}.home-budget-installments>span{max-width:none}}
@media(max-width:650px){.home-budget-summary{padding:21px 19px;margin-bottom:22px}.home-budget-heading h2{font-size:22px}.home-budget-heading>p{margin-bottom:17px}.home-budget-main>.budget-remaining>strong{font-size:38px}.home-budget-installments{gap:10px}.home-budget-installments>span{font-size:13px}.home-budget-installments>strong{font-size:22px}.home-budget-other>summary>strong{font-size:20px}.home-budget-other>summary{gap:10px}.home-budget-open{width:100%;white-space:normal;padding:12px 14px}}
@media(max-width:360px){.home-budget-summary{padding:19px 15px}.home-budget-main>.budget-remaining>strong{font-size:34px}.home-budget-installments>strong{font-size:20px}.home-budget-other>summary{flex-wrap:wrap}.home-budget-other>summary>strong{text-align:left}.home-budget-categories li{gap:10px}}

.home-budget-reference{font-size:12px;color:#e3c8a9;line-height:1.6;margin:0 0 18px;padding-left:12px;border-left:2px solid #b69a75}.home-budget-estimate>.budget-remaining>strong{color:#e3c8a9}.home-budget-installment-note{font-size:12px;color:var(--muted);line-height:1.6;margin:-6px 0 16px}.home-budget-cash-review{border:1px solid #6c654d;border-radius:12px;background:#292b21;padding:15px;margin:16px 0;color:#e0d3aa}.home-budget-cash-review>strong{font-size:14px}.home-budget-cash-review p,.home-budget-cash-review li{font-size:12px;line-height:1.65}.home-budget-cash-review ul{padding-left:18px}.home-budget-cash-review li{margin:10px 0}.home-budget-cash-review details>summary{font-size:13px;min-height:44px}.home-budget-cash-review button{font-size:13px;max-width:100%;white-space:normal}.home-budget-upcoming{margin-top:16px;border-top:1px solid var(--line);padding-top:8px}.home-budget-upcoming>summary{font-size:13px;color:var(--soft);font-weight:650;line-height:1.6}.home-budget-upcoming p{font-size:13px;line-height:1.7;color:var(--muted)}.home-budget-upcoming button{font-size:13px;max-width:100%;white-space:normal}
