@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap");

/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/*
 * Shared client layout wrapper
 * Ensures all internal (client) pages have a consistent neutral background
 */
.client-layout {
	background: #f5f3f1;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.client-layout__main {
	flex: 1 0 auto;
}

.client-layout__chrome,
.client-layout__footer {
	width: 100%;
}

.client-layout__footer {
	margin-top: auto;
}

.cookie-banner {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	font-family: "Inter", Helvetica, Arial, sans-serif;
}

.cookie-banner.is-visible {
	display: flex;
}

.cookie-banner__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
}

.cookie-banner__content {
	position: relative;
	max-width: 560px;
	width: 100%;
	padding: 24px;
	border-radius: 16px;
	background: rgba(41, 41, 41, 0.95);
	color: #fff;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cookie-banner__text {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.4;
}

.cookie-banner__privacy {
	color: #fff;
	text-decoration: underline;
	font-size: 0.95em;
}

.cookie-banner__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cookie-btn {
	appearance: none;
	border: none;
	cursor: pointer;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	transition: background-color 0.2s ease;
}

.cookie-btn--primary {
	background-color: #ff7324;
	color: #fff;
}

.cookie-btn--primary:hover {
	background-color: #ff6915;
}

.cookie-btn--secondary {
	background-color: #fff;
	color: #000;
}

.cookie-btn--secondary:hover {
	background-color: #ededed;
}

.cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 10001;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
	font-family: "Inter", Helvetica, Arial, sans-serif;
}

.cookie-modal.is-visible {
	display: flex;
}

.cookie-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}

.cookie-modal__content {
	position: relative;
	width: 100%;
	max-width: 520px;
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
	color: #292929;
}

.cookie-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.cookie-modal__title {
	margin: 0;
	font-size: 20px;
}

.cookie-modal__close {
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	line-height: 1;
}

.cookie-modal__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #eee;
}

.cookie-modal__option:last-child {
	border-bottom: none;
}

.cookie-modal__label {
	font-weight: 600;
}

.cookie-modal__footer {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.cookie-toggle {
	position: relative;
	display: inline-block;
	width: 46px;
	height: 26px;
}

.cookie-toggle input {
	opacity: 0;
	width: 0;
	height: 0;
}

.cookie-toggle__slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: 0.2s;
	border-radius: 999px;
}

.cookie-toggle__slider:before {
	position: absolute;
	content: "";
	height: 20px;
	width: 20px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: 0.2s;
	border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
	background-color: #ff7324;
}

.cookie-toggle input:checked + .cookie-toggle__slider:before {
	transform: translateX(20px);
}

@media (max-width: 640px) {
	.cookie-banner__content,
	.cookie-modal__content {
		padding: 18px;
	}

	.cookie-banner__actions {
		flex-direction: column;
	}
}

.tests-statistics {
	max-width: 980px;
	margin: 24px 0;
	padding: 20px;
	border: 1px solid #ddd;
	border-radius: 12px;
	background: #fafafa;
}

.tests-statistics__content[hidden],
.tests-statistics__skeleton[hidden] {
	display: none !important;
}

.tests-statistics__skeleton-periods {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: #f5f3f1;
	margin-bottom: 16px;
}

.tests-statistics__skeleton-pill {
	display: block;
	height: 32px;
	border-radius: 8px;
	background: #ece8e4;
}

.tests-statistics__card--skeleton {
	justify-content: flex-start;
	gap: 12px;
}

.tests-statistics__skeleton-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.tests-statistics__skeleton-col {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 6px;
}

.tests-statistics__skeleton-bone {
	display: inline-block;
	border-radius: 8px;
	background: linear-gradient(100deg, #ece8e4 25%, #f3f1ee 38%, #ece8e4 51%);
	background-size: 250% 100%;
	animation: tests-statistics-skeleton-shimmer 1.35s linear infinite;
}

.tests-statistics__skeleton-bone--metric {
	height: 52px;
	width: 96px;
}

.tests-statistics__skeleton-bone--split {
	height: 16px;
	width: 38px;
	border-radius: 6px;
}

.tests-statistics__skeleton-bone--label {
	height: 14px;
	width: 70%;
}

@keyframes tests-statistics-skeleton-shimmer {
	0% {
		background-position: 100% 0;
	}

	100% {
		background-position: -100% 0;
	}
}

.tests-exam-progress {
	max-width: 980px;
	margin: 24px 0 16px;
	padding: 16px 22px;
	border-radius: 20px;
	background: #efefef;
	display: flex;
	align-items: center;
	gap: 16px;
}

.tests-exam-progress__icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #9a9a9a;
	color: #fff;
	font-size: 26px;
	line-height: 34px;
	text-align: center;
	flex-shrink: 0;
}

.tests-exam-progress__text {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #111;
	line-height: 1.2;
	white-space: nowrap;
}

.tests-exam-progress__bar {
	flex: 1;
	height: 28px;
	border-radius: 999px;
	background: #e0e0e0;
	overflow: hidden;
}

.tests-exam-progress__bar-value {
	height: 100%;
	background: #43b02a;
	border-radius: inherit;
}

.tests-statistics__title {
	margin: 0 0 14px;
	font-size: 24px;
}

.tests-statistics__periods {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
}

.tests-statistics__period {
	appearance: none;
	border: 1px solid #ccc;
	border-radius: 999px;
	padding: 8px 14px;
	background: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
}

.tests-statistics__period.is-active {
	background: #222;
	color: #fff;
	border-color: #222;
}

.tests-statistics__panel {
	display: none;
}

.tests-statistics__panel.is-active {
	display: block;
}

.tests-statistics__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.tests-statistics__card {
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 10px;
	padding: 14px;
}

.tests-statistics__metric {
	margin: 0 0 6px;
	font-size: 42px;
	line-height: 1;
	font-weight: 700;
}

.tests-statistics__label {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
}

.tests-statistics__details {
	margin: 0;
	color: #666;
	font-size: 14px;
}

@media (max-width: 860px) {
	.tests-exam-progress {
		padding: 14px;
		gap: 12px;
		flex-wrap: wrap;
	}

	.tests-exam-progress__text {
		font-size: 18px;
		white-space: normal;
	}

	.tests-exam-progress__bar {
		flex-basis: 100%;
		height: 20px;
	}

	.tests-statistics__cards {
		grid-template-columns: 1fr;
	}

	.tests-statistics__metric {
		font-size: 34px;
	}
}

.tests-failed-answers-page {
	margin-top: 24px;
}

.tests-failed-answers-page__top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 16px;
}

.tests-failed-answers-page__back {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dedede;
	border-radius: 12px;
	text-decoration: none;
	color: #111;
	font-size: 18px;
	line-height: 1;
	box-sizing: border-box;
	background: #f5f3f1;
}

.tests-failed-answers-page__title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
}

.tests-failed-answers-page__grid {
	display: grid;
	grid-template-columns: 416px minmax(0, 856px);
	gap: 24px;
	align-items: start;
}

.tests-failed-answers-page__summary {
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
	width: 100%;
}

.tests-failed-answers-page__summary-media {
	height: 250px;
	background: #ffa194;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}

.tests-failed-answers-page__summary-image {
	width: 307px;
	height: 307px;
	object-fit: contain;
	object-position: center top;
}

.tests-failed-answers-page__summary-body {
	background: #fff;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 0 0 16px 16px;
}

.tests-failed-answers-page__summary-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tests-failed-answers-page__summary-title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
}

.tests-failed-answers-page__summary-description {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.6);
}

.tests-failed-answers-page__summary-separator {
	height: 1px;
	background: #dedede;
	width: 100%;
}

.tests-failed-answers-page__summary-total {
	display: flex;
	gap: 16px;
	align-items: center;
}

.tests-failed-answers-page__summary-total-value {
	margin: 0;
	font-size: 80px;
	line-height: 90px;
	font-weight: 500;
	color: #111;
	white-space: nowrap;
}

.tests-failed-answers-page__summary-total-caption {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #111;
	max-width: 172px;
}

.tests-failed-answers-page__topics {
	min-height: 452px;
}

.tests-failed-answers-page__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 416px));
	gap: 24px;
	align-items: start;
}

.tests-failed-answers-page__column {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.tests-failed-answers-page__topic-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tests-failed-answers-page__topic-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.tests-failed-answers-page__topic-meta {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.tests-failed-answers-page__topic-order {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.5);
}

.tests-failed-answers-page__topic-name {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
	word-break: break-word;
}

.tests-failed-answers-page__topic-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 80px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	white-space: nowrap;
	color: #fff;
	background: #fa5e2f;
	flex-shrink: 0;
}

.tests-failed-answers-page__questions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tests-failed-answers-page__question-link {
	text-decoration: none;
	color: #111;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px;
	border: 1px solid #dedede;
	border-radius: 12px;
	background: #fff;
}

.tests-failed-answers-page__question-copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.tests-failed-answers-page__question-order {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.5);
}

.tests-failed-answers-page__question-text {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #111;
	overflow: hidden;
	display: -webkit-box;
	line-clamp: 2;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.tests-failed-answers-page__question-arrow {
	font-size: 16px;
	line-height: 1;
	color: #111;
	flex-shrink: 0;
}

.tests-failed-answers-page__state {
	margin: 0;
	padding: 24px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: #111;
	border: 1px solid #dedede;
	border-radius: 12px;
	background: #fff;
}

@media (max-width: 1100px) {
	.tests-failed-answers-page__grid {
		grid-template-columns: 1fr;
	}

	.tests-failed-answers-page__summary {
		max-width: 416px;
	}

	.tests-failed-answers-page__columns {
		grid-template-columns: 1fr;
		max-width: 416px;
	}
}

@media (max-width: 700px) {
	.tests-failed-answers-page__top {
		gap: 12px;
		margin-bottom: 12px;
	}

	.tests-failed-answers-page__title,
	.tests-failed-answers-page__summary-title {
		font-size: 24px;
		line-height: 1.1;
	}

	.tests-failed-answers-page__summary-media {
		height: 200px;
	}

	.tests-failed-answers-page__summary-image {
		width: 245px;
		height: 245px;
	}

	.tests-failed-answers-page__summary-body,
	.tests-failed-answers-page__topic-card,
	.tests-failed-answers-page__question-link,
	.tests-failed-answers-page__state {
		padding: 16px;
	}

	.tests-failed-answers-page__summary-total-value {
		font-size: 64px;
		line-height: 72px;
	}

	.tests-failed-answers-page__topic-name {
		font-size: 20px;
		line-height: 24px;
	}

	.tests-failed-answers-page__topic-head {
		flex-direction: column;
		gap: 12px;
	}
}

.tests-chapters-body {
	background: #f5f3f1;
}

.tests-chapters-page {
	margin-top: 24px;
}

.tests-chapters-page__top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 16px;
}

.tests-chapters-page__back {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #dedede;
	border-radius: 12px;
	text-decoration: none;
	color: #111;
	font-size: 18px;
	line-height: 1;
	box-sizing: border-box;
}

.tests-chapters-page__title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
}

.tests-chapters-page__grid {
	display: grid;
	grid-template-columns: 416px minmax(0, 856px);
	gap: 24px;
	align-items: start;
}

.tests-chapters-page__summary {
	border-radius: 16px;
	overflow: hidden;
	background: transparent;
	width: 100%;
}

.tests-chapters-page__summary-media {
	height: 250px;
	background: #e6ccee;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: hidden;
	border-radius: 16px 16px 0 0;
}

.tests-chapters-page__summary-image {
	width: 307px;
	height: 307px;
	object-fit: contain;
	object-position: center top;
	margin-top: 0;
}

.tests-chapters-page__summary-body {
	background: #fff;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	border-radius: 0 0 16px 16px;
}

.tests-chapters-page__summary-title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
}

.tests-chapters-page__summary-description {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.6);
}

.tests-chapters-page__summary-progress-skeleton {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tests-chapters-page__summary-progress-skeleton[hidden],
[data-tests-chapters-progress-content][hidden] {
	display: none !important;
}

.tests-chapters-page__summary-skeleton-progress-row {
	display: flex;
	gap: 16px;
	align-items: center;
}

.tests-chapters-page__summary-skeleton-continue {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tests-chapters-page__summary-skeleton-continue-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tests-chapters-page__summary-skeleton-bone {
	display: inline-block;
	border-radius: 8px;
	background: linear-gradient(100deg, #ece8e4 25%, #f3f1ee 38%, #ece8e4 51%);
	background-size: 250% 100%;
	animation: tests-statistics-skeleton-shimmer 1.35s linear infinite;
	flex-shrink: 0;
}

.tests-chapters-page__summary-skeleton-bone--separator {
	height: 1px;
	width: 100%;
	border-radius: 1px;
}

.tests-chapters-page__summary-skeleton-bone--percent {
	width: 110px;
	height: 90px;
}

.tests-chapters-page__summary-skeleton-bone--progress-text {
	width: 172px;
	height: 48px;
}

.tests-chapters-page__summary-skeleton-bone--continue-label {
	width: 84px;
	height: 16px;
}

.tests-chapters-page__summary-skeleton-bone--continue-topic {
	width: 214px;
	height: 20px;
	flex: 1;
}

.tests-chapters-page__summary-skeleton-bone--badge {
	width: 76px;
	height: 28px;
	border-radius: 80px;
}

.tests-chapters-page__summary-separator {
	height: 1px;
	background: #dedede;
	width: 100%;
}

.tests-chapters-page__summary-progress {
	display: flex;
	gap: 16px;
	align-items: center;
}

.tests-chapters-page__summary-percent {
	margin: 0;
	color: #111;
	line-height: 1;
	white-space: nowrap;
	font-size: 0;
	font-weight: 500;
	letter-spacing: 0;
}

.tests-chapters-page__summary-percent-value {
	font-size: 80px;
	line-height: 90px;
}

.tests-chapters-page__summary-percent-sign {
	font-size: 24px;
	line-height: 90px;
	vertical-align: baseline;
	margin-left: 2px;
}

.tests-chapters-page__summary-progress-text {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #111;
	max-width: 172px;
}

.tests-chapters-page__summary-continue {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tests-chapters-page__summary-continue-label {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.6);
}

.tests-chapters-page__summary-continue-row {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
}

.tests-chapters-page__summary-continue-row-link {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
}

.tests-chapters-page__summary-continue-row-link[aria-disabled="true"] {
	cursor: default;
}

.tests-chapters-page__summary-continue-topic {
	margin: 0;
	font-size: 16px;
	line-height: 20px;
	font-weight: 500;
	color: #111;
	flex: 1;
	min-width: 0;
}

.tests-chapters-page__summary-badge,
.tests-chapters-page__topic-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 12px;
	border-radius: 80px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	white-space: nowrap;
	color: rgba(17, 17, 17, 0.5);
	background: #f5f3f1;
	flex-shrink: 0;
}

.tests-chapters-page__summary-badge.is-active,
.tests-chapters-page__topic-badge.is-active {
	background: #48b525;
	color: #fff;
}

.tests-chapters-page__topics {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	min-height: 452px;
}

.tests-chapters-page__topics-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.tests-chapters-page__topic-item {
	margin: 0;
	padding: 0;
}

.tests-chapters-page__topic-form {
	margin: 0;
	width: 100%;
}

.tests-chapters-page__topic-button {
	appearance: none;
	width: 100%;
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 24px;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 12px;
	text-align: left;
	cursor: pointer;
	font-family: inherit;
	color: #111;
	box-sizing: border-box;
}

.tests-chapters-page__topic-content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	min-width: 0;
}

.tests-chapters-page__topic-order {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: rgba(17, 17, 17, 0.5);
}

.tests-chapters-page__topic-name {
	font-size: 16px;
	line-height: 20px;
	font-weight: 500;
	color: #111;
}

.tests-chapters-page__topic-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	padding-left: 24px;
	min-width: 16px;
	font-size: 16px;
	line-height: 1;
	color: #111;
	flex-shrink: 0;
}

.tests-chapters-page__topic-arrow::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1px;
	height: 40px;
	background: #dedede;
}

.tests-chapters-page__state {
	margin: 0;
	padding: 24px;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: #111;
	border: 1px solid #dedede;
	border-radius: 12px;
	background: #fff;
}

@media (max-width: 1100px) {
	.tests-chapters-page__grid {
		grid-template-columns: 1fr;
	}

	.tests-chapters-page__summary {
		max-width: 416px;
	}
}

@media (max-width: 700px) {
	.tests-chapters-page__top {
		gap: 12px;
		margin-bottom: 12px;
	}

	.tests-chapters-page__title,
	.tests-chapters-page__summary-title {
		font-size: 24px;
		line-height: 1.1;
	}

	.tests-chapters-page__summary-media {
		height: 200px;
	}

	.tests-chapters-page__summary-image {
		width: 245px;
		height: 245px;
	}

	.tests-chapters-page__summary-body,
	.tests-chapters-page__topics,
	.tests-chapters-page__topic-button,
	.tests-chapters-page__state {
		padding: 16px;
	}

	.tests-chapters-page__summary-progress {
		align-items: flex-start;
	}

	.tests-chapters-page__summary-skeleton-progress-row {
		align-items: flex-start;
	}

	.tests-chapters-page__summary-percent-value {
		font-size: 64px;
		line-height: 72px;
	}

	.tests-chapters-page__summary-percent-sign {
		line-height: 72px;
	}

	.tests-chapters-page__topic-button {
		gap: 12px;
	}

	.tests-chapters-page__summary-skeleton-bone--percent {
		width: 92px;
		height: 72px;
	}

	.tests-chapters-page__summary-skeleton-bone--progress-text {
		width: 148px;
		height: 42px;
	}

	.tests-chapters-page__summary-skeleton-bone--continue-topic {
		width: 160px;
	}

	.tests-chapters-page__topic-arrow {
		padding-left: 14px;
	}
}

.tests-dashboard {
	box-sizing: border-box;
	max-width: 1320px;
	margin: 24px auto;
	padding: 0 12px 24px;
	font-family: "Poppins", "Inter", Helvetica, Arial, sans-serif;
	color: #111;
}

.tests-dashboard--chrome {
	margin-bottom: 0;
	padding-bottom: 0;
}

.tests-dashboard--chrome .tests-dashboard__header {
	margin-bottom: 0;
}

.tests-dashboard--chrome-footer {
	margin-top: 0;
}

.tests-dashboard button,
.tests-dashboard input,
.tests-dashboard select,
.tests-dashboard textarea {
	font: inherit;
}

.tests-dashboard__header {
	display: flex;
	align-items: center;
	gap: 24px;
	background: #fff;
	padding: 16px 24px;
	border-radius: 16px;
	margin-bottom: 24px;
}

.tests-dashboard__logo {
	text-decoration: none;
	color: #111;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
}

.tests-dashboard__logo span {
	color: #fe6aba;
}

.tests-dashboard__logo:visited {
	color: #111;
}

.tests-dashboard__nav {
	display: inline-flex;
	background: #f5f3f1;
	padding: 4px;
	border-radius: 12px;
	gap: 4px;
}

.tests-dashboard__nav-link {
	text-decoration: none;
	color: #111;
	font-size: 14px;
	line-height: 16px;
	padding: 8px 16px;
	border-radius: 8px;
}

.tests-dashboard__nav-link.is-active {
	background: #fff;
	font-weight: 600;
}

.tests-dashboard__header-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 16px;
}

.tests-dashboard__ghost-button {
	appearance: none;
	-webkit-appearance: none;
	text-decoration: none;
	border: 1px solid #dedede;
	color: #111;
	font-size: 14px;
	font-weight: 500;
	line-height: 16px;
	/* Unify anchor and native button sizing */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 16px;
	box-sizing: border-box;
	border-radius: 12px;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
}

.tests-dashboard__logout-form {
	margin: 0;
}

.tests-dashboard__account {
	display: inline-flex;
	align-items: flex-start;
	text-decoration: none;
	position: relative;
	height: 40px;
}

.tests-dashboard__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	font-weight: 700;
	background: linear-gradient(145deg, #ffcb6b, #f28f3f);
	color: #111;
}

.tests-dashboard__flag {
	width: 18px;
	height: 18px;
	position: absolute;
	right: -4px;
	top: -2px;
	border-radius: 50%;
	border: 2px solid #f5f3f1;
	background: #fff;
}

.tests-dashboard__premium-button {
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 700;
	color: #111;
	background: linear-gradient(102deg, #ffc045 2%, #ffd66b 50%, #ffae3b 106%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.tests-dashboard__premium-star {
	font-size: 12px;
}

.tests-dashboard__top-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 416px;
	gap: 40px;
	margin-bottom: 16px;
}

.tests-dashboard__top-row > * {
	min-width: 0;
}

.tests-dashboard__top-row-main {
	min-width: 0;
}

.tests-dashboard .tests-exam-progress {
	margin: 0;
	padding: 24px;
	max-width: none;
	border-radius: 16px;
	background: #fff;
	gap: 16px;
	min-width: 0;
}

.tests-dashboard .tests-exam-progress__icon {
	width: 24px;
	height: 24px;
	line-height: 24px;
	font-size: 14px;
	background: #d8d8d8;
	color: #fff;
}

.tests-dashboard .tests-exam-progress__text {
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
}

.tests-dashboard .tests-exam-progress__bar {
	max-width: 280px;
	height: 16px;
	min-width: 140px;
	flex: 0 1 280px;
	background: #f5f3f1;
}

.tests-dashboard__failed-card {
	text-decoration: none;
	color: #111;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 24px;
	border-radius: 16px;
	background: linear-gradient(90deg, rgba(250, 94, 47, 0.2) 0%, rgba(250, 94, 47, 0.2) 100%);
	font-size: 16px;
	font-weight: 500;
}

.tests-dashboard__failed-card.is-success {
	background: linear-gradient(90deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.2) 100%);
	flex-wrap: wrap;
	row-gap: 8px;
}

.tests-dashboard__failed-icon {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #fa5e2f;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.tests-dashboard__failed-card.is-success .tests-dashboard__failed-icon {
	background: #4caf50;
}

.tests-dashboard__failed-label {
	flex: 1;
}

.tests-dashboard__failed-count {
	white-space: nowrap;
}

.tests-dashboard__failed-cta-hint {
	font-size: 12px;
	line-height: 14px;
	color: rgba(17, 17, 17, 0.72);
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid rgba(17, 17, 17, 0.08);
	white-space: nowrap;
}

.tests-dashboard__failed-card.is-success .tests-dashboard__failed-count {
	white-space: normal;
}

.tests-dashboard__failed-card.is-success .tests-dashboard__failed-cta-hint {
	flex: 1 0 100%;
}

.tests-dashboard__failed-card.is-success .tests-dashboard__failed-arrow {
	margin-left: auto;
}

.tests-dashboard__failed-arrow {
	font-size: 24px;
	line-height: 1;
}

.tests-dashboard__account-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 416px;
	gap: 24px;
	margin-bottom: 16px;
}

.tests-dashboard__subscription-card,
.tests-dashboard__settings-card {
	border-radius: 16px;
	padding: 24px;
	position: relative;
	overflow: hidden;
	animation: tests-dashboard-card-reveal 420ms ease both;
}

.tests-dashboard__subscription-card {
	background: radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.6), transparent 46%), linear-gradient(124deg, #f8ecff 4%, #f1f8ff 52%, #f8f4ea 104%);
	border: 1px solid #e2e7f1;
	box-shadow: 0 14px 36px rgba(57, 73, 103, 0.1);
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 230px;
}

.tests-dashboard__subscription-card::after {
	content: "";
	position: absolute;
	width: 170px;
	height: 170px;
	right: -58px;
	top: -70px;
	background: rgba(255, 255, 255, 0.52);
	border-radius: 50%;
	pointer-events: none;
}

.tests-dashboard__subscription-card--premium {
	background: radial-gradient(circle at 90% 16%, rgba(255, 255, 255, 0.56), transparent 45%), linear-gradient(124deg, #e8ffe8 6%, #c8f5c8 50%, #ddffdd 100%);
	border-color: #8bd18b;
}

.tests-dashboard__subscription-card--trial {
	background: radial-gradient(circle at 90% 16%, rgba(255, 255, 255, 0.56), transparent 45%), linear-gradient(124deg, #e8f8ff 6%, #d9f0ff 50%, #f3f9ff 100%);
	border-color: #b8ddf6;
}

.tests-dashboard__subscription-card--limited {
	background: radial-gradient(circle at 90% 16%, rgba(255, 255, 255, 0.56), transparent 45%), linear-gradient(124deg, #fff3eb 8%, #ffeadf 54%, #fff6ef 100%);
	border-color: #f3cfbb;
}

.tests-dashboard__subscription-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	position: relative;
	z-index: 1;
}

.tests-dashboard__subscription-eyebrow {
	margin: 0;
	font-size: 12px;
	line-height: 14px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
	color: rgba(17, 17, 17, 0.62);
}

.tests-dashboard__status-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(17, 17, 17, 0.08);
	color: #111;
	white-space: nowrap;
}

.tests-dashboard__status-chip--premium {
	background: rgba(236, 255, 236, 0.92);
	border-color: rgba(65, 145, 65, 0.35);
	color: #206520;
}

.tests-dashboard__status-chip--trial {
	background: rgba(236, 250, 255, 0.9);
	border-color: rgba(47, 123, 171, 0.25);
	color: #1f628e;
}

.tests-dashboard__status-chip--limited {
	background: rgba(255, 244, 237, 0.95);
	border-color: rgba(214, 118, 75, 0.24);
	color: #a74f2e;
}

.tests-dashboard__subscription-title {
	margin: 0;
	font-size: 32px;
	line-height: 1;
	font-weight: 600;
	position: relative;
	z-index: 1;
}

.tests-dashboard__subscription-summary {
	margin: 0;
	font-size: 14px;
	line-height: 18px;
	max-width: 640px;
	color: rgba(17, 17, 17, 0.78);
	position: relative;
	z-index: 1;
}

.tests-dashboard__subscription-dates {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	position: relative;
	z-index: 1;
}

.tests-dashboard__subscription-date-item {
	padding: 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(17, 17, 17, 0.08);
	min-height: 72px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 6px;
}

.tests-dashboard__subscription-date-label,
.tests-dashboard__subscription-date-value {
	margin: 0;
}

.tests-dashboard__subscription-date-label {
	font-size: 12px;
	line-height: 14px;
	color: rgba(17, 17, 17, 0.6);
}

.tests-dashboard__subscription-date-value {
	font-size: 16px;
	line-height: 20px;
	font-weight: 600;
	color: #111;
	word-break: break-word;
}

.tests-dashboard__cta--status {
	min-width: 0;
	width: fit-content;
	position: relative;
	z-index: 1;
	margin-top: 4px;
}

.tests-dashboard__settings-card {
	background: #fff;
	border: 1px solid #dedede;
	display: flex;
	flex-direction: column;
	gap: 14px;
	box-shadow: 0 10px 24px rgba(17, 17, 17, 0.05);
	animation-delay: 90ms;
	min-height: 230px;
}

.tests-dashboard__settings-title,
.tests-dashboard__benefits-title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 600;
	color: #111;
}

.tests-dashboard__language-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tests-dashboard__language-item {
	padding: 12px;
	border-radius: 12px;
	background: #f8f8f8;
	border: 1px solid #ececec;
	min-height: 70px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
}

.tests-dashboard__language-label,
.tests-dashboard__language-value,
.tests-dashboard__settings-hint {
	margin: 0;
}

.tests-dashboard__language-label {
	font-size: 12px;
	line-height: 14px;
	color: rgba(17, 17, 17, 0.6);
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.tests-dashboard__language-value {
	font-size: 15px;
	line-height: 20px;
	font-weight: 600;
	color: #111;
	word-break: break-word;
}

.tests-dashboard__settings-hint {
	font-size: 13px;
	line-height: 18px;
	color: #5f5f5f;
	padding: 0 2px;
}

.tests-dashboard__settings-divider {
	height: 1px;
	background: #ededed;
}

.tests-dashboard__benefits-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.tests-dashboard__benefits-list li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	line-height: 18px;
	color: rgba(17, 17, 17, 0.82);
}

.tests-dashboard__benefits-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, #79d45d, #48b525);
	box-shadow: 0 0 0 2px rgba(72, 181, 37, 0.15);
}

@keyframes tests-dashboard-card-reveal {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tests-dashboard__main-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 416px;
	gap: 24px;
	margin-bottom: 16px;
}

.tests-dashboard__hero-card {
	background: #feebb9;
	border-radius: 16px;
	min-height: 444px;
	padding: 48px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	overflow: hidden;
}

.tests-dashboard__hero-content {
	max-width: 380px;
	position: relative;
	z-index: 2;
}

.tests-dashboard__hero-badge {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(17, 17, 17, 0.09);
	color: #111;
	margin-bottom: 16px;
}

.tests-dashboard__hero-title {
	margin: 0 0 10px;
	font-size: 52px;
	line-height: 60px;
	font-weight: 700;
}

.tests-dashboard__hero-description {
	margin: 0 0 24px;
	font-size: 14px;
	line-height: 16px;
	color: rgba(17, 17, 17, 0.8);
}

.tests-dashboard__hero-limit {
	margin: 0 0 20px;
	font-size: 13px;
	line-height: 18px;
	font-weight: 600;
	color: #6a4b00;
	max-width: 340px;
}

.tests-dashboard__hero-limit.is-exhausted {
	color: #8a2f1a;
}

.tests-dashboard__hero-bull {
	position: absolute;
	right: -36px;
	top: -40px;
	width: 600px;
	height: 600px;
	object-fit: contain;
	object-position: center;
	pointer-events: none;
	z-index: 1;
}

.tests-dashboard__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 226px;
	max-width: 100%;
	padding: 12px 16px;
	box-sizing: border-box;
	border-radius: 12px;
	background: #111;
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	line-height: 16px;
	font-weight: 600;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.tests-dashboard__cta.is-premium {
	background: linear-gradient(102deg, #ffc045 2%, #ffd66b 50%, #ffae3b 106%);
	color: #111;
	font-weight: 700;
}

.tests-dashboard__cta.is-premium::before {
	content: "✦";
	font-size: 12px;
	margin-right: 8px;
}

.tests-dashboard__cta.is-disabled {
	background: #8f8f8f;
	color: #fff;
	box-shadow: none;
	pointer-events: none;
}

.tests-dashboard__hero-lock {
	top: 24px;
	right: 24px;
	z-index: 3;
}

.tests-dashboard__cta--hero {
	min-width: 0;
	max-width: 100%;
}

.tests-dashboard__hero-card .tests-dashboard__cta--hero:not(.is-premium) {
	background: linear-gradient(102deg, #111 0%, #2a2a2a 100%);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
	font-weight: 700;
}

.tests-dashboard__hero-card .tests-dashboard__cta--hero:not(.is-premium):hover,
.tests-dashboard__hero-card .tests-dashboard__cta--hero:not(.is-premium):focus-visible {
	filter: brightness(1.05);
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.tests-dashboard__test-card .tests-dashboard__cta--full:not(.is-premium) {
	background: #ebebeb;
	border: 1px solid #d7d7d7;
	color: #4b4b4b;
	box-shadow: none;
	font-weight: 600;
}

.tests-dashboard__test-card .tests-dashboard__cta--full:not(.is-premium):hover,
.tests-dashboard__test-card .tests-dashboard__cta--full:not(.is-premium):focus-visible {
	background: #e1e1e1;
	border-color: #cfcfcf;
	transform: none;
	filter: none;
	box-shadow: none;
}

.tests-dashboard__test-card .tests-dashboard__cta--full:not(.is-premium):active {
	background: #d8d8d8;
}

.tests-dashboard__cta-meta {
	margin: 10px 0 0;
	font-size: 12px;
	line-height: 14px;
	color: rgba(17, 17, 17, 0.56);
	font-weight: 500;
}

.tests-dashboard__cta-meta--hero {
	color: rgba(17, 17, 17, 0.74);
	font-size: 13px;
	line-height: 16px;
	margin-top: 12px;
}

.tests-dashboard__mobile-sticky {
	display: none;
}

.tests-dashboard__mobile-sticky-hint {
	margin: 8px 0 0;
	font-size: 12px;
	line-height: 14px;
	text-align: center;
	color: rgba(17, 17, 17, 0.62);
}

.tests-dashboard .tests-statistics {
	margin: 0;
	max-width: none;
	/* Bring title even closer to top while keeping sides/bottom comfy */
	padding: 8px 24px 24px;
	border: 0;
	background: #fff;
	border-radius: 16px;
	align-self: stretch;
}

.tests-dashboard .tests-statistics__title {
	margin: 0;
	font-size: 24px;
	line-height: 1;
	font-weight: 600;
	padding-bottom: 16px;
}

.tests-dashboard .tests-statistics__periods {
	background: #f5f3f1;
	border-radius: 12px;
	/* Make the tabs group a bit slimmer */
	padding: 2px;
	gap: 4px;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tests-dashboard .tests-statistics__period {
	/* Slimmer tab height */
	padding: 6px 14px;
	border-radius: 8px;
	border: 0;
	background: transparent;
	line-height: 1.1;
	font-weight: 500;
}

.tests-dashboard .tests-statistics__period.is-active {
	background: #fff;
	color: #111;
	font-weight: 600;
	border-color: transparent;
}

.tests-dashboard .tests-statistics__cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}

.tests-dashboard .tests-statistics__card {
	padding: 20px;
	border-radius: 12px;
	border: 1px solid #dedede;
	background: #fff;
	min-height: 152px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 10px;
}

.tests-dashboard .tests-statistics__metric-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.tests-dashboard .tests-statistics__metric {
	margin: 0;
	font-size: 52px;
	line-height: 60px;
	font-weight: 500;
}

.tests-dashboard .tests-statistics__metric--accuracy {
	line-height: 1;
}

.tests-dashboard .tests-statistics__split {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 6px;
}

.tests-dashboard .tests-statistics__split-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	justify-content: flex-end;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
}

.tests-dashboard .tests-statistics__split-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	display: inline-block;
}

.tests-dashboard .tests-statistics__split-dot.is-green {
	background: #6cbf4a;
}

.tests-dashboard .tests-statistics__split-dot.is-orange {
	background: #ff9d3d;
}

.tests-dashboard .tests-statistics__label {
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	margin: 0;
	color: #111;
}

.tests-dashboard__cards-row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.tests-dashboard__test-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}

/* Make full cards show a pointer when they are clickable */
.tests-dashboard__test-card[data-card-href],
.tests-dashboard__hero-card[data-card-href] {
	cursor: pointer;
}

.tests-dashboard__test-card-media {
	height: 250px;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.tests-dashboard__test-card-media--violet {
	background: #e6ccee;
}

.tests-dashboard__test-card-media--blue {
	background: #c7effe;
}

.tests-dashboard__test-card-media--green {
	background: #ddffd2;
}

.tests-dashboard__test-card-media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.tests-dashboard__test-card-media-image--by-topic,
.tests-dashboard__test-card-media-image--by-signs,
.tests-dashboard__test-card-media-image--exam {
	width: auto;
	height: calc(100% - 16px);
	max-width: none;
	margin: 16px auto 0;
	object-fit: contain;
	object-position: center top;
}

.tests-dashboard__mockup {
	width: 202px;
	height: 404px;
	border-radius: 32px;
	border: 4px solid #111;
	background: #f8f8f8;
	transform: translateY(128px);
	position: relative;
	overflow: hidden;
	box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
}

.tests-dashboard__mockup-screen {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	border-radius: 28px;
}

.tests-dashboard__mockup::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: 14px;
	width: 68px;
	height: 10px;
	border-radius: 999px;
	background: #222;
}

.tests-dashboard__mockup-lock {
	position: absolute;
	top: 16px;
	right: 16px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 12px;
	padding: 0 12px;
	background: rgba(240, 240, 240, 0.9);
	border: 1px solid #dedede;
	font-size: 14px;
	line-height: 20px;
	font-weight: 500;
}

.tests-dashboard__mockup-lock-icon {
	font-size: 16px;
}

.tests-dashboard__test-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.tests-dashboard__test-card-title {
	margin: 0;
	font-size: 32px;
	line-height: 1;
	font-weight: 500;
}

.tests-dashboard__test-card-description {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
	color: rgba(17, 17, 17, 0.56);
	min-height: 48px;
}

.tests-dashboard__cta--full {
	width: 100%;
	min-width: 0;
	margin-top: auto;
}

.tests-dashboard__test-card .tests-dashboard__cta.is-premium:hover,
.tests-dashboard__test-card .tests-dashboard__cta.is-premium:focus-visible {
	filter: brightness(1.02);
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(255, 174, 59, 0.35);
}

.tests-dashboard__test-card .tests-dashboard__cta.is-premium:active {
	transform: translateY(0);
	box-shadow: 0 4px 10px rgba(255, 174, 59, 0.25);
}

@media (prefers-reduced-motion: reduce) {
	.tests-dashboard__cta {
		transition: none;
	}

	.tests-dashboard__subscription-card,
	.tests-dashboard__settings-card {
		animation: none;
	}
}

.tests-dashboard__footer {
	border-top: 1px solid #dedede;
	padding-top: 24px;
	display: grid;
	grid-template-columns: 1.5fr repeat(2, auto) 1fr;
	gap: 24px;
	align-items: start;
}

.tests-dashboard__footer-main {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tests-dashboard__footer-copyright,
.tests-dashboard__footer-copy {
	margin: 0;
	font-size: 14px;
	line-height: 16px;
}

.tests-dashboard__footer-copy {
	color: #bcbcbc;
	max-width: 416px;
}

.tests-dashboard__footer-links {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tests-dashboard__footer-links a {
	font-size: 14px;
	line-height: 16px;
	color: #111;
	text-decoration: underline;
}

.tests-dashboard__footer-social {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.tests-dashboard__social-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid #dedede;
	border-radius: 32px;
	text-decoration: none;
	color: #111;
	font-size: 14px;
	line-height: 16px;
}

.tests-dashboard__social-pill img {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.has-premium-modal-open {
	overflow: hidden;
}

.tests-premium-modal {
	align-items: center;
	box-sizing: border-box;
	display: none;
	font-family: "Poppins", Helvetica, Arial, sans-serif;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 1400;
}

.tests-premium-modal.is-visible {
	display: flex;
}

.tests-premium-modal__backdrop {
	background: rgba(0, 0, 0, 0.3);
	inset: 0;
	position: absolute;
}

.tests-premium-modal__dialog {
	border-radius: 16px;
	box-shadow: 0 0 80px rgba(0, 0, 0, 0.1);
	display: flex;
	min-height: 622px;
	max-width: calc(100vw - 48px);
	overflow: visible;
	position: relative;
	width: 856px;
}

.tests-premium-modal__left {
	background: #c5ffcc;
	border-radius: 16px 0 0 16px;
	flex: 0 0 428px;
}

.tests-premium-modal__confetti {
	height: 418px;
	left: -97px;
	pointer-events: none;
	position: absolute;
	top: -123px;
	width: 582px;
	z-index: 4;
}

.tests-premium-modal__confetti-image {
	height: 100%;
	max-width: none;
	width: 100%;
}

.tests-premium-modal__bull {
	height: 696px;
	left: -132px;
	pointer-events: none;
	position: absolute;
	top: -74px;
	width: 556px;
	z-index: 2;
}

.tests-premium-modal__bull-image {
	height: 100%;
	inset: 0;
	max-width: none;
	object-fit: contain;
	object-position: center top;
	position: absolute;
	width: 100%;
}

.tests-premium-modal__content {
	background: #fff;
	border-radius: 0 16px 16px 0;
	box-sizing: border-box;
	display: block;
	flex: 0 0 428px;
	padding: 24px;
	position: relative;
	z-index: 3;
}

.tests-premium-modal__title {
	font-feature-settings: "case" 1;
	font-size: 20px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px;
	margin: 10px auto 0;
	text-align: center;
	width: 380px;
}

.tests-premium-modal__eyebrow {
	align-items: center;
	background: #f5f3f1;
	border: 1px solid #e7ded3;
	border-radius: 999px;
	color: #7b5f2a;
	display: inline-flex;
	font-size: 12px;
	font-weight: 600;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1;
	margin: 0 auto;
	padding: 8px 14px;
	text-transform: uppercase;
	width: fit-content;
}

.tests-premium-modal__subtitle {
	color: #4c4c4c;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	margin: 12px auto 0;
	text-align: center;
	width: 380px;
}

.tests-premium-modal__divider {
	border-top: 1px solid #dedede;
	height: 0;
	margin: 20px auto 0;
	width: 380px;
}

.tests-premium-modal__steps {
	counter-reset: premium-step;
	display: flex;
	flex-direction: column;
	gap: 12px;
	list-style: none;
	margin: 20px auto 0;
	padding: 0;
	width: 380px;
}

.tests-premium-modal__step {
	align-items: flex-start;
	background: #faf9f8;
	border: 1px solid #ece6dc;
	border-radius: 12px;
	display: flex;
	gap: 12px;
	padding: 12px;
}

.tests-premium-modal__step-index {
	align-items: center;
	background: #111;
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	flex: 0 0 22px;
	font-size: 12px;
	font-weight: 700;
	height: 22px;
	justify-content: center;
	line-height: 1;
	margin-top: 1px;
	width: 22px;
}

.tests-premium-modal__step-text {
	color: #222;
	font-size: 14px;
	line-height: 18px;
	margin: 0;
}

.tests-premium-modal__store-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 20px auto 0;
	width: 380px;
}

.tests-premium-modal__store-btn {
	align-items: center;
	border: 1px solid #dedede;
	display: flex;
	font-weight: 600;
	gap: 8px;
	justify-content: center;
	min-height: 48px;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.tests-premium-modal__store-btn:hover {
	border-color: #111;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.tests-premium-modal__store-btn:focus-visible {
	outline: 2px solid rgba(72, 181, 37, 0.45);
	outline-offset: 2px;
}

.tests-premium-modal__store-btn--ios {
	background: #111;
	border-color: #111;
	color: #fff;
}

.tests-premium-modal__store-btn--android {
	background: #fff;
	color: #111;
}

.tests-premium-modal__store-platform {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 8px;
	text-transform: uppercase;
}

.tests-premium-modal__store-btn--android .tests-premium-modal__store-platform {
	background: #eef0f3;
}

.tests-premium-modal__store-label {
	font-size: 14px;
	line-height: 16px;
}

.tests-premium-modal__features {
	display: flex;
	gap: 16px;
	height: 122px;
	margin: 24px auto 0;
	width: 380px;
}

.tests-premium-modal__feature {
	align-items: center;
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	text-align: center;
}

.tests-premium-modal__feature-icon-shell {
	align-items: center;
	background: #f5f3f1;
	border-radius: 80px;
	display: inline-flex;
	height: 64px;
	justify-content: center;
	width: 64px;
}

.tests-premium-modal__feature-icon {
	display: block;
	height: 32px;
	width: 32px;
}

.tests-premium-modal__feature-text {
	font-feature-settings: "case" 1;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	margin: 0;
}

.tests-premium-modal__plans {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 24px auto 0;
	width: 380px;
}

.tests-premium-modal__plan {
	align-items: flex-start;
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 12px;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	gap: 16px;
	height: 82px;
	padding: 20px;
	width: 100%;
}

.tests-premium-modal__plan:focus-visible {
	outline: 2px solid rgba(72, 181, 37, 0.45);
	outline-offset: 2px;
}

.tests-premium-modal__plan.is-selected {
	background: rgba(72, 181, 37, 0.1);
}

.tests-premium-modal__radio {
	align-items: center;
	border: 1px solid #dedede;
	border-radius: 50%;
	box-sizing: border-box;
	color: transparent;
	display: inline-flex;
	flex: 0 0 24px;
	font-size: 14px;
	font-weight: 700;
	height: 24px;
	justify-content: center;
	line-height: 1;
	margin-top: 1px;
	position: relative;
	width: 24px;
}

.tests-premium-modal__radio.is-selected {
	background: #48b525;
	border-color: #48b525;
	color: #fff;
}

.tests-premium-modal__radio.is-selected::before {
	content: "✓";
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
}

.tests-premium-modal__plan-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.tests-premium-modal__plan-price {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 117px;
}

.tests-premium-modal__plan.is-selected .tests-premium-modal__plan-price {
	width: 105px;
}

.tests-premium-modal__plan-title {
	font-feature-settings: "case" 1;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px;
	margin: 0;
}

.tests-premium-modal__plan-title--right {
	text-align: right;
}

.tests-premium-modal__plan-subtitle {
	font-feature-settings: "case" 1;
	font-size: 14px;
	font-style: normal;
	font-weight: 300;
	line-height: 16px;
	margin: 0;
}

.tests-premium-modal__plan-subtitle--muted {
	opacity: 0.5;
	text-align: right;
}

.tests-premium-modal__plan-subtitle--success {
	color: #48b525;
	font-weight: 500;
}

.tests-premium-modal__actions {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 16px auto 0;
	width: 380px;
}

.tests-premium-modal__btn {
	align-items: center;
	border-radius: 12px;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	font-feature-settings: "case" 1;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	height: 40px;
	justify-content: center;
	line-height: 16px;
	padding: 12px 16px;
	text-decoration: none;
	width: 100%;
}

.tests-premium-modal__btn--primary {
	background: linear-gradient(102deg, #ffc045 2%, #ffd66b 50%, #ffae3b 106%);
	border: 0;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
	color: #111;
	font-weight: 700;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tests-premium-modal__btn-star {
	font-size: 12px;
	line-height: 1;
}

.tests-premium-modal__btn--secondary {
	background: #fff;
	border: 1px solid #dedede;
	color: #111;
	font-family: inherit;
}

.tests-premium-modal__footnote {
	font-feature-settings: "case" 1;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	margin: 14px auto 0;
	opacity: 0.5;
	text-align: center;
	width: 380px;
}

@media (max-width: 1360px) {
	.tests-dashboard__logo {
		font-size: 24px;
	}

	.tests-dashboard .tests-exam-progress__text {
		font-size: 18px;
	}

	.tests-dashboard__hero-title,
	.tests-dashboard .tests-statistics__title,
	.tests-dashboard__test-card-title,
	.tests-dashboard__subscription-title {
		font-size: 36px;
		line-height: 1.1;
	}
}

@media (max-width: 1100px) {
	.tests-dashboard__header {
		flex-wrap: wrap;
	}

	.tests-dashboard__nav {
		order: 3;
	}

	.tests-dashboard__top-row,
	.tests-dashboard__account-row,
	.tests-dashboard__main-row,
	.tests-dashboard__cards-row {
		grid-template-columns: 1fr;
	}

	.tests-dashboard__settings-card {
		animation-delay: 0ms;
	}

	.tests-dashboard .tests-exam-progress__bar {
		max-width: none;
		flex: 1 1 auto;
	}

	.tests-dashboard__footer {
		grid-template-columns: 1fr;
	}

	.tests-dashboard__footer-social {
		justify-content: flex-start;
	}
}

@media (max-width: 700px) {
	.tests-dashboard {
		margin: 12px auto;
	}

	.tests-dashboard__header,
	.tests-dashboard .tests-exam-progress,
	.tests-dashboard__failed-card,
	.tests-dashboard__subscription-card,
	.tests-dashboard__settings-card,
	.tests-dashboard .tests-statistics,
	.tests-dashboard__hero-card,
	.tests-dashboard__test-card-body {
		padding: 16px;
	}

	.tests-dashboard__header-actions {
		width: 100%;
		justify-content: space-between;
	}

	.tests-dashboard__ghost-button,
	.tests-dashboard__premium-button {
		padding: 10px 12px;
	}

	.tests-dashboard__hero-card {
		min-height: 320px;
	}

	.tests-dashboard__hero-title {
		font-size: 32px;
	}

	.tests-dashboard .tests-statistics__cards {
		grid-template-columns: 1fr;
	}

	.tests-dashboard .tests-statistics__metric,
	.tests-dashboard__test-card-title {
		font-size: 40px;
		line-height: 1;
	}

	.tests-dashboard__language-grid,
	.tests-dashboard__subscription-dates {
		grid-template-columns: 1fr;
	}

	.tests-dashboard__subscription-title {
		font-size: 28px;
	}

	.tests-dashboard--tests-index {
		padding-bottom: 98px;
	}

	.tests-dashboard--tests-index .tests-dashboard__mobile-sticky {
		display: block;
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		z-index: 1200;
		padding: 12px;
		background: rgba(255, 255, 255, 0.96);
		border: 1px solid #dedede;
		border-radius: 14px;
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
		backdrop-filter: blur(6px);
	}

	.tests-dashboard__mobile-sticky-cta {
		width: 100%;
		min-width: 0;
	}

	.tests-dashboard__failed-cta-hint {
		order: 5;
		width: 100%;
		white-space: normal;
	}
}

@media (max-width: 920px) {
	.tests-premium-modal {
		padding: 12px;
	}

	.tests-premium-modal__dialog {
		display: block;
		height: auto;
		max-width: calc(100vw - 24px);
		width: 428px;
	}

	.tests-premium-modal__left {
		border-radius: 16px 16px 0 0;
		height: 136px;
		width: 100%;
	}

	.tests-premium-modal__bull {
		bottom: auto;
		height: 360px;
		left: 50%;
		top: -168px;
		transform: translateX(-50%);
		width: 360px;
	}

	.tests-premium-modal__bull-image {
		height: 100%;
		inset: 0;
		width: 100%;
	}

	.tests-premium-modal__confetti {
		height: 188px;
		left: 50%;
		top: -186px;
		transform: translateX(-50%);
		width: 262px;
	}

	.tests-premium-modal__content {
		border-radius: 0 0 16px 16px;
		flex: 1 1 auto;
		padding: 20px 16px 16px;
	}

	.tests-premium-modal__title,
	.tests-premium-modal__eyebrow,
	.tests-premium-modal__subtitle,
	.tests-premium-modal__divider,
	.tests-premium-modal__steps,
	.tests-premium-modal__store-actions,
	.tests-premium-modal__features,
	.tests-premium-modal__plans,
	.tests-premium-modal__actions,
	.tests-premium-modal__footnote {
		width: 100%;
	}

	.tests-premium-modal__features {
		gap: 8px;
	}

	.tests-premium-modal__divider,
	.tests-premium-modal__steps,
	.tests-premium-modal__store-actions,
	.tests-premium-modal__features,
	.tests-premium-modal__plans,
	.tests-premium-modal__actions {
		margin-top: 20px;
	}

	.tests-premium-modal__plan {
		gap: 12px;
		padding: 16px;
	}

	.tests-premium-modal__plan-price,
	.tests-premium-modal__plan.is-selected .tests-premium-modal__plan-price {
		width: auto;
	}
}

@media (max-width: 560px) {
	.tests-dashboard__status-chip {
		font-size: 11px;
		padding: 6px 10px;
	}

	.tests-dashboard__settings-title,
	.tests-dashboard__benefits-title {
		font-size: 18px;
		line-height: 22px;
	}

	.tests-premium-modal__feature-text,
	.tests-premium-modal__subtitle,
	.tests-premium-modal__step-text,
	.tests-premium-modal__store-label,
	.tests-premium-modal__plan-subtitle,
	.tests-premium-modal__footnote {
		font-size: 12px;
		line-height: 14px;
	}

	.tests-premium-modal__eyebrow {
		font-size: 11px;
	}

	.tests-premium-modal__plan-title {
		font-size: 14px;
		line-height: 18px;
	}
}

.qr-login-page {
	margin: 0;
	background: #f5f3f1;
	font-family: "Poppins", "Inter", Helvetica, Arial, sans-serif;
	color: #111;
}

.qr-login-page .tests-dashboard__ghost-button--logout {
	display: none;
}

.qr-login-page .tests-dashboard--chrome .tests-dashboard__header {
	margin-bottom: 64px;
}

.qr-login {
	padding: 0 12px 24px;
	font-family: "Poppins", "Inter", Helvetica, Arial, sans-serif;
	color: #111;
}

.qr-login__inner {
	max-width: 1296px;
	margin: 0 auto;
}

.qr-login__top {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
	margin-bottom: 24px;
}

.qr-login__back {
	width: 40px;
	height: 40px;
	border: 1px solid #dedede;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f5f3f1;
	box-sizing: border-box;
}

.qr-login__back img {
	width: 16px;
	height: 16px;
	display: block;
}

.qr-login__top-title {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
}

.qr-login__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 636px;
	gap: 24px;
	align-items: end;
	background-color: white;
	border-radius: 16px;
}

.qr-login__content {
	min-height: 332px;
}

.qr-login__qr-panel {
	display: grid;
	grid-template-columns: 256px minmax(0, 484px);
	column-gap: 40px;
	align-items: start;
	padding: 40px;
	box-sizing: border-box;
	min-height: 332px;
}

.qr-login__qr-frame {
	width: 256px;
	height: 252px;
	border: 1px solid #dedede;
	border-radius: 16px;
	background: #f5f3f1;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

.qr-login__qr-wrapper {
	width: 232px;
	height: 232px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qr-login__qr-wrapper svg {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
}

.qr-login__text {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 484px;
	padding-top: 4px;
	box-sizing: border-box;
}

.qr-login__title {
	margin: 0;
	font-size: 52px;
	line-height: 60px;
	font-weight: 500;
	letter-spacing: 0;
	color: #111;
}

.qr-login__title--compact {
	font-size: 32px;
	line-height: 38px;
}

.qr-login__subtitle {
	margin: 0;
	font-size: 16px;
	line-height: 20px;
	font-weight: 400;
	color: #111;
}

.qr-login__timer {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: -moz-fit-content;
	width: fit-content;
	padding: 16px 24px;
	border-radius: 12px;
	background: #f5f3f1;
}

.qr-login__timer img {
	width: 24px;
	height: 24px;
	display: block;
}

.qr-login__timer span {
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	white-space: nowrap;
}

.qr-login__token {
	margin-top: -12px;
	font-size: 12px;
	line-height: 16px;
	color: #9f9f9f;
	word-break: break-word;
}

#poll-root {
	display: none;
}

.qr-login__hero-image {
	position: relative;
	width: 636px;
	height: 420px;
	margin-top: -88px;
	pointer-events: none;
	overflow: hidden;
	border-radius: 16px 16px 16px 0;
	background: transparent;
}

.qr-login__hero-image img {
	position: absolute;
	left: calc(50% + 58px);
	top: -102px;
	width: 728px;
	height: 788px;
	transform: translateX(-50%) rotate(-15deg) scale(0.86);
	object-fit: cover;
}

.qr-login-steps {
	margin-top: 24px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.qr-login-step {
	display: flex;
	flex-direction: column;
}

.qr-login-step__media {
	position: relative;
	height: 200px;
	background: #feebb9;
	border-radius: 16px 16px 0 0;
	overflow: hidden;
}

.qr-login-step__body {
	background: #fff;
	padding: 24px;
	min-height: 154px;
	border-radius: 0 0 16px 16px;
	box-sizing: border-box;
}

.qr-login-step__body--compact {
	min-height: 150px;
}

.qr-login-step__headline {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.qr-login-step__index {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: #f5f3f1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	line-height: 24px;
	flex-shrink: 0;
}

.qr-login-step__copy h3 {
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 500;
	color: #111;
}

.qr-login-step__copy p {
	margin: 6px 0 0;
	font-size: 14px;
	line-height: 16px;
	font-weight: 400;
	color: #111;
}

.qr-login-step__stores {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}

.qr-login-step__store-btn {
	flex: 1;
	min-width: 0;
	height: 40px;
	box-sizing: border-box;
	border: 0;
	border-radius: 12px;
	background: #000;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 16px;
	font-weight: 500;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}

.qr-login-step__store-btn img {
	width: 16px;
	height: 16px;
	object-fit: contain;
	border-radius: 0;
}

.qr-login-step__asset {
	position: absolute;
	display: block;
	pointer-events: none;
	user-select: none;
}

.qr-login-step__asset--appstore {
	left: 115px;
	top: -12px;
	width: 126px;
	height: 126px;
	transform: rotate(30deg);
}

.qr-login-step__asset--googleplay {
	left: 24px;
	top: -12px;
	width: 126px;
	height: 126px;
	transform: rotate(-15deg);
}

.qr-login-step__asset--bull {
	left: 225px;
	top: -12px;
	width: 234px;
	height: 290px;
	object-fit: cover;
}

.qr-login-step__download-card {
	position: absolute;
	left: 24px;
	top: 96px;
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 32px 16px 16px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

.qr-login-step__download-icon {
	width: 48px;
	height: 48px;
	display: block;
}

.qr-login-step__download-meta p {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
	white-space: nowrap;
}

.qr-login-step__download-bar {
	position: relative;
	width: 160px;
	height: 6px;
	margin-top: 10px;
	border-radius: 6px;
	background: rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.qr-login-step__download-bar span {
	display: block;
	width: 128px;
	height: 6px;
	border-radius: 6px;
	background: #000;
}

.qr-login-step__phone {
	position: absolute;
	left: 24px;
	top: 24px;
	width: 238px;
	height: 176px;
	overflow: hidden;
}

.qr-login-step__phone-frame {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: top left;
}

.qr-login-step__phone-screen {
	position: absolute;
	left: 8px;
	top: 7px;
	width: 222px;
	height: 480px;
	object-fit: cover;
}

.qr-login-step__scan-ring {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 110px;
	height: 110px;
	transform: translate(-50%, -50%) scaleY(-1);
}

.qr-login-step__camera {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 56px;
	height: 56px;
	transform: translate(-50%, -50%);
	opacity: 0.5;
}

.qr-login-step__asset--bull-right {
	left: 198px;
	top: -22px;
	width: 218px;
	height: 301px;
	object-fit: cover;
}

.qr-login-step__confirm-title {
	position: absolute;
	left: 31px;
	top: 28px;
	width: 176px;
	margin: 0;
	font-size: 20px;
	line-height: 24px;
	font-weight: 400;
	text-align: center;
	color: #111;
}

.qr-login-step__confirm-btn {
	position: absolute;
	left: 49px;
	top: 92px;
	width: 140px;
	padding: 16px;
	box-sizing: border-box;
	border-radius: 12px;
	background: #000;
	color: #fff;
	text-align: center;
	font-size: 16px;
	line-height: 24px;
	font-weight: 500;
}

.qr-login-step__asset--bull-confirm {
	left: 176px;
	top: -17px;
	width: 298px;
	height: 298px;
	object-fit: cover;
}

.qr-login__error {
	width: 100%;
	max-width: 1296px;
	padding: 16px 18px;
	border-radius: 14px;
	border: 1px solid #f3c2c5;
	background: #fff4f4;
	color: #a61623;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
	text-align: center;
}

@media (max-width: 1360px) {
	.qr-login__title {
		font-size: 44px;
		line-height: 52px;
	}

	.qr-login__title--compact {
		font-size: 30px;
		line-height: 36px;
	}

	.qr-login__hero {
		grid-template-columns: minmax(0, 1fr) 520px;
	}

	.qr-login__hero-image {
		width: 520px;
		height: 360px;
		margin-top: -52px;
	}

	.qr-login__hero-image img {
		left: calc(50% + 48px);
		top: -82px;
		width: 620px;
		height: 670px;
	}
}

@media (max-width: 1180px) {
	.qr-login__hero {
		grid-template-columns: 1fr;
	}

	.qr-login__hero-image {
		display: none;
	}

	.qr-login-steps {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	.qr-login {
		padding-bottom: 16px;
	}

	.qr-login__qr-panel {
		grid-template-columns: 1fr;
		row-gap: 24px;
		padding: 24px 0;
	}

	.qr-login__qr-frame {
		margin: 0 auto;
	}

	.qr-login__text {
		max-width: none;
	}

	.qr-login__title {
		font-size: 40px;
		line-height: 46px;
	}

	.qr-login__top {
		margin-top: 12px;
		margin-bottom: 16px;
	}
}

	@media (max-width: 560px) {
	.qr-login__title {
		font-size: 34px;
		line-height: 40px;
	}

	.qr-login-step__stores {
		flex-direction: column;
	}

	.qr-login-step__store-btn {
		width: 100%;
	}
}
