.sa-presentation {
	--sa-bg: #f5f7fc;
	--sa-ink: #061f44;
	--sa-muted: #4d6078;
	--sa-border: #c8d4e5;
	--sa-primary: #003f82;
	--sa-primary-dark: #002f63;
	--sa-secondary: #003f82;
	--sa-soft: #eef3fa;
	color: var(--sa-ink);
	font-family: inherit;
	margin: 24px auto;
	max-width: 1120px;
	width: 100%;
}

.sa-presentation *,
.sa-presentation *::before,
.sa-presentation *::after {
	box-sizing: border-box;
}

.sa-presentation [hidden] {
	display: none !important;
}

.sa-choice {
	background: var(--sa-bg);
	border: 1px solid var(--sa-border);
	border-radius: 8px;
	box-shadow: 0 1px 0 rgba(0, 63, 130, 0.08);
	padding: clamp(24px, 4vw, 44px);
	text-align: center;
}

.sa-choice-title {
	color: var(--sa-ink);
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 22px;
}

.sa-choice-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.sa-choice-button,
.sa-reset-button,
.sa-nav-button,
.sa-dot {
	cursor: pointer;
	font: inherit;
}

.sa-choice-button {
	background: #ffffff;
	border: 1px solid var(--sa-secondary);
	border-radius: 6px;
	color: var(--sa-secondary);
	font-weight: 700;
	line-height: 1.3;
	min-height: 46px;
	padding: 12px 18px;
}

.sa-choice-button-accessible {
	background: var(--sa-primary);
	border-color: var(--sa-primary);
	color: #ffffff;
}

.sa-choice-button:hover,
.sa-choice-button:focus-visible {
	background: #eaf1fb;
	border-color: var(--sa-primary);
	color: var(--sa-primary) !important;
}

.sa-choice-button-accessible:hover,
.sa-choice-button-accessible:focus-visible {
	background: #ffffff !important;
	border-color: var(--sa-primary);
	color: var(--sa-primary) !important;
}

.sa-view {
	outline: none;
}

.sa-view-toolbar {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-bottom: 12px;
}

.sa-presentation-title {
	color: var(--sa-primary);
	font-size: clamp(1.35rem, 2.2vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
	text-align: left;
}

.sa-reset-button {
	background: transparent;
	border: 0;
	color: var(--sa-secondary);
	font-weight: 700;
	padding: 6px 0;
	text-decoration: underline;
}

.sa-stage {
	background: #101820;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.sa-slide-image {
	background: #101820;
	display: block;
	height: auto;
	max-height: 72vh;
	object-fit: contain;
	width: 100%;
}

.sa-presentation .sa-stage > video.sa-libras-video {
	aspect-ratio: 16 / 9 !important;
	background: #000000;
	border: 2px solid #ffffff;
	border-radius: 6px;
	bottom: 16px !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
	display: block !important;
	height: auto !important;
	left: auto !important;
	max-height: 34% !important;
	max-width: none !important;
	min-height: 0 !important;
	min-width: 0 !important;
	object-fit: cover;
	position: absolute !important;
	right: 16px !important;
	top: auto !important;
	width: 16.666666% !important;
	z-index: 2;
}

.sa-presentation .sa-stage > video.sa-libras-video[hidden] {
	display: none !important;
}

.sa-explanation {
	background: var(--sa-soft);
	border-left: 4px solid var(--sa-primary);
	border-radius: 6px;
	color: var(--sa-ink);
	font-size: 1rem;
	line-height: 1.7;
	margin-top: 14px;
	padding: 16px 18px;
}

.sa-explanation p {
	margin: 0 0 0.85rem;
}

.sa-explanation p:last-child {
	margin-bottom: 0;
}

.sa-stage-controls {
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 3;
}

.sa-controls {
	align-items: center;
	display: flex;
	justify-content: center;
	margin-top: 16px;
}

.sa-nav-button {
	align-items: center;
	background: var(--sa-primary);
	border: 0;
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	font-size: 2rem;
	height: 44px;
	justify-content: center;
	line-height: 1;
	padding: 0 0 4px;
	pointer-events: auto;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
}

.sa-nav-button-prev {
	left: 44px;
}

.sa-nav-button-next {
	right: 44px;
}

.sa-nav-button:hover,
.sa-nav-button:focus-visible {
	background: var(--sa-primary-dark);
}

.sa-nav-button:disabled {
	background: #c8d0d6;
	color: #6b7280;
	cursor: not-allowed;
}

.sa-counter {
	color: var(--sa-muted);
	font-weight: 700;
	min-width: 112px;
	text-align: center;
}

.sa-dots {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
	margin-top: 14px;
}

.sa-dot {
	background: #ffffff;
	border: 1px solid var(--sa-muted);
	border-radius: 999px;
	font-size: 0;
	height: 13px;
	padding: 0;
	width: 13px;
}

.sa-dot[aria-current="step"] {
	background: var(--sa-primary);
	border-color: var(--sa-primary);
	transform: scale(1.18);
}

.sa-choice-button:focus-visible,
.sa-reset-button:focus-visible,
.sa-nav-button:focus-visible,
.sa-dot:focus-visible {
	outline: 3px solid #f59e0b;
	outline-offset: 3px;
}

.slide-acessivel-empty {
	background: #fff8e1;
	border-left: 4px solid #d97706;
	padding: 12px 14px;
}

@media (max-width: 700px) {
	.sa-presentation {
		margin: 16px auto;
	}

	.sa-choice {
		padding: 22px 16px;
	}

	.sa-choice-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.sa-choice-button {
		width: 100%;
	}

	.sa-view-toolbar {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.sa-presentation-title {
		font-size: 1.35rem;
	}

	.sa-presentation .sa-stage > video.sa-libras-video {
		bottom: 8px !important;
		right: 8px !important;
	}

	.sa-explanation {
		font-size: 0.98rem;
		padding: 14px;
	}

	.sa-controls {
		margin-top: 12px;
	}

	.sa-nav-button {
		font-size: 1.65rem;
		height: 40px;
		width: 40px;
	}

	.sa-nav-button-prev {
		left: 12px;
	}

	.sa-nav-button-next {
		right: 12px;
	}

	.sa-counter {
		min-width: 96px;
	}
}
