/* CM Dashboard v1.0.30.916 — Programs and CM Office two-level catalogue.
   Visual reference: blue ecommerce admin landing screen. No extra editor engine. */
.cm-modern-dashboard-shell:has(.cm-catalog-workspace)>.cm-modern-sidebar,
.cm-modern-dashboard-shell:has(.cm-catalog-workspace) .cm-modern-topbar{display:none!important}
.cm-modern-dashboard-shell:has(.cm-catalog-workspace)>.cm-modern-dashboard-main,
.cm-modern-dashboard-shell.cm-catalog-mode>.cm-modern-dashboard-main{margin:0!important;width:100%!important;max-width:100%!important}
.cm-modern-dashboard-shell.cm-catalog-mode>.cm-modern-sidebar,
.cm-modern-dashboard-shell.cm-catalog-mode .cm-modern-topbar{display:none!important}
body.cm-wlfd-body .cm-modern-dashboard-shell:has(.cm-catalog-workspace)>.cm-wlfd-main>.cm-wlfd-content,
body.cm-wlfd-body .cm-modern-dashboard-shell.cm-catalog-mode>.cm-wlfd-main>.cm-wlfd-content{padding:0!important;overflow:visible!important;min-width:0!important}
body.cm-wlfd-body .cm-catalog-workspace{--cm-catalog-blue:#0d2955;--cm-catalog-blue-dark:#081938;--cm-catalog-ink:#283347;--cm-catalog-line:#e7ebf1;max-width:none!important;margin:0!important;min-height:100vh;background:#fafbfc;color:var(--cm-catalog-ink);font-size:16px;font-family:inherit;overflow-x:hidden}
.cm-catalog-workspace *{box-sizing:border-box}
.cm-catalog-hero{background:#081938 url('cm-catalog-hero-bg.png') center center/cover no-repeat;color:#fff;min-height:247px;position:relative;isolation:isolate}.cm-catalog-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(110deg,rgba(4,14,31,.72) 0%,rgba(7,24,56,.58) 42%,rgba(8,25,56,.46) 100%);pointer-events:none;z-index:0}.cm-catalog-hero>*{position:relative;z-index:1}
.cm-catalog-hero-inner{width:min(1120px,calc(100% - 44px));margin:auto;position:relative;min-height:247px;padding:27px 0 83px}
.cm-catalog-brand{display:inline-flex;align-items:center;gap:5px;font-size:19px;font-weight:800;letter-spacing:-.5px;color:#fff!important;text-decoration:none!important}
.cm-catalog-brand .dashicons{font-size:26px;width:26px;height:26px}
.cm-catalog-hero-links{position:absolute;right:0;top:29px;display:flex;gap:15px;align-items:center;flex-wrap:nowrap;overflow-x:auto;max-width:min(72vw,820px);padding-bottom:2px;scrollbar-width:thin}
.cm-catalog-hero-links a{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:#fff!important;font-size:13px;font-weight:750;padding:8px 0;white-space:nowrap;flex:0 0 auto}
.cm-catalog-hero-links .dashicons{font-size:15px;width:15px;height:15px}
.cm-catalog-hero h1{margin:36px 0 8px!important;color:#fff!important;text-align:center;font-size:27px!important;font-weight:750!important}
.cm-catalog-hero p{margin:0 auto!important;text-align:center;color:#fff!important;font-size:14px;max-width:720px;line-height:1.5}
.cm-catalog-body{width:min(1120px,calc(100% - 44px));margin:0 auto;padding:0 0 55px}
.cm-catalog-cards{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px;margin:-48px 0 24px;position:relative;z-index:1}
.cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-cards{grid-template-columns:repeat(5,minmax(0,1fr))}
.cm-catalog-card{display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:10px;min-height:123px;padding:16px 8px 12px;border:1px solid #e5e9f0;border-radius:6px;box-shadow:0 5px 13px rgba(27,49,78,.13);text-decoration:none!important;color:#293243!important;background:#fff!important;min-width:0}
.cm-catalog-card .dashicons{width:35px;height:35px;font-size:34px;color:#0872d7!important}
.cm-catalog-card strong{display:block;color:#293243!important;font-size:15px;line-height:1.1;font-weight:750}
.cm-catalog-card>span:not(.dashicons){font-size:11px;color:#62728b;line-height:1.35}
.cm-catalog-card[data-cm-current="true"]{outline:2px solid #0a76df;outline-offset:-2px}
.cm-catalog-file-panel{background:#fff;border:1px solid var(--cm-catalog-line);border-radius:5px;box-shadow:0 1px 2px rgba(0,0,0,.02);margin:0;min-width:0}
.cm-catalog-tabs{display:flex;gap:0;border-bottom:1px solid var(--cm-catalog-line);overflow-x:auto;scrollbar-width:thin}
.cm-catalog-tab{appearance:none;background:transparent;border:0;border-right:1px solid transparent;color:#50617a;padding:16px 19px;white-space:nowrap;cursor:pointer;font:500 14px/1.3 inherit;flex:0 0 auto}
.cm-catalog-tab.is-active{background:#fff;color:#1169bf;border:1px solid var(--cm-catalog-line);border-bottom:1px solid #fff;margin-bottom:-1px;font-weight:700}
.cm-catalog-file-content{padding:30px 32px 28px}
.cm-catalog-file-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.cm-catalog-file-heading h2{margin:0!important;font-size:21px!important;line-height:1.25;color:#263448!important;font-weight:650}
.cm-catalog-file-heading p{margin:5px 0 0;color:#718096;font-size:13px}
.cm-catalog-file-buttons{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.cm-catalog-provider-wrap{display:inline-flex;align-items:center;gap:6px;color:#617084;font-size:13px}
.cm-catalog-provider{background:#fff;color:#263448;border:1px solid #cbd5e1;min-height:35px;padding:5px 8px;border-radius:4px;font-size:13px;max-width:190px}
.cm-catalog-new,.cm-catalog-refresh{display:inline-flex;justify-content:center;align-items:center;font-size:13px;font-weight:700;text-decoration:none!important;padding:8px 11px;min-height:35px;border-radius:4px;cursor:pointer;font-family:inherit}
.cm-catalog-new{background:#0872d8!important;color:white!important;border:1px solid #0872d8}
.cm-catalog-refresh{background:#fff!important;color:#0872d8!important;border:1px solid #a5c7ed}
.cm-catalog-file-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px;margin-bottom:10px;flex-wrap:wrap}
.cm-catalog-file-count{color:#607089;font-size:12px}
.cm-catalog-search{background:#fff;color:#23354c;min-height:36px;font-size:14px;width:min(330px,100%);border:1px solid #cad5e5;border-radius:4px;padding:7px 12px}
.cm-catalog-table-scroll{max-width:100%;overflow-x:auto}
.cm-catalog-file-table{border-collapse:collapse;width:100%;font-size:14px;min-width:550px}
.cm-catalog-file-table th{color:#496078;text-align:left;font-size:12px;font-weight:650;border-bottom:1px solid #dee5ed;padding:11px 12px}
.cm-catalog-file-table td{padding:12px;border-bottom:1px solid #e5e9ed;vertical-align:middle;word-break:break-word}
.cm-catalog-file-table tbody tr:last-child td{border-bottom:1px solid #e9edf1}
.cm-catalog-file-table a{color:#086cc8!important;font-weight:650;text-decoration:none!important}
.cm-catalog-filename{display:flex;align-items:center;gap:12px;min-width:0}
.cm-catalog-filename .dashicons{font-size:21px;width:24px;height:24px;color:#1376cc;flex:0 0 auto}
.cm-catalog-filename span{overflow-wrap:anywhere}
.cm-catalog-file-table .cm-catalog-open-file{display:inline-flex;gap:5px;align-items:center}
.cm-catalog-file-error{color:#b4232d;padding:10px 12px;background:#fff4f4;border:1px solid #f2cccc;font-size:13px;border-radius:5px}
.cm-catalog-file-error[hidden]{display:none!important}
.cm-catalog-file-foot{display:flex;justify-content:flex-end;padding-top:20px;font-size:13px}
.cm-catalog-file-foot a{color:#0872d8!important;text-decoration:none;font-weight:650}
body.cm-theme-dark .cm-catalog-workspace,html.cm-dashboard-pre-dark .cm-catalog-workspace{background:#111827;color:#e4eaf3;--cm-catalog-line:#354154}
body.cm-theme-dark .cm-catalog-card,html.cm-dashboard-pre-dark .cm-catalog-card,body.cm-theme-dark .cm-catalog-file-panel,html.cm-dashboard-pre-dark .cm-catalog-file-panel{background:#1c2737!important;border-color:#354154;color:#e5efff!important}
body.cm-theme-dark .cm-catalog-card strong,html.cm-dashboard-pre-dark .cm-catalog-card strong,body.cm-theme-dark .cm-catalog-file-heading h2,html.cm-dashboard-pre-dark .cm-catalog-file-heading h2{color:#e5efff!important}
body.cm-theme-dark .cm-catalog-tab,html.cm-dashboard-pre-dark .cm-catalog-tab{color:#ced9e7}
body.cm-theme-dark .cm-catalog-tab.is-active,html.cm-dashboard-pre-dark .cm-catalog-tab.is-active{color:#9ac9ff;background:#1c2737;border-bottom-color:#1c2737}
body.cm-theme-dark .cm-catalog-file-table td,html.cm-dashboard-pre-dark .cm-catalog-file-table td{color:#e5efff;border-color:#354154}
body.cm-theme-dark .cm-catalog-file-table th,html.cm-dashboard-pre-dark .cm-catalog-file-table th{color:#b4c7de;border-color:#354154}
body.cm-theme-dark .cm-catalog-provider,body.cm-theme-dark .cm-catalog-search,body.cm-theme-dark .cm-catalog-refresh,html.cm-dashboard-pre-dark .cm-catalog-provider,html.cm-dashboard-pre-dark .cm-catalog-search,html.cm-dashboard-pre-dark .cm-catalog-refresh{background:#141e2c!important;border-color:#53627a;color:#e5efff!important}
@media(max-width:1080px){.cm-catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:630px){
.cm-catalog-hero,.cm-catalog-hero-inner{min-height:248px}
.cm-catalog-hero-inner,.cm-catalog-body{width:calc(100% - 24px)}
.cm-catalog-hero-inner{padding-top:19px}.cm-catalog-brand{font-size:16px}.cm-catalog-hero-links{top:18px}.cm-catalog-hero-links a{font-size:11px}
.cm-catalog-hero h1{margin-top:55px!important;font-size:24px!important}.cm-catalog-hero p{font-size:12px}
.cm-catalog-cards,.cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:-42px 0 17px}
.cm-catalog-card{min-height:105px;gap:7px;padding:11px 6px}.cm-catalog-card .dashicons{font-size:28px;width:28px;height:28px}.cm-catalog-card strong{font-size:14px}.cm-catalog-card>span:not(.dashicons){font-size:10px}
.cm-catalog-file-content{padding:17px 13px 18px}.cm-catalog-tab{padding:13px}.cm-catalog-file-buttons{width:100%}.cm-catalog-provider-wrap{flex:1 1 100%;justify-content:space-between}.cm-catalog-provider{flex:1;max-width:none}
.cm-catalog-file-tools{margin-top:17px}.cm-catalog-search{width:100%}
}
@media(prefers-reduced-motion:reduce){.cm-catalog-workspace *{scroll-behavior:auto!important}}

.cm-catalog-workspace [hidden]{display:none!important}

/* v1.0.30.916 — shared Code Demo catalogue and white hero typography. */
.cm-catalog-workspace .cm-catalog-hero h1,
.cm-catalog-workspace .cm-catalog-hero p,
.cm-catalog-workspace .cm-catalog-brand,
.cm-catalog-workspace .cm-catalog-hero-links a{color:#fff!important;opacity:1!important;text-shadow:none!important}
.cm-catalog-workspace[data-cm-catalog="programs"] .cm-catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.cm-catalog-demo .cm-code-demo-repo-title{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:0 0 12px;padding:0}
.cm-catalog-demo .cm-code-demo-repo-title h2{margin:0!important;font-size:19px!important;color:inherit!important}
.cm-catalog-demo .cm-code-demo-repo-title>span{font-size:13px;color:#64748b}
.cm-catalog-demo .cm-code-demo-repo-home{position:relative;z-index:1;margin-top:-48px}
.cm-catalog-demo .cm-code-demo-repo-title{margin-top:0}
.cm-catalog-demo .cm-code-demo-repo-cards{margin:0 0 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:15px}
.cm-catalog-demo .cm-code-demo-repo-toolbar{margin:0 0 12px}
.cm-catalog-demo .cm-code-demo-repo-toolbar input{background:#fff;color:#283347;border:1px solid #cad5e5;border-radius:4px;padding:8px 12px;min-height:36px;max-width:350px;width:100%;font-size:14px}
.cm-catalog-demo .cm-catalog-card{font:inherit;cursor:pointer}
.cm-catalog-demo .cm-catalog-card small{color:#64748b;font-size:11px}
.cm-catalog-demo .cm-catalog-file-panel{margin-top:10px}
.cm-catalog-demo .cm-code-demo-repo-nav{margin:0}
.cm-catalog-demo .cm-code-demo-repo-nav p{font-size:13px;color:#718096;margin-top:5px}
.cm-catalog-demo .cm-code-demo-repo-path{margin:20px 0 12px;font-size:13px;color:#62728b;font-weight:600}
.cm-catalog-demo .cm-code-demo-github-view [data-repo-files]{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--cm-catalog-line)}
.cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;text-align:left;gap:12px;width:100%;border:0;border-bottom:1px solid var(--cm-catalog-line);padding:12px 10px;min-height:44px;background:transparent;color:inherit;font-size:14px;cursor:pointer;border-radius:0}
.cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row small{color:#708197}
.cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row strong{overflow-wrap:anywhere;font-weight:600}
.cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row.is-selected{background:rgba(0,115,215,.09)}
.cm-catalog-demo .cm-code-demo-runtime{margin:24px 0 0;min-width:0}
.cm-catalog-demo .cm-catalog-status{padding:22px;margin-top:-42px;position:relative}
.cm-catalog-demo .cm-catalog-status p{color:inherit;margin:0}
.cm-catalog-demo .cm-code-demo-repo-cards button[hidden],.cm-catalog-demo .cm-code-demo-repo-view[hidden]{display:none!important}
body.cm-theme-dark .cm-catalog-demo .cm-code-demo-repo-title>span,body.cm-theme-dark .cm-catalog-demo .cm-code-demo-repo-nav p,body.cm-theme-dark .cm-catalog-demo .cm-code-demo-repo-path{color:#c3d3e9}
body.cm-theme-dark .cm-catalog-demo .cm-code-demo-repo-toolbar input{background:#141e2c;color:#e5efff;border-color:#53627a}
@media(max-width:630px){
 .cm-catalog-workspace[data-cm-catalog="programs"] .cm-catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cm-catalog-demo .cm-code-demo-repo-home{margin-top:-42px}
 .cm-catalog-demo .cm-code-demo-repo-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cm-catalog-demo .cm-code-demo-repo-title{flex-wrap:wrap}
 .cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row{grid-template-columns:22px minmax(0,1fr);gap:8px}
 .cm-catalog-demo .cm-code-demo-github-view .cmcd-repo-row small{grid-column:2}
}

/* Code Demo: repository cards overlap the header, exactly like the Programs tiles. */
.cm-catalog-demo .cm-code-demo-repo-home{display:flex;flex-direction:column;margin-top:0!important}
.cm-catalog-demo .cm-code-demo-repo-cards{order:-1;margin:-48px 0 22px!important}
.cm-catalog-demo .cm-code-demo-repo-title{order:0}
.cm-catalog-demo .cm-code-demo-repo-toolbar{order:1}
.cm-catalog-demo .cm-code-demo-empty{padding:14px 0;color:#61748f;font-size:14px}
.cm-catalog-demo .cm-code-demo-repo-card{min-height:118px}
.cm-catalog-demo .cm-code-demo-runtime[hidden]{display:none!important}
@media(max-width:630px){.cm-catalog-demo .cm-code-demo-repo-cards{margin-top:-42px!important}}


/* v1.0.30.917 — whole Dashboard navigates with blue section/child catalogues. */
.cm-modern-dashboard-shell:has(.cm-dashboard-catalog-hub) .cm-dashboard-header-ribbon{display:none!important}
body.cm-wlfd-body .cm-dashboard-catalog-hub{width:100%;min-height:100vh}
.cm-dashboard-catalog-hub .cm-catalog-cards{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch}
.cm-dashboard-catalog-hub .cm-catalog-card{height:100%;min-height:120px}
.cm-dashboard-catalog-hub .cm-catalog-hero h1,.cm-dashboard-catalog-hub .cm-catalog-hero p{color:white!important}
.cm-dashboard-catalog-hub .cm-catalog-file-panel{margin-bottom:40px;overflow:visible}
.cm-dashboard-catalog-hub .cm-catalog-file-panel .cm-catalog-tabs{min-height:49px}
.cm-dashboard-catalog-detail-body{padding:25px 28px 28px;min-width:0}
.cm-dashboard-catalog-detail-body>.cm-wlfd-content{padding:0!important;margin:0!important;min-width:0!important;overflow:visible!important;width:100%!important}
.cm-dashboard-catalog-detail-body .cm-modern-home{padding:0!important;margin:0!important;min-width:0!important;width:100%!important;max-width:none!important;min-height:auto!important}
.cm-dashboard-catalog-detail-body .cm-modern-page-head{display:none}
.cm-dashboard-catalog-detail-body .cm-wordpress-workspace-title{display:none}
.cm-dashboard-catalog-detail-body .cm-dashboard-ribbon{display:none!important}
.cm-dashboard-catalog-detail-body .cm-wordpress-unified-section,.cm-dashboard-catalog-detail-body .cm-github-ribbon-section{padding:0!important;margin:0!important;max-width:none!important}
.cm-dashboard-catalog-hub .cm-catalog-file-panel .cm-catalog-tab.is-active{pointer-events:none}
.cm-dashboard-catalog-intro{padding:25px 28px 28px}
.cm-dashboard-catalog-intro h2{margin:0 0 6px!important;font-size:20px!important;color:#263448!important}
.cm-dashboard-catalog-intro p{color:#5e6e82;margin:0!important;font-size:15px}
.cm-dashboard-catalog-hub .cm-catalog-hero-links{gap:18px}
.cm-dashboard-catalog-hub .cm-catalog-hero-links a{font-size:13px}
.cm-dashboard-catalog-hub .cm-catalog-card span:not(.dashicons){word-break:normal;overflow-wrap:anywhere}
body.cm-theme-dark .cm-dashboard-catalog-intro h2,html.cm-dashboard-pre-dark .cm-dashboard-catalog-intro h2{color:#e5efff!important}
body.cm-theme-dark .cm-dashboard-catalog-intro p,html.cm-dashboard-pre-dark .cm-dashboard-catalog-intro p{color:#bfcede}
@media(max-width:1080px){.cm-dashboard-catalog-hub .cm-catalog-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:630px){
 .cm-dashboard-catalog-hub .cm-catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .cm-dashboard-catalog-detail-body{padding:16px 12px 22px}
 .cm-dashboard-catalog-intro{padding:17px 13px}
 .cm-dashboard-catalog-hub .cm-catalog-hero-links{gap:10px}
 .cm-dashboard-catalog-hub .cm-catalog-hero-links a{font-size:11px}
}
.cm-dashboard-catalog-hub .cm-catalog-theme-label{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#fff;font-weight:650;white-space:nowrap}
.cm-dashboard-catalog-hub .cm-catalog-theme-label select{border:1px solid rgba(255,255,255,.45);border-radius:4px;background:rgba(255,255,255,.13);color:#fff;font:inherit;min-height:32px;padding:4px 6px}
.cm-dashboard-catalog-hub .cm-catalog-theme-label select option{color:#1f2937;background:#fff}
.cm-dashboard-catalog-hub .cm-catalog-header-lock{font-size:12px;min-height:32px;color:#fff;border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.12);border-radius:4px}
@media(max-width:630px){
 .cm-dashboard-catalog-hub .cm-catalog-hero-inner{height:auto;min-height:250px;padding-bottom:87px}
 .cm-dashboard-catalog-hub .cm-catalog-hero-links{position:static;justify-content:flex-start;flex-wrap:wrap;align-content:center;margin-top:15px;gap:6px 13px}
 .cm-dashboard-catalog-hub .cm-catalog-hero h1{margin-top:24px!important}
 .cm-dashboard-catalog-hub .cm-catalog-hero-links a{min-height:32px;align-items:center}
 .cm-dashboard-catalog-hub .cm-catalog-theme-label{font-size:11px}
}


/* v1.0.30.918 — darker lock-screen hero, scrollable controls and scrollable card rows. */
.cm-catalog-workspace .cm-catalog-hero h1,
.cm-catalog-workspace .cm-catalog-hero p,
.cm-catalog-workspace .cm-catalog-brand,
.cm-catalog-workspace .cm-catalog-brand span,
.cm-catalog-workspace .cm-catalog-hero-links,
.cm-catalog-workspace .cm-catalog-hero-links a,
.cm-catalog-workspace .cm-catalog-theme-label,
.cm-catalog-workspace .cm-catalog-theme-label select,
.cm-catalog-workspace .cm-catalog-header-lock{color:#fff!important}
.cm-catalog-workspace .cm-catalog-hero h1,
.cm-catalog-workspace .cm-catalog-hero p{opacity:1!important;text-shadow:none!important}
.cm-catalog-workspace .cm-catalog-hero h1{margin-top:26px!important}
.cm-catalog-workspace .cm-catalog-cards{display:flex;gap:15px;overflow-x:auto;overflow-y:visible;scrollbar-width:thin;scroll-snap-type:x proximity;padding-bottom:8px}
.cm-catalog-workspace .cm-catalog-card{flex:0 0 176px;scroll-snap-align:start}
.cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-card{flex-basis:180px}
.cm-dashboard-catalog-hub .cm-catalog-card{min-height:120px}
.cm-catalog-demo .cm-code-demo-repo-cards{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}
.cm-catalog-demo .cm-code-demo-repo-card{flex:0 0 176px;scroll-snap-align:start}
.cm-dashboard-catalog-hub .cm-catalog-hero-links,
.cm-catalog-workspace[data-cm-catalog="programs"] .cm-catalog-hero-links,
.cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-hero-links,
.cm-catalog-workspace[data-cm-catalog="code-demo"] .cm-catalog-hero-links{position:static;left:auto;right:auto;top:auto;width:100%;max-width:none;justify-content:flex-start;margin-top:16px}
.cm-dashboard-catalog-hub .cm-catalog-theme-label,
.cm-dashboard-catalog-hub .cm-catalog-header-lock{flex:0 0 auto}
@media(max-width:1080px){
 .cm-dashboard-catalog-hub .cm-catalog-cards,
 .cm-catalog-workspace[data-cm-catalog="programs"] .cm-catalog-cards,
 .cm-catalog-workspace[data-cm-catalog="office"] .cm-catalog-cards{grid-template-columns:none}
}
@media(max-width:630px){
 .cm-catalog-hero,.cm-catalog-hero-inner{min-height:260px}
 .cm-catalog-hero-links{position:static;justify-content:flex-start;align-content:center;margin-top:14px;gap:8px 12px;width:100%;max-width:none;padding-bottom:4px}
 .cm-catalog-hero h1{margin-top:24px!important}
 .cm-catalog-workspace .cm-catalog-cards{gap:10px;margin:-42px 0 17px}
 .cm-catalog-workspace .cm-catalog-card{flex-basis:160px;min-height:108px}
 .cm-catalog-demo .cm-code-demo-repo-card{flex-basis:160px}
}

/* CM Dashboard v1.0.30.919 — consistent top row and readable lock-screen headers.
   Every catalogue page shares the same brand + scrollable navigation structure. */
.cm-catalog-workspace .cm-catalog-hero-inner{
  min-height:240px;
  padding-top:20px;
  padding-bottom:78px;
}
.cm-catalog-workspace .cm-catalog-headbar{
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:clamp(10px,2.1vw,32px);
  width:100%;
  max-width:100%;
  min-width:0;
}
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-brand{
  flex:0 0 auto;
  white-space:nowrap;
  min-width:0;
  margin:0;
  align-self:center;
  font-size:clamp(15px,1.5vw,19px);
  line-height:1.3;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-decoration:none!important;
}
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-hero-links{
  position:static!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  align-content:center!important;
  flex:1 1 0!important;
  flex-wrap:nowrap!important;
  margin:0!important;
  padding:4px 2px 7px!important;
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  gap:12px!important;
  white-space:nowrap!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  scrollbar-width:thin;
}
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-hero-links > *{
  flex:0 0 auto!important;
  margin:0!important;
  white-space:nowrap!important;
}
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-hero-links > a,
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-theme-label,
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-header-lock{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  text-decoration:none!important;
}
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-theme-label{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  font-weight:650;
}
/* A readable value on the white native select is deliberate. */
.cm-catalog-workspace .cm-catalog-headbar .cm-catalog-theme-label select{
  color:#182536!important;
  -webkit-text-fill-color:#182536!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.5)!important;
  border-radius:5px!important;
  padding:5px 7px!important;
  font-size:14px!important;
  min-height:34px;
  width:auto;
}
.cm-catalog-workspace .cm-catalog-hero-heading{
  position:relative;
  width:100%;
  margin:47px auto 0;
  text-align:center;
  color:#fff!important;
}
.cm-catalog-workspace .cm-catalog-hero-heading h1{
  margin:0 0 8px!important;
  padding:0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  font-size:clamp(23px,2.3vw,31px)!important;
  font-weight:750!important;
  line-height:1.22!important;
}
.cm-catalog-workspace .cm-catalog-hero-heading p{
  margin:0 auto!important;
  padding:0!important;
  max-width:720px;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  opacity:1!important;
  font-size:clamp(13px,1.2vw,15px)!important;
  line-height:1.55!important;
}
@media(max-width:630px){
  .cm-catalog-workspace .cm-catalog-hero-inner{min-height:233px;padding:16px 0 71px}
  .cm-catalog-workspace .cm-catalog-headbar{gap:11px}
  .cm-catalog-workspace .cm-catalog-headbar .cm-catalog-brand{font-size:15px}
  .cm-catalog-workspace .cm-catalog-headbar .cm-catalog-brand .dashicons{font-size:21px;width:22px;height:22px}
  .cm-catalog-workspace .cm-catalog-headbar .cm-catalog-hero-links{gap:12px!important;padding:2px 0 6px!important}
  .cm-catalog-workspace .cm-catalog-hero-heading{margin-top:43px}
  .cm-catalog-workspace .cm-catalog-hero-heading h1{font-size:25px!important}
}

/* v1.0.30.920 – independent Home widgets retain exact original cards after load. */
.cm-home-widget{min-width:0}
.cm-home-widget:empty{display:none}
.cm-home-widget-placeholder{opacity:.76}
.cm-home-widget-error{padding:12px 16px;background:var(--cm-surface,#fff);border:1px solid var(--cm-border,#dbe3ed);border-radius:8px}
.cm-home-widget-error .cm-btn{margin-left:10px}

/* v1.0.30.923 — remove 1120px desktop restriction on catalogue pages. */
body.cm-wlfd-body .cm-catalog-workspace .cm-catalog-hero-inner,
body.cm-wlfd-body .cm-catalog-workspace .cm-catalog-body{width:calc(100% - 44px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;}
@media(max-width:600px){body.cm-wlfd-body .cm-catalog-workspace .cm-catalog-hero-inner,body.cm-wlfd-body .cm-catalog-workspace .cm-catalog-body{width:calc(100% - 24px)!important;}}

/* v1.0.30.924: Catalogue pages must occupy the viewport, not the old
   244px sidebar offset or a centred WordPress content column. */
html:has(body.cm-wlfd-body .cm-catalog-workspace),
body.cm-wlfd-body:has(.cm-catalog-workspace){margin:0!important;padding:0!important;width:100%!important;min-width:0!important;min-height:100%!important;overflow-x:hidden!important}
body.cm-wlfd-body .cm-modern-dashboard-shell:has(.cm-catalog-workspace),
body.cm-wlfd-body .cm-wlfd-shell:has(.cm-catalog-workspace){display:block!important;position:relative!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-height:100dvh!important}
body.cm-wlfd-body .cm-modern-dashboard-shell:has(.cm-catalog-workspace)>.cm-modern-dashboard-main,
body.cm-wlfd-body .cm-modern-dashboard-shell.cm-catalog-mode>.cm-modern-dashboard-main,
body.cm-wlfd-body .cm-wlfd-shell:has(.cm-catalog-workspace)>.cm-wlfd-main{display:block!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;margin:0!important;padding:0!important;width:100%!important;max-width:none!important;min-width:0!important;transform:none!important}
body.cm-wlfd-body .cm-modern-dashboard-shell:has(.cm-catalog-workspace) .cm-wlfd-content,
body.cm-wlfd-body .cm-modern-dashboard-shell.cm-catalog-mode .cm-wlfd-content,
body.cm-wlfd-body .cm-wlfd-shell:has(.cm-catalog-workspace) .cm-wlfd-content{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;box-sizing:border-box!important}
body.cm-wlfd-body .cm-catalog-workspace{display:block!important;position:relative!important;width:100%!important;max-width:none!important;min-height:100dvh!important;margin:0!important;padding:0!important}
body.cm-wlfd-body .cm-catalog-workspace>.cm-catalog-hero{width:100%!important;max-width:none!important;margin:0!important}
/* Non-catalogue pages: fill the available dashboard main area, retaining sidebar. */
body.cm-wlfd-body .cm-modern-dashboard-main>.cm-wlfd-content>.cm-modern-home{width:100%!important;max-width:none!important}

/* Catalogue sections fill the viewport; only internal cards receive gutters. */
body.cm-wlfd-body [data-cm-catalog-shell="1"] .cm-catalog-workspace,
body.cm-wlfd-body [data-cm-catalog-shell="1"] .cm-catalog-hero{
 width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.cm-wlfd-body [data-cm-catalog-shell="1"] .cm-catalog-hero-inner,
body.cm-wlfd-body [data-cm-catalog-shell="1"] .cm-catalog-body{
 width:100%!important;max-width:none!important;margin:0!important;
 padding-left:clamp(12px,2vw,32px)!important;padding-right:clamp(12px,2vw,32px)!important;
 box-sizing:border-box!important;
}

.cm-catalog-suite-heading{grid-column:1/-1;padding:12px 4px 2px}.cm-catalog-suite-heading h2{margin:0;font-size:21px}.cm-catalog-suite-heading p{opacity:.8;margin:4px 0 0}

/* v1.0.30.942 — CM Design and CM CAD use the SAME horizontal swipeable card
   strip, negative hero overlap, tab row, file pane, typography and mobile
   spacing as CM Office. No Design-only grid, section heading or update slab. */
.cm-catalog-workspace[data-cm-catalog="design"] .cm-catalog-cards{
  display:flex;gap:15px;overflow-x:auto;overflow-y:visible;
  scroll-snap-type:x proximity;scrollbar-width:thin;
  margin:-48px 0 24px;position:relative;z-index:1;padding-bottom:8px;
}
.cm-catalog-workspace[data-cm-catalog="design"] .cm-catalog-card{
  display:flex;flex:0 0 180px;width:auto;min-width:0;
  min-height:123px;scroll-snap-align:start;
  align-items:center;justify-content:center;flex-direction:column;
  padding:16px 8px 12px;
}
@media(max-width:630px){
  .cm-catalog-workspace[data-cm-catalog="design"] .cm-catalog-cards{
    gap:9px;margin:-42px 0 17px;
  }
  .cm-catalog-workspace[data-cm-catalog="design"] .cm-catalog-card{
    flex-basis:180px;min-height:108px;padding:11px 6px;
  }
}
