/* CxM 35 — visual standardisation. Content and data remain in their original modules. */
:root{--cx35-blue:#35baff;--cx35-line:#254a73;--cx35-corner:18px;--cx35-paper:#10233f}
html[data-theme="dark"]{--cx35-paper:#10233f;--cx35-line:#345779}
html[data-theme="light"]{--cx35-paper:#fff;--cx35-line:#cbdced}
.main.cx15-view{max-width:1440px;padding:clamp(16px,2vw,32px) clamp(14px,2.3vw,32px) 90px;overflow-wrap:anywhere}
.main.cx15-view :is(.card,.cx27-home,.cx13-work-panel,.cx-ai-panel,.study-register,.document-hero,.cx-live-panel){border-radius:var(--cx35-corner);box-shadow:0 5px 24px rgba(1,12,31,.10)}
.main.cx15-view .card{min-width:0}
.main.cx15-view :is(.card-top,.page-title,.page-actions,.toolbar,.card-body){min-width:0}
.main.cx15-view :is(.page-title,.card-top){gap:12px;align-items:center}
.main.cx15-view .page-title{margin-bottom:18px}
.main.cx15-view .page-title h1{font-size:clamp(24px,2.5vw,32px);line-height:1.12;letter-spacing:-.045em;margin:5px 0}
.main.cx15-view .page-title p{margin:0}
.main.cx15-view :is(button,.btn,.nav-link){transition:border-color .17s ease,background-color .17s ease,transform .17s ease,box-shadow .17s ease}
.main.cx15-view button:focus-visible,.cx35-pin-btn:focus-visible{outline:2px solid var(--cx35-blue)!important;outline-offset:3px}
.main.cx15-view .btn{border-radius:11px}
.main.cx15-view .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.main.cx15-view input,.main.cx15-view select,.main.cx15-view textarea{max-width:100%;box-sizing:border-box}
.main.cx15-view .cx27-output-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));align-items:stretch}
.main.cx15-view .cx27-deliverable{min-height:132px;padding:16px;gap:10px}
.main.cx15-view .cx27-deliverable h3{margin:0;font-size:14px}
/* Hide verbose helper prose and developer notes; preserve actionable validation, alerts and user-entered notes. */
.main.cx15-view .cx27-help,.main.cx15-view .cx27-edit-hint,.main.cx15-view .cx17-switch-help{display:none!important}
.main.cx15-view .cx27-workflow-title p,.main.cx15-view .cx27-deliverable p{display:none!important}
.main.cx15-view>.page-title p{display:none!important}
.main.cx15-view .cx15-guidance{display:none!important}
.main.cx15-view .cx27-workflow-title h2{font-size:clamp(19px,2vw,25px);margin:7px 0 14px}
/* Small informational notices remain accessible as compact details where they are needed, never covering the dashboard. */
.main.cx15-view .notice:not(.notice-warn):not(.notice-error):not(.notice-danger){font-size:12px;line-height:1.45;padding:10px 13px;border-radius:12px;margin-block:9px}
/* New brand: A&B stays on the internal build; CxM is the product mark. */
.cx35-header-mark{width:38px;height:38px;object-fit:contain;border-radius:10px;flex:0 0 auto;box-shadow:0 0 0 1px #5ca8ff30}
.topbar-brand{gap:9px!important}
.topbar-brand .top-logo{max-width:clamp(83px,11vw,145px)!important;height:39px!important}
.topbar .app-wordmark{font-size:15px!important;white-space:nowrap;font-weight:800;letter-spacing:-.025em}
.topbar .version{display:none!important}
.topbar{gap:12px!important}
.cx17-sidebar .cx35-drawer-emblem{width:38px;height:38px;object-fit:contain;flex:0 0 38px;border-radius:10px}
.cx17-sidebar .cx17-drawer-head{gap:8px!important;padding:15px 12px!important;min-height:72px!important}
.cx17-sidebar .cx17-company-logo{width:83px!important;height:30px!important;max-width:100%!important}
.cx17-sidebar .cx17-identity-copy strong{font-size:15px!important}
.cx17-sidebar .cx17-identity-copy small{display:none!important}
.cx17-sidebar .cx17-identity{gap:8px!important}
.cx17-sidebar .cx17-switch-help{display:none!important}
.cx17-sidebar .cx17-project-switcher{margin-top:8px!important}
.cx35-pin-btn{min-height:40px;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;color:#bfdfff;background:#112b47;border:1px solid #345d85;border-radius:11px;padding:9px 12px;font-size:12px;font-weight:750;cursor:pointer}
.cx35-pin-btn svg{height:17px;width:17px;stroke:#71c5ff;fill:none;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.cx35-pin-btn[aria-pressed="true"]{background:#174575;color:#fff;border-color:#4bbfff}
html[data-theme="light"] .cx35-pin-btn{background:#e7f2ff;color:#173a5f;border-color:#b9d2ec}
/* Login artwork: use product mark, not a full static illustration containing duplicate text. */
.cxm-auth{background:radial-gradient(ellipse at 30% 0%,#0b477a 0,transparent 48%),radial-gradient(ellipse at 100% 100%,#0a3153 0,transparent 44%),#06152b}
.cxm-auth:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.23;background-image:linear-gradient(130deg,transparent 49.7%,#19a8fc 50%,transparent 50.3%),repeating-linear-gradient(0deg,transparent,transparent 42px,#11558c20 43px),repeating-linear-gradient(90deg,transparent,transparent 42px,#11558c20 43px)}
.cxm-auth-card{position:relative;isolation:isolate;border:1px solid #2b6094;border-radius:24px;background:linear-gradient(160deg,#102b4a,#0a1a32);box-shadow:0 25px 90px #0009,0 0 45px #1654a521;max-width:420px;text-align:left}
.cx35-login-emblem{width:108px;height:108px;object-fit:contain;display:block;margin:0 auto 12px;filter:drop-shadow(0 0 14px #138bf269)}
.cxm-auth-brand{margin-bottom:24px;justify-content:center;gap:13px}
.cxm-auth-brand img{width:103px;max-height:40px;padding:5px}
.cxm-auth-brand strong{font-size:20px}
.cxm-auth-brand small{font-size:8px;letter-spacing:.12em}
.cxm-auth-card h1{font-size:24px}
.cxm-auth-card #authSubtitle{display:none}
.cxm-auth-card .cxm-auth-foot{display:none}
/* Compact premium, genuinely live project dashboard. */
.cx35-dashboard{--cx35-surface:#10243f;--cx35-border:#2e557a;--cx35-ink:#f3f8ff;--cx35-muted:#a5c0d9;--cx35-track:#26405d;color:var(--cx35-ink);display:flex;flex-direction:column;gap:17px;max-width:1120px;margin-inline:auto}
html[data-theme="light"] .cx35-dashboard{--cx35-surface:#fff;--cx35-border:#d0e0ef;--cx35-ink:#143452;--cx35-muted:#526d87;--cx35-track:#dce9f5}
.cx35-dashboard button{font-family:inherit;cursor:pointer;color:inherit}
.cx35-project-banner{min-height:125px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:relative;overflow:hidden;padding:24px clamp(18px,3vw,32px);border:1px solid #4187c3;border-radius:22px;background:linear-gradient(112deg,#102a4b 10%,#0b2140 57%,#115d9252 100%);box-shadow:0 7px 35px #00152f23;color:#f4f9ff}
.cx35-project-banner::after{content:"";position:absolute;right:0;top:-25%;width:37%;height:150%;background:repeating-linear-gradient(90deg,#3eb6ff15 0 1px,transparent 1px 32px),repeating-linear-gradient(0deg,#3eb6ff12 0 1px,transparent 1px 32px);transform:skew(-16deg);pointer-events:none}
.cx35-project-banner h1{position:relative;z-index:1;font-size:clamp(23px,3vw,38px);line-height:1.13;letter-spacing:-.045em;margin:12px 0 0;max-width:25ch;color:#fff;font-weight:830}
.cx35-kicker{display:inline-flex;align-items:center;gap:8px;font-size:10px;letter-spacing:.24em;font-weight:750;color:#b6dafb}
.cx35-status-dot{height:9px;width:9px;background:#42decd;border-radius:50%;box-shadow:0 0 12px #3ed8cb9c}
.cx35-project-icon{display:block;flex:0 0 75px;opacity:.5;background:url('cxm-mark.png') center / contain no-repeat;height:75px;position:relative;z-index:1}
.cx35-overview-grid{display:grid;grid-template-columns:minmax(220px,.9fr) minmax(280px,1.2fr);gap:16px}
.cx35-glass{background:var(--cx35-surface);border:1px solid var(--cx35-border);border-radius:20px;box-shadow:0 6px 22px #00102010}
.cx35-overall{padding:18px 14px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:238px}
.cx35-overall:hover,.cx35-discipline:hover,.cx35-quick-card:hover,.cx35-stat:hover{border-color:#4cb9ff;box-shadow:0 5px 25px #149bee22}
.cx35-ring{width:clamp(156px,18vw,195px);height:clamp(156px,18vw,195px);border-radius:50%;background:conic-gradient(#30d9f2 0 var(--cx35-progress),var(--cx35-track) var(--cx35-progress) 100%);padding:13px;box-shadow:0 0 26px #198eff1a;box-sizing:border-box}
.cx35-ring-center{height:100%;width:100%;border-radius:50%;background:var(--cx35-surface);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.cx35-ring-center strong{font-size:clamp(35px,4.3vw,54px);line-height:1;font-weight:850;letter-spacing:-.055em}
.cx35-ring-center span{font-size:10px;font-weight:750;letter-spacing:.15em;color:var(--cx35-muted)}
.cx35-overall>small{font-size:12px;color:var(--cx35-muted)}
.cx35-disciplines{display:flex;flex-direction:column;gap:13px;padding:17px;justify-content:center}
.cx35-discipline{width:100%;flex:1;text-align:left;border:1px solid var(--cx35-border);border-radius:15px;background:linear-gradient(125deg,#20477725,transparent);padding:16px 18px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.cx35-disc-header{display:flex;align-items:center;gap:12px}
.cx35-disc-header strong{font-size:16px;font-weight:760;flex:1}
.cx35-disc-header b{font-size:19px;font-weight:820}
.cx35-disc-icon{display:grid;place-items:center;height:33px;width:33px;border:1px solid #69c6fe45;border-radius:9px;background:#2499f31c;color:#66c7ff}
.cx35-disc-icon svg{height:20px;width:20px}
.cx35-progress-track{height:9px;background:var(--cx35-track);border-radius:99px;overflow:hidden;width:100%}
.cx35-progress-track span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#267def,#31d4eb);transition:width .5s ease}
.cx35-discipline>small{font-size:11px;color:var(--cx35-muted)}
.cx35-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cx35-quick-card{min-width:0;min-height:105px;padding:16px 8px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;border:1px solid var(--cx35-border);border-radius:17px;background:var(--cx35-surface)}
.cx35-quick-card strong{font-size:12px;line-height:1.35;font-weight:720;text-align:center}
.cx35-quick-icon{display:grid;place-items:center;color:#63c6ff;height:27px;width:27px}
.cx35-quick-icon svg{height:26px;width:26px}
.cx35-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.cx35-stat{min-height:113px;min-width:0;padding:14px 8px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;border:1px solid var(--cx35-border);border-radius:16px;background:var(--cx35-surface)}
.cx35-stat-icon{color:#50c9e0;height:22px}
.cx35-stat-icon svg{width:22px;height:22px}
.cx35-stat strong{font-size:clamp(25px,2.9vw,34px);letter-spacing:-.04em;line-height:1;font-weight:830}
.cx35-stat small{color:var(--cx35-muted);font-size:11px;text-align:center;font-weight:700;line-height:1.35}
.cx35-empty-status{margin:0;color:var(--cx35-muted);font-size:12px;text-align:center}
/* Persistent side menu for tablets, optional pin; phone bottom nav remains pinned as before. */
@media(min-width:760px) and (max-width:1050px){
 body.cx35-nav-pinned .cx17-sidebar{transform:translateX(0)!important;width:222px!important;max-width:222px!important;z-index:20!important;box-shadow:3px 0 20px #00000025}
 body.cx35-nav-pinned .screen{width:calc(100% - 222px)!important;margin-left:222px!important;min-width:0!important}
 body.cx35-nav-pinned .cx13-bottomnav{left:222px!important;width:calc(100% - 222px)!important}
 body.cx35-nav-pinned .menu-toggle{display:none!important}
 body.cx35-nav-pinned .cx17-sidebar .cx17-close{display:none!important}
 body.cx35-nav-pinned .cx17-sidebar .cx35-drawer-emblem{width:30px;height:30px;flex-basis:30px}
 body.cx35-nav-pinned .cx17-sidebar .cx17-company-logo{width:72px!important;height:26px!important}
 body.cx35-nav-pinned .cx17-sidebar .cx17-identity-copy strong{font-size:12px!important}
 body.cx35-nav-pinned .topbar{padding-inline:10px!important}
 body.cx35-nav-pinned .topbar-brand .top-logo{display:none}
 body.cx35-nav-pinned .topbar .breadcrumbs{font-size:11px}
 body.cx35-nav-pinned .cx35-overview-grid{grid-template-columns:1fr}
}
@media(min-width:1051px){.cx35-pin-btn{display:none!important}}
@media(max-width:759px){.cx35-pin-btn{display:none!important}.cx35-drawer-emblem{display:none!important}.cx35-project-banner{padding:18px;min-height:91px}.cx35-project-icon{width:48px;height:48px;flex-basis:48px}.cx35-overview-grid{grid-template-columns:1fr}.cx35-overall{min-height:190px}.cx35-ring{height:151px;width:151px}.cx35-quick{gap:8px}.cx35-stat-grid{gap:8px}.cx35-quick-card{min-height:85px;padding:10px 3px}.cx35-quick-card strong{font-size:10px}.cx35-stat{min-height:89px;padding:10px 3px}.cx35-stat strong{font-size:26px}.cx35-stat small{font-size:9px}.topbar-brand .top-logo{width:105px!important;height:32px!important}.topbar .cx35-header-mark{width:31px;height:31px}.topbar .app-wordmark{display:none!important}}
@media(max-width:440px){.cx35-dashboard{gap:12px}.cx35-project-banner{border-radius:17px}.cx35-project-banner h1{font-size:23px}.cx35-disciplines{padding:10px;gap:9px}.cx35-discipline{padding:12px}.cx35-quick-card strong{font-size:9px}.cx35-stat small{font-size:9px}.cx35-stat strong{font-size:24px}.cx35-quick-icon svg{height:21px;width:21px}}
@media(max-width:380px){.topbar-brand .cx35-header-mark{display:none}.topbar-brand .top-logo{width:95px!important}}
@media(prefers-reduced-motion:reduce){.cx35-dashboard *{transition:none!important;animation:none!important}}
@media print{.cx35-pin-btn{display:none!important}}

/* Standardised outline iconography and discreet on-demand guidance. */
.cx35-dashboard :is(.cx35-disc-icon,.cx35-quick-icon,.cx35-stat-icon) svg{fill:none!important;stroke:currentColor!important;stroke-width:1.8!important;stroke-linecap:round;stroke-linejoin:round}
.cx35-dashboard :is(.cx35-disc-icon,.cx35-quick-icon,.cx35-stat-icon) svg use{fill:none!important;stroke:inherit!important}
.cx35-info{border:1px solid var(--cx35-line);border-radius:10px;margin:8px 0 12px;color:var(--cx35-muted,#849db8);font-size:12px;background:transparent}
.cx35-info>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:8px 12px;font-size:11px;font-weight:750;opacity:.8}
.cx35-info>summary:before{content:'ⓘ';font-size:14px;color:#359ede}
.cx35-info>summary::-webkit-details-marker{display:none}
.cx35-info>summary:after{content:'⌄';margin-left:auto}
.cx35-info[open]>summary:after{content:'⌃'}
.cx35-info>.notice{margin:0!important;border:0!important;background:transparent!important;padding:12px!important;font-size:12px}
.main.cx15-view .card-top>div>p.sub{display:none!important}
