/* Reader layout retains source structures and semantic chart colors. */
body.mw-theme .blog-article-shell,
body.mw-theme .report-article-shell { background: var(--mw-bg); padding-block: clamp(24px, 4vw, 56px) 80px; }
body.mw-theme :is(.blog-article-content, .report-article) {
  width: min(1280px, calc(100% - 48px)); margin-inline: auto;
  color: var(--mw-text); font: 400 var(--mw-body-size)/1.8 var(--mw-body);
}
body.mw-theme .blog-article-content :is(.page, .wrap, .content, .article) { background: transparent; box-shadow: none; border: 0; border-radius: 0; padding-inline: 0; overflow: visible; }
body.mw-theme :is(.blog-article-content, .report-article) .hero { padding: clamp(24px, 4vw, 64px) 0 40px; background: transparent; border-bottom: 1px solid var(--mw-line); }
body.mw-theme .blog-article-content .hero::after { content: none; }
body.mw-theme :is(.blog-article-content, .report-article) :is(h1, .hero h1) { max-width: 24ch; font: 600 clamp(32px, 4vw, 64px)/1.14 var(--mw-heading); color: var(--mw-text); letter-spacing: -.045em; text-wrap: balance; }
body.mw-theme :is(.blog-article-content, .report-article) h2 { max-width: 34ch; font: 600 clamp(25px, 2.6vw, 38px)/1.25 var(--mw-heading); color: var(--mw-text); letter-spacing: -.025em; }
body.mw-theme :is(.blog-article-content, .report-article) h3 { font: 600 clamp(21px, 1.7vw, 28px)/1.35 var(--mw-heading); color: var(--mw-text); }
body.mw-theme :is(.blog-article-content, .report-article) :is(p, li) { font: 400 var(--mw-body-size)/1.8 var(--mw-body); color: var(--mw-text); }
body.mw-theme :is(.blog-article-content, .report-article) :is(p, ul, ol) { max-width: 68ch; }
body.mw-theme :is(.blog-article-content, .report-article) :is(p, li, h1, h2, h3) { overflow-wrap: anywhere; }
body.mw-theme :is(.blog-article-content,.report-article,.service-article) :not(pre) > code { white-space: normal; overflow-wrap: anywhere; }
body.mw-theme :is(.blog-article-content, .report-article) .tool-profile-head > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
body.mw-theme :is(.blog-article-content, .report-article) :is(.checklist li, .checklist li > div) { min-width: 0; max-width: 100%; }
body.mw-theme :is(.blog-article-content, .report-article) a:not(:is(.btn,.btn-primary,.btn-secondary,.btn-cta-primary,.paid-btn,.cd-contact-cta)) { color: var(--mw-link); text-decoration: underline; text-underline-offset: 4px; }
body.mw-theme :is(.blog-article-content, .report-article) :is(.kicker, .eyebrow, .overline, .section-label, .callout-title) { color: var(--mw-link); }
body.mw-theme :is(.blog-article-content, .report-article) :is(.subtitle, .lede, .lead) { max-width: 62ch; color: var(--mw-muted); }
body.mw-theme :is(.blog-article-content, .report-article) :is(.callout, .toc, .summary-item, .stat-card, .chart-panel, .cd-shared-blog-cta, .verdict-banner) { background: var(--mw-surface); border-color: var(--mw-line); box-shadow: none; }
body.mw-theme .ebook-article-content :is(.summary,.card,.signal-card,.panel,.sheet,.closing) { background: var(--mw-surface); border-color: var(--mw-line); color: var(--mw-text); box-shadow: none; }
body.mw-theme .ebook-article-content :is(.summary,.chapter) { margin-bottom: 40px; }
body.mw-theme .ebook-article-content :is(.chapter-label,.toc-num,.signal-card b) { color: var(--mw-link); }
body.mw-theme .ebook-article-content :is(table,td) { background: var(--mw-surface); color: var(--mw-text); border-color: var(--mw-line); }
body.mw-theme .ebook-article-content th { background: var(--mw-input); color: var(--mw-text); }
/* A source table named "matrix" is a table, not the legacy card-grid matrix. */
body.mw-theme.ebook-article-page .report-article table.matrix {
  display: table; width: 100%; min-width: 640px; border-collapse: collapse;
}
body.mw-theme.ebook-article-page .report-article .table-wrap { width: 100%; max-width: 100%; overflow-x: auto; }
body.mw-theme.ebook-article-page .report-article table.matrix caption { caption-side: top; text-align: left; color: var(--mw-muted); padding-block: 16px; }
/* The context-graph diagram keeps its warning/memory/captured palette.
   Only editorial headings, statistics and brand decorations are rethemed. */
body.mw-theme.report-review-page .report-article .context-graph-report :is(.exec-summary h3,.toc-inner h3,.stat-val,.author .who span) { color: var(--mw-link); }
body.mw-theme.report-review-page .report-article .context-graph-report :is(h2,h3) { font-family: var(--mw-heading); }
body.mw-theme.report-review-page .report-article .context-graph-report h2 { font-size: clamp(25px,2.6vw,38px); line-height: 1.25; }
body.mw-theme.report-review-page .report-article .context-graph-report a:not(:is(.btn,.btn-primary,.btn-secondary,.btn-cta-primary,.cd-contact-cta)) { color: var(--mw-link); }
body.mw-theme :is(.blog-article-content,.report-article,.service-article) :is(.brand-mark,.author .avatar) {
  background: transparent url("/cinematic/assets/brand/chander-dhall-cd-ring-polished-mark.png") center / contain no-repeat;
  color: transparent;
  font-size: 0;
  box-shadow: none;
}
body.mw-theme :is(.blog-article-content,.report-article,.service-article) :is(.author .who span,.brand-name span) { color: var(--mw-muted); }
body.mw-theme :is(.blog-article-content,.report-article,.service-article) a:is(.btn-cta-primary,.btn-primary,.btn.primary) {
  background: var(--mw-accent);
  color: var(--mw-bg);
  text-decoration: none;
  box-shadow: none;
  animation: none;
  min-height: 48px;
}
body.mw-theme :is(.blog-article-content,.report-article,.service-article) a:is(.btn-cta-primary,.btn-primary,.btn.primary):hover {
  background: var(--mw-accent-hover);
  color: var(--mw-bg);
}
body.mw-theme :is(.blog-article-content,.report-article,.service-article) a:is(.btn-cta-primary,.btn-primary,.btn.primary):focus-visible {
  color: var(--mw-bg);
  outline: 2px solid var(--mw-link);
  outline-offset: 4px;
}
body.mw-theme .report-article .btn-secondary,
body.mw-theme .report-article .btn-secondary:hover {
  background: var(--mw-surface);
  color: var(--mw-text);
  border-color: var(--mw-line);
  box-shadow: none;
}
body.mw-theme .report-article .btn-secondary:focus-visible {
  outline: 2px solid var(--mw-link);
  outline-offset: 4px;
}
body.mw-theme .report-article .signal-card {
  background: var(--mw-surface);
  border-color: var(--mw-line);
  color: var(--mw-text);
}
body.mw-theme .report-article .signal-card b { color: var(--mw-link); }
body.mw-theme :is(.blog-article-content, .report-article) :is(img, video, iframe) { filter: none; box-shadow: none; }
body.mw-theme :is(.blog-article-content, .report-article) :is(table, pre, .table-wrap, .risk-matrix-wrap) { max-width: 100%; overflow-x: auto; }
body.mw-theme :is(.blog-article-content, .report-article) th { background: var(--mw-input); color: var(--mw-text); font-size: 14px; }
body.mw-theme :is(.blog-article-content, .report-article) td { font-size: 16px; }
body.mw-theme :is(.blog-article-content, .report-article) pre { font-size: 14px; background: var(--mw-surface); }
body.mw-theme .report-article-header { width: min(1280px, calc(100% - 48px)); margin: 0 auto 24px; }
body.mw-theme .report-article-link { color: var(--mw-link); min-height: 44px; display: inline-flex; align-items: center; background: var(--mw-surface); border-color: var(--mw-line); box-shadow: none; font: 600 13px/1.4 var(--mw-body); letter-spacing: .04em; }
body.mw-theme .report-article-link:hover { background: var(--mw-input); color: var(--mw-text); box-shadow: none; }
body.mw-theme .report-article-header { background: var(--mw-bg); padding-inline: 0; }
body.mw-theme .report-article-kicker { color: var(--mw-link); }
body.mw-theme .report-article-heading { color: var(--mw-text); }
body.mw-theme .report-article-nav { flex-wrap: wrap; gap: 8px 20px; }
/* Brand decoration only. Chart series, risk/warning colors and paid CTAs retain meaning. */
body.mw-theme .blog-article-content :is(.big-num-card .number, .stat .number, .stat-num, .tool-cards .card-metric span, .section-label, .pb-label, .section .num, .summary-item strong, .summary-item b) { color: var(--mw-accent); }
body.mw-theme .blog-article-content .verdict-banner .big-num-card .number { color: var(--mw-accent); }
body.mw-theme .blog-article-content :is(.hero .overline, .hero .eyebrow, .hero .kicker, .hero .label)::before,
body.mw-theme .blog-article-content .verdict-banner > :is(h2, h3)::before { background: var(--mw-accent); }
body.mw-theme .blog-article-content :is(.verdict-banner, .tool-cards .card, .exec-banner, .cd-shared-blog-cta, .cta-banner, .closing) { border-color: var(--mw-line); border-top-color: var(--mw-accent); background: var(--mw-surface); }
body.mw-theme .blog-article-content :is(h1, h2) em { color: var(--mw-accent); }
body.mw-theme .blog-article-content :is(.toc h2, .toc h3, .toc b) { color: var(--mw-link); }
body.mw-theme .blog-article-content :not(pre) > code { color: var(--mw-link); }
/* Source metrics may use inline var(--yellow). Change the scoped brand token,
   not the author's semantic red/green/amber series or the inline data. */
body.mw-theme .blog-article-content :is(.big-num-card,.stat-card,.summary-item) { --yellow: var(--mw-accent); }
body.mw-theme :is(.blog-article-content, .report-article) :is(.section-eyebrow, .stat-card .num.gold) { color: var(--mw-accent); }
body.mw-theme :is(.blog-article-content, .report-article) a.cd-contact-cta { text-decoration: none; }
body.mw-theme .service-article { width: min(1280px, calc(100% - 40px)); margin-inline: auto; color: var(--mw-text); font: 400 var(--mw-body-size)/1.8 var(--mw-body); background: var(--mw-bg); }
body.mw-theme .service-article .wrap { width: 100%; max-width: 100%; padding-inline: 0; }
body.mw-theme .service-article :is(p,li) { color: var(--mw-text); max-width: 68ch; font: 400 var(--mw-body-size)/1.8 var(--mw-body); }
body.mw-theme .service-article :is(h1,h2,h3) { color: var(--mw-text); font-family: var(--mw-heading); line-height: 1.2; }
body.mw-theme .service-article h1 { font-size: clamp(32px,4vw,64px); }
body.mw-theme .service-article h2 { font-size: clamp(25px,2.6vw,38px); }
body.mw-theme .service-article .section { background: var(--mw-bg); color: var(--mw-text); }
body.mw-theme .service-article a:not(:is(.btn,.btn-primary,.btn-secondary,.paid-btn,.cd-contact-cta)) { color: var(--mw-link); }
body.mw-theme .service-article :is(.section-eyebrow,.kicker,.num,.eyebrow) { color: var(--mw-accent); }
body.mw-theme .service-article .wrap .section .section-eyebrow { color: var(--mw-link); font-family: var(--mw-body); }
body.mw-theme .service-article .wrap .section .section-eyebrow::before { background: var(--mw-accent); }
body.mw-theme .service-article .wrap .section .deliverables-grid > li { background: var(--mw-surface); border-left-color: var(--mw-accent); }
body.mw-theme .service-article .wrap .section .deliverables-grid p { color: var(--mw-muted); }
body.mw-theme .service-article .wrap .section--inverted { background: var(--mw-surface); color: var(--mw-text); }
body.mw-theme .service-article .wrap .section--inverted :is(h2,h3,p,strong,em) { color: var(--mw-text); }
body.mw-theme .service-article h1 em { color: var(--mw-accent); }
body.mw-theme .service-article .wrap .section :is(.stage-range,.aside em,.section-eyebrow,.timeline .stage-range) { color: var(--mw-link); }
body.mw-theme .service-article .wrap .section--inverted .timeline :is(.stage-title,.stage-body) { color: var(--mw-text); }
body.mw-theme .service-article .wrap .section--inverted .timeline .stage-range { color: var(--mw-link); }
/* Own both surface and text on source-authored light process cards. */
body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step {
  background: var(--mw-surface);
  color: var(--mw-text);
  border: 1px solid var(--mw-line);
  box-shadow: none;
}
body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step h3 { color: var(--mw-text); }
body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step p { color: var(--mw-muted); }
body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step > span {
  background: var(--mw-accent);
  color: var(--mw-bg);
}
body.mw-theme .ebook-article-gate__panel { background: var(--mw-surface); border-color: var(--mw-line); color: var(--mw-text); box-shadow: none; }
body.mw-theme .ebook-article-gate::before { background: linear-gradient(transparent,var(--mw-bg)); }
body.mw-theme .ebook-access-panel__button { min-height: 48px; background: var(--mw-accent); color: var(--mw-bg); }
body.mw-theme .ebook-article-gate :is(h2,p) { color: var(--mw-text); }
@media (min-width: 2560px) { body.mw-theme :is(.blog-article-content, .report-article) h1 { font-size: 76px; } }
@media (max-width: 600px) { body.mw-theme :is(.blog-article-content, .report-article), body.mw-theme .report-article-header { width: calc(100% - 40px); } }
@media print {
  body.mw-theme :is(.blog-article-content, .report-article) { width: 100%; }
  body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step {
    background: #fff;
    color: #111;
    border-color: #aaa;
  }
  body.mw-theme :is(.report-article,.service-article) .wrap .section .steps > .step :is(h3,p) { color: #111; }
}
