/* =========================================================================
   MindScale Core — Dossier LIGHT palette
   -------------------------------------------------------------------------
   Colour-only override for the dossier widgets. It loads on any page
   that contains those widgets, including duplicates, not only on:
     /organizational-performance-science/
     /hospitality-healthcare-science/
     /personalized-brain-entrainment/

   Every value below is taken verbatim from the reference documents in
   `app/public/HTML file/` (elementor-10521 / 10527 / 10530), whose shared
   :root block is:

     --bg          #FFFFFF    page background
     --ink         #000000    body + heading text
     --muted       #4C5555    secondary / supporting text
     --faint       #6B7373    meta labels
     --line        #E3E8E8    hairlines, borders
     --line-strong #C9D2D2
     --surface     #F7FAFA    card + table fills
     --surface-2   #EEF4F4
     --accent      #199A91
     --accent-deep #082725
     --btn         linear-gradient(180deg,#199A91 0%,#082725 100%)

   …plus the four tier/layer gradients and three CDI dot colours that the
   reference documents declare outside :root.

   NOTHING here changes typography, layout, spacing or behaviour — only
   colour. Scoped to `body.mscore-dossier-light` so the rest of the site
   (and the other 42 MindScale Core widgets) is untouched.
   ========================================================================= */


/* ─────────────────────────────────────────────────────────────────────────
   1. TOKENS — remap the theme/plugin palette onto the reference palette
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light {

	/* ── Reference document tokens, verbatim ───────────────────────────── */
	--ms-doc-bg:           #FFFFFF;
	--ms-doc-ink:          #000000;
	--ms-doc-muted:        #4C5555;
	--ms-doc-faint:        #6B7373;
	--ms-doc-line:         #E3E8E8;
	--ms-doc-line-strong:  #C9D2D2;
	--ms-doc-surface:      #F7FAFA;
	--ms-doc-surface-2:    #EEF4F4;
	--ms-doc-accent:       #199A91;
	--ms-doc-accent-deep:  #082725;

	/* Gradients, verbatim from the reference documents */
	--ms-doc-btn:     linear-gradient(180deg, #199A91 0%, #082725 100%);  /* --btn / Tier A */
	--ms-doc-tier-b:  linear-gradient(180deg, #2FB0A6 0%, #0E4340 100%);
	--ms-doc-tier-c:  linear-gradient(180deg, #6FA9A4 0%, #2A4E4B 100%);
	--ms-doc-tier-d:  linear-gradient(180deg, #9FB8B6 0%, #4A5C5B 100%);
	--ms-doc-toc-active: linear-gradient(90deg, rgba(25, 154, 145, .12) 0%, rgba(25, 154, 145, 0) 100%);

	/* Tier / layer ramp — the gradient start + end stops, used where the
	   widget paints flat text instead of a gradient chip. */
	--ms-doc-ramp-a:      #199A91;
	--ms-doc-ramp-b:      #2FB0A6;
	--ms-doc-ramp-c:      #6FA9A4;
	--ms-doc-ramp-d:      #9FB8B6;
	--ms-doc-ramp-d-deep: #4A5C5B;

	/* CDI dots (.ms-cdi__dot / --moderate / --extended) */
	--ms-doc-cdi-direct:   #199A91;
	--ms-doc-cdi-moderate: #6FA9A4;
	--ms-doc-cdi-extended: #B4C6C4;

	/* Shadows: the reference documents use none, so these are derived from
	   --accent-deep (#082725) purely to keep the existing depth design. */
	--ms-doc-shadow-sm: 0 8px 24px -6px rgba(8, 39, 37, .18);
	--ms-doc-shadow-md: 0 14px 36px -18px rgba(8, 39, 37, .16);
	--ms-doc-shadow-lg: 0 -20px 60px rgba(8, 39, 37, .18);
	--ms-doc-scrim:     rgba(8, 39, 37, .55);

	/* ── Global MindScale tokens ───────────────────────────────────────── */
	--ms-primary:         #199A91;
	--ms-secondary:       #2FB0A6;
	--ms-accent:          #199A91;   /* was #66FCF1                        */
	--ms-text:            #4C5555;   /* was #9CB1C9                        */
	--ms-muted:           #6B7373;   /* was #6B8CAE                        */
	--ms-heading:         #000000;   /* was #F0F8FF                        */
	--ms-white:           #FFFFFF;   /* was #F0F8FF                        */
	--ms-border:          #C9D2D2;   /* was rgba(102,252,241,.22)          */
	--ms-background:      #FFFFFF;   /* was #031728                        */
	--ms-background-alt:  #F7FAFA;   /* was #05445E                        */

	/* ── Dossier tokens (drive every .mindscale_* text colour) ─────────── */
	--ms-dossier-ink:        #000000; /* was #ECF7F9 → --ink               */
	--ms-dossier-ink-2:      #4C5555; /* was #BECDD4 → --muted             */
	--ms-dossier-ink-3:      #4C5555; /* was #8CA2AB → --muted             */
	--ms-dossier-ink-4:      #6B7373; /* was #5F7782 → --faint             */
	--ms-dossier-hairline:   #E3E8E8; /* was rgba(102,252,241,.12) → --line */
	--ms-dossier-teal-wash:  #F7FAFA; /* was rgba(102,252,241,.06) → --surface */
	--ms-dossier-bg:         #FFFFFF; /* was #021019 → --bg                */
	--ms-dossier-bg-2:       #FFFFFF; /* was #031728 → --bg                */

	/* The reference documents have no amber: boundary callouts there use
	   --accent on --surface (.ms-boundary / .ms-callout). */
	--ms-amber:       #199A91;
	--ms-amber-wash:  #F7FAFA;

	/* Rust: reference .ms-fm__num uses --accent; the modality "from" state
	   column is de-emphasised prose, so it takes --faint. */
	--ms-rust:        #6B7373;
	--ms-teal-deep:   #2FB0A6; /* was #3FD9CF → Tier B start stop         */

	/* Page canvas — the Home Hero gradient, pinned to the viewport so it sits
	   behind the whole document at every scroll position rather than only
	   inside the hero. home-hero.css lines 527-537 does exactly this on
	   html/body for the homepage. */
	background-color: #CAFDF9;
	background-image: linear-gradient(179.5deg, #CAFDF9 22.283%, #FFFFFF 99.346%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	color: #4C5555;
}

/* The Customizer (custom-background-css) and the theme's mindscale-bg-advanced
   both target `body.custom-background`, painting the old dark artwork and
   forcing their own size/position. That beats the single-class token block
   above, so the page canvas gradient is restated here at matching specificity
   and every property they set is overridden explicitly. */
body.mscore-dossier-light.custom-background {
	background-color: #CAFDF9;
	background-image: linear-gradient(179.5deg, #CAFDF9 22.283%, #FFFFFF 99.346%);
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: auto;
}

/* The shared widget shell carries a second, private palette (--ym-*) in
   mscore-widgets.min.css and sets `color: var(--ym-white)` as the inherited
   base for everything inside a widget. Remap it too, or un-classed text keeps
   the dark-theme near-white. --ym-white plays the "ink" role there. */
body.mscore-dossier-light .mscore-widget-shell.ym {
	--ym-bg:          #FFFFFF;
	--ym-bg-deep:     #FFFFFF;
	--ym-teal:        #199A91;
	--ym-teal-line-2: #E3E8E8;
	--ym-muted:       #4C5555;
	--ym-muted-deep:  #6B7373;
	--ym-white:       #000000;
}

/* Theme fallback footer follows --ms-background-alt / --ms-text above;
   add the reference hairline so it separates from the white document. */
body.mscore-dossier-light .mindscale-default-footer {
	border-top: 1px solid #E3E8E8;
}


/* ─────────────────────────────────────────────────────────────────────────
   2. CLINICAL HERO
   Reference: .ms-hero / .ms-hero__badge / .ms-hero__sep / .ms-datum
   ───────────────────────────────────────────────────────────────────────── */

/* Background taken verbatim from the Home Hero widget
   (youmind-custom-toolkit/assets/css/blocks/home-hero.css lines 504-514,
   applied there to .ymct-home-hero / .home-web / .home-section-0 / .sc0):

     background-color: transparent;
     background-image: linear-gradient(179.5deg,#cafdf9 22.283%,#ffffff 99.346%);

   The gradient is anchored to the hero (see background-attachment below). */
body.mscore-dossier-light .mscore-widget-shell.mscore-clinical-hero-widget .mscore-clinical-hero {
	/* The gradient itself now lives on the page canvas (see the token block
	   at the top), so the hero only carries the decorative line pattern. */
	background-color: transparent;
	background-image: url("mscore-clinical-hero-pattern.svg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 1440px 707px;
	background-attachment: scroll;
}

/* On the .mindscale-page template the hero sits inside .mindscale-container,
   which insets it by --ms-gutter (32px, 20px below 782px) — leaving white
   margins either side of the new background. Negative margin plus equal
   padding takes the background edge to edge without moving the content.
   The Elementor-canvas pages are already full-bleed, so this is scoped. */
body.mscore-dossier-light .mindscale-page .mscore-widget-shell.mscore-clinical-hero-widget .mscore-clinical-hero {
	margin-left: calc(-1 * var(--ms-gutter, 32px));
	margin-right: calc(-1 * var(--ms-gutter, 32px));
	padding-left: var(--ms-gutter, 32px);
	padding-right: var(--ms-gutter, 32px);
}

/* The widget paints a decorative radial glow here. It read as a white smudge
   against the new background, and the area above the hero (behind the
   floating header) is now covered by the page canvas, so it is not needed. */
body.mscore-dossier-light .mscore-widget-shell.mscore-clinical-hero-widget .mscore-clinical-hero::before {
	display: none;
}

/* .ms-hero__badge — --btn gradient, #fff text, no border. */
body.mscore-dossier-light .mscore-widget-shell.mscore-clinical-hero-widget .mscore-clinical-hero__pill {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
	border-color: transparent;
}

/* .ms-hero__sep — accent dot (was --ms-dossier-ink-4). */
body.mscore-dossier-light .mscore-widget-shell.mscore-clinical-hero-widget .mscore-clinical-hero__meta-sep {
	background: #199A91;
}

/* (The decorative radial glow that used to live on .mscore-clinical-hero::before
   is now replaced by the gradient extension defined above.) */


/* ─────────────────────────────────────────────────────────────────────────
   3. TABLE OF CONTENTS
   Reference: .ms-toc / .ms-toc__list a / a.is-active
   ───────────────────────────────────────────────────────────────────────── */

/* Highlight block geometry — matches reference .ms-toc__list a so the accent
   rule and the wash cover the full row height (reference: no list gap, the
   row spacing comes from the link's own 11px vertical padding). */
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-panel ol {
	gap: 0;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-panel li a {
	padding: 11px 14px 11px 15px;
	margin-left: -18px;
	border-left-width: 3px !important;
	/* Rounded on all four corners so the accent rule has soft ends, matching
	   the boundary card. (Reference is 0 6px 6px 0 — square on the left.) */
	border-radius: 6px;
}

/* Reference .ms-toc__list a::before — accent numeral, dimmed until active. */
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-panel li a::before {
	opacity: .6;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-panel li a.active::before {
	opacity: 1;
}

/* Desktop rail: inactive links --muted, active --ink + accent rule +
   the reference's 90deg accent wash. */
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-panel li a.active {
	color: #000000 !important;
	background: var(--ms-doc-toc-active);
	border-left-color: #199A91 !important;
}

/* Mobile FAB — .ms-btn colouring (gradient + #fff). */
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-fab {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
	box-shadow: var(--ms-doc-shadow-sm);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-fab:hover,
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-fab:focus {
	box-shadow: 0 14px 36px rgba(8, 39, 37, .24);
}

/* Drawer scrim + drawer shadow (no reference equivalent → --accent-deep). */
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-overlay {
	background: var(--ms-doc-scrim);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-drawer {
	box-shadow: var(--ms-doc-shadow-lg);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-drawer li a.active,
body.mscore-dossier-light .mscore-widget-shell.mscore-toc-hospitality-widget .mscore-toc-drawer li a:hover {
	color: #000000;
	background: var(--ms-doc-toc-active);
	border-left-color: #199A91;
}


/* ─────────────────────────────────────────────────────────────────────────
   4. EXECUTIVE SUMMARY
   Reference: .ms-boundary (surface fill, --line border, accent left rule)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-exec-summary-hospitality-widget .boundary-card {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
	/* Reference .ms-boundary: border-radius 10px on all four corners, so the
	   accent rule is rounded top-left and bottom-left instead of square. */
	border-radius: 10px;
	border-left-width: 4px;
}

/* The warning glyph is a data-URI SVG with the amber stroke baked in —
   reissued with the reference accent (#199A91). */
body.mscore-dossier-light .mscore-widget-shell.mscore-exec-summary-hospitality-widget .boundary-card::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23199A91' stroke-width='2' stroke-linecap='round'%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}


/* ─────────────────────────────────────────────────────────────────────────
   5. EVIDENCE HIERARCHY
   Reference: .ms-tier (bg = --bg, border = --line), .ms-tier__letter
   gradients per tier, .ms-cdi__dot colours
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .legend-section {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card {
	background: #FFFFFF;
}

/* Strength bars carry the reference tier gradients. */
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-a .strength-bar { background: var(--ms-doc-btn); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-b .strength-bar { background: var(--ms-doc-tier-b); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-c .strength-bar { background: var(--ms-doc-tier-c); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-d .strength-bar { background: var(--ms-doc-tier-d); }

/* Tier letters mirror the same ramp (widget paints text, not a chip). */
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-a .mindscale_hospitality_tier_letter { color: var(--ms-doc-ramp-a); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-b .mindscale_hospitality_tier_letter { color: var(--ms-doc-ramp-b); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-c .mindscale_hospitality_tier_letter { color: var(--ms-doc-ramp-c); }
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .tier-card.tier-d .mindscale_hospitality_tier_letter { color: var(--ms-doc-ramp-d-deep); }

/* CDI dots. */
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .cdi-dots span {
	background: #C9D2D2;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .cdi-item.direct .cdi-dots span:nth-child(1) {
	background: var(--ms-doc-cdi-direct);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .cdi-item.moderate .cdi-dots span:nth-child(1),
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .cdi-item.moderate .cdi-dots span:nth-child(2) {
	background: var(--ms-doc-cdi-moderate);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-evidence-hierarchy-hospitality-widget .cdi-item.extended .cdi-dots span {
	background: var(--ms-doc-cdi-extended);
	opacity: 1;
}


/* ─────────────────────────────────────────────────────────────────────────
   6. ACOUSTIC NEUROMODULATION
   Reference: .ms-cit (bg --bg), .ms-cit__tier (--btn + #fff),
   .ms-cit__plaus (--surface), .ms-figure / .ms-figure__img (--bg)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation:hover {
	background: #F7FAFA;
	box-shadow: var(--ms-doc-shadow-md);
}

/* Tier badge — .ms-cit__tier. */
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation .cit-tier .badge,
body.mscore-dossier-light .mindscale_hospitality_an_cit_badge {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
	border-color: transparent;
}

/* Plausibility block — round the left corners so the accent rule has soft
   ends, matching the boundary card. (Reference .ms-cit__plaus has no left
   rule at all and is 8px all round; the widget's own 6px is kept.) */
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation .plausibility {
	border-radius: 6px;
}

/* Citation CTA — reference renders these as .ms-btn.ms-btn--sm: a filled
   gradient button with white text, not a bare accent text link.
   .ms-btn      → background var(--btn); color #FFFFFF; border 0
   .ms-btn--sm  → font-size 12px; padding 9px 14px; border-radius 6px;
                  mono family; text-align left; justify-content flex-start
   :hover       → filter brightness(1.08); transform translateY(-1px)      */
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation .cit-cta__link {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
	border: 0;
	padding: 9px 14px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: normal;
	justify-content: flex-start;
	text-align: left;
	transition: filter .18s ease, transform .18s ease;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .citation .cit-cta__link:hover {
	color: #FFFFFF;
	opacity: 1;
	filter: brightness(1.08);
	transform: translateY(-1px);
}

/* Figure block + image plate. */
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .fig-block {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-acoustic-neuromodulation-hospitality-widget .fig-block .fig-image {
	background: #FFFFFF;
}


/* ─────────────────────────────────────────────────────────────────────────
   7. OPERATIONAL EVIDENCE
   Reference: .ms-finding (--bg + --line), .ms-callout (--surface),
   .ms-figure (--bg), .ms-finding li::marker (--accent)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .obs-section {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .obs-finding {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .obs-readout {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .ms-fig-block {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .ms-fig-block .ms-fig-media {
	background: #FFFFFF;
}
/* Bullet glow: the reference marker is flat accent, no halo. */
body.mscore-dossier-light .mscore-widget-shell.mscore-operational-evidence-hospitality-widget .obs-finding ul li::before {
	box-shadow: none;
}


/* ─────────────────────────────────────────────────────────────────────────
   8. BOUNDARIES & FAILURE MODES
   Reference: .ms-layer (--bg + --line), .ms-layer__num ramp,
   .ms-fm__item (--surface + --line), .ms-fm__num (--accent)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget {
	--mscore-bfm-rust: #199A91;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer.l1 {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
	border-color: #C9D2D2;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer.l2 {
	background: linear-gradient(180deg, #EEF4F4, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer.l3 {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
	border-color: #E3E8E8;
}
/* Layer numbers follow the reference layer ramp (L1 accent → L3 tier D). */
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer.l2 .layer-num { color: var(--ms-doc-ramp-c); }
body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .layer.l3 .layer-num { color: var(--ms-doc-ramp-d-deep); }

body.mscore-dossier-light .mscore-widget-shell.mscore-boundaries-failure-modes-hospitality-widget .fm-item {
	background: #F7FAFA;
	border-color: #E3E8E8;
}


/* ─────────────────────────────────────────────────────────────────────────
   9. MINDSCALE MODALITY REPORT
   Reference: .ms-stat / .ms-stats, table.ms-table th (--surface),
   .ms-verbatim (--surface), .ms-callout (--surface)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .obs-section {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .mmr-stat-card,
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .obs-finding {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .mmr-context-block,
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .verbatim-card,
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .mmr-relevance {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .state-table th {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .state-table tr:hover td {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-modality-report-widget .obs-finding ul li::before {
	box-shadow: none;
}


/* ─────────────────────────────────────────────────────────────────────────
   10. PROCESS ARCHITECTURE
   Reference: .ms-layer ramp + .ms-figure (--bg)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-block {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-block .fig-image {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer {
	background: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer.l1 {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
	border-color: #C9D2D2;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer.l2 {
	background: linear-gradient(180deg, #EEF4F4, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer.l3 {
	background: linear-gradient(180deg, #F7FAFA, #FFFFFF);
	border-color: #E3E8E8;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer.l2 .layer-num { color: var(--ms-doc-ramp-c); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .layer.l3 .layer-num { color: var(--ms-doc-ramp-d-deep); }


/* ── 10b. Process Architecture inline SVG diagram ─────────────────────────
   The three-layer figure is an inline <svg> whose fills/strokes are
   presentation attributes, so CSS wins. Mapped onto the reference palette:
   L01 → --accent, L02 → tier C, L03 → tier D.
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg {
	background: #FFFFFF !important;
}

/* Layer panel gradient fills (defs order: l1Grad, l2Grad, l3Grad). */
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(1) stop:nth-of-type(1) { stop-color: rgba(25, 154, 145, .10); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(1) stop:nth-of-type(2) { stop-color: rgba(25, 154, 145, .03); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(2) stop:nth-of-type(1) { stop-color: rgba(111, 169, 164, .14); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(2) stop:nth-of-type(2) { stop-color: rgba(111, 169, 164, .04); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(3) stop:nth-of-type(1) { stop-color: rgba(159, 184, 182, .20); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg defs linearGradient:nth-of-type(3) stop:nth-of-type(2) { stop-color: rgba(159, 184, 182, .05); }

/* Text + solid fills. */
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="#66FCF1"] { fill: #199A91; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="#ECF7F9"] { fill: #000000; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="#8CA2AB"] { fill: #4C5555; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="#5F7782"] { fill: #6B7373; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="#E8B86D"] { fill: #4A5C5B; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="rgba(102,252,241,0.12)"] { fill: rgba(25, 154, 145, .10); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="rgba(102,252,241,0.5)"]  { fill: #199A91; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="rgba(5,43,63,0.6)"]      { fill: #F7FAFA; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="rgba(232,184,109,0.5)"]  { fill: #9FB8B6; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [fill="rgba(232,184,109,0.08)"] { fill: #EEF4F4; }

/* Strokes: panel outlines, hairlines and flow arrows. */
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.35)"] { stroke: rgba(25, 154, 145, .35); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.3)"]  { stroke: rgba(25, 154, 145, .30); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.4)"]  { stroke: rgba(25, 154, 145, .45); }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.2)"]  { stroke: #C9D2D2; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.15)"] { stroke: #E3E8E8; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(102,252,241,0.12)"] { stroke: #E3E8E8; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(232,184,109,0.4)"]  { stroke: #9FB8B6; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(232,184,109,0.3)"]  { stroke: #9FB8B6; }
body.mscore-dossier-light .mscore-widget-shell.mscore-process-architecture-widget .fig-image svg [stroke="rgba(232,184,109,0.15)"] { stroke: #E3E8E8; }


/* ─────────────────────────────────────────────────────────────────────────
   11. SCIENTIFIC TABLE
   Reference: table.ms-table th (--surface / --line-strong),
   .ms-grade (--btn + #fff), tier B/C gradients
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-scientific-table-widget .matrix-table th {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-scientific-table-widget .matrix-table tr:hover td {
	background: #F7FAFA;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-scientific-table-widget .matrix-table .badge-tier.a {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
	border-color: transparent;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-scientific-table-widget .matrix-table .badge-tier.b {
	background: var(--ms-doc-tier-b);
	color: #FFFFFF;
	border-color: transparent;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-scientific-table-widget .matrix-table .badge-tier.c {
	background: var(--ms-doc-tier-c);
	color: #FFFFFF;
	border-color: transparent;
}


/* ─────────────────────────────────────────────────────────────────────────
   12. CONCLUSION
   Reference: .ms-cta (--surface + --line), .ms-btn (--btn + #fff),
   .ms-btn--ghost (transparent, --accent-deep text, --line-strong border)
   ───────────────────────────────────────────────────────────────────────── */
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .conclusion {
	background: linear-gradient(135deg, #F7FAFA, #FFFFFF);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .conclusion::before {
	background: radial-gradient(circle, #F7FAFA, transparent 65%);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-primary,
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-primary:hover {
	background: var(--ms-doc-btn);
	color: #FFFFFF;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-primary:hover {
	box-shadow: var(--ms-doc-shadow-sm);
}
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-ghost {
	color: #082725;
	border-color: #C9D2D2;
}

/* Primary CTA icon — swapped for the supplied arrow and set in a white
   circle, mirroring the Home Hero button (home-hero.css .sc16: a 48px
   #FFFFFF circle at border-radius 100px, sitting in a pill padded
   8px 8px 8px 20px with a 12px gap).
   Scaled down here so the button keeps its existing 51px height and stays
   level with the ghost button beside it — 36/50 matches the Home Hero's
   48/64 circle-to-pill ratio. The widget's own chevron is drawn with
   stroke="currentColor", so clearing the stroke hides it without touching
   the markup. */
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-primary {
	padding: 7px 8px 7px 24px;
	gap: 12px;
}
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-primary svg {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	border-radius: 100px;
	background-color: #FFFFFF;
	background-image: url("mscore-btn-arrow.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 16px auto;
	stroke: transparent;
	fill: none;
}

/* Ghost CTA icon — the same supplied arrow as the primary button, but bare
   rather than plated, matching the Home Hero's second button (home-hero.css
   .sc25: a 27px icon in a pill with no circle behind it).
   This one uses the PNG rather than the JPEG: the button's surface is
   transparent, and a JPEG cannot carry an alpha channel, so the .jpg would
   show its white corners as a plate. mscore-btn-arrow.png is that same
   artwork with the white matted out to transparency.
   The arrow is drawn at 16px, the same size the primary button draws it at
   inside its 36px circle, so the two glyphs match. The 20px box just centres
   it and stays inside the button's existing 0.86rem line box, so the button
   height and the row's baseline are unchanged. The widget's own chevron is
   drawn with stroke="currentColor", so clearing the stroke hides it without
   touching the markup. */
body.mscore-dossier-light .mscore-widget-shell.mscore-conclusion-hospitality-widget .btn-ghost svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	background-image: url("mscore-btn-arrow.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 16px auto;
	stroke: transparent;
	fill: none;
}
