/* Supervisor Training — front-end shell */
.tto-stm-shell {
	max-width: 960px;
	margin: 0 auto;
	padding: 1rem;
}

/* Register / payment gates */
.tto-stm-gate {
	margin: 1.5rem 0;
	padding: 1.25rem 1.5rem;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	background: #f6f7f7;
}

.tto-stm-gate--account {
	background: linear-gradient(180deg, #f0f0f1 0%, #f6f7f7 100%);
	border-color: #dcdcde;
}

/* Sign-up card — fixed max width, centered (aligned columns every row) */
.tto-stm-signup-card {
	margin-top: 1.25rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 640px;
	padding: 0;
	background: #fff;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgba(27, 31, 36, 0.04), 0 8px 24px rgba(27, 31, 36, 0.06);
	overflow: hidden;
}

.tto-stm-signup-fieldset {
	margin: 0;
	padding: 1.5rem 1.5rem 1.25rem;
	border: 0;
	min-width: 0;
}

.tto-stm-signup-card-title {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0 0 0.4rem;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: #1d2327;
}

.tto-stm-signup-card-sub {
	margin: 0 0 1.35rem;
	padding-bottom: 1.1rem;
	border-bottom: 1px solid #eaecef;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #656d76;
}

/* User Info acknowledgement text (admin editable) */
.tto-stm-userinfo-ack {
	display: block;
	margin: 0 0 1.1rem;
	padding: 0.85rem 0.95rem;
	border: 1px solid #d0d7de;
	border-radius: 10px;
	background: #fff;
	color: #4f5b66;
}

.tto-stm-userinfo-ack__para {
	display: block;
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	line-height: 1.55;
}

.tto-stm-userinfo-ack__para:last-child {
	margin-bottom: 0;
}

.tto-stm-signup-grid {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.tto-stm-signup-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem 1.25rem;
	align-items: start;
}

.tto-stm-signup-cell {
	min-width: 0;
}

@media (min-width: 560px) {
	/* Same two equal columns on every 2-field row */
	.tto-stm-signup-row--2,
	.tto-stm-signup-row--address-org {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Three equal columns */
	.tto-stm-signup-row--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tto-stm-signup-cell label {
	display: block;
	font-weight: 600;
	font-size: 0.8125rem;
	margin-bottom: 0.35rem;
	color: #24292f;
	letter-spacing: 0.01em;
}

.tto-stm-req {
	color: #b32d2e;
	text-decoration: none;
	font-weight: 700;
	border: 0;
	cursor: help;
}

.tto-stm-input {
	display: block;
	width: 100%;
	max-width: 100% !important;
	box-sizing: border-box;
	margin: 0;
	padding: 0.65rem 0.8rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #1d2327;
	background: #f6f8fa;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.tto-stm-input::placeholder {
	color: #8c959f;
}

.tto-stm-input:hover {
	border-color: #8c959f;
	background: #fff;
}

.tto-stm-input:focus {
	border-color: #0969da;
	outline: none;
	box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.18);
	background: #fff;
}

.tto-stm-input:focus-visible {
	outline: 2px solid #0969da;
	outline-offset: 2px;
}

/* Sign-up: show / hide password */
.tto-stm-pass-wrap {
	position: relative;
	display: block;
	width: 100%;
}

.tto-stm-pass-wrap .tto-stm-input {
	padding-right: 2.85rem;
}

.tto-stm-pass-toggle {
	position: absolute;
	right: 0.35rem;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: #656d76;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.tto-stm-pass-toggle:hover {
	background: #eaecef;
	color: #24292f;
}

.tto-stm-pass-toggle:focus {
	outline: none;
}

.tto-stm-pass-toggle:focus-visible {
	outline: 2px solid #0969da;
	outline-offset: 2px;
}

.tto-stm-pass-toggle__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
	pointer-events: none;
}

.tto-stm-pass-toggle__icon--hide {
	display: none;
}

.tto-stm-pass-wrap.is-visible .tto-stm-pass-toggle__icon--show {
	display: none;
}

.tto-stm-pass-wrap.is-visible .tto-stm-pass-toggle__icon--hide {
	display: flex;
}

.tto-stm-signup-hint {
	margin: -0.35rem 0 0;
	font-size: 0.8125rem;
	line-height: 1.4;
	color: #656d76;
}

.tto-stm-ack-consent {
	margin-top: 12px;
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 8px 10px;
	align-items: start;
	cursor: pointer;
}

.tto-stm-ack-consent__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 10px 0 0;
}

.tto-stm-ack-consent__check input[type='checkbox'] {
	margin: 0;
}

.tto-stm-ack-consent .tto-stm-userinfo-ack {
	margin: 0;
}

.tto-stm-date-field {
	position: relative;
}

.tto-stm-date-field .tto-stm-input {
	padding-right: 44px;
}

.tto-stm-date-picker-btn {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: #f8fafc;
	color: #334155;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.tto-stm-date-picker-btn:hover {
	background-color: #f8fafc;
	color: #334155;
}

.tto-stm-date-picker-btn svg {
	display: none !important;
}

.tto-stm-login-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.tto-stm-login-forgot-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tto-stm-login-modal-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tto-stm-login-modal-toggle:checked ~ .tto-stm-login-modal {
	display: flex;
}

/* Login modal: switch between sign-in and forgot-password (checkbox is sibling before .tto-stm-login-modal). */
.tto-stm-login-forgot-toggle:checked ~ .tto-stm-login-modal .tto-stm-login-form,
.tto-stm-login-forgot-toggle:checked ~ .tto-stm-login-modal .tto-stm-login-modal__title-login,
.tto-stm-login-forgot-toggle:checked ~ .tto-stm-login-modal .tto-stm-login-modal__error--login {
	display: none !important;
}

.tto-stm-login-forgot-toggle:not(:checked) ~ .tto-stm-login-modal .tto-stm-lostpass-form,
.tto-stm-login-forgot-toggle:not(:checked) ~ .tto-stm-login-modal .tto-stm-login-modal__title-forgot,
.tto-stm-login-forgot-toggle:not(:checked) ~ .tto-stm-login-modal .tto-stm-login-modal__error--forgot,
.tto-stm-login-forgot-toggle:not(:checked) ~ .tto-stm-login-modal .tto-stm-login-modal__success--forgot {
	display: none !important;
}

.tto-stm-login-modal__title-login,
.tto-stm-login-modal__title-forgot {
	display: block;
}

.tto-stm-login-modal__forgot-wrap {
	margin: 0 0 8px;
	text-align: center;
	font-size: 0.92rem;
}

.tto-stm-login-modal__forgot-link {
	cursor: pointer;
	color: #2563eb;
	text-decoration: underline;
}

.tto-stm-login-modal__forgot-link:hover {
	color: #1d4ed8;
}

.tto-stm-login-modal__lostpass-intro {
	margin: 0 0 12px;
	font-size: 0.9rem;
	line-height: 1.45;
	color: #4b5563;
}

.tto-stm-lostpass-form .tto-stm-actions {
	margin-top: 4px;
}

.tto-stm-login-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, 0.5);
}

.tto-stm-login-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 460px;
	background: #fff;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	padding: 18px 18px 14px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.tto-stm-login-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #6b7280;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	text-align: center;
}

.tto-stm-login-modal__close:hover {
	background: #f3f4f6;
	color: #111827;
}

.tto-stm-login-modal__title {
	margin: 0 0 12px;
	font-size: 1.1rem;
	font-weight: 700;
	color: #1f2937;
}

.tto-stm-login-form p {
	margin: 0 0 12px;
}

.tto-stm-login-field {
	margin: 0 0 12px;
}

.tto-stm-login-modal__error {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #fecaca;
	border-radius: 8px;
	background: #fef2f2;
	color: #991b1b;
	font-size: 0.88rem;
}

.tto-stm-login-modal__success--forgot {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid #bbf7d0;
	border-radius: 8px;
	background: #f0fdf4;
	color: #166534;
	font-size: 0.88rem;
}

.tto-stm-login-trigger {
	cursor: pointer;
}

.tto-stm-signup-submit {
	margin: 0;
	padding: 1rem 1.5rem 1.5rem;
	border-top: 1px solid #eaecef;
	background: #f6f8fa;
}

.tto-stm-btn--signup {
	min-height: 3rem;
	padding-left: 1.75rem;
	padding-right: 1.75rem;
	font-weight: 600;
	width: 100%;
}

@media (min-width: 480px) {
	.tto-stm-btn--signup {
		width: auto;
		min-width: 220px;
	}
}

/* Payment: billing hidden — short notice only */
.tto-stm-payment-profile-note {
	margin: 0 0 1rem;
	padding: 0.65rem 0.85rem;
	font-size: 0.9rem;
	color: #50575e;
	background: #f0f6fc;
	border: 1px solid #c5d9ed;
	border-radius: 6px;
	border-left: 4px solid #2271b1;
}

.tto-stm-gate-title {
	margin: 0 0 0.75rem;
	font-size: 1.2rem;
}

.tto-stm-gate-text {
	margin: 0 0 1rem;
}

.tto-stm-gate-signed-in {
	margin: 0 0 1rem;
	color: #50575e;
	font-size: 0.95rem;
}

.tto-stm-gate-banner {
	margin: 0 0 1rem;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	border-left: 4px solid #2271b1;
	background: #fff;
}

.tto-stm-gate-banner--info {
	border-left-color: #2271b1;
}

.tto-stm-gate-price {
	margin: 0 0 0.75rem;
	font-size: 1.05rem;
}

.tto-stm-actions {
	margin: 1rem 0 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
}

.tto-stm-actions .tto-stm-btn {
	margin-right: 0;
	margin-bottom: 0;
	vertical-align: middle;
}

.tto-stm-continue-form {
	margin: 0;
}

.tto-stm-notice {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	border-radius: 4px;
}

.tto-stm-notice.notice-success {
	background: #edfaef;
	border: 1px solid #00a32a;
	color: #1e1e1e;
}

.tto-stm-notice.notice-warning {
	background: #fcf9e8;
	border: 1px solid #dba617;
	color: #1e1e1e;
}

.tto-stm-notice.notice-error {
	background: #fcf0f1;
	border: 1px solid #d63638;
	color: #1e1e1e;
}

.tto-stm-notice p {
	margin: 0;
}

/* Payment gate — credit card authorization terms (after card row) */
.tto-stm-payment-fields .tto-stm-card-auth-wrap {
	margin-top: 0.5rem;
	margin-bottom: 0.25rem;
}

.tto-stm-card-auth-heading {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	font-weight: 700;
	color: #1f2937;
}

.tto-stm-card-auth-terms {
	max-height: 220px;
	overflow-y: auto;
	padding: 12px 14px;
	margin: 0 0 12px;
	border: 1px solid #d0d7de;
	border-radius: 8px;
	background: #f8fafc;
	font-size: 0.92rem;
	line-height: 1.45;
	color: #334155;
}

.tto-stm-card-auth-terms__p {
	margin: 0 0 0.75rem;
}

.tto-stm-card-auth-terms__p:last-child {
	margin-bottom: 0;
}

.tto-stm-card-auth-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	cursor: pointer;
	font-weight: 600;
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: #111827;
}

.tto-stm-card-auth-consent input {
	margin-top: 3px;
	flex-shrink: 0;
}

/* Payment gate — card row (similar layout to common checkout patterns) */
.tto-stm-payment-fields {
	margin-top: 1rem;
}

.tto-stm-form-row {
	margin: 0 0 1rem;
}

.tto-stm-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
}

.tto-stm-form-row .input-text {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	padding: 0.5rem 0.65rem;
}

@media (min-width: 600px) {
	.tto-stm-form-row--half {
		display: inline-block;
		width: calc(50% - 0.5rem);
		vertical-align: top;
		margin-right: 1rem;
	}

	.tto-stm-form-row--half:nth-child(2n) {
		margin-right: 0;
	}

	.tto-stm-form-row--third {
		display: inline-block;
		width: calc(33.333% - 0.6rem);
		vertical-align: top;
		margin-right: 0.75rem;
	}

	.tto-stm-form-row--third:last-of-type {
		margin-right: 0;
	}
}

.tto-stm-credit-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 0.65rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid #8c8f94;
	border-radius: 4px;
	background: #fff;
	max-width: 100%;
	box-sizing: border-box;
}

.tto-stm-credit-box__icon {
	flex: 0 0 2rem;
	width: 2rem;
	height: 2rem;
	fill: #50575e;
}

.tto-stm-credit-box__number {
	flex: 1 1 200px;
	min-width: 0;
}

.tto-stm-credit-box__exp {
	flex: 0 1 5.5rem;
	width: 5.5rem;
}

.tto-stm-credit-box__cvv {
	flex: 0 1 4.5rem;
	width: 4.5rem;
}

/* Step navigation */
.tto-stm-steps-nav {
	margin: 1.25rem 0 1.75rem;
	padding: 0;
}

.tto-stm-steps {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tto-stm-step {
	margin: 0;
	font-size: 0.95rem;
}

.tto-stm-step-link {
	text-decoration: none;
	color: #2271b1;
	display: inline-flex;
	align-items: baseline;
	gap: 0.25rem;
}

.tto-stm-step-link:hover,
.tto-stm-step-link:focus {
	text-decoration: underline;
}

.tto-stm-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.6rem;
	height: 1.6rem;
	padding: 0 0.35rem;
	border-radius: 50%;
	background: #dcdcde;
	color: #1d2327;
	font-size: 0.8rem;
	font-weight: 600;
}

.tto-stm-step.is-done .tto-stm-step-num {
	background: #00a32a;
	color: #fff;
}

.tto-stm-step-extra {
	color: #646970;
	font-size: 0.85rem;
}

/* Keep site header visible when training UI is scrolled into view */
#tto-stm-main-flow,
#tto-stm-gate-account,
#tto-stm-wizard,
.tto-stm-heading-row,
.tto-stm-journey-stephead {
	scroll-margin-top: 6.5rem;
}

body.admin-bar #tto-stm-main-flow,
body.admin-bar #tto-stm-gate-account,
body.admin-bar #tto-stm-wizard,
body.admin-bar .tto-stm-heading-row,
body.admin-bar .tto-stm-journey-stephead {
	scroll-margin-top: 8.75rem;
}

/* Sections */
.tto-stm-section {
	margin: 2rem 0;
	padding-top: 0.5rem;
	scroll-margin-top: 1.5rem;
	border-top: 1px solid #dcdcde;
}

.tto-stm-section-title {
	margin: 1rem 0 0.75rem;
	font-size: 1.15rem;
}

.tto-stm-section-hint {
	color: #646970;
	font-size: 0.95rem;
}

.tto-stm-section-hint--center {
	text-align: center;
}

/* PDF step: embedded documents (admin uploads only) */
.tto-stm-section--pdf {
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 16px 16px 18px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.tto-stm-pdf-embeds {
	margin: 1rem 0 0;
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.tto-stm-pdf-group-title {
	margin: 0.35rem 0 0.2rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #475569;
}

.tto-stm-pdf-embed-wrap {
	width: 100%;
	max-width: 100%;
	padding: 10px;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	background: #f8fbff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.tto-stm-pdf-embed {
	display: block;
	width: 100%;
	min-height: 75vh;
	height: 75vh;
	max-height: 900px;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #fff;
}

.tto-stm-pdf-embed-fallback {
	margin: 0.65rem 0 0;
	font-size: 0.9rem;
	display: flex;
	justify-content: flex-end;
}

.tto-stm-pdf-embed-fallback .button {
	border-radius: 8px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	font-weight: 600;
}

.tto-stm-pdf-embed-fallback .button:hover {
	border-color: #94a3b8;
	background: #f8fafc;
}

/* Uploaded / direct MP4 (and other HTML5 sources) */
.tto-stm-video--file {
	position: relative;
}

.tto-stm-video--file .tto-stm-html5-video {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	background: #000;
	border-radius: 4px;
}

/* No native controls = no timeline / forward scrub bar */
.tto-stm-video--no-seek .tto-stm-html5-video::-webkit-media-controls {
	display: none !important;
}

.tto-stm-video--no-seek .tto-stm-html5-video::-webkit-media-controls-enclosure {
	display: none !important;
}

.tto-stm-video-custom-controls {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 0.65rem;
	padding: 0.55rem 0.75rem;
	border: 1px solid #dbe4ea;
	border-radius: 8px;
	background: #f8fafc;
}

.tto-stm-video-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	padding: 0.4rem 0.85rem;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #fff;
	color: #1e293b;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.2;
	cursor: pointer;
}

.tto-stm-video-btn:hover {
	border-color: #94a3b8;
	background: #f1f5f9;
}

.tto-stm-video-btn__icon {
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid currentColor;
}

.tto-stm-video-btn.is-playing .tto-stm-video-btn__icon {
	width: 10px;
	height: 12px;
	border: 0;
	background: linear-gradient(to right, currentColor 0, currentColor 38%, transparent 38%, transparent 62%, currentColor 62%, currentColor 100%);
}

.tto-stm-video-time {
	margin-left: auto;
	font-variant-numeric: tabular-nums;
	font-size: 0.875rem;
	color: #475569;
}

/* oEmbed (YouTube, Vimeo, etc.) */
.tto-stm-video--embed {
	width: 100%;
	max-width: 100%;
	margin: 1rem 0;
}

.tto-stm-video--embed iframe {
	width: 100%;
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 4px;
}

/* Manual iframe fallback (same 16:9 box) */
.tto-stm-video--iframe {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 1rem 0;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	border-radius: 4px;
	background: #000;
}

.tto-stm-video--iframe .tto-stm-video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Locked steps until previous step is done */
.tto-stm-section.is-locked {
	opacity: 0.65;
}

.tto-stm-signup-form .widefat,
.tto-stm-gate .widefat {
	width: 100%;
	max-width: 480px;
	box-sizing: border-box;
}

.tto-stm-signup-form .required,
.tto-stm-gate .required {
	color: #b32d2e;
}

.tto-stm-gate-divider {
	margin: 1.5rem 0;
	border: 0;
	border-top: 1px solid #dcdcde;
}

.tto-stm-video-fallback {
	margin-top: 1rem;
}

/* Quiz */
.tto-stm-quiz-form {
	margin-top: 0.5rem;
}

.tto-stm-quiz-progress {
	font-weight: 600;
	margin-bottom: 1rem;
}

.tto-stm-quiz-list {
	margin: 0;
	padding-left: 1.25rem;
}

.tto-stm-quiz-item {
	margin: 1.25rem 0;
}

.tto-stm-quiz-q {
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.tto-stm-quiz-choices label {
	margin-right: 1.25rem;
	cursor: pointer;
}

.tto-stm-quiz-nav {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

/* Wizard: one panel at a time */
.tto-stm-wizard {
	margin-top: 1rem;
}

.tto-stm-wizard-panel--hidden {
	display: none !important;
}

/* Top step headings (all steps visible; current highlighted) */
.tto-stm-wizard-stephead {
	margin: 0 0 1.25rem;
	padding: 0 0 1rem;
	border-bottom: 1px solid #dcdcde;
}

.tto-stm-wizard-stephead-title {
	margin: 0 0 0.75rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: #1d2327;
}

.tto-stm-wizard-steplist {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tto-stm-wizard-stepitem {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	padding: 0.45rem 0.65rem;
	border-radius: 6px;
	background: #f0f0f1;
	color: #50575e;
	font-size: 0.9rem;
	border: 1px solid transparent;
}

.tto-stm-wizard-stepitem.is-past {
	background: #edfaef;
	border-color: #c3e6c8;
	color: #1d2327;
}

.tto-stm-wizard-stepitem.is-current {
	background: #fff;
	border-color: #2271b1;
	color: #1d2327;
	font-weight: 600;
	box-shadow: 0 0 0 1px #2271b1;
}

.tto-stm-wizard-stepitem.is-future {
	opacity: 0.85;
}

.tto-stm-wizard-stepnum {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.5rem;
	height: 1.5rem;
	padding: 0 0.3rem;
	border-radius: 50%;
	background: #dcdcde;
	color: #1d2327;
	font-size: 0.75rem;
	font-weight: 700;
}

.tto-stm-wizard-stepitem.is-current .tto-stm-wizard-stepnum {
	background: #2271b1;
	color: #fff;
}

.tto-stm-wizard-stepitem.is-past .tto-stm-wizard-stepnum {
	background: #00a32a;
	color: #fff;
}

.tto-stm-wizard-steplabel {
	line-height: 1.25;
}

.tto-stm-wizard-progress {
	font-weight: 600;
	font-size: 1.05rem;
	margin: 0 0 1.25rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid #dcdcde;
}

.tto-stm-quiz-form--locked .tto-stm-quiz-submit {
	opacity: 0.5;
	cursor: not-allowed;
}

/* ------------------------------
 * Supervisor Training redesign
 * ------------------------------ */
.tto-stm-shell {
	--stm-red: #d32f2f;
	--stm-red-dark: #b71c1c;
	--stm-red-light: #ffebee;
	--stm-green: #2e7d32;
	--stm-green-light: #e8f5e9;
	--stm-blue-light: #e3f2fd;
	--stm-blue-border: #90caf9;
	--stm-gray-50: #fafafa;
	--stm-gray-100: #f5f5f5;
	--stm-gray-200: #eeeeee;
	--stm-gray-300: #e0e0e0;
	--stm-gray-400: #bdbdbd;
	--stm-gray-500: #9e9e9e;
	--stm-gray-600: #757575;
	--stm-gray-700: #616161;
	--stm-gray-800: #424242;
	--stm-gray-900: #212121;
	--stm-white: #ffffff;
	--stm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
	--stm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.07);
	--stm-radius: 10px;
	--stm-radius-sm: 6px;
	--stm-transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
	max-width: 900px;
	padding: 36px 20px 60px;
}

.tto-stm-shell h2 {
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	font-weight: 300;
	color: var(--stm-gray-800);
	margin: 0 0 28px;
	letter-spacing: -0.5px;
}

.tto-stm-heading-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 22px;
}

.tto-stm-heading-row h2 {
	margin: 0;
}

.tto-stm-logout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 14px;
	border: 1px solid var(--stm-gray-300);
	border-radius: 8px;
	background: #fff;
	color: var(--stm-gray-700);
	font-size: 0.84rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: var(--stm-transition);
}

.tto-stm-logout-btn:hover {
	border-color: var(--stm-red);
	color: var(--stm-red);
	text-decoration: none;
}

.tto-stm-wizard-stephead-title {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--stm-gray-500);
	margin: 0 0 10px;
}

.tto-stm-wizard-stephead {
	border: 0;
	padding: 0;
	margin: 0 0 28px;
}

.tto-stm-wizard-steplist {
	gap: 6px;
}

.tto-stm-wizard-stepitem {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 14px 7px 8px;
	border-radius: 50px;
	border: 2px solid var(--stm-gray-300);
	background: var(--stm-white);
	color: var(--stm-gray-500);
	font-size: 0.82rem;
	font-weight: 600;
}

.tto-stm-wizard-stepnum {
	width: 24px;
	height: 24px;
	min-width: 24px;
	padding: 0;
	border-radius: 999px;
	background: var(--stm-gray-300);
	color: var(--stm-gray-600);
}

.tto-stm-wizard-stepitem.is-past {
	border-color: var(--stm-green);
	color: var(--stm-green);
	background: var(--stm-white);
}

.tto-stm-wizard-stepitem.is-past .tto-stm-wizard-stepnum {
	background: var(--stm-green);
	color: var(--stm-white);
}

.tto-stm-wizard-stepitem.is-current {
	border-color: var(--stm-red);
	box-shadow: var(--stm-shadow-sm);
	color: var(--stm-gray-900);
	background: var(--stm-white);
}

.tto-stm-wizard-stepitem.is-current .tto-stm-wizard-stepnum {
	background: var(--stm-red);
	color: var(--stm-white);
}

.tto-stm-wizard-progress {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--stm-gray-500);
	border: 0;
	padding: 0;
	margin: 0 0 4px;
}

.tto-stm-notice {
	padding: 13px 18px;
	border-radius: var(--stm-radius-sm);
	font-size: 0.9rem;
	border: 0;
	margin-bottom: 24px;
}

.tto-stm-notice.notice-success {
	background: var(--stm-green-light);
	border-left: 4px solid var(--stm-green);
}

.tto-stm-notice.notice-warning {
	background: #fff8e1;
	border-left: 4px solid #f9a825;
}

.tto-stm-notice.notice-error {
	background: #ffebee;
	border-left: 4px solid var(--stm-red);
}

.tto-stm-gate,
.tto-stm-section {
	background: var(--stm-white);
	border: 0;
	border-radius: var(--stm-radius);
	box-shadow: var(--stm-shadow-md);
	padding: 32px 36px;
	margin: 0 0 22px;
	scroll-margin-top: 1rem;
}

.tto-stm-gate-divider {
	background: var(--stm-gray-200);
	border: 0;
	height: 1px;
	margin: 28px 0;
}

.tto-stm-gate-title,
.tto-stm-section-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--stm-gray-900);
	margin: 0 0 6px;
}

.tto-stm-gate-text,
.tto-stm-section-hint,
.tto-stm-gate-signed-in {
	font-size: 0.85rem;
	color: var(--stm-gray-500);
	margin: 0 0 18px;
}

.tto-stm-input,
.tto-stm-form-row .input-text {
	padding: 10px 13px;
	border: 1.5px solid var(--stm-gray-300);
	border-radius: var(--stm-radius-sm);
	font-size: 0.9rem;
	background: var(--stm-white);
	color: var(--stm-gray-900);
}

.tto-stm-input:focus,
.tto-stm-form-row .input-text:focus {
	border-color: var(--stm-red);
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
	outline: none;
}

.tto-stm-signup-card,
.tto-stm-signup-submit {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	max-width: none;
}

.tto-stm-signup-fieldset {
	padding: 0;
}

.tto-stm-signup-card-sub {
	border: 0;
	padding: 0;
	margin-bottom: 24px;
}

.tto-stm-signup-grid {
	gap: 16px;
}

.tto-stm-signup-row {
	gap: 16px;
}

.tto-stm-signup-row--1 {
	grid-template-columns: minmax(0, 1fr) !important;
}

#tto_stm_reg_address {
	width: 100%;
	max-width: 100%;
}

.tto-stm-signup-cell label {
	font-size: 0.82rem;
	color: var(--stm-gray-700);
	margin-bottom: 5px;
}

.tto-stm-pass-toggle:hover {
	background: transparent;
	color: var(--stm-gray-700);
}

.tto-stm-pass-wrap.is-visible .tto-stm-pass-toggle {
	color: var(--stm-red);
}

.tto-stm-signup-hint {
	font-size: 0.76rem;
	color: var(--stm-gray-500);
	margin-top: 2px;
}

.tto-stm-gate-price {
	font-size: 0.9rem;
	margin-bottom: 8px;
	color: var(--stm-gray-600);
}

.tto-stm-payment-profile-note,
.tto-stm-gate-banner--info {
	background: var(--stm-blue-light);
	border-left: 3px solid var(--stm-blue-border);
	color: #1565c0;
	border-radius: 0 var(--stm-radius-sm) var(--stm-radius-sm) 0;
	padding: 12px 15px;
}

.tto-stm-credit-box {
	border: 1.5px solid var(--stm-gray-300);
	border-radius: var(--stm-radius-sm);
	padding: 0;
	gap: 0;
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	overflow: hidden;
	min-height: 50px;
	background: #fff;
}

.tto-stm-credit-box:focus-within {
	border-color: var(--stm-red);
	box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.tto-stm-credit-box__icon {
	padding: 0 14px;
	height: 50px;
	width: 50px;
	background: var(--stm-gray-50);
	border-right: 1px solid var(--stm-gray-200);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.tto-stm-credit-box input {
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	max-width: none !important;
	width: auto !important;
	min-width: 0;
	height: 50px;
	padding: 0 14px;
	font-size: 0.9rem;
	line-height: 1;
}

.tto-stm-credit-box__number {
	flex: 1 1 auto;
	width: 100% !important;
}

.tto-stm-credit-box__exp,
.tto-stm-credit-box__cvv {
	flex: 0 0 92px;
	width: 92px !important;
	text-align: center;
	padding: 0 10px !important;
}

.tto-stm-credit-box__exp {
	flex-basis: 140px;
	width: 140px !important;
}

.tto-stm-credit-box__number::placeholder,
.tto-stm-credit-box__exp::placeholder,
.tto-stm-credit-box__cvv::placeholder {
	color: var(--stm-gray-500);
}

.tto-stm-credit-box .sep {
	width: 1px;
	background: var(--stm-gray-200);
	height: 40px;
	flex-shrink: 0;
}

.tto-stm-gate--payment .tto-stm-actions .button-primary {
	min-height: 40px;
	padding: 11px 26px;
	white-space: nowrap;
}

@media (max-width: 580px) {
	.tto-stm-credit-box {
		flex-wrap: wrap;
	}

	.tto-stm-credit-box__number {
		flex: 1 1 100%;
		border-bottom: 1px solid var(--stm-gray-200) !important;
	}

	.tto-stm-credit-box .sep {
		display: none;
	}

	.tto-stm-credit-box__exp,
	.tto-stm-credit-box__cvv {
		flex: 1 1 50%;
		width: 50% !important;
		height: 46px;
	}
}

.tto-stm-actions .button,
.tto-stm-actions .tto-stm-btn,
.tto-stm-wizard-actions .button,
.tto-stm-quiz-nav .button,
.tto-stm-quiz-submit {
	border-radius: var(--stm-radius-sm);
	border: none;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 11px 22px;
	transition: var(--stm-transition);
}

.tto-stm-actions .button-primary,
.tto-stm-wizard-actions .button-primary,
.tto-stm-quiz-nav .button-primary,
.tto-stm-quiz-submit {
	background: var(--stm-red);
	color: var(--stm-white);
	box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.tto-stm-actions .button-primary:hover,
.tto-stm-wizard-actions .button-primary:hover,
.tto-stm-quiz-nav .button-primary:hover,
.tto-stm-quiz-submit:hover {
	background: var(--stm-red-dark);
}

.tto-stm-actions .button-secondary,
.tto-stm-quiz-nav .button {
	background: transparent;
	color: var(--stm-gray-700);
	border: 1.5px solid var(--stm-gray-300);
}

.tto-stm-quiz-progress-bar-wrap {
	height: 4px;
	background: var(--stm-gray-200);
	border-radius: 2px;
	margin-bottom: 22px;
	overflow: hidden;
}

.tto-stm-quiz-progress-bar {
	height: 100%;
	width: 0%;
	background: var(--stm-red);
	transition: width 0.4s ease;
}

.tto-stm-quiz-progress {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--stm-gray-500);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tto-stm-quiz-list {
	list-style: none;
	padding-left: 0;
}

.tto-stm-quiz-context {
	margin: 0 0 12px;
	padding: 10px 12px;
	border: 1px solid var(--stm-gray-200);
	border-radius: var(--stm-radius-sm);
	background: #fff;
}

/* Admin request: hide quiz context intro blocks above questions (keep General Requirements visible) */
.tto-stm .tto-stm-quiz-context--case,
.tto-stm .tto-stm-quiz-context--scenario {
	display: none !important;
}

.tto-stm-quiz-context-title {
	margin: 0 0 4px;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--stm-gray-600);
}

.tto-stm-quiz-context p {
	margin: 0;
	font-size: 0.86rem;
	color: var(--stm-gray-700);
}

.tto-stm-quiz-docs {
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid var(--stm-gray-200);
	border-radius: var(--stm-radius-sm);
	background: #fff;
}

.tto-stm-quiz-docs-title {
	margin: 0 0 6px;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--stm-gray-600);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.tto-stm-quiz-docs-embeds {
	margin: 0 0 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tto-stm-quiz-docs-embeds:last-child {
	margin-bottom: 0;
}

.tto-stm-quiz-doc-embed {
	min-height: 62vh;
	height: 62vh;
	max-height: 760px;
}

.tto-stm-quiz-section-title {
	margin: 8px 0 10px;
	padding: 6px 10px;
	background: #f8f9fb;
	border: 1px solid var(--stm-gray-200);
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--stm-gray-600);
}

.tto-stm-quiz-case-context {
	margin: 6px 0 12px;
	padding: 12px 14px;
	border: 1px solid var(--stm-gray-200);
	border-left: 4px solid var(--stm-blue-border);
	border-radius: 6px;
	background: #f8fbff;
}

.tto-stm-quiz-case-context p {
	margin: 0 0 8px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--stm-gray-700);
}

.tto-stm-quiz-case-context p:last-child {
	margin-bottom: 0;
}

.tto-stm-quiz-case-context--scenario-doc {
	padding: 14px 16px;
	background: #fbfdff;
}

.tto-stm-quiz-case-context--scenario-doc .tto-stm-scenario-line {
	font-size: 0.96rem;
	line-height: 1.65;
	color: #374151;
}

.tto-stm-quiz-case-context--scenario-doc .tto-stm-scenario-line--intro {
	font-weight: 600;
	color: #1f2937;
}

.tto-stm-quiz-case-context--scenario-doc .tto-stm-scenario-line--heading {
	margin-top: 10px;
	padding-top: 8px;
	border-top: 1px dashed #cbd5e1;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #0f172a;
}

.tto-stm-quiz-case-title {
	margin: 0 0 4px !important;
	font-weight: 700;
	color: var(--stm-gray-900) !important;
}

.tto-stm-quiz-item {
	margin-bottom: 20px;
	padding: 16px 18px;
	background: var(--stm-gray-50);
	border-radius: var(--stm-radius-sm);
	border: 1.5px solid var(--stm-gray-200);
}

/* Multi-part Q3a–Q3d: one outer card, divider between rows only */
.tto-stm-quiz-group-shell {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.tto-stm-quiz-group {
	margin: 0;
	padding: 0;
	background: var(--stm-gray-50);
	border-radius: var(--stm-radius-sm);
	border: 1.5px solid var(--stm-gray-200);
	overflow: hidden;
}

.tto-stm-quiz-item--grouped {
	margin: 0 !important;
	padding: 16px 18px;
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.tto-stm-quiz-item--grouped:not(:last-child) {
	border-bottom: 1px solid var(--stm-gray-200) !important;
}

.tto-stm-quiz-group .tto-stm-quiz-item--grouped.tto-stm-quiz-item--correct {
	border-color: transparent !important;
	background: transparent !important;
	box-shadow: none !important;
}

.tto-stm-quiz-group.is-correct {
	border-color: #16a34a !important;
	box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.18);
}

.tto-stm-quiz-item--wrong {
	border-color: var(--stm-gray-200) !important;
	box-shadow: none;
}

.tto-stm-quiz-item--correct {
	border-color: #16a34a !important;
	box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.18);
}

.tto-stm-quiz-explanation {
	margin-top: 10px;
	padding: 10px 12px;
	border: 1px solid #b6e3c4;
	border-left: 4px solid #16a34a;
	border-radius: 6px;
	background: #f0fdf4;
}

.tto-stm-quiz-explanation-label {
	display: block;
	margin-bottom: 4px;
	font-size: 0.8rem;
	color: #166534;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.tto-stm-quiz-explanation p {
	margin: 0 0 8px;
	font-size: 0.9rem;
	color: #14532d;
	line-height: 1.45;
}

.tto-stm-quiz-explanation p:last-child {
	margin-bottom: 0;
}

.tto-stm-quiz-explanation.is-hidden {
	display: none;
}

/* Live show/hide under Yes/No without requiring JS. */
.tto-stm-quiz-item:has(input[type='radio'][value='yes']:checked) .tto-stm-quiz-explanation.is-correct-yes,
.tto-stm-quiz-item:has(input[type='radio'][value='no']:checked) .tto-stm-quiz-explanation.is-correct-no {
	display: block;
}

.tto-stm-quiz-q {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--stm-gray-800);
	margin-bottom: 12px;
}

.tto-stm-quiz-choices {
	display: flex;
	gap: 14px;
}

.tto-stm-quiz-choices--multi {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	max-width: 560px;
}

.tto-stm-checkbox-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 10px 14px;
	border: 1.5px solid var(--stm-gray-300);
	border-radius: var(--stm-radius-sm);
	font-size: 0.88rem;
	color: var(--stm-gray-700);
	cursor: pointer;
	transition: var(--stm-transition);
}

.tto-stm-checkbox-option input[type='checkbox'] {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	accent-color: var(--stm-red);
	cursor: pointer;
}

.tto-stm-checkbox-option:has(input:checked) {
	border-color: var(--stm-red);
	background: var(--stm-red-light);
}

.tto-stm-checkbox-text {
	line-height: 1.45;
}

/* Scenario Part 1 — narrative + instructions above the interview checklist */
.tto-stm-scenario-part1-intro {
	margin: 0 0 1.5rem;
	padding: 1.25rem 1.35rem;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	background: #fafbfc;
	color: var(--stm-gray-800);
}

.tto-stm-scenario-part1-intro__part {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #1d2327;
	letter-spacing: -0.02em;
}

.tto-stm-scenario-part1-intro__headline {
	margin: 0 0 0.85rem;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--stm-red-dark);
	line-height: 1.35;
	letter-spacing: 0.02em;
}

.tto-stm-scenario-part1-intro__lead {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #374151;
}

.tto-stm-scenario-part1-intro__instructions {
	margin: 0 0 1.15rem;
	font-size: 0.88rem;
	line-height: 1.6;
	color: #374151;
}

.tto-stm-scenario-part1-intro__instructions strong {
	color: #1d2327;
	font-weight: 700;
}

.tto-stm-scenario-part1-intro__scenario-h {
	margin: 1.15rem 0 0.5rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #111827;
	text-transform: uppercase;
}

.tto-stm-scenario-part1-intro__body {
	margin: 0 0 0.35rem;
	font-size: 0.88rem;
	line-height: 1.58;
	color: #4b5563;
}

.tto-stm-scenario-part1-intro__checklist-hint {
	margin: 1.1rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid #e5e7eb;
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.5;
	color: #1d2327;
}

/* Scenario readings: full text above the Interview checklist table */
.tto-stm-scenario-part1-readings {
	margin: 0 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.tto-stm-scenario-reading-card {
	padding: 1rem 1.15rem;
	border: 1px solid #d0d7de;
	border-radius: 12px;
	background: #fff;
}

.tto-stm-scenario-reading-card__title {
	margin: 0 0 0.5rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--stm-gray-900);
}

.tto-stm-scenario-reading-card__body {
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.58;
	color: #334155;
	white-space: pre-wrap;
}

.tto-stm-interview-checklist-section {
	margin: 0 0 1rem;
}

/* Full scenario story directly above the numbered checklist for that row */
.tto-stm-scenario-narrative {
	margin: 0 0 14px;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.tto-stm-scenario-narrative__text {
	margin: 0;
	font-size: 0.86rem;
	line-height: 1.58;
	color: #334155;
}

/* Scenario checklist: interview checklist table; blocks wrap checkbox groups per row */
.tto-stm-scenario-block {
	margin: 0 0 22px;
}

.tto-stm-scenario-block:last-of-type {
	margin-bottom: 8px;
}

.tto-stm-icl-td-actions .tto-stm-scenario-block {
	margin: 0;
}

.tto-stm-interview-checklist {
	width: 100%;
	border-collapse: collapse;
	border: 2px solid var(--stm-gray-800);
	margin: 0;
	background: #fff;
	table-layout: auto;
}

.tto-stm-icl-banner {
	background: var(--stm-gray-900);
	color: #fff;
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 11px 14px;
	text-align: center;
	border-bottom: 2px solid var(--stm-gray-800);
}

.tto-stm-interview-checklist thead th {
	border: 1px solid var(--stm-gray-700);
	font-weight: 700;
	vertical-align: middle;
}

.tto-stm-icl-th-spacer {
	width: 14% !important;
	min-width: 130px !important;
	padding: 8px 10px;
	border: 1px solid var(--stm-gray-700);
	background: var(--stm-gray-800);
	color: #fff;
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
}

.tto-stm-icl-th-actions {
	background: var(--stm-gray-800);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 600;
	text-align: left;
	line-height: 1.35;
	padding: 10px 12px;
	text-transform: none;
	letter-spacing: 0;
}

.tto-stm-icl-th-was,
.tto-stm-icl-th-valid,
.tto-stm-icl-th-invalid {
	background: var(--stm-gray-800);
	color: #fff;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-align: center;
	padding: 8px 8px;
}

.tto-stm-interview-checklist tbody td {
	border: 1px solid var(--stm-gray-300);
	vertical-align: top;
	padding: 0;
	font-size: 0.88rem;
}

.tto-stm-icl-td-scenario {
	width: 14% !important;
	min-width: 130px !important;
	background: var(--stm-gray-50);
	vertical-align: top !important;
	padding: 10px !important;
}

.tto-stm-icl-scenario-label {
	display: block;
	font-weight: 800;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--stm-gray-900);
	line-height: 1.3;
}

.tto-stm-icl-question-sub {
	display: block;
	margin-top: 8px;
	font-weight: 600;
	font-size: 0.78rem;
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--stm-gray-700);
	line-height: 1.35;
}

.tto-stm-icl-actions-inner {
	display: flex;
	flex-direction: column;
}

.tto-stm-icl-td-actions .tto-stm-scenario-choice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 10px 12px;
	border: none;
	border-radius: 0;
	border-bottom: 1px solid var(--stm-gray-200);
	cursor: pointer;
	transition: background 0.15s ease;
}

.tto-stm-icl-td-actions .tto-stm-scenario-choice:last-child {
	border-bottom: none;
}

.tto-stm-icl-td-valid,
.tto-stm-icl-td-invalid {
	width: 16%;
	min-width: 120px;
	padding: 12px !important;
	font-size: 0.84rem;
	line-height: 1.45;
	vertical-align: top !important;
}

.tto-stm-icl-td-valid {
	background: rgba(22, 163, 74, 0.04);
}

.tto-stm-icl-td-invalid {
	background: rgba(185, 28, 28, 0.04);
}

.tto-stm-icl-cell-placeholder {
	color: var(--stm-gray-400);
}

.tto-stm-icl-vi-list {
	margin: 0;
	padding-left: 1.1rem;
	color: var(--stm-gray-800);
}

.tto-stm-icl-vi-empty {
	margin: 0;
	color: var(--stm-gray-500);
	font-size: 0.82rem;
	font-style: italic;
}

/* After submit: only the learner's checked rows — green = correct pick, red = incorrect pick */
.tto-stm-scenario-choice--result-correct:has(input:checked) {
	border-color: transparent !important;
	background: rgba(22, 163, 74, 0.12) !important;
	box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.35);
}

.tto-stm-scenario-choice--result-wrong:has(input:checked) {
	border-color: transparent !important;
	background: rgba(185, 28, 28, 0.1) !important;
	box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.4);
}

.tto-stm-scenario-choice--result-correct:has(input:checked) .tto-stm-checkbox-text,
.tto-stm-scenario-choice--result-wrong:has(input:checked) .tto-stm-checkbox-text {
	color: var(--stm-gray-900);
}

.tto-stm-scenario-choice--result-correct input[type='checkbox'] {
	accent-color: #16a34a;
}

.tto-stm-scenario-choice--result-wrong input[type='checkbox'] {
	accent-color: #b91c1c;
}

@media (max-width: 720px) {
	.tto-stm-interview-checklist,
	.tto-stm-interview-checklist thead,
	.tto-stm-interview-checklist tbody,
	.tto-stm-interview-checklist tr,
	.tto-stm-interview-checklist th,
	.tto-stm-interview-checklist td {
		display: block;
		width: 100%;
	}

	.tto-stm-interview-checklist thead {
		display: none;
	}

	.tto-stm-icl-td-scenario {
		width: 100%;
		min-width: 0;
		border-bottom: 2px solid var(--stm-gray-800);
	}

	.tto-stm-icl-td-valid::before {
		content: 'Valid';
		display: block;
		font-weight: 800;
		font-size: 0.72rem;
		text-transform: uppercase;
		color: #15803d;
		margin-bottom: 6px;
	}

	.tto-stm-icl-td-invalid::before {
		content: 'Invalid';
		display: block;
		font-weight: 800;
		font-size: 0.72rem;
		text-transform: uppercase;
		color: #b91c1c;
		margin-bottom: 6px;
	}
}

.tto-stm-radio-option {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border: 1.5px solid var(--stm-gray-300);
	border-radius: 999px;
	font-size: 0.88rem;
	color: var(--stm-gray-700);
	cursor: pointer;
	transition: var(--stm-transition);
}

.tto-stm-radio-option input[type='radio'] {
	display: none;
}

.tto-stm-radio-dot {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid var(--stm-gray-400);
	position: relative;
}

.tto-stm-radio-option:has(input:checked) {
	border-color: var(--stm-red);
	background: var(--stm-red-light);
	color: var(--stm-red-dark);
}

.tto-stm-radio-option:has(input:checked) .tto-stm-radio-dot {
	border-color: var(--stm-red);
	background: var(--stm-red);
}

.tto-stm-radio-option:has(input:checked) .tto-stm-radio-dot::after {
	content: '';
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	background: #fff;
}

/* Quiz: immediate feedback — green = correct, red = wrong (overrides default red “selected” pill) */
.tto-stm-radio-option.tto-stm-choice--correct:has(input:checked) {
	border-color: #16a34a !important;
	background: #f0fdf4 !important;
	color: #166534 !important;
}

.tto-stm-radio-option.tto-stm-choice--correct:has(input:checked) .tto-stm-radio-dot {
	border-color: #16a34a !important;
	background: #16a34a !important;
}

.tto-stm-radio-option.tto-stm-choice--wrong:has(input:checked) {
	border-color: #dc2626 !important;
	background: #fef2f2 !important;
	color: #991b1b !important;
}

.tto-stm-radio-option.tto-stm-choice--wrong:has(input:checked) .tto-stm-radio-dot {
	border-color: #dc2626 !important;
	background: #dc2626 !important;
}

.tto-stm-checkbox-option.tto-stm-choice--correct {
	border-color: #16a34a !important;
	background: #f0fdf4 !important;
	color: #166534 !important;
}

.tto-stm-checkbox-option.tto-stm-choice--correct input[type='checkbox'] {
	accent-color: #16a34a;
}

.tto-stm-checkbox-option.tto-stm-choice--wrong {
	border-color: #dc2626 !important;
	background: #fef2f2 !important;
	color: #991b1b !important;
}

.tto-stm-checkbox-option.tto-stm-choice--wrong input[type='checkbox'] {
	accent-color: #dc2626;
}

.tto-stm-cert-success {
	text-align: center;
	padding: 20px 0 10px;
}

.tto-stm-cert-icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--stm-green-light);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	margin: 0 auto 18px;
}

.tto-stm-cert-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--stm-gray-900);
	margin-bottom: 8px;
}

.tto-stm-cert-sub {
	font-size: 0.9rem;
	color: var(--stm-gray-600);
	max-width: 380px;
	margin: 0 auto 24px;
}

.tto-stm-cert-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
}

.tto-stm-cert-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 24px;
	min-height: 46px;
	border: 2px solid var(--stm-red);
	border-radius: 8px;
	color: var(--stm-red);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	letter-spacing: 0;
	text-decoration: none;
	transition: var(--stm-transition);
}

.tto-stm-cert-download svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	transform: translateY(1px);
}

.tto-stm-cert-download:hover {
	background: var(--stm-red);
	color: #fff;
	text-decoration: none;
}

.tto-stm-cert-download--book {
	border-color: #0f766e;
	color: #0f766e;
}

.tto-stm-cert-download--book:hover {
	background: #0f766e;
	color: #fff;
}

.tto-stm-cert-note {
	font-size: 0.8rem;
	color: var(--stm-gray-500);
	margin-top: 16px;
}

/* Compact preview; full page scaled via #view=Fit on iframe src (Chrome/Edge/Firefox PDF viewers) */
.tto-stm-cert-preview-wrap {
	margin: 0 auto 16px;
	max-width: 480px;
	width: 100%;
}

.tto-stm-cert-preview {
	display: block;
	width: 100%;
	height: min(340px, 42vh);
	border: 1px solid var(--stm-gray-300);
	border-radius: var(--stm-radius-sm);
	background: #f8f8f8;
	overflow: hidden;
}

.tto-stm .step-meta {
	font-size: 0.78rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--stm-gray-500);
	margin-bottom: 4px;
}

.tto-stm .tto-stm-section .divider {
	height: 1px;
	background: var(--stm-gray-200);
	margin: 8px 0 18px !important;
	border: 0;
}

.tto-stm .step-name {
	font-size: 1rem;
	font-weight: 600;
	color: var(--stm-gray-700);
	margin-bottom: 16px;
}

/* Continue + Watch again on one row when both are present */
.tto-stm-video-post-actions {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 12px 16px;
	max-width: 760px;
	margin: 0 auto;
}

.tto-stm-video-post-actions .tto-stm-video-continue-wrap,
.tto-stm-video-post-actions .tto-stm-video-watch-again-wrap {
	margin: 0;
	text-align: center;
}

/* Saving progress after Continue (video): shown on quiz step while AJAX finishes */
.tto-stm-wizard-saving-banner {
	display: none;
	align-items: center;
	gap: 10px;
	padding: 11px 16px;
	margin: 0 0 14px;
	border-radius: 10px;
	background: #e0f2fe;
	color: #0c4a6e;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	border: 1px solid #7dd3fc;
	box-sizing: border-box;
}

.tto-stm-wizard-saving-banner.is-visible {
	display: flex;
}

.tto-stm-wizard-saving-banner--error {
	background: #fef2f2;
	color: #991b1b;
	border-color: #fecaca;
}

.tto-stm-wizard-saving-banner__spinner {
	width: 20px;
	height: 20px;
	border: 2px solid rgba(12, 74, 110, 0.28);
	border-top-color: #0369a1;
	border-radius: 50%;
	animation: tto-stm-spin 0.85s linear infinite;
	flex-shrink: 0;
}

.tto-stm-wizard-next-video:disabled {
	opacity: 0.65;
	cursor: wait;
	pointer-events: none;
}

.tto-stm-video-watch-again-wrap {
	margin: 12px auto 0;
	text-align: center;
	max-width: 760px;
}

.tto-stm-watch-again-video {
	background: transparent !important;
	color: var(--stm-gray-700) !important;
	border: 1.5px solid var(--stm-gray-300) !important;
	box-shadow: none !important;
}

.tto-stm-watch-again-video:hover {
	background: var(--stm-gray-100) !important;
	color: var(--stm-gray-900) !important;
	border-color: var(--stm-gray-400) !important;
}

.tto-stm-video-wrap {
	width: 100%;
	max-width: 760px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, #37474f 0%, #263238 100%);
	border-radius: var(--stm-radius-sm);
	overflow: hidden;
	position: relative;
}

.tto-stm-video-wrap .tto-stm-video,
.tto-stm-video-wrap iframe,
.tto-stm-video-wrap video,
.tto-stm-video-wrap .tto-stm-video-iframe {
	width: 100%;
	height: auto;
	border: 0;
	display: block;
	aspect-ratio: 16 / 9;
	object-fit: contain;
}

.tto-stm-loader {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 26, 31, 0.35);
	z-index: 3;
	pointer-events: none;
}

.tto-stm-loader.is-hidden {
	display: none;
}

.tto-stm-loader__spinner {
	width: 34px;
	height: 34px;
	border: 3px solid rgba(255, 255, 255, 0.35);
	border-top-color: #fff;
	border-radius: 50%;
	animation: tto-stm-spin 0.9s linear infinite;
}

@keyframes tto-stm-spin {
	to {
		transform: rotate(360deg);
	}
}

.tto-stm-pdf-embed-wrap {
	position: relative;
}

.tto-stm-pdf-embed-wrap .tto-stm-loader {
	background: rgba(255, 255, 255, 0.7);
}

.tto-stm-pdf-embed-wrap .tto-stm-loader__spinner {
	border-color: rgba(0, 0, 0, 0.2);
	border-top-color: #5f6b76;
}

.tto-stm-quiz-nav {
	align-items: center;
}

.tto-stm-quiz-prev::before {
	content: '\2190';
	margin-right: 7px;
}

.tto-stm-quiz-next::after {
	content: '\2192';
	margin-left: 7px;
}

/* Intro landing — same width as step/wizard (inside .tto-stm-shell); no extra top/bottom strip */
.tto-stm-intro-landing {
	margin: 0;
	padding: 0;
	background: transparent;
	box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
	width: 100%;
	max-width: 100%;
}

.tto-stm-intro-design-container {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 35px clamp(16px, 3vw, 24px) 40px;
	text-align: center;
	background: linear-gradient(to bottom, #ffffff 20%, #8fa8c9 55%, #e6c27a 100%);
	box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
}

/* Banner: no extra padding above the image */
.tto-stm-intro-design-container--has-banner {
	padding-top: 0;
}

/* Header: raster banner — white strip, edge-to-edge, scaled & centered (avoids stretched/huge look) */
.tto-stm-intro-top-logo--direct {
	display: block;
	width: calc(100% + 2 * clamp(16px, 3vw, 24px));
	max-width: none;
	margin-left: calc(-1 * clamp(16px, 3vw, 24px));
	margin-right: calc(-1 * clamp(16px, 3vw, 24px));
	margin-bottom: 0;
	padding: 0;
	line-height: 0;
	background: #fff;
	border-radius: 10px 10px 0 0;
	box-sizing: border-box;
}

.tto-stm-intro-top-logo--direct .tto-stm-intro-top-logo-img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: clamp(80px, 20vw, 132px);
	margin: 0 auto;
	padding: 0;
	vertical-align: top;
	border: 0;
	mix-blend-mode: normal;
	filter: none;
	object-fit: contain;
	object-position: center center;
}

.tto-stm-intro-design-subtitle {
	color: #f28c28;
	font-size: 22px;
	font-weight: 600;
	margin: 8px 0 22px;
}

/* Tight under the banner: small gap only */
.tto-stm-intro-top-logo--direct + .tto-stm-intro-design-subtitle {
	margin-top: 8px;
	margin-bottom: 22px;
}

.tto-stm-intro-design-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: clamp(24px, 8vw, 55px);
	margin-bottom: 12px;
	flex-wrap: wrap;
}

.tto-stm-intro-design-icons img {
	width: 48px;
	height: auto;
	opacity: 0.95;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.22));
}

.tto-stm-intro-arrow-section {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(24px, 5.5vw, 48px);
	margin: 8px 0 18px;
	flex-wrap: wrap;
}

/*
 * Block arrows — blue fill, black outline; bounding box is square (--arr-s = width = height).
 * Shaft ~62% of span, head ~38%; shaft height ~52% of side (head/triangle sets overall height).
 */
.tto-stm-intro-arrow {
	--arr-blue: #4a7bb7;
	--arr-s: clamp(40px, 10vw, 56px);
	--arr-head-w: calc(var(--arr-s) * 0.375);
	--arr-shaft-w: calc(var(--arr-s) - var(--arr-head-w));
	--arr-shaft-h: calc(var(--arr-s) * 0.52);
	--arr-half: calc(var(--arr-s) / 2);
	width: var(--arr-shaft-w);
	min-width: var(--arr-shaft-w);
	height: var(--arr-shaft-h);
	background: var(--arr-blue);
	position: relative;
	flex-shrink: 0;
	border: 1px solid #000;
	border-right: none;
	box-sizing: border-box;
}

/* Black outline triangle (1px larger than fill) */
.tto-stm-intro-arrow::before {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: var(--arr-half) 0 var(--arr-half) calc(var(--arr-head-w) + 1px);
	border-color: transparent transparent transparent #000;
	box-sizing: border-box;
	z-index: 0;
	margin-left: -1px;
}

/* Blue triangle (inset 1px inside black outline) */
.tto-stm-intro-arrow::after {
	content: "";
	position: absolute;
	left: 100%;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: calc(var(--arr-half) - 1px) 0 calc(var(--arr-half) - 1px) calc(var(--arr-head-w) - 1px);
	border-color: transparent transparent transparent var(--arr-blue);
	z-index: 1;
	margin-left: -1px;
}

.tto-stm-intro-arrow--left {
	transform: rotate(180deg);
}

.tto-stm-intro-design-start {
	font-size: 20px;
	font-weight: 700;
	color: #2e5090;
	letter-spacing: 0.5px;
	background: none;
	border: 0;
	padding: 8px clamp(20px, 4.5vw, 36px);
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.2;
	-webkit-appearance: none;
	appearance: none;
	flex: 0 0 auto;
}

.tto-stm-intro-design-start:hover,
.tto-stm-intro-design-start:focus,
.tto-stm-intro-design-start:active {
	text-decoration: underline;
	color: #1f3d6b;
	background: none;
	background-color: transparent;
	box-shadow: none;
}

.tto-stm-intro-design-start:focus-visible {
	outline: 2px solid #2e5090;
	outline-offset: 3px;
}

.tto-stm-intro-design-content {
	color: #2d4f8b;
	font-weight: 600;
	line-height: 1.6;
	font-size: 17px;
}

.tto-stm-intro-design-small {
	margin-top: 22px;
	color: #2d4f8b;
	font-size: 14.5px;
	line-height: 1.5;
}

.tto-stm-intro-design-small p {
	margin: 10px 0;
}

.tto-stm-intro-footer-logo img {
	width: 95px;
	height: auto;
	margin: 22px 0 8px;
}

.tto-stm-intro-design-footer {
	font-size: 13.5px;
	color: #333;
	line-height: 1.4;
}

.tto-stm-intro-design-footer a {
	color: #333;
	text-decoration: none;
}

.tto-stm-intro-design-footer a:hover,
.tto-stm-intro-design-footer a:focus-visible {
	text-decoration: underline;
	outline: none;
}

@media (max-width: 600px) {
	.tto-stm-intro-design-container {
		padding: 24px clamp(14px, 4vw, 22px) 28px;
	}

	.tto-stm-intro-arrow-section {
		gap: clamp(18px, 5vw, 32px);
	}

	.tto-stm-intro-arrow {
		--arr-s: 40px;
	}
}

@media (max-width: 580px) {
	.tto-stm-gate,
	.tto-stm-section {
		padding: 22px 18px;
	}
	.tto-stm-signup-row--2,
	.tto-stm-signup-row--3,
	.tto-stm-signup-row--address-org {
		grid-template-columns: 1fr !important;
	}
	.tto-stm-quiz-choices {
		flex-wrap: wrap;
	}
}

/* Quiz: styled modal (replaces browser alert) */
#tto-stm-quiz-modal.tto-stm-quiz-modal {
	position: fixed;
	inset: 0;
	z-index: 100080;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	box-sizing: border-box;
}

#tto-stm-quiz-modal.tto-stm-quiz-modal[hidden] {
	display: none !important;
}

.tto-stm-quiz-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.48);
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}

.tto-stm-quiz-modal__panel {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: auto;
	padding: 1.65rem 1.5rem 1.4rem;
	background: #fff;
	border-radius: 16px;
	box-shadow:
		0 4px 6px -1px rgba(0, 0, 0, 0.08),
		0 24px 48px -12px rgba(0, 0, 0, 0.22);
	text-align: center;
	border: 1px solid rgba(0, 0, 0, 0.06);
	animation: tto-stm-modal-in 0.22s ease-out;
}

@keyframes tto-stm-modal-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.tto-stm-quiz-modal__icon {
	width: 52px;
	height: 52px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

.tto-stm-quiz-modal--error .tto-stm-quiz-modal__icon {
	background: linear-gradient(145deg, #fef2f2 0%, #fee2e2 100%);
	color: #b91c1c;
	border: 2px solid #fecaca;
}

.tto-stm-quiz-modal--error .tto-stm-quiz-modal__icon::before {
	content: '!';
}

.tto-stm-quiz-modal--info .tto-stm-quiz-modal__icon {
	background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
	color: #1d4ed8;
	border: 2px solid #bfdbfe;
}

.tto-stm-quiz-modal--info .tto-stm-quiz-modal__icon::before {
	content: 'i';
	font-style: italic;
	font-family: Georgia, 'Times New Roman', serif;
}

.tto-stm-quiz-modal__heading {
	margin: 0 0 10px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.tto-stm-quiz-modal__text {
	margin: 0 0 1.35rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #475569;
}

.tto-stm-quiz-modal__btn.tto-stm-quiz-modal__btn {
	min-width: 120px;
	border-radius: 999px;
	padding: 12px 28px;
	font-weight: 700;
	letter-spacing: 0.04em;
	box-shadow: 0 2px 12px rgba(211, 47, 47, 0.35);
}

.tto-stm-quiz-modal--info .tto-stm-quiz-modal__btn.tto-stm-quiz-modal__btn {
	box-shadow: 0 2px 12px rgba(37, 99, 235, 0.25);
	background: #2563eb;
}

.tto-stm-quiz-modal--info .tto-stm-quiz-modal__btn.tto-stm-quiz-modal__btn:hover {
	background: #1d4ed8;
}
