.budget-desktop{--budget-name-column:max(var(--budget-name-share), min(300px, 55%));--budget-inset:clamp(12px, 1.7vw, 28px);background:var(--color-surface);min-width:0;min-height:0;font:400 14px / 1.45 var(--m-font-sans);color:var(--color-ink);flex:1;overflow:auto;container-type:inline-size}.budget-desktop-page{padding:8px var(--budget-inset) 40px;gap:20px;display:grid}.budget-desktop-hero .m-photo-frame{border-radius:var(--m-radius-tile)}.budget-desktop-hero .m-photo:after{background:linear-gradient(84deg, color-mix(in srgb, var(--color-brand-atrament) 72%, transparent), transparent 85%)}.budget-desktop-hero .m-photo-content{flex-flow:wrap;justify-content:space-between;align-items:center;gap:16px}.budget-desktop-period{color:var(--color-on-glass);gap:8px;display:grid}.budget-desktop-period h2{font:400 clamp(30px, 3.3vw, 48px) / 1 var(--m-font-serif);letter-spacing:-.035em;margin:0}.budget-desktop-period p{margin:0}.budget-desktop-month{flex-wrap:wrap;align-items:center;gap:10px 18px;display:flex}.budget-desktop-navigation{border-radius:var(--m-radius-control);background:var(--color-surface);align-items:center;padding:2px;display:flex}.budget-desktop-period-actions,.budget-desktop-tools{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.budget-desktop-period-actions{--color-text-muted:var(--color-on-glass);--color-hover:var(--color-hover-on-dark)}.budget-desktop-report{width:min(100%,330px)}.budget-desktop-workspace{grid-template-columns:minmax(0,1fr) minmax(248px,29%);align-items:start;gap:clamp(12px,1.7vw,24px);display:grid}.budget-desktop-ledger,.budget-desktop-section{min-width:0;display:grid}.budget-desktop-ledger{gap:18px}.budget-desktop-section{gap:6px;min-width:0}.budget-desktop-section .m-reorder{gap:8px}.budget-desktop-section .m-reorder-list{border:1px solid var(--color-border);border-radius:var(--m-radius-card);background:var(--color-surface)}.budget-desktop-section [data-row-kind]{background:0 0;border:0;min-height:43px}.budget-desktop-section .m-reorder-item{border-top:1px solid var(--color-hairline)}.budget-desktop-loose:not(:empty){border:1px solid var(--color-border);border-radius:var(--m-radius-card);background:var(--color-surface)}.budget-desktop-loose>[data-row-kind]+[data-row-kind]{border-top:1px solid var(--color-hairline)}.budget-desktop-section [data-row-kind=group]{min-height:45px}.budget-desktop-section [data-row-kind]>:first-child{width:var(--budget-name-column);gap:2px;padding-left:4px}@media (hover:hover) and (pointer:fine){.budget-desktop-section [data-row-kind]:not(:hover):not(:focus-within)>:first-child :is([data-budget-automations=none],[data-notes=none]){border-width:0;width:0;min-width:0;margin:0;padding:0;overflow:hidden}}.budget-desktop-section [data-row-kind]>:last-child{border:0;min-width:0}.budget-desktop-section [data-budget-menu=budgeted]>[role=button]:not([aria-haspopup]){border:1px solid var(--color-border);border-radius:var(--m-radius-row);flex:0 auto;align-self:center;min-width:min(70px,75%);min-height:28px;margin-left:auto;padding-inline-end:9px}.budget-desktop-section [data-budget-menu=budgeted]>[role=button]:hover{border-color:var(--color-control-edge)}:where(.budget-desktop-section) [data-remaining] [data-amount]{border-radius:var(--m-radius-control);background:var(--color-positive-tint);color:var(--color-positive);white-space:nowrap;padding:2px 7px}:where(.budget-desktop-section) [data-tone=zero] [data-amount]{color:var(--color-text-muted);background:0 0}:where(.budget-desktop-section) [data-tone=negative] [data-amount]{background:var(--color-negative-tint);color:var(--color-negative)}:where(.budget-desktop-section) [data-tone=underfunded] [data-amount]{color:var(--color-goal-underfunded);background:0 0}.budget-desktop-section .m-button-label{min-width:0}.budget-category-open{flex:auto;justify-content:flex-start;align-self:center;overflow:hidden}.budget-category-open[data-stacked]{height:auto;padding-block:4px}.budget-category-stack{text-align:start;min-width:0;display:grid}.budget-category-stack>span{text-overflow:ellipsis;overflow:hidden}.budget-category-left-out{color:var(--color-text-muted);font-size:12px;font-weight:400}.budget-category-open .m-button-icon{width:auto;height:auto}.budget-category-open .m-button-label{text-overflow:ellipsis;overflow:hidden}.budget-desktop-section .m-reorder-item:has([aria-current=true]){background:var(--color-selected)}.budget-desktop-section .m-reorder-item:last-child{border-radius:0 0 var(--m-radius-card) var(--m-radius-card)}.budget-desktop-columns{grid-template-columns:var(--budget-name-column) repeat(3, minmax(0, 1fr));min-width:0;color:var(--color-text-muted);align-items:center;font-size:12px;display:grid}.budget-desktop-columns>:not(:first-child){text-align:right;padding-inline:2px 10px}.budget-desktop-columns>:nth-child(2){padding-right:28px}.budget-desktop-columns h3,.budget-desktop-columns strong{color:var(--color-ink);margin:0;padding:4px 12px;font-size:15px;font-weight:600}.budget-desktop-columns[data-received-only]{grid-template-columns:1fr auto}.budget-desktop-columns[data-received-only]>:last-child{padding-right:10px}.budget-desktop-section[data-income=received] [data-row-kind]>:last-child>:not(:nth-child(2)){display:none}.budget-desktop-section[data-income=received] [data-row-kind]>:last-child>:nth-child(2){width:100%}.budget-desktop-total{border-top:1px solid var(--color-border);min-height:46px;color:var(--color-ink)}.budget-desktop-total [data-amount]{font-family:var(--m-font-sans);font-variant-numeric:tabular-nums;font-weight:600}.budget-desktop-tools{justify-content:flex-end}.budget-desktop-row-progress{margin:-1px 12px 0 var(--budget-name-column)}.budget-desktop-row-progress .m-fc-meter{width:100%;height:2px}.budget-desktop-rail{overscroll-behavior:contain;min-width:0;max-height:calc(100dvh - 160px);position:sticky;top:8px;overflow-y:auto}.budget-desktop-tabs{gap:10px}.budget-desktop-tabs .m-tabs-tab{flex:1 1 0;justify-content:center;min-width:0;padding-inline:4px}.budget-desktop-group-stat{color:var(--color-text);gap:6px;padding:12px 0;font-size:12px;display:grid}.budget-desktop-group-stat+.budget-desktop-group-stat{border-top:1px solid var(--color-hairline)}.budget-desktop-group-stat>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.budget-desktop-group-stat strong{color:var(--color-ink);font-size:14px;font-weight:600}.budget-desktop-group-stat [data-negative]{color:var(--color-negative)}.budget-desktop-income{color:var(--color-text);gap:6px;padding:10px 0 4px;font-size:13px;display:grid}.budget-desktop-income-row{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.budget-desktop-income [data-amount],.budget-desktop-left-out [data-amount],.budget-desktop-group-stat [data-amount]{color:var(--color-ink);font-variant-numeric:tabular-nums;white-space:nowrap}.budget-desktop-group-stat [data-negative] [data-amount]{color:inherit}.budget-desktop-math-total{border-top:1px solid var(--color-border);justify-content:space-between;gap:10px;padding-top:6px;font-weight:600;display:flex}.budget-desktop-income-row{border-top:1px solid var(--color-hairline);align-items:center;padding-top:6px}.budget-desktop-income-row>span{gap:2px;min-width:0;display:grid}.budget-desktop-income-row strong{color:var(--color-ink);text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.budget-desktop-income-row small{color:var(--color-text-muted);font-size:12px}.budget-desktop-empty{color:var(--color-text-muted);padding:10px 12px}@container (width<=860px){.budget-desktop-workspace{grid-template-columns:minmax(0,1fr)}.budget-desktop-rail{max-height:none;position:static}.budget-desktop-workspace[data-has-detail] .budget-desktop-rail{grid-row:1}}.budget-desktop-section [data-tone=positive]{--color-budget-positive:var(--color-positive)}.budget-desktop-left-out{color:var(--color-text);gap:6px;padding-top:10px;font-size:13px;display:grid}.budget-desktop-left-out-title{color:var(--color-text-muted);font-size:12px}