[data-budget-root]{--budget-muted:#5b7484;font-size:14px;line-height:1.6;min-width:0}[data-budget-root] h1{font-size:34px}[data-budget-root] h2{font-size:20px;line-height:1.35}[data-budget-root] h3{font-size:15px;line-height:1.4}[data-budget-root] .eyebrow{font-size:11px}[data-budget-root] .button{font-size:12px;min-height:40px;padding:10px 14px}[data-budget-root] .button.small{font-size:12px;min-height:35px;padding:7px 11px}[data-budget-root] .text-link{font-size:12px}[data-budget-root] .form-field{font-size:13px;line-height:1.5;margin:0;min-width:0}[data-budget-root] input,[data-budget-root] select,[data-budget-root] textarea{font-size:14px;line-height:1.5;min-height:43px;border:1px solid #cddae3;background:white;border-radius:8px;padding:10px 12px;color:var(--ink);width:100%;min-width:0}[data-budget-root] textarea{min-height:92px;resize:vertical}[data-budget-root] input[type=checkbox]{width:18px;min-height:18px;accent-color:var(--violet)}[data-budget-root] small{font-size:12px;line-height:1.6;color:var(--budget-muted)}[data-budget-root] p{line-height:1.65}.budget-heading{align-items:flex-start;margin-bottom:21px}.budget-heading p{font-size:14px;max-width:720px;color:var(--budget-muted)}.budget-heading-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;padding-top:10px}.budget-scope-badge{display:inline-flex;gap:8px;align-items:center;border:1px solid #d9e4eb;border-radius:25px;background:white;padding:7px 13px;font-size:12px;max-width:100%;overflow-wrap:anywhere}.budget-scope-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--violet);flex:none}.budget-tabs{display:flex;border-bottom:1px solid #dbe5ec;gap:25px;margin-bottom:25px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}.budget-tabs a{position:relative;padding:12px 1px 14px;color:#647e8d;font-size:13px;font-weight:650}.budget-tabs a[aria-current=page]{color:var(--violet)}.budget-tabs a[aria-current=page]:after{content:'';height:3px;background:var(--violet);position:absolute;bottom:0;left:0;right:0;border-radius:3px 3px 0 0}.budget-truth{display:flex;gap:11px;align-items:flex-start;background:#f0f3fb;border:1px solid #e2e6f3;padding:13px 17px;border-radius:11px;color:#536f82;font-size:12px;margin:0 0 23px}.budget-truth>span{font-size:20px;line-height:1.4;color:var(--violet)}.budget-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:13px;margin:0 0 23px}.budget-toolbar .form-field{flex:1;min-width:150px;max-width:270px}.budget-toolbar .form-field.budget-search{max-width:none}.budget-toolbar select,.budget-toolbar input{background:white}.budget-toolbar .budget-view-switch{display:flex;gap:3px;background:#eaf0f5;border-radius:9px;padding:4px}.budget-view-switch button{border:0;background:transparent;border-radius:6px;padding:8px 12px;font-size:12px;min-height:34px}.budget-view-switch button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #052b4214;color:var(--violet)}.budget-section-title{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:19px}.budget-section-title p{font-size:13px;color:var(--budget-muted);margin-top:6px}.budget-section-title h2{margin:0}.budget-panel{padding:25px;border:1px solid #dfe7ed;border-radius:15px;background:white;min-width:0}.budget-panel+.budget-panel{margin-top:20px}.budget-empty{padding:45px 25px;text-align:center;border:1px dashed #cbd9e4;border-radius:14px;background:#fff}.budget-empty>span{display:grid;place-items:center;width:57px;height:57px;margin:0 auto 20px;background:#eeebff;color:var(--violet);font-size:30px;border-radius:17px}.budget-empty h2{margin-bottom:12px}.budget-empty p{max-width:550px;margin:0 auto 23px;color:var(--budget-muted);font-size:14px}.budget-empty .button+.button{margin-left:9px}.budget-loading{padding:45px;background:white;border:1px solid #e0e8ef;border-radius:15px;color:#5c7584}.budget-error{border:1px solid #eccbc3;background:#fff5f0;padding:19px 21px;border-radius:12px;margin:0 0 22px;font-size:13px;color:#763f32}.budget-error p{margin:7px 0 15px}.budget-error .button{margin:0 7px 5px 0}.budget-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:23px}.budget-kpi{border:1px solid #dce5ec;background:white;border-radius:12px;padding:20px;min-width:0}.budget-kpi>span{font-size:12px;color:#617987;display:block}.budget-kpi strong{display:block;margin:8px 0;font-size:28px;letter-spacing:-1px;font-variant-numeric:tabular-nums;line-height:1.3;overflow-wrap:anywhere}.budget-kpi p{font-size:12px;color:var(--budget-muted)}.budget-kpi.budget-kpi-primary{background:var(--navy);border-color:var(--navy);color:white}.budget-kpi-primary>span,.budget-kpi-primary p{color:#bfced7}.budget-kpi-primary strong{color:var(--lime)}.budget-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:21px;margin-bottom:23px}.budget-grid>.budget-panel{margin:0}.budget-attention{display:grid;gap:10px}.budget-attention-item{display:flex;align-items:flex-start;gap:13px;padding:16px;border-radius:11px;background:#f7f9fb;border:1px solid #e7edf1}.budget-attention-item>span{display:grid;place-items:center;flex:none;width:30px;height:30px;border-radius:9px;background:#ebe8ff;color:var(--violet);font-weight:700}.budget-attention-item.warning{background:#fffaf0;border-color:#f0e3c8}.budget-attention-item.warning>span{background:#faebc9;color:#946120}.budget-attention-item.critical{background:#fff6f1;border-color:#f0d6cc}.budget-attention-item.critical>span{background:#f8e4db;color:#a34d38}.budget-attention-item>div{min-width:0;flex:1}.budget-attention-item h3{font-size:14px}.budget-attention-item p{font-size:12px;color:var(--budget-muted);margin-top:5px}.budget-attention-item .text-link{display:inline-block;margin-top:8px;background:none;border:0;padding:0;text-align:left}.budget-signal-count{font-size:12px;background:#efedff;color:#5046c4;border-radius:20px;padding:4px 10px;font-weight:650}.budget-breakdown{display:grid;gap:16px}.budget-breakdown-row>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:13px;margin-bottom:7px}.budget-breakdown-row b{font-variant-numeric:tabular-nums;font-weight:650}.budget-bar{height:8px;border-radius:6px;background:#edf1f5;overflow:hidden}.budget-bar>i{display:block;height:100%;background:#7468ed;border-radius:6px;max-width:100%}.budget-bar.reserve>i{background:#bfd748}.budget-breakdown-row small{display:block;margin-top:5px}.budget-footnote{font-size:12px;color:var(--budget-muted);margin-top:17px;padding-top:15px;border-top:1px solid #e7edf1}.budget-table-wrap{overflow-x:auto;scrollbar-width:thin}.budget-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}.budget-table th{font-size:11px;color:#627c8b;text-transform:uppercase;letter-spacing:.6px;font-weight:650;padding:12px 12px;background:#f7f9fc;white-space:nowrap;border-bottom:1px solid #e4eaf0}.budget-table td{padding:16px 12px;border-bottom:1px solid #e6edf2;vertical-align:top;font-variant-numeric:tabular-nums}.budget-table tr:last-child td{border-bottom:0}.budget-table th:first-child,.budget-table td:first-child{padding-left:0}.budget-table th:first-child{padding-left:12px}.budget-table td strong{display:block;min-width:150px;max-width:340px;font-size:13px;overflow-wrap:anywhere}.budget-table td small{display:block;margin-top:5px;max-width:280px}.budget-table .numeric{text-align:right;white-space:nowrap}.budget-table button.budget-row-link{color:var(--violet);padding:0;border:0;background:none;text-align:left;font:inherit;font-weight:650}.budget-chip{display:inline-flex;align-items:center;border-radius:20px;padding:3px 9px;font-size:11px;line-height:1.6;white-space:nowrap;background:#eef2f5;color:#5e7685}.budget-chip.good{background:#e8f2e9;color:#347140}.budget-chip.warning{background:#fcf0d7;color:#865c19}.budget-chip.critical{background:#fce7df;color:#9c4634}.budget-chip.purple{background:#eeebff;color:#5748c4}.budget-campaign-list{display:grid;gap:15px}.budget-campaign-card{background:white;border:1px solid #dfe7ed;border-radius:14px;overflow:hidden}.budget-campaign-card>header{padding:21px 23px;display:flex;gap:15px;align-items:flex-start;justify-content:space-between}.budget-campaign-card header h2{font-size:18px}.budget-campaign-card header p{font-size:12px;color:#5e7888;margin-top:7px}.budget-campaign-card .budget-card-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fafbfd;border-top:1px solid #e7edf2;gap:17px;padding:17px 23px}.budget-card-metrics span{display:block;color:#627a89;font-size:11px}.budget-card-metrics strong{display:block;font-size:17px;line-height:1.5;margin-top:5px;font-variant-numeric:tabular-nums}.budget-card-metrics p{font-size:11px;color:#617d8a}.budget-card-footer{display:flex;flex-wrap:wrap;gap:11px;align-items:center;justify-content:space-between;padding:15px 23px;border-top:1px solid #e7edf2}.budget-card-footer p{font-size:12px;color:var(--budget-muted)}.budget-card-footer .heading-actions{margin:0}.budget-request-list{display:grid;gap:13px}.budget-request{padding:22px;border:1px solid #dce6ec;border-radius:12px;background:white}.budget-request>header{display:flex;gap:15px;align-items:flex-start;justify-content:space-between}.budget-request h2{font-size:17px}.budget-request>p{font-size:13px;color:var(--budget-muted);margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}.budget-request .budget-request-amount{font-size:24px;letter-spacing:-.6px;margin-top:10px;font-weight:700}.budget-request-meta{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:var(--budget-muted);margin:14px 0}.budget-request-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.budget-drawer{padding:0;border:1px solid #dce6ed;border-radius:19px;width:min(900px,calc(100vw - 35px));max-height:calc(100dvh - 40px);overflow-y:auto;color:var(--ink);background:#fff;box-shadow:0 30px 100px #052b4240}.budget-drawer::backdrop{background:#052b427a;backdrop-filter:blur(3px)}.budget-drawer-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:26px 29px;border-bottom:1px solid #e4eaf0;background:#fcfdff;position:sticky;top:0;z-index:2}.budget-drawer-header h2{font-size:24px;margin-top:3px}.budget-drawer-header p{color:var(--budget-muted);font-size:13px;margin-top:7px;max-width:670px}.budget-drawer-header .eyebrow{margin:0}.budget-drawer-header .icon-button{flex:none;background:white}.budget-drawer-body{padding:27px 29px}.budget-drawer-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid #e3eaf0;padding:18px 29px;background:#f9fbfd}.budget-fields{display:grid;grid-template-columns:1fr 1fr;gap:19px}.budget-field-wide{grid-column:1/-1}.budget-fields .form-field>small{font-weight:400;display:block;margin-top:6px}.budget-fields .form-field>input,.budget-fields .form-field>select,.budget-fields .form-field>textarea{display:block;margin-top:7px}.budget-form-section{margin:24px 0 16px;padding-top:20px;border-top:1px solid #e4ecf1}.budget-form-section h3{margin-bottom:7px}.budget-form-section p{font-size:13px;color:var(--budget-muted)}.budget-form-error{padding:13px 16px;background:#fff2ec;color:#914937;border:1px solid #edd4c7;border-radius:9px;margin-bottom:19px;font-size:13px}.budget-form-note{padding:14px 17px;border:1px solid #e2e5f1;border-radius:10px;background:#f5f4ff;font-size:13px;color:#5d6080;margin-bottom:21px}.budget-check{display:flex;gap:11px;align-items:flex-start;font-size:13px;line-height:1.6;padding:15px 0}.budget-check input{flex:none;margin-top:4px}.budget-draft-indicator{display:flex;gap:8px;align-items:center;margin-bottom:16px;font-size:12px;color:#6b5dad}.budget-draft-indicator:before{content:'';width:6px;height:6px;border-radius:50%;background:#8a75ed}.budget-draft-banner{display:flex;gap:15px;flex-wrap:wrap;justify-content:space-between;align-items:center;background:#f0edff;border:1px solid #dcd5f8;padding:15px 18px;border-radius:12px;margin-bottom:22px;font-size:13px}.budget-draft-banner .heading-actions{margin:0}.budget-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.budget-detail-grid>div{padding:15px;background:#f7f9fc;border-radius:10px;min-width:0}.budget-detail-grid dt{font-size:12px;color:var(--budget-muted)}.budget-detail-grid dd{font-size:14px;font-weight:600;margin:6px 0 0;overflow-wrap:anywhere}.budget-chart{width:100%;height:auto;display:block;margin:15px 0 0;overflow:visible}.budget-chart text{font-family:inherit;font-size:12px;fill:#687f8d}.budget-chart-legend{display:flex;gap:20px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--budget-muted)}.budget-chart-legend span:before{content:'';display:inline-block;width:17px;height:3px;background:#7768ee;vertical-align:middle;margin-right:7px}.budget-chart-legend span:last-child:before{height:7px;width:7px;border-radius:50%;background:#123f52}.budget-history{list-style:none;padding:0;margin:0}.budget-history li{padding:19px 0;border-bottom:1px solid #e3ebf1;display:flex;gap:15px}.budget-history li:last-child{border:0}.budget-history-mark{flex:none;width:30px;height:30px;background:#efecff;border-radius:9px;color:var(--violet);display:grid;place-items:center}.budget-history strong{font-size:13px}.budget-history p{font-size:12px;color:var(--budget-muted);margin-top:6px}.budget-history details{margin-top:9px;font-size:12px}.budget-history summary{color:var(--violet);cursor:pointer}.budget-review-changes{display:grid;gap:10px;margin-top:16px}.budget-review-changes>div{display:flex;gap:10px;align-items:center;justify-content:space-between;border:1px solid #e0e8ee;padding:13px 15px;border-radius:9px;font-size:13px}.budget-review-changes b{font-variant-numeric:tabular-nums}.budget-review-changes span{color:var(--budget-muted)}.budget-csv-drop{padding:24px;border:1px dashed #bfcde3;background:#fafbff;border-radius:12px;margin:17px 0}.budget-csv-drop label{font-weight:600}.budget-csv-drop input{margin-top:10px;background:white}.budget-csv-review{margin-top:19px}.budget-csv-errors{font-size:13px;color:#954735;max-height:230px;overflow:auto}.budget-allocation-row{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:17px;align-items:end;margin:14px 0}.budget-allocation-row small{display:block}.budget-drawer .budget-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-inline-actions{display:flex;gap:8px;flex-wrap:wrap}.budget-actuals-warning{margin:14px 0;padding:15px;border-left:3px solid #bea04f;background:#fffaf0;font-size:13px;color:#806332}.budget-muted{color:var(--budget-muted)}.budget-detail-section{margin-top:27px}.budget-detail-section h3{margin-bottom:12px}.budget-confirm-amount{font-size:32px;letter-spacing:-1px;color:var(--navy);padding:8px 0 20px;font-weight:700}.budget-subheading{font-size:13px;color:var(--budget-muted);margin:5px 0 20px}.budget-nowrap{white-space:nowrap}.budget-refresh{margin-left:auto}.budget-scope-note{font-size:12px;color:#617987;margin:12px 0 22px}.budget-spinner{display:inline-block;width:14px;height:14px;border:2px solid #dbd5f6;border-top-color:#5d52f6;border-radius:50%;animation:budget-spin 1s linear infinite;margin-right:7px;vertical-align:middle}@keyframes budget-spin{to{transform:rotate(360deg)}}
@media(min-width:1500px){.budget-kpi strong{font-size:31px}}
@media(max-width:1120px){.budget-grid{grid-template-columns:1fr}.budget-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-kpi strong{font-size:26px}.budget-heading{display:block}.budget-heading-actions{padding-top:18px}.budget-toolbar .form-field{max-width:none}.budget-campaign-card .budget-card-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.budget-refresh{margin-left:0}}
@media(max-width:720px){[data-budget-root] h1{font-size:29px}[data-budget-root] .page-heading p{font-size:13px}.budget-tabs{gap:22px;margin-bottom:20px}.budget-tabs a{font-size:12px}.budget-panel{padding:20px 17px}.budget-kpis{gap:10px}.budget-kpi{padding:16px}.budget-kpi strong{font-size:24px}.budget-kpi p,.budget-kpi>span{font-size:11px}.budget-heading-actions{gap:8px}.budget-heading-actions .button{font-size:11px}.budget-toolbar{gap:11px}.budget-toolbar .form-field{min-width:calc(50% - 11px)}.budget-toolbar .budget-view-switch{width:100%}.budget-toolbar .budget-view-switch button{flex:1}.budget-truth{padding:12px;font-size:11px}.budget-drawer{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:14px}.budget-drawer-header{padding:21px 18px}.budget-drawer-header h2{font-size:22px}.budget-drawer-body{padding:21px 18px}.budget-drawer-actions{padding:16px 18px}.budget-fields{grid-template-columns:1fr;gap:17px}.budget-field-wide{grid-column:auto}.budget-detail-grid{grid-template-columns:1fr}.budget-empty{padding:32px 18px}.budget-empty p{font-size:13px}.budget-campaign-card>header{padding:19px 17px;display:block}.budget-campaign-card>header .budget-chip{margin-top:12px}.budget-campaign-card .budget-card-metrics{padding:17px;gap:15px}.budget-card-footer{padding:15px 17px}.budget-card-footer .heading-actions{justify-content:flex-start}.budget-table{min-width:650px}.budget-request{padding:18px}.budget-request>header{display:block}.budget-request>header .budget-chip{margin-top:12px}.budget-section-title{align-items:flex-start}.budget-allocation-row{grid-template-columns:1fr 110px;gap:10px}.budget-drawer .budget-kpis{gap:9px}.budget-drawer .budget-kpi{padding:13px}.budget-drawer .budget-kpi strong{font-size:23px}.budget-draft-banner .heading-actions{justify-content:flex-start}.budget-scope-badge{font-size:11px}.budget-request-actions .button{white-space:normal}.budget-review-changes>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.budget-spinner{animation:none}}
.budget-analyst form{max-width:920px}.budget-analyst .form-field{display:block}.budget-analyst textarea{display:block;margin-top:8px;min-height:95px}.budget-analyst-answer{max-width:900px;border-top:1px solid #e2e9ee;margin-top:26px;padding-top:23px;font-size:14px;line-height:1.8}.budget-analyst-answer>p{margin:13px 0}.budget-analyst-answer>p:first-child{padding:19px 22px;border-radius:12px;background:#f1efff;font-size:16px;line-height:1.75}.budget-analyst-answer h3{margin:23px 0 12px}.budget-analyst-answer li{margin:11px 0;padding-left:4px}.budget-analyst-answer details{margin-top:23px;border:1px solid #e2e8ee;border-radius:10px;padding:15px}.budget-analyst-answer summary{color:var(--violet);font-size:12px;cursor:pointer}.budget-analyst-answer details section{padding-top:12px}.budget-citation{display:inline-block;padding:0 5px;min-width:18px;min-height:20px;font-size:10px;line-height:1.7;background:#e9e4ff;color:#5942be;border:0;border-radius:5px;margin:0 3px;vertical-align:super}.budget-import-launch{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 22px}.budget-import-launch p{margin:0;max-width:520px}.budget-periods{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:11px}.budget-period{background:#f7f8fd;border:1px solid #e3e7f2;border-radius:10px;padding:15px}.budget-period>span{font-size:12px;color:#617987}.budget-period strong{font-size:21px;display:block;margin:7px 0}.budget-period small{display:block}.budget-period-mode{display:flex;gap:4px}.budget-period-mode button{border:1px solid #dce4ec;background:white;font-size:12px;padding:7px 12px;border-radius:7px}.budget-period-mode button[aria-pressed=true]{color:var(--violet);border-color:#aea4f0;background:#f5f3ff}@media(max-width:720px){.budget-import-launch{display:block}.budget-import-launch p{margin-top:12px}.budget-analyst-answer>p:first-child{padding:17px;font-size:15px}.budget-periods{grid-template-columns:1fr 1fr}}
.budget-funding-impact{border:1px solid #e1e6f0;border-radius:12px;margin:14px 0;padding:18px;background:#fafaff}.budget-funding-impact .budget-review-changes{margin-top:10px}.budget-funding-impact .budget-review-changes>div{background:white}.budget-funding-impact small{display:block;margin-top:11px}
.budget-chip.unassigned{background:#eeebff;color:#5948a5;border:1px solid #ddd5f4}.budget-unassigned-note{display:flex;align-items:flex-start;gap:13px;padding:17px 19px;margin:-5px 0 23px;border:1px solid #ded9ef;border-radius:12px;background:#f7f5fd;color:#47586b;font-size:13px}.budget-unassigned-note>span{font-size:23px;line-height:1.3;color:#7160ba;flex:none}.budget-unassigned-note>div{flex:1;min-width:0}.budget-unassigned-note p{font-size:12px;color:var(--budget-muted);margin-top:5px}.budget-unassigned-note>a{flex:none;margin-top:3px;white-space:nowrap}.budget-period.incomplete{border-style:dashed;border-color:#c8bfe5;background:#f9f7fd}.budget-period p{font-size:12px;color:#66558b;margin-top:9px;padding-top:9px;border-top:1px solid #e5dfef}.budget-campaign-notes{padding:18px 20px;border:1px solid #e1e7ed;border-radius:11px;background:#f9fbfd}.budget-campaign-notes p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;color:#526d7f}.budget-child-subtotal{font-size:13px;color:#66558b;margin-top:15px;padding:13px 15px;background:#f7f4fd;border-radius:9px}@media(max-width:720px){.budget-unassigned-note{flex-wrap:wrap;padding:15px}.budget-unassigned-note>a{margin-left:36px}.budget-period strong{font-size:20px;overflow-wrap:anywhere}}

.budget-period:only-child{grid-column:1/-1}@media(max-width:720px){.budget-unassigned-note>div{flex:1 1 calc(100% - 40px)}.budget-unassigned-note>a{flex-basis:calc(100% - 36px)}.budget-period-panel .budget-section-title{flex-wrap:wrap}.budget-period-panel .budget-section-title>div:first-child{flex-basis:100%}}

.budget-reported-subtotal{border:1px dashed #cbd8e5;border-radius:10px;background:#f7fafc;padding:13px 15px}.budget-coverage-note p+p{margin-top:8px}.budget-coverage-note strong{color:#365365;font-weight:650}

/* Keep long campaign identifiers inside their own column or card. */
.budget-table-wrap{max-width:100%;min-width:0;overscroll-behavior-x:contain}
.budget-table{table-layout:fixed;min-width:760px}
.budget-table th,.budget-table td{white-space:normal;overflow-wrap:anywhere}
.budget-table td strong{min-width:0;max-width:none;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
.budget-table td small{white-space:normal;overflow-wrap:anywhere}
.budget-table button.budget-row-link{display:block;width:100%;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.55}
.budget-campaign-table{min-width:1080px}
.budget-campaign-table th:first-child{width:32%}
.budget-campaign-table th:nth-child(2){width:10%}
.budget-campaign-table th:nth-child(3),.budget-campaign-table th:nth-child(5){width:13%}
.budget-campaign-table th:nth-child(4),.budget-campaign-table th:nth-child(6){width:16%}
.budget-campaign-table td:first-child{padding-right:24px}
.budget-table .budget-row-link:focus-visible,.budget-child-header .budget-row-link:focus-visible{outline:2px solid var(--violet);outline-offset:4px;border-radius:3px}
.budget-campaign-card>header>div,.budget-drawer-header>div,.budget-request>header>div,.budget-section-title>div{min-width:0}
.budget-campaign-card h2,.budget-campaign-card header p,.budget-drawer-header h2,.budget-drawer-header p,.budget-card-footer p,.budget-kpi p,.budget-request h2,.budget-history strong,.budget-history p,.budget-allocation-row>div{white-space:normal;overflow-wrap:anywhere}
.budget-card-metrics>div{min-width:0}
.budget-card-metrics strong{overflow-wrap:anywhere}
.budget-card-metrics small{display:block;font-size:11px;font-weight:400;line-height:1.6;color:var(--budget-muted);margin-top:5px;overflow-wrap:anywhere}
.budget-drawer-header .icon-button{align-self:flex-start}
.budget-campaign-detail{width:min(1040px,calc(100vw - 40px))}

/* A full-width name and separate metric cells replace the cramped child table. */
.budget-child-list{display:grid;gap:15px;min-width:0}
.budget-child-card{min-width:0;border:1px solid #dce5ed;border-radius:12px;background:#fff;overflow:hidden}
.budget-child-header{padding:18px 20px 8px;min-width:0}
.budget-child-header .budget-row-link{display:block;min-width:0;max-width:100%;padding:0;border:0;background:none;color:var(--violet);text-align:left;white-space:normal;overflow-wrap:anywhere;font:inherit;font-size:14px;font-weight:650;line-height:1.6}
.budget-child-header .budget-row-link strong{font:inherit;white-space:normal;overflow-wrap:anywhere}
.budget-child-header p{font-size:12px;color:var(--budget-muted);margin:6px 0 0;overflow-wrap:anywhere}
.budget-child-meta{display:flex;flex-wrap:wrap;gap:5px 14px;margin:0;padding:0 20px 16px;font-size:12px;color:var(--budget-muted);line-height:1.55;overflow-wrap:anywhere}
.budget-child-meta span{min-width:0;overflow-wrap:anywhere}
.budget-child-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f7f9fc;border-top:1px solid #e2e9f0}
.budget-child-metrics>div{min-width:0;padding:15px 20px;border-right:1px solid #e2e9f0}
.budget-child-metrics>div:last-child{border-right:0}
.budget-child-metrics>div>span:first-child{display:block;font-size:11px;line-height:1.5;color:var(--budget-muted);margin-bottom:7px}
.budget-child-metrics strong{display:block;min-width:0;font-size:17px;font-weight:650;line-height:1.5;letter-spacing:-.15px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.budget-child-metrics small{display:block;margin-top:4px;font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.budget-child-metrics .budget-chip{max-width:100%;white-space:normal;line-height:1.45;font-weight:500;font-size:11px;letter-spacing:0}
.budget-child-metrics .budget-chip.unassigned{font-size:12px}
.budget-detail-grid small{display:block;font-weight:400;margin-top:5px;overflow-wrap:anywhere}
@media(max-width:720px){
 .budget-campaign-detail{width:calc(100vw - 20px)}
 .budget-campaign-detail .budget-drawer-header{position:static;gap:12px}
 .budget-campaign-detail .budget-drawer-header h2{font-size:20px;line-height:1.45}
 .budget-child-header{padding:16px 16px 8px}
 .budget-child-header .budget-row-link{font-size:13px}
 .budget-child-meta{gap:5px 10px;padding:0 16px 14px}
 .budget-child-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .budget-child-metrics>div{padding:13px 15px}
 .budget-child-metrics>div:nth-child(2){border-right:0}
 .budget-child-metrics>div:nth-child(n+3){border-top:1px solid #e2e9f0}
 .budget-child-metrics strong{font-size:16px}
}

/* Channel-first budget navigation keeps optional detail out of the main scan. */
.budget-allocation-page .budget-heading{margin-bottom:12px}.budget-allocation-page .budget-heading .eyebrow{display:none}.budget-allocation-page h1{font-size:28px}.budget-allocation-page .budget-heading p{font-size:13px;margin-top:6px}.budget-allocation-page .budget-heading-actions{padding-top:0}.budget-allocation-page .budget-scope-badge{display:none}.budget-allocation-page .budget-tabs{margin-bottom:17px}.budget-allocation-page .budget-tabs a{padding-top:8px;padding-bottom:10px}.budget-allocation-page .budget-toolbar{margin-bottom:10px}.budget-allocation-page .budget-scope-note{margin:8px 0 17px}.budget-allocation-page .budget-kpi{padding:17px 18px}.budget-allocation-page .budget-kpi strong{font-size:26px}.budget-allocation-page .budget-kpi p{font-size:11px;margin-top:7px}.budget-allocation-page .budget-kpis{margin-bottom:18px}.budget-allocation-page .budget-unassigned-note{padding:12px 15px;margin-bottom:18px}.budget-allocation-page .budget-truth{margin-top:22px}
.budget-plan-management{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:4px 0 19px}
.budget-plan-management>div{min-width:0}.budget-plan-management h2{font-size:19px;overflow-wrap:anywhere}.budget-plan-management p{font-size:12px;color:var(--budget-muted);margin-top:5px}
.budget-allocation-browser{padding:23px;min-width:0}.budget-list-toolbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:20px}.budget-list-toolbar .budget-search{flex:1 1 260px;min-width:0}.budget-list-toolbar input{display:block;margin-top:7px;width:100%}.budget-list-toolbar .button{min-height:38px}
.budget-channel-list{display:grid;gap:13px;min-width:0}.budget-channel{border:1px solid #dbe5ec;border-radius:13px;background:#fff;min-width:0;overflow:hidden}.budget-channel>summary{display:grid;grid-template-columns:18px minmax(120px,1fr) minmax(150px,.8fr) minmax(150px,.8fr);gap:16px;align-items:center;padding:19px 20px;cursor:pointer;list-style:none;background:#f7f9fc}.budget-channel>summary::-webkit-details-marker,.budget-allocation-disclosure>summary::-webkit-details-marker{display:none}.budget-channel>summary:focus-visible,.budget-allocation-disclosure>summary:focus-visible,.budget-plan-context>summary:focus-visible{outline:2px solid var(--violet);outline-offset:-3px;border-radius:10px}.budget-disclosure{font-size:24px;line-height:1;font-weight:500;color:#7868d9;transition:transform .15s}.budget-channel[open]>summary>.budget-disclosure,.budget-allocation-disclosure[open]>summary>.budget-disclosure{transform:rotate(90deg)}
.budget-channel-title,.budget-channel-stat,.budget-allocation-name,.budget-allocation-value{min-width:0}.budget-channel-title>strong{display:block;font-size:18px}.budget-channel-title small,.budget-channel-stat small,.budget-allocation-name small,.budget-allocation-value small{display:block;font-size:11px;line-height:1.6;color:var(--budget-muted);overflow-wrap:anywhere}.budget-channel-stat>strong{display:block;margin-top:4px;font-size:18px;line-height:1.45;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.budget-channel-stat>small:last-child:not(:first-child){margin-top:3px}.budget-channel-content{padding:16px;background:#fff;border-top:1px solid #dfe6ee}.budget-channel-context{font-size:12px;color:#626580;line-height:1.65;margin:0 0 13px;padding:11px 13px;background:#f5f3ff;border-radius:8px}.budget-channel-content>.budget-footnote{margin-top:14px;font-size:11px}
.budget-allocation-entry{border-radius:10px;margin-bottom:10px}.budget-allocation-entry:last-of-type{margin-bottom:0}.budget-allocation-disclosure>summary{display:grid;grid-template-columns:15px minmax(180px,1.7fr) minmax(115px,.65fr) minmax(125px,.7fr) minmax(100px,.6fr);gap:15px;align-items:start;padding:16px;cursor:pointer;list-style:none}.budget-allocation-disclosure>summary>.budget-disclosure{margin-top:22px;font-size:21px}.budget-entry-kind{display:block;color:#758597;font-size:10px;letter-spacing:.6px;line-height:1.5;margin-bottom:3px}.budget-allocation-name>strong{display:block;font-size:13px;line-height:1.65;overflow-wrap:anywhere;white-space:normal;color:var(--navy)}.budget-allocation-name>small{margin-top:5px}.budget-allocation-value>strong{display:block;margin:4px 0 2px;font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.budget-allocation-pace{padding-top:19px;min-width:0}.budget-allocation-pace .budget-chip{white-space:normal;line-height:1.5;max-width:100%}.budget-row-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap;padding:9px 15px 12px;border-top:1px solid #edf1f5;background:#fcfdff}.budget-row-actions .button{font-size:11px;padding:7px 11px;min-height:32px}.budget-allocation-content{padding:0 16px 15px}.budget-allocation-context{border-top:1px solid #e8edf3;padding:12px 0 0}.budget-allocation-context p{font-size:11px;color:var(--budget-muted);line-height:1.65;overflow-wrap:anywhere}.budget-adgroup-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:17px 0 10px}.budget-adgroup-heading h3{font-size:13px;margin:0}.budget-adgroup-heading .button{font-size:11px}.budget-adgroup-list{min-width:0;border-left:2px solid #d9d2f2;padding-left:12px}.budget-allocation-entry.is-nested{border-color:#e2e7ef;background:#fbfcff}.budget-allocation-entry.is-nested .budget-allocation-disclosure>summary{grid-template-columns:15px minmax(130px,1.5fr) minmax(105px,.7fr) minmax(115px,.7fr);gap:12px}.budget-allocation-entry.is-nested .budget-allocation-pace{grid-column:2/-1;padding:0}.budget-allocation-hint{font-size:12px;color:var(--budget-muted);line-height:1.7;margin:12px 0 0}.budget-list-empty{padding:26px 18px;background:#f7f9fc;border:1px dashed #cedbe5;border-radius:12px;text-align:center}.budget-list-empty h3{font-size:16px}.budget-list-empty p{font-size:13px;color:var(--budget-muted);margin-top:8px}
.budget-plan-context{margin:23px 0;border-top:1px solid #dce5ed}.budget-plan-context>summary{padding:19px 0;font-size:14px;font-weight:600;color:var(--navy);cursor:pointer}.budget-plan-context .budget-grid{margin-top:9px}.budget-quick-context{padding:0 0 22px}.budget-quick-context>span{font-size:11px;color:var(--budget-muted)}.budget-quick-context h3{font-size:18px;line-height:1.6;margin:7px 0;overflow-wrap:anywhere}.budget-quick-context p{font-size:12px;color:var(--budget-muted);overflow-wrap:anywhere}.budget-quick-context+.budget-fields{margin-bottom:22px}.budget-detail-edit-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.budget-form-note p+p{margin-top:8px}
@media(max-width:1100px){.budget-channel>summary{grid-template-columns:16px minmax(100px,1fr) minmax(140px,1fr) minmax(140px,1fr);gap:12px}.budget-allocation-disclosure>summary{grid-template-columns:15px minmax(140px,1.5fr) minmax(110px,.7fr) minmax(120px,.7fr)}.budget-allocation-pace{grid-column:2/-1;padding:0}.budget-allocation-browser>.budget-section-title{flex-wrap:wrap}.budget-allocation-browser>.budget-section-title>.budget-inline-actions{width:100%}}
@media(max-width:720px){.budget-plan-management{align-items:flex-start;flex-wrap:wrap}.budget-allocation-browser{padding:18px 12px}.budget-list-toolbar{gap:8px}.budget-list-toolbar .budget-search{flex-basis:100%}.budget-list-toolbar .budget-view-switch{width:100%}.budget-channel>summary{grid-template-columns:15px minmax(0,1fr) minmax(0,1fr);padding:16px 13px;gap:12px}.budget-channel-title{grid-column:2/-1}.budget-channel>summary>.budget-disclosure{grid-row:1}.budget-channel-stat:nth-of-type(3){grid-column:2}.budget-channel-title>strong{font-size:17px}.budget-channel-stat>strong{font-size:15px}.budget-channel-content{padding:10px}.budget-allocation-disclosure>summary,.budget-allocation-entry.is-nested .budget-allocation-disclosure>summary{grid-template-columns:13px minmax(0,1fr) minmax(0,1fr);gap:11px;padding:13px 11px}.budget-allocation-name{grid-column:2/-1}.budget-allocation-disclosure>summary>.budget-disclosure{margin-top:20px;grid-row:1}.budget-allocation-value:nth-of-type(3){grid-column:2}.budget-allocation-value>strong{font-size:14px}.budget-allocation-name>strong{font-size:12px}.budget-allocation-content{padding:0 10px 12px}.budget-adgroup-list{padding-left:6px}.budget-row-actions{padding:9px;gap:6px}.budget-row-actions .button{font-size:11px;padding:7px 9px;flex:1}.budget-adgroup-heading{flex-wrap:wrap}.budget-channel-context{padding:10px;font-size:11px}.budget-allocation-entry.is-nested .budget-allocation-content{padding:0 8px 10px}.budget-channel-stat small,.budget-allocation-value small{font-size:10px}.budget-plan-context>summary{font-size:13px}}
@media(prefers-reduced-motion:reduce){.budget-disclosure{transition:none}}

.budget-live-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.budget-live-heading h3{margin:0 0 8px}.budget-live-heading p{margin:0;overflow-wrap:anywhere}.budget-live-editor{margin-top:18px;background:#f6f8fc;border:1px solid #d4e2ed;border-radius:14px;padding:20px;display:grid;gap:14px}.budget-live-editor h4,.budget-live-editor p{margin:0}.budget-live-editor select{width:100%;min-width:0;text-overflow:ellipsis}.budget-live-editor .heading-actions{flex-wrap:wrap}.budget-live-editor .form-field{min-width:0}[data-budget-spend-tools]{margin:20px 0;padding:20px;border:1px solid #d4e2ed;border-radius:14px;min-width:0}@media(max-width:650px){.budget-live-heading{flex-direction:column}.budget-live-editor,[data-budget-spend-tools]{padding:14px}}
