.ba-navigation{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 20px}.ba-navigation button{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:9px 18px;font-size:15px}.ba-navigation button[aria-pressed=true]{color:var(--crm-accent,#eb008b)!important;background:#fff0f8!important;border-color:#f0a5d0!important;box-shadow:inset 0 -3px var(--crm-accent,#eb008b)}.ba-navigation svg,.ba-button svg,.ba-heading svg,.ba-docs svg{width:22px;height:22px;flex:none}.budget-page[data-ba-mode]:not([data-ba-mode=budget])>:not(.ba-navigation):not(.ba-host){display:none!important}.budget-page[data-ba-mode=budget]>.ba-host{display:none!important}.ba-heading{margin-bottom:14px!important;padding:17px 20px!important;min-height:0!important;border-left:5px solid var(--crm-accent,#eb008b);background:linear-gradient(110deg,#fff1f8,#f9f7ff);border-radius:17px;border-top:1px solid #e7ddef;border-right:1px solid #e7ddef;border-bottom:1px solid #e7ddef}.ba-heading h2{display:flex;align-items:center;gap:12px;font-size:23px!important;margin:0!important}.ba-heading h2 svg{color:var(--crm-accent,#eb008b)}.ba-host .actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.ba-button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:11px 17px!important;font-size:14px!important;width:auto!important;height:auto!important;max-width:none!important;white-space:nowrap}.ba-hint{font-size:14px;color:#63718b;line-height:1.5;margin:13px 0 20px}.ba-hint span{color:var(--crm-accent,#eb008b)}.ba-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:20px 0}.ba-kpi{padding:18px 20px!important;border-top:4px solid var(--crm-accent,#eb008b)!important;background:#fff5fa}.ba-kpi-1{border-top-color:#7d56da!important;background:#f6f2ff}.ba-kpi-2{border-top-color:#2c9f89!important;background:#eff9f5}.ba-kpi>span{font-size:14px;font-weight:700;color:#39475f}.ba-kpi>strong{display:block;font-size:clamp(24px,2.5vw,34px);color:var(--crm-accent,#eb008b);margin-top:9px;white-space:nowrap}.ba-list{padding:0!important;overflow:hidden}.ba-table-scroll{overflow-x:auto}.ba-table{table-layout:auto!important;width:100%;border-collapse:collapse;min-width:850px}.ba-table th,.ba-table td{padding:17px 15px;vertical-align:middle;border-bottom:1px solid #e8e3f1;font-size:14px;text-align:center}.ba-table thead{background:#f1eff9;color:#53617b}.ba-table thead th{font-size:14px}.ba-table th:first-child{width:34%;text-align:left;font-weight:400;overflow-wrap:anywhere}.ba-table th:first-child strong,.ba-table th:first-child span,.ba-table th:first-child small,.ba-table td>small{display:block}.ba-table th:first-child strong{font-size:15px;margin:3px 0}.ba-table th:first-child small{color:#71809a;font-size:12px;margin:3px 0}.ba-table tbody tr:nth-child(even){background:#fcfbfe}.ba-money{font-weight:700;color:var(--crm-accent,#eb008b);white-space:nowrap}.ba-actions{display:flex;align-items:center;gap:7px;justify-content:center}.ba-icon{display:inline-flex!important;align-items:center;justify-content:center;width:37px!important;height:37px!important;min-width:37px!important;padding:7px!important;border-radius:10px!important}.ba-icon svg{width:21px!important;height:21px!important;margin:0!important}.ba-icon[data-ba=archive],.ba-icon[data-ba=detach]{color:#be315b!important}.ba-status{display:inline-block;padding:6px 10px;border-radius:8px;background:#f5efff;color:#6d45bc;font-size:12px;white-space:nowrap}.ba-status-paid{background:#eaf8ef;color:#247757}.ba-status-billed{background:#edf4ff;color:#3265a1}.ba-missing,.ba-proof{font-size:11px;color:#a33d70;white-space:nowrap;margin-top:7px}.ba-proof{color:#27876f}.ba-empty{padding:45px!important;color:#6c7890}.ba-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.ba-form-grid label{display:grid;gap:7px;font-size:14px}.ba-form-grid input,.ba-form-grid select,.ba-form-grid textarea{width:100%;box-sizing:border-box}.ba-full{grid-column:1/-1}.ba-preview{margin:18px 0;padding:13px 16px;background:#fdf0f8;border:1px solid #f1c6df;border-radius:12px;color:var(--crm-accent,#eb008b);font-weight:700;font-size:15px}.ba-form-grid+ .small{font-size:13px}.ba-doclist>div{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:10px 0;border-bottom:1px solid #e7e1ef}.ba-doclist a{display:flex;gap:10px;align-items:center;overflow-wrap:anywhere}.ba-docs form{margin-top:20px}.ba-docs button[type=submit]{display:inline-flex;align-items:center;gap:8px;width:auto!important;max-width:none!important;padding:12px 18px!important}.ba-removed p{display:flex;justify-content:space-between;align-items:center;gap:15px}.ba-floating{position:fixed;bottom:22px;right:100px;z-index:45;box-shadow:0 7px 22px #eb008b33}.budget-page:not([data-ba-mode=budget])~.budget-floating-add{display:none!important}@media(max-width:750px){.ba-kpis{grid-template-columns:1fr;gap:10px}.ba-kpi{padding:13px 16px!important}.ba-heading{display:flex;align-items:flex-start;flex-direction:column;gap:15px}.ba-heading h2{font-size:21px!important}.ba-form-grid{grid-template-columns:1fr}.ba-full{grid-column:auto}.ba-floating{right:24px;bottom:18px}.ba-hint{font-size:13px}.ba-navigation{gap:7px}.ba-navigation button{padding:9px 13px;font-size:14px}}
.ba-host{min-width:0;max-width:100%}html body #content .budget-page[data-ba-mode]:not([data-ba-mode=budget])>:not(.ba-navigation):not(.ba-host){display:none!important}html body #content .budget-page[data-ba-mode=budget]>.ba-host{display:none!important}html body #content .budget-page>.ba-navigation{margin:0!important}

.ba-sp-table{min-width:710px}.ba-sp-table th:first-child{width:36%}.ba-sp-table th:first-child a{font-weight:700;color:#354a68;text-decoration:none}.ba-sp-table th:first-child a:hover{color:var(--crm-accent,#eb008b);text-decoration:underline}.ba-sp-table .ba-sp-money,.ba-sp-table .ba-sp-margin{white-space:nowrap;font-variant-numeric:tabular-nums}.ba-sp-table .ba-sp-money{font-weight:600}.ba-sp-table .ba-sp-margin{color:#24775f;font-weight:700}.ba-sp-table .ba-sp-negative{color:#b82f52}.ba-sp-table td>small{display:block;color:#77849a;font-size:11px;font-weight:400;margin-top:5px}.ba-sp-table tfoot{background:#f4f1fa;font-weight:700;border-top:2px solid #d8cce8}.ba-sp-table .ba-sp-incomplete{color:#95652d}

.ba-sp-table .ba-sp-high{color:var(--crm-accent,#eb008b)}.ba-sp-table .ba-sp-low{color:#3265a1}

.ba-sp-table th:first-child .ba-sp-details{font-size:13px;line-height:1.5;font-weight:400;color:#61718a;margin:6px 0 0}

/* The budget subsections form one quieter, full-width secondary menu. */
html body main #content #crm-budget-local-navigation{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
html body main #content #crm-budget-local-navigation>button{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:7px 8px!important;border:1px solid #d9dfed!important;border-radius:8px!important;background:#fff!important;color:#405574!important;font:500 12px/1.3 Visby,Arial,sans-serif!important;white-space:normal!important;box-shadow:none!important}
html body main #content #crm-budget-local-navigation>button[aria-pressed=true]{background:#fff1f8!important;color:var(--crm-accent,#eb008b)!important;border-color:#f1b9db!important;box-shadow:none!important}html body main #content #crm-budget-local-navigation>button>svg{width:16px!important;height:16px!important;flex:0 0 16px!important;margin:0!important;padding:0!important}
@media(max-width:600px){html body main #content #crm-budget-local-navigation{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
