/* CxM 16 — Command Centre Studio. Presentation-only revision. */
:root { --cx16-blue: #44b5ff; --cx16-surface: #101f35; --cx16-border: #2e4a67; }
html[data-theme="light"] { --cx16-blue: #126ac0; --cx16-surface: #ffffff; --cx16-border: #d9e4f2; }
/* New visual rhythm: foreground engineering data instead of decorative cards */
.cx15-view-overview .cx16-project-hero { border-radius: 16px !important; box-shadow: none !important; padding: 15px 22px !important; background: linear-gradient(110deg,#102a46,#173756 75%,#153f61)!important; }
.cx16-project-hero .cx13-hero-top { font-size:10px; letter-spacing:1.8px; }
.cx16-project-hero .cx13-hero-meta { display:none; }
.cx15-view-overview .cx14-heading-copy h2 { font-size: clamp(27px,3vw,41px)!important; letter-spacing:-1.8px; }
.cx15-view-overview .cx14-heading-copy p { font-size: 12px; }
.cx15-view-overview .cx14-analytics-heading {padding-top:3px; margin-bottom:15px; }
/* Three equal hero data instruments on desktop */
.cx15-view-overview .cx16-gauge-frame { overflow:hidden; position:relative; padding:16px!important; border:1px solid var(--cx16-border)!important; background:linear-gradient(130deg,#12314c18,transparent 55%),var(--cx15-faint)!important; box-shadow:none!important; border-radius:22px!important; }
.cx16-gauge-frame:before {content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(90deg,#64beff07 1px,transparent 1px),linear-gradient(#64beff07 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,transparent,#000);}
.cx15-view-overview .cx16-gauge-frame .cx16-gauges {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:0;padding:0;position:relative;}
.cx15-view-overview .cx16-gauge-frame .cx16-gauge { min-width:0; width:100%; max-width:none; min-height:290px; padding:15px 16px 12px; gap:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;background:linear-gradient(155deg,rgba(25,89,144,.2),transparent 80%),var(--cx15-surface)!important;border-radius:18px!important;border:1px solid var(--cx16-border)!important;position:relative;isolation:isolate;transition:transform .2s,border-color .2s,box-shadow .2s;}
.cx15-view-overview .cx16-gauge-frame .cx16-gauge:hover {transform:translateY(-3px);border-color:#5cbaff!important;box-shadow:0 12px 28px #00000013!important;}
.cx16-gauge:after{content:"";position:absolute;z-index:-1;left:20%;right:20%;top:34%;height:28%;background:var(--cx16-blue);opacity:.06;filter:blur(37px);pointer-events:none;}
.cx16-gauge-head{color:var(--cx15-ink);font-size:13px;font-weight:790;width:100%;display:flex;align-items:center;justify-content:flex-start;gap:8px;letter-spacing:-.05px;}
.cx16-gauge-head-dot{width:7px;height:7px;background:#43adff;box-shadow:0 0 15px #43adff70;border-radius:100%;flex:none;}
.cx16-gauge-witnessed .cx16-gauge-head-dot{background:#34d4c3;box-shadow:0 0 15px #34d4c370}
.cx16-gauge-documentationIssued .cx16-gauge-head-dot{background:#a7b0ff;box-shadow:0 0 15px #a7b0ff70}
.cx16-gauge-ordinal{font-size:10px;color:var(--cx15-muted);font-weight:700;margin-left:auto;letter-spacing:.5px}
.cx16-gauge-svg{width:min(100%,200px);height:auto;max-height:212px;overflow:visible;flex:1;display:block;margin:0 auto;}
.cx16-gauge-halo{fill:none;stroke:var(--cx15-border);stroke-width:.75;stroke-dasharray:1 4;}
.cx16-gauge-guide{fill:none;stroke:var(--cx15-border);stroke-width:.65;stroke-dasharray:1.2 5;opacity:.75}
.cx16-gauge-track{fill:none;stroke:var(--cx15-border);stroke-width:11;opacity:.9}
.cx16-gauge-progress{fill:none;stroke-width:11;stroke-linecap:round;transform:rotate(-90deg);transform-origin:80px 80px;transition:stroke-dashoffset .75s cubic-bezier(.2,.75,.2,1);}
.cx16-gauge-value{fill:var(--cx15-ink);font-size:34px;font-weight:850;letter-spacing:-1.4px;font-variant-numeric:tabular-nums;}
.cx16-gauge-subvalue{fill:var(--cx15-muted);font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.5px}
.cx16-gauge-footer{font-size:11px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--cx15-muted);padding-top:10px;border-top:1px solid var(--cx15-border);}
.cx16-gauge-footer b{color:var(--cx16-blue);font-weight:770;white-space:nowrap}
/* Make the comparisons the second prominent visual and reduce the long list feel */
.cx15-view-overview .cx14-analytics-grid .cx-live-panel {border-radius:18px!important;box-shadow:none!important;}
.cx15-view-overview .cx-live-bar-track{height:13px;border-radius:100px;}
.cx15-view-overview .cx-live-disc-heading strong{font-size:16px;}
.cx15-view-overview .cx-live-compare-row strong {font-size:13px;font-variant-numeric:tabular-nums}
.cx15-view-overview .cx-live-groups{border-radius:18px!important;box-shadow:none!important}
.cx15-view-overview .cx-live-group-row b{font-variant-numeric:tabular-nums}
/* Compact, deliberately scoped navigation */
@media(max-width:1050px){
 .cx16-menu-close{display:grid!important;place-items:center;position:absolute;right:12px;top:12px;width:34px;height:34px;border:1px solid #446586;border-radius:10px;background:#112b47;color:#d9edff;font-size:24px;line-height:1;z-index:1;cursor:pointer;}
 .sidebar .cxm-brand{position:relative;min-height:0!important;padding:12px 42px 9px 12px!important;gap:9px;display:flex;align-items:center;}
 .sidebar .cxm-brand-logo{max-width:105px!important;width:105px!important;height:auto!important;}
 .sidebar .cxm-brand-wordmark strong{font-size:17px!important}
 .sidebar .cxm-brand-wordmark small{font-size:9px!important}
 .sidebar .project-switcher{margin:6px 12px 9px;padding:10px 12px;min-height:0}
 .sidebar .project-switcher strong{font-size:12px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
 .sidebar .nav-heading{padding-top:7px;padding-bottom:5px}
 .sidebar .nav-group-trigger,.sidebar .nav-link{min-height:42px!important;padding-top:8px!important;padding-bottom:8px!important;}
 .sidebar .nav-group-panel .nav-link{min-height:38px!important;}
 .sidebar{width:min(82vw,340px)!important;max-width:340px!important;}
}
@media(min-width:1051px){.cx16-menu-close{display:none}}
@media(max-width:800px){
 /* One deliberately dominant instrument plus two visible compact instruments. No hidden KPI behind swipes. */
 .cx15-view-overview .cx16-project-hero{padding:12px 15px!important;margin-bottom:9px!important}
 .cx15-view-overview .cx16-project-hero h1{font-size:19px!important;}
 .cx15-view-overview .cx14-analytics-heading{margin-bottom:10px!important}
 .cx15-view-overview .cx14-heading-copy h2{font-size:27px!important;letter-spacing:-1px;}
 .cx15-view-overview .cx16-gauge-frame{padding:10px!important;margin-top:2px!important;border-radius:17px!important;}
 .cx15-view-overview .cx16-gauge-frame .cx16-gauges{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:0!important;overflow:visible!important;}
 .cx15-view-overview .cx16-gauge-frame .cx16-gauge{width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;min-height:160px!important;padding:11px 10px 9px!important;scroll-snap-align:unset!important;border-radius:13px!important;}
 .cx15-view-overview .cx16-gauge-frame .cx16-gauge-commissioned{grid-column:span 2;min-height:224px!important;padding:12px 17px!important;background:radial-gradient(ellipse 65% 60% at 50% 57%,#298eee21,transparent),linear-gradient(155deg,#225e9e25,transparent 78%),var(--cx15-surface)!important;}
 .cx16-gauge-head{font-size:11px;gap:6px}
 .cx16-gauge-svg{width:min(100%,111px);max-height:113px;flex:none!important;}
 .cx16-gauge-commissioned .cx16-gauge-svg{width:160px;max-height:163px;}
 .cx16-gauge-value{font-size:33px}
 .cx16-gauge-subvalue{font-size:13px}
 .cx16-gauge-footer{font-size:9px;line-height:1.15;gap:3px}
 .cx16-gauge-footer b{font-size:10px}
 .cx15-view-overview .cx14-gauge-frame:after{display:none!important}
 .cx16-gauge-ordinal{font-size:9px}
 .cx15-view-overview .cx14-analytics-grid .cx-live-panel,.cx15-view-overview .cx14-live-dashboard>.cx-live-panel{padding:16px 13px!important;}
 .cx15-view-overview .cx14-head-actions {display:none!important}
}
@media(prefers-reduced-motion:reduce){.cx16-gauge-progress,.cx16-gauge{transition:none!important;}}
/* Override legacy mobile SVG sizes; keep instrument geometry deliberate and aligned. */
.cx15-view-overview .cx13-dashboard-shell .cx16-gauge-frame .cx16-gauge .cx16-gauge-svg{width:196px!important;height:196px!important;max-width:95%!important;max-height:none!important;flex:none!important;}
@media(max-width:800px){
 .cx15-view-overview .cx13-dashboard-shell .cx16-gauge-frame .cx16-gauge .cx16-gauge-svg{width:108px!important;height:108px!important;max-width:95%!important;}
 .cx15-view-overview .cx13-dashboard-shell .cx16-gauge-frame .cx16-gauge-commissioned .cx16-gauge-svg{width:158px!important;height:158px!important;max-width:95%!important;}
 .cx15-view-overview .cx13-dashboard-shell .cx16-gauge-frame .cx16-gauge-commissioned{min-height:250px!important;}
 .cx15-view-overview .cx13-dashboard-shell .cx16-gauge-frame .cx16-gauge:not(.cx16-gauge-commissioned){min-height:185px!important;}
}
/* Explicit gauge series colours; never rely on an unrelated legacy selector. */
.cx16-gauge-progress.metric-commissioned {stroke:#38aaf8;filter:drop-shadow(0 0 4px #38aaf855)}
.cx16-gauge-progress.metric-witnessed {stroke:#2ed5c6;filter:drop-shadow(0 0 4px #2ed5c655)}
.cx16-gauge-progress.metric-documentationIssued {stroke:#a7b0ff;filter:drop-shadow(0 0 4px #a7b0ff55)}
