/* Cx37 — adaptive commissioning charts, compact meeting view and mobile page polish.
   Strictly interface only; project records, authentication, API and templates stay untouched. */
:root{--cx37-ice:#7acfff;--cx37-panel:#10243e;--cx37-border:#2f557a}
/* Compact project heading and one unambiguous primary action. */
.cx36-meeting-page{max-width:1260px;gap:12px}
.cx36-meeting-intro{min-width:0;gap:18px;min-height:0;padding:21px 25px;border-radius:19px}
.cx36-meeting-intro>div{min-width:0}
.cx36-meeting-intro h1{font-size:clamp(21px,2.65vw,32px);line-height:1.13;overflow-wrap:break-word;margin:8px 0 5px}
.cx36-meeting-intro p{margin:0;color:#b3d1ed;font-size:12px;font-weight:650}
.cx36-meeting-scope{padding:10px 15px;min-height:0;gap:11px}
.cx36-meeting-scope>span:nth-child(2){line-height:1.4;overflow-wrap:anywhere}
.cx36-meeting-scope strong{color:inherit;font-size:inherit}
.cx36-meeting-scope button{flex:0 0 auto}
.cx36-meeting-charts{min-width:0}
.cx36-meeting-page .cx14-analytics-heading{display:flex;align-items:center;gap:12px;justify-content:space-between;margin:0 0 12px;padding:7px 3px 0}
.cx36-meeting-page .cx14-eyebrow{font-size:10px;letter-spacing:.15em}
.cx36-meeting-page .cx14-heading-copy h2{font-size:clamp(21px,2.3vw,28px);letter-spacing:-.025em;margin:5px 0 3px}
.cx36-meeting-page .cx14-heading-copy p{font-size:11px}
.cx36-meeting-page .cx14-head-actions{align-self:center;margin:0}
.cx36-meeting-page .cx-live-indicator{white-space:nowrap;font-size:11px}
/* Main issue in Cx36: charts lived outside .cx13-dashboard-shell, so all
   legacy responsive sizing/selectors missed the meeting route. */
.cx36-meeting-page .cx14-gauge-frame{padding:13px!important;margin-bottom:13px;border-radius:20px!important;overflow:hidden}
.cx36-meeting-page .cx16-gauges{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;margin:0!important;min-width:0!important}
.cx36-meeting-page .cx16-gauge{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:space-between!important;gap:11px!important;min-width:0!important;width:100%!important;min-height:274px!important;padding:17px 16px 13px!important;border:1px solid var(--cx37-border)!important;border-radius:18px!important;background:linear-gradient(155deg,#1b477332,transparent 78%),var(--cx15-surface)!important;box-shadow:inset 0 1px #b4dfff0b!important;color:var(--cx15-ink)!important;box-sizing:border-box!important;position:relative;cursor:pointer}
.cx36-meeting-page .cx16-gauge-head{display:grid!important;grid-template-columns:8px minmax(0,1fr) 22px!important;gap:9px!important;align-items:center!important;justify-content:stretch!important;font-size:clamp(12px,1.2vw,15px)!important;white-space:nowrap!important;line-height:1.2!important;letter-spacing:0!important;min-height:22px!important;width:100%!important;overflow:visible!important}
.cx36-meeting-page .cx16-gauge-head-dot{flex:none!important;width:8px!important;height:8px!important}
.cx36-meeting-page .cx16-gauge-ordinal{font-variant-numeric:tabular-nums;justify-self:end;margin:0!important;line-height:1!important;font-size:10px!important}
.cx36-meeting-page .cx16-gauge-svg{display:block!important;flex:0 0 auto!important;align-self:center!important;width:min(100%,175px)!important;height:auto!important;max-height:182px!important;aspect-ratio:1!important;margin:0 auto!important;overflow:visible!important}
.cx36-meeting-page .cx16-gauge-footer{width:100%!important;display:flex!important;align-items:center!important;gap:10px!important;justify-content:space-between!important;border-top:1px solid var(--cx37-border)!important;padding:10px 0 0!important;line-height:1.3!important;font-size:11px!important;text-align:left!important;white-space:normal!important;min-height:28px}
.cx36-meeting-page .cx16-gauge-footer span{flex:1;min-width:0}
.cx36-meeting-page .cx16-gauge-footer b{font-size:11px!important;flex:none;white-space:nowrap}
/* Chart and drilldown panels must use meeting route width, not ancestor-dependent selectors. */
.cx36-meeting-page .cx14-analytics-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:13px;margin:0 0 13px}
.cx36-meeting-page .cx14-analytics-grid .cx-live-panel,
.cx36-meeting-page .cx14-live-dashboard>.cx-live-panel{min-width:0;margin:0;padding:21px;border-radius:18px;border:1px solid var(--cx37-border);background:linear-gradient(160deg,#15345530,transparent),var(--cx15-surface);box-shadow:inset 0 1px #b0dfff09}
.cx36-meeting-page .cx-live-panel-heading{min-width:0;gap:10px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}
.cx36-meeting-page .cx-live-panel-heading h3{font-size:18px;line-height:1.22;color:var(--cx15-ink);margin:4px 0 0}
.cx36-meeting-page .cx-live-panel-sub{max-width:180px;font-size:10px}
.cx36-meeting-page .cx-live-disc-block{padding:14px 0}
.cx36-meeting-page .cx-live-disc-heading strong{font-size:15px}
.cx36-meeting-page .cx-live-compare-row{grid-template-columns:minmax(90px,137px) minmax(35px,1fr) 41px;gap:9px;padding:7px 4px}
.cx36-meeting-page .cx-live-compare-name{font-size:11px}
.cx36-meeting-page .cx-live-bar-track{height:10px}
.cx36-meeting-page .cx-live-pie{position:relative;display:grid;place-items:center;width:min(190px,49%);height:auto;aspect-ratio:1;flex:0 0 auto;border-radius:50%;margin:7px 0}
.cx36-meeting-page .cx-live-pie-centre{position:absolute!important;inset:50% auto auto 50%!important;transform:translate(-50%,-50%)!important;width:68%!important;aspect-ratio:1!important;height:auto!important;padding:0!important;border-radius:50%!important;background:var(--cx15-surface)!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;white-space:normal!important}
.cx36-meeting-page .cx-live-pie-centre strong{font-size:clamp(23px,2.5vw,33px)!important}
.cx36-meeting-page .cx-live-pie-centre small{font-size:10px!important}
.cx36-meeting-page .cx-live-pie-layout{display:flex;justify-content:center;gap:16px;align-items:center;min-height:198px}
.cx36-meeting-page .cx-live-pie-legend{flex:1}
.cx36-meeting-page .cx-live-group-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px}
.cx36-meeting-page .cx-live-group-row{grid-template-columns:minmax(0,1.15fr) minmax(35px,.85fr) 36px;min-width:0}
.cx36-meeting-page .cx-live-group-heading strong{overflow-wrap:anywhere}
/* Keep an important accuracy caveat visible without the oversized warning card. */
.cx37-scope-check{border:1px solid #79683a7b;border-radius:12px;background:#4f421523;margin:0 0 13px;color:var(--cx15-ink);overflow:hidden}
.cx37-scope-check summary{display:flex;align-items:center;gap:10px;min-height:41px;padding:9px 13px;cursor:pointer;list-style:none;font-size:11px}
.cx37-scope-check summary::-webkit-details-marker{display:none}
.cx37-scope-icon{display:grid;place-items:center;flex:0 0 23px;width:23px;height:23px;border-radius:7px;background:#a37b1b35;color:#f2cf79;font-weight:900;font-size:13px}
.cx37-scope-check summary strong{flex:1;font-weight:750}
.cx37-scope-expander{color:var(--cx15-muted);font-size:10px;font-weight:700}
.cx37-scope-check[open] .cx37-scope-expander{font-size:0}
.cx37-scope-check[open] .cx37-scope-expander:after{content:'Less';font-size:10px}
.cx37-scope-details{border-top:1px solid #79683a50;padding:10px 13px 13px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.cx37-scope-details p{margin:0;flex:1 1 260px;font-size:11px;line-height:1.5;color:var(--cx15-muted)}
.cx37-scope-details .btn{white-space:normal}
/* Presentation is an actual screen layout; hide application chrome, keep exit always visible. */
body.meeting-display .sidebar,body.meeting-display .mobile-nav-scrim,body.meeting-display .topbar,body.meeting-display .cx13-bottomnav{display:none!important}
body.meeting-display .screen{margin:0!important;width:100%!important;max-width:none!important}
body.meeting-display .main.cx15-view{max-width:none!important;width:100%!important;padding:8px clamp(15px,3vw,58px) 28px!important}
body.meeting-display .cx36-meeting-page{max-width:1560px!important}
body.meeting-display .cx36-meeting-intro{margin-top:45px!important}
body.meeting-display .cx36-presentation-tools{padding-top:calc(8px + env(safe-area-inset-top,0px));z-index:80}
/* Tablet viewport: 3 balanced full-size charts, compact overview. */
@media (max-width:1050px){
 .cx36-meeting-page .cx14-analytics-grid{grid-template-columns:1fr 1fr}
 .cx36-meeting-page .cx16-gauge{padding:13px 10px!important;min-height:244px!important}
 .cx36-meeting-page .cx16-gauge-svg{width:min(100%,145px)!important;max-height:152px!important}
 .cx36-meeting-page .cx16-gauge-head{font-size:12px!important;gap:6px!important;grid-template-columns:8px minmax(0,1fr) 19px!important}
}
@media (max-width:760px){
 .cx36-meeting-page .cx14-analytics-grid{grid-template-columns:1fr!important}
 .cx36-meeting-page .cx14-analytics-heading{align-items:center!important;flex-direction:row!important}
 .cx36-meeting-page .cx14-heading-copy h2{font-size:21px!important}
 .cx36-meeting-page .cx14-heading-copy p{font-size:10px!important}
 .cx36-meeting-page .cx-live-pie-layout{min-height:0}
 .cx36-meeting-page .cx16-gauge-frame{margin-bottom:0}
 .cx36-meeting-page .cx16-gauge{min-height:256px!important}
 .cx36-meeting-page .cx16-gauge-svg{width:156px!important;max-height:162px!important}
 .cx36-meeting-page .cx-live-group-list{grid-template-columns:1fr!important}
 .cx36-meeting-page .cx-live-panel-heading h3{font-size:17px}
}
/* Phone: one legible chart per snap, with visible cue that more charts follow. */
@media(max-width:700px){
 .main.cx15-view.cx15-view-meetingDashboard{padding:11px 13px calc(82px + env(safe-area-inset-bottom,0px))!important}
 .cx36-meeting-page{gap:10px!important}
 .cx36-meeting-intro{border-radius:16px;padding:16px!important;gap:9px!important;align-items:center!important;min-height:0}
 .cx36-meeting-overline{font-size:9px!important;letter-spacing:.11em!important}
 .cx36-meeting-intro h1{font-size:clamp(19px,5.2vw,24px)!important;line-height:1.12;margin:6px 0 4px}
 .cx36-meeting-intro p{font-size:10px}
 .cx36-present-button{padding:9px 10px;font-size:10px;border-radius:10px;gap:6px;min-height:39px}
 .cx36-present-button svg{width:16px;height:16px}
 .cx36-meeting-scope{padding:9px 11px!important;flex-wrap:nowrap!important;gap:7px;min-width:0}
 .cx36-meeting-scope span:nth-child(2){font-size:10px}
 .cx36-meeting-scope button{font-size:10px}
 .cx36-meeting-page .cx14-analytics-heading{padding:4px 2px 0;gap:8px;margin-bottom:8px}
 .cx36-meeting-page .cx14-heading-copy h2{font-size:20px!important}
 .cx36-meeting-page .cx14-heading-copy p{font-size:10px!important}
 .cx36-meeting-page .cx14-head-actions{margin:0!important;justify-content:flex-end}
 .cx36-meeting-page .cx-live-indicator{font-size:9px!important}
 .cx36-meeting-page .cx14-gauge-frame{padding:10px 0 9px!important;border-radius:16px!important}
 .cx36-meeting-page .cx16-gauges{display:flex!important;flex-direction:row!important;gap:10px!important;padding:3px 13px 6px!important;margin:0!important;overflow-x:auto!important;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-left:13px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .cx36-meeting-page .cx16-gauges::-webkit-scrollbar{display:none}
 .cx36-meeting-page .cx16-gauge{width:min(77vw,290px)!important;min-width:min(77vw,290px)!important;flex:0 0 min(77vw,290px)!important;min-height:244px!important;padding:13px 14px 12px!important;scroll-snap-align:start!important;border-radius:15px!important;gap:7px!important}
 .cx36-meeting-page .cx16-gauge-head{font-size:13px!important;min-height:25px!important;gap:9px!important;grid-template-columns:8px minmax(0,1fr) 22px!important}
 .cx36-meeting-page .cx16-gauge-svg{width:151px!important;max-height:157px!important}
 .cx36-meeting-page .cx16-gauge-footer{font-size:10px!important;padding-top:8px!important}
 .cx36-meeting-page .cx16-gauge-footer b{font-size:10px!important}
 .cx36-meeting-page .cx14-gauge-frame:after{content:'SWIPE FOR WITNESSING & DOCUMENTATION  →';display:block;position:relative;text-align:center;font-size:9px;letter-spacing:.075em;font-weight:750;color:var(--cx15-muted);margin:6px auto 0}
 .cx36-meeting-page .cx14-analytics-grid{gap:10px;margin-bottom:10px}
 .cx36-meeting-page .cx14-analytics-grid .cx-live-panel,.cx36-meeting-page .cx14-live-dashboard>.cx-live-panel{padding:15px!important;border-radius:15px}
 .cx36-meeting-page .cx-live-panel-sub{display:none}
 .cx36-meeting-page .cx-live-group-row{gap:8px;padding:11px 4px}
 .cx36-meeting-page .cx-live-pie-layout{flex-direction:row!important;gap:15px}
 .cx36-meeting-page .cx-live-pie{width:150px!important;flex:0 0 150px!important}
 .cx36-meeting-page .cx-live-pie-legend{flex-direction:column!important}
 .cx36-meeting-page .cx-live-pie-centre strong{font-size:27px!important}
 .cx36-meeting-page .cx-live-pie-centre small{font-size:9px!important}
 .cx36-meeting-page .cx-live-segments{margin-top:8px;overflow-x:auto!important}
 .cx37-scope-check{margin-bottom:10px}
 /* Prevent the Back button from overlaying the project breadcrumb. */
 .topbar{min-height:81px!important;height:81px!important;grid-template-rows:49px 29px!important;padding:0 12px 2px!important}
 .topbar .breadcrumbs{justify-content:flex-start!important;gap:10px!important;padding:0 2px!important;overflow:hidden!important;box-sizing:border-box}
 .topbar .breadcrumbs .mobile-back-btn:not([hidden]){display:inline-flex!important;flex:0 0 auto!important;position:static!important;left:auto!important;top:auto!important;width:auto!important;max-width:none!important;height:24px!important;padding:3px 8px!important}
 .topbar .breadcrumbs .mobile-product-name{display:none!important}
 .topbar .breadcrumbs strong{min-width:0!important;max-width:100%!important;flex:1!important;text-align:left!important;font-size:11px!important;line-height:1.35!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
 .topbar-brand{gap:7px!important;justify-content:center!important}
 .topbar .topbar-brand .cx35-header-mark{height:32px!important;width:32px!important;flex:0 0 32px!important}
 .topbar .topbar-brand .top-logo{width:min(37vw,146px)!important;max-width:100%!important;height:34px!important;object-fit:contain!important;min-width:0}
 .topbar .header-right{width:80px;gap:7px!important}
 .topbar .theme-quick-btn{width:34px!important;height:34px!important;flex:0 0 34px!important}
 .topbar .avatar-account{width:33px!important;height:33px!important;flex:0 0 33px!important}
 /* Four top metrics become roomy 2x2 cards instead of four cramped tiles. */
 .cx35-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .cx35-stat{min-height:96px!important;grid-template-rows:21px 31px 18px!important;row-gap:4px!important;padding:10px!important}
 .cx35-stat strong{font-size:28px!important}
 .cx35-stat small{font-size:11px!important;min-height:0!important}
 .cx35-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 .cx35-quick-card{min-height:74px!important;flex-direction:row!important;gap:9px!important;padding:10px 12px!important;justify-content:flex-start!important}
 .cx35-quick-card strong{font-size:11px!important;text-align:left!important}
 .cx35-project-banner{gap:11px!important}
 .cx35-project-banner h1{font-size:clamp(19px,5.5vw,25px)!important}
 .cx36-meeting-link{gap:5px!important;font-size:10px!important}
}
@media(max-width:390px){
 .cx36-meeting-page .cx16-gauge{min-width:80vw!important;width:80vw!important;flex-basis:80vw!important}
 .cx36-meeting-page .cx-live-compare-row{grid-template-columns:minmax(85px,110px) minmax(35px,1fr) 36px;gap:5px}
 .cx36-meeting-page .cx-live-compare-name{font-size:10px}
 .cx36-meeting-page .cx-live-pie{width:134px!important;flex-basis:134px!important}
 .cx36-meeting-page .cx-live-pie-layout{gap:9px}
 .cx36-meeting-page .cx-live-pie-legend button{padding:7px 3px;font-size:10px}
 .cx36-meeting-intro{flex-direction:column!important;align-items:stretch!important}
 .cx36-present-button{align-self:flex-start}
}
/* Light mode contrast remains deliberate rather than inheriting dark surfaces. */
html[data-theme="light"] .cx36-meeting-page .cx16-gauge,
html[data-theme="light"] .cx36-meeting-page .cx14-analytics-grid .cx-live-panel,
html[data-theme="light"] .cx36-meeting-page .cx14-live-dashboard>.cx-live-panel{background:linear-gradient(160deg,#fff,#f1f7fd)!important;border-color:#cbdeef!important}
html[data-theme="light"] .cx36-meeting-page .cx16-gauge-footer{border-color:#d3e3f1!important}
html[data-theme="light"] .cx37-scope-check{background:#fff8e8;border-color:#f0dfbb}
html[data-theme="light"] .cx37-scope-icon{color:#87570a;background:#f9e6b5}
html[data-theme="light"] .cx36-meeting-intro{color:#fff}
@media(prefers-reduced-motion:reduce){.cx36-meeting-page *{transition:none!important;scroll-behavior:auto!important}}
/* Pinned sidebar narrows the tablet content area: keep instruments readable. */
@media (min-width:760px) and (max-width:1050px){
 body.cx35-nav-pinned .cx36-meeting-page .cx16-gauges{display:flex!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-padding-inline:8px;padding:2px 4px 8px!important;scrollbar-width:thin}
 body.cx35-nav-pinned .cx36-meeting-page .cx16-gauge{width:245px!important;flex:0 0 245px!important;scroll-snap-align:start}
 body.cx35-nav-pinned .cx36-meeting-page .cx14-analytics-grid{grid-template-columns:1fr!important}
 body.cx35-nav-pinned .cx36-meeting-intro{padding:16px 18px}
 body.cx35-nav-pinned .cx36-meeting-intro h1{font-size:23px}
 body.cx35-nav-pinned .cx36-meeting-page .cx14-heading-copy h2{font-size:21px}
 body.cx35-nav-pinned .cx36-meeting-page .cx16-gauge-svg{width:155px!important;max-height:160px!important}
}
