/* Gemeinsame Budgetansichten; kein eigener Navigations- oder Finanzzustand. */
.budget-analysis,.profile-budget-overview{min-width:0;display:grid;gap:16px}.budget-analysis .heading,.profile-budget-overview .heading{margin-bottom:0}.budget-analysis-metrics,.budget-analysis-charts,.profile-budget-metrics{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}.budget-analysis-charts .budget-time-card{grid-column:1/-1}.budget-analysis-metrics>.card,.budget-analysis-charts>.card,.profile-budget-overview>.card{min-width:0;margin:0}.profile-budget-metrics{margin:16px 0;gap:16px 24px}.profile-budget-metrics>div{min-width:0}.profile-budget-metrics dt{font-size:12px;color:var(--muted);line-height:1.45}.profile-budget-metrics dd{margin:6px 0 0;font-size:20px;font-weight:700;overflow-wrap:anywhere}.budget-analysis .metric,.profile-budget-overview .metric{font-size:clamp(24px,5vw,36px);overflow-wrap:anywhere}.budget-analysis-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}.budget-analysis-filters .field{margin-bottom:0;min-width:0}.budget-time-figure{margin:18px 0 8px}.budget-time-chart{display:block;width:100%;max-width:100%;height:auto;min-height:100px;overflow:visible}.budget-cost-line{fill:none;stroke:var(--teal-bright,#18a582);stroke-width:3;stroke-linejoin:round;stroke-linecap:round}.budget-cost-point{fill:var(--teal-bright,#18a582)}.budget-zero-line{stroke:var(--line,#d6dcd8);stroke-width:1}.budget-limit-line{stroke:var(--debt,#d34508);stroke-width:2;stroke-dasharray:7 5}.budget-chart-axis,.budget-chart-legend{display:flex;gap:12px;justify-content:space-between;font-size:12px;color:var(--muted);flex-wrap:wrap}.budget-chart-legend{justify-content:flex-start;margin:10px 0}.budget-cost-key:before,.budget-limit-key:before{content:"";display:inline-block;width:20px;margin-right:6px;border-top:3px solid var(--teal-bright,#18a582);vertical-align:middle}.budget-limit-key:before{border-top:2px dashed var(--debt,#d34508)}.budget-chart-data{margin-top:14px}.budget-table-scroll{width:100%;overflow:auto;overscroll-behavior:contain;margin:12px 0}.budget-table-scroll table{width:100%;border-collapse:collapse;font-size:13px}.budget-table-scroll th,.budget-table-scroll td{padding:12px 10px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line,#d6dcd8);overflow-wrap:anywhere}.budget-table-scroll th{font-weight:600;color:var(--muted)}.budget-table-scroll td .sub{display:block;margin-top:4px}.budget-distribution-row{margin:16px 0}.budget-distribution-row .oneline{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;min-width:0}.budget-distribution-row strong{min-width:0;overflow-wrap:anywhere}.budget-distribution-track{height:7px;margin-top:8px;background:var(--line,#e4e9e6);border-radius:10px;overflow:hidden}.budget-distribution-track>span{display:block;height:100%;background:var(--teal-bright,#18a582);border-radius:10px}.budget-distribution-track .budget-refund-bar{background:var(--muted,#70867f)}.budget-overrun{color:var(--error,#bd2d35);font-weight:600;margin:8px 0;font-size:13px}.budget-participant-detail{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid var(--line,#d6dcd8)}.budget-participant-detail>div{min-width:0}.budget-participant-detail>div>.sub{display:block;margin-top:5px}.budget-participant-detail button,.budget-participant-detail>.chip{flex-shrink:0}.profile-budget-overview details>summary,.budget-analysis details>summary{cursor:pointer;font-weight:600;line-height:1.5}.profile-budget-overview .actions{flex-wrap:wrap}.profile-budget-history,.profile-budget-proof{padding:14px 0}.profile-budget-proof p,.profile-budget-allocations p{line-height:1.6}.profile-budget-custom-period.hidden{display:none}.profile-budget-overview h2 .profile-label{font-size:inherit}
@media(max-width:480px){.budget-analysis-metrics,.budget-analysis-charts{grid-template-columns:minmax(0,1fr)}.profile-budget-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.profile-budget-metrics dd{font-size:18px}.budget-participant-detail{align-items:flex-start;flex-wrap:wrap}.budget-table-scroll table{font-size:12px;min-width:420px}.budget-table-scroll th,.budget-table-scroll td{padding:10px 8px}.budget-analysis-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-analysis-filters>.field:last-child{grid-column:1/-1}}

.budget-distribution-track{display:block;width:100%;background:none}.budget-track-background{fill:var(--line)}.budget-distribution-value{fill:var(--teal-bright)}.budget-distribution-value.budget-refund-bar{fill:var(--muted)}
