/*
 * Global frontend design system, 2026-06-01
 * Scope: all public pages that explicitly load this file.
 * Excluded by design: /Mech_History/ keeps its own untouched CSS and does not load this file.
 */
@font-face {
	font-family: "Iewen Display";
	src:
		local("Satoshi"),
		local("Geist"),
		local("HarmonyOS Sans SC"),
		local("PingFang SC"),
		local("Microsoft YaHei");
	font-display: swap;
}

@font-face {
	font-family: "Iewen Mono";
	src:
		local("Geist Mono"),
		local("JetBrains Mono"),
		local("Cascadia Mono"),
		local("Consolas");
	font-display: swap;
}

:root {
	--ds-surface-0: hsl(220 24% 97%);
	--ds-surface-1: hsl(0 0% 100%);
	--ds-surface-2: hsl(220 25% 95%);
	--ds-surface-3: hsl(220 20% 90%);
	--ds-ink: hsl(222 36% 10%);
	--ds-ink-2: hsl(220 18% 26%);
	--ds-muted: hsl(220 12% 42%);
	--ds-subtle: hsl(220 10% 54%);
	--ds-border: hsl(220 20% 84%);
	--ds-border-soft: hsl(220 24% 90%);
	--ds-accent: hsl(212 82% 42%);
	--ds-accent-hover: hsl(212 86% 35%);
	--ds-accent-soft: hsl(212 82% 42% / 0.1);
	--ds-accent-border: hsl(212 82% 42% / 0.28);
	--ds-success: hsl(158 56% 35%);
	--ds-warning: hsl(38 88% 44%);
	--ds-danger: hsl(0 70% 52%);
	--ds-radius-lg: 24px;
	--ds-radius-md: 18px;
	--ds-radius-sm: 12px;
	--ds-shadow-panel: 0 1px 2px hsl(222 36% 10% / 0.04), 0 14px 34px hsl(222 36% 10% / 0.07);
	--ds-shadow-float: 0 18px 58px hsl(222 36% 10% / 0.14);
	--ds-font: "Iewen Display", "Satoshi", "Geist", "Microsoft YaHei", system-ui, sans-serif;
	--ds-mono: "Iewen Mono", "Geist Mono", "JetBrains Mono", Consolas, monospace;
}

body:not(.mech-history-page) {
	color: var(--ds-ink);
	font-family: var(--ds-font);
	font-size: 16px;
	line-height: 1.65;
	text-rendering: geometricPrecision;
	-webkit-font-smoothing: antialiased;
}

body.home-page,
body.access-page,
body.eat-page,
body.not-found-page,
body.case-page,
body.cpa-case-page {
	background:
		radial-gradient(circle at 8% 6%, hsl(212 82% 42% / 0.12), transparent 28vw),
		radial-gradient(circle at 90% 10%, hsl(166 48% 42% / 0.1), transparent 24vw),
		linear-gradient(135deg, hsl(220 24% 98%), hsl(214 30% 96%) 55%, hsl(42 38% 96%));
}

body.home-page::before,
body.access-page::before,
body.eat-page::before,
body.not-found-page::before,
body.case-page::before,
body.cpa-case-page::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		linear-gradient(90deg, hsl(220 20% 74% / 0.09) 1px, transparent 1px),
		linear-gradient(180deg, hsl(220 20% 74% / 0.08) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(180deg, black, transparent 78%);
}

body:not(.mech-history-page) h1,
body:not(.mech-history-page) h2,
body:not(.mech-history-page) h3,
body:not(.mech-history-page) strong {
	color: var(--ds-ink);
}

body:not(.mech-history-page) p,
body:not(.mech-history-page) em,
body:not(.mech-history-page) label,
body:not(.mech-history-page) span,
body:not(.mech-history-page) dd,
body:not(.mech-history-page) td,
body:not(.mech-history-page) th {
	text-shadow: none;
}

body:not(.mech-history-page) input,
body:not(.mech-history-page) select,
body:not(.mech-history-page) textarea {
	color: var(--ds-ink);
	background: var(--ds-surface-1);
	border-color: var(--ds-border);
	box-shadow: none;
}

body:not(.mech-history-page) input::placeholder,
body:not(.mech-history-page) textarea::placeholder {
	color: var(--ds-muted);
	opacity: 1;
}

body:not(.mech-history-page) button,
body:not(.mech-history-page) a {
	-webkit-tap-highlight-color: transparent;
}

.site-header-inner,
.access-topbar,
.eat-topbar,
.case-topbar {
	border-color: hsl(0 0% 100% / 0.78) !important;
	background: hsl(0 0% 100% / 0.82) !important;
	box-shadow: 0 10px 28px hsl(222 36% 10% / 0.08) !important;
	backdrop-filter: blur(18px) saturate(1.12);
}

.mh-home-card,
.not-found-main,
.access-entry-panel,
.access-self-workspace,
.access-login-panel,
.access-admin-workspace,
.access-guide-panel,
.access-summary-item,
.access-table-wrap,
.eat-hero,
.eat-panel,
.eat-ticket,
.eat-dialog-panel,
.eat-result-dialog-panel,
.hero,
.window,
.reason-card,
.capability,
.delivery-list,
.cta,
.narrative,
.capabilities,
.delivery,
.panel-stage {
	border: 1px solid var(--ds-border-soft) !important;
	background: hsl(0 0% 100% / 0.96) !important;
	box-shadow: var(--ds-shadow-panel) !important;
	color: var(--ds-ink) !important;
	backdrop-filter: none !important;
}

.mh-home-feature-grid .mh-home-project-card:first-child,
.access-endpoint-strip,
.hero,
.window {
	border-color: hsl(212 42% 30% / 0.5) !important;
	background:
		linear-gradient(145deg, hsl(222 36% 11%), hsl(211 44% 20%)) !important;
	color: hsl(0 0% 100%) !important;
	box-shadow: var(--ds-shadow-float) !important;
}

.mh-home-feature-grid .mh-home-project-card:first-child h3,
.mh-home-feature-grid .mh-home-project-card:first-child p,
.access-endpoint-strip *,
.hero *,
.window * {
	color: inherit !important;
}

.mh-home-btn,
.access-button,
.access-icon-button,
.access-mini-button,
.eat-button,
.button,
.case-topbar-link {
	border-radius: 999px !important;
	font-weight: 760 !important;
	box-shadow: none !important;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.mh-home-btn-primary,
.access-button-primary,
.eat-button-primary,
.button-primary {
	border-color: var(--ds-ink) !important;
	background: var(--ds-ink) !important;
	color: hsl(0 0% 100%) !important;
}

.mh-home-btn-primary:hover,
.access-button-primary:hover,
.eat-button-primary:hover,
.button-primary:hover {
	border-color: var(--ds-accent) !important;
	background: var(--ds-accent) !important;
	color: hsl(0 0% 100%) !important;
	transform: translateY(-1px);
}

.mh-home-btn-secondary,
.access-button-ghost,
.access-button-secondary,
.eat-button-secondary,
.button-secondary {
	border-color: var(--ds-border) !important;
	background: var(--ds-surface-1) !important;
	color: var(--ds-ink) !important;
}

.mh-home-btn-secondary:hover,
.access-button-ghost:hover,
.access-button-secondary:hover,
.eat-button-secondary:hover,
.button-secondary:hover {
	border-color: var(--ds-accent-border) !important;
	background: var(--ds-accent-soft) !important;
	color: var(--ds-accent-hover) !important;
	transform: translateY(-1px);
}

.access-login-tabs,
.access-tabs {
	background: var(--ds-surface-1) !important;
	border-color: var(--ds-border-soft) !important;
	box-shadow: none !important;
}

.access-login-tab,
.access-tab {
	color: var(--ds-muted) !important;
}

.access-login-tab.is-active,
.access-tab.is-active {
	background: var(--ds-ink) !important;
	border-color: var(--ds-ink) !important;
	color: hsl(0 0% 100%) !important;
}

.access-table {
	color: var(--ds-ink);
}

.access-table thead th {
	background: var(--ds-surface-2) !important;
	color: var(--ds-ink-2) !important;
	font-family: var(--ds-mono);
	font-size: 0.78rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.access-table tbody tr:hover {
	background: var(--ds-accent-soft) !important;
}

.access-empty-state,
.eat-empty-state p {
	color: var(--ds-ink-2) !important;
}

.access-status,
.eat-status,
.eat-note,
.access-help-text {
	color: var(--ds-ink-2) !important;
}

@media (max-width: 760px) {
	body:not(.mech-history-page) {
		font-size: 15px;
	}

	.mh-home-card,
	.not-found-main,
	.access-entry-panel,
	.access-self-workspace,
	.access-login-panel,
	.access-admin-workspace,
	.eat-hero,
	.eat-panel,
	.eat-ticket {
		border-radius: 18px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
/* API Access status readability correction, 2026-06-01 */
body.access-page .access-glass-select-button,
body.access-page .access-filter-bar select,
body.access-page .access-form select,
body.access-page .access-modal-panel select {
	background: var(--ds-surface-1) !important;
	border: 1px solid var(--ds-border) !important;
	color: var(--ds-ink) !important;
	box-shadow: none !important;
}

body.access-page .access-glass-select-button::after {
	border-color: var(--ds-ink-2) !important;
}

body.access-page .access-glass-select-button:hover,
body.access-page .access-glass-select.is-open .access-glass-select-button,
body.access-page .access-filter-bar select:hover,
body.access-page .access-form select:hover,
body.access-page .access-modal-panel select:hover {
	background: var(--ds-accent-soft) !important;
	border-color: var(--ds-accent-border) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-glass-select-menu {
	background: var(--ds-surface-1) !important;
	border: 1px solid var(--ds-border) !important;
	box-shadow: var(--ds-shadow-float) !important;
}

body.access-page .access-glass-select-option {
	color: var(--ds-ink) !important;
}

body.access-page .access-glass-select-option:hover,
body.access-page .access-glass-select-option:focus-visible,
body.access-page .access-glass-select-option[aria-selected="true"] {
	background: var(--ds-accent-soft) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-status-pill {
	border-radius: 999px !important;
	font-weight: 800 !important;
	letter-spacing: 0 !important;
	box-shadow: none !important;
}

body.access-page .access-status-pill[data-tone="active"] {
	background: hsl(158 56% 35% / 0.12) !important;
	border: 1px solid hsl(158 56% 35% / 0.34) !important;
	color: hsl(158 58% 26%) !important;
}

body.access-page .access-status-pill[data-tone="warning"] {
	background: hsl(38 92% 46% / 0.14) !important;
	border: 1px solid hsl(38 92% 46% / 0.42) !important;
	color: hsl(32 92% 28%) !important;
}

body.access-page .access-status-pill[data-tone="muted"] {
	background: hsl(220 18% 92%) !important;
	border: 1px solid hsl(220 16% 76%) !important;
	color: hsl(220 22% 24%) !important;
}

body.access-page .access-status-pill[data-tone="danger"],
body.access-page .access-status-pill[data-tone="error"] {
	background: hsl(0 72% 50% / 0.1) !important;
	border: 1px solid hsl(0 72% 50% / 0.34) !important;
	color: hsl(0 68% 38%) !important;
}

body.access-page .access-table tbody tr:nth-child(even) {
	background: hsl(212 35% 97%) !important;
}

body.access-page .access-table tbody tr:hover {
	background: var(--ds-accent-soft) !important;
}

body.access-page .access-table td,
body.access-page .access-table th {
	color: var(--ds-ink-2) !important;
}

body.access-page .access-table td strong,
body.access-page .access-table td code {
	color: var(--ds-ink) !important;
}

/* Frontend readability audit pass, 2026-06-01 */
:root {
	--ds-placeholder: hsl(220 10% 46%);
	--ds-focus-ring: hsl(212 82% 42% / 0.18);
	--ds-disabled-bg: hsl(220 18% 95%);
	--ds-disabled-ink: hsl(220 10% 48%);
}

body:not(.mech-history-page) p,
body:not(.mech-history-page) li,
body:not(.mech-history-page) small,
body:not(.mech-history-page) figcaption,
body:not(.mech-history-page) .help-text,
body:not(.mech-history-page) .status-text {
	color: var(--ds-ink-2);
}

body:not(.mech-history-page) input::placeholder,
body:not(.mech-history-page) textarea::placeholder,
body:not(.mech-history-page) select:invalid {
	color: var(--ds-placeholder) !important;
	opacity: 1 !important;
}

body:not(.mech-history-page) input:focus-visible,
body:not(.mech-history-page) select:focus-visible,
body:not(.mech-history-page) textarea:focus-visible {
	outline: none;
	border-color: var(--ds-accent) !important;
	box-shadow: 0 0 0 4px var(--ds-focus-ring) !important;
	background: hsl(0 0% 100%) !important;
}

body:not(.mech-history-page) button:focus-visible,
body:not(.mech-history-page) a:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px var(--ds-focus-ring) !important;
}

body:not(.mech-history-page) input:disabled,
body:not(.mech-history-page) select:disabled,
body:not(.mech-history-page) textarea:disabled {
	background: var(--ds-disabled-bg) !important;
	border-color: var(--ds-border) !important;
	color: var(--ds-disabled-ink) !important;
	opacity: 1 !important;
	cursor: not-allowed;
}

body:not(.mech-history-page) button:disabled,
body:not(.mech-history-page) [aria-disabled="true"] {
	opacity: 0.68 !important;
	color: var(--ds-disabled-ink) !important;
	transform: none !important;
}

body.access-page .access-nav a,
body.access-page .access-section-head p,
body.access-page .access-entry-copy p,
body.access-page .access-login-head p,
body.access-page .access-help-text,
body.access-page .access-status,
body.access-page .access-current-user,
body.access-page .access-empty-state,
body.access-page .access-step p,
body.access-page .access-title-stack span,
body.access-page .access-table td,
body.access-page .access-modal-panel p {
	color: var(--ds-ink-2) !important;
}

body.access-page .access-nav a:hover,
body.access-page .access-nav a:focus-visible {
	background: var(--ds-accent-soft) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-endpoint-strip,
body.access-page .access-code,
body.access-page .access-secret-box,
body.access-page .access-toast {
	background: hsl(0 0% 100% / 0.98) !important;
	border: 1px solid var(--ds-border-soft) !important;
	color: var(--ds-ink) !important;
	box-shadow: var(--ds-shadow-panel) !important;
	backdrop-filter: none !important;
}

body.access-page .access-endpoint-strip code,
body.access-page .access-code,
body.access-page .access-code code,
body.access-page .access-secret-box code,
body.access-page .access-toast {
	color: var(--ds-ink) !important;
}

body.access-page .access-endpoint-meta span,
body.access-page .access-inline-code {
	background: var(--ds-surface-2) !important;
	border-color: var(--ds-border-soft) !important;
	color: var(--ds-ink-2) !important;
}

body.access-page .access-login-tabs,
body.access-page .access-tabs {
	background: hsl(0 0% 100% / 0.92) !important;
	border-color: var(--ds-border-soft) !important;
}

body.access-page .access-login-tab,
body.access-page .access-tab {
	color: var(--ds-ink-2) !important;
	font-weight: 790 !important;
}

body.access-page .access-login-tab:hover:not(.is-active),
body.access-page .access-tab:hover:not(.is-active) {
	background: var(--ds-surface-2) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-login-tab.is-active,
body.access-page .access-tab.is-active {
	background: var(--ds-ink) !important;
	color: hsl(0 0% 100%) !important;
}

body.access-page .access-form input,
body.access-page .access-form select,
body.access-page .access-filter-bar input,
body.access-page .access-filter-bar select,
body.access-page .access-modal-panel input,
body.access-page .access-modal-panel select,
body.access-page .access-glass-select-button {
	background: hsl(0 0% 100%) !important;
	border-color: var(--ds-border) !important;
	color: var(--ds-ink) !important;
	box-shadow: none !important;
}

body.access-page .access-form input::placeholder,
body.access-page .access-filter-bar input::placeholder,
body.access-page .access-modal-panel input::placeholder {
	color: var(--ds-placeholder) !important;
}

body.access-page .access-glass-select-button:hover,
body.access-page .access-glass-select.is-open .access-glass-select-button,
body.access-page .access-table tbody tr:hover,
body.access-page .access-table tbody tr:focus-within {
	background: var(--ds-accent-soft) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-status[data-tone="success"] {
	color: hsl(158 58% 28%) !important;
}

body.access-page .access-status[data-tone="error"] {
	color: hsl(0 68% 38%) !important;
}

body.access-page .access-help-text[data-tone="warning"] {
	color: hsl(32 88% 30%) !important;
}

body.access-page .access-help-text[data-tone="danger"],
body.access-page .access-toast[data-type="error"] {
	background: hsl(0 75% 98%) !important;
	border-color: hsl(0 68% 84%) !important;
	color: hsl(0 58% 32%) !important;
	box-shadow: none !important;
}

body.access-page .access-summary-item span,
body.access-page .access-table th,
body.access-page .access-table td::before {
	color: var(--ds-muted) !important;
}

.case-shell p,
.case-shell li,
.case-shell .meta-block span,
.case-shell .card-label,
.case-shell .eyebrow,
.case-shell .window-bar p,
.case-shell .delivery-list span {
	color: var(--ds-ink-2) !important;
}

body.eat-page .eat-lead,
body.eat-page .eat-topbar-note,
body.eat-page .eat-intro-card,
body.eat-page .eat-intro-copy,
body.eat-page .eat-current-row span,
body.eat-page .eat-panel p,
body.eat-page .eat-note,
body.eat-page .eat-status,
body.eat-page .eat-empty-state,
body.eat-page .eat-dialog-panel p,
body.eat-page .eat-result-dialog-panel p {
	color: var(--ds-ink-2) !important;
}

/* Interactive readability follow-up, 2026-06-01 */
body:not(.mech-history-page) button:active,
body:not(.mech-history-page) .button:active,
body:not(.mech-history-page) a:active {
	transform: translateY(0) !important;
	filter: none !important;
}

body:not(.mech-history-page) input:not(:disabled):focus,
body:not(.mech-history-page) select:not(:disabled):focus,
body:not(.mech-history-page) textarea:not(:disabled):focus {
	color: var(--ds-ink) !important;
}

body:not(.mech-history-page) button:disabled *,
body:not(.mech-history-page) [aria-disabled="true"] * {
	color: inherit !important;
}

body.access-page .access-button,
body.access-page .access-mini-button,
body.access-page .access-icon-button {
	font-weight: 780 !important;
}

body.access-page .access-button:active,
body.access-page .access-mini-button:active,
body.access-page .access-icon-button:active,
body.access-page .access-login-tab:active,
body.access-page .access-tab:active {
	background: var(--ds-surface-3) !important;
	border-color: var(--ds-border-strong) !important;
	color: var(--ds-ink) !important;
}

body.access-page .access-button-primary:active {
	background: var(--ds-accent-hover) !important;
	border-color: var(--ds-accent-hover) !important;
	color: hsl(0 0% 100%) !important;
}

body.access-page .access-button-secondary:active,
body.access-page .access-button-ghost:active {
	background: var(--ds-accent-soft) !important;
	border-color: var(--ds-accent-border) !important;
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-login-panel,
body.access-page .access-entry-panel,
body.access-page .access-admin-workspace,
body.access-page .access-self-workspace,
body.access-page .access-guide-panel,
body.access-page .access-modal-panel,
body.access-page .access-summary-item,
body.access-page .access-step,
body.access-page .access-table-wrap {
	background: hsl(0 0% 100% / 0.97) !important;
	backdrop-filter: none !important;
}

body.access-page .access-login-head h3,
body.access-page .access-entry-copy h3,
body.access-page .access-workspace-header h3,
body.access-page .access-admin-header h3,
body.access-page .access-guide-panel h3,
body.access-page .access-modal-head h3,
body.access-page .access-summary-item strong,
body.access-page .access-current-user strong,
body.access-page .access-title-stack strong {
	color: var(--ds-ink) !important;
}

body.access-page .access-form:focus-within label,
body.access-page .access-inline-row:focus-within label,
body.access-page .access-modal-panel:focus-within label {
	color: var(--ds-accent-hover) !important;
}

body.access-page .access-login-tab[aria-selected="true"],
body.access-page .access-tab[aria-selected="true"] {
	background: var(--ds-ink) !important;
	color: hsl(0 0% 100%) !important;
}

body.access-page .access-table tbody tr,
body.access-page .access-table tbody td {
	background: transparent !important;
}

body.access-page .access-table tbody tr:hover td,
body.access-page .access-table tbody tr:focus-within td {
	color: var(--ds-ink) !important;
}

body.access-page .access-empty-state,
body.access-page .access-help-text,
body.access-page .access-status,
body.access-page .access-step p,
body.access-page .access-entry-copy p,
body.access-page .access-login-head p,
body.access-page .access-section-head p {
	font-weight: 560 !important;
}

body.eat-page .eat-button:active,
body.eat-page .eat-chip:active,
body.eat-page .eat-segment:active,
body.eat-page .eat-choice-card:active,
body.eat-page .eat-preference-card:active,
body.eat-page .eat-quick-button:active,
body.eat-page .eat-link-button:active {
	transform: translateY(0) !important;
	filter: brightness(0.98) !important;
}

.case-shell .button:active,
.case-shell .case-topbar-link:active {
	transform: translateY(0) !important;
}

/* Readability follow-up pass, 2026-06-01 */
body.access-page .access-status-pill {
  background: hsl(0 0% 100%) !important;
  border: 1px solid hsl(220 18% 82%) !important;
  color: hsl(220 22% 24%) !important;
  box-shadow: none !important;
}

body.access-page .access-status-pill[data-tone="active"] {
  background: hsl(151 64% 96%) !important;
  border-color: hsl(151 45% 74%) !important;
  color: hsl(151 64% 24%) !important;
}

body.access-page .access-status-pill[data-tone="warning"] {
  background: hsl(36 100% 96%) !important;
  border-color: hsl(33 95% 74%) !important;
  color: hsl(27 86% 28%) !important;
}

body.access-page .access-status-pill[data-tone="muted"] {
  background: hsl(210 20% 97%) !important;
  border-color: hsl(215 16% 80%) !important;
  color: hsl(215 24% 28%) !important;
}

body.access-page .access-status-pill[data-tone="danger"],
body.access-page .access-status-pill[data-tone="error"] {
  background: hsl(0 86% 97%) !important;
  border-color: hsl(0 70% 80%) !important;
  color: hsl(0 65% 34%) !important;
}

body.access-page .access-status[data-tone="success"] {
  color: hsl(158 58% 24%) !important;
}

body.access-page .access-status[data-tone="error"] {
  color: hsl(0 68% 30%) !important;
}

body.access-page .access-help-text[data-tone="warning"] {
  color: hsl(32 88% 24%) !important;
}

body.access-page .access-help-text[data-tone="danger"],
body.access-page .access-toast[data-type="error"] {
  color: hsl(0 58% 28%) !important;
}

/* Readability follow-up pass 2, 2026-06-01 */
body:not(.mech-history-page) .site-nav a,
body:not(.mech-history-page) .mh-bottom-footer-links a,
body:not(.mech-history-page) .mh-home-lead,
body:not(.mech-history-page) .mh-home-note,
body:not(.mech-history-page) .mh-home-card-copy,
body:not(.mech-history-page) .mh-home-card-meta,
body:not(.mech-history-page) .mh-home-card-title + p,
body:not(.mech-history-page) .mh-home-story-card p,
body:not(.mech-history-page) .mh-home-footer p,
body:not(.mech-history-page) .not-found-copy,
body:not(.mech-history-page) .not-found-actions + p {
  color: var(--ds-ink-2) !important;
}

body:not(.mech-history-page) .site-brand,
body:not(.mech-history-page) .mh-home-hero h1,
body:not(.mech-history-page) .mh-home-card-title,
body:not(.mech-history-page) .mh-home-story-card h3,
body:not(.mech-history-page) .not-found-title {
  color: var(--ds-ink) !important;
}

body:not(.mech-history-page) .site-nav a:hover,
body:not(.mech-history-page) .site-nav a:focus-visible,
body:not(.mech-history-page) .mh-bottom-footer-links a:hover,
body:not(.mech-history-page) .mh-bottom-footer-links a:focus-visible {
  color: var(--ds-ink) !important;
}

body.eat-page .eat-back-link,
body.eat-page .eat-choice-title,
body.eat-page .eat-dialog-title,
body.eat-page .eat-result-name,
body.eat-page .eat-result-card h3,
body.eat-page .eat-result-primary,
body.eat-page .eat-sheet-title,
body.eat-page .eat-preference-title,
body.eat-page .eat-choice-card strong,
body.eat-page .eat-ticket-title {
  color: var(--ds-ink) !important;
}

body.eat-page .eat-chip,
body.eat-page .eat-segment,
body.eat-page .eat-choice-card,
body.eat-page .eat-preference-card,
body.eat-page .eat-note,
body.eat-page .eat-status,
body.eat-page .eat-empty-state,
body.eat-page .eat-dialog-panel,
body.eat-page .eat-result-dialog-panel,
body.eat-page .eat-ticket,
body.eat-page .eat-inline-note,
body.eat-page .eat-feedback-note,
body.eat-page .eat-feedback-status,
body.eat-page .eat-feedback-empty {
  color: var(--ds-ink-2) !important;
}

body.eat-page .eat-chip:hover,
body.eat-page .eat-segment:hover,
body.eat-page .eat-choice-card:hover,
body.eat-page .eat-preference-card:hover,
body.eat-page .eat-quick-button:hover,
body.eat-page .eat-link-button:hover {
  color: var(--ds-ink) !important;
}

body.eat-page .eat-status[data-tone="success"],
body.eat-page .eat-feedback-status[data-tone="success"] {
  color: hsl(158 58% 24%) !important;
}

body.eat-page .eat-status[data-tone="error"],
body.eat-page .eat-feedback-status[data-tone="error"] {
  color: hsl(0 68% 32%) !important;
}

body.eat-page .eat-button:disabled,
body.eat-page .eat-chip[aria-disabled="true"],
body.eat-page .eat-segment[aria-disabled="true"],
body.eat-page .eat-choice-card[aria-disabled="true"],
body.eat-page .eat-preference-card[aria-disabled="true"] {
  opacity: 1 !important;
  color: var(--ds-disabled-ink) !important;
  background: var(--ds-disabled-bg) !important;
  border-color: var(--ds-border) !important;
}

body.eat-page input::placeholder,
body.eat-page textarea::placeholder,
body.eat-page select::placeholder {
  color: var(--ds-placeholder) !important;
  opacity: 1 !important;
}

.case-shell .case-brand span,
.case-shell .case-topbar-link,
.case-shell .hero-lead,
.case-shell .narrative-intro p,
.case-shell .delivery-copy p,
.case-shell .cta-copy p,
.case-shell .capability p,
.case-shell .reason-card p,
.case-shell .delivery-list span,
.case-shell .meta-block span,
.case-shell .window-bar p,
.case-shell .eyebrow,
.case-shell .card-label {
  color: var(--ds-ink-2) !important;
}

.case-shell .case-topbar-link:hover,
.case-shell .case-topbar-link:focus-visible,
.case-shell .button:hover,
.case-shell .button:focus-visible {
  color: var(--ds-ink) !important;
}

.case-shell .button:disabled,
.case-shell .case-topbar-link[aria-disabled="true"] {
  opacity: 1 !important;
  color: var(--ds-disabled-ink) !important;
}

body.access-page .access-table tbody tr:hover td .access-status-pill,
body.access-page .access-table tbody tr:focus-within td .access-status-pill {
  color: inherit !important;
}

body.access-page .access-status-pill[data-tone="active"]:hover,
body.access-page .access-status-pill[data-tone="warning"]:hover,
body.access-page .access-status-pill[data-tone="muted"]:hover,
body.access-page .access-status-pill[data-tone="danger"]:hover,
body.access-page .access-status-pill[data-tone="error"]:hover {
  filter: none !important;
}

/* Readability follow-up pass 3, 2026-06-01 */
body:not(.mech-history-page) .mh-home-status,
body:not(.mech-history-page) .mh-home-section-tag,
body:not(.mech-history-page) .mh-home-card-index,
body:not(.mech-history-page) .mh-home-index-card-muted,
body:not(.mech-history-page) .mh-home-note,
body:not(.mech-history-page) .mh-home-tags span,
body:not(.mech-history-page) .mh-home-card-meta,
body:not(.mech-history-page) .mh-home-card-copy,
body:not(.mech-history-page) .mh-home-footer-note {
  color: var(--ds-ink-2) !important;
}

body.eat-page .eat-hero-notes span,
body.eat-page .eat-result-meta,
body.eat-page .eat-result-meta span,
body.eat-page .eat-delivery-note,
body.eat-page .eat-dialog-status,
body.eat-page .eat-dialog-status small,
body.eat-page .eat-dialog-note,
body.eat-page .eat-empty-state p:last-child,
body.eat-page .eat-result-secondary,
body.eat-page .eat-result-hint,
body.eat-page .eat-result-copy,
body.eat-page .eat-feedback-draft-note {
  color: var(--ds-ink-2) !important;
}

body.eat-page .eat-result-meta span,
body.eat-page .eat-hero-notes span,
body.eat-page .eat-dialog-status span {
  background: hsl(0 0% 100% / 0.92) !important;
  border-color: var(--ds-border-soft) !important;
}

.case-shell .status-strip small,
.case-shell .status-strip div,
.case-shell .mock-card p,
.case-shell .window p,
.case-shell .window li,
.case-shell .delivery-list li,
.case-shell .delivery-list strong + span {
  color: var(--ds-ink-2) !important;
}

.case-shell .status-strip strong,
.case-shell .mock-card h2,
.case-shell .window h3 {
  color: var(--ds-ink) !important;
}

body.access-page .access-endpoint-meta span,
body.access-page .access-title-stack span,
body.access-page .access-current-user,
body.access-page .access-empty-state,
body.access-page .access-status,
body.access-page .access-help-text,
body.access-page .access-summary-item span,
body.access-page .access-table td::before {
  color: var(--ds-ink-2) !important;
}

body:not(.mech-history-page) .hero-meta,
.case-shell .hero-meta {
  color: var(--ds-ink-2) !important;
}
