@font-face {
	font-family: AdjustedYuGothic;
	font-style: normal;
	font-weight: 400;
	src: local("Yu Gothic Medium");
}

@font-face {
	font-family: AdjustedYuGothic;
	font-style: normal;
	font-weight: 700;
	src: local("Yu Gothic Bold");
}

.mt-health-page {
	--mt-health-action: #0077c7;
	--mt-health-action-hover: #005f9f;
	--mt-health-focus: #0077c7;
	--mt-health-text: #23221e;
	--mt-health-text-secondary: #706d65;
	--mt-health-background: #f8f7f6;
	--mt-health-surface: #ffffff;
	--mt-health-border: #d6d3d0;
	--mt-health-warning: #8a4b00;
	--mt-health-warning-background: #fff5cc;
	--mt-health-success: #176b42;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0;
	background: var(--mt-health-background);
	color: var(--mt-health-text);
	font-family: AdjustedYuGothic, "Yu Gothic", YuGothic, "Hiragino Sans", sans-serif;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: clip;
}

html.mt-light .mt-health-page {
	--mt-health-action: #0077c7;
	--mt-health-action-hover: #005f9f;
	--mt-health-focus: #0077c7;
	--mt-health-text: #23221e;
	--mt-health-text-secondary: #706d65;
	--mt-health-background: #f8f7f6;
	--mt-health-surface: #ffffff;
	--mt-health-border: #d6d3d0;
	--mt-health-warning: #8a4b00;
	--mt-health-warning-background: #fff5cc;
	--mt-health-success: #176b42;
}

html:not(.mt-light) .mt-health-page {
	--mt-health-action: #66bfff;
	--mt-health-action-hover: #9bd3ff;
	--mt-health-focus: #8dccff;
	--mt-health-text: #f4f1ed;
	--mt-health-text-secondary: #c9c4bd;
	--mt-health-background: #1d1c1a;
	--mt-health-surface: #2a2926;
	--mt-health-border: #5e5a54;
	--mt-health-warning: #ffd36a;
	--mt-health-warning-background: #3d3219;
	--mt-health-success: #8be0b4;
}

html.mt-corp .mt-health-page {
	--mt-health-action: #0077c7;
	--mt-health-action-hover: #005f9f;
	--mt-health-focus: #0077c7;
	--mt-health-text: #23221e;
	--mt-health-text-secondary: #706d65;
	--mt-health-background: #f8f7f6;
	--mt-health-surface: #ffffff;
	--mt-health-border: #d6d3d0;
	--mt-health-warning: #8a4b00;
	--mt-health-warning-background: #fff5cc;
	--mt-health-success: #176b42;
}

#content.mt-health-page {
	background-color: var(--mt-health-background);
	color: var(--mt-health-text);
}

#content.mt-health-page .mt-health-page__main,
#content.mt-health-page h1,
#content.mt-health-page h2,
#content.mt-health-page label {
	color: var(--mt-health-text);
}

.mt-health-page,
.mt-health-page *,
.mt-health-page *::before,
.mt-health-page *::after {
	box-sizing: border-box;
}

.mt-health-page [hidden] {
	display: none !important;
}

.mt-health-page__main {
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 0 auto;
	padding: 24px 16px 40px;
}

.mt-health-page__intro,
.mt-health-form,
.mt-health-disclaimer {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	min-width: 0;
}

.mt-health-page__intro,
.mt-health-disclaimer {
	max-width: 680px;
}

.mt-health-page__intro {
	min-width: 0;
	margin-bottom: 24px;
}

.mt-health-page__intro h1 {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 7vw, 2rem);
	line-height: 1.25;
	overflow-wrap: break-word;
}

.mt-health-page__intro p {
	margin: 8px 0 0;
}

.mt-health-page__eyebrow {
	color: var(--mt-health-action);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1rem;
}

.mt-health-page__privacy {
	color: var(--mt-health-text-secondary);
	font-size: 0.875rem;
}

.mt-health-form {
	display: grid;
	max-width: 680px;
	min-width: 0;
	gap: 16px;
}

.mt-health-card,
.mt-health-disclaimer {
	min-width: 0;
	padding: 20px 16px;
	border: 1px solid var(--mt-health-border);
	border-radius: 8px;
	background: var(--mt-health-surface);
	color: var(--mt-health-text);
	box-shadow: 0 2px 4px rgb(35 34 30 / 8%);
}

.mt-health-card h2,
.mt-health-disclaimer h2 {
	margin: 0 0 16px;
	font-size: 1.2rem;
	line-height: 1.5;
}

.mt-health-field {
	display: grid;
	min-width: 0;
	gap: 8px;
}

.mt-health-field + .mt-health-field {
	margin-top: 16px;
}

.mt-health-page label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.mt-health-field label {
	margin-bottom: 0;
}

.mt-health-page input,
.mt-health-page select,
.mt-health-page textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--mt-health-border);
	border-radius: 6px;
	background: var(--mt-health-surface);
	color: var(--mt-health-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.5;
}

.mt-health-page textarea {
	height: auto;
	overflow-wrap: anywhere;
	resize: vertical;
	white-space: pre-wrap;
	word-break: break-word;
}

.mt-health-page input:disabled,
.mt-health-page select:disabled,
.mt-health-page textarea:disabled {
	cursor: not-allowed;
	opacity: 0.6;
}

.mt-health-page input:focus-visible,
.mt-health-page select:focus-visible,
.mt-health-page textarea:focus-visible,
.mt-health-page button:focus-visible,
.mt-health-page a:focus-visible {
	outline: 3px solid var(--mt-health-focus);
	outline-offset: 2px;
}

.mt-health-actions {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 12px;
}

.mt-health-button {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 10px 16px;
	border: 1px solid var(--mt-health-action);
	border-radius: 6px;
	font: inherit;
	font-weight: 700;
	line-height: 1.5;
	cursor: pointer;
	overflow-wrap: break-word;
}

.mt-health-button--primary {
	min-height: 48px;
	background: var(--mt-health-action);
	color: #ffffff;
}

.mt-health-button--secondary {
	background: transparent;
	color: var(--mt-health-action);
}

.mt-health-button:hover {
	border-color: var(--mt-health-action-hover);
}

.mt-health-button--primary:hover {
	background: var(--mt-health-action-hover);
}

html:not(.mt-light) .mt-health-button--primary {
	background: #0077c7;
	color: #ffffff;
}

html:not(.mt-light) .mt-health-button--primary:hover {
	background: #0067ad;
}

.mt-health-warnings {
	min-width: 0;
	color: var(--mt-health-warning);
	overflow-wrap: break-word;
}

.mt-health-warnings:not(:empty) {
	padding: 12px 16px;
	border: 1px solid currentcolor;
	border-radius: 6px;
	background: var(--mt-health-warning-background);
}

.mt-health-warnings ul {
	margin: 0;
	padding-left: 1.25rem;
}

.mt-health-result {
	margin-top: 8px;
}

.mt-health-actions--result {
	margin-top: 16px;
}

.mt-health-status,
.mt-health-chatgpt-fallback {
	margin: 12px 0 0;
	white-space: pre-line;
}

.mt-health-status {
	color: var(--mt-health-success);
	font-weight: 700;
}

.mt-health-chatgpt-fallback a {
	color: var(--mt-health-action);
	font-weight: 700;
}

.mt-health-disclaimer {
	margin-top: 24px;
	color: var(--mt-health-text-secondary);
	font-size: 0.875rem;
}

.mt-health-disclaimer p {
	margin: 0;
	overflow-wrap: break-word;
}

@media (min-width: 600px) {
	.mt-health-page__main {
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.mt-health-card,
	.mt-health-disclaimer {
		padding: 24px;
	}

	.mt-health-actions--result {
		flex-direction: row;
	}

	.mt-health-actions--result .mt-health-button {
		flex: 1 1 0;
	}
}

@media (max-width: 599px) {
	.mt-health-page__main {
		padding-right: 16px;
		padding-left: 16px;
	}

	.mt-health-page__intro h1 {
		font-size: 1.5rem;
	}
}

@media (prefers-color-scheme: dark) {
	html:not(.mt-light) .mt-health-page {
		color-scheme: dark;
	}
}
