.study-progress-card {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	width: min(300px, calc(100vw - 32px));
	max-height: min(460px, calc(100vh - 48px));
	max-height: min(460px, calc(100svh - 48px));
	overflow: hidden;
	background: #fbfdf9;
	border: 1px solid rgba(135, 157, 112, 0.28);
	border-radius: 18px;
	box-shadow: 0 18px 44px rgba(54, 72, 48, 0.16);
	color: #243225;
	font-family: inherit;
}

.study-progress-card__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(135, 157, 112, 0.28);
	border-radius: 999px;
	color: #566b4b;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.study-progress-card__close:hover,
.study-progress-card__close:focus-visible {
	background: #edf4e8;
	color: #243225;
	outline: 2px solid rgba(98, 124, 83, 0.34);
	outline-offset: 2px;
}

.study-progress-card__content {
	max-height: inherit;
	overflow-y: auto;
	padding: 22px 18px 18px;
	scrollbar-width: thin;
}

.study-progress-card__label {
	margin: 0 36px 6px 0;
	color: #647657;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0;
}

.study-progress-card__goal,
.study-progress-card__hours,
.study-progress-card__message,
.study-progress-card__updated {
	margin: 0;
	overflow-wrap: anywhere;
	word-break: normal;
}

.study-progress-card__goal {
	margin-bottom: 14px;
	font-size: 0.9rem;
	line-height: 1.75;
	white-space: normal;
}

.study-progress-card__hours {
	margin-bottom: 12px;
	color: #415f39;
	font-size: 1.32rem;
	font-weight: 700;
	line-height: 1.3;
}

.study-progress-card__message {
	margin-bottom: 10px;
	padding: 10px 12px;
	background: #f0f6ec;
	border-radius: 12px;
	color: #415f39;
	font-size: 0.84rem;
	line-height: 1.6;
}

.study-progress-card__updated {
	color: #7b8773;
	font-size: 0.72rem;
	line-height: 1.5;
}

.study-progress-card.is-hidden {
	display: none;
}

@media (max-width: 600px) {
	.study-progress-card {
		right: 12px;
		bottom: 12px;
		width: calc(100vw - 24px);
		max-height: min(340px, calc(100vh - 24px));
		max-height: min(340px, calc(100svh - 24px));
		border-radius: 16px;
	}

	.study-progress-card__content {
		padding: 18px 15px 15px;
	}

	.study-progress-card__hours {
		font-size: 1.18rem;
	}
}
