@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--blue:#1555ff;--navy:#101c50;--muted:#7783a7;--border:#e7edf8;--green:#27bb78;--surface:#fff;--shadow:0 4px 6px -4px #1c40831c,0 10px 25px -15px #21499430, inset 0 1px 0 #fff;--radius:12px}*{box-sizing:border-box}body{margin:0;font-family:'DM Sans',Arial,sans-serif;color:var(--navy);background:#f0f4fc;font-size:13px}button,select,input{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid #83aaff;outline-offset:3px}button{color:inherit}a{color:inherit;text-decoration:none}button,select{transition:background .2s,box-shadow .2s,transform .2s}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app-shell{display:flex;min-height:100vh;padding:8px;gap:13px}.sidebar{width:205px;flex-shrink:0;border:1px solid #fff;border-radius:15px;background:linear-gradient(150deg,#fff 45%,#f9fbff);padding:21px 12px 15px;display:flex;flex-direction:column;position:fixed;top:8px;bottom:8px;z-index:30;box-shadow:var(--shadow)}.brand{display:flex;align-items:center;gap:12px;padding:0 12px;font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-1.1px}.brand-mark{width:33px;height:38px;display:grid;place-items:center;color:#124cf6;border:3px solid #124cf6;border-radius:10px 4px 10px 4px;transform:rotate(-30deg);font-size:30px;line-height:1;text-shadow:2px 2px #c0d3ff;box-shadow:3px 3px 0 #e1eaff}.brand-dot{color:var(--blue)}.workspace-label{font-size:9px;font-weight:700;letter-spacing:1.6px;color:#a0abc2;margin:37px 14px 12px}nav{display:flex;flex-direction:column;gap:8px}.nav-item{position:relative;display:flex;align-items:center;gap:13px;width:100%;border:0;background:transparent;padding:13px 14px;text-align:left;border-radius:8px;color:#56628a;font-size:12px;font-weight:500;white-space:nowrap}.nav-item .icon{width:18px;height:18px}.nav-item:hover{background:#f0f4ff;color:var(--blue)}.nav-item.active{background:linear-gradient(110deg,#e8efff,#f0f4ff);color:#0646f8;font-weight:700;box-shadow:inset 0 1px 0 #fff,0 3px 8px #2850ac08}.active-dot{position:absolute;right:9px;width:5px;height:5px;border-radius:50%;background:var(--blue)}.sidebar-bottom{margin-top:auto;padding-top:40px}.support-box{border:1px solid #e5ecff;background:linear-gradient(130deg,#f3f6ff,#eaf1ff);border-radius:9px;padding:13px 10px;display:flex;align-items:center;gap:9px}.support-icon{border-radius:50%;background:#fff;color:var(--blue);width:33px;height:33px;display:grid;place-items:center;box-shadow:0 3px 7px #235eff15}.support-box small{font-size:10px;display:block;margin-bottom:4px}.support-box button{background:none;border:0;color:var(--blue);font-size:10px;font-weight:700;padding:0}.sidebar-footer{border-top:1px solid var(--border);margin:15px 0 0;padding:18px 7px 12px;display:flex;gap:10px}.footer-mark{font-size:28px;color:#b7c6e2;line-height:1}.sidebar-footer strong{font-weight:600;font-size:12px}.sidebar-footer small{display:block;font-size:10px;line-height:1.5;color:#8a96b3;margin-top:4px}.version{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1px;color:#a6b1c8;padding:0 8px}main{margin-left:218px;min-width:0;width:calc(100% - 218px)}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 19px;background:linear-gradient(115deg,#fff,#fdfefe);border:1px solid #fff;border-radius:13px;box-shadow:var(--shadow);min-height:90px}.heading{display:flex;align-items:center;gap:10px}.eyebrow{font-size:8px;letter-spacing:1.6px;font-weight:700;color:#8a96b6;margin-bottom:5px}.eyebrow span{color:#91a7d2;margin:0 6px}h1{font-family:Manrope,Arial,sans-serif;font-size:25px;letter-spacing:-.9px;margin:0;font-weight:800;line-height:1.35}.heading p{margin:5px 0 0;color:#7a86a8;font-size:11px}.header-actions{display:flex;align-items:center;gap:17px;flex-shrink:0}.icon-button{border:0;background:transparent;width:35px;height:35px;display:grid;place-items:center;border-radius:8px}.icon-button:hover{background:#edf2ff}.notification{position:relative}.notification>span{position:absolute;right:0;top:0;border:2px solid white;border-radius:10px;background:#ff485f;color:white;font-size:9px;min-width:18px;height:18px;display:grid;place-items:center;box-shadow:0 2px 5px #ff485f30}.header-divider{height:34px;width:1px;background:var(--border)}.profile{display:flex;gap:10px;align-items:center;text-align:left;border:0;background:none;padding:0}.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:linear-gradient(145deg,#dfeafe,#c0d4fc);border:3px solid #fff;box-shadow:0 2px 7px #293d6920;font-size:11px;font-weight:800;color:#345283}.profile strong{display:block;font-size:11px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.down-arrow{color:#8b98b7;margin-left:13px}.page-content{padding:0 4px}.page-toolbar{height:47px;display:flex;align-items:center;justify-content:space-between}.live-label{display:flex;align-items:center;gap:7px;font-size:10px;color:#607097;font-weight:600}.live-label>span:first-child,.status-dot{width:6px;height:6px;display:inline-block;background:#27bd80;border-radius:50%;box-shadow:0 0 0 3px #28bf8010}.live-label small{font-size:10px;font-weight:400}.toolbar-separator{margin:0 5px;color:#c4cde1}.button{border-radius:6px;border:1px solid transparent;padding:9px 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-size:11px;font-weight:600;white-space:nowrap}.button:hover{transform:translateY(-1px);filter:brightness(.98);box-shadow:0 4px 10px #1555ff18}.button .icon{width:14px;height:14px}.export-button{background:#fff;border-color:#b7cbff;color:var(--blue);padding:7px 12px;box-shadow:0 2px 4px #1555ff09}.primary{background:linear-gradient(180deg,#2765ff,#124cf4);color:#fff;box-shadow:0 3px 7px #1451fa29,inset 0 1px 0 #ffffff40}.subtle{background:#eef3ff;color:#245bf3}.filter-bar{padding:12px 14px;background:#ffffffd9;border:1px solid #fff;border-radius:10px;display:grid;grid-template-columns:1.32fr 1fr 1fr 1fr 1fr .9fr auto;align-items:end;gap:12px;box-shadow:0 3px 10px #25498804}.filter-bar label{color:#647198;font-size:10px;display:flex;flex-direction:column;gap:6px;min-width:0}select{width:100%;appearance:none;border:1px solid #dae3f3;border-radius:5px;padding:8px 28px 8px 11px;color:#485886;background:linear-gradient(180deg,#fff,#fcfdff);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' stroke='%237180a4' fill='none' stroke-width='1.3'/%3E%3C/svg%3E");background-position:right 9px center;background-repeat:no-repeat;font-size:10px;cursor:pointer;text-overflow:ellipsis;min-height:32px}.date-input{position:relative}.date-input .icon{position:absolute;left:9px;top:8px;width:15px;height:15px;color:#52678f}.date-input select{padding-left:31px}.filter-actions{display:flex;gap:7px}.filter-actions .button{min-height:32px;padding:8px 20px}.filter-status:empty{display:none}.filter-status{padding:10px 4px 0;font-size:10px;color:#5b6e9b}.metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:11px;margin:13px 0}.metric-card{background:linear-gradient(130deg,#fff 55%,#fbfcff);border:1px solid white;position:relative;border-radius:var(--radius);padding:17px 12px;display:flex;gap:12px;min-height:132px;box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,box-shadow .2s}.metric-card:hover{transform:translateY(-4px);box-shadow:0 10px 20px #244b951a,inset 0 1px 0 #fff}.metric-icon{width:43px;height:45px;border-radius:11px;display:grid;place-items:center;flex-shrink:0;color:var(--accent);background:linear-gradient(145deg,var(--tint),#fff);border:1px solid #ffffff;box-shadow:2px 4px 7px color-mix(in srgb,var(--accent) 10%,transparent),inset 1px 1px 2px white}.metric-icon .icon{width:25px;height:25px;filter:drop-shadow(1px 2px 1px color-mix(in srgb,var(--accent) 20%,transparent));stroke-width:2}.blue{--accent:#1555ff;--tint:#e3ebff}.sky{--accent:#008aff;--tint:#dff3ff}.green{--accent:#10ae63;--tint:#d9f7e5}.teal{--accent:#00a596;--tint:#d6f5f3}.orange{--accent:#ff8a16;--tint:#fff0dd}.red{--accent:#f14050;--tint:#ffeaed}.amber{--accent:#f8ac0a;--tint:#fff4df}.metric-content{position:relative;z-index:1;min-width:0}.metric-content h2{font-size:10px;white-space:nowrap;font-weight:500;margin:2px 0 6px;color:#52618b}.metric-value{font-family:Manrope,sans-serif;font-size:25px;font-weight:800;letter-spacing:-.5px;color:#0b1530;line-height:1.25}.metric-change{color:#059943;font-size:12px;margin-top:9px;display:flex;gap:5px;align-items:center}.metric-change strong{font-size:10px;font-weight:600}.metric-content small{font-size:8px;color:#8792b1;display:block;margin-top:2px}.sparkline{position:absolute;right:10px;bottom:12px;width:62px;height:30px;color:var(--accent)}.dashboard-grid{display:grid;grid-template-columns:1.37fr 1fr 1.04fr;gap:12px}.panel{background:linear-gradient(135deg,#fff,#fdfefe);border:1px solid #fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 15px;min-width:0;scroll-margin-top:15px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;min-height:22px}.panel h2{font-family:Manrope,Arial,sans-serif;font-size:12px;letter-spacing:-.32px;font-weight:800;margin:0;line-height:1.5}.panel h2 span{font-size:11px}.compact-select{width:auto;max-width:122px;min-height:24px;font-size:9px;padding:4px 26px 4px 9px}.text-button{color:var(--blue);border:0;background:none;font-size:9px;padding:3px 0;white-space:nowrap}.text-button:hover{text-decoration:underline}.trend-panel,.target-panel,.risk-panel{min-height:275px}.trend-chart{height:195px}.trend-chart svg{width:100%;height:100%;overflow:visible}.chart-legend{display:flex;justify-content:center;gap:26px;margin-top:7px;font-size:10px;color:#627092}.chart-legend span,.mini-legend span{display:flex;align-items:center;gap:7px}.dot{display:inline-block;width:10px;height:10px;border-radius:50%;flex-shrink:0;box-shadow:inset 0 1px 1px #ffffff55}.blue-dot{background:linear-gradient(#3682ff,#1455ff)}.green-dot{background:linear-gradient(#55d39a,#26b773)}.pale-dot{background:#e9effa;border:1px solid #d8e2f6}.mini-legend{display:flex;gap:12px;color:#6a7799;font-size:8px;white-space:nowrap}.mini-legend .dot{width:7px;height:7px}.target-panel .panel-heading{margin-bottom:6px}.target-column-label{font-size:8px;color:#8390ad;text-align:right;margin-bottom:1px}.target-row{display:grid;grid-template-columns:27px 1.05fr 1.65fr 28px;align-items:center;gap:8px;margin:11px 0}.scheme-icon{display:grid;place-items:center;width:25px;height:26px;border-radius:6px;background:var(--tint);color:var(--accent);box-shadow:inset 1px 1px 2px #ffffff99,1px 2px 4px #1e37650a}.scheme-icon .icon{width:15px;height:15px}.scheme-name{font-size:9px;line-height:1.4}.target-meter small{font-size:8px;color:#6a7799;display:block;margin-bottom:5px}.meter{height:8px;border-radius:10px;background:#e3eaf6;overflow:hidden;box-shadow:inset 0 1px 2px #3e579515}.meter>span{display:block;height:100%;border-radius:10px;background:linear-gradient(180deg,#4acd91,#2fba78);box-shadow:inset 0 1px 1px #ffffff35;transition:width .5s}.target-row>b{font-size:10px;text-align:right;margin-top:12px}.risk-list{display:flex;flex-direction:column;gap:9px}.risk-row{border:1px solid color-mix(in srgb,var(--accent) 9%,white);background:linear-gradient(100deg,color-mix(in srgb,var(--tint) 48%,white),color-mix(in srgb,var(--tint) 22%,white));display:flex;align-items:center;text-align:left;width:100%;padding:10px 9px;border-radius:7px;gap:11px;min-height:44px}.risk-row:hover{transform:translateX(2px);box-shadow:0 3px 8px #3146650b}.risk-icon{color:var(--accent);width:29px;display:flex;align-items:center;justify-content:center;border-right:1px solid color-mix(in srgb,var(--accent) 13%,white);padding-right:9px}.risk-icon .icon{width:24px;height:24px;stroke-width:2}.risk-copy{flex:1;min-width:0}.risk-copy strong{display:block;font-size:10px;font-weight:700}.risk-copy small{display:block;font-size:8px;color:#7b87a9;margin-top:4px}.risk-row b{font-size:12px;color:white;background:linear-gradient(145deg,color-mix(in srgb,var(--accent) 78%,white),var(--accent));border:1px solid white;border-radius:6px;padding:3px 6px;box-shadow:0 2px 4px color-mix(in srgb,var(--accent) 20%,transparent)}.row-chevron{width:11px;height:11px;color:#7a89ac}.schemes-panel,.funnel-panel,.category-panel{min-height:228px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:separate;border-spacing:0;font-size:9px;white-space:nowrap}th{text-align:left;font-size:8px;font-weight:600;color:#57678e;background:#f1f5fc;padding:8px 9px;border-bottom:1px solid #e7edf6}th:first-child{border-radius:5px 0 0 0}th:last-child{border-radius:0 5px 0 0}td{padding:7px 9px;border-bottom:1px solid #edf1f8;color:#506086}tbody tr:hover{background:#f8faff}td:first-child{text-align:center;color:#7b8bab}td:nth-child(3),td:nth-child(4),td:nth-child(5){text-align:center}.table-progress{display:flex;align-items:center;gap:13px}.table-progress .meter{width:75px;height:6px}.table-progress span{font-size:8px}.funnel-row{position:relative;isolation:isolate;display:flex;align-items:center;height:29px;border-radius:6px;background:#f5f7fc;margin:4px 0;overflow:hidden;padding:0 11px;gap:13px;font-size:9px}.funnel-fill{position:absolute;inset:0;z-index:-1;clip-path:polygon(0 0,100% 0,96% 100%,0 100%);background:linear-gradient(90deg,color-mix(in srgb,var(--funnel-color) 24%,white),color-mix(in srgb,var(--funnel-color) 11%,white));transition:width .4s}.funnel-icon{display:grid;place-items:center;background:linear-gradient(135deg,color-mix(in srgb,var(--funnel-color) 65%,white),var(--funnel-color));width:29px;height:27px;color:white;clip-path:polygon(0 0,100% 0,88% 100%,12% 100%)}.funnel-icon .icon{width:13px;height:13px}.funnel-label{width:55px}.funnel-row strong{font-family:Manrope,sans-serif;font-size:12px;font-weight:800}.funnel-row>b{margin-left:auto;font-size:10px;font-weight:500}.small-tag{font-size:8px;color:#7c8aaa;border:1px solid #e4eaf5;padding:4px 8px;border-radius:4px}.category-content{display:flex;align-items:center;gap:24px;padding:2px 0}.donut{position:relative;flex-shrink:0;width:166px;height:166px;border-radius:50%;background:conic-gradient(#39bd73 0 28%,#4284ff 28% 53%,#ff923d 53% 71%,#a271ee 71% 83%,#80bcf1 83% 93%,#b5bed0 93%);box-shadow:0 4px 0 #e3e9f4,0 6px 10px #304b7510,inset 0 2px 4px #ffffff70;transform:rotate(-.5deg)}.donut:after{content:'';position:absolute;inset:29px;border-radius:50%;background:linear-gradient(145deg,#fff,#fcfdff);box-shadow:inset 0 3px 6px #2946720f,0 1px 2px #ffffff80}.donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;z-index:1}.donut-center strong{font-family:Manrope,sans-serif;font-size:16px;font-weight:800}.donut-center small{font-size:9px;color:#7f8cac;margin-top:3px}.category-legend{display:flex;flex-direction:column;gap:11px;flex:1;min-width:0}.category-legend>div{display:flex;align-items:center;gap:9px;font-size:8px;white-space:nowrap}.category-legend .dot{width:12px;height:12px}.category-legend .category-name{color:#627195;flex:1}.category-legend strong{font-size:9px}.category-legend small{color:#8390ad;font-size:8px}.geography-panel,.cost-panel,.insights-panel{min-height:213px}.geography-content{display:flex;align-items:center;gap:13px}.map-wrap{width:40%;position:relative}.map-wrap svg{height:155px;width:100%;overflow:visible;transition:transform .2s}.map-zoom{position:absolute;left:0;top:0;display:flex;flex-direction:column;z-index:2;box-shadow:0 2px 5px #30486a14;border-radius:5px;overflow:hidden;border:1px solid #e2e8f3}.map-zoom button{width:22px;height:23px;background:white;border:0;font-size:16px}.map-zoom button+button{border-top:1px solid #e2e8f3}.map-caption{display:block;text-align:center;font-size:7px;color:#9aa7c0;margin-top:-5px}.map-legend{display:flex;flex-direction:column;gap:8px;white-space:nowrap;font-size:8px;color:#7281a4}.map-legend strong{font-size:8px;font-weight:500}.map-legend span{display:flex;align-items:center;gap:8px}.map-legend i{width:8px;height:8px;border-radius:50%}.district-table{flex:1;padding:9px 10px;border:1px solid #e6ecf7;border-radius:6px;min-width:135px;background:linear-gradient(#fafcff,#fff)}.district-table h3{font-size:9px;font-weight:600;margin:0 0 7px;white-space:nowrap}.district-table h3 span{font-size:8px;font-weight:400}.district-row{font-size:8px;color:#64759b;display:flex;gap:10px;padding:5px 0;border-bottom:1px solid #eef2fa}.district-row:last-child{border:0}.district-row b{margin-left:auto;color:#475c8a;font-weight:600}.cost-content{display:flex;gap:10px;align-items:center}.cost-content>div:first-child{width:68%;height:148px}.cost-content svg{height:100%;width:100%;overflow:visible}.cost-legend{display:flex;flex-direction:column;gap:12px;font-size:7px;color:#7380a3;white-space:nowrap}.cost-legend span{display:flex;align-items:center;gap:8px}.cost-legend .dot{width:8px;height:8px}.axis-caption{text-align:center;font-size:8px;color:#8190b0;margin-top:2px}.insights-panel .panel-heading{margin-bottom:7px}.insights-list{display:flex;flex-direction:column;gap:4px}.insight-row{display:flex;align-items:center;gap:11px;border:1px solid #edf1f7;border-radius:6px;padding:3px 5px 3px 0;min-height:29px}.insight-row>span{width:34px;align-self:stretch;background:linear-gradient(135deg,var(--tint),#fff);display:grid;place-items:center;color:var(--accent);border-radius:5px;flex-shrink:0}.insight-row .icon{width:19px;height:19px}.insight-row strong{display:block;font-size:8px;font-weight:600;line-height:1.3}.insight-row small{display:block;font-size:7px;color:#8a96b1;margin-top:2px;line-height:1.3}.page-footer{display:flex;justify-content:space-between;gap:10px;color:#95a1b9;font-size:8px;padding:18px 3px 7px}.page-footer>span:last-child{display:flex;align-items:center;gap:7px}.footer-divider{margin:0 5px;color:#c2cbdd}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);padding:13px 22px;background:#122353;color:white;border:1px solid #344875;border-radius:10px;box-shadow:0 7px 25px #12235330;font-size:12px;opacity:0;pointer-events:none;transition:.25s;z-index:100;max-width:90vw}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid white;border-radius:17px;width:min(680px,calc(100% - 32px));padding:24px;color:var(--navy);box-shadow:0 30px 100px #10204838;max-height:85vh}dialog::backdrop{background:#172c594a;backdrop-filter:blur(5px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding-bottom:16px;margin-bottom:18px}.dialog-heading h2{font:800 21px Manrope,sans-serif;margin:5px 0 0}.dialog-heading .icon-button{font-size:26px}.dialog-footer{display:flex;align-items:center;justify-content:space-between;margin-top:24px;border-top:1px solid var(--border);padding-top:17px}.dialog-footer>span{font-size:10px;color:var(--muted)}#dialog-content p{font-size:13px;line-height:1.8;color:#617093}#dialog-content table{font-size:11px}#dialog-content td,#dialog-content th{padding:10px}#dialog-content label{display:flex;gap:10px;align-items:center;padding:12px 0;color:#566789}#dialog-content input[type=email]{width:100%;padding:12px;border:1px solid #d9e3f3;border-radius:7px}#dialog-content .insight-row{padding:10px}#dialog-content .insight-row strong{font-size:11px}#dialog-content .insight-row small{font-size:10px}.mobile-menu{display:none}.chart-point{cursor:pointer;transition:r .15s}.chart-point:hover{r:5}.panel.flash{animation:flash 1.4s}@keyframes flash{0%,100%{box-shadow:var(--shadow)}35%{box-shadow:0 0 0 3px #1555ff45,0 8px 20px #1555ff15}}@media(min-width:1700px){.metric-card{padding:20px 17px}.metric-content h2{font-size:12px}.metric-value{font-size:28px}.panel h2{font-size:14px}.trend-panel,.target-panel,.risk-panel{min-height:300px}.trend-chart{height:214px}.target-row{margin:15px 0}.risk-row{min-height:49px}.schemes-panel,.funnel-panel,.category-panel{min-height:245px}table{font-size:10px}td{padding:9px}.funnel-row{height:32px}.category-content{gap:35px}.category-legend>div{font-size:10px}.geography-panel,.cost-panel,.insights-panel{min-height:230px}.insight-row{min-height:32px}.insight-row strong{font-size:9px}.insight-row small{font-size:8px}}@media(max-width:1450px){.sidebar{width:185px;padding:20px 8px}.brand{font-size:23px}.nav-item{font-size:11px;padding:12px 11px;gap:10px}main{margin-left:198px;width:calc(100% - 198px)}.metric-card{gap:8px;padding:15px 9px}.metric-icon{width:35px;height:39px}.metric-icon .icon{width:22px;height:22px}.metric-value{font-size:22px}.metric-content h2{font-size:9px}.sparkline{width:48px;right:7px;bottom:12px}.filter-bar{gap:8px;padding:11px}.filter-actions .button{padding:8px 12px}.panel{padding:12px}.panel h2{font-size:11px}.panel h2 span{font-size:9px}.mini-legend{gap:7px;font-size:7px}.target-row{gap:5px;grid-template-columns:24px 1.1fr 1.4fr 25px}.scheme-name{font-size:8px}.category-content{gap:12px}.donut{width:136px;height:136px}.donut:after{inset:24px}.category-legend{gap:11px}.category-legend>div{gap:5px;font-size:7px}.category-legend .dot{width:9px;height:9px}.category-legend small{font-size:7px}.category-legend strong{font-size:8px}.geography-content{gap:8px}.map-legend{font-size:7px}.map-legend strong{font-size:7px}.district-table{min-width:118px;padding:8px}.map-wrap{width:34%}th,td{padding:7px 5px}table{font-size:8px}.risk-row{gap:7px}.risk-copy strong{font-size:9px}.risk-copy small{font-size:7px}.cost-legend{font-size:6.5px;gap:11px}.heading p{font-size:10px}h1{font-size:23px}}
@media(max-width:1200px){.filter-bar{grid-template-columns:repeat(3,1fr)}.filter-actions{grid-column:1/-1;justify-content:flex-end}.metrics{grid-template-columns:repeat(3,1fr)}.metric-card{padding:17px;min-height:119px}.metric-value{font-size:26px}.metric-content h2{font-size:11px}.metric-icon{width:43px;height:45px}.sparkline{width:75px}.dashboard-grid{grid-template-columns:1fr 1fr}.trend-panel{grid-column:1/-1}.trend-chart{height:220px}.insights-panel{grid-column:1/-1}.insight-row strong{font-size:10px}.insight-row small{font-size:9px}.category-content{justify-content:space-around}.category-legend{flex:0 1 auto}.panel h2{font-size:12px}.header-actions{gap:9px}.heading p{max-width:430px;line-height:1.5}.profile .down-arrow{display:none}.page-footer{line-height:1.6}.cost-legend{font-size:8px}.mini-legend{font-size:8px}.scheme-name{font-size:9px}}
@media(max-width:850px){.sidebar{transform:translateX(-110%);transition:transform .25s;width:205px;box-shadow:10px 0 50px #1b386530}.sidebar.open{transform:translateX(0)}main{margin-left:0;width:100%}.app-shell{padding:9px}.mobile-menu{display:grid}.topbar{padding:13px}.heading p{display:none}.eyebrow{font-size:7px}h1{font-size:21px}.profile>span:not(.avatar){display:none}.header-divider{display:none}.header-actions{gap:4px}.metric-card{padding:16px 13px}.page-content{padding:0}.page-footer{flex-direction:column;align-items:center}.filter-bar{gap:10px}.filter-actions{grid-column:auto;align-self:end}.filter-bar{grid-template-columns:repeat(3,1fr)}.filter-bar label:first-child{grid-column:span 2}.panel h2{font-size:11px}}
@media(max-width:580px){h1{font-size:16px;letter-spacing:-.5px}.heading{gap:2px}.topbar{padding:10px 7px}.header-actions .notification{display:none}.avatar{width:30px;height:30px;font-size:9px}.live-label{font-size:9px}.live-label small{display:none}.toolbar-separator{display:none}.metrics{grid-template-columns:repeat(2,1fr);gap:9px}.metric-card{min-height:123px;gap:8px;padding:14px 9px}.metric-icon{width:33px;height:37px}.metric-icon .icon{width:21px;height:21px}.metric-value{font-size:23px}.metric-content h2{font-size:9px}.sparkline{width:47px;bottom:9px;opacity:.8}.metric-content small{font-size:7px}.dashboard-grid{grid-template-columns:1fr;gap:11px}.trend-panel,.insights-panel{grid-column:auto}.filter-bar{grid-template-columns:1fr 1fr;gap:10px}.filter-bar label:first-child{grid-column:span 2}.filter-actions{grid-column:1/-1}.filter-actions .button{flex:1}.filter-bar label{font-size:10px}.filter-bar select{font-size:11px;min-height:35px}.date-input .icon{top:10px}.panel{padding:14px}.panel h2{font-size:12px}.risk-copy strong{font-size:11px}.risk-copy small{font-size:9px}.risk-row{padding:11px}.category-content{gap:20px;justify-content:center}.category-legend>div{font-size:9px}.category-legend small{font-size:8px}.donut{width:150px;height:150px}.category-panel{min-height:230px}.schemes-panel{min-height:224px}table{font-size:9px}.funnel-row{height:32px}.geography-content{gap:10px}.map-wrap{width:36%}.district-table{min-width:125px}.cost-content>div:first-child{height:180px}.cost-legend{font-size:8px}.cost-panel{min-height:245px}.target-row{margin:14px 0;grid-template-columns:27px 1fr 1.7fr 30px}.scheme-name{font-size:10px}.target-meter small{font-size:9px}.insight-row{padding:6px 4px}.insight-row strong{font-size:9px}.insight-row small{font-size:8px}.page-footer{font-size:7px}.trend-chart{height:190px}.trend-panel{min-height:260px}.small-tag{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Refined surfaces and restrained depth. */
:root{--radius:15px;--shadow:0 2px 3px #253f7004,0 8px 24px -12px #284b8a30,inset 0 1px 0 #fff}
body{background:radial-gradient(ellipse at 80% 0%,#e4edff 0,transparent 42%),linear-gradient(135deg,#f2f5fc,#edf2fa);background-attachment:fixed}
.sidebar{background:linear-gradient(165deg,#fff 20%,#f7faff);border-color:#ffffffc9;box-shadow:0 10px 40px -20px #264a8938}
.nav-item{border-radius:10px}
.nav-item.active{background:linear-gradient(110deg,#1555ff,#447aff);color:#fff;box-shadow:0 5px 14px #1555ff30,inset 0 1px 0 #ffffff38}
.nav-item.active .active-dot{background:#fff;box-shadow:0 0 0 3px #ffffff20}
.topbar{position:relative;overflow:hidden;background:linear-gradient(110deg,#fff 55%,#f0f5ff);border-color:#fff;padding-top:18px;padding-bottom:18px}
.topbar:after{content:'';position:absolute;right:210px;top:-65px;width:180px;height:180px;border:24px solid #2263ff04;border-radius:50%;pointer-events:none}
h1{color:#152454;letter-spacing:-.85px}
.eyebrow{color:#6482b9}
.filter-bar{box-shadow:0 4px 16px -12px #284b8a35;border-color:#ffffffdd;border-radius:12px}
select:hover{border-color:#a9bff1;background-color:#fbfcff}
.metric-card{border-color:#fff;min-height:137px;background:radial-gradient(ellipse at 100% 0%,color-mix(in srgb,var(--tint) 58%,white),transparent 64%),#fff}
.metric-card:after{content:'';position:absolute;bottom:0;left:16px;right:16px;height:2px;background:linear-gradient(90deg,var(--accent),transparent);opacity:.23;border-radius:10px}
.metric-icon{border-radius:12px;box-shadow:0 5px 10px -5px color-mix(in srgb,var(--accent) 38%,transparent),inset 0 1px 1px #fff;transform:perspective(150px) rotateY(-9deg) rotateX(5deg)}
.metric-value{font-variant-numeric:tabular-nums;letter-spacing:-.8px}
.metric-change{width:max-content;padding:2px 5px;margin-left:-5px;background:#e9f9ef;border-radius:4px}
.metric-content small{margin-top:4px}
.panel{border-color:#ffffffdd;transition:box-shadow .25s,border-color .25s}
.panel:hover{border-color:#dce6fb;box-shadow:0 9px 28px -15px #264e943b,inset 0 1px 0 #fff}
.panel-heading{padding-bottom:9px;border-bottom:1px solid #eef2f9;margin-bottom:12px}
.panel h2{color:#172756;letter-spacing:-.25px}
.risk-row{box-shadow:0 2px 3px #24406a03}
.risk-row:hover{box-shadow:0 4px 12px color-mix(in srgb,var(--accent) 12%,transparent)}
.donut{box-shadow:0 5px 0 #dde5f2,0 10px 16px -8px #304b7540,inset 0 2px 4px #ffffff70}
.table-progress .meter,.target-meter .meter{background:#eaf0f8}
.insight-row{background:linear-gradient(90deg,#fff,#fbfcff)}
.button:active{transform:translateY(1px)}
.page-footer{padding-top:20px}

/* A finite entrance sequence: content stays visible if JavaScript is unavailable. */
@keyframes dashboard-enter{from{opacity:0;transform:translate3d(0,16px,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes header-enter{from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
@keyframes meter-grow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes chart-reveal{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes donut-enter{from{opacity:0;transform:rotate(-45deg) scale(.88)}to{opacity:1;transform:rotate(-.5deg) scale(1)}}
@media(prefers-reduced-motion:no-preference){
    .topbar{animation:header-enter .55s cubic-bezier(.2,.75,.3,1) both}
    .filter-bar{animation:dashboard-enter .55s .08s cubic-bezier(.2,.75,.3,1) both}
    .metric-card{animation:dashboard-enter .6s cubic-bezier(.2,.75,.3,1) both;animation-delay:calc(.13s + var(--entry-index,0)*.065s)}
    .dashboard-grid>.panel{animation:dashboard-enter .65s cubic-bezier(.2,.75,.3,1) both;animation-delay:calc(.38s + var(--entry-index,0)*.055s)}
    .meter>span,.funnel-fill{transform-origin:left;animation:meter-grow .9s .55s cubic-bezier(.2,.75,.3,1) both}
    .trend-chart svg{animation:chart-reveal 1.25s .45s cubic-bezier(.2,.65,.3,1) both}
    .donut{animation:donut-enter 1s .65s cubic-bezier(.2,.75,.3,1) both}
    .sparkline{animation:chart-reveal 1.1s .5s ease-out both}
    dialog[open]{animation:dashboard-enter .22s ease-out both}
}
@media(max-width:580px){.metric-card{min-height:132px}.topbar{padding-top:15px;padding-bottom:15px}.panel-heading{gap:6px}.panel h2{font-size:11px}}
@media(prefers-reduced-motion:no-preference){.metric-card,.dashboard-grid>.panel{animation-fill-mode:backwards}}

/* Chart interaction surfaces and accessible value tooltips. */
.chart-tooltip{position:fixed;z-index:150;pointer-events:none;max-width:min(290px,calc(100vw - 16px));padding:12px 15px;border:1px solid #ffffff24;border-radius:10px;background:linear-gradient(135deg,#172b59,#233c70);color:#fff;box-shadow:0 8px 30px #162b5933;font-size:11px;line-height:1.6}
.chart-tooltip[hidden]{display:none}.chart-tooltip strong{display:block;font-size:12px;margin-bottom:4px}.chart-tooltip span{display:block;color:#dce7ff}
.interactive-chart-item{cursor:pointer;transition:filter .18s,opacity .18s,background .18s,stroke-width .18s}
.interactive-chart-item:focus-visible{outline:2px solid #547fff;outline-offset:3px}
.chart-point.chart-active{r:6;stroke-width:2;filter:drop-shadow(0 2px 4px #1555ff50)}
#cost-chart circle{transform-box:fill-box;transform-origin:center}
#cost-chart circle.chart-active{stroke:#163d8c;stroke-width:2.5;filter:drop-shadow(0 3px 4px #26477440)}
#coverage-map polygon.chart-active{stroke:#122f69;stroke-width:2;filter:brightness(1.12)}
.target-row.chart-active,.funnel-row.chart-active{background-color:#eaf1ff;border-radius:6px;box-shadow:0 0 0 3px #eaf1ff}
.donut-segments{position:absolute;inset:0;width:100%;height:100%;overflow:visible;z-index:1}
.donut:after{pointer-events:none;z-index:0}.donut-center{pointer-events:none;z-index:2}
.donut-segments circle.chart-active{stroke-width:36;filter:drop-shadow(0 2px 2px #253e7025)}
.category-legend>div{border-radius:5px;padding:3px;margin:-3px}.category-legend>div.chart-active{background:#edf3ff}
.chart-muted{opacity:.35}.donut{box-shadow:0 5px 0 #e3e9f4,0 9px 15px -8px #304b7540}
