/* CxM 36 — presentation dashboard and refined consistent visual language.
   Important project records and validation messages are not hidden. */
:root {--cx36-cyan:#51c8ff;--cx36-steel:#94b9da;--cx36-ease:cubic-bezier(.2,.75,.2,1)}
/* Stable, non-emoji theme switch: baseline, dimensions and optical alignment. */
.topbar .header-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important}
.theme-quick-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:39px!important;height:39px!important;min-width:39px!important;flex:0 0 39px!important;line-height:1!important;padding:0!important;border-radius:12px!important;vertical-align:middle!important;box-sizing:border-box!important}
.theme-quick-btn svg{display:block!important;width:21px!important;height:21px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linejoin:round!important;stroke-linecap:round!important;flex-shrink:0!important}
.topbar .avatar-account{display:grid!important;place-items:center!important;align-self:center!important;margin:0!important;line-height:1!important}
/* KPI cards use a shared three-row grid. Long labels cannot move the value. */
.cx35-stat-grid{align-items:stretch}
.cx35-stat{display:grid!important;grid-template-rows:26px 45px minmax(31px,auto)!important;justify-items:center!important;align-items:center!important;align-content:center!important;row-gap:7px!important;min-height:132px!important;padding:13px 6px!important}
.cx35-stat-icon,.cx35-stat strong,.cx35-stat small{margin:0!important;align-self:center!important}
.cx35-stat strong{font-variant-numeric:tabular-nums!important;font-size:clamp(28px,3.2vw,36px)!important;line-height:1!important;align-self:center!important}
.cx35-stat small{display:flex;align-items:center;justify-content:center;min-height:30px;font-size:11px!important;line-height:1.3!important;text-wrap:balance}
/* Home remains focused; single charts action on hero banner. */
.cx35-project-banner{background:radial-gradient(ellipse at 83% 14%,#135f8b75,transparent 47%),linear-gradient(115deg,#112b4d,#081b34);border:1px solid #3376aa;box-shadow:inset 0 1px #bde8ff22,0 12px 35px #000b1e30;min-height:120px}
.cx35-project-banner::after{opacity:.6}
.cx36-meeting-link{position:relative;z-index:1;flex-shrink:0;display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:11px 13px;border:1px solid #58bbff8f;border-radius:12px;background:#18548290;color:#e2f5ff!important;font-size:12px;font-weight:760;box-shadow:0 0 18px #00a6ff17;white-space:nowrap}
.cx36-meeting-link svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.cx36-meeting-link:hover{background:#2171ac;border-color:#89d5ff;transform:translateY(-1px)}
.cx35-dashboard .cx35-glass,.cx35-dashboard .cx35-quick-card,.cx35-dashboard .cx35-stat{background:linear-gradient(155deg,#142f50,#10243f 63%,#0d2039);border-color:#315b80;box-shadow:inset 0 1px 0 #a9ddff14,0 6px 18px #000c1c16;transition:transform .19s var(--cx36-ease),border-color .19s,box-shadow .19s}
.cx35-dashboard :is(.cx35-quick-card,.cx35-stat,.cx35-discipline,.cx35-overall):hover{transform:translateY(-2px);box-shadow:0 10px 28px #001c3555}
html[data-theme="light"] .cx35-dashboard :is(.cx35-glass,.cx35-quick-card,.cx35-stat){background:linear-gradient(170deg,#fff,#f3f9ff);border-color:#cadced}
.cx35-quick-icon,.cx35-stat-icon{filter:drop-shadow(0 0 6px #1896f535)}
/* Consistent premium cards and typographic hierarchy on every work page. */
.main.cx15-view:not(.cx15-view-overview) :is(.card,.cx-live-panel,.cx13-system-card,.cx27-deliverable,.cx27-workflow-title,.cx13-system-tree,.cx27-output-panel){border-radius:17px!important;box-shadow:inset 0 1px 0 #9fd5ff12,0 6px 24px #03132b16!important}
.main.cx15-view:not(.cx15-view-overview) .card{border-color:var(--cx35-line)!important}
.main.cx15-view:not(.cx15-view-overview) .card-top{padding-block:15px!important;border-bottom-color:var(--cx35-line)!important}
.main.cx15-view:not(.cx15-view-overview) .card-top h2{letter-spacing:-.025em;line-height:1.18;font-weight:760}
.main.cx15-view .page-title{padding:2px 0 6px;align-items:center}
.main.cx15-view .page-title h1{font-weight:790;letter-spacing:-.035em}
.main.cx15-view .eyebrow{letter-spacing:.17em;font-weight:800}
.main.cx15-view :is(.btn,.cx27-deliverable button,.cx13-system-open){min-height:36px}
.main.cx15-view :is(.btn,button,select,input,textarea):focus-visible{outline:2px solid #52beff!important;outline-offset:2px!important}
.main.cx15-view :is(.card,.cx13-system-card,.cx27-deliverable,.cx13-system-tree) {min-width:0}
.main.cx15-view :is(.cx13-system-tree,.cx13-system-card,.cx27-deliverable):hover{border-color:#4eaae466!important;box-shadow:0 7px 28px #0b7cf525!important}
.main.cx15-view .cx13-system-tree>summary{gap:12px!important}
.main.cx15-view :is(.cx13-system-controls,.cx13-system-card-foot){min-width:0}
.main.cx15-view .cx13-system-card h4{letter-spacing:-.02em;line-height:1.3}
.main.cx15-view :is(.cx27-output-grid,.cx27-workflow-grid){gap:12px!important}
.main.cx15-view :is(.cx27-deliverable,.cx35-glass) {border:1px solid var(--cx35-line)}
/* Better breathing room between inputs and buttons across long forms. */
.main.cx15-view .form-field{min-width:0}
.main.cx15-view :is(input,textarea,select):not([type="checkbox"]):not([type="radio"]){border-radius:10px!important}
.main.cx15-view .toolbar{border-radius:15px!important;gap:10px!important}
.main.cx15-view .btn-primary{box-shadow:0 4px 12px #168cf32e}
/* Dedicated charts view — retained real data & original drill downs. */
.cx36-meeting-page{max-width:1260px;margin:0 auto;display:flex;flex-direction:column;gap:15px;min-width:0}
.cx36-meeting-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:22px 24px;border:1px solid #2c6ca6;border-radius:20px;background:radial-gradient(ellipse at right top,#1b6caa62,transparent 50%),linear-gradient(120deg,#102b49,#0b1c36);box-shadow:0 12px 40px #031a3130;color:#eef6ff}
.cx36-meeting-intro h1{font-size:clamp(24px,3.4vw,36px);font-weight:830;line-height:1.12;letter-spacing:-.045em;margin:7px 0}
.cx36-meeting-intro strong{font-size:13px;color:#c5dbf0}
.cx36-meeting-overline{font-size:10px;letter-spacing:.2em;font-weight:820;color:#79caff}
.cx36-present-button{display:inline-flex;align-items:center;gap:9px;background:linear-gradient(100deg,#167bbd,#269cf0);color:#fff;border:1px solid #7cc7ff;border-radius:12px;padding:12px 14px;font-size:12px;font-weight:790;white-space:nowrap;cursor:pointer}
.cx36-present-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.cx36-meeting-scope{display:flex;align-items:center;gap:10px;padding:11px 15px;border:1px solid #2d5376;border-radius:12px;background:#10253f;color:#aec9e3;font-size:11px}
.cx36-meeting-scope span:nth-child(2){flex:1}
.cx36-meeting-scope button{border:0;background:none;color:#73bfff;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.cx36-meeting-pulse{width:8px;height:8px;border-radius:50%;background:#36d5cd;box-shadow:0 0 11px #36d5cd77}
.cx36-meeting-charts{min-width:0}
.cx36-meeting-charts .cx-live-dashboard{margin:0!important}
.cx36-meeting-charts .cx14-analytics-heading{padding:16px 18px!important;border-radius:16px!important}
.cx36-meeting-charts .cx14-scope-warning{border-radius:12px!important;padding:11px 13px!important}
.cx36-meeting-charts .cx14-integrity,.cx36-meeting-charts .cx-chart-hint{font-size:10px}
.cx36-presentation-tools{display:none}
/* A meeting display fills the available viewport; always has an obvious exit. */
body.meeting-display .cx36-meeting-page{max-width:1560px!important}
body.meeting-display .cx36-meeting-intro{margin-top:42px}
body.meeting-display .cx36-presentation-tools{display:flex!important;position:fixed;z-index:100;top:0;left:0;right:0;justify-content:space-between;align-items:center;gap:12px;background:#041327f0;border-bottom:1px solid #2d5a80;color:#fff;padding:8px 18px;font-size:11px;backdrop-filter:blur(8px)}
body.meeting-display .cx36-presentation-tools button{background:#174572;color:#fff;border:1px solid #4f9aca;border-radius:8px;padding:7px 11px;font-weight:700;cursor:pointer}
body.meeting-display .cx13-bottomnav{display:none!important}
body.meeting-display.cx35-nav-pinned .screen{margin-left:0!important;width:100%!important}
body.meeting-display.cx35-nav-pinned .cx17-sidebar{display:none!important}
html[data-theme="light"] .cx36-meeting-scope{background:#ecf6ff;color:#335b7b;border-color:#cbdeef}
@media(max-width:759px){
 .topbar .header-right{gap:8px!important}
 .theme-quick-btn{height:34px!important;width:34px!important;min-width:34px!important;flex-basis:34px!important}
 .theme-quick-btn svg{width:19px!important;height:19px!important}
 .cx35-stat{min-height:126px!important;grid-template-rows:24px 42px minmax(34px,auto)!important;row-gap:6px!important}
 .cx35-stat strong{font-size:31px!important}
 .cx35-stat small{font-size:10px!important}
 .cx35-project-banner{gap:8px}
 .cx36-meeting-link{padding:9px;font-size:10px;gap:5px}
 .cx36-meeting-link svg{width:16px;height:16px}
 .cx36-meeting-link span:first-of-type{max-width:54px;white-space:normal;line-height:1.15}
 .cx36-meeting-intro{padding:16px;align-items:flex-start}
 .cx36-meeting-intro h1{font-size:23px}
 .cx36-present-button{padding:10px 9px;font-size:10px}
 .cx36-meeting-scope{flex-wrap:wrap;font-size:10px}
}
@media(max-width:400px){
 .cx35-stat-grid,.cx35-quick{gap:7px!important}
 .cx35-stat small{font-size:9px!important}
 .cx35-stat strong{font-size:28px!important}
 .cx36-meeting-link span:first-of-type{max-width:45px}
}
@media print{
 .cx36-meeting-intro .cx36-present-button,.cx36-meeting-scope button,.cx36-presentation-tools{display:none!important}
}
@media(prefers-reduced-motion:reduce){.cx36-meeting-page *, .cx35-dashboard *{transition:none!important;animation:none!important}}
