/* Scoped dashboard stylesheet. Works within Elementor Shortcode or Gutenberg Shortcode blocks. */
body:has(#ccmd-dashboard) .entry-title{display:none}
body:has(#ccmd-dashboard) .ast-container,body:has(#ccmd-dashboard) .site-content .ast-container{max-width:1600px;width:100%;padding:0;margin:0 auto}
body:has(#ccmd-dashboard) #primary{width:100%;float:none;margin:0;padding:0}
body:has(#ccmd-dashboard) #secondary{display:none}
.ccmd{--navy:#032a44;--navyDeep:#061f36;--teal:#19bab2;--blue:#1d91cf;--orange:#ce8745;--ink:#102c43;--muted:#718395;--line:#e6edf2;--paper:#f3f7f9;box-sizing:border-box;display:flex;width:100%;min-width:0;min-height:850px;max-width:1600px;margin:0 auto;background:#f3f7f9;color:var(--ink);border:1px solid #e1e9ee;border-radius:12px;overflow:hidden;font-family:Poppins,Inter,'Segoe UI',Arial,sans-serif;font-size:14px;line-height:1.5;box-shadow:0 14px 40px rgba(3,42,68,.07)}
.ccmd *, .ccmd *::before,.ccmd *::after{box-sizing:border-box}
.ccmd button,.ccmd input{font:inherit}
.ccmd h2,.ccmd h3,.ccmd h4,.ccmd p{font-family:inherit;color:inherit;margin:0}
.ccmd button{border:0;cursor:pointer}
.ccmd a{color:var(--blue);text-decoration:none}
.ccmd a:hover{text-decoration:underline}
.ccmd-side{width:242px;flex:0 0 242px;background:linear-gradient(166deg,#032a44 0%,#071f33 100%);color:#fff;padding:28px 16px 22px;display:flex;flex-direction:column;min-height:820px}
.ccmd-brand{display:flex;align-items:center;gap:11px;padding:0 10px 42px}
.ccmd-brand-mark{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;color:var(--navy);background:var(--teal);font-weight:900;letter-spacing:-.06em;font-size:19px}
.ccmd-brand b{display:block;color:#fff;font-size:15px;letter-spacing:-.03em}
.ccmd-brand small{display:block;color:#a9c6d5;font-size:10px;letter-spacing:.02em}
.ccmd-side-label{font-size:10px;letter-spacing:.19em;color:#87a8bc;font-weight:800;margin:0 13px 15px}
.ccmd-nav{display:flex;flex-direction:column;gap:5px}
.ccmd .ccmd-nav-item{display:flex;align-items:center;gap:13px;text-align:left;width:100%;padding:13px 15px;color:#bcd0db;background:transparent;font-weight:600;font-size:12px;border-radius:10px;transition:background .15s}
.ccmd .ccmd-nav-item:hover{background:rgba(255,255,255,.09);color:#fff}
.ccmd .ccmd-nav-item.is-active{background:#0f4966;color:#fff;border-left:3px solid var(--teal);padding-left:12px}
.ccmd-nav-icon{font-size:20px;font-weight:400;line-height:1;display:inline-block;width:19px;text-align:center;color:#55cbc6}
.ccmd-sidebar-foot{margin-top:auto;background:rgba(0,0,0,.12);padding:17px 13px;border-radius:11px}
.ccmd-sidebar-tag{font-size:9px;letter-spacing:.13em;font-weight:800;color:#54d1c9;margin-bottom:11px}
.ccmd-sidebar-foot>div:nth-child(2){font-size:12px;font-weight:600;margin-bottom:7px;color:#fff}
.ccmd-sidebar-foot small{display:block;font-size:10px;color:#a5bdcc;line-height:1.7}
.ccmd-main{flex:1;min-width:0}
.ccmd-topbar{height:71px;display:flex;justify-content:space-between;align-items:center;gap:20px;padding:0 35px;background:#fff;border-bottom:1px solid var(--line)}
.ccmd-topbar-left{display:flex;align-items:center;gap:16px;white-space:nowrap}
.ccmd-top-eyebrow{font-size:10px;color:#345e78;letter-spacing:.12em;font-weight:800}
.ccmd-top-label{font-size:11px;color:#90a0ad}
.ccmd-top-separator{width:1px;height:18px;background:var(--line)}
.ccmd-top-right{display:flex;align-items:center;gap:8px;font-size:11px;color:#7c8b99;white-space:nowrap}
.ccmd-top-right strong{color:var(--ink)}
.ccmd-live-dot{width:7px;height:7px;border-radius:100%;background:var(--teal)}
.ccmd-mobile-nav{display:none}
.ccmd-content{padding:33px 35px 19px}
.ccmd-page{display:none}
.ccmd-page.is-active{display:block;animation:ccmd-in .16s ease-out}
@keyframes ccmd-in{from{opacity:.6;transform:translateY(5px)}to{opacity:1;transform:none}}
.ccmd-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 26px}
.ccmd-overline{font-size:10px;letter-spacing:.17em;font-weight:900;color:#1d91b8;margin-bottom:7px}
.ccmd-heading h2{font-size:28px;line-height:1.25;letter-spacing:-.05em;font-weight:850;color:var(--navy);margin:0 0 9px}
.ccmd-heading p{font-size:12px;color:#718599}
.ccmd-period{white-space:nowrap;border:1px solid #dce8ee;border-radius:8px;padding:8px 12px;background:#fff;font-size:10px;color:#647c8e;font-weight:700}
.ccmd-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:18px}
.ccmd-kpis-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.ccmd-kpi{border:1px solid #e2ebef;background:#fff;border-radius:13px;padding:19px 18px;box-shadow:0 4px 12px rgba(3,42,68,.024);min-width:0}
.ccmd-kpi-top{display:flex;align-items:start;justify-content:space-between;gap:8px;color:#77899a;font-size:11px;min-height:23px;font-weight:600}
.ccmd-kpi-symbol{display:grid;place-items:center;width:25px;height:25px;line-height:1;border-radius:9px;flex:0 0 25px;font-size:16px;font-weight:700}
.ccmd-kpi-symbol.warm{background:#fef3e8;color:#b77730}
.ccmd-kpi-symbol.teal{background:#e9fbf9;color:#14938d}
.ccmd-kpi-symbol.blue{background:#eaf5ff;color:#2787b9}
.ccmd-kpi-value{display:block;font-size:34px;font-weight:850;line-height:1.2;letter-spacing:-.05em;color:var(--navy);margin:14px 0 9px}
.ccmd-kpi-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;flex-wrap:wrap;font-size:10px}
.ccmd-kpi-bottom small,.ccmd-kpi>small{color:#8999a5;font-size:10px}
.ccmd-trend{display:inline-flex;align-items:center;white-space:nowrap;font-size:10px;font-weight:800;border-radius:7px;padding:4px 7px}
.ccmd-positive{background:#e9faf4;color:#078a66}
.ccmd-negative{background:#fff1e8;color:#ad672e}
.ccmd-trend-muted{color:#8395a4;font-size:10px}
.ccmd-small-muted{color:#8796a1;font-size:9px}
.ccmd-panel-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px}
.ccmd-panel-grid-bottom{margin-top:18px}
.ccmd-panel{min-width:0;background:#fff;border:1px solid #e4edf1;border-radius:13px;padding:23px 25px;box-shadow:0 4px 11px rgba(3,42,68,.017)}
.ccmd-panel-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:22px}
.ccmd-panel-title h3{font-size:15px;color:var(--navy);font-weight:800;letter-spacing:-.025em;line-height:1.3}
.ccmd-panel-title p{font-size:11px;color:#8a9ba8;margin-top:6px}
.ccmd-panel-action{color:#138eab;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}
.ccmd-group-bars{padding:7px 0}
.ccmd-bar-row{margin-bottom:27px}
.ccmd-bar-caption{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;font-size:12px}
.ccmd-bar-caption span{font-weight:700;color:#365068}
.ccmd-bar-caption b{font-size:16px;color:var(--navy)}
.ccmd-bar-caption small{font-weight:500;font-size:9px;color:#9caeb9}
.ccmd-bar-track{height:13px;border-radius:12px;background:#eff4f6;overflow:hidden}
.ccmd-bar-track>div{height:100%;border-radius:12px;transition:width .2s}
.ccmd-fill-orange{background:linear-gradient(90deg,#e8b078,#d18c47)}
.ccmd-fill-blue{background:linear-gradient(90deg,#54b5e0,#1d91cf)}
.ccmd-fill-teal{background:linear-gradient(90deg,#59d6ce,#19bab2)}
.ccmd-mini-note{font-size:10px;color:#8799a7;line-height:1.65;margin-top:14px}
.ccmd-health-pill{display:inline-block;font-size:10px;font-weight:900;padding:7px 11px;border-radius:99px}
.ccmd-health-pill.alert{color:#ab6c32;background:#fef2e5}
.ccmd-health-pill.healthy{color:#078b70;background:#e6f9f3}
.ccmd-health-score{font-size:43px;font-weight:850;letter-spacing:-.06em;color:var(--navy);line-height:1.1;margin:23px 0}
.ccmd-health-score small{font-size:12px;font-weight:500;color:#708699;letter-spacing:0;display:block;margin-top:7px}
.ccmd-share-track{width:100%;height:17px;background:linear-gradient(90deg,#d8f4ef,#e5f0f6);border-radius:20px;overflow:hidden}
.ccmd-share-track>div{background:#d18c47;height:100%;border-radius:20px}
.ccmd-share-ticks{display:flex;justify-content:space-between;font-size:9px;color:#8394a3;margin-top:8px}
.ccmd-health-description{font-size:11px;line-height:1.75;color:#567085;margin-top:16px!important}
.ccmd-proposed-target{margin-top:16px;background:#eef8f9;border-left:3px solid var(--teal);padding:11px 12px;font-size:10px;color:#425e72;border-radius:5px}
.ccmd-riser{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px}
.ccmd-riser:last-child{border-bottom:0}
.ccmd-riser-index{color:#a3b6c0;font-size:10px;font-weight:900}
.ccmd-riser-name{flex:1;min-width:0;font-weight:650;color:#36556b}
.ccmd-riser strong{font-size:11px;white-space:nowrap}
.ccmd-text-warn{color:#b86c36!important;font-weight:800}
.ccmd-text-good{color:#128772!important;font-weight:800}
.ccmd-hub-row{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding:12px 0;font-size:11px;color:#597083}
.ccmd-hub-row:first-child{padding-top:2px}
.ccmd-hub-row b{color:var(--navy);font-size:16px}
.ccmd-hub-note{font-size:10px;margin-top:15px;color:#91a0ad}
.ccmd-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:11px;margin-bottom:14px}
.ccmd-filter-tabs{display:flex;gap:6px;flex-wrap:wrap}
.ccmd .ccmd-filter-tabs button{font-size:10px;background:#f0f5f7;color:#5d7787;border:1px solid #e3ecf0;border-radius:7px;padding:9px 11px;line-height:1.2;font-weight:750}
.ccmd .ccmd-filter-tabs button.is-active{background:#e6faf7;color:#058c84;border-color:#8ae0d9}
.ccmd-search input{border:1px solid #dce5ea;border-radius:7px;padding:9px 11px;width:204px;max-width:100%;background:#fff;color:#27475e;font-size:11px}
.ccmd-search input:focus{outline:2px solid #91dcd7}
.ccmd-table-scroll{width:100%;overflow:auto}
.ccmd-table{width:100%;border-collapse:collapse;font-size:11px;text-align:left;min-width:620px}
.ccmd-table th{font-size:10px;white-space:nowrap;color:#6d8798;text-transform:uppercase;letter-spacing:.07em;padding:12px 10px;border-bottom:2px solid var(--line);font-weight:800}
.ccmd-table td{padding:14px 10px;border-bottom:1px solid #ecf1f4;color:#506b7e;vertical-align:middle}
.ccmd-table tbody tr:hover{background:#f8fbfc}
.ccmd-table td strong{color:#25465f;font-weight:800}
.ccmd-table .ccmd-right{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ccmd-table a{font-weight:700}
.ccmd-group-label{font-size:9px;color:#7d93a2;display:block;margin-top:4px;font-weight:650}
.ccmd-group-label.windows{color:#b9804d}
.ccmd-group-label.cloud{color:#3187bd}
.ccmd-group-label.gateway{color:#149f93}
.ccmd-hierarchy{max-width:270px;color:#8699a6!important;font-size:10px}
.ccmd-empty{text-align:center;padding:30px;color:#849cac;font-size:12px}
.ccmd-sub-panel{margin-top:19px}
.ccmd-hub-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ccmd-hub-card{background:#fff;border:1px solid #e4edf1;border-radius:13px;padding:23px 20px;min-width:0}
.ccmd-hub-card-top{display:flex;align-items:center;gap:12px}
.ccmd-hub-icon{width:37px;height:37px;border-radius:12px;display:grid;place-items:center;color:#138f8e;background:#e9faf8;font-size:22px}
.ccmd-hub-card-top h3{font-weight:800;font-size:13px;color:var(--navy)}
.ccmd-hub-card-top a{font-size:10px;font-weight:650}
.ccmd-hub-big{font-weight:850;letter-spacing:-.05em;font-size:38px;color:var(--navy);margin:26px 0}
.ccmd-hub-big small{display:block;letter-spacing:0;color:#8399a8;font-size:10px;font-weight:550;margin-top:0}
.ccmd-hub-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-top:15px;gap:8px}
.ccmd-hub-stats>div span{font-size:9px;color:#859dac;display:block}
.ccmd-hub-stats b{display:block;color:#2a4a5f;font-size:15px;margin-top:4px}
.ccmd-week-banner{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(110deg,#eaf1f5,#f7fbfb);border:1px solid #dce8ee;border-radius:13px;padding:24px 25px;margin:0 0 19px}
.ccmd-week-banner.ready{background:linear-gradient(110deg,#e3f9f5,#f7fbfb);border-color:#bde7e3}
.ccmd-week-banner h3{font-size:16px;font-weight:850;color:var(--navy);margin-bottom:7px}
.ccmd-week-banner p{font-size:11px;color:#607c8c}
.ccmd-week-badge{border:1px solid #c9dce3;border-radius:8px;padding:8px 12px;color:#416277;font-size:10px;font-weight:800;white-space:nowrap}
.ccmd-line-legend{display:flex;gap:20px;justify-content:center;margin:2px 0 12px;font-size:11px;color:#6f8392}
.ccmd-line-legend span{display:flex;align-items:center;gap:8px}
.ccmd-line-legend i{width:10px;height:10px;display:inline-block;border-radius:50%}
.ccmd-svg{width:100%;height:auto;display:block}
.ccmd-week-label{display:block;color:#0a9788;font-size:9px;margin-top:4px}
.ccmd-footer{margin-top:26px;border-top:1px solid #dde9ee;padding:15px 0 0;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;color:#8296a3;font-size:9px}
.ccmd-footer a{font-weight:750}
.ccmd-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:1150px){.ccmd-side{width:205px;flex-basis:205px}.ccmd-content{padding:26px 22px}.ccmd-topbar{padding:0 22px}.ccmd-kpis{gap:10px}.ccmd-kpi{padding:15px 12px}.ccmd-kpi-value{font-size:30px}.ccmd-panel{padding:20px}.ccmd-panel-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.ccmd-side{display:none}.ccmd-mobile-nav{display:flex;background:#fff;gap:5px;padding:8px 15px;border-bottom:1px solid var(--line);overflow:auto}.ccmd .ccmd-mobile-nav button{background:#f1f5f7;padding:10px 13px;border-radius:8px;color:#527087;white-space:nowrap;font-size:11px;font-weight:800}.ccmd .ccmd-mobile-nav button.is-active{background:#def6f3;color:#04837d}.ccmd-topbar{height:61px}.ccmd-panel-grid{grid-template-columns:1fr}}
@media(max-width:680px){.ccmd{border-radius:0;min-height:500px}.ccmd-content{padding:20px 13px}.ccmd-topbar{padding:0 14px;height:58px}.ccmd-top-eyebrow{font-size:9px}.ccmd-top-label,.ccmd-top-separator{display:none}.ccmd-top-right{font-size:9px}.ccmd-heading{align-items:flex-start;flex-direction:column;gap:11px}.ccmd-heading h2{font-size:24px}.ccmd-heading p{font-size:11px}.ccmd-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ccmd-kpis-three{grid-template-columns:repeat(2,minmax(0,1fr))}.ccmd-kpi-value{font-size:28px}.ccmd-kpi-top{font-size:10px}.ccmd-kpi{padding:15px}.ccmd-panel{padding:17px 13px}.ccmd-hub-cards{grid-template-columns:1fr}.ccmd-week-banner{align-items:flex-start;flex-direction:column}.ccmd-hub-stats b{font-size:17px}.ccmd-kpi-bottom{flex-direction:column;align-items:flex-start}}

/* v1.2: Full-window presentation on ONLY the designated private dashboard page. */
html:has(body.ccmd-fullscreen-page){margin:0!important;min-height:100%}
body.ccmd-fullscreen-page{margin:0!important;padding:0!important;min-height:100dvh;background:#f3f7f9;overflow-x:hidden}
body.ccmd-fullscreen-page #ccmd-dashboard{width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;min-height:100dvh;overflow:visible}
body.ccmd-fullscreen-page .ccmd-side{min-height:100dvh;position:sticky;top:0;align-self:flex-start;height:100dvh}
body.ccmd-fullscreen-page .ccmd-topbar{position:sticky;top:0;z-index:5}
body.ccmd-fullscreen-page.admin-bar .ccmd-side{top:32px;height:calc(100dvh - 32px);min-height:calc(100dvh - 32px)}
body.ccmd-fullscreen-page.admin-bar .ccmd-topbar{top:32px}
.ccmd-access-gate{display:grid;place-items:center;min-height:100dvh;padding:24px;font-family:Poppins,Inter,'Segoe UI',Arial,sans-serif}
.ccmd-access-card{width:min(100%,460px);background:white;border:1px solid #deeaef;border-radius:18px;box-shadow:0 24px 62px rgba(3,42,68,.09);padding:36px;color:#032a44}
.ccmd-access-badge{display:inline-block;font-size:11px;color:#02877c;font-weight:800;letter-spacing:.12em;margin-bottom:14px}
.ccmd-access-card h1{font-family:inherit;color:#032a44;font-size:25px;line-height:1.2;margin:0 0 10px}
.ccmd-access-card p{font-size:13px;line-height:1.7;color:#607f8c}
.ccmd-access-card form{margin-top:25px}
.ccmd-access-card label{display:block;font-size:12px;font-weight:750;color:#31566a;margin-bottom:8px}
.ccmd-access-card input[type=password]{display:block;width:100%;min-height:45px;border:1px solid #cbdde5;border-radius:9px;padding:10px 12px;margin:7px 0 16px}
.ccmd-access-card input[type=submit]{background:#19bab2;border:0;border-radius:9px;font-weight:800;color:#032a44;min-height:45px;width:100%;cursor:pointer}
@media(max-width:900px){body.ccmd-fullscreen-page .ccmd-side{display:none}}
@media(max-width:782px){body.ccmd-fullscreen-page.admin-bar .ccmd-side{top:46px;height:calc(100dvh - 46px);min-height:calc(100dvh - 46px)}body.ccmd-fullscreen-page.admin-bar .ccmd-topbar{top:46px}}
@media(max-width:680px){body.ccmd-fullscreen-page #ccmd-dashboard{min-height:100dvh}body.ccmd-fullscreen-page .ccmd-content{padding-top:20px}}

/* V2 - Email campaigns. All selectors scoped to the protected dashboard. */
.ccmd .ccmd-email-kpis{margin-bottom:19px}
.ccmd .ccmd-email-kpis .ccmd-kpi{min-height:142px}
.ccmd .ccmd-email-kpis .ccmd-kpi-bottom small{line-height:1.65;overflow-wrap:anywhere;display:block}
.ccmd-email-list-panel{padding-bottom:24px}
.ccmd-email-totals{font-size:10px;font-weight:800;color:#608398;white-space:nowrap;border:1px solid #dceaf0;border-radius:999px;padding:8px 12px;background:#f7fbfd}
.ccmd-email-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.ccmd-email-controls .ccmd-search{width:min(100%,370px);max-width:370px}
.ccmd-email-controls .ccmd-search input{width:100%;min-width:180px}
.ccmd-email-results{font-size:11px;color:#678194;font-weight:700}
.ccmd-email-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #e7eef2;border-radius:10px}
.ccmd-email-table{min-width:1080px;border-spacing:0}
.ccmd-email-table thead th{white-space:nowrap;background:#f5f9fb;position:sticky;top:0;z-index:1}
.ccmd-email-table th button{display:inline-flex;gap:7px;align-items:center;justify-content:flex-start;border-radius:6px;padding:6px 4px;color:#557487;background:transparent;font-size:10px;font-weight:850;white-space:nowrap}
.ccmd-email-table th.ccmd-right button{justify-content:flex-end;width:100%}
.ccmd-email-table th button:hover,.ccmd-email-table th[aria-sort=ascending] button,.ccmd-email-table th[aria-sort=descending] button{color:#087c80;background:#e7f7f6}
.ccmd-email-table th button:focus-visible{outline:2px solid #19bab2;outline-offset:2px}
.ccmd-email-table th button span{font-weight:900;color:#12a89f;font-size:13px}
.ccmd-email-table tbody td{vertical-align:middle;line-height:1.5;font-size:10px}
.ccmd-email-table .ccmd-email-date{white-space:nowrap;color:#526d7f;font-weight:650}
.ccmd-email-date small{display:block;color:#8aa0ad;font-size:9px}
.ccmd-email-campaign{min-width:205px;max-width:265px;overflow-wrap:anywhere}
.ccmd-email-campaign b{font-weight:750;color:#1c4962}
.ccmd-email-subject{min-width:245px;max-width:340px;overflow-wrap:anywhere;color:#32546b}
.ccmd-email-rate{display:inline-block;background:#eaf9f6;border-radius:5px;padding:4px 7px;color:#048d85;font-weight:800}
.ccmd .ccmd-email-more{display:block;margin:17px auto 0;padding:10px 19px;border-radius:8px;background:#eaf7f5;color:#057e7b;font-weight:800;font-size:11px}
.ccmd .ccmd-email-more:hover{background:#d6f0ed}
.ccmd .ccmd-email-more[hidden]{display:none}
.ccmd-email-note{line-height:1.7;margin-top:17px}
@media(max-width:680px){.ccmd-email-controls{flex-direction:column;align-items:stretch}.ccmd-email-controls .ccmd-search{max-width:none;width:100%}.ccmd-email-totals{white-space:normal}.ccmd-email-list-panel{padding:16px 12px}}
