.olc-dashboard-page {
	background: linear-gradient(180deg, #f7f4ed 0%, #f5f1e8 100%);
}

.olc-instructor-dashboard-page {
	background: linear-gradient(180deg, #f4f7fb 0%, #f5f1e8 100%);
}

.olc-dashboard {
	--olc-dashboard-bg: #f5f1e8;
	--olc-dashboard-surface: #ffffff;
	--olc-dashboard-border: #d9dde7;
	--olc-dashboard-border-strong: #cfd5e3;
	--olc-dashboard-accent: #4568e4;
	--olc-dashboard-accent-soft: rgba(69, 104, 228, 0.12);
	--olc-dashboard-text: #1f2937;
	--olc-dashboard-muted: #6b7280;
	--olc-dashboard-progress-track: #e5e7eb;
	max-width: 1200px;
	padding: clamp(28px, 4vw, 44px) 24px 64px;
	color: var(--olc-dashboard-text);
	font-family: inherit;
}

.olc-dashboard,
.olc-dashboard h1,
.olc-dashboard h2,
.olc-dashboard h3,
.olc-dashboard h4,
.olc-dashboard p,
.olc-dashboard a,
.olc-dashboard span,
.olc-dashboard strong,
.olc-dashboard dt,
.olc-dashboard dd,
.olc-dashboard li,
.olc-dashboard button,
.olc-dashboard input,
.olc-dashboard label {
	font-family: inherit;
}

.olc-dashboard a {
	color: inherit;
}

.olc-dashboard .dashicons {
	font-family: dashicons;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	speak: none;
}

.olc-dashboard .olc-button {
	background: var(--olc-dashboard-accent);
	border-radius: 8px;
	box-shadow: none;
	color: #fff !important;
	font-weight: 600;
	letter-spacing: 0.01em;
	min-height: 44px;
	padding: 10px 18px;
}

.olc-dashboard .olc-button:hover {
	background: #3657d6;
	color: #fff !important;
}

.olc-dashboard .olc-button-outline {
	background: transparent;
	border: 1px solid var(--olc-dashboard-accent);
	color: var(--olc-dashboard-accent) !important;
}

.olc-dashboard .olc-button-outline:hover {
	background: rgba(69, 104, 228, 0.08);
	color: var(--olc-dashboard-accent) !important;
}

.olc-dashboard .olc-button:focus-visible,
.olc-dashboard .olc-button-outline:focus-visible,
.olc-dashboard-nav-link:focus-visible,
.olc-dashboard-sidebar-meta a:focus-visible,
.olc-dashboard-course-card a:focus-visible {
	outline: 2px solid rgba(69, 104, 228, 0.45);
	outline-offset: 2px;
}

.olc-dashboard-hero {
	align-items: center;
	background: transparent;
	border-bottom: 1px solid var(--olc-dashboard-border);
	border-radius: 0;
	box-shadow: none;
	color: var(--olc-dashboard-text);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	padding: 0 0 24px;
	position: relative;
}

.olc-dashboard-hero::before,
.olc-dashboard-hero::after {
	display: none;
}

.olc-dashboard-hero-copy,
.olc-dashboard-hero-actions {
	position: relative;
	z-index: 1;
}

.olc-dashboard-hero-copy {
	max-width: 60ch;
}

.olc-dashboard-hero h1 {
	color: var(--olc-dashboard-text);
	font-size: clamp(28px, 3.8vw, 38px);
	line-height: 1.12;
	margin: 0 0 8px;
}

.olc-dashboard-hero p {
	color: var(--olc-dashboard-muted);
	margin: 0;
	max-width: 58ch;
}

.olc-dashboard-hero .olc-eyebrow {
	color: var(--olc-dashboard-accent);
	margin-bottom: 8px;
}

.olc-dashboard-hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
	margin-top: 4px;
}

.olc-dashboard-hero-actions .olc-button {
	flex: 0 0 auto;
	height: 44px;
	margin-top: 0;
	white-space: nowrap;
}

.olc-dashboard-shell {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(240px, 286px) minmax(0, 1fr);
}

.olc-dashboard-sidebar {
	align-self: start;
	background: transparent;
	border-right: 1px solid var(--olc-dashboard-border);
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	padding: 0 24px 0 0;
	position: static;
	top: auto;
}

.olc-dashboard-sidebar-card {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-bottom: 22px;
	padding-bottom: 18px;
}

.olc-dashboard-avatar {
	align-items: center;
	background: linear-gradient(135deg, #4568e4 0%, #2f9ad8 100%);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(69, 104, 228, 0.18);
	color: #fff;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 26px;
	font-weight: 700;
	height: 72px;
	justify-content: center;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	width: 72px;
}

.olc-dashboard-avatar span {
	line-height: 1;
}

.olc-dashboard-avatar-large {
	font-size: 38px;
	height: 96px;
	width: 96px;
}

.olc-dashboard-name {
	color: var(--olc-dashboard-text);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0;
}

.olc-dashboard-email {
	color: var(--olc-dashboard-muted);
	font-size: 14px;
	line-height: 1.45;
	margin: 4px 0 0;
	word-break: break-word;
}

.olc-dashboard-nav {
	display: grid;
	gap: 6px;
}

.olc-dashboard-nav-link {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 10px;
	color: var(--olc-dashboard-text);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 14px;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.olc-dashboard-nav-link:hover {
	background: rgba(69, 104, 228, 0.07);
	color: var(--olc-dashboard-text);
	transform: translateX(1px);
}

.olc-dashboard-nav-link.is-active {
	background: var(--olc-dashboard-accent);
	box-shadow: none;
	color: #fff;
}

.olc-dashboard-nav-link.is-active strong {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.olc-dashboard-nav-icon {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	margin-right: 10px;
}

.olc-dashboard-nav-icon .dashicons {
	font-size: 18px;
	height: 18px;
	width: 18px;
}

.olc-dashboard-nav-label {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	gap: 10px;
}

.olc-dashboard-nav-link strong {
	background: #edf2ff;
	border-radius: 999px;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	min-width: 30px;
	padding: 4px 9px;
	text-align: center;
}

.olc-dashboard-nav-logout {
	color: #b42318;
	margin-top: 6px;
}

.olc-dashboard-nav-logout:hover {
	background: rgba(180, 35, 24, 0.08);
	color: #b42318;
}

.olc-dashboard-nav-logout .olc-dashboard-nav-icon {
	color: inherit;
}

.olc-dashboard-sidebar-meta {
	border-top: 1px solid var(--olc-dashboard-border);
	display: grid;
	gap: 10px;
	margin-top: 20px;
	padding-top: 18px;
}

.olc-dashboard-sidebar-meta span,
.olc-dashboard-sidebar-meta a {
	color: var(--olc-dashboard-muted);
	font-size: 13px;
	line-height: 1.45;
	text-decoration: none;
}

.olc-dashboard-sidebar-meta a:hover {
	color: var(--olc-dashboard-accent);
	text-decoration: underline;
}

.olc-dashboard-main {
	display: grid;
	gap: 24px;
}

.olc-dashboard-stat-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.olc-instructor-stat-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.olc-dashboard-stat {
	background: var(--olc-dashboard-surface);
	border: 1px solid var(--olc-dashboard-border);
	border-radius: 14px;
	box-shadow: none;
	padding: 22px 18px 20px;
	position: relative;
	text-align: center;
}

.olc-dashboard-stat-icon {
	align-items: center;
	background: var(--olc-dashboard-accent-soft);
	border-radius: 999px;
	color: var(--olc-dashboard-accent);
	display: inline-flex;
	height: 56px;
	justify-content: center;
	margin: 0 auto 16px;
	width: 56px;
}

.olc-dashboard-stat-icon .dashicons {
	font-size: 26px;
	height: 26px;
	width: 26px;
}

.olc-dashboard-stat::after {
	display: none;
}

.olc-dashboard-stat-label {
	color: #5f6b83;
	display: block;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
	text-transform: uppercase;
}

.olc-dashboard-stat strong {
	color: var(--olc-dashboard-text);
	display: block;
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.05;
}

.olc-dashboard-stat p {
	color: var(--olc-dashboard-muted);
	margin: 10px 0 0;
}

.olc-dashboard-panel {
	background: var(--olc-dashboard-surface);
	border: 1px solid var(--olc-dashboard-border);
	border-radius: 14px;
	box-shadow: none;
	padding: 24px;
}

.olc-dashboard-panel-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.olc-dashboard-panel-head h2 {
	margin: 4px 0 0;
}

.olc-dashboard-focus-panel {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
}

.olc-dashboard-focus-copy h2 {
	font-size: clamp(24px, 3vw, 32px);
	margin: 4px 0 12px;
}

.olc-dashboard-focus-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 18px;
}

.olc-dashboard-focus-actions .olc-button,
.olc-dashboard-course-actions .olc-button {
	flex: 0 0 auto;
	height: 44px;
	margin-top: 0;
	white-space: nowrap;
}

.olc-dashboard-focus-progress {
	background: #f8fbff;
	border: 1px solid #d7dff6;
	border-radius: 14px;
	color: var(--olc-dashboard-text);
	display: grid;
	gap: 16px;
	padding: 20px;
}

.olc-dashboard-focus-progress .olc-progress-head strong,
.olc-dashboard-focus-progress .olc-progress-head span {
	color: var(--olc-dashboard-text);
}

.olc-dashboard-focus-list {
	display: grid;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.olc-dashboard-focus-list li {
	color: var(--olc-dashboard-muted);
	font-size: 14px;
}

.olc-dashboard .olc-progress {
	display: grid;
	gap: 8px;
}

.olc-dashboard .olc-progress-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 12px;
}

.olc-dashboard .olc-progress-head strong {
	color: #334155;
}

.olc-dashboard .olc-progress-head span {
	color: #64748b;
}

.olc-dashboard .olc-progress-bar {
	background: var(--olc-dashboard-progress-track);
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}

.olc-dashboard .olc-progress-bar span {
	background: linear-gradient(90deg, var(--olc-dashboard-accent) 0%, #2f9ad8 100%);
	border-radius: inherit;
	height: 100%;
}

.olc-dashboard-course-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.olc-dashboard-course-card {
	background: var(--olc-dashboard-surface);
	border: 1px solid var(--olc-dashboard-border);
	border-radius: 14px;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.olc-dashboard-course-card:hover {
	border-color: var(--olc-dashboard-border-strong);
	box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
	transform: translateY(-2px);
}

.olc-dashboard-course-media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, rgba(69, 104, 228, 0.08), rgba(47, 154, 216, 0.12));
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.olc-dashboard-course-thumb,
.olc-dashboard-course-thumb img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.olc-dashboard-course-placeholder {
	align-items: center;
	background: linear-gradient(135deg, rgba(69, 104, 228, 0.08), rgba(47, 154, 216, 0.2));
	color: #334155;
	display: flex;
	font-size: 15px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.olc-dashboard-course-badge {
	background: rgba(69, 104, 228, 0.1);
	border-radius: 999px;
	color: var(--olc-dashboard-accent);
	font-size: 11px;
	font-weight: 700;
	left: 16px;
	letter-spacing: 0.08em;
	padding: 7px 10px;
	position: absolute;
	text-transform: uppercase;
	top: 16px;
}

.olc-dashboard-course-card.is-completed .olc-dashboard-course-badge {
	background: rgba(21, 128, 61, 0.12);
	color: #15803d;
}

.olc-dashboard-course-body {
	display: grid;
	gap: 12px;
	padding: 22px;
}

.olc-dashboard-course-body h3 {
	font-size: 20px;
	margin: 0;
}

.olc-dashboard-course-body h3 a {
	color: var(--olc-dashboard-text);
	text-decoration: none;
}

.olc-dashboard-course-body h3 a:hover {
	color: var(--olc-dashboard-accent);
	text-decoration: underline;
}

.olc-dashboard-course-meta,
.olc-dashboard-course-summary {
	color: var(--olc-dashboard-muted);
	margin: 0;
}

.olc-dashboard-course-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 2px;
}

.olc-instructor-course-layout {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.olc-instructor-announcements-shell {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.olc-instructor-course-selector {
	align-items: end;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 18px;
}

.olc-instructor-course-selector label {
	display: grid;
	flex: 1 1 320px;
	gap: 6px;
}

.olc-instructor-course-selector select,
.olc-instructor-field input,
.olc-instructor-field select,
.olc-instructor-field textarea {
	background: #fff;
	border: 1px solid var(--olc-dashboard-border);
	border-radius: 10px;
	color: var(--olc-dashboard-text);
	padding: 12px 14px;
	width: 100%;
}

.olc-instructor-field textarea {
	min-height: 180px;
	resize: vertical;
}

.olc-instructor-form {
	display: grid;
	gap: 18px;
}

.olc-instructor-field-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.olc-instructor-field {
	display: grid;
	gap: 6px;
}

.olc-instructor-field span {
	color: var(--olc-dashboard-text);
	font-weight: 700;
}

.olc-instructor-field-full {
	grid-column: 1 / -1;
}

.olc-instructor-course-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.olc-instructor-course-summary span {
	background: #f4f7ff;
	border: 1px solid #d8def3;
	border-radius: 999px;
	color: #344054;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 10px;
}

.olc-dashboard-table-wrap {
	overflow-x: auto;
}

.olc-instructor-table {
	border-collapse: collapse;
	min-width: 680px;
	width: 100%;
}

.olc-instructor-table thead th {
	color: var(--olc-dashboard-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.olc-instructor-table th,
.olc-instructor-table td {
	border-bottom: 1px solid var(--olc-dashboard-border);
	padding: 14px 12px;
	text-align: left;
	vertical-align: top;
}

.olc-instructor-table tbody tr:last-child th,
.olc-instructor-table tbody tr:last-child td {
	border-bottom: 0;
}

.olc-instructor-activity-list {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.olc-instructor-activity-item {
	background: #f8fbff;
	border: 1px solid var(--olc-dashboard-border);
	border-radius: 12px;
	display: grid;
	gap: 4px;
	padding: 14px 16px;
}

.olc-instructor-activity-item strong {
	color: var(--olc-dashboard-text);
}

.olc-instructor-activity-item span,
.olc-instructor-activity-item em {
	color: var(--olc-dashboard-muted);
	font-style: normal;
}

.olc-instructor-activity-item em {
	font-size: 13px;
}

.olc-dashboard-profile {
	display: grid;
	gap: 24px;
	grid-template-columns: auto minmax(0, 1fr);
}

.olc-dashboard-profile-details h3 {
	margin: 0 0 6px;
}

.olc-dashboard-profile-details p {
	color: var(--olc-dashboard-muted);
	margin: 0;
}

.olc-dashboard-profile-list {
	display: grid;
	gap: 14px;
	margin: 20px 0 0;
}

.olc-dashboard-profile-list div {
	border-bottom: 1px solid var(--olc-dashboard-border);
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
	padding-bottom: 12px;
}

.olc-dashboard-profile-list dt {
	color: var(--olc-dashboard-muted);
	font-weight: 700;
}

.olc-dashboard-profile-list dd {
	color: var(--olc-dashboard-text);
	margin: 0;
}

.olc-dashboard-empty-state {
	background: var(--olc-dashboard-surface);
	border: 1px dashed var(--olc-dashboard-border);
	border-radius: 14px;
	padding: 24px;
}

.olc-dashboard-panel-empty {
	margin-bottom: 0;
}

.olc-dashboard-empty-copy {
	color: var(--olc-dashboard-muted);
	margin: 0;
}

.olc-dashboard-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.olc-dashboard-guest .olc-dashboard-empty-state {
	background: var(--olc-dashboard-surface);
	border-style: solid;
}

@media (max-width: 1080px) {
	.olc-dashboard-shell,
	.olc-dashboard-focus-panel,
	.olc-dashboard-profile {
		grid-template-columns: 1fr;
	}

	.olc-dashboard-sidebar {
		border-right: 0;
		padding-right: 0;
	}

	.olc-dashboard-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.olc-dashboard {
		padding-inline: 18px;
	}

	.olc-dashboard-hero,
	.olc-dashboard-panel-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.olc-dashboard-hero-actions {
		justify-content: flex-start;
	}

	.olc-dashboard-stat-grid,
	.olc-dashboard-course-grid {
		grid-template-columns: 1fr;
	}

	.olc-dashboard-profile-list div {
		grid-template-columns: 1fr;
	}
}
