/* CK Metrics Budget scope-first layout */
/* Hide any cached legacy single-campus selector. The current View control below owns Budget scope. */
.budget-campus-control{display:none!important}

.budget-header-controls-v2{display:flex;align-items:center;gap:10px}.budget-scope-control{position:relative}.budget-scope-picker{position:relative}
.budget-scope-button{min-width:180px;height:46px;border:1px solid #cfdde3;background:#fff;border-radius:10px;padding:6px 34px 6px 12px;text-align:left;cursor:pointer;position:relative;box-shadow:0 3px 10px rgba(14,44,63,.04)}.budget-scope-button:hover{border-color:#abc2ca}.budget-scope-button span{display:block}.budget-scope-kicker{font-size:8px;font-weight:850;letter-spacing:.07em;text-transform:uppercase;color:#82949d}.budget-scope-button-text{font-size:12px;font-weight:850;color:#17394c;margin-top:2px}.budget-scope-chevron{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:15px;color:#708690}
.budget-scope-menu{position:absolute;right:0;top:53px;width:300px;z-index:100;background:#fff;border:1px solid #d8e3e7;border-radius:14px;box-shadow:0 18px 42px rgba(9,35,49,.17);overflow:hidden}.budget-scope-menu-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px 10px;border-bottom:1px solid #edf2f3}.budget-scope-menu-head strong{font-size:11px;color:#17394c}.budget-scope-menu-head button,.budget-scope-menu-foot button{border:0;background:none;color:#137c82;font-size:9px;font-weight:850;cursor:pointer}.budget-scope-group-label{padding:9px 16px 2px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#91a0a6}.budget-scope-options{display:grid;padding:3px 10px 8px}.budget-scope-options label,.budget-scope-central-option label{display:flex;align-items:center;gap:9px;padding:8px 6px;border-radius:8px;cursor:pointer;font-size:11px;font-weight:750;color:#34515f}.budget-scope-options label:hover,.budget-scope-central-option label:hover{background:#f5f8f9}.budget-scope-options input,.budget-scope-central-option input{accent-color:#188b8c}.budget-scope-central-option{border-top:1px solid #edf2f3;padding:0 10px 8px}.budget-scope-central-option label>span{display:block}.budget-scope-central-option label strong,.budget-scope-central-option label small{display:block}.budget-scope-central-option label strong{font-size:11px}.budget-scope-central-option label small{font-size:8px;font-weight:650;color:#8a999f;margin-top:2px}.budget-scope-menu-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #edf2f3;background:#fbfcfc}.budget-scope-menu-foot span{font-size:8px;color:#8a999f}.budget-scope-menu-foot button{background:#173c51;color:#fff;border-radius:8px;padding:6px 10px}
.budget-scope-empty{margin:0 0 16px;border:1px dashed #cbdbe1;background:#fff;border-radius:15px;padding:34px;text-align:center}.budget-scope-empty[hidden]{display:none!important}.budget-scope-empty strong,.budget-scope-empty span{display:block}.budget-scope-empty strong{color:#17394c;font-size:15px}.budget-scope-empty span{margin-top:5px;color:#84949b;font-size:11px}

.budget-legacy-overview,.budget-legacy-detail{display:none!important}.top-grid.budget-scope-main-grid{grid-template-columns:minmax(0,1.35fr) minmax(320px,.75fr);align-items:start}.top-grid.budget-scope-main-grid[hidden]{display:none!important}.budget-scope-detail-panel{min-width:0}.budget-scope-detail-head{padding-bottom:10px}.scope-detail-section{margin-top:20px}.scope-detail-section+.scope-detail-section{padding-top:18px;border-top:1px solid #e8eef0}.scope-central-section{background:#fafcfc;border:1px solid #e4ecef;border-radius:14px;padding:0 14px 14px}.scope-central-section.scope-detail-section+.scope-detail-section{border-top:1px solid #e4ecef;padding-top:0}.scope-central-section .detail-section-title:first-child{margin-top:14px}.scope-budget-cards{display:grid;gap:7px}.scope-budget-card{width:100%;display:grid;grid-template-columns:minmax(110px,1.1fr) repeat(4,minmax(74px,.65fr));gap:10px;align-items:center;border:1px solid #e0e8eb;border-radius:11px;background:#fbfcfc;padding:10px 11px;text-align:left;color:inherit;cursor:pointer}.scope-budget-card:hover{border-color:#b6d2d5;background:#fff}.scope-budget-card-name{font-size:11px;font-weight:900;color:#214557}.scope-budget-card>span:not(.scope-budget-card-name){min-width:0;text-align:right}.scope-budget-card small,.scope-budget-card strong{display:block}.scope-budget-card small{font-size:7.5px;text-transform:uppercase;letter-spacing:.04em;color:#8a9aa1;font-weight:850}.scope-budget-card strong{font-size:10px;color:#294b5a;margin-top:2px;white-space:nowrap}.scope-category-wrap{max-width:100%;overflow-x:auto;padding-bottom:2px}.scope-category-table{min-width:700px}.scope-category-table .cat-row,.scope-category-table .cat-row.closed-cat{grid-template-columns:minmax(135px,1.2fr) minmax(125px,1.35fr) repeat(4,minmax(72px,.65fr))!important;gap:8px!important;padding:9px 10px!important}.scope-category-table .num{min-width:0;white-space:nowrap;font-size:9.5px}.scope-category-table .cat-name{font-size:10.5px}

.budget-comparison-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr);gap:18px;margin:18px 0}.budget-comparison-grid[hidden]{display:none!important}.budget-efficiency-panel{grid-column:1/-1}.budget-comparison-legend{padding:0 22px 8px}.scope-campus-rows{padding:0 18px 14px}.scope-campus-row{width:100%;display:grid;grid-template-columns:116px minmax(120px,1fr) 128px;align-items:center;gap:12px;border:0;border-top:1px solid #edf2f3;background:transparent;padding:11px 4px;cursor:pointer;text-align:left;color:inherit}.scope-campus-row:first-child{border-top:0}.scope-campus-row:hover{background:#fafcfc}.scope-campus-name{font-size:11px;font-weight:850;color:#214557}.scope-campus-bar .bar-row{margin:0}.scope-campus-values{text-align:right}.scope-campus-values strong,.scope-campus-values small{display:block}.scope-campus-values strong{font-size:10px;color:#274a5a}.scope-campus-values small{font-size:8px;color:#84959c;margin-top:2px}

.scope-budget-status{padding:8px 2px 3px}.scope-budget-status-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:11px}.scope-budget-status-head>div:first-child strong,.scope-budget-status-head>div:first-child span{display:block}.scope-budget-status-head>div:first-child strong{font-size:12px;color:#17394c}.scope-budget-status-head>div:first-child span{font-size:9px;color:#82949b;margin-top:3px}.scope-budget-legend{display:flex;align-items:center;gap:10px;font-size:8px;color:#778b94}.scope-budget-legend span{display:flex;align-items:center;gap:4px}.scope-key{display:inline-block;width:9px;height:9px;border-radius:3px}.scope-key.available{background:#d8eceb}.scope-key.pace{background:#8fc8c6}.scope-key.spent{background:#177d81}
.scope-flat-bar{height:12px;position:relative;border-radius:999px;overflow:visible;margin-right:38px;background:#d8eceb}.scope-available-track,.scope-pace-flat,.scope-spent-flat{position:absolute;left:0;top:0;height:12px;border-radius:999px}.scope-available-track{width:100%;background:#d8eceb}.scope-pace-flat{background:#8fc8c6}.scope-spent-flat{background:#177d81}.scope-over-pill{position:absolute;left:calc(100% + 7px);top:50%;transform:translateY(-50%);font-size:8px;font-weight:900;color:#0e6468;background:#e2f2f1;border:1px solid #a9d2cf;border-radius:999px;padding:3px 5px}.scope-returned-note{display:flex;align-items:baseline;gap:6px;margin-top:8px;color:#788c94;font-size:9px}.scope-returned-note span{font-weight:800}.scope-returned-note strong{color:#177d81}.scope-returned-note small{color:#9aa6ab}.scope-budget-inline-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin-top:12px;background:#e7edef;border-radius:11px;overflow:hidden}.scope-budget-inline-stats>div{background:#fbfcfc;padding:10px 11px}.scope-budget-inline-stats span,.scope-budget-inline-stats strong{display:block}.scope-budget-inline-stats span{font-size:8px;color:#84959d;text-transform:uppercase;letter-spacing:.04em;font-weight:800}.scope-budget-inline-stats strong,.scope-budget-inline-stats button{margin-top:4px;font:inherit;font-size:11px;font-weight:850;color:#17394c}.scope-budget-inline-stats button{padding:0;border:0;background:none;text-decoration:underline;text-decoration-color:#b4c9cf;text-underline-offset:2px;cursor:pointer}.scope-budget-inline-stats button:hover{color:#147b80}

.scope-donut-layout{display:grid;grid-template-columns:190px minmax(0,1fr);gap:22px;align-items:center;padding:18px 22px 24px}.scope-donut-svg-wrap{width:176px;height:176px;position:relative;display:grid;place-items:center}.scope-donut-svg{width:176px;height:176px;overflow:visible}.scope-donut-segment{cursor:help;transition:stroke-width .12s,opacity .12s}.scope-donut-segment:hover{stroke-width:21;opacity:.92}.scope-donut-center{position:absolute;width:104px;height:104px;border-radius:50%;background:#fff;display:grid;place-content:center;text-align:center;box-shadow:0 0 0 1px rgba(216,227,231,.9);pointer-events:none}.scope-donut-center span,.scope-donut-center strong{display:block}.scope-donut-center span{font-size:8px;text-transform:uppercase;letter-spacing:.05em;color:#85969d;font-weight:850}.scope-donut-center strong{font-size:16px;color:#17394c;margin-top:3px}.scope-donut-legend{display:grid;gap:4px}.scope-donut-row{width:100%;display:grid;grid-template-columns:9px minmax(0,1fr) 30px 62px;align-items:center;gap:7px;border:0;border-radius:7px;background:transparent;padding:5px 3px;font-size:9px;color:#5e747e;cursor:help;text-align:left}.scope-donut-row:hover{background:#f5f8f9}.scope-donut-swatch{width:9px;height:9px;border-radius:3px}.scope-donut-row strong{font-size:9px;color:#315260;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scope-donut-row>span:nth-of-type(2){text-align:right;font-weight:850}.scope-donut-row small{text-align:right;color:#8a999f}

.scope-efficiency-rows{display:grid;gap:2px;padding:2px 4px 8px}.scope-efficiency-row{display:grid;grid-template-columns:130px minmax(180px,1fr) 118px;gap:12px;align-items:center;padding:9px 7px;border-top:1px solid #edf2f3;cursor:help}.scope-efficiency-row:first-child{border-top:0}.scope-efficiency-row:hover{background:#fafcfc}.scope-efficiency-row>strong{font-size:10.5px;color:#244858}.scope-efficiency-track{height:9px;border-radius:999px;background:#edf3f5;overflow:hidden}.scope-efficiency-track span{display:block;height:100%;border-radius:999px;background:#188b8c}.scope-efficiency-value{text-align:right;font-size:11px;font-weight:900;color:#17394c}.scope-efficiency-value small{font-size:8px;font-weight:700;color:#84959d}

@media(max-width:1180px){.budget-comparison-grid,.top-grid.budget-scope-main-grid{grid-template-columns:1fr}.budget-efficiency-panel{grid-column:auto}.scope-donut-layout{grid-template-columns:176px 1fr}}
@media(max-width:820px){.page-header{align-items:flex-start}.budget-header-controls-v2{width:100%;justify-content:flex-end;flex-wrap:wrap}.budget-scope-button{min-width:160px}.scope-budget-inline-stats{grid-template-columns:repeat(2,1fr)}.scope-campus-row{grid-template-columns:92px 1fr 105px}.scope-donut-layout{grid-template-columns:1fr;justify-items:center}.scope-donut-legend{width:min(100%,360px)}.budget-scope-menu{right:auto;left:0}.scope-budget-card{grid-template-columns:minmax(100px,1fr) repeat(2,minmax(76px,.65fr))}.scope-budget-card>span:nth-last-child(-n+2){display:none}.scope-efficiency-row{grid-template-columns:100px 1fr 105px}}
@media(max-width:590px){.budget-header-controls-v2{justify-content:flex-start}.budget-scope-control{width:100%}.budget-scope-button{width:100%}.budget-scope-menu{width:100%}.scope-campus-row{grid-template-columns:1fr}.scope-campus-values{text-align:left}.scope-budget-status-head{align-items:flex-start;flex-direction:column}.scope-budget-inline-stats{grid-template-columns:1fr 1fr}.scope-flat-bar{margin-right:30px}.scope-returned-note{align-items:flex-start;flex-wrap:wrap}.scope-budget-card{grid-template-columns:1fr 1fr}.scope-budget-card-name{grid-column:1/-1}.scope-budget-card>span:nth-last-child(-n+2){display:block}.scope-category-table{min-width:0}.scope-category-table .cat-row,.scope-category-table .cat-row.closed-cat{grid-template-columns:1fr 1fr!important;min-width:0!important}.scope-category-table .cat-row>div:nth-child(1),.scope-category-table .cat-row>div:nth-child(2){grid-column:1/-1}.scope-efficiency-row{grid-template-columns:1fr;gap:6px}.scope-efficiency-value{text-align:left}}
