/* Ednara design system — accent + desk/web readability.
 *
 * Violet ONLY on: logo, primary button fills, active sidebar item.
 * Body/UI text stays near-black (never violet).
 * Readability: darker text, slightly larger type, taller form controls.
 */

:root,
[data-theme="light"] {
	--ednara-violet-500: #6b2fa7;
	--ednara-violet-600: #612b98;
	--btn-primary: #6b2fa7;
	--brand-color: #6b2fa7;
	--sidebar-select-color: #d1bfe4;

	/* Darker near-black text (Frappe defaults are lighter grays) */
	--heading-color: #0a0a0a;
	--text-neutral: #0a0a0a;
	--text-color: #171717;
	--text-muted: #383838;
	--text-light: #525252;
	--disabled-text-color: #525252;
	--icon-stroke: #171717;

	/* +1–2px type scale */
	--text-tiny: 12px;
	--text-2xs: 13px;
	--text-xs: 13px;
	--text-sm: 14px;
	--text-md: 14px;
	--text-base: 15px;
	--text-lg: 17px;
	--text-xl: 19px;
	--text-2xl: 21px;

	/* Taller controls (stock --input-height is 28px) */
	--input-height: 36px;
	--btn-height: 32px;
	--input-padding: 8px 12px;
	--disabled-input-padding: 6px 12px;
}

/* Primary buttons — beat Bootstrap's hardcoded #171717 */
.btn.btn-primary,
.btn-primary {
	background-color: #6b2fa7;
	border-color: #6b2fa7;
	color: #fff;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn-primary:hover,
.btn-primary:focus {
	background-color: #612b98;
	border-color: #612b98;
	color: #fff;
}

/*
 * Active sidebar item — violet fill; icon + label white.
 * Desk icons are .es-icon which paint via fill: var(--icon-stroke)
 * (see frappe/public/scss/common/icons.scss). stroke alone is not enough.
 */
.desk-sidebar .desk-sidebar-item.standard-sidebar-item.selected,
.desk-sidebar .standard-sidebar-item.selected {
	background-color: #6b2fa7;
	color: #fff;
	--icon-stroke: #fff;
	--icon-fill: transparent;
}

.desk-sidebar .standard-sidebar-item.selected .sidebar-item-label,
.desk-sidebar .standard-sidebar-item.selected .item-anchor {
	color: #fff;
}

.desk-sidebar .standard-sidebar-item.selected .sidebar-item-icon,
.desk-sidebar .standard-sidebar-item.selected .sidebar-item-icon .icon,
.desk-sidebar .standard-sidebar-item.selected .sidebar-item-icon .es-icon,
.desk-sidebar .standard-sidebar-item.selected svg.icon,
.desk-sidebar .standard-sidebar-item.selected svg.es-icon {
	--icon-stroke: #fff;
	--icon-fill: transparent;
	color: #fff;
	fill: #fff;
	stroke: #fff;
}

.desk-sidebar .standard-sidebar-item.selected .sidebar-item-icon use,
.desk-sidebar .standard-sidebar-item.selected svg use {
	--icon-stroke: #fff;
	fill: #fff;
	stroke: #fff;
	color: #fff;
}

/*
 * Logo — navbar left only.
 * Stock Frappe sets .app-logo { width: 24px } which crushes our wordmark into
 * an invisible speck — override so the brand actually paints in the topbar.
 */
.navbar .navbar-brand.navbar-home,
.navbar .navbar-brand {
	display: inline-flex;
	align-items: center;
	min-width: 140px;
	max-width: min(360px, 55vw);
}

.navbar .navbar-brand .app-logo,
.navbar-home .app-logo,
.navbar .app-logo {
	width: auto !important;
	max-width: 100%;
	max-height: 36px;
	height: 36px;
	object-fit: contain;
	display: inline-block;
	visibility: visible;
	opacity: 1;
}

/* Never show brand mark inside the desk workspace sidebar */
.desk-sidebar .ednara-sidebar-logo,
.desk-sidebar img[src*="ednara-logo"],
.list-sidebar .ednara-sidebar-logo,
.list-sidebar img[src*="ednara-logo"] {
	display: none !important;
}

/*
 * Form controls that ignore --input-height (link/select/awesomplete wrappers).
 * Keep selectors shallow and height-only so upgrades stay safe.
 */
.form-control,
.like-disabled-input,
.control-input .input-with-feedback,
.frappe-control .ql-editor {
	min-height: var(--input-height);
}

/*
 * Native <select> chevron — desk + guided forms (browsers hide OS arrow
 * inconsistently once .form-control styles apply).
 */
select.form-control:not([multiple]),
select.input-with-feedback:not([multiple]),
.frappe-control[data-fieldtype="Select"] select:not([multiple]),
.ednara-guided select:not([multiple]) {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-color: var(--control-bg, #fff);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.7rem center;
	background-size: 0.9rem 0.9rem;
	padding-right: 2.25rem !important;
	border: 1px solid var(--border-color, #d1d5db);
	cursor: pointer;
}

select.form-control:not([multiple]):focus,
select.input-with-feedback:not([multiple]):focus,
.frappe-control[data-fieldtype="Select"] select:not([multiple]):focus,
.ednara-guided select:not([multiple]):focus {
	border-color: #6b2fa7;
	outline: none;
	box-shadow: 0 0 0 2px rgba(107, 47, 167, 0.15);
}

select.form-control:not([multiple]):disabled,
select.input-with-feedback:not([multiple]):disabled {
	cursor: not-allowed;
	opacity: 0.7;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a3a3a3' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

.control-label,
.grid-heading-row .grid-static-col,
.form-section .section-head {
	color: var(--text-color);
}

/*
 * Style C — large shortcut tiles (Education / Accounting / Ednara home).
 * Soft violet wash, prominent icon, darker label.
 * !important beats desk.bundle .widget { background-color: var(--card-bg) }
 * when load order is ambiguous; ?v= on hooks busts 1y asset cache.
 */
.widget.shortcut-widget-box,
.widget.shortcut.shortcut-widget-box {
	background: #f3ebf9 !important;
	background-color: #f3ebf9 !important;
	border: 1px solid #d1bfe4 !important;
	border-radius: 14px !important;
	padding: 12px 10px !important;
	min-height: 72px !important;
	align-items: center !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.widget.shortcut-widget-box:hover,
.widget.shortcut.shortcut-widget-box:hover {
	background: #ebe0f5 !important;
	background-color: #ebe0f5 !important;
	border-color: #6b2fa7 !important;
	--icon-stroke: #6b2fa7;
}

.widget.shortcut-widget-box .widget-head {
	display: flex !important;
	flex-direction: row !important;
	justify-content: flex-start !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
}

/*
 * Icon chips via CSS ::before + aria-label (Frappe ShortcutWidget never
 * paints workspace.icon — only the arrow). No JS timing dependency.
 */
.widget.shortcut-widget-box .widget-head::before {
	content: "";
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	box-sizing: border-box;
	background-color: #fff !important;
	border: 1px solid #ece6f3;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px 18px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3C/svg%3E");
}

/* Hide any legacy JS-injected icon spans (avoid double chips). */
.widget.shortcut-widget-box .ednara-shortcut-icon {
	display: none !important;
}

/* person / HR */
.widget.shortcut-widget-box[aria-label="Admit"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Applications"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Teachers"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Add Tutor"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Add Teacher"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Send teacher logins"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Student Applicant"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Instructor"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cline x1='19' y1='8' x2='19' y2='14'/%3E%3Cline x1='22' y1='11' x2='16' y2='11'/%3E%3C/svg%3E");
}

/* users */
.widget.shortcut-widget-box[aria-label="Student Enrollment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Students"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Parents/guardians"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Send parent logins"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Generate credentials"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Student"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Guardian"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

/* organization / sections */
.widget.shortcut-widget-box[aria-label="Students Class Allocation"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Sections"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Rooms"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Student Group"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Room"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}

/* calendar / attendance */
.widget.shortcut-widget-box[aria-label="Mark attendance"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Daily attendance"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Timetable"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Attendance"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Student Attendance"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Course Schedule"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}

/* marks / quality */
.widget.shortcut-widget-box[aria-label="Enter marks"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Assessment plans"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Marks list"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Subjects"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Quiz"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Marks"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Assessment Plan"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Assessment Result"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
}

/* education / classes / enrollment */
.widget.shortcut-widget-box[aria-label="Classes"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Enrollment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Class"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Program"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Program Enrollment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Enrollments"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
}

/* fee bill / sell */
.widget.shortcut-widget-box[aria-label="Raise fee bill"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Fee bills"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Fee bill"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Sales Invoice"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Fee invoices"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='8' y1='13' x2='16' y2='13'/%3E%3Cline x1='8' y1='17' x2='12' y2='17'/%3E%3C/svg%3E");
}

/* payment / accounting */
.widget.shortcut-widget-box[aria-label="Collect payment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Payments"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Payment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Payment Entry"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Fees"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1' y='4' width='22' height='16' rx='2'/%3E%3Cline x1='1' y1='10' x2='23' y2='10'/%3E%3C/svg%3E");
}

/* money / fee structure */
.widget.shortcut-widget-box[aria-label="Fee structure"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Fee Structure"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Bank Account"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='8' r='6'/%3E%3Cpath d='M18.09 10.37A6 6 0 1 1 10.34 18'/%3E%3Cpath d='M7 6h1v4'/%3E%3Cpath d='M16.71 13.88l.7.71-2.82 2.82'/%3E%3C/svg%3E");
}

/* settings */
.widget.shortcut-widget-box[aria-label="Education Settings"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
}

/* tools */
.widget.shortcut-widget-box[aria-label="Bulk enrollment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Create sections"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Schedule builder"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Bulk marks tool"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Mark attendance tool"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

/* list / reports */
.widget.shortcut-widget-box[aria-label="Admission setup"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Categories"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Monthly attendance sheet"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Course wise assessment"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Final assessment grades"] .widget-head::before,
.widget.shortcut-widget-box[aria-label="Student & guardian contacts"] .widget-head::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B2FA7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

/* Title truncates; count + arrow stay inside the tile */
.widget.shortcut-widget-box .widget-label {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 6px !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
	text-align: left !important;
}

.widget.shortcut-widget-box .widget-title {
	color: #0a0a0a !important;
	font-weight: 600 !important;
	font-size: 13px !important;
	line-height: 1.25 !important;
	justify-content: flex-start !important;
	text-align: left !important;
	margin: 0 !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	display: block !important;
}

.widget.shortcut-widget-box .widget-title .ellipsis {
	display: block !important;
	min-width: 0 !important;
	max-width: 100% !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

.widget.shortcut-widget-box .widget-control {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-end !important;
	gap: 4px !important;
	margin-left: 4px !important;
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	min-width: 0 !important;
}

.widget.shortcut-widget-box .indicator-pill {
	background: #fff !important;
	color: #383838 !important;
	border: 1px solid #ece6f3 !important;
	margin: 0 !important;
	flex: 0 0 auto !important;
	max-width: 4.25rem !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	font-size: 12px !important;
	padding: 2px 6px !important;
}

.widget.shortcut-widget-box .widget-control .icon,
.widget.shortcut-widget-box .widget-control .es-icon {
	flex: 0 0 auto !important;
	width: 12px !important;
	height: 12px !important;
}

/* Secondary / optional chips — denser, lower visual weight */
.widget.shortcut-widget-box.ednara-shortcut-compact {
	min-height: 52px !important;
	padding: 10px 12px !important;
	background: #faf7fc !important;
	background-color: #faf7fc !important;
	border-color: #ece6f3 !important;
}

.widget.shortcut-widget-box.ednara-shortcut-compact .widget-head::before {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background-size: 16px 16px;
}

.widget.shortcut-widget-box.ednara-shortcut-compact .widget-title {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #383838 !important;
}

/* More card — darker link list under large tiles */
.widget.links-widget-box .link-item .link-content {
	color: var(--text-color);
	font-size: var(--text-base);
}

.widget.links-widget-box .widget-title {
	color: var(--heading-color);
	font-weight: 600;
}

/* QC: keep Comments; hide Follow / Like timeline chrome */
.timeline-item .like-action,
.timeline-actions .like-action,
.comment-box .like-action,
.form-attachments + .form-liked-by,
.liked-by,
.form-timeline .action-btn[data-action="like"],
.form-timeline .action-btn[data-action="follow"],
.timeline-dot + .timeline-content .like-count,
.form-sidebar .liked-by,
.form-sidebar .form-followed-by {
	display: none !important;
}

/* Soften dense Connections dashboard on Education forms */
.form-dashboard .form-links {
	max-height: 180px;
	overflow: auto;
}

/* Home glance tiles (replaces Frappe Number Cards on Ednara workspace) */
.ednara-glance-host {
	width: 100%;
	margin: 0.5rem 0 0.25rem;
}
.ednara-glance-row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}
.ednara-glance-tile {
	background: #f6f0fb;
	border: 1px solid #e4d6f2;
	border-radius: 10px;
	padding: 0.85rem 1rem;
	min-height: 4.5rem;
}
.ednara-glance-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #525252;
	margin-bottom: 0.35rem;
}
.ednara-glance-value {
	font-size: 1.45rem;
	font-weight: 700;
	color: #0a0a0a;
	line-height: 1.2;
	word-break: break-word;
}
@media (max-width: 900px) {
	.ednara-glance-row {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 520px) {
	.ednara-glance-row {
		grid-template-columns: 1fr;
	}
}

/* Teacher home — Your classes */
.ednara-teacher-classes {
	margin: 1.25rem 0 0.5rem;
	padding: 0 0.15rem 1rem;
}
.ednara-teacher-classes-title {
	font-size: 1rem;
	font-weight: 700;
	margin: 0 0 0.65rem;
	color: #0a0a0a;
}
.ednara-teacher-classes-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
}
.ednara-teacher-classes-list li {
	margin: 0;
}
.ednara-teacher-class-link {
	display: block;
	padding: 0.7rem 0.9rem;
	background: #faf8fc;
	border: 1px solid #e4d6f2;
	border-radius: 8px;
	color: #3b1d63;
	font-weight: 600;
	text-decoration: none;
}
.ednara-teacher-class-link:hover {
	background: #f6f0fb;
	border-color: #6b2fa7;
	color: #6b2fa7;
	text-decoration: none;
}
.ednara-teacher-classes-empty {
	color: #525252;
	margin: 0;
	font-size: 0.95rem;
}
@media (max-width: 640px) {
	.ednara-teacher-classes-list {
		grid-template-columns: 1fr;
	}
}

