/*
 * MPPA v2 — production page styles.
 *
 * A direct port of the canonical prototype's design system. Every colour relationship,
 * type role, radius, rotation, grain treatment, breakpoint, reduced-motion rule, and
 * forced-colors rule is carried across; nothing has been flattened into generic cards.
 *
 * SCOPING
 * -------
 * Everything is namespaced `mppa-`, and page-level rules are scoped to
 * `body.mppa-v2-shell-view` or `.mppa-shell`. Nothing here reaches an unrelated
 * WordPress view. Twenty Twenty-Five emits its global styles through `:where()`, which
 * contributes no specificity, so ordinary class selectors below win without `!important`.
 *
 * PROGRESSIVE ENHANCEMENT
 * -----------------------
 * `html.mppa-js` is set by the deferred enhancement script after parsing. Rules that
 * collapse duplicated content, or that animate, are gated on it. Read the stylesheet as:
 * the default state is the complete, static, no-JavaScript page; `.mppa-js` rules are the
 * enhancement layer.
 *
 * CONTENTS
 *   01  Fonts
 *   02  Design tokens
 *   03  Page frame and grain
 *   04  Typography and shared blocks
 *   05  Reveal system
 *   06  Persistent interface
 *   07  Hero
 *   08  Buttons
 *   09  Stat chips
 *   10  Charts
 *   11  Comparison cards
 *   12  Switchers: mode toggle and B.R.I.E.F. pipe
 *   13  Timeline
 *   14  Proof of work
 *   15  Evidence dossiers and record collections
 *   16  Error block
 *   17  Dexter frames
 *   18  Limitations and services
 *   19  Retainer tiers
 *   20  Contact
 *   21  Footer
 *   22  Dialogs: shared chrome, diagnostics, lightbox
 *   23  No-JavaScript dialog flow fallback
 *   24  Focus, utilities
 *   25  Responsive
 *   26  Reduced motion
 *   27  Forced colors
 */

/* =========================================================================
 * 01  Fonts — self-hosted, no third-party request
 *
 * Two variable families, Latin and Latin Extended only, which together cover every
 * character the page sets in these faces: French, Spanish, and Czech diacritics, the
 * macron in "Ōtsu", curly quotes, en and em dashes. Japanese and the rarer CJK
 * characters fall through to the system stack by design, exactly as they do in the
 * canonical prototype, which is why the `lang` attributes on those records matter.
 *
 * Provenance, versions, and licences are recorded in the theme README and in
 * licenses/. `font-display: swap` keeps text visible during load; both Latin faces are
 * preloaded from inc/setup.php because both are used above the fold.
 * ====================================================================== */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/fraunces-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* =========================================================================
 * 02  Design tokens
 * ====================================================================== */

.mppa-shell {
	--mppa-ink: #0b0a0a;
	--mppa-ink-2: #141211;
	--mppa-paper: #f3eee4;
	--mppa-paper-2: #e5ddcf;
	--mppa-signal: #ff4d2e;
	--mppa-signal-ink: #bd321c;
	--mppa-acid: #c8ff4a;
	--mppa-ice: #6de9ff;
	--mppa-muted: #a59d92;
	--mppa-muted-ink: #6f675c;
	--mppa-line: rgba(243, 238, 228, 0.18);
	--mppa-line-ink: rgba(11, 10, 10, 0.16);
	--mppa-radius: 26px;
	--mppa-max: 1240px;
	--mppa-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
	--mppa-serif: "Fraunces", Georgia, serif;
	--mppa-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* Every dialog is rendered inside the shell. Promoting a modal <dialog> to the top
 * layer changes painting and stacking, not inheritance, so the tokens above reach the
 * dossiers and the diagnostics readout through the ordinary cascade. */

/* =========================================================================
 * 03  Page frame and grain
 * ====================================================================== */

/* Smooth in-page navigation for the availability chip and the diagnostics link.
 * :has() keeps it scoped to shell views; where it is unsupported, anchors simply jump. */
:root:has(.mppa-shell) {
	scroll-behavior: smooth;
}

body.mppa-v2-shell-view {
	margin: 0;
	overflow-x: hidden;
	color: #f3eee4;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	background:
		radial-gradient(circle at 12% 8%, rgba(255, 77, 46, 0.16), transparent 30rem),
		radial-gradient(circle at 92% 16%, rgba(109, 233, 255, 0.1), transparent 32rem),
		radial-gradient(circle at 60% 80%, rgba(200, 255, 74, 0.07), transparent 38rem),
		#0b0a0a;
}

/* Paper grain. Decorative, non-interactive, and above the sections but below the
 * persistent interface — modal dialogs sit in the top layer, above all of it. */
body.mppa-v2-shell-view::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 60;
	pointer-events: none;
	opacity: 0.11;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

/* The block declares align full, so Twenty Twenty-Five's root-padding alignment rules
 * pull the shell out to the viewport edges. These reset the block-gap margin the parent
 * would otherwise apply to a top-level template block. */
.mppa-shell {
	width: 100%;
	max-width: none;
	margin-block: 0;
}

.mppa-shell *,
.mppa-shell *::before,
.mppa-shell *::after {
	box-sizing: border-box;
}

.mppa-shell :where(a) {
	color: inherit;
}

.mppa-shell :where(button, input, textarea) {
	font: inherit;
	color: inherit;
}

/* The enhancement script uses the hidden attribute to collapse duplicated panels.
 * Layout declarations below must never out-compete it. */
.mppa-shell [hidden] {
	display: none !important;
}

.mppa-wrap {
	max-width: var(--mppa-max);
	margin: 0 auto;
	padding: 0 26px;
}

.mppa-section {
	position: relative;
	padding: 110px 0;
}

.mppa-section--flush-top {
	padding-top: 0;
}

.mppa-paper {
	color: var(--mppa-ink);
	background: var(--mppa-paper);
}

/* =========================================================================
 * 04  Typography and shared blocks
 * ====================================================================== */

.mppa-eyebrow {
	display: inline-block;
	margin-bottom: 26px;
	color: var(--mppa-acid);
	font: 800 11px/1 var(--mppa-mono);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	transform: rotate(-1.1deg);
	transform-origin: left;
}

.mppa-paper .mppa-eyebrow {
	color: var(--mppa-signal-ink);
}

.mppa-h2 {
	margin: 0 0 26px;
	font-family: var(--mppa-serif);
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.01em;
}

.mppa-lede {
	max-width: 62ch;
	color: rgba(243, 238, 228, 0.86);
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.65;
}

.mppa-paper .mppa-lede {
	color: rgba(11, 10, 10, 0.82);
}

.mppa-quote-rail {
	margin: 34px 0;
	padding: 6px 0 6px 28px;
	border-left: 4px solid var(--mppa-signal);
}

.mppa-quote-rail--spaced {
	margin-top: 44px;
}

.mppa-quote-rail--spaced-lg {
	margin-top: 52px;
}

.mppa-quote-rail p {
	max-width: 64ch;
	margin: 0 0 16px;
	font-size: clamp(16px, 1.6vw, 19px);
	line-height: 1.65;
}

.mppa-quote-rail strong {
	font-weight: 800;
}

.mppa-mono-note {
	color: var(--mppa-muted);
	font: 650 11px/1.6 var(--mppa-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.mppa-paper .mppa-mono-note {
	color: var(--mppa-muted-ink);
}

.mppa-note--spaced {
	margin: 26px 0 0;
}

.mppa-note--spaced-sm {
	margin: 24px 0 0;
}

.mppa-note--tight {
	margin: 0 0 22px;
}

.mppa-provenance-note {
	max-width: 82ch;
	margin: 22px 0 0;
	font-size: 11px;
	line-height: 1.65;
}

.mppa-paper .mppa-provenance-note {
	color: var(--mppa-muted-ink);
}

.mppa-verify-stamp {
	display: inline;
	color: var(--mppa-muted-ink);
	font: 650 10.5px/1.6 var(--mppa-mono);
	letter-spacing: 0.06em;
	text-transform: none;
}

.mppa-dark .mppa-verify-stamp {
	color: var(--mppa-muted);
}

/* Reserved for a later authorized phase that may hydrate these stamps from a local
 * verified-data source. Inert in this build. */
.mppa-verify-stamp--stale {
	color: var(--mppa-signal-ink);
}

.mppa-verify-stamp--withheld {
	color: var(--mppa-signal-ink);
	font-style: italic;
}

/* =========================================================================
 * 05  Reveal system
 *
 * Content is visible by default. The script adds `mppa-reveal-ready` to <html> only
 * after the observer is attached, so a script that fails to load, or an observer that
 * never fires, leaves everything on screen.
 * ====================================================================== */

.mppa-reveal {
	opacity: 1;
	transform: none;
}

.mppa-reveal-ready .mppa-reveal {
	opacity: 0;
	transform: translateY(26px);
}

.mppa-reveal-ready .mppa-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* =========================================================================
 * 06  Persistent interface
 *
 * The progress bar and the HUD report live state, so they only appear once scripting
 * can keep them truthful. The availability chip is an ordinary link and always shows.
 * ====================================================================== */

.mppa-progress,
.mppa-hud {
	display: none;
}

.mppa-js .mppa-progress {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	display: block;
	height: 4px;
	background: rgba(255, 255, 255, 0.08);
}

.mppa-progress__bar {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--mppa-signal), var(--mppa-acid), var(--mppa-ice));
	box-shadow: 0 0 24px rgba(200, 255, 74, 0.55);
}

.mppa-js .mppa-hud {
	position: fixed;
	bottom: 20px;
	left: 22px;
	z-index: 80;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: min(72vw, 520px);
	padding: 10px 14px;
	border: 1px solid var(--mppa-line);
	border-radius: 999px;
	background: rgba(11, 10, 10, 0.74);
	backdrop-filter: blur(18px);
	box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
	color: var(--mppa-paper);
	font: 650 11px/1.1 var(--mppa-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.mppa-js .mppa-hud.is-suppressed {
	opacity: 0;
	transform: translateY(10px);
}

.mppa-hud__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--mppa-acid);
	box-shadow: 0 0 15px var(--mppa-acid);
	animation: mppa-pulse 1.5s infinite;
}

@keyframes mppa-pulse {
	50% {
		opacity: 0.35;
		transform: scale(0.7);
	}
}

.mppa-unit-chip {
	position: fixed;
	top: 22px;
	right: 22px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 14px;
	border-radius: 999px;
	background: var(--mppa-acid);
	box-shadow: 0 0 34px rgba(200, 255, 74, 0.35);
	color: var(--mppa-ink);
	font: 800 11px/1 var(--mppa-mono);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.mppa-unit-chip::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mppa-ink);
}

.mppa-unit-chip:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 44px rgba(200, 255, 74, 0.55);
}

.mppa-unit-chip.is-gone {
	opacity: 0;
	transform: translateY(-10px);
	pointer-events: none;
}

.mppa-skip-link {
	position: absolute;
	top: 0;
	left: -9999px;
	z-index: 200;
	padding: 14px 22px;
	border: 0;
	border-radius: 0 0 14px 0;
	background: var(--mppa-acid);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
	color: var(--mppa-ink);
	font: 800 12px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}

.mppa-skip-link:focus {
	left: 0;
	outline: 2px solid var(--mppa-ink);
	outline-offset: -4px;
}

/* =========================================================================
 * 07  Hero
 * ====================================================================== */

.mppa-hero {
	display: flex;
	align-items: center;
	min-height: 100svh;
	padding: 140px 0 100px;
}

.mppa-hero__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 60px;
	align-items: end;
}

.mppa-kicker {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 22px;
	color: var(--mppa-acid);
	font: 800 12px/1 var(--mppa-mono);
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.mppa-kicker::before {
	content: "";
	width: 44px;
	height: 1px;
	background: var(--mppa-acid);
}

.mppa-hero__title {
	margin: 0;
	font-family: var(--mppa-serif);
	font-size: clamp(58px, 9.5vw, 148px);
	font-weight: 600;
	line-height: 0.92;
	letter-spacing: -0.015em;
}

.mppa-hero__title span {
	display: block;
}

.mppa-hero__version {
	display: block;
	margin-bottom: 18px;
	color: var(--mppa-acid);
	font: 800 clamp(30px, 4.4vw, 58px)/1 var(--mppa-mono);
	letter-spacing: 0.02em;
}

.mppa-hero__stroke {
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(243, 238, 228, 0.55);
}

.mppa-hero__copy .mppa-hero__lead {
	margin: 0 0 26px;
	font-size: clamp(18px, 1.9vw, 23px);
	font-weight: 500;
	line-height: 1.5;
}

.mppa-hero__copy strong {
	font-weight: 800;
}

.mppa-hero__note {
	margin: 0 0 28px;
}

.mppa-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* =========================================================================
 * 08  Buttons
 * ====================================================================== */

.mppa-btn {
	display: inline-block;
	padding: 15px 26px;
	border: 0;
	border-radius: 999px;
	appearance: none;
	font: 800 12px/1 var(--mppa-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mppa-btn:hover {
	transform: translateY(-2px);
}

.mppa-btn--primary {
	background: var(--mppa-paper);
	color: var(--mppa-ink);
}

.mppa-btn--ghost {
	border: 1px solid var(--mppa-line);
	background: transparent;
	color: var(--mppa-paper);
}

.mppa-btn--acid {
	background: var(--mppa-acid);
	color: var(--mppa-ink);
}

/* A control that cannot act does not offer an affordance that says it can. */
.mppa-btn[disabled],
.mppa-btn[aria-disabled="true"] {
	opacity: 0.62;
	cursor: not-allowed;
}

.mppa-btn[disabled]:hover,
.mppa-btn[aria-disabled="true"]:hover {
	transform: none;
}

/* =========================================================================
 * 09  Stat chips
 * ====================================================================== */

.mppa-chip-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 16px;
	margin: 44px 0 0;
}

.mppa-stat-chip {
	padding: 24px 22px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.4);
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-dark .mppa-stat-chip {
	border-color: var(--mppa-line);
	background: rgba(255, 255, 255, 0.03);
}

.mppa-stat-chip__big {
	font-family: var(--mppa-serif);
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.01em;
}

.mppa-stat-chip__big em {
	color: var(--mppa-signal);
	font-style: normal;
}

.mppa-paper .mppa-stat-chip__big em {
	color: var(--mppa-signal-ink);
}

.mppa-stat-chip p {
	margin: 10px 0 0;
	color: var(--mppa-muted-ink);
	font-size: 13.5px;
	line-height: 1.55;
}

.mppa-dark .mppa-stat-chip p {
	color: var(--mppa-muted);
}

/* =========================================================================
 * 10  Charts
 *
 * Full geometry is server-rendered. The draw, pop, grow, and sweep animations below
 * are enhancement only: without scripting, and under reduced motion, every line, bar,
 * dot, and label is already in its final position.
 * ====================================================================== */

.mppa-chart {
	min-width: 0;
	margin-top: 44px;
	padding: 30px 30px 24px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.45);
	box-shadow: 0 24px 70px rgba(11, 10, 10, 0.08);
	transform: rotate(var(--mppa-tilt, -0.4deg));
}

.mppa-dark .mppa-chart {
	border-color: var(--mppa-line);
	background: rgba(255, 255, 255, 0.03);
	box-shadow: none;
}

.mppa-chart__head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.mppa-chart__title {
	font: 800 12px/1.4 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-chart__title small {
	display: block;
	margin-top: 6px;
	color: var(--mppa-muted-ink);
	font-weight: 650;
	letter-spacing: 0.08em;
	text-transform: none;
}

.mppa-dark .mppa-chart__title small {
	color: var(--mppa-muted);
}

.mppa-chart__badge {
	height: fit-content;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--mppa-acid);
	color: var(--mppa-ink);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mppa-chart__svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Horizontal scrolling is the canonical narrow-viewport behaviour for these charts.
 * The wrapper is focusable so it can be panned from the keyboard, and the edge
 * gradients signal that there is more to see. */
.mppa-chart__scroll {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding: 2px 0 6px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
	background:
		linear-gradient(90deg, var(--mppa-scroll-bg) 34%, transparent) left / 48px 100%,
		linear-gradient(270deg, var(--mppa-scroll-bg) 34%, transparent) right / 48px 100%,
		linear-gradient(90deg, var(--mppa-scroll-shadow), transparent) left / 22px 100%,
		linear-gradient(270deg, var(--mppa-scroll-shadow), transparent) right / 22px 100%;
	background-repeat: no-repeat;
	background-attachment: local, local, scroll, scroll;
}

.mppa-paper .mppa-chart__scroll {
	--mppa-scroll-bg: #f4f0e7;
	--mppa-scroll-shadow: rgba(11, 10, 10, 0.16);
}

.mppa-dark .mppa-chart__scroll {
	--mppa-scroll-bg: #100f0e;
	--mppa-scroll-shadow: rgba(200, 255, 74, 0.14);
}

.mppa-chart__scroll::-webkit-scrollbar {
	height: 6px;
}

.mppa-chart__scroll::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(11, 10, 10, 0.22);
}

.mppa-dark .mppa-chart__scroll::-webkit-scrollbar-thumb {
	background: rgba(243, 238, 228, 0.22);
}

.mppa-chart__scroll:focus-visible {
	outline: 2px solid var(--mppa-signal);
	outline-offset: 4px;
}

.mppa-paper .mppa-chart__scroll:focus-visible {
	outline-color: var(--mppa-signal-ink);
}

.mppa-dark .mppa-chart__scroll:focus-visible {
	outline-color: var(--mppa-acid);
}

.mppa-chart__foot {
	margin: 16px 0 0;
	color: var(--mppa-muted-ink);
	font: 650 10.5px/1.7 var(--mppa-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.mppa-dark .mppa-chart__foot {
	color: var(--mppa-muted);
}

.mppa-axis-label {
	fill: var(--mppa-muted-ink);
	font: 650 10px var(--mppa-mono);
	letter-spacing: 0.06em;
}

.mppa-dark .mppa-axis-label {
	fill: var(--mppa-muted);
}

.mppa-data-label {
	fill: var(--mppa-ink);
	font: 800 11px var(--mppa-mono);
	letter-spacing: 0.04em;
}

.mppa-dark .mppa-data-label {
	fill: var(--mppa-paper);
}

.mppa-data-label--xl {
	font-size: 26px;
}

.mppa-chart-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
	align-items: stretch;
	min-width: 0;
	margin-top: 26px;
}

.mppa-chart-grid > * {
	min-width: 0;
}

.mppa-chart-grid .mppa-chart {
	margin-top: 0;
}

/* --- chart animation, enhancement only ------------------------------------ */

.mppa-curve-path {
	stroke-dasharray: 1400;
	stroke-dashoffset: 0;
}

.mppa-js .mppa-curve-path {
	stroke-dashoffset: 1400;
}

.mppa-js .is-in .mppa-curve-path {
	animation: mppa-draw 2.2s cubic-bezier(0.3, 0.6, 0.2, 1) forwards 0.2s;
}

@keyframes mppa-draw {
	to {
		stroke-dashoffset: 0;
	}
}

.mppa-curve-dot {
	opacity: 1;
}

.mppa-js .mppa-curve-dot {
	opacity: 0;
}

.mppa-js .is-in .mppa-curve-dot {
	animation: mppa-pop 0.4s ease forwards;
}

.mppa-js .is-in .mppa-curve-dot:nth-of-type(1) {
	animation-delay: 0.5s;
}

.mppa-js .is-in .mppa-curve-dot:nth-of-type(2) {
	animation-delay: 0.9s;
}

.mppa-js .is-in .mppa-curve-dot:nth-of-type(3) {
	animation-delay: 1.3s;
}

.mppa-js .is-in .mppa-curve-dot:nth-of-type(4) {
	animation-delay: 1.7s;
}

.mppa-js .is-in .mppa-curve-dot:nth-of-type(5) {
	animation-delay: 2.1s;
}

@keyframes mppa-pop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.mppa-grow-bar {
	transform: scaleX(1);
	transform-origin: left;
}

.mppa-js .mppa-grow-bar {
	transform: scaleX(0);
}

.mppa-js .is-in .mppa-grow-bar {
	animation: mppa-grow-x 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.mppa-js .is-in .mppa-grow-bar.mppa-d1 {
	animation-delay: 0.15s;
}

.mppa-js .is-in .mppa-grow-bar.mppa-d2 {
	animation-delay: 0.3s;
}

.mppa-js .is-in .mppa-grow-bar.mppa-d3 {
	animation-delay: 0.45s;
}

.mppa-js .is-in .mppa-grow-bar.mppa-d4 {
	animation-delay: 0.6s;
}

@keyframes mppa-grow-x {
	to {
		transform: scaleX(1);
	}
}

.mppa-grow-v {
	transform: scaleY(1);
	transform-origin: bottom;
}

.mppa-js .mppa-grow-v {
	transform: scaleY(0);
}

.mppa-js .is-in .mppa-grow-v {
	animation: mppa-grow-y 1s cubic-bezier(0.2, 0.7, 0.2, 1) forwards 0.2s;
}

.mppa-js .is-in .mppa-grow-v.mppa-d1 {
	animation-delay: 0.45s;
}

@keyframes mppa-grow-y {
	to {
		transform: scaleY(1);
	}
}

.mppa-pie-sweep {
	stroke-dasharray: 502 999;
}

.mppa-js .mppa-pie-sweep {
	stroke-dasharray: 0 999;
}

.mppa-js .is-in .mppa-pie-sweep {
	animation: mppa-sweep 1.6s cubic-bezier(0.3, 0.5, 0.2, 1) forwards 0.3s;
}

@keyframes mppa-sweep {
	to {
		stroke-dasharray: 502 999;
	}
}

/* =========================================================================
 * 11  Comparison cards
 * ====================================================================== */

.mppa-compare-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 18px;
	margin-top: 44px;
}

.mppa-compare-card {
	padding: 28px 26px;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.03);
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-compare-card__tag {
	display: block;
	margin-bottom: 18px;
	color: var(--mppa-signal);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mppa-paper .mppa-compare-card__tag {
	color: var(--mppa-signal-ink);
}

.mppa-vs {
	display: grid;
	gap: 12px;
	font-size: 14.5px;
	line-height: 1.55;
}

.mppa-vs b {
	display: block;
	color: var(--mppa-acid);
	font: 800 10.5px/1.9 var(--mppa-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mppa-vs__them b {
	color: var(--mppa-muted);
}

/* =========================================================================
 * 12  Switchers: mode toggle and B.R.I.E.F. pipe
 *
 * Every panel is server-rendered. With scripting, the control row becomes a real
 * tablist and one panel shows at a time. Without it, all panels stack and the controls
 * present themselves as inert rather than pretending to work.
 * ====================================================================== */

.mppa-switcher__panels {
	display: grid;
	gap: 18px;
}

.mppa-js .mppa-switcher__panels {
	display: block;
}

/* Inert affordances when the controls cannot act. Legibility is untouched: no copy is
 * dimmed or hidden, only the hover and pointer cues that promise interaction. */
html:not(.mppa-js) .mppa-mode-toggle__button,
html:not(.mppa-js) .mppa-brief-node,
html:not(.mppa-js) .mppa-tier,
html:not(.mppa-js) .mppa-proof-card--open {
	cursor: default;
}

html:not(.mppa-js) .mppa-mode-toggle__button:hover,
html:not(.mppa-js) .mppa-brief-node:hover .mppa-brief-node__cell,
html:not(.mppa-js) .mppa-tier:hover,
html:not(.mppa-js) .mppa-proof-card--open:hover {
	transform: none;
	box-shadow: none;
}

.mppa-mode-toggle {
	display: inline-flex;
	gap: 5px;
	margin: 34px 0 24px;
	padding: 5px;
	border: 1px solid var(--mppa-line);
	border-radius: 999px;
}

.mppa-mode-toggle__button {
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	appearance: none;
	background: transparent;
	color: var(--mppa-muted);
	font: 800 11px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
}

/* The pill highlight marks the visible panel, which is only meaningful once one panel
 * at a time is shown. */
.mppa-js .mppa-mode-toggle__button.is-on {
	background: var(--mppa-acid);
	color: var(--mppa-ink);
}

.mppa-mode-panel {
	min-height: 150px;
	padding: 34px;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.03);
}

.mppa-panel__status {
	margin: 0 0 14px;
	color: var(--mppa-signal);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mppa-mode-panel .mppa-panel__title {
	margin: 0 0 14px;
	font-family: var(--mppa-serif);
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 600;
	line-height: 1.15;
}

.mppa-mode-panel .mppa-panel__body {
	max-width: 62ch;
	margin: 0;
	color: var(--mppa-muted);
	line-height: 1.65;
}

/* --- B.R.I.E.F. pipeline -------------------------------------------------- */

.mppa-brief-pipe {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin: 52px 0 30px;
}

.mppa-brief-pipe::before {
	content: "";
	position: absolute;
	top: 37px;
	right: 8%;
	left: 8%;
	height: 1px;
	background: var(--mppa-line-ink);
}

.mppa-brief-node {
	position: relative;
	padding: 0 8px;
	border: 0;
	background: transparent;
	text-align: center;
	cursor: pointer;
}

.mppa-brief-node__cell {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	margin: 0 auto;
	border: 1.5px solid var(--mppa-ink);
	border-radius: 50%;
	background: var(--mppa-paper);
	font-family: var(--mppa-serif);
	font-size: 30px;
	font-weight: 700;
	transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.mppa-brief-node:hover .mppa-brief-node__cell {
	transform: translateY(-4px) rotate(-3deg);
}

.mppa-js .mppa-brief-node.is-on .mppa-brief-node__cell {
	background: var(--mppa-ink);
	color: var(--mppa-acid);
	transform: translateY(-4px);
}

.mppa-brief-node__en {
	display: block;
	margin-top: 14px;
	font: 800 11px/1 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-brief-node__fr {
	display: block;
	margin-top: 7px;
	color: var(--mppa-muted-ink);
	font: 650 10px/1 var(--mppa-mono);
	font-style: italic;
	letter-spacing: 0.1em;
	text-transform: none;
}

.mppa-brief-panel {
	padding: 34px;
	border: 1.5px solid var(--mppa-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.5);
	transform: rotate(-0.35deg);
}

.mppa-brief-panel .mppa-panel__title {
	margin: 0 0 12px;
	font-family: var(--mppa-serif);
	font-size: clamp(22px, 2.6vw, 30px);
	font-weight: 600;
}

.mppa-brief-panel .mppa-panel__body {
	max-width: 66ch;
	margin: 0;
	color: rgba(11, 10, 10, 0.8);
	line-height: 1.65;
}

.mppa-firmware-tag {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 24px;
	padding: 9px 15px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: 999px;
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-firmware-tag::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mppa-signal);
	animation: mppa-pulse 1.5s infinite;
}

/* =========================================================================
 * 13  Timeline
 * ====================================================================== */

.mppa-timeline {
	display: flex;
	gap: 18px;
	padding: 44px 4px 22px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	touch-action: pan-x pan-y;
	-webkit-overflow-scrolling: touch;
	user-select: none;
	cursor: grab;
}

.mppa-timeline.is-dragging {
	scroll-snap-type: none;
	cursor: grabbing;
}

.mppa-timeline::-webkit-scrollbar {
	height: 6px;
}

.mppa-timeline::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(243, 238, 228, 0.2);
}

.mppa-era {
	flex: 0 0 300px;
	padding: 26px;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.03);
	scroll-snap-align: start;
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-era__tag {
	color: var(--mppa-ice);
	font: 800 10px/1.5 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-era__title {
	margin: 14px 0 12px;
	font-family: var(--mppa-serif);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.15;
}

.mppa-era p {
	margin: 0;
	color: var(--mppa-muted);
	font-size: 14px;
	line-height: 1.6;
}

/* =========================================================================
 * 14  Proof of work
 *
 * Four static records and the two approved evidence openers. The openers are buttons,
 * so their inner text uses spans; the shared rules below cover both shapes.
 * ====================================================================== */

.mppa-proof-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin-top: 44px;
}

.mppa-proof-card {
	padding: 28px 26px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.45);
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-proof-card__metric {
	display: block;
	color: var(--mppa-signal-ink);
	font-family: var(--mppa-serif);
	font-size: clamp(36px, 4vw, 52px);
	font-weight: 700;
	line-height: 1;
}

.mppa-proof-card__unit {
	font-size: 0.45em;
}

.mppa-proof-card h3,
.mppa-proof-card__heading {
	display: block;
	margin: 14px 0 10px;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.35;
}

.mppa-proof-card p,
.mppa-proof-card__body {
	display: block;
	margin: 0;
	color: var(--mppa-muted-ink);
	font-size: 13.5px;
	line-height: 1.6;
}

.mppa-proof-card--open {
	position: relative;
	width: 100%;
	appearance: none;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* The approved hover lift: the card straightens and rises. */
.mppa-proof-card--open:hover {
	transform: rotate(0deg) translateY(-5px);
	box-shadow: 0 24px 60px rgba(11, 10, 10, 0.16);
}

.mppa-proof-card__affordance {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: var(--mppa-signal-ink);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-proof-card__affordance::after {
	content: "\2197";
	transition: transform 0.25s ease;
}

.mppa-proof-card--open:hover .mppa-proof-card__affordance::after {
	transform: translate(3px, -3px);
}

/* =========================================================================
 * 15  Evidence dossiers and record collections
 * ====================================================================== */

.mppa-ev {
	width: min(94vw, 1100px);
	height: min(92vh, 1000px);
	max-width: none;
	max-height: none;
	padding: 0;
	border: 0;
	background: transparent;
}

.mppa-ev__chrome {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--mppa-line);
	border-radius: 26px;
	background: var(--mppa-ink);
	box-shadow: 0 60px 160px rgba(0, 0, 0, 0.5);
	color: var(--mppa-paper);
}

.mppa-ev[open] .mppa-ev__chrome {
	animation: mppa-ev-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@keyframes mppa-ev-in {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.mppa-ev__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: 30px 34px 24px;
	border-bottom: 1px solid var(--mppa-line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
}

.mppa-ev__kicker {
	margin: 0 0 10px;
	color: var(--mppa-acid);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	transform: rotate(-1.1deg);
	transform-origin: left;
}

.mppa-ev__title {
	margin: 0;
	color: var(--mppa-paper);
	font-family: var(--mppa-serif);
	font-size: clamp(22px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.08;
}

.mppa-ev__scroll {
	flex: 1;
	padding: 34px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(243, 238, 228, 0.25) transparent;
}

.mppa-ev__scroll::-webkit-scrollbar {
	width: 8px;
}

.mppa-ev__scroll::-webkit-scrollbar-thumb {
	border-radius: 99px;
	background: rgba(243, 238, 228, 0.2);
}

/* Record numbering is a CSS counter over document order, reset once per dossier so it
 * is deterministic: 01-49 for credentials, 01-99 for sites, however the multi-column
 * layout reflows. */
.mppa-ev--credentials .mppa-ev__scroll {
	counter-reset: mppa-credential;
}

.mppa-ev--cultural {
	--mppa-fold-alt: var(--mppa-ice);
}

.mppa-ev--cultural .mppa-ev__scroll {
	counter-reset: mppa-site;
}

.mppa-record-dashboard {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 0 38px;
	overflow: hidden;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.035);
	backdrop-filter: blur(10px);
}

.mppa-record-stat {
	min-width: 0;
	padding: 24px 28px;
	border-right: 1px solid var(--mppa-line);
}

.mppa-record-stat:last-child {
	border-right: 0;
}

/*
 * The canonical stylesheet defines its accent variable on the cultural dossier only, so
 * in the credential dossier these declarations fall back to the inherited paper colour
 * and to a transparent rule. That asymmetry is reproduced here deliberately, with the
 * fallbacks written out rather than left to invalid-at-computed-value-time behaviour.
 * Flagged as a possible source oversight in docs/PHASE-3-BUILD-LOG.md; not "fixed" here.
 */
.mppa-record-stat strong {
	display: block;
	color: var(--mppa-fold-alt, var(--mppa-paper));
	font-family: var(--mppa-serif);
	font-size: clamp(34px, 4vw, 54px);
	font-weight: 700;
	line-height: 0.9;
	letter-spacing: -0.025em;
}

.mppa-record-stat:nth-child(2) strong {
	color: var(--mppa-ice);
}

.mppa-record-stat:nth-child(3) strong {
	color: var(--mppa-signal);
}

.mppa-record-stat span {
	display: block;
	margin-top: 11px;
	color: var(--mppa-muted);
	font: 800 9.5px/1.35 var(--mppa-mono);
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.mppa-record-block {
	margin-top: 68px;
}

.mppa-record-block:first-of-type {
	margin-top: 0;
}

.mppa-record-block__head {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	min-height: 82px;
	margin-bottom: 22px;
	padding: 0 0 16px 74px;
	border-bottom: 2px solid rgba(243, 238, 228, 0.58);
}

.mppa-record-block__head::before {
	content: attr(data-mppa-index) " / " attr(data-mppa-total);
	position: absolute;
	bottom: 18px;
	left: 0;
	color: var(--mppa-fold-alt, var(--mppa-paper));
	font: 800 9px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
}

.mppa-record-block__head::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 54px;
	height: 2px;
	background: var(--mppa-fold-alt, transparent);
}

.mppa-record-block__head h4 {
	margin: 0;
	color: var(--mppa-paper);
	font-family: var(--mppa-serif);
	font-size: clamp(38px, 5vw, 66px);
	font-weight: 600;
	line-height: 0.86;
	letter-spacing: -0.035em;
}

.mppa-record-block__head > span {
	flex: none;
	padding: 8px 11px;
	border: 1px solid var(--mppa-line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--mppa-muted);
	font: 800 9px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
}

.mppa-record-grid {
	display: block;
	columns: 3 280px;
	column-gap: 18px;
}

.mppa-record-group {
	position: relative;
	margin: 0 0 18px;
	padding: 19px 19px 8px;
	overflow: hidden;
	border: 1px solid var(--mppa-line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.035);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
	break-inside: avoid;
}

.mppa-record-group::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 4px;
	background: var(--mppa-fold-alt, transparent);
}

.mppa-record-group h5 {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	margin: 0;
	padding: 0 0 14px 4px;
	color: var(--mppa-fold-alt, var(--mppa-paper));
	font: 800 10px/1.45 var(--mppa-mono);
	letter-spacing: 0.115em;
	text-transform: uppercase;
}

.mppa-record-group__count {
	flex: none;
	display: grid;
	place-items: center;
	min-width: 25px;
	height: 25px;
	border: 1px solid currentColor;
	border-radius: 50%;
	font: 800 9px/1 var(--mppa-mono);
	letter-spacing: 0;
}

.mppa-record-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mppa-record-list li {
	position: relative;
	margin: 0;
	padding: 12px 0 12px 36px;
	border-top: 1px solid rgba(243, 238, 228, 0.11);
	color: rgba(243, 238, 228, 0.88);
	font-size: 13px;
	line-height: 1.48;
}

.mppa-record-list li::before {
	position: absolute;
	top: 14px;
	left: 0;
	color: var(--mppa-signal);
	font: 800 9px/1 var(--mppa-mono);
	letter-spacing: 0.06em;
}

.mppa-ev--credentials .mppa-record-list li::before {
	counter-increment: mppa-credential;
	content: counter(mppa-credential, decimal-leading-zero);
}

.mppa-ev--cultural .mppa-record-list li::before {
	counter-increment: mppa-site;
	content: counter(mppa-site, decimal-leading-zero);
	color: var(--mppa-ice);
}

.mppa-record__title {
	display: block;
	color: var(--mppa-paper);
	font-weight: 700;
}

.mppa-record__meta {
	display: block;
	margin-top: 5px;
	color: var(--mppa-muted);
	font: 650 9px/1.5 var(--mppa-mono);
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.mppa-record__translation {
	display: block;
	margin-top: 4px;
	color: var(--mppa-muted);
	font-size: 12px;
	line-height: 1.45;
}

.mppa-record-external {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin: 58px 0 0;
	padding: 22px 24px;
	border: 1.5px solid var(--mppa-acid);
	border-radius: 18px;
	background: var(--mppa-acid);
	color: var(--mppa-ink);
	font: 800 10.5px/1.45 var(--mppa-mono);
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.mppa-record-external::before {
	content: attr(data-mppa-badge);
	flex: none;
	font-size: 8.5px;
	letter-spacing: 0.14em;
	opacity: 0.62;
}

.mppa-record-external a {
	text-decoration: none;
}

.mppa-record-external a::after {
	content: "\2197";
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-left: 10px;
	border: 1.5px solid var(--mppa-ink);
	border-radius: 50%;
	font-size: 15px;
	vertical-align: middle;
}

.mppa-record-external a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.mppa-record-tail {
	margin: 52px 0 0;
	padding: 18px 22px;
	border-left: 5px solid var(--mppa-signal);
	background: rgba(255, 77, 46, 0.08);
	color: var(--mppa-muted);
	font: 650 10.5px/1.6 var(--mppa-mono);
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

/* =========================================================================
 * 16  Error block
 * ====================================================================== */

.mppa-error-block {
	margin: 40px 0;
	padding: 34px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 77, 46, 0.07);
	color: var(--mppa-signal);
	font: 650 clamp(13px, 1.6vw, 17px)/1.8 var(--mppa-mono);
	letter-spacing: 0.04em;
	transform: rotate(0.4deg);
}

.mppa-error-block__line {
	margin: 0;
}

.mppa-error-block__line + .mppa-error-block__line {
	margin-top: 1.8em;
}

.mppa-error-block b {
	color: var(--mppa-ink);
}

/* =========================================================================
 * 17  Dexter frames
 *
 * The aperture reserves a square, so installing real photography later shifts nothing.
 * ====================================================================== */

.mppa-dexter-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px;
	margin-top: 48px;
}

.mppa-dexter-frame {
	position: relative;
	margin: 0;
	padding: 12px 12px 44px;
	border: 1.5px solid var(--mppa-ink);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 18px 50px rgba(11, 10, 10, 0.14);
	transform: rotate(var(--mppa-tilt, 0deg));
	transition: transform 0.25s ease;
	cursor: default;
}

.mppa-dexter-frame.has-image {
	cursor: pointer;
}

.mppa-dexter-frame.has-image:hover {
	transform: rotate(0deg) translateY(-5px);
}

.mppa-dexter-frame__aperture,
.mppa-dexter-frame img {
	aspect-ratio: 1 / 1;
	border-radius: 10px;
}

.mppa-dexter-frame__aperture {
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1.5px dashed rgba(11, 10, 10, 0.28);
	background: var(--mppa-paper-2);
}

.mppa-dexter-frame img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mppa-dexter-frame__slot {
	padding: 14px;
	color: var(--mppa-muted-ink);
	font: 800 10px/1.7 var(--mppa-mono);
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

.mppa-dexter-frame figcaption {
	position: absolute;
	right: 14px;
	bottom: 12px;
	left: 14px;
	color: var(--mppa-ink);
	font: 800 10px/1.4 var(--mppa-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* =========================================================================
 * 18  Limitations and services
 * ====================================================================== */

.mppa-limit-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin-top: 44px;
}

.mppa-limit-card {
	padding: 30px 26px;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.03);
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-limit-card h3 {
	margin: 0 0 12px;
	font-family: var(--mppa-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
}

.mppa-limit-card p {
	margin: 0;
	color: var(--mppa-muted);
	font-size: 14px;
	line-height: 1.6;
}

.mppa-svc-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 18px;
	margin-top: 44px;
}

.mppa-svc-card {
	padding: 28px 26px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.45);
	transform: rotate(var(--mppa-tilt, 0deg));
}

.mppa-svc-card h3 {
	margin: 0 0 12px;
	font-family: var(--mppa-serif);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.15;
}

.mppa-svc-card p {
	margin: 0;
	color: var(--mppa-muted-ink);
	font-size: 14px;
	line-height: 1.65;
}

/* =========================================================================
 * 19  Retainer tiers
 *
 * Each tier carries its own description. Without scripting those descriptions are
 * visible and the shared recommendation region is hidden; with scripting the reverse,
 * so the same sentence never appears twice at once.
 * ====================================================================== */

.mppa-tier-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 16px;
	margin: 44px 0 22px;
}

.mppa-tier {
	padding: 26px 22px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: var(--mppa-radius);
	appearance: none;
	background: rgba(255, 255, 255, 0.4);
	text-align: left;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease;
}

.mppa-tier:hover {
	transform: translateY(-3px);
}

.mppa-js .mppa-tier.is-selected {
	border: 1.5px solid var(--mppa-ink);
	background: var(--mppa-ink);
	color: var(--mppa-paper);
}

.mppa-tier__duration {
	display: block;
	color: var(--mppa-signal-ink);
	font: 800 12px/1 var(--mppa-mono);
	letter-spacing: 0.12em;
}

.mppa-tier__name {
	display: block;
	margin: 12px 0 8px;
	font-family: var(--mppa-serif);
	font-size: 26px;
	font-weight: 600;
}

.mppa-tier__summary {
	display: block;
	margin: 0;
	color: var(--mppa-muted-ink);
	font-size: 13.5px;
	line-height: 1.5;
}

.mppa-js .mppa-tier.is-selected .mppa-tier__summary,
.mppa-js .mppa-tier.is-selected .mppa-tier__detail {
	color: rgba(243, 238, 228, 0.75);
}

.mppa-tier__billing {
	display: inline-block;
	margin-top: 14px;
	padding: 6px 11px;
	border: 1px solid var(--mppa-line-ink);
	border-radius: 999px;
	color: var(--mppa-signal-ink);
	font: 800 9px/1 var(--mppa-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-js .mppa-tier.is-selected .mppa-tier__billing {
	border-color: var(--mppa-line);
	color: var(--mppa-acid);
}

.mppa-tier__detail {
	display: block;
	margin-top: 14px;
	color: var(--mppa-muted-ink);
	font-size: 13px;
	line-height: 1.55;
}

.mppa-tiers-ready .mppa-tier__detail {
	display: none;
}

.mppa-recommendation {
	display: none;
	padding: 8px 0 8px 24px;
	border-left: 4px solid var(--mppa-signal-ink);
	color: rgba(11, 10, 10, 0.75);
	font: 650 12.5px/1.7 var(--mppa-mono);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.mppa-tiers-ready .mppa-recommendation {
	display: block;
}

/* =========================================================================
 * 20  Contact
 * ====================================================================== */

.mppa-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 52px;
	align-items: start;
}

.mppa-contact-card {
	padding: 34px;
	border: 1px solid var(--mppa-line);
	border-radius: var(--mppa-radius);
	background: rgba(255, 255, 255, 0.03);
}

.mppa-contact-card label {
	display: block;
	margin: 0 0 10px;
	color: var(--mppa-acid);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.mppa-contact-card input,
.mppa-contact-card textarea {
	width: 100%;
	margin-bottom: 22px;
	padding: 15px 16px;
	border: 1px solid var(--mppa-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.05);
	color: var(--mppa-paper);
	resize: vertical;
}

.mppa-contact-card textarea {
	min-height: 130px;
}

.mppa-contact-card input:focus,
.mppa-contact-card textarea:focus {
	outline: 2px solid var(--mppa-acid);
	outline-offset: 1px;
}

.mppa-contact-status {
	margin: 20px 0 0;
	color: var(--mppa-acid);
}

/* =========================================================================
 * 21  Footer
 * ====================================================================== */

.mppa-footer {
	padding: 80px 0 120px;
	border-top: 1px solid var(--mppa-line);
}

.mppa-footer__disclaimer {
	margin: 0 0 26px;
}

.mppa-sources {
	max-width: 88ch;
	color: var(--mppa-muted);
	font: 650 11px/2 var(--mppa-mono);
	letter-spacing: 0.04em;
}

.mppa-sources b {
	display: block;
	margin-bottom: 12px;
	color: var(--mppa-acid);
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.mppa-foot-brand {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	margin-top: 52px;
	color: var(--mppa-muted);
	font: 650 10.5px/1.6 var(--mppa-mono);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mppa-foot-brand a {
	text-decoration: none;
}

.mppa-foot-brand a:hover {
	color: var(--mppa-paper);
}

/* =========================================================================
 * 22  Dialogs: shared chrome, diagnostics, lightbox
 * ====================================================================== */

.mppa-dialog::backdrop {
	background: rgba(11, 10, 10, 0.82);
	backdrop-filter: blur(10px);
}

.mppa-dialog__close {
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--mppa-acid);
	color: var(--mppa-ink);
	font: 800 20px/1 var(--mppa-sans);
	cursor: pointer;
	transition: transform 0.2s ease;
}

.mppa-ev__close:hover {
	transform: rotate(90deg);
}

.mppa-diag {
	width: min(92vw, 680px);
	padding: 0;
	border: 0;
	background: transparent;
}

.mppa-diag::backdrop {
	background: rgba(11, 10, 10, 0.85);
}

.mppa-diag__chrome {
	overflow: hidden;
	border: 1px solid var(--mppa-line);
	border-radius: 26px;
	background: var(--mppa-ink);
	box-shadow: 0 60px 160px rgba(0, 0, 0, 0.55);
	color: var(--mppa-paper);
}

.mppa-diag__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 24px;
	border-bottom: 1px solid var(--mppa-line);
}

.mppa-diag__kicker {
	margin: 0;
	color: var(--mppa-acid);
	font: 800 10px/1 var(--mppa-mono);
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.mppa-diag__log {
	min-height: 300px;
	margin: 0;
	padding: 26px 26px 8px;
	color: var(--mppa-paper);
	font: 650 12.5px/2 var(--mppa-mono);
	letter-spacing: 0.03em;
	white-space: pre-wrap;
}

.mppa-diag__line {
	display: block;
}

.mppa-diag__line--spacer::before {
	content: "\00a0";
}

.mppa-diag__ok {
	color: var(--mppa-acid);
}

.mppa-diag__warn {
	color: var(--mppa-signal);
}

/*
 * Boot-sequence reveal. Opacity is used rather than the hidden attribute so the log
 * never changes height mid-sequence and the whole readout stays in the accessibility
 * tree from the moment the dialog opens. Only while the script is actually running the
 * sequence are lines transparent; every other state shows the full log.
 */
.mppa-js .mppa-diag[data-mppa-diag="running"] .mppa-diag__line {
	opacity: 0;
	transition: opacity 0.18s ease;
}

.mppa-js .mppa-diag[data-mppa-diag="running"] .mppa-diag__line.is-shown {
	opacity: 1;
}

/* Terminal cursor, only meaningful while a live sequence can run. */
.mppa-js .mppa-diag__log::after {
	content: "\2588";
	color: var(--mppa-acid);
	animation: mppa-blink 1s steps(1) infinite;
}

@keyframes mppa-blink {
	50% {
		opacity: 0;
	}
}

.mppa-diag__proceed {
	display: inline-block;
	margin: 12px 26px 26px;
	background: var(--mppa-acid);
	color: var(--mppa-ink);
}

.mppa-lightbox {
	max-width: min(92vw, 820px);
	max-height: 92vh;
	padding: 0;
	overflow: auto;
	border: 0;
	border-radius: 20px;
	background: var(--mppa-ink);
	color: var(--mppa-paper);
}

.mppa-lightbox::backdrop {
	backdrop-filter: blur(6px);
}

.mppa-lightbox__image {
	display: block;
	width: 100%;
	max-height: 82vh;
	object-fit: contain;
	border-radius: 20px 20px 0 0;
}

.mppa-lightbox__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 40px;
	height: 40px;
}

.mppa-lightbox__caption {
	margin: 0;
	padding: 14px 18px 18px;
	color: var(--mppa-muted);
	font: 650 11px/1.5 var(--mppa-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* =========================================================================
 * 23  No-JavaScript dialog flow fallback
 *
 * A closed <dialog> is display:none, which would hide the diagnostics readout and both
 * evidence dossiers from a visitor without scripting. These rules take the three
 * dialogs that carry approved copy out of dialog presentation and render them as
 * ordinary panels in the reading order, using the one existing copy of the markup.
 * The lightbox is deliberately excluded: it holds no copy.
 *
 * With scripting, none of this applies and the approved interaction is unchanged: two
 * proof cards opening modal dossiers through showModal().
 *
 * `mppa-no-dialog` covers the opposite corner: scripting runs — so the no-JavaScript
 * rules would not apply — but the engine has no showModal(). The script sets that class
 * so these same rules take over and the records never become unreachable.
 * ====================================================================== */

html:not(.mppa-js) .mppa-dialog--flow,
html.mppa-no-dialog .mppa-dialog--flow {
	display: block;
	position: static;
	inset: auto;
	width: auto;
	height: auto;
	max-width: var(--mppa-max);
	max-height: none;
	margin: 0 auto;
	padding: 40px 26px 0;
	border: 0;
	background: transparent;
	color: var(--mppa-paper);
}

html:not(.mppa-js) .mppa-ev__chrome,
html:not(.mppa-js) .mppa-diag__chrome,
html.mppa-no-dialog .mppa-ev__chrome,
html.mppa-no-dialog .mppa-diag__chrome {
	height: auto;
}

html:not(.mppa-js) .mppa-ev__scroll,
html.mppa-no-dialog .mppa-ev__scroll {
	flex: none;
	overflow: visible;
}

/* Close controls cannot close a panel that was never opened. */
html:not(.mppa-js) .mppa-dialog__close,
html.mppa-no-dialog .mppa-dialog__close {
	display: none;
}

/* The dossier openers stay aria-disabled in this state, so they must not offer a
 * hover affordance either. */
html.mppa-no-dialog .mppa-proof-card--open,
html.mppa-no-dialog [data-mppa-dialog-open] {
	cursor: default;
}

html.mppa-no-dialog .mppa-proof-card--open:hover,
html.mppa-no-dialog [data-mppa-dialog-open]:hover {
	transform: none;
	box-shadow: none;
}

/* Nothing opens the lightbox in this state, so it must not print in the flow. */
html.mppa-no-dialog .mppa-lightbox {
	display: none;
}

/* =========================================================================
 * 24  Focus, utilities
 * ====================================================================== */

.mppa-shell :focus-visible,
.mppa-skip-link:focus-visible {
	outline: 2px solid var(--mppa-acid);
	outline-offset: 2px;
}

.mppa-paper :focus-visible {
	outline-color: var(--mppa-signal-ink);
}

.mppa-sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

/* =========================================================================
 * 25  Partial-failure safeguards
 *
 * These rules live in the primary stylesheet. A missing secondary asset can never
 * strand approved content in a hidden enhanced state.
 * ====================================================================== */

/* Tier details remain complete unless the radio-group controller is ready. */
html.mppa-js:not(.mppa-tiers-ready) .mppa-tier__detail {
	display: block;
}

html.mppa-js:not(.mppa-tiers-ready) .mppa-recommendation {
	display: none;
}

/* Static chart geometry remains visible if the reveal observer never became ready. */
html.mppa-js:not(.mppa-reveal-ready) .mppa-curve-path {
	stroke-dashoffset: 0;
}

html.mppa-js:not(.mppa-reveal-ready) .mppa-curve-dot {
	opacity: 1;
	transform: none;
}

html.mppa-js:not(.mppa-reveal-ready) .mppa-grow-bar {
	transform: scaleX(1);
}

html.mppa-js:not(.mppa-reveal-ready) .mppa-grow-v {
	transform: scaleY(1);
}

html.mppa-js:not(.mppa-reveal-ready) .mppa-pie-sweep {
	stroke-dasharray: 502 999;
}

/* =========================================================================
 * 26  Responsive
 * ====================================================================== */

@media (max-width: 900px) {
	.mppa-section {
		padding: 84px 0;
	}

	.mppa-hero__grid,
	.mppa-contact-grid,
	.mppa-chart-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.mppa-brief-pipe {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 2px;
	}

	.mppa-brief-node__cell {
		width: 56px;
		height: 56px;
		font-size: 22px;
	}

	.mppa-brief-node__fr {
		position: absolute;
		width: 1px;
		height: 1px;
		padding: 0;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.mppa-chart__scroll--wide .mppa-chart__svg {
		width: 700px;
		max-width: none;
	}

	.mppa-chart__scroll--compact .mppa-chart__svg {
		width: 380px;
		max-width: none;
	}

	.mppa-record-grid {
		columns: 2 260px;
	}
}

@media (max-width: 680px) {
	.mppa-ev {
		width: 100vw;
		height: 100dvh;
	}

	.mppa-ev__chrome {
		border: 0;
		border-radius: 0;
	}

	.mppa-ev__head {
		padding: 22px 20px 18px;
	}

	.mppa-ev__scroll {
		padding: 22px 20px;
	}

	.mppa-record-dashboard {
		margin-bottom: 30px;
	}

	.mppa-record-stat {
		padding: 17px 10px;
		text-align: center;
	}

	.mppa-record-stat strong {
		font-size: clamp(26px, 9vw, 38px);
	}

	.mppa-record-stat span {
		font-size: 7.5px;
		letter-spacing: 0.08em;
	}

	.mppa-record-block {
		margin-top: 52px;
	}

	.mppa-record-block__head {
		align-items: flex-end;
		min-height: auto;
		margin-bottom: 16px;
		padding: 0 0 14px 54px;
	}

	.mppa-record-block__head::before {
		bottom: 16px;
		font-size: 7.5px;
	}

	.mppa-record-block__head::after {
		width: 38px;
	}

	.mppa-record-block__head h4 {
		font-size: clamp(32px, 11vw, 48px);
	}

	.mppa-record-block__head > span {
		padding: 7px 9px;
		font-size: 7.5px;
	}

	.mppa-record-grid {
		columns: 1;
	}

	.mppa-record-group {
		margin-bottom: 14px;
		padding: 17px 16px 6px;
	}

	.mppa-record-list li {
		padding-left: 34px;
		font-size: 13px;
	}

	.mppa-record-external {
		display: grid;
		gap: 10px;
		margin-top: 44px;
		padding: 20px;
	}

	.mppa-record-external::before {
		font-size: 8px;
	}
}

@media (max-width: 640px) {
	.mppa-js .mppa-hud {
		display: none;
	}
}

@media (max-width: 600px) {
	.mppa-wrap,
	html:not(.mppa-js) .mppa-dialog--flow,
	html.mppa-no-dialog .mppa-dialog--flow {
		padding-left: 18px;
		padding-right: 18px;
	}

	.mppa-section {
		padding: 76px 0;
	}

	.mppa-hero {
		padding: 96px 0 116px;
	}

	.mppa-hero__grid {
		gap: 34px;
	}

	.mppa-kicker {
		gap: 10px;
		font-size: 10px;
		letter-spacing: 0.18em;
		white-space: nowrap;
	}

	.mppa-kicker::before {
		flex: 0 0 36px;
		width: 36px;
	}

	.mppa-hero__version {
		white-space: nowrap;
	}

	.mppa-hero .mppa-cta-row {
		margin-bottom: 78px;
	}

	.mppa-chart {
		padding: 24px 18px 20px;
	}

	.mppa-brief-pipe {
		gap: 0;
		margin: 42px 0 28px;
	}

	.mppa-brief-pipe::before {
		top: 22px;
	}

	.mppa-brief-node {
		padding: 0 2px;
	}

	.mppa-brief-node__cell {
		width: 44px;
		height: 44px;
		font-size: 19px;
	}

	.mppa-brief-node__en {
		margin-top: 10px;
		font-size: 8.5px;
		letter-spacing: 0.045em;
		white-space: nowrap;
	}

	.mppa-brief-panel {
		padding: 28px;
	}

	.mppa-unit-chip {
		top: auto;
		right: 14px;
		bottom: 14px;
		gap: 6px;
		padding: 9px 10px;
		font-size: 9.5px;
		letter-spacing: 0.055em;
	}

	.mppa-js .mppa-hud {
		bottom: 14px;
		left: 14px;
		min-width: 0;
		max-width: 170px;
		padding: 10px 12px;
	}

	.mppa-hud__text {
		display: block;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* The floating readout must never sit on top of the field being typed into. */
	body.mppa-form-focus .mppa-hud {
		opacity: 0;
		transform: translateY(8px);
		pointer-events: none;
	}

	.mppa-contact-card {
		margin-bottom: 72px;
		padding: 28px 22px;
	}

	.mppa-footer {
		padding-bottom: 150px;
	}
}

@media (max-width: 360px) {
	.mppa-unit-chip__full {
		display: none;
	}

	.mppa-unit-chip__short {
		display: inline;
	}

	.mppa-js .mppa-hud {
		max-width: 170px;
	}

	.mppa-hero__title {
		font-size: clamp(52px, 18vw, 58px);
	}
}

@media (min-width: 361px) {
	.mppa-unit-chip__short {
		display: none;
	}
}

/* =========================================================================
 * 27  Reduced motion
 *
 * Nothing on this page requires movement to be understood: charts render their final
 * geometry, reveals resolve to visible, and the diagnostics log prints in full.
 * ====================================================================== */

@media (prefers-reduced-motion: reduce) {
	:root:has(.mppa-shell) {
		scroll-behavior: auto;
	}

	.mppa-reveal-ready .mppa-reveal {
		opacity: 1;
		transform: none;
	}

	.mppa-js .mppa-diag[data-mppa-diag="running"] .mppa-diag__line {
		opacity: 1;
	}

	.mppa-shell *,
	.mppa-shell *::before,
	.mppa-shell *::after {
		animation: none !important;
		transition: none !important;
		animation-iteration-count: 1 !important;
	}
}

/* =========================================================================
 * 28  Print and PDF
 * ====================================================================== */

@media print {
	@page {
		margin: 0.65in;
	}

	:root:has(.mppa-shell),
	body.mppa-v2-shell-view {
		scroll-behavior: auto;
		background: #fff !important;
		color: #000 !important;
	}

	body.mppa-v2-shell-view::before,
	.mppa-progress,
	.mppa-hud,
	.mppa-unit-chip,
	.mppa-skip-link,
	.mppa-dialog__close,
	.mppa-lightbox {
		display: none !important;
	}

	.mppa-shell,
	.mppa-main,
	.mppa-section,
	.mppa-paper,
	.mppa-dark,
	.mppa-footer,
	.mppa-chart,
	.mppa-compare-card,
	.mppa-limit-card,
	.mppa-svc-card,
	.mppa-era,
	.mppa-stat-chip,
	.mppa-contact-card,
	.mppa-proof-card,
	.mppa-mode-panel,
	.mppa-brief-panel,
	.mppa-record-group,
	.mppa-ev__chrome,
	.mppa-diag__chrome {
		background: #fff !important;
		box-shadow: none !important;
		color: #000 !important;
		filter: none !important;
		transform: none !important;
	}

	.mppa-shell *,
	.mppa-shell *::before,
	.mppa-shell *::after {
		color: #000 !important;
		text-shadow: none !important;
		animation: none !important;
		transition: none !important;
	}

	.mppa-hero__stroke {
		color: #000 !important;
		-webkit-text-stroke: 0;
	}

	.mppa-section,
	.mppa-footer {
		padding-block: 30px;
		break-inside: avoid-page;
	}

	.mppa-chart,
	.mppa-proof-card,
	.mppa-record-group,
	.mppa-contact-card {
		border-color: #777 !important;
	}

	.mppa-chart__scroll,
	.mppa-timeline,
	.mppa-ev__scroll {
		overflow: visible !important;
	}

	.mppa-chart__svg {
		max-width: 100% !important;
	}

	.mppa-dialog--flow {
		display: block !important;
		position: static !important;
		inset: auto !important;
		width: auto !important;
		height: auto !important;
		max-width: none !important;
		max-height: none !important;
		margin: 30px 0 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: #fff !important;
		color: #000 !important;
	}

	.mppa-ev__chrome,
	.mppa-diag__chrome,
	.mppa-ev__scroll {
		height: auto !important;
		max-height: none !important;
		overflow: visible !important;
	}

	.mppa-shell a[href] {
		text-decoration: underline;
	}
}

/* =========================================================================
 * 29  Forced colors
 * ====================================================================== */

@media (forced-colors: active) {
	.mppa-hero__stroke {
		color: CanvasText;
		-webkit-text-stroke: 0;
	}

	.mppa-btn,
	.mppa-tier,
	.mppa-compare-card,
	.mppa-limit-card,
	.mppa-svc-card,
	.mppa-era,
	.mppa-stat-chip,
	.mppa-chart,
	.mppa-brief-panel,
	.mppa-dexter-frame,
	.mppa-contact-card,
	.mppa-proof-card,
	.mppa-mode-panel,
	.mppa-record-group,
	.mppa-ev__chrome,
	.mppa-diag__chrome {
		border: 1px solid CanvasText;
	}

	.mppa-skip-link,
	.mppa-unit-chip,
	.mppa-chart__badge,
	.mppa-dialog__close {
		border: 1px solid CanvasText;
	}

	/* Colour alone must not carry the diagnostics states. */
	.mppa-diag__warn {
		text-decoration: underline;
	}
}
