/* M208 native public-page theme. Loaded only by the native document shell.
   Scope excludes English main documents; no image filters, canvas/iframe,
   global element reset, header/footer, admin or reviewed-page selectors. */
body.m208-native-page main#main-content:not([lang="en"]) {
  --decision-ink: #f3f1e9;
  --decision-deep: #121314;
  --decision-red: #dec77d;
  --decision-gold: #dec77d;
  --decision-paper: #121314;
  --decision-mist: #191b1c;
  --decision-line: #383a37;
  --decision-muted: #c4c4bc;
  --research-ink: #f3f1e9;
  --research-muted: #c4c4bc;
  --research-line: #383a37;
  --research-accent: #dec77d;
  --research-teal: #dec77d;
  --growth-ink: #f3f1e9;
  --growth-muted: #c4c4bc;
  --growth-line: #383a37;
  --growth-red: #dec77d;
  --v3-ink: #f3f1e9;
  --v3-muted: #c4c4bc;
  --v3-line: #383a37;
  --v3-red: #dec77d;
  --u4-soft: #1b1d1d;
  --u4-muted: #c4c4bc;
  --u4-line: #383a37;
  --co4-ink: #f3f1e9;
  --co4-muted: #c4c4bc;
  --co4-line: #383a37;
  --co4-red: #dec77d;
  background: #121314 !important;
  color: #f3f1e9 !important;
  color-scheme: dark;
}
/* Named structural surfaces retain their layout and media. */
body.m208-native-page main#main-content:not([lang="en"]) > section,
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .budget-hero, .budget-principles, .budget-factors, .starting-modes,
  .cycle-gates, .quote-audit, .roi-method, .delivery-samples-hero,
  .delivery-sample-section, .project-evidence-standard, .z-insight-band,
  .research-hero, .research-output-section, .profile-boundary-section,
  [class*="_hero_"], [class*="_system_"], [class*="_industryBand_"],
  [class*="_researchBand_"], [class*="_projects_"], [class*="_delivery_"]
) {
  background-color: #121314 !important;
  background-image: none !important;
  border-color: #383a37 !important;
}
/* Module page pseudo-backgrounds are legacy teal atmospheric layers. */
body.m208-native-page main#main-content:not([lang="en"])[class*="_page_"]::before {
  background: radial-gradient(ellipse at 80% 0, #dec77d0b, transparent 45%), #121314 !important;
}
body.m208-native-page main#main-content:not([lang="en"])[class*="_page_"]::after {
  opacity: .04 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .budget-factors article > p, .delivery-sample-nav, .delivery-sample-table,
  .delivery-sample-table caption, .delivery-sample-table tbody th,
  .research-answer-summary, .research-review-notice, .research-highlight-grid,
  .research-highlight-grid > div, .research-callout, .research-card,
  .research-related-institute, .research-provenance, .research-application-links,
  .research-outline-mobile, .research-markdown caption,
  .people-index-list article, .facts-grid article, .u4-next-grid > a,
  .u4-next-grid > article, .u4-standard-list > article,
  [class*="_card_"], [class*="_disclosure_"], [class*="_question_"],
  [class*="_tableWrap_"], [class*="_sample_"], [class*="_next_"],
  [class*="_takeaway_"], [class*="_example_"], [class*="_limitations_"],
  [class*="_note_"], [class*="_caseIndex_"], [class*="_scenario_"],
  [class*="_scenarioIntro_"], [class*="_projectGrid_"] > article,
  [class*="_map_"], [class*="_mapLayer_"]
) {
  background: #1b1d1d !important;
  color: #e2e0d7 !important;
  border-color: #3b3d37 !important;
  box-shadow: none !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(h1,h2,h3,h4,h5,h6) {
  color: #f3f1e9 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(p,li,dd,td,figcaption) {
  color: #c9c9c1 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .section-kicker,.z-kicker,.u4-label,.research-kicker,
  [class*="_eyebrow_"],[class*="_number_"],dt
) { color: #dec77d !important; }
body.m208-native-page main#main-content:not([lang="en"]) :is(a,summary) {
  color: #e1cb86 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) a:hover {
  color: #f5e5b0 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(
  table,caption,th,td,[class*="_table_"]
) { border-color: #3b3d37 !important; }
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .delivery-sample-table table,.research-markdown table,[class*="_table_"]
) { background: #191b1c !important; }
body.m208-native-page main#main-content:not([lang="en"]) :is(th,caption) {
  background: #252820 !important;
  color: #f0e2b4 !important;
}
/* Explicit CTA treatment preserves dark text on gold buttons. */
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .z-button:not(.z-button-line), .button.primary, .contact-copy
) {
  background: #dec77d !important;
  color: #151611 !important;
  border-color: #dec77d !important;
}
body.m208-native-page main#main-content:not([lang="en"]) .z-button-line {
  background: transparent !important;
  color: #e1cb86 !important;
  border-color: #a99661 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(input,textarea,select) {
  background: #202222;
  color: #f3f1e9;
  border-color: #626357;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(a,button,input,textarea,select,summary):focus-visible {
  outline: 2px solid #f1d88a !important;
  outline-offset: 4px;
}
/* Small copy should remain legible without recoloring logo/certificate images. */
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .budget-hero aside p,.budget-hero aside span,
  .z-lead,.research-description,.research-byline,
  [class*="_meta_"],[class*="_lead_"],[class*="_intro_"],
  [class*="_breadcrumb_"],[class*="_heroLead_"],[class*="_heroStatement_"]
) { color: #c9c9c1 !important; }
/* M208 follow-up: concrete surfaces reported by the desktop DOM audit.
   Certificate/image wrappers intentionally retain their light image surround. */
body.m208-native-page main#main-content:not([lang="en"]) .co4-software-certificates > article,
body.m208-native-page main#main-content:not([lang="en"]) :is(
  .co4-software-facts, .v3-system-workbench, .v3-module-index,
  .v3-module-panels, .v3-module-panel, .u4-contact-card, .u4-output,
  .whitepaper-related, .research-methodology-related, .fact-contact, .fact-assets
) {
  background: #1b1d1d !important;
  color: #e2e0d7 !important;
  border-color: #3b3d37 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) :is(.v3-system,.utility-v4,.co4-company) {
  --v3-ink: #f3f1e9;
  --v3-muted: #c4c4bc;
  --v3-line: #383a37;
  --v3-red: #dec77d;
  --u4-soft: #1b1d1d;
  --u4-muted: #c4c4bc;
  --u4-line: #383a37;
  --co4-ink: #f3f1e9;
  --co4-muted: #c4c4bc;
  --co4-line: #383a37;
  --co4-red: #dec77d;
}
body.m208-native-page main#main-content:not([lang="en"]) .v3-module-option label {
  color: #e2e0d7 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) .v3-module-option label:hover,
body.m208-native-page main#main-content:not([lang="en"]) .v3-module-choice:checked + label {
  background: #323025 !important;
  color: #eddaa0 !important;
  border-color: #dec77d !important;
}
body.m208-native-page main#main-content:not([lang="en"]) .v3-module-panel-heading > span {
  background: #dec77d !important;
  color: #171811 !important;
}
body.m208-native-page main#main-content:not([lang="en"]) .z-contact-band a,
body.m208-native-page main#main-content:not([lang="en"]) .z-contact-band a:hover {
  background: #dec77d !important;
  color: #171811 !important;
  border: 1px solid #dec77d;
}
body.m208-native-page main#main-content:not([lang="en"]) .z-contact-band a span {
  color: #171811 !important;
  background: transparent !important;
}
/* M208 English native surfaces: scoped to the three English public pages.
   Images, hero overlays, layout, navigation and Chinese pages retain their rules. */
body.m208-native-page main[lang="en"] {
  --en-paper: #1b1d1d;
  --en-line: #383a37;
  --en-yellow: #dec77d;
  color: #c9c9c1;
  background: #121314;
}
body.m208-native-page main[lang="en"] :is(.z-page-hero, .z-section, .en-answer, .en-section, .en-contact-band) {
  background-color: #121314 !important;
  background-image: none !important;
}
body.m208-native-page main[lang="en"] :is(.z-note-panel, .z-insight-band, .en-proof, .en-list-grid article, .en-service-grid article, .en-proof-grid article) {
  background-color: #1b1d1d !important;
  background-image: none !important;
  border-color: #383a37 !important;
}
body.m208-native-page main[lang="en"] :is(.z-dark, .en-dark-band) {
  background-color: #161818 !important;
  background-image: none !important;
}
body.m208-native-page main[lang="en"] :is(h1, h2, h3, h4, strong, dt, dd) {
  color: #f3f1e9 !important;
}
body.m208-native-page main[lang="en"] :is(p, li, .z-lead, .z-small-note, .en-capability-note) {
  color: #c9c9c1 !important;
}
body.m208-native-page main[lang="en"] :is(.z-kicker, .en-kicker, .m205-kicker, .en-service-grid article > span) {
  color: #dec77d !important;
}
body.m208-native-page main[lang="en"] :is(.z-note-panel a, .z-text-link, .en-service-grid a) {
  color: #e1cb86 !important;
}
body.m208-native-page main[lang="en"] :is(.z-button, .en-button.accent, .m205-button) {
  color: #171811 !important;
  background: #dec77d !important;
  border-color: #dec77d !important;
}
body.m208-native-page main[lang="en"] :is(.z-button, .en-button.accent, .m205-button) span {
  color: #171811 !important;
}
body.m208-native-page main[lang="en"] :is(.z-button-line, .en-button.outline) {
  color: #e1cb86 !important;
  background: transparent !important;
  border-color: #dec77d !important;
}
