/* Latest reference: luminous blue shell, sector ring with aligned data, and contract register. */
body:has(#dashboardView.active) #main-container{background:radial-gradient(ellipse at 45% 5%,#d5e7ff,transparent 65%),#edf6ff!important}
body:has(#dashboardView.active) .dashboard-sidebar-art{background-image:url('/images/dashboard-building.png');background-position:center calc(100% - 10px);background-size:auto 525px;background-repeat:no-repeat;min-height:340px!important}
body:has(#dashboardView.active) .dashboard-sidebar-art>svg{visibility:hidden}
body:has(#dashboardView.active) .dashboard-sidebar-art>p,body:has(#dashboardView.active) .dashboard-sidebar-dots{visibility:visible}
body:has(#dashboardView.active) .sidebar-menu{max-height:calc(100dvh - 370px)!important}
#dashboardView .mc-primary-kpis{gap:12px!important}
#dashboardView .mc-primary-kpis .kpi-card{min-height:158px!important;padding:15px 20px!important;border-radius:9px!important;box-shadow:0 3px 12px #0c6cef04!important}
#dashboardView .mc-primary-kpis .kpi-label{font-size:16px!important;min-height:36px!important;line-height:1.6!important;padding-left:52px!important}
#dashboardView .mc-primary-kpis .kpi-value{font-size:30px!important;line-height:1.4!important;margin:0 0 5px!important}
#dashboardView .mc-primary-kpis .mc-kpi-icon{width:50px!important;height:52px!important;top:14px!important;left:17px!important}
#dashboardView .mc-primary-kpis .mc-kpi-icon svg{width:29px!important;height:29px!important}
.dashboard-sparkline{width:54%!important;height:52px!important;bottom:5px!important;left:17px!important;opacity:.9}
.dashboard-trend{max-width:43%!important;font-size:18px!important;min-height:40px}
.dashboard-trend small{font-size:10px;line-height:1.5}
.dashboard-trend.is-neutral{font-size:12px!important}
#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(9,minmax(0,1fr))!important;gap:8px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-card{min-height:129px!important;padding:10px 9px!important;border-radius:7px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head{gap:4px!important;min-height:49px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-icon{width:32px!important;min-width:32px!important;height:35px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-label{font-size:12px!important;line-height:1.65!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-value{font-size:21px!important;line-height:1.5!important;margin:3px 0!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-sub{font-size:11px!important;line-height:1.6!important}
#dashboardView .mc-dashboard-tabs{margin:13px 0 12px!important;background:linear-gradient(100deg,#fff,#edf6ff)!important}
#dashboardView .mc-dashboard-tab[aria-selected="true"]{background:linear-gradient(115deg,#075eff,#092c78)!important;box-shadow:inset 0 1px 8px #ffffff48,0 4px 10px #1c66d921!important}
#dashboardView .mc-contract-value-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important;gap:10px!important}
#dashboardView .mc-contract-value-row>.mc-chart-card{height:auto!important;min-height:390px!important;border-radius:10px!important;background:linear-gradient(140deg,#fff,#fcfdff)!important}
#dashboardView .mc-contract-value-row .dashboard-chart-heading{padding:12px 13px 4px!important;gap:10px!important;min-height:50px!important}
#dashboardView .mc-chart-header{font-size:18px!important;gap:10px!important}
.dashboard-chart-heading .mc-chart-header{flex:1 1 auto}
.dashboard-chart-switch button{min-height:34px!important;padding:6px 13px!important;font-size:13px!important}
.dashboard-chart-switch button[aria-pressed="true"]{background:linear-gradient(125deg,#315fae,#17387e)!important;box-shadow:0 3px 10px #1251bd26!important}
#dashboardView .mc-contract-value-row .mc-chart-body{height:290px!important;padding:15px 14px!important}
#dashboardView .mc-contract-value-row #mcChartContractValueBody{height:270px!important;padding:4px 14px 12px!important}
.dashboard-sector-layout{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(0,1fr);align-items:center;direction:ltr;gap:4px;padding:0 15px 14px}
#dashboardView .dashboard-sector-layout #mcManagerContractBody{padding:10px 0!important;height:276px!important;min-width:0;overflow:hidden!important}
#dashboardView .dashboard-sector-layout #mcManagerContractBody .mc-chart-scroll-inner{height:100%!important;min-height:0!important}
.dashboard-sector-shares{direction:rtl;display:flex;flex-direction:column;gap:17px;border:0;margin:0;padding:12px 0;min-width:0}
.dashboard-sector-shares li{grid-template-columns:minmax(0,1fr) 55px 86px;gap:7px;font-size:15px;line-height:1.5;align-items:center}
.dashboard-sector-shares li>span{gap:10px}
.dashboard-sector-shares i{width:14px;height:14px}
.dashboard-sector-shares strong{font-size:16px}
.dashboard-sector-shares small{grid-column:auto;font-size:15px;font-weight:600;text-align:left;color:#08167d}
.dashboard-share-explanation{font-size:12px!important;color:#6b7eae;padding:2px 15px 4px;line-height:1.7}
.dashboard-chart-meta{padding:4px 13px!important;gap:10px!important;min-height:46px!important;justify-content:space-between!important}
.dashboard-chart-legend{gap:12px!important;font-size:11px!important;flex-wrap:wrap;justify-content:flex-start}
.dashboard-chart-legend>span{gap:6px!important}
.dashboard-chart-legend i{width:12px!important;height:12px!important}
.dashboard-change-key i{height:0!important;width:16px!important;border-top:1px dashed #e5a4a4;background:transparent!important;border-radius:0!important}
.dashboard-year-control{flex-shrink:0}
#dashboardView .mc-contract-register{border-radius:10px!important;margin-top:12px!important;padding:10px 13px!important}
#dashboardView .dashboard-register-heading .mc-chart-header{font-size:19px!important}
#dashboardView .mc-contract-register-table{min-width:1340px!important;table-layout:fixed!important}
#dashboardView .mc-contract-register-table th,#dashboardView .mc-contract-register-table td{min-width:0!important;padding:7px 8px!important;font-size:16px!important;line-height:1.7!important}
#dashboardView .mc-contract-register-table th{background:linear-gradient(100deg,#e5f2ff,#dfedff)!important;font-size:14px!important;font-weight:400!important}
#dashboardView .mc-contract-register-table th:nth-child(1){width:175px!important}
#dashboardView .mc-contract-register-table th:nth-child(2){width:260px!important;min-width:0!important}
#dashboardView .mc-contract-register-table th:nth-child(3){width:170px!important}
#dashboardView .mc-contract-register-table th:nth-child(4),#dashboardView .mc-contract-register-table th:nth-child(6){width:115px!important}
#dashboardView .mc-contract-register-table th:nth-child(5){width:105px!important}
#dashboardView .mc-contract-register-table th:nth-child(7){width:130px!important}
#dashboardView .mc-contract-register-table th:nth-child(8){width:135px!important}
#dashboardView .mc-contract-register-table th:nth-child(9){width:105px!important}
.dashboard-status{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:3px 9px;border-radius:5px;background:#edf1ff;color:#655bb8;font-size:13px;white-space:normal;line-height:1.5}
.dashboard-status[data-status="Active"]{color:#00a985;background:#e0f8ef}
.dashboard-status[data-status="Completed"]{color:#1267df;background:#e3f1ff}
.dashboard-status[data-status="Suspended"],.dashboard-status[data-status="Cancelled"]{color:#f35e65;background:#fff0ee}
.dashboard-status[data-status="Draft"]{color:#dc8724;background:#fff2db}
.dashboard-execution{--execution-color:#1ac49a;display:flex;align-items:center;gap:7px;direction:ltr;min-width:0}
.dashboard-execution-track{height:15px;flex:1;min-width:35px;border:1px solid #e1e8f5;background:#f0f4fa;box-shadow:inset 0 1px 4px #5477ba12;border-radius:20px;padding:2px}
.dashboard-execution-track i{display:block;height:100%;border-radius:20px;background:var(--execution-color);box-shadow:0 1px 4px color-mix(in srgb,var(--execution-color) 35%,transparent);transition:width .6s ease}
.dashboard-execution strong{font-size:12px;min-width:36px;color:#192b86;font-weight:600}
.dashboard-execution-blue{--execution-color:#287bff}.dashboard-execution-orange{--execution-color:#ffb64e}.dashboard-execution-red{--execution-color:#ff585b}.dashboard-execution-gray{--execution-color:#aab6cc}
.dashboard-row-actions{display:flex;align-items:center;justify-content:center;gap:6px}
.dashboard-row-actions button{display:grid;place-items:center;width:25px;height:28px;border:0;background:transparent;color:#4f72d5;font-size:20px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.dashboard-row-actions button:hover{background:#e4efff;color:#0046d9;border-radius:4px}
.dashboard-row-actions svg{width:17px;height:17px}
.dashboard-other-kpis{margin-top:18px;padding:15px;border:1px solid #dbeaff;border-radius:10px;background:#ffffff9e}
.dashboard-other-kpis h3{font-size:19px;color:#0b197b;margin:0 0 15px}
.dashboard-other-kpis .mc-secondary-kpis{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important}
.dashboard-contract-dialog{width:min(620px,calc(100vw - 24px));max-height:85dvh;overflow:auto;border:1px solid #d2e5ff;border-radius:15px;padding:24px;color:#07167f;box-shadow:0 18px 80px #03235b38;font-family:"Roboto","IBM Plex Sans Arabic",sans-serif}
.dashboard-contract-dialog::backdrop{background:#07172b66;backdrop-filter:blur(4px)}
.dashboard-contract-dialog h2{font-size:22px;margin:0 0 20px}
.dashboard-contract-dialog dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;border-bottom:1px solid #e2edff;padding:10px 0;line-height:1.8}
.dashboard-contract-dialog dt{font-size:14px;color:#677fb6;font-weight:400}.dashboard-contract-dialog dd{font-size:16px;margin:0;overflow-wrap:anywhere}
.dashboard-dialog-close{float:left;border:1px solid #dceaff;border-radius:7px;background:#f2f7ff;color:#3158bc;width:32px;height:32px;font-size:24px;line-height:1;cursor:pointer}
@media(max-width:1450px){#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}.dashboard-sector-layout{grid-template-columns:minmax(200px,.9fr) minmax(0,1fr);padding:0 10px 12px}.dashboard-sector-shares li{grid-template-columns:minmax(0,1fr) 48px 74px;font-size:13px;gap:4px}.dashboard-sector-shares small,.dashboard-sector-shares strong{font-size:13px}}
@media(max-width:1200px){#dashboardView .mc-primary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}#dashboardView .mc-contract-value-row{grid-template-columns:minmax(0,1fr)!important}.dashboard-sector-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1fr)}.dashboard-sector-shares li{font-size:16px;grid-template-columns:minmax(0,1fr) 65px 95px}.dashboard-sector-shares small,.dashboard-sector-shares strong{font-size:16px}}
@media(max-width:991px){body:has(#dashboardView.active) .dashboard-sidebar-art{display:none!important}#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:575px){
 #dashboardView .mc-primary-kpis{grid-template-columns:minmax(0,1fr)!important}
 #dashboardView .mc-primary-kpis .kpi-card{min-height:166px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-card{min-height:145px!important;padding:12px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head{min-height:58px!important;flex-direction:column!important;gap:5px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-label{font-size:14px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-value{font-size:22px!important}
 #dashboardView .mc-chart-header{font-size:17px!important}
 .dashboard-sector-layout{grid-template-columns:minmax(0,1fr);padding:0 12px 16px}
 #dashboardView .dashboard-sector-layout #mcManagerContractBody{height:270px!important}
 .dashboard-sector-shares{gap:14px;padding:0 6px}
 .dashboard-sector-shares li{grid-template-columns:minmax(0,1fr) 57px 85px;font-size:15px;gap:7px}
 .dashboard-sector-shares strong,.dashboard-sector-shares small{font-size:15px}
 .dashboard-other-kpis{padding:12px}.dashboard-other-kpis .mc-secondary-kpis{grid-template-columns:minmax(0,1fr)!important}
 .dashboard-contract-dialog dl>div{grid-template-columns:minmax(0,1fr);gap:2px}
 #dashboardView .mc-contract-register-table th:first-child,#dashboardView .mc-contract-register-table td:first-child{position:sticky!important;right:0;z-index:3;width:140px!important;background:#f7fbff!important;box-shadow:-1px 0 2px #c9d9ee}
}
@media(max-width:350px){#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:minmax(0,1fr)!important}.dashboard-sector-shares li{grid-template-columns:minmax(0,1fr) 48px 75px;font-size:13px;gap:4px}.dashboard-sector-shares strong,.dashboard-sector-shares small{font-size:13px}}
@media(prefers-reduced-motion:reduce){.dashboard-execution-track i{transition:none}}
#mcManagerContractBody[data-chart-type="doughnut"] canvas{filter:drop-shadow(0 8px 9px #1d6be328)}
#dashboardView .dashboard-sector-layout #mcManagerContractBody[data-chart-type="bar"]{overflow-y:auto!important}
#dashboardView .dashboard-sector-layout #mcManagerContractBody[data-chart-type="bar"] .mc-chart-scroll-inner{height:var(--manager-chart-height,100%)!important}
/* All nine register columns fit the reference desktop; small screens scroll inside the table. */
#dashboardView .mc-contract-register-table{min-width:1220px!important}
#dashboardView .mc-contract-register-table th:nth-child(1){width:155px!important}
#dashboardView .mc-contract-register-table th:nth-child(2){width:220px!important}
#dashboardView .mc-contract-register-table th:nth-child(3){width:155px!important}
#dashboardView .mc-contract-register-table th:nth-child(4),#dashboardView .mc-contract-register-table th:nth-child(6){width:105px!important}
#dashboardView .mc-contract-register-table th:nth-child(5){width:100px!important}
#dashboardView .mc-contract-register-table th:nth-child(7),#dashboardView .mc-contract-register-table th:nth-child(8){width:120px!important}
#dashboardView .mc-contract-register-table th:nth-child(9){width:90px!important}
.dashboard-row-actions{gap:3px}.dashboard-row-actions button{width:22px;min-width:22px;padding:2px}.dashboard-row-actions svg{width:16px;height:16px}

/* Keep all portfolio metrics together, retaining the two existing card sizes. */
#dashboardView .mc-primary-kpis .kpi-sub{margin:8px 0 0!important;color:#697dbd!important;font-size:13px!important;line-height:1.7!important;white-space:normal!important}
/* Nine large cards form three full rows; ten compact cards form two full rows. */
#dashboardView .mc-overview>.mc-primary-kpis{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(5,minmax(0,1fr))!important}
/* These accents follow the metric, so moving a card never changes its meaning. */
#dashboardView .mc-overview .mc-secondary-kpis .kpi-card.info{--card-accent:#006aff!important}
#dashboardView .mc-overview .kpi-card.success{--card-accent:#00b992!important}
#dashboardView .mc-overview .kpi-card.warning{--card-accent:#ff790a!important}
#dashboardView .mc-overview .kpi-card.danger{--card-accent:#ff253c!important}
#dashboardView .mc-overview .mc-secondary-kpis .mc-kpi-icon{color:var(--card-accent)!important;background:color-mix(in srgb,var(--card-accent) 11%,white)!important}
#dashboardView .mc-overview .kpi-card{--card-accent:#006aff!important;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s!important}
#dashboardView .mc-overview .mc-kpi-icon{transition:transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .3s!important}
#dashboardView.active .mc-overview>.mc-primary-kpis>.kpi-card,
#dashboardView.active .mc-overview>.mc-secondary-kpis>.kpi-card{animation:dashboard-card-enter .65s cubic-bezier(.2,.7,.2,1) backwards!important;animation-delay:var(--kpi-enter-delay,0ms)!important}
#dashboardView.active .mc-overview .kpi-card.dashboard-kpi-updated{animation:dashboard-kpi-update .8s ease-out!important;animation-delay:0ms!important}
@media(hover:hover) and (pointer:fine){
 #dashboardView .mc-overview .kpi-card:hover{transform:translateY(-5px)!important;border-color:color-mix(in srgb,var(--card-accent) 32%,#dbeaff)!important;box-shadow:0 10px 24px #1c6de71a!important}
 #dashboardView .mc-overview .kpi-card:hover .mc-kpi-icon{transform:translateY(-2px) rotate(-7deg) scale(1.07);box-shadow:0 5px 12px #1c6de714}
}
@keyframes dashboard-card-enter{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes dashboard-kpi-update{0%{box-shadow:0 0 0 0 #006aff26}45%{box-shadow:0 0 0 4px #006aff12}100%{box-shadow:0 0 0 0 transparent}}
@media(min-width:576px) and (max-width:991px){
 #dashboardView .mc-overview>.mc-primary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #dashboardView .mc-overview>.mc-primary-kpis>.kpi-card:last-child{grid-column:1 / -1!important}
}
@media(min-width:576px) and (max-width:991px){
 #dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 #dashboardView .mc-overview>.mc-secondary-kpis>.kpi-card:nth-last-child(-n+2){grid-column:span 2!important}
}
@media(max-width:575px){
 #dashboardView .mc-overview>.mc-primary-kpis{grid-template-columns:minmax(0,1fr)!important}
 #dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:350px){#dashboardView .mc-overview>.mc-secondary-kpis{grid-template-columns:minmax(0,1fr)!important}}
/* Navigation stays below the full KPI overview, in normal document flow. */
#dashboardView>.mc-dashboard-tabs{position:relative!important;top:auto!important;margin:10px 0 12px!important;background:linear-gradient(100deg,#fff,#edf6ff)!important;box-shadow:0 5px 16px #163d8012!important}
#dashboardView .mc-overview>.mc-primary-kpis>.kpi-card{min-height:132px!important;padding:12px 16px!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-label{font-size:14px!important;min-height:28px!important;padding-left:44px!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-value{font-size:28px!important;line-height:1.3!important}
#dashboardView .mc-overview>.mc-primary-kpis .mc-kpi-icon{width:38px!important;height:40px!important;left:14px!important;top:12px!important}
#dashboardView .mc-overview>.mc-primary-kpis .mc-kpi-icon svg{width:24px!important;height:24px!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-sub{font-size:11px!important;margin-top:6px!important}
#dashboardView .mc-overview .dashboard-trend{font-size:15px!important;min-height:30px!important}
#dashboardView .mc-overview .dashboard-trend.is-neutral{font-size:11px!important}
#dashboardView .mc-overview .dashboard-trend small{font-size:9px!important}
#dashboardView .mc-overview .dashboard-sparkline{height:36px!important}
#dashboardView .mc-overview>.mc-secondary-kpis>.kpi-card{min-height:94px!important;height:auto!important;padding:10px 12px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head{flex-direction:row-reverse!important;align-items:flex-start!important;min-height:26px!important;gap:7px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-icon{position:static!important;width:25px!important;min-width:25px!important;height:26px!important;border-radius:6px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-icon svg{width:17px!important;height:17px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-label{font-size:11px!important;line-height:1.5!important;padding:0!important;overflow-wrap:anywhere!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-value{font-size:19px!important;line-height:1.35!important;margin:3px 0!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-sub{font-size:10px!important;line-height:1.5!important}
#dashboardView .mc-overview .kpi-card{isolation:isolate;overflow:hidden!important;transition:transform .3s cubic-bezier(.2,.7,.2,1),box-shadow .3s,border-color .3s,background .3s!important}
#dashboardView .mc-overview .kpi-card::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;background:linear-gradient(110deg,transparent 25%,#ffffffa8 50%,transparent 75%);transform:translateX(120%);transition:transform .75s ease}
/* Fit three large rows, two compact rows and the tabs in common laptop viewports. */
@media(min-width:992px){
 #dashboardView .mc-overview{margin-bottom:8px!important}
 #dashboardView .mc-overview>.mc-primary-kpis{gap:10px!important;margin-bottom:8px!important}
 #dashboardView .mc-overview>.mc-primary-kpis>.kpi-card{min-height:clamp(102px,calc((100dvh - 420px) / 3),124px)!important;padding:8px 14px!important}
 #dashboardView .mc-overview>.mc-primary-kpis .kpi-label{font-size:13px!important;min-height:22px!important;line-height:1.5!important;padding-left:38px!important}
 #dashboardView .mc-overview>.mc-primary-kpis .kpi-value{font-size:26px!important;line-height:1.2!important;margin:0 0 3px!important}
 #dashboardView .mc-overview>.mc-primary-kpis .mc-kpi-icon{width:32px!important;height:34px!important;left:12px!important;top:9px!important}
 #dashboardView .mc-overview>.mc-primary-kpis .mc-kpi-icon svg{width:21px!important;height:21px!important}
 #dashboardView .mc-overview>.mc-primary-kpis .kpi-sub{margin-top:4px!important;font-size:10px!important;line-height:1.5!important}
 #dashboardView .mc-overview .dashboard-trend{min-height:26px!important;font-size:13px!important;line-height:1.3!important}
 #dashboardView .mc-overview .dashboard-trend small{font-size:9px!important;line-height:1.4!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #dashboardView .mc-overview .dashboard-sparkline{height:28px!important;bottom:5px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis{gap:6px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis>.kpi-card{min-height:78px!important;padding:6px 10px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head{min-height:22px!important;gap:6px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-icon{width:22px!important;min-width:22px!important;height:23px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-icon svg{width:15px!important;height:15px!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-label{font-size:10px!important;line-height:1.4!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-value{font-size:18px!important;line-height:1.2!important;margin:2px 0!important}
 #dashboardView .mc-overview>.mc-secondary-kpis .kpi-sub{font-size:9px!important;line-height:1.4!important}
}
@media(hover:hover) and (pointer:fine){
 #dashboardView .mc-overview .kpi-card:hover{z-index:2;transform:translateY(-6px) scale(1.012)!important;border-color:color-mix(in srgb,var(--card-accent) 65%,#dbeaff)!important;background:linear-gradient(125deg,#fff,color-mix(in srgb,var(--card-accent) 6%,white))!important;box-shadow:0 14px 28px #173d8029,0 0 0 2px color-mix(in srgb,var(--card-accent) 12%,transparent)!important}
 #dashboardView .mc-overview .kpi-card:hover::after{transform:translateX(-120%)}
 #dashboardView .mc-overview .kpi-card:hover .mc-kpi-icon{transform:translateY(-3px) rotate(-10deg) scale(1.13);box-shadow:0 6px 14px color-mix(in srgb,var(--card-accent) 25%,transparent)}
}
/* Larger typography uses the existing card footprint, with a centered value axis. */
#dashboardView .mc-overview>.mc-primary-kpis>.kpi-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;justify-content:stretch!important;align-items:center!important;padding:5px 10px!important;text-align:center!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-label{font-size:17px!important;line-height:1.2!important;min-height:20px!important;padding:0 30px!important;margin:0!important;text-align:center!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-value{font-size:36px!important;line-height:1.05!important;margin:1px 0!important;text-align:center!important}
#dashboardView .mc-overview>.mc-primary-kpis .kpi-sub{font-size:12px!important;line-height:1.3!important;margin:0!important;text-align:center!important}
#dashboardView .mc-overview .dashboard-trend{max-width:66%!important;justify-self:center!important;width:100%!important;min-height:0!important;padding:0!important;margin:0!important;font-size:14px!important;line-height:1.25!important;text-align:center!important}
#dashboardView .mc-overview .dashboard-trend.is-neutral{font-size:12px!important}
#dashboardView .mc-overview .dashboard-trend small{font-size:10px!important;line-height:1.25!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#dashboardView .mc-overview .dashboard-sparkline{width:22%!important;height:26px!important;left:9px!important;bottom:7px!important;opacity:.55!important}
#dashboardView .mc-overview>.mc-secondary-kpis>.kpi-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:28px 1fr 14px!important;justify-content:stretch!important;align-items:center!important;padding:5px 9px!important;text-align:center!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head{min-height:0!important;height:28px!important;align-items:center!important;gap:5px!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-label{font-size:13.5px!important;font-weight:600!important;line-height:1.05!important;text-align:right!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-value{font-size:25px!important;line-height:1!important;margin:0!important;text-align:center!important}
#dashboardView .mc-overview>.mc-secondary-kpis .kpi-sub{font-size:11.5px!important;line-height:14px!important;text-align:center!important}
#dashboardView .mc-overview .kpi-card::before{display:block!important;content:"";position:absolute;left:-35px!important;right:auto!important;top:auto!important;bottom:-62px!important;width:130px;height:130px;border:14px solid color-mix(in srgb,var(--card-accent) 7%,transparent);border-radius:50%;background:transparent!important;pointer-events:none;z-index:0;transition:transform .55s ease,border-color .35s ease}
#dashboardView .mc-overview .kpi-value{position:relative;z-index:1;transition:color .3s ease,transform .3s ease!important}
#dashboardView .mc-overview>.mc-secondary-kpis .mc-kpi-head,#dashboardView .mc-overview .kpi-sub{position:relative;z-index:1}
@media(min-width:992px){
 #dashboardView .mc-overview>.mc-primary-kpis>.kpi-card{height:clamp(102px,calc((100dvh - 420px) / 3),124px)!important;min-height:0!important}
 #dashboardView .mc-overview>.mc-secondary-kpis>.kpi-card{height:80px!important;min-height:0!important}
}
@media(hover:hover) and (pointer:fine){
 #dashboardView .mc-overview .kpi-card:hover::before{transform:translate(8px,-8px) scale(1.1);border-color:color-mix(in srgb,var(--card-accent) 13%,transparent)}
 #dashboardView .mc-overview .kpi-card:hover .kpi-value{color:var(--card-accent)!important;transform:translateY(-1px)}
 #dashboardView .mc-overview .kpi-card:hover .mc-kpi-icon svg{animation:dashboard-icon-pop .55s cubic-bezier(.2,.7,.2,1)}
}
@keyframes dashboard-icon-pop{0%,100%{transform:scale(1)}45%{transform:scale(1.2) rotate(8deg)}75%{transform:scale(.96) rotate(-3deg)}}
@media(prefers-reduced-motion:reduce){
 #dashboardView.active .mc-overview>.mc-primary-kpis>.kpi-card,
 #dashboardView.active .mc-overview>.mc-secondary-kpis>.kpi-card{animation:none!important;transition:none!important;transform:none!important}
 #dashboardView .mc-overview .mc-kpi-icon{transition:none!important;transform:none!important}
 #dashboardView .mc-overview .kpi-card::after{display:none!important}
 #dashboardView .mc-overview .kpi-card::before,#dashboardView .mc-overview .kpi-value{transition:none!important;transform:none!important}
 #dashboardView .mc-overview .mc-kpi-icon svg{animation:none!important}
}
