.eqra-cs {
	background: linear-gradient(180deg, #f4f8f5 0%, #eaf4ef 100%);
	padding: 28px 16px 32px;
	border-bottom: 1px solid #d7e6de;
	font-family: Tahoma, "Segoe UI", Arial, sans-serif;
	color: #10251d;
}
.eqra-cs[hidden] { display: none !important; }
.eqra-cs-inner { max-width: 1100px; margin: 0 auto; }
.eqra-cs-kicker {
	margin: 0 0 4px;
	color: #0b6b4f;
	font-weight: 800;
	font-size: 13px;
}
.eqra-cs-title {
	margin: 0 0 6px;
	font-size: 26px;
	color: #083d2e;
}
.eqra-cs-lead {
	margin: 0 0 16px;
	color: #5f746b;
	line-height: 1.7;
}
.eqra-cs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}
.eqra-cs-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #d7e6de;
	text-decoration: none !important;
	color: inherit;
	min-height: 120px;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.eqra-cs-card:hover {
	transform: translateY(-2px);
	border-color: #0b6b4f;
	box-shadow: 0 10px 24px rgba(11, 107, 79, .12);
}
.eqra-cs-card.is-empty { opacity: .72; }
.eqra-cs-card-label {
	font-size: 13px;
	font-weight: 800;
	color: #0b6b4f;
}
.eqra-cs-card-value {
	font-size: 17px;
	line-height: 1.45;
	color: #083d2e;
	flex: 1;
}
.eqra-cs-card-cta {
	font-size: 13px;
	font-weight: 700;
	color: #5f746b;
}

/* Sleep bar on digital Quran */
.eqra-sleep {
	position: sticky;
	bottom: 0;
	z-index: 9990;
	font-family: Tahoma, "Segoe UI", Arial, sans-serif;
}
.eqra-sleep-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 10px 12px;
	background: #0b6b4f;
	color: #fff;
	box-shadow: 0 -8px 24px rgba(8, 50, 30, .2);
}
.eqra-sleep-label { font-weight: 800; font-size: 14px; }
.eqra-sleep-btns { display: flex; flex-wrap: wrap; gap: 6px; }
.eqra-sleep-btn {
	min-height: 36px;
	padding: 6px 12px;
	border: 0;
	border-radius: 999px;
	background: rgba(255,255,255,.16);
	color: #fff;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}
.eqra-sleep-btn.is-active,
.eqra-sleep-btn:hover { background: #fff; color: #0b6b4f; }
.eqra-sleep-remain {
	font-weight: 700;
	font-size: 13px;
	opacity: .95;
}
.eqra-sleep-toast {
	position: fixed;
	left: 50%;
	bottom: 72px;
	transform: translateX(-50%);
	width: min(420px, calc(100% - 24px));
	background: #083d2e;
	color: #fff;
	border-radius: 14px;
	padding: 14px 40px 14px 16px;
	box-shadow: 0 12px 32px rgba(0,0,0,.25);
	z-index: 10000;
}
.eqra-sleep-toast[hidden] { display: none !important; }
.eqra-sleep-toast p { margin: 0 0 8px; font-weight: 800; }
.eqra-sleep-toast a { color: #d4b56a; font-weight: 700; }
.eqra-sleep-toast button {
	position: absolute;
	top: 8px;
	left: 10px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 22px;
	cursor: pointer;
}

html.quran-dark-mode .eqra-cs,
body.quran-dark-mode .eqra-cs {
	background: #061a13;
	color: #f0fbf6;
	border-bottom-color: #285446;
}
html.quran-dark-mode .eqra-cs-card,
body.quran-dark-mode .eqra-cs-card {
	background: #0b2a20;
	border-color: #285446;
	color: #f0fbf6;
}
html.quran-dark-mode .eqra-cs-card-value,
body.quran-dark-mode .eqra-cs-card-value { color: #f0fbf6; }

@media (max-width: 800px) {
	.eqra-cs-grid { grid-template-columns: 1fr; }
	.eqra-cs-title { font-size: 22px; }
}
