.project-budget-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}.project-budget-kpis .stat{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;min-width:0}.project-budget-kpis .stat>span{font-size:.85rem;color:var(--muted)}.project-budget-kpis .stat>strong{font-size:1.5rem;overflow-wrap:anywhere}.project-budget-kpis .stat>small{margin:0;line-height:1.5}.project-budget-kpis button{margin-top:auto}
.budget-toolbar .panel-head{align-items:flex-start;gap:16px;flex-wrap:wrap}.budget-toolbar h2{margin:0}.budget-toolbar .panel-head small{display:block;color:var(--muted);margin-top:6px}.budget-tools{display:flex;flex-wrap:wrap;gap:8px}.budget-tools button{font-size:.82rem}.budget-phase-nav{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 0}.budget-phase-nav button{font-size:.82rem;padding:8px 12px}.budget-overall{max-width:720px}.budget-toolbar .panel-body>p{margin:0 0 16px}
section.budget-phase>.budget-phase-heading{display:grid;grid-template-columns:1fr;gap:24px;padding:20px 24px;border-bottom:1px solid var(--border);align-items:center}.budget-phase-heading h3{font-size:1.15rem;margin:0 0 8px;color:var(--accent-text,var(--brand-blue))}.budget-phase-heading small{color:var(--muted)}.budget-phase-heading .status{margin-left:8px}.budget-phase-heading:focus{outline:2px solid var(--brand-blue);outline-offset:-2px}.budget-phase-actions{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}.budget-phase-actions button{font-size:.8rem;padding:7px 10px}
.budget-phase .production-budget-table td:first-child strong{font-size:.95rem}.budget-phase .production-budget-table th{line-height:1.4}.budget-phase .production-budget-table input{color:var(--text-strong,var(--text));background:var(--surface)}.budget-phase .production-budget-table td:last-child{font-weight:600}.budget-phase .production-budget-table .production-transfer-button{font-size:.76rem;padding:7px 9px}
#project-finance-budget .project-dialog{width:min(1040px,94vw)}#project-finance-budget .project-dialog .panel{border:0;margin:0;box-shadow:none}#project-finance-budget .project-dialog .project-history article{padding:14px 0;border-bottom:1px solid var(--border)}#project-finance-budget .project-dialog .budget-person{min-width:0}#project-finance-budget .project-dialog h3{margin-top:14px}.budget-save{top:10px;bottom:auto;margin-bottom:22px;background:var(--surface);border-color:var(--accent-text,var(--brand-blue))}.budget-save .toolbar{margin-top:8px}.budget-save label{max-width:640px}
@media(max-width:1100px){.project-budget-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){section.budget-phase>.budget-phase-heading{grid-template-columns:1fr;gap:14px;padding:18px}.project-budget-kpis{gap:10px}.project-budget-kpis .stat{padding:14px}.project-budget-kpis .stat>strong{font-size:1.15rem}.budget-save{position:static}.budget-tools{gap:6px}}
.budget-toolbar>.panel-head{padding:18px 24px}.budget-toolbar>.panel-body{display:grid;grid-template-columns:minmax(280px,1fr) minmax(200px,1fr);gap:16px 24px;align-items:center;padding:18px 24px}.budget-toolbar .budget-phase-nav{margin:0;grid-column:1/-1;justify-content:flex-start}.budget-toolbar .panel-body>p,.budget-agreements{grid-column:1/-1}.budget-toolbar .panel-body>p{margin:0}.budget-phase-actions{margin:10px 0 0}.budget-phase>.panel-body{padding:0 24px 14px}.budget-phase .production-budget-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.budget-phase .production-budget-table td{padding:16px 14px}.budget-phase .production-budget-table th{padding:12px 14px}.project-budget-kpis .stat{padding:16px;gap:8px}.project-budget-kpis .stat>small{line-height:1.4}
@media(max-width:800px){.budget-toolbar>.panel-body{grid-template-columns:1fr}.budget-toolbar .budget-phase-nav{justify-content:flex-start}.budget-phase>.panel-body{padding:0 14px 12px}}

.budget-phase [data-project-times]{font-size:.75rem;white-space:normal;margin-top:5px}
