.odyks-app :where(button,a,input,select,textarea,summary):focus-visible,
.odyks-modal :where(button,a,input,select,textarea):focus-visible {
	outline: 3px solid #f4b740;
	outline-offset: 3px;
}

.odyks-daily-meter {
	height: 9px;
	margin: 14px 0 18px;
	overflow: hidden;
	border-radius: 999px;
	background: #e9e6f0;
}

.odyks-daily-meter > span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--odyks-accent), #13a892);
	transition: width .25s ease;
}

.odyks-mock-readiness {
	margin: 0 0 20px;
	padding: 17px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: #fff;
}

.odyks-mock-readiness > div:first-child {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.odyks-mock-readiness > div:first-child span {
	color: #4f3cc9;
	font-weight: 800;
}

.odyks-mock-subjects {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px 16px;
}

.odyks-mock-subject {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 9px;
	border-radius: 8px;
	background: #fff5f5;
	color: #8e2f3d;
	font-size: 11px;
}

.odyks-mock-subject.is-ready {
	background: #effbf5;
	color: #116542;
}

.odyks-mock-note--ready {
	background: #effbf5;
	color: #145b40;
}

.odyks-mock-note--ready span {
	background: #16845c;
}

.odyks-weak-topics {
	margin: 18px 0;
}

.odyks-weak-topics > p {
	margin-top: -8px;
}

.odyks-weak-topics > div {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.odyks-weak-topics article {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: #faf9fd;
}

.odyks-weak-topics article > div {
	min-width: 0;
	flex: 1;
}

.odyks-weak-topics small,
.odyks-weak-topics strong,
.odyks-weak-topics span {
	display: block;
}

.odyks-weak-topics small,
.odyks-weak-topics span {
	color: var(--muted);
	font-size: 10px;
}

.odyks-weak-topics strong {
	margin: 2px 0;
}

.odyks-target-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.odyks-modal__panel {
	overscroll-behavior: contain;
}

@media (max-width: 720px) {
	.odyks-mock-subjects,
	.odyks-weak-topics > div {
		grid-template-columns: 1fr;
	}

	.odyks-target-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 480px) {
	.odyks-weak-topics article {
		align-items: stretch;
		flex-direction: column;
	}

	.odyks-weak-topics .odyks-chip {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.odyks-daily-meter > span {
		transition: none;
	}
}
