/* Education analysis (શૈક્ષણિક પૃથ્થકરણ) — reuses the city chart bars (.sd-cchart__*) and .sd-table. */
.sd-edu .sd-cchart__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; }
.sd-edu .sd-cchart__link { grid-template-columns: minmax(150px, 260px) 1fr auto; }
.sd-edu .sd-cchart__row.is-current .sd-cchart__link { border-color: var(--sd-secondary-saffron, #C46A1B); background: #FBF0DC; }
.sd-edu__list { scroll-margin-top: 120px; }
.sd-edu__list-title { margin: 8px 0 12px; }
.sd-edu__filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 16px; padding: 16px; background: var(--sd-surface-white, #fff); border: 1px solid var(--sd-border-default, #eadfcd); border-radius: 14px; }
.sd-edu__filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; color: var(--sd-text-secondary, #6b5a4c); flex: 1 1 180px; }
.sd-edu__filters select,
.sd-edu__filters input { height: 42px; padding: 0 12px; border: 1px solid var(--sd-border-default, #eadfcd); border-radius: 10px; background: #fff; font: inherit; font-size: 14px; color: var(--sd-text-primary, #2B1410); }
.sd-edu__filters select:disabled { background: #f6f1e8; color: #9b8c7d; }
.sd-edu__filters .sd-btn { height: 42px; }
/* "ફિલ્ટર દૂર કરો": outline pill, same height as "બતાવો" (client 2026-11-01). */
.sd-edu .sd-edu__filters a.sd-edu__reset,
.sd-edu .sd-edu__filters a.sd-edu__reset:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	padding: 0 20px;
	border: 1.5px solid var(--sd-primary-maroon, #7A1F1F);
	border-radius: 999px;
	background: #fff;
	color: var(--sd-primary-maroon, #7A1F1F);
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.sd-edu .sd-edu__filters a.sd-edu__reset:hover,
.sd-edu .sd-edu__filters a.sd-edu__reset:focus-visible {
	background: var(--sd-secondary-saffron-soft, #F6EBD9);
	color: var(--sd-primary-maroon, #7A1F1F);
}
@media (max-width: 767px) {
	.sd-edu .sd-edu__filters .sd-btn,
	.sd-edu .sd-edu__filters a.sd-edu__reset { flex: 1 1 0; }
}
.sd-edu__count { margin: 0 0 10px; color: var(--sd-text-secondary, #6b5a4c); }
.sd-edu__running { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #E8F3E8; color: #2E6B2E; font-size: 11px; font-weight: 700; vertical-align: middle; }
.sd-edu .sd-pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.sd-edu .sd-pagination a { text-decoration: none; }
@media (max-width: 767px) {
	.sd-edu .sd-cchart__link { grid-template-columns: 1fr auto; }
	.sd-edu .sd-cchart__track { grid-column: 1 / -1; }
	.sd-edu__filters label { flex-basis: 100%; }
	.sd-edu__table thead { display: none; }
	.sd-edu__table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--sd-border-default, #eadfcd); }
	.sd-edu__table td { display: flex; gap: 8px; padding: 2px 0; border: 0; }
	.sd-edu__table td::before { content: attr(data-label); min-width: 84px; color: var(--sd-text-secondary, #6b5a4c); font-size: 12px; }
}
/* Spacing: totals card, caption and the bars in their own card. */
.sd-edu .sd-cchart__stats { margin: 24px 0 32px; }
.sd-edu .sd-cchart__caption { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--sd-text-primary, #2B1410); }
.sd-edu .sd-edu__chart { padding: 12px 16px; background: var(--sd-surface-white, #fff); border: 1px solid var(--sd-border-default, #eadfcd); border-radius: 18px; gap: 2px; }
.sd-edu .sd-edu__chart .sd-cchart__link { padding: 10px 8px; }
.sd-edu .sd-edu__chart .sd-cchart__value { min-width: 96px; text-align: right; }
/* Source note: centred under the list / login panel, with breathing room. */
.sd-edu .sd-cchart__note { margin: 24px auto 0; max-width: 760px; text-align: center; font-size: 13px; color: var(--sd-text-muted, #8a7868); }
.sd-edu .sd-edu__list { text-align: left; }
.sd-edu__table-wrap { width: 100%; overflow-x: auto; }
.sd-edu__table { width: 100%; }
.sd-edu .sd-pagination { justify-content: center; }
.sd-edu .sd-page--gap { border: 0; background: none; pointer-events: none; }
/* Own column widths (the committee table's "first column = 42%" rule must not apply here). */
@media (min-width: 768px) {
	.sd-edu__table th:nth-child(1), .sd-edu__table td:nth-child(1) { width: 64px; white-space: nowrap; }
	.sd-edu__table th:nth-child(2), .sd-edu__table td:nth-child(2) { width: 26%; }
	.sd-edu__table th:nth-child(3), .sd-edu__table td:nth-child(3) { width: 64px; }
	.sd-edu__table th:nth-child(4), .sd-edu__table td:nth-child(4) { width: 16%; }
	.sd-edu__table th:nth-child(7), .sd-edu__table td:nth-child(7) { width: 130px; white-space: nowrap; }
}
@media (max-width: 767px) {
	.sd-edu__table th:nth-child(1), .sd-edu__table td:nth-child(1) { width: auto; }
}
/* PDF + Excel, shown only when opened from the downloads list (client 2026-11-03). */
.sd-edu__downloads { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
